blob: c2d32dd3e15b776245a4d55f15777ba4ae459094 [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
139 <style name="slider">
140 <placement x="%center_x%" y="%row23_y%"/>
141 <font resource="font_s" color="%text_color%"/>
142 <resource base="slider" used="slider_used" touch="slider_touch"/>
143 </style>
144
145 <style name="slidervalue">
146 <resource handle="handle"/>
147 <font resource="font_m" color="%text_color%"/>
148 <colors line="%fileselector_linecolor%"/>
149 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
150 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100151
152 <style name="patternpassword">
153 <size name="tw_gui_pattern_grid_size" default="3"/>
154 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100155 </styles>
156
157 <pages>
158 <page name="main">
159 <action>
160 <actions>
161 <action function="set">tw_clear_destination=main2</action>
162 <action function="page">clear_vars</action>
163 </actions>
164 </action>
165 </page>
166
167 <page name="main2">
168 <template name="page"/>
169
170 <text style="text_l">
171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500172 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100173 </text>
174
175 <text style="text_m">
176 <condition var1="tw_no_cpu_temp" var2="0"/>
177 <placement x="%col1_x_header%" y="%row4_header_y%"/>
178 <text>%tw_version%</text>
179 </text>
180
181 <button style="main_button">
182 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500183 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100184 <actions>
185 <action function="queueclear"/>
186 <action function="set">tw_selectimage=0</action>
187 <action function="page">install</action>
188 </actions>
189 </button>
190
191 <button style="main_button">
192 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500193 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100194 <action function="page">wipe</action>
195 </button>
196
197 <button style="main_button">
198 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500199 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100200 <action function="page">backup</action>
201 </button>
202
203 <button style="main_button">
204 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500205 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100206 <action function="page">restore</action>
207 </button>
208
209 <button style="main_button">
210 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500211 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100212 <action function="page">mount</action>
213 </button>
214
215 <button style="main_button">
216 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <action function="page">settings</action>
219 </button>
220
221 <button style="main_button">
222 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500223 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100224 <action function="page">advanced</action>
225 </button>
226
227 <button style="main_button">
228 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500229 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100230 <action function="page">reboot</action>
231 </button>
232 </page>
233
234 <page name="install">
235 <template name="page"/>
236
237 <text style="text_l">
238 <condition var1="tw_selectimage" var2="0"/>
239 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500240 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100241 </text>
242
243 <text style="text_l">
244 <condition var1="tw_selectimage" var2="1"/>
245 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500246 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100247 </text>
248
249 <text style="text_m">
250 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 </text>
253
254 <template name="sort_options"/>
255
256 <fileselector>
257 <condition var1="tw_selectimage" var2="0"/>
258 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
259 <text>%tw_zip_location%</text>
260 <filter extn=".zip" folders="1" files="1"/>
261 <path name="tw_zip_location" default="/sdcard"/>
262 <data name="tw_filename"/>
263 <selection name="tw_file"/>
264 </fileselector>
265
266 <fileselector>
267 <condition var1="tw_selectimage" var2="1"/>
268 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
269 <text>%tw_zip_location%</text>
270 <filter extn=".img" 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 <button style="main_button_half_height">
277 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500278 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100279 <actions>
280 <action function="set">tw_back=install</action>
281 <action function="overlay">select_storage</action>
282 </actions>
283 </button>
284
285 <button style="main_button_half_height">
286 <condition var1="tw_selectimage" var2="0"/>
287 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500288 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100289 <actions>
290 <action function="set">tw_selectimage=1</action>
291 <action function="page">install</action>
292 </actions>
293 </button>
294
295 <button style="main_button_half_height">
296 <condition var1="tw_selectimage" var2="1"/>
297 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500298 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100299 <actions>
300 <action function="set">tw_selectimage=0</action>
301 <action function="page">install</action>
302 </actions>
303 </button>
304
305 <action>
306 <conditions>
307 <condition var1="tw_selectimage" var2="0"/>
308 <condition var1="tw_filename" op="modified"/>
309 </conditions>
310 <actions>
311 <action function="queuezip"/>
312 <action function="page">flash_confirm</action>
313 </actions>
314 </action>
315
316 <action>
317 <conditions>
318 <condition var1="tw_selectimage" var2="1"/>
319 <condition var1="tw_filename" op="modified"/>
320 </conditions>
321 <action function="page">flashimage_confirm</action>
322 </action>
323
324 <action>
325 <touch key="back"/>
326 <action function="page">main</action>
327 </action>
328
329 <action>
330 <touch key="home"/>
331 <action function="page">main</action>
332 </action>
333 </page>
334
335 <page name="flash_confirm">
336 <template name="page"/>
337
338 <text style="text_l">
339 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 </text>
342
343 <text style="text_m">
344 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500345 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100346 </text>
347
348 <text style="text_m_accent">
349 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500350 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100351 </text>
352
353 <text style="text_m_accent">
354 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 </text>
357
358 <text style="text_m">
359 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <text style="text_m_accent">
364 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 </text>
367
368 <text style="text_m">
369 <placement x="%indent%" y="%row8_y%"/>
370 <text>%tw_zip_location%</text>
371 </text>
372
373 <text style="text_m_accent">
374 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500375 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100376 </text>
377
378 <text style="text_m">
379 <placement x="%indent%" y="%row10a_y%"/>
380 <text>%tw_file%</text>
381 </text>
382
383 <checkbox>
384 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500385 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100386 <data variable="tw_signed_zip_verify"/>
387 </checkbox>
388
389 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600390 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500391 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600392 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500393 </checkbox>
394
395 <checkbox>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500396 <condition var1="tw_has_injecttwrp" var2="1"/>
nkk71b4c35912017-10-11 23:39:10 +0300397 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 <data variable="tw_inject_after_zip"/>
400 </checkbox>
401
402 <button style="main_button_half_height">
403 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500404 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100405 <action function="page">install</action>
406 </button>
407
408 <button style="main_button_half_height">
409 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500410 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100411 <actions>
412 <action function="queueclear"/>
413 <action function="page">install</action>
414 </actions>
415 </button>
416
417 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 <action function="flash">flash_zip</action>
420 </slider>
421
422 <action>
423 <touch key="back"/>
424 <actions>
425 <action function="cancelzip"/>
426 <action function="page">install</action>
427 </actions>
428 </action>
429
430 <action>
431 <touch key="home"/>
432 <action function="page">main</action>
433 </action>
434 </page>
435
436 <page name="flash_zip">
437 <template name="page"/>
438
439 <text style="text_l">
440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500441 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100442 </text>
443
444 <text style="text_m">
445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
446 <text>%tw_file%</text>
447 </text>
448
449 <template name="console"/>
450
451 <template name="progress_bar"/>
452
453 <action>
454 <condition var1="tw_operation_state" var2="1"/>
455 <action function="page">flash_done</action>
456 </action>
457 </page>
458
459 <page name="flash_done">
460 <template name="page"/>
461
462 <text style="text_l">
463 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500464 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100465 </text>
466
467 <text style="text_m_fail">
468 <condition var1="tw_operation_status" op="!=" var2="0"/>
469 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m">
474 <condition var1="tw_operation_status" var2="0"/>
475 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 </text>
478
479 <template name="console"/>
480
481 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500482 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <placement x="%indent%" y="%row21a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500484 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100485 <actions>
486 <action function="set">tw_back=flash_done</action>
487 <action function="set">tw_action=wipe</action>
488 <action function="set">tw_action_param=/cache</action>
489 <action function="set">tw_has_action2=1</action>
490 <action function="set">tw_action2=wipe</action>
491 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500492 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
493 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
494 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
495 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100496 <action function="page">confirm_action</action>
497 </actions>
498 </button>
499
500 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500501 <condition var1="tw_ab_device" var2="1"/>
502 <placement x="%indent%" y="%row21a_y%"/>
503 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
504 <actions>
505 <action function="set">tw_back=flash_done</action>
506 <action function="set">tw_action=wipe</action>
507 <action function="set">tw_action_param=dalvik</action>
508 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
509 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
510 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
511 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
512 <action function="page">confirm_action</action>
513 </actions>
514 </button>
515
516 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +0100517 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 <actions>
520 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500521 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100522 </actions>
523 </button>
524
525 <action>
526 <touch key="back"/>
527 <actions>
528 <action function="set">tw_clear_destination=install</action>
529 <action function="page">clear_vars</action>
530 </actions>
531 </action>
532
533 <action>
534 <touch key="home"/>
535 <actions>
536 <action function="set">tw_clear_destination=main2</action>
537 <action function="page">clear_vars</action>
538 </actions>
539 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500540
541 <action>
542 <conditions>
543 <condition var1="tw_install_reboot" var2="1"/>
544 <condition var1="tw_operation_status" var2="0"/>
545 <condition var1="tw_reboot_system" var2="1"/>
546 </conditions>
547 <actions>
548 <action function="set">tw_sleep=%tw_sleep_total%</action>
549 <action function="page">flash_sleep_and_reboot</action>
550 </actions>
551 </action>
552 </page>
553
554 <page name="flash_sleep_and_reboot">
555 <template name="page"/>
556
557 <text style="text_l">
558 <placement x="%col1_x_header%" y="%row3_header_y%"/>
559 <text>{@install_zip_hdr=Install Zip}</text>
560 </text>
561
562 <text style="text_m">
563 <placement x="%col1_x_header%" y="%row4_header_y%"/>
564 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
565 </text>
566
567 <template name="console"/>
568
569 <template name="progress_bar"/>
570
571 <button style="main_button_half_height">
572 <condition var1="tw_sleep" op="&gt;" var2="0"/>
573 <placement x="%center_x%" y="%row21a_y%"/>
574 <text>{@cancel_btn=Cancel}</text>
575 <actions>
576 <action function="set">tw_install_reboot=0</action>
577 <action function="page">flash_done</action>
578 </actions>
579 </button>
580
581 <action>
582 <conditions>
583 <condition var1="tw_sleep" var2="tw_sleep_total"/>
584 <condition var1="tw_install_reboot" var2="1"/>
585 </conditions>
586 <action function="sleepcounter">%tw_sleep_total%</action>
587 </action>
588
589 <action>
590 <conditions>
591 <condition var1="tw_sleep" var2="0"/>
592 <condition var1="tw_install_reboot" var2="1"/>
593 </conditions>
594 <actions>
595 <action function="sleep">50000</action>
596 <action function="set">tw_back=main2</action>
597 <action function="page">reboot_system_routine</action>
598 </actions>
599 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </page>
601
602 <page name="flashimage_confirm">
603 <template name="page"/>
604
605 <text style="text_l">
606 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500607 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100608 </text>
609
610 <text style="text_m">
611 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500612 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100613 </text>
614
615 <text style="text_m_accent">
616 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <text style="text_m">
621 <placement x="%indent%" y="%row3_y%"/>
622 <text>%tw_zip_location%</text>
623 </text>
624
625 <text style="text_m_accent">
626 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 </text>
629
630 <text style="text_m">
631 <placement x="%indent%" y="%row5a_y%"/>
632 <text>%tw_file%</text>
633 </text>
634
635 <partitionlist>
636 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
637 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 <data name="tw_flash_partition"/>
640 <listtype name="flashimg"/>
641 </partitionlist>
642
643 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500644 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100645 <actions>
646 <action function="set">tw_back=flashimage_confirm</action>
647 <action function="set">tw_action=flashimage</action>
648 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500649 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100650 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500651 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100652 <action function="page">action_page</action>
653 </actions>
654 <action function="flashimage"/>
655 </slider>
656
657 <action>
658 <touch key="back"/>
659 <actions>
660 <action function="set">tw_clear_destination=install</action>
661 <action function="page">clear_vars</action>
662 </actions>
663 </action>
664
665 <action>
666 <touch key="home"/>
667 <actions>
668 <action function="set">tw_clear_destination=main2</action>
669 <action function="page">clear_vars</action>
670 </actions>
671 </action>
672 </page>
673
674 <page name="clear_vars">
675 <action>
676 <action function="set">tw_operation_state=0</action>
677 <action function="set">tw_text1=</action>
678 <action function="set">tw_text2=</action>
679 <action function="set">tw_text3=</action>
680 <action function="set">tw_text4=</action>
681 <action function="set">tw_action_text1=</action>
682 <action function="set">tw_action_text2=</action>
683 <action function="set">tw_action_param=</action>
684 <action function="set">tw_has_action2=0</action>
685 <action function="set">tw_action2=</action>
686 <action function="set">tw_action2_param=</action>
687 <action function="set">tw_has_cancel=0</action>
688 <action function="set">tw_cancel_action=</action>
689 <action function="set">tw_cancel_param=</action>
690 <action function="set">tw_show_exclamation=0</action>
691 <action function="set">tw_show_reboot=0</action>
692 <action function="page">%tw_clear_destination%</action>
693 </action>
694 </page>
695
Matt Mower908dd252016-05-25 02:26:50 -0500696 <page name="reboot_system_routine">
697 <action>
698 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500699 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500700 <action function="set">tw_has_action2=0</action>
701 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
702 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
703 <action function="set">tw_text3=</action>
704 <action function="set">tw_text4=</action>
705 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
706 <action function="set">tw_action_text2=</action>
707 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
708 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
709 <action function="page">rebootcheck</action>
710 </action>
711 </page>
712
z31s1g28f0a922015-11-07 18:50:22 +0100713 <page name="confirm_action">
714 <template name="page"/>
715
716 <text style="text_l">
717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500718 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100719 </text>
720
721 <text style="text_m">
722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
723 <text/>
724 </text>
725
726 <text style="text_m_accent">
727 <placement x="%center_x%" y="%row2_y%" placement="5"/>
728 <text>%tw_text1%</text>
729 </text>
730
731 <text style="text_m_accent">
732 <placement x="%center_x%" y="%row3_y%" placement="5"/>
733 <text>%tw_text2%</text>
734 </text>
735
736 <text style="text_m">
737 <placement x="%center_x%" y="%row4_y%" placement="5"/>
738 <text>%tw_text3%</text>
739 </text>
740
741 <text style="text_m">
742 <placement x="%center_x%" y="%row5_y%" placement="5"/>
743 <text>%tw_text4%</text>
744 </text>
745
746 <text style="text_m">
747 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </text>
750
751 <slider>
752 <text>%tw_slider_text%</text>
753 <action function="page">action_page</action>
754 </slider>
755
756 <action>
757 <touch key="back"/>
758 <actions>
759 <action function="set">tw_clear_destination=%tw_back%</action>
760 <action function="page">clear_vars</action>
761 </actions>
762 </action>
763
764 <action>
765 <touch key="home"/>
766 <action function="page">main</action>
767 </action>
768 </page>
769
770 <page name="action_page">
771 <template name="page"/>
772
773 <text style="text_l">
774 <placement x="%col1_x_header%" y="%row3_header_y%"/>
775 <text>%tw_action_text1%</text>
776 </text>
777
778 <text style="text_m">
779 <placement x="%col1_x_header%" y="%row4_header_y%"/>
780 <text>%tw_action_text2%</text>
781 </text>
782
783 <template name="console"/>
784
785 <template name="progress_bar"/>
786
787 <button style="main_button_half_height">
788 <condition var1="tw_has_cancel" var2="1"/>
789 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500790 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100791 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
792 </button>
793
794 <action>
795 <condition var1="tw_operation_state" var2="1"/>
796 <actions>
797 <action function="page">action_complete</action>
798 </actions>
799 </action>
800
801 <action>
802 <condition var1="tw_has_action2" var2="0"/>
803 <actions>
804 <action function="%tw_action%">%tw_action_param%</action>
805 </actions>
806 </action>
807
808 <action>
809 <condition var1="tw_has_action2" var2="1"/>
810 <actions>
811 <action function="%tw_action%">%tw_action_param%</action>
812 <action function="%tw_action2%">%tw_action2_param%</action>
813 </actions>
814 </action>
815 </page>
816
817 <page name="singleaction_page">
818 <template name="page"/>
819
820 <text style="text_l">
821 <placement x="%col1_x_header%" y="%row3_header_y%"/>
822 <text>%tw_action_text1%</text>
823 </text>
824
825 <text style="text_m">
826 <placement x="%col1_x_header%" y="%row4_header_y%"/>
827 <text>%tw_action_text2%</text>
828 </text>
829
830 <template name="console"/>
831
832 <template name="progress_bar"/>
833
834 <action>
835 <condition var1="tw_operation_state" var2="1"/>
836 <actions>
837 <action function="set">tw_page_done=1</action>
838 </actions>
839 </action>
840
841 <action>
842 <condition var1="tw_has_action2" var2="0"/>
843 <actions>
844 <action function="%tw_action%">%tw_action_param%</action>
845 </actions>
846 </action>
847
848 <action>
849 <condition var1="tw_has_action2" var2="1"/>
850 <actions>
851 <action function="%tw_action%">%tw_action_param%</action>
852 <action function="%tw_action2%">%tw_action2_param%</action>
853 </actions>
854 </action>
855 </page>
856
857 <page name="action_complete">
858 <template name="page"/>
859
860 <text style="text_l">
861 <placement x="%col1_x_header%" y="%row3_header_y%"/>
862 <text>%tw_complete_text1%</text>
863 </text>
864
865 <text style="text_m_fail">
866 <condition var1="tw_operation_status" op="!=" var2="0"/>
867 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500868 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100869 </text>
870
871 <text style="text_m">
872 <condition var1="tw_operation_status" var2="0"/>
873 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500874 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100875 </text>
876
877 <template name="console"/>
878
879 <button style="main_button_half_height">
880 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500881 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100882 <actions>
883 <action function="set">tw_clear_destination=%tw_back%</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </button>
887
888 <button style="main_button_half_height">
889 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500890 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100891 <actions>
892 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500893 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100894 </actions>
895 </button>
896
897 <action>
898 <touch key="home"/>
899 <actions>
900 <action function="set">tw_clear_destination=main2</action>
901 <action function="page">clear_vars</action>
902 </actions>
903 </action>
904
905 <action>
906 <touch key="back"/>
907 <actions>
908 <action function="set">tw_clear_destination=%tw_back%</action>
909 <action function="page">clear_vars</action>
910 </actions>
911 </action>
912 </page>
913
914 <page name="filecheck">
915 <action>
916 <action function="fileexists">%tw_filecheck%</action>
917 </action>
918
919 <action>
920 <conditions>
921 <condition var1="tw_operation_state" var2="1"/>
922 <condition var1="tw_operation_status" var2="0"/>
923 </conditions>
924 <actions>
925 <action function="set">tw_fileexists=1</action>
926 <action function="page">%tw_existpage%</action>
927 </actions>
928 </action>
929
930 <action>
931 <conditions>
932 <condition var1="tw_operation_state" var2="1"/>
933 <condition var1="tw_operation_status" var2="1"/>
934 </conditions>
935 <actions>
936 <action function="set">tw_fileexists=0</action>
937 <action function="page">%tw_notexistpage%</action>
938 </actions>
939 </action>
940 </page>
941
942 <page name="rebootcheck">
943 <action>
944 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600945 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100946 </action>
947
948 <action>
949 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
950 <action function="page">confirm_action</action>
951 </action>
952 </page>
953
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600954 <page name="appcheck">
955 <action>
956 <condition var1="tw_app_prompt" var2="1"/>
957 <action function="checkforapp"></action>
958 </action>
959
960 <action>
961 <condition var1="tw_app_prompt" op="!=" var2="1"/>
962 <action function="reboot">%tw_reboot_param%</action>
963 </action>
964
965 <action>
966 <condition var1="tw_app_install_status" var2="1"/>
967 <action function="page">rebootapp</action>
968 </action>
969
970 <action>
971 <condition var1="tw_app_install_status" var2="2"/>
972 <action function="reboot">%tw_reboot_param%</action>
973 </action>
974 </page>
975
z31s1g28f0a922015-11-07 18:50:22 +0100976 <page name="wipe">
977 <template name="page"/>
978
979 <text style="text_l">
980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500981 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100982 </text>
983
984 <text style="text_m">
985 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500986 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100987 </text>
988
989 <text style="text_m_accent">
990 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500991 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100992 </text>
993
994 <text style="text_m_accent">
995 <condition var1="tw_has_data_media" var2="1"/>
996 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500997 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100998 </text>
999
1000 <text style="text_m_accent">
1001 <conditions>
1002 <condition var1="tw_has_android_secure" var2="1"/>
1003 <condition var1="fileexists" var2="/and-sec"/>
1004 </conditions>
1005 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001006 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001007 </text>
1008
1009 <text style="text_m_accent">
1010 <condition var1="tw_has_sdext_partition" var2="1"/>
1011 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001012 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001013 </text>
1014
1015 <text style="text_m">
1016 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001017 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001018 </text>
1019
1020 <text style="text_m">
1021 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <text style="text_m">
1026 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 </text>
1029
1030 <button style="main_button_half_height">
1031 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001032 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001033 <actions>
1034 <action function="set">partitionlisterror=0</action>
1035 <action function="page">advancedwipe</action>
1036 </actions>
1037 </button>
1038
1039 <button style="main_button_half_height">
1040 <condition var1="tw_has_data_media" var2="1"/>
1041 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 <action function="page">formatdata</action>
1044 </button>
1045
1046 <button style="main_button_half_height">
1047 <conditions>
1048 <condition var1="tw_is_encrypted" var2="1"/>
1049 <condition var1="tw_has_data_media" var2="0"/>
1050 </conditions>
1051 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 <actions>
1054 <action function="set">tw_back=wipe</action>
1055 <action function="set">tw_action=wipe</action>
1056 <action function="set">tw_action_param=DATAMEDIA</action>
1057 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001058 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001059 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1061 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1062 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <action function="page">confirm_action</action>
1064 </actions>
1065 </button>
1066
1067 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 <actions>
1070 <action function="set">tw_back=wipe</action>
1071 <action function="set">tw_action=wipe</action>
1072 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1074 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001075 <action function="page">action_page</action>
1076 </actions>
1077 </slider>
1078
1079 <action>
1080 <touch key="back"/>
1081 <action function="page">main</action>
1082 </action>
1083
1084 <action>
1085 <touch key="home"/>
1086 <action function="page">main</action>
1087 </action>
1088 </page>
1089
1090 <page name="advancedwipe">
1091 <template name="page"/>
1092
1093 <action>
1094 <action function="set">tw_wipe_list=</action>
1095 </action>
1096
1097 <text style="text_l">
1098 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <text style="text_m">
1103 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 </text>
1106
1107 <partitionlist>
1108 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 <data name="tw_wipe_list"/>
1111 <listtype name="wipe"/>
1112 </partitionlist>
1113
1114 <text style="text_m_fail">
1115 <condition var1="partitionlisterror" var2="1"/>
1116 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 </text>
1119
1120 <button style="main_button_half_height_full_width">
1121 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001123 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001124 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <action function="page">checkpartitionlist</action>
1126 </actions>
1127 </button>
1128
1129 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
1132 <action function="set">tw_back=advancedwipe</action>
1133 <action function="set">tw_action=wipe</action>
1134 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1136 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1137 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001138 <action function="page">action_page</action>
1139 </actions>
1140 </slider>
1141
1142 <action>
1143 <touch key="home"/>
1144 <action function="page">main</action>
1145 </action>
1146
1147 <action>
1148 <touch key="back"/>
1149 <action function="page">wipe</action>
1150 </action>
1151 </page>
1152
1153 <page name="formatdata">
1154 <template name="page"/>
1155
1156 <text style="text_l">
1157 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 </text>
1160
1161 <text style="text_m">
1162 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <text style="text_m_fail">
1167 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 </text>
1170
1171 <text style="text_m_fail">
1172 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 </text>
1175
1176 <text style="text_m_fail">
1177 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 </text>
1180
Ethan Yonker66a19492015-12-10 10:19:45 -06001181 <text style="text_m_fail">
1182 <condition var1="tw_has_adopted_storage" var2="1"/>
1183 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1184 <text>{@format_data_adopted=Including Adopted Storage}</text>
1185 </text>
1186
z31s1g28f0a922015-11-07 18:50:22 +01001187 <text style="text_m">
1188 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001189 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001190 </text>
1191
1192 <text style="text_m">
1193 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 </text>
1196
1197 <input>
1198 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1199 <text>%tw_confirm_formatdata%</text>
1200 <data name="tw_confirm_formatdata"/>
1201 <restrict minlen="3" maxlen="3" allow="yes"/>
1202 <action function="page">formatdata_confirm</action>
1203 </input>
1204
1205 <fill color="%accent_color%">
1206 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1207 </fill>
1208
1209 <template name="keyboardtemplate"/>
1210
1211 <action>
1212 <touch key="home"/>
1213 <action function="page">main</action>
1214 </action>
1215
1216 <action>
1217 <touch key="back"/>
1218 <action function="page">wipe</action>
1219 </action>
1220 </page>
1221
1222 <page name="formatdata_confirm">
1223 <action>
1224 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1225 <actions>
1226 <action function="set">tw_back=formatdata</action>
1227 <action function="set">tw_action=wipe</action>
1228 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1230 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001231 <action function="page">action_page</action>
1232 </actions>
1233 </action>
1234
1235 <action>
1236 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1237 <action function="page">formatdata</action>
1238 </action>
1239 </page>
1240
1241 <page name="checkpartitionlist">
1242 <action>
1243 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1244 <actions>
1245 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001246 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001247 <action function="page">partitionoptions</action>
1248 </actions>
1249 </action>
1250
1251 <action>
1252 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1253 <actions>
1254 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001255 <action function="page">advancedwipe</action>
1256 </actions>
1257 </action>
1258 </page>
1259
1260 <page name="partitionoptions">
1261 <template name="page"/>
1262
1263 <text style="text_l">
1264 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001265 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001266 </text>
1267
1268 <text style="text_m">
1269 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001270 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001271 </text>
1272
1273 <text style="text_m_accent">
1274 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <text style="text_m_accent">
1279 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 </text>
1282
1283 <text style="text_m">
1284 <condition var1="tw_partition_is_present" var2="1"/>
1285 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 </text>
1288
1289 <text style="text_m">
1290 <condition var1="tw_partition_is_present" var2="0"/>
1291 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 </text>
1294
1295 <text style="text_m">
1296 <condition var1="tw_partition_removable" var2="1"/>
1297 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001299 </text>
1300
1301 <text style="text_m">
1302 <condition var1="tw_partition_removable" var2="0"/>
1303 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <text style="text_m">
1308 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001309 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001310 </text>
1311
1312 <text style="text_m">
1313 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 </text>
1316
1317 <text style="text_m">
1318 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001320 </text>
1321
1322 <text style="text_m">
1323 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <button style="main_button_half_height">
1328 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1329 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <actions>
1332 <action function="set">tw_back=partitionoptions</action>
1333 <action function="set">tw_action=resize</action>
1334 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1335 <action function="set">tw_has_action2=1</action>
1336 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001337 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1341 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1349 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <actions>
1352 <action function="set">tw_back=partitionoptions</action>
1353 <action function="set">tw_action=repair</action>
1354 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1355 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001357 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1359 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1360 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001361 <action function="page">confirm_action</action>
1362 </actions>
1363 </button>
1364
1365 <button style="main_button_half_height">
1366 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">selectfilesystem</action>
1369 </button>
1370
1371 <action>
1372 <touch key="home"/>
1373 <action function="page">main</action>
1374 </action>
1375
1376 <action>
1377 <touch key="back"/>
1378 <action function="page">advancedwipe</action>
1379 </action>
1380 </page>
1381
1382 <page name="refreshfilesystem">
1383 <action>
1384 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1385 <actions>
1386 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001387 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001388 <action function="page">selectfilesystem</action>
1389 </actions>
1390 </action>
1391
1392 <action>
1393 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1394 <actions>
1395 <action function="set">partitionlisterror=1</action>
1396 <action function="set">tw_wipe_list=</action>
1397 <action function="page">advancedwipe</action>
1398 </actions>
1399 </action>
1400 </page>
1401
1402 <page name="selectfilesystem">
1403 <template name="page"/>
1404
1405 <text style="text_l">
1406 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001408 </text>
1409
1410 <text style="text_m">
1411 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001412 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001413 </text>
1414
1415 <text style="text_m_accent">
1416 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001418 </text>
1419
1420 <text style="text_m_accent">
1421 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001422 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001423 </text>
1424
1425 <text style="text_m_fail">
1426 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m_fail">
1431 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <button style="main_button_half_height">
1436 <condition var1="tw_partition_ext" op="=" var2="1"/>
1437 <placement x="%indent%" y="%row15a_y%"/>
1438 <text>EXT2</text>
1439 <actions>
1440 <action function="set">tw_back=refreshfilesystem</action>
1441 <action function="set">tw_action=changefilesystem</action>
1442 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1443 <action function="set">tw_action_new_file_system=ext2</action>
1444 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1446 <action function="set">tw_text2=EXT2</action>
1447 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1448 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1449 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001450 <action function="page">confirm_action</action>
1451 </actions>
1452 </button>
1453
1454 <button style="main_button_half_height">
1455 <condition var1="tw_partition_ext" op="=" var2="1"/>
1456 <placement x="%indent%" y="%row18a_y%"/>
1457 <text>EXT3</text>
1458 <actions>
1459 <action function="set">tw_back=refreshfilesystem</action>
1460 <action function="set">tw_action=changefilesystem</action>
1461 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1462 <action function="set">tw_action_new_file_system=ext3</action>
1463 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001464 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1465 <action function="set">tw_text2=EXT3</action>
1466 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1467 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1468 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001469 <action function="page">confirm_action</action>
1470 </actions>
1471 </button>
1472
1473 <button style="main_button_half_height">
1474 <condition var1="tw_partition_ext" op="=" var2="1"/>
1475 <placement x="%indent%" y="%row21a_y%"/>
1476 <text>EXT4</text>
1477 <actions>
1478 <action function="set">tw_back=refreshfilesystem</action>
1479 <action function="set">tw_action=changefilesystem</action>
1480 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1481 <action function="set">tw_action_new_file_system=ext4</action>
1482 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001483 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1484 <action function="set">tw_text2=EXT4</action>
1485 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1486 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1487 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001488 <action function="page">confirm_action</action>
1489 </actions>
1490 </button>
1491
1492 <button style="main_button_half_height">
1493 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1494 <placement x="%center_x%" y="%row15a_y%"/>
1495 <text>FAT</text>
1496 <actions>
1497 <action function="set">tw_back=refreshfilesystem</action>
1498 <action function="set">tw_action=changefilesystem</action>
1499 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1500 <action function="set">tw_action_new_file_system=vfat</action>
1501 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1503 <action function="set">tw_text2=FAT</action>
1504 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1505 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1506 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001507 <action function="page">confirm_action</action>
1508 </actions>
1509 </button>
1510
1511 <button style="main_button_half_height">
1512 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1513 <placement x="%center_x%" y="%row18a_y%"/>
1514 <text>exFAT</text>
1515 <actions>
1516 <action function="set">tw_back=refreshfilesystem</action>
1517 <action function="set">tw_action=changefilesystem</action>
1518 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1519 <action function="set">tw_action_new_file_system=exfat</action>
1520 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001521 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1522 <action function="set">tw_text2=exFAT</action>
1523 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1524 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1525 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001526 <action function="page">confirm_action</action>
1527 </actions>
1528 </button>
1529
1530 <button style="main_button_half_height">
1531 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1532 <placement x="%center_x%" y="%row21a_y%"/>
1533 <text>F2FS</text>
1534 <actions>
1535 <action function="set">tw_back=refreshfilesystem</action>
1536 <action function="set">tw_action=changefilesystem</action>
1537 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1538 <action function="set">tw_action_new_file_system=f2fs</action>
1539 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1541 <action function="set">tw_text2=F2FS</action>
1542 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1543 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1544 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001545 <action function="page">confirm_action</action>
1546 </actions>
1547 </button>
1548
1549 <action>
1550 <touch key="home"/>
1551 <action function="page">main</action>
1552 </action>
1553
1554 <action>
1555 <touch key="back"/>
1556 <action function="page">partitionoptions</action>
1557 </action>
1558 </page>
1559
1560 <page name="backup">
1561 <template name="page"/>
1562
1563 <text style="text_l">
1564 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001566 </text>
1567
1568 <text style="text_m">
1569 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001570 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001571 </text>
1572
1573 <template name="tabs_backup"/>
1574
1575 <fill color="%text_color%">
1576 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1577 </fill>
1578
1579 <button style="tab">
1580 <conditions>
1581 <condition var1="tw_include_encrypted_backup" var2="1"/>
1582 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001583 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001584 </conditions>
1585 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001586 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001587 <font resource="font_s" color="%text_color%"/>
1588 <actions>
1589 <action function="set">tw_password_not_match=0</action>
1590 <action function="page">backupencryption</action>
1591 </actions>
1592 </button>
1593
1594 <button style="tab">
1595 <conditions>
1596 <condition var1="tw_include_encrypted_backup" var2="1"/>
1597 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001598 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001599 </conditions>
1600 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <font resource="font_s" color="%text_success_color%"/>
1603 <actions>
1604 <action function="set">tw_password_not_match=0</action>
1605 <action function="page">backupencryption</action>
1606 </actions>
1607 </button>
1608
1609 <text style="text_m_accent">
1610 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001611 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001612 </text>
1613
1614 <text style="text_m">
1615 <placement x="%indent%" y="%row4a_y%"/>
1616 <text>%tw_backup_name%</text>
1617 </text>
1618
1619 <fill color="%fileselector_linecolor%">
1620 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1621 </fill>
1622
1623 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001624 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1626 <fill color="%transparent%"/>
1627 <actions>
1628 <action function="set">tw_fileexists=0</action>
1629 <action function="page">backupname1</action>
1630 </actions>
1631 </button>
1632
1633 <partitionlist>
1634 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001635 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001636 <data name="tw_backup_list"/>
1637 <listtype name="backup"/>
1638 </partitionlist>
1639
1640 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001641 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001642 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <actions>
1645 <action function="set">tw_back=backup</action>
1646 <action function="overlay">select_storage</action>
1647 </actions>
1648 </button>
1649
1650 <button style="main_button_half_height">
1651 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001652 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001653 <actions>
1654 <action function="refreshsizes"/>
1655 <action function="page">backup</action>
1656 </actions>
1657 </button>
1658
1659 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 <action function="page">backup_run</action>
1662 </slider>
1663
1664 <action>
1665 <touch key="home"/>
1666 <action function="page">main</action>
1667 </action>
1668
1669 <action>
1670 <touch key="back"/>
1671 <action function="page">main</action>
1672 </action>
1673 </page>
1674
1675 <page name="backup_options">
1676 <template name="page"/>
1677
1678 <text style="text_l">
1679 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </text>
1682
1683 <text style="text_m">
1684 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001685 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001686 </text>
1687
1688 <template name="tabs_backup"/>
1689
1690 <fill color="%text_color%">
1691 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1692 </fill>
1693
1694 <button style="tab">
1695 <conditions>
1696 <condition var1="tw_include_encrypted_backup" var2="1"/>
1697 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001698 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001699 </conditions>
1700 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <font resource="font_s" color="%text_color%"/>
1703 <actions>
1704 <action function="set">tw_password_not_match=0</action>
1705 <action function="page">backupencryption</action>
1706 </actions>
1707 </button>
1708
1709 <button style="tab">
1710 <conditions>
1711 <condition var1="tw_include_encrypted_backup" var2="1"/>
1712 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001713 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001714 </conditions>
1715 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001717 <font resource="font_s" color="%text_success_color%"/>
1718 <actions>
1719 <action function="set">tw_password_not_match=0</action>
1720 <action function="page">backupencryption</action>
1721 </actions>
1722 </button>
1723
1724 <checkbox>
1725 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <data variable="tw_use_compression"/>
1728 </checkbox>
1729
1730 <checkbox>
1731 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001732 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1733 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001734 </checkbox>
1735
1736 <checkbox>
1737 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001738 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001739 <data variable="tw_disable_free_space"/>
1740 </checkbox>
1741
Ethan Yonker1b190162016-12-05 15:25:19 -06001742 <text style="text_m">
1743 <condition var1="tw_has_boot_slots" var2="1"/>
1744 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1745 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1746 </text>
1747
1748 <button style="main_button">
1749 <condition var1="tw_has_boot_slots" var2="1"/>
1750 <placement x="%indent%" y="%row19_y%"/>
1751 <text>{@boot_slot_a=Slot A}</text>
1752 <actions>
1753 <action function="set">tw_back=backup_options</action>
1754 <action function="set">tw_action=setbootslot</action>
1755 <action function="set">tw_action_param=A</action>
1756 <action function="set">tw_has_action2=0</action>
1757 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1758 <action function="set">tw_action_text2=</action>
1759 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1760 <action function="page">action_page</action>
1761 </actions>
1762 </button>
1763
1764 <button style="main_button">
1765 <condition var1="tw_has_boot_slots" var2="1"/>
1766 <placement x="%center_x%" y="%row19_y%"/>
1767 <text>{@boot_slot_b=Slot B}</text>
1768 <actions>
1769 <action function="set">tw_back=backup_options</action>
1770 <action function="set">tw_action=setbootslot</action>
1771 <action function="set">tw_action_param=B</action>
1772 <action function="set">tw_has_action2=0</action>
1773 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1774 <action function="set">tw_action_text2=</action>
1775 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1776 <action function="page">action_page</action>
1777 </actions>
1778 </button>
1779
z31s1g28f0a922015-11-07 18:50:22 +01001780 <action>
1781 <touch key="home"/>
1782 <action function="page">main</action>
1783 </action>
1784
1785 <action>
1786 <touch key="back"/>
1787 <action function="page">backup</action>
1788 </action>
1789 </page>
1790
1791 <page name="backupname1">
1792 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001793 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001794 <action function="generatebackupname"/>
1795 </action>
1796
1797 <action>
1798 <action function="page">backupname2</action>
1799 </action>
1800 </page>
1801
1802 <page name="backupname2">
1803 <template name="page"/>
1804
1805 <text style="text_l">
1806 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001808 </text>
1809
1810 <text style="text_m">
1811 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001812 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001813 </text>
1814
1815 <template name="tabs_backup"/>
1816
1817 <fill color="%text_color%">
1818 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1819 </fill>
1820
1821 <button style="tab">
1822 <conditions>
1823 <condition var1="tw_include_encrypted_backup" var2="1"/>
1824 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001825 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001826 </conditions>
1827 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001828 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001829 <font resource="font_s" color="%text_color%"/>
1830 <actions>
1831 <action function="set">tw_password_not_match=0</action>
1832 <action function="page">backupencryption</action>
1833 </actions>
1834 </button>
1835
1836 <button style="tab">
1837 <conditions>
1838 <condition var1="tw_include_encrypted_backup" var2="1"/>
1839 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001840 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001841 </conditions>
1842 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001844 <font resource="font_s" color="%text_success_color%"/>
1845 <actions>
1846 <action function="set">tw_password_not_match=0</action>
1847 <action function="page">backupencryption</action>
1848 </actions>
1849 </button>
1850
1851 <text style="text_m_accent">
1852 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <input>
1857 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1858 <text>%tw_backup_name%</text>
1859 <data name="tw_backup_name"/>
1860 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1861 <actions>
1862 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1863 <action function="set">tw_existpage=backupname2</action>
1864 <action function="set">tw_notexistpage=backup</action>
1865 <action function="page">filecheck</action>
1866 </actions>
1867 </input>
1868
1869 <fill color="%accent_color%">
1870 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1871 </fill>
1872
1873 <fill color="%text_fail_color%">
1874 <condition var1="tw_fileexists" var2="1"/>
1875 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1876 </fill>
1877
1878 <text style="text_m_fail">
1879 <condition var1="tw_fileexists" var2="1"/>
1880 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <button style="main_button_half_height">
1885 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001889 <action function="page">backup</action>
1890 </actions>
1891 </button>
1892
1893 <button style="main_button_half_height">
1894 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 <action function="appenddatetobackupname"/>
1897 </button>
1898
1899 <template name="keyboardtemplate"/>
1900
1901 <action>
1902 <touch key="home"/>
1903 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001905 <action function="page">main</action>
1906 </actions>
1907 </action>
1908
1909 <action>
1910 <touch key="back"/>
1911 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001913 <action function="page">backup</action>
1914 </actions>
1915 </action>
1916 </page>
1917
1918 <page name="backupencryption">
1919 <template name="page"/>
1920
1921 <text style="text_l">
1922 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 </text>
1925
1926 <text style="text_m">
1927 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001928 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001929 </text>
1930
1931 <template name="tabs_backup"/>
1932
1933 <button style="tab">
1934 <conditions>
1935 <condition var1="tw_include_encrypted_backup" var2="1"/>
1936 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001937 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </conditions>
1939 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001940 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001941 <font resource="font_s" color="%text_color%"/>
1942 <actions>
1943 <action function="set">tw_password_not_match=0</action>
1944 <action function="page">backupencryption</action>
1945 </actions>
1946 </button>
1947
1948 <button style="tab">
1949 <conditions>
1950 <condition var1="tw_include_encrypted_backup" var2="1"/>
1951 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001952 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001953 </conditions>
1954 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001955 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001956 <font resource="font_s" color="%text_success_color%"/>
1957 <actions>
1958 <action function="set">tw_password_not_match=0</action>
1959 <action function="page">backupencryption</action>
1960 </actions>
1961 </button>
1962
1963 <fill color="%text_color%">
1964 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1965 </fill>
1966
1967 <text style="text_m_accent">
1968 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001969 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001970 </text>
1971
1972 <text style="text_m">
1973 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001974 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001975 </text>
1976
1977 <input>
1978 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1979 <text>%tw_backup_encrypt_display%</text>
1980 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1981 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1982 <action function="page">backupencryption2</action>
1983 </input>
1984
1985 <fill color="%accent_color%">
1986 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1987 </fill>
1988
1989 <fill color="%text_fail_color%">
1990 <condition var1="tw_password_not_match" var2="1"/>
1991 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1992 </fill>
1993
1994 <text style="text_m_fail">
1995 <condition var1="tw_password_not_match" var2="1"/>
1996 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001997 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001998 </text>
1999
2000 <button style="main_button_half_height">
2001 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 <actions>
2004 <action function="set">tw_encrypt_backup=0</action>
2005 <action function="set">tw_backup_password=</action>
2006 <action function="set">tw_backup_password2=</action>
2007 <action function="set">tw_backup_encrypt_display=</action>
2008 <action function="set">tw_backup_encrypt_display2=</action>
2009 <action function="page">backup</action>
2010 </actions>
2011 </button>
2012
2013 <template name="keyboardtemplate"/>
2014
2015 <action>
2016 <touch key="home"/>
2017 <action function="page">main</action>
2018 </action>
2019
2020 <action>
2021 <touch key="back"/>
2022 <action function="page">backup</action>
2023 </action>
2024 </page>
2025
2026 <page name="backupencryption2">
2027 <template name="page"/>
2028
2029 <text style="text_l">
2030 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 </text>
2033
2034 <text style="text_m">
2035 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <template name="tabs_backup"/>
2040
2041 <button style="tab">
2042 <conditions>
2043 <condition var1="tw_include_encrypted_backup" var2="1"/>
2044 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002045 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002046 </conditions>
2047 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 <font resource="font_s" color="%text_color%"/>
2050 <actions>
2051 <action function="set">tw_password_not_match=0</action>
2052 <action function="page">backupencryption</action>
2053 </actions>
2054 </button>
2055
2056 <button style="tab">
2057 <conditions>
2058 <condition var1="tw_include_encrypted_backup" var2="1"/>
2059 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002060 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002061 </conditions>
2062 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002063 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002064 <font resource="font_s" color="%text_success_color%"/>
2065 <actions>
2066 <action function="set">tw_password_not_match=0</action>
2067 <action function="page">backupencryption</action>
2068 </actions>
2069 </button>
2070
2071 <fill color="%text_color%">
2072 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2073 </fill>
2074
2075 <text style="text_m_accent">
2076 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002077 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002078 </text>
2079
2080 <text style="text_m">
2081 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002082 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002083 </text>
2084
2085 <input>
2086 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2087 <text>%tw_backup_encrypt_display2%</text>
2088 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2089 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2090 <action function="page">checkbackuppassword</action>
2091 </input>
2092
2093 <fill color="%accent_color%">
2094 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2095 </fill>
2096
2097 <button style="main_button_half_height">
2098 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002099 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002100 <actions>
2101 <action function="set">tw_encrypt_backup=0</action>
2102 <action function="set">tw_backup_password=</action>
2103 <action function="set">tw_backup_password2=</action>
2104 <action function="set">tw_backup_encrypt_display=</action>
2105 <action function="set">tw_backup_encrypt_display2=</action>
2106 <action function="page">backup</action>
2107 </actions>
2108 </button>
2109
2110 <template name="keyboardtemplate"/>
2111
2112 <action>
2113 <touch key="home"/>
2114 <action function="page">main</action>
2115 </action>
2116
2117 <action>
2118 <touch key="back"/>
2119 <action function="page">backup</action>
2120 </action>
2121 </page>
2122
2123 <page name="checkbackuppassword">
2124 <action>
2125 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2126 <actions>
2127 <action function="set">tw_encrypt_backup=1</action>
2128 <action function="page">backup</action>
2129 </actions>
2130 </action>
2131
2132 <action>
2133 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2134 <actions>
2135 <action function="set">tw_encrypt_backup=0</action>
2136 <action function="set">tw_password_not_match=1</action>
2137 <action function="set">tw_backup_password=</action>
2138 <action function="set">tw_backup_password2=</action>
2139 <action function="set">tw_backup_encrypt_display=</action>
2140 <action function="set">tw_backup_encrypt_display2=</action>
2141 <action function="page">backupencryption</action>
2142 </actions>
2143 </action>
2144 </page>
2145
2146 <page name="backup_run">
2147 <template name="page"/>
2148
2149 <text style="text_l">
2150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2151 <text>%tw_operation%</text>
2152 </text>
2153
2154 <text style="text_m">
2155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2156 <text>%tw_partition% Partition</text>
2157 </text>
2158
2159 <template name="console"/>
2160
2161 <template name="progress_bar"/>
2162
2163 <text style="text_m_accent">
2164 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </text>
2167
2168 <text style="text_m">
2169 <placement x="%indent%" y="%row20_y%"/>
2170 <text>%tw_file_progress%</text>
2171 </text>
2172
2173 <text style="text_m">
2174 <placement x="%indent%" y="%row21_y%"/>
2175 <text>%tw_size_progress%</text>
2176 </text>
2177
2178 <button style="main_button_half_height">
2179 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002181 <action function="cancelbackup"/>
2182 </button>
2183
2184 <action>
2185 <action function="nandroid">backup</action>
2186 </action>
2187
2188 <action>
2189 <condition var1="tw_operation_state" var2="1"/>
2190 <condition var1="tw_cancel_backup" var2="0"/>
2191 <actions>
2192 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002194 <action function="set">tw_show_reboot=1</action>
2195 <action function="page">action_complete</action>
2196 </actions>
2197 </action>
2198
2199 <action>
2200 <condition var1="tw_operation_state" var2="1"/>
2201 <condition var1="tw_cancel_backup" var2="1"/>
2202 <actions>
2203 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002204 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002205 <action function="set">tw_show_reboot=1</action>
2206 <action function="page">action_complete</action>
2207 </actions>
2208 </action>
2209 </page>
2210
2211 <page name="restore">
2212 <template name="page"/>
2213
2214 <text style="text_l">
2215 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002216 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002217 </text>
2218
2219 <text style="text_m">
2220 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002222 </text>
2223
2224 <template name="sort_options"/>
2225
2226 <fileselector>
2227 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002229 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002230 <path name="tw_backups_folder"/>
2231 <data name="tw_restore" default=""/>
2232 <selection name="tw_restore_name"/>
2233 </fileselector>
2234
2235 <button style="main_button_half_height">
2236 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002237 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002238 <actions>
2239 <action function="set">tw_back=restore</action>
2240 <action function="overlay">select_storage</action>
2241 </actions>
2242 </button>
2243
2244 <action>
2245 <condition var1="tw_restore" op="modified"/>
2246 <actions>
2247 <action function="readBackup"/>
2248 <action function="page">restore_read</action>
2249 </actions>
2250 </action>
2251
2252 <action>
2253 <touch key="home"/>
2254 <action function="page">main</action>
2255 </action>
2256
2257 <action>
2258 <touch key="back"/>
2259 <action function="page">main</action>
2260 </action>
2261 </page>
2262
2263 <page name="restore_read">
2264 <action>
2265 <condition var1="tw_restore_encrypted" var2="1"/>
2266 <actions>
2267 <action function="set">tw_password_fail=0</action>
2268 <action function="page">restore_decrypt</action>
2269 </actions>
2270 </action>
2271
2272 <action>
2273 <condition var1="tw_restore_encrypted" var2="0"/>
2274 <actions>
2275 <action function="page">restore_select</action>
2276 </actions>
2277 </action>
2278 </page>
2279
2280 <page name="restore_decrypt">
2281 <template name="page"/>
2282
2283 <text style="text_l">
2284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002285 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002286 </text>
2287
2288 <text style="text_m">
2289 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002290 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </text>
2292
2293 <text style="text_m_accent">
2294 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <input>
2299 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2300 <text>%tw_restore_display%</text>
2301 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2302 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2303 <action function="page">try_restore_decrypt</action>
2304 </input>
2305
2306 <fill color="%accent_color%">
2307 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2308 </fill>
2309
2310 <fill color="%text_fail_color%">
2311 <condition var1="tw_password_fail" var2="1"/>
2312 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2313 </fill>
2314
2315 <text style="text_m_fail">
2316 <condition var1="tw_password_fail" var2="1"/>
2317 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002318 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002319 </text>
2320
2321 <button style="main_button_half_height">
2322 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002323 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002324 <actions>
2325 <action function="set">tw_page_done=1</action>
2326 <action function="page">restore</action>
2327 </actions>
2328 </button>
2329
2330 <button style="main_button_half_height">
2331 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002332 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002333 <actions>
2334 <action function="set">tw_back=restore</action>
2335 <action function="set">tw_action=cmd</action>
2336 <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 -05002337 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2338 <action function="set">tw_text2=%tw_restore_name%</action>
2339 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2340 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2341 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2342 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002343 <action function="page">confirm_action</action>
2344 </actions>
2345 </button>
2346
2347 <template name="keyboardtemplate"/>
2348
2349 <action>
2350 <touch key="home"/>
2351 <action function="page">main</action>
2352 </action>
2353
2354 <action>
2355 <touch key="back"/>
2356 <action function="page">restore</action>
2357 </action>
2358 </page>
2359
2360 <page name="try_restore_decrypt">
2361 <template name="page"/>
2362
2363 <text style="text_l">
2364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 </text>
2367
2368 <text style="text_m">
2369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 </text>
2372
2373 <template name="console"/>
2374
2375 <template name="progress_bar"/>
2376
2377 <action>
2378 <action function="decrypt_backup"/>
2379 </action>
2380
2381 <action>
2382 <conditions>
2383 <condition var1="tw_operation_state" var2="1"/>
2384 <condition var1="tw_operation_status" op="!=" var2="0"/>
2385 </conditions>
2386 <actions>
2387 <action function="set">tw_password_fail=1</action>
2388 <action function="page">restore_decrypt</action>
2389 </actions>
2390 </action>
2391
2392 <action>
2393 <conditions>
2394 <condition var1="tw_operation_state" var2="1"/>
2395 <condition var1="tw_operation_status" op="=" var2="0"/>
2396 </conditions>
2397 <actions>
2398 <action function="set">tw_page_done=1</action>
2399 <action function="page">restore_select</action>
2400 </actions>
2401 </action>
2402 </page>
2403
2404 <page name="restore_select">
2405 <template name="page"/>
2406
2407 <text style="text_l">
2408 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002410 </text>
2411
2412 <text style="text_m">
2413 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <text style="text_m_accent">
2418 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m">
2423 <placement x="%indent%" y="%row3_y%"/>
2424 <text>%tw_restore_name%</text>
2425 </text>
2426
2427 <fill color="%fileselector_linecolor%">
2428 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2429 </fill>
2430
2431 <button>
2432 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2433 <fill color="%transparent%"/>
2434 <actions>
2435 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2436 <action function="set">tw_fileexists=0</action>
2437 <action function="page">renamebackup</action>
2438 </actions>
2439 </button>
2440
2441 <partitionlist>
2442 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002443 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002444 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2445 <listtype name="restore"/>
2446 </partitionlist>
2447
2448 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002449 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002450 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002451 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2452 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </checkbox>
2454
2455 <button style="main_button_half_height">
2456 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 <actions>
2459 <action function="set">tw_back=restore</action>
2460 <action function="set">tw_action=cmd</action>
2461 <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 -05002462 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002463 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2465 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2466 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2467 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <action function="page">confirm_action</action>
2469 </actions>
2470 </button>
2471
2472 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002473 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002474 <action function="page">restore_run</action>
2475 </slider>
2476
2477 <action>
2478 <touch key="home"/>
2479 <action function="page">main</action>
2480 </action>
2481
2482 <action>
2483 <touch key="back"/>
2484 <action function="page">restore</action>
2485 </action>
2486 </page>
2487
2488 <page name="renamebackup">
2489 <template name="page"/>
2490
2491 <text style="text_l">
2492 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 </text>
2495
2496 <text style="text_m">
2497 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 </text>
2500
2501 <text style="text_m_accent">
2502 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002503 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002504 </text>
2505
2506 <input>
2507 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2508 <text>%tw_backup_rename%</text>
2509 <data name="tw_backup_rename"/>
2510 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2511 <actions>
2512 <action function="set">tw_back=restore</action>
2513 <action function="set">tw_action=cmd</action>
2514 <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 -05002515 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2516 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2517 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2518 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2519 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002520 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2521 <action function="set">tw_existpage=renamebackup</action>
2522 <action function="set">tw_notexistpage=confirm_action</action>
2523 <action function="page">filecheck</action>
2524 </actions>
2525 </input>
2526
2527 <fill color="%accent_color%">
2528 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2529 </fill>
2530
2531 <fill color="%text_fail_color%">
2532 <condition var1="tw_fileexists" var2="1"/>
2533 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2534 </fill>
2535
2536 <text style="text_m_fail">
2537 <condition var1="tw_fileexists" var2="1"/>
2538 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <button style="main_button_half_height">
2543 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <action function="page">restore_select</action>
2546 </button>
2547
2548 <template name="keyboardtemplate"/>
2549
2550 <action>
2551 <touch key="home"/>
2552 <action function="page">main</action>
2553 </action>
2554
2555 <action>
2556 <touch key="back"/>
2557 <action function="page">restore_select</action>
2558 </action>
2559 </page>
2560
2561 <page name="restore_run">
2562 <template name="page"/>
2563
2564 <text style="text_l">
2565 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002566 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002567 </text>
2568
2569 <text style="text_m">
2570 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2571 <text>%tw_operation% %tw_partition%</text>
2572 </text>
2573
2574 <template name="console"/>
2575
2576 <template name="progress_bar"/>
2577
2578 <text style="text_m_accent">
2579 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002580 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002581 </text>
2582
2583 <text style="text_m">
2584 <placement x="%indent%" y="%row20_y%"/>
2585 <text>%tw_size_progress%</text>
2586 </text>
2587
2588 <action>
2589 <condition var1="tw_operation_state" var2="1"/>
2590 <actions>
2591 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002592 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <action function="set">tw_show_reboot=1</action>
2594 <action function="page">action_complete</action>
2595 </actions>
2596 </action>
2597
2598 <action>
2599 <action function="nandroid">restore</action>
2600 </action>
2601 </page>
2602
2603 <page name="mount">
2604 <template name="page"/>
2605
2606 <text style="text_l">
2607 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 </text>
2610
2611 <text style="text_m">
2612 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 </text>
2615
2616 <partitionlist>
2617 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <listtype name="mount"/>
2620 </partitionlist>
2621
2622 <button style="checkbox">
2623 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2624 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <image resource="checkbox_false"/>
2627 <action function="mountsystemtoggle">1</action>
2628 </button>
2629
2630 <button style="checkbox">
2631 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2632 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002633 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002634 <image resource="checkbox_true"/>
2635 <actions>
2636 <action function="set">tw_lifetime_writes=2</action>
2637 <action function="page">system_readonly_check</action>
2638 </actions>
2639 </button>
2640
2641 <button style="main_button_half_height">
2642 <condition var1="tw_has_usb_storage" var2="1"/>
2643 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <action function="page">usb_mount</action>
2646 </button>
2647
2648 <button style="main_button_half_height">
2649 <conditions>
2650 <condition var1="tw_is_encrypted" var2="1"/>
2651 <condition var1="tw_is_decrypted" var2="0"/>
2652 </conditions>
2653 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="page">decrypt</action>
2656 </button>
2657
2658 <button style="main_button_half_height">
2659 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002661 <actions>
2662 <action function="set">tw_back=mount</action>
2663 <action function="overlay">select_storage</action>
2664 </actions>
2665 </button>
2666
2667 <button style="main_button_half_height">
2668 <conditions>
2669 <condition var1="tw_has_mtp" var2="1"/>
2670 <condition var1="tw_mtp_enabled" var2="0"/>
2671 </conditions>
2672 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <action function="startmtp"/>
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="1"/>
2681 </conditions>
2682 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 <action function="stopmtp"/>
2685 </button>
2686
2687 <action>
2688 <touch key="home"/>
2689 <action function="page">main</action>
2690 </action>
2691
2692 <action>
2693 <touch key="back"/>
2694 <action function="page">main</action>
2695 </action>
2696 </page>
2697
2698 <page name="usb_mount">
2699 <template name="page"/>
2700
2701 <text style="text_l">
2702 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002704 </text>
2705
2706 <text style="text_m">
2707 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002708 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002709 </text>
2710
2711 <text style="text_m_accent">
2712 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 </text>
2715
2716 <text style="text_m">
2717 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002718 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002719 </text>
2720
2721 <text style="text_m">
2722 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002723 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002724 </text>
2725
2726 <button style="main_button_half_height">
2727 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002728 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002729 <action function="page">usb_umount</action>
2730 </button>
2731
2732 <action>
2733 <action function="mount">usb</action>
2734 <action function="set">tw_busy=1</action>
2735 </action>
2736 </page>
2737
2738 <page name="usb_umount">
2739 <action>
2740 <action function="unmount">usb</action>
2741 </action>
2742
2743 <action>
2744 <action function="page">mount</action>
2745 <action function="set">tw_busy=0</action>
2746 </action>
2747 </page>
2748
2749 <page name="system_readonly_check">
2750 <action>
2751 <action function="checkpartitionlifetimewrites">/system</action>
2752 </action>
2753
2754 <action>
2755 <condition var1="tw_lifetime_writes" var2="1"/>
2756 <actions>
2757 <action function="mountsystemtoggle">0</action>
2758 <action function="page">mount</action>
2759 </actions>
2760 </action>
2761
2762 <action>
2763 <condition var1="tw_lifetime_writes" var2="0"/>
2764 <actions>
2765 <action function="set">tw_back=mount</action>
2766 <action function="page">system_readonly</action>
2767 </actions>
2768 </action>
2769 </page>
2770
2771 <page name="reboot">
2772 <template name="page"/>
2773
2774 <text style="text_l">
2775 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002776 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002777 </text>
2778
2779 <button style="main_button">
2780 <condition var1="tw_reboot_system" var2="1"/>
2781 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002782 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002783 <actions>
2784 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002785 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002786 </actions>
2787 </button>
2788
2789 <button style="main_button">
2790 <condition var1="tw_reboot_poweroff" var2="1"/>
2791 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 <actions>
2794 <action function="set">tw_back=reboot</action>
2795 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002796 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002797 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2800 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2801 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2802 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2803 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002804 <action function="page">rebootcheck</action>
2805 </actions>
2806 </button>
2807
2808 <button style="main_button">
2809 <condition var1="tw_reboot_recovery" var2="1"/>
2810 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 <actions>
2813 <action function="set">tw_back=reboot</action>
2814 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002815 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002816 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002817 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2819 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2820 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2821 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002823 <action function="page">rebootcheck</action>
2824 </actions>
2825 </button>
2826
2827 <button style="main_button">
2828 <condition var1="tw_reboot_bootloader" var2="1"/>
2829 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 <actions>
2832 <action function="set">tw_back=reboot</action>
2833 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002834 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002835 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002836 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2838 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2839 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2840 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2841 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="page">rebootcheck</action>
2843 </actions>
2844 </button>
2845
2846 <button style="main_button">
2847 <condition var1="tw_download_mode" var2="1"/>
2848 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002849 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002850 <actions>
2851 <action function="set">tw_back=reboot</action>
2852 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002853 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002854 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002855 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002856 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2857 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2858 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2859 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2860 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002861 <action function="page">rebootcheck</action>
2862 </actions>
2863 </button>
2864
mauronofrioe9a49ef2018-10-03 13:38:16 +02002865 <button style="main_button">
2866 <condition var1="tw_edl_mode" var2="1"/>
2867 <placement x="%center_x%" y="%row13a_y%"/>
2868 <text>{@rb_edl_btn=Edl}</text>
2869 <actions>
2870 <action function="set">tw_back=reboot</action>
2871 <action function="set">tw_action=reboot</action>
2872 <action function="set">tw_action_param=edl</action>
2873 <action function="set">tw_reboot_param=edl</action>
2874 <action function="set">tw_has_action2=0</action>
2875 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2876 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2877 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2878 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2879 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2880 <action function="page">rebootcheck</action>
2881 </actions>
2882 </button>
2883
Ethan Yonker1b190162016-12-05 15:25:19 -06002884 <text style="text_m">
2885 <condition var1="tw_has_boot_slots" var2="1"/>
2886 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2887 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2888 </text>
2889
2890 <button style="main_button">
2891 <condition var1="tw_has_boot_slots" var2="1"/>
2892 <placement x="%indent%" y="%row19_y%"/>
2893 <text>{@boot_slot_a=Slot A}</text>
2894 <actions>
2895 <action function="set">tw_back=reboot</action>
2896 <action function="set">tw_action=setbootslot</action>
2897 <action function="set">tw_action_param=A</action>
2898 <action function="set">tw_has_action2=0</action>
2899 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2900 <action function="set">tw_action_text2=</action>
2901 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2902 <action function="page">action_page</action>
2903 </actions>
2904 </button>
2905
2906 <button style="main_button">
2907 <condition var1="tw_has_boot_slots" var2="1"/>
2908 <placement x="%center_x%" y="%row19_y%"/>
2909 <text>{@boot_slot_b=Slot B}</text>
2910 <actions>
2911 <action function="set">tw_back=reboot</action>
2912 <action function="set">tw_action=setbootslot</action>
2913 <action function="set">tw_action_param=B</action>
2914 <action function="set">tw_has_action2=0</action>
2915 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2916 <action function="set">tw_action_text2=</action>
2917 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2918 <action function="page">action_page</action>
2919 </actions>
2920 </button>
2921
z31s1g28f0a922015-11-07 18:50:22 +01002922 <action>
2923 <touch key="home"/>
2924 <action function="page">main</action>
2925 </action>
2926
2927 <action>
2928 <touch key="back"/>
2929 <action function="page">main</action>
2930 </action>
2931 </page>
2932
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002933 <page name="rebootapp">
2934 <template name="page"/>
2935
2936 <text style="text_l">
2937 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2938 <text>{@reboot_hdr=Reboot}</text>
2939 </text>
2940
2941 <text style="text_m">
2942 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2943 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2944 </text>
2945
2946 <text style="text_m_accent">
2947 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2948 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2949 </text>
2950
2951 <text style="text_m_accent">
2952 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2953 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2954 </text>
2955
2956 <checkbox>
2957 <placement x="%indent%" y="%row5_y%"/>
2958 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2959 <data variable="tw_app_prompt"/>
2960 </checkbox>
2961
2962 <checkbox>
2963 <condition var1="tw_mount_system_ro" var2="0"/>
2964 <placement x="%indent%" y="%row7_y%"/>
2965 <text>{@reboot_install_app_system=Install as a System App}</text>
2966 <data variable="tw_app_install_system"/>
2967 </checkbox>
2968
2969 <button style="main_button_half_height">
2970 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002971 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002972 <action function="reboot">%tw_reboot_param%</action>
2973 </button>
2974
2975 <slider>
2976 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2977 <actions>
2978 <action function="set">tw_back=reboot</action>
2979 <action function="set">tw_action=installapp</action>
2980 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2981 <action function="set">tw_action_text2=</action>
2982 <action function="set">tw_has_action2=1</action>
2983 <action function="set">tw_action2=reboot</action>
2984 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2985 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2986 <action function="page">action_page</action>
2987 </actions>
2988 </slider>
2989
2990 <action>
2991 <touch key="home"/>
2992 <actions>
2993 <action function="set">tw_app_install_status=0</action>
2994 <action function="page">main</action>
2995 </actions>
2996 </action>
2997
2998 <action>
2999 <touch key="back"/>
3000 <actions>
3001 <action function="set">tw_app_install_status=0</action>
3002 <action function="page">reboot</action>
3003 </actions>
3004 </action>
3005 </page>
3006
z31s1g28f0a922015-11-07 18:50:22 +01003007 <page name="system_readonly">
3008 <template name="page"/>
3009
3010 <text style="text_l">
3011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003012 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003013 </text>
3014
3015 <text style="text_m_accent">
3016 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <text style="text_m">
3021 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 </text>
3024
3025 <text style="text_m">
3026 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003027 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003028 </text>
3029
3030 <text style="text_m">
3031 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 </text>
3034
3035 <text style="text_m">
3036 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003038 </text>
3039
3040 <text style="text_m_fail">
3041 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 </text>
3044
3045 <text style="text_m_fail">
3046 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003047 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003048 </text>
3049
3050 <checkbox>
3051 <condition var1="tw_is_encrypted" var2="0"/>
3052 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003053 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003054 <data variable="tw_never_show_system_ro_page"/>
3055 </checkbox>
3056
3057 <button style="main_button_half_height">
3058 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 <actions>
3061 <action function="mountsystemtoggle">1</action>
3062 <action function="set">tw_page_done=1</action>
3063 <action function="page">%tw_back%</action>
3064 </actions>
3065 </button>
3066
z31s1g608d7ff2016-01-18 19:47:25 +01003067 <button style="main_button_half_height">
3068 <placement x="%center_x%" y="%row18a_y%"/>
3069 <text>{@sel_lang_btn=Select Language}</text>
3070 <action function="overlay">select_language</action>
3071 </button>
3072
z31s1g28f0a922015-11-07 18:50:22 +01003073 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <actions>
3076 <action function="mountsystemtoggle">0</action>
3077 <action function="set">tw_page_done=1</action>
3078 <action function="page">%tw_back%</action>
3079 </actions>
3080 </slider>
3081 </page>
3082
3083 <page name="settings">
3084 <template name="page"/>
3085
3086 <text style="text_l">
3087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 </text>
3090
3091 <text style="text_m">
3092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003094 </text>
3095
3096 <template name="tabs_settings"/>
3097
3098 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003100 </fill>
3101
3102 <listbox style="scrolllist">
3103 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3104 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003106 <data variable="tw_signed_zip_verify"/>
3107 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003108 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3109 <data variable="tw_install_reboot"/>
3110 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003112 <data variable="tw_rm_rf"/>
3113 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003114 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3115 <data variable="tw_disable_free_space"/>
3116 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003117 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3118 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003119 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003120 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3121 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003122 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003124 <data variable="tw_military_time"/>
3125 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003127 <data variable="tw_samsung_navbar"/>
3128 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003129 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3130 <data variable="tw_app_prompt"/>
3131 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003132 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003133 <data variable="tw_simulate_actions"/>
3134 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003136 <condition var1="tw_simulate_actions" var2="1"/>
3137 <data variable="tw_simulate_fail"/>
3138 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003139 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3140 <condition var1="tw_no_sha2" var2="0"/>
3141 <data variable="tw_use_sha2"/>
3142 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003143 </listbox>
3144
3145 <button style="main_button_half_height">
3146 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003148 <actions>
3149 <action function="set">tw_samsung_navbar=0</action>
3150 <action function="set">tw_tab_icons=0</action>
3151 <action function="restoredefaultsettings"/>
3152 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003153 </button>
3154
3155 <action>
3156 <touch key="home"/>
3157 <action function="page">main</action>
3158 </action>
3159
3160 <action>
3161 <touch key="back"/>
3162 <action function="page">main</action>
3163 </action>
3164 </page>
3165
3166 <page name="settings_timezone">
3167 <template name="page"/>
3168
3169 <text style="text_l">
3170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </text>
3173
3174 <text style="text_m">
3175 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 </text>
3178
3179 <template name="tabs_settings"/>
3180
3181 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003183 </fill>
3184
3185 <listbox>
3186 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3190 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3191 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3192 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3193 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3194 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3195 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3196 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3197 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3198 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3199 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3200 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3201 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3202 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3203 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3204 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3205 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3206 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3207 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3208 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3209 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3210 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3211 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3212 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003213 </listbox>
3214
3215 <text style="text_m_accent">
3216 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003218 </text>
3219
3220 <button style="button_quarter_width">
3221 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003222 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003223 <action function="set">tw_time_zone_guioffset=0</action>
3224 </button>
3225
3226 <button style="button_quarter_width">
3227 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003229 <action function="set">tw_time_zone_guioffset=15</action>
3230 </button>
3231
3232 <button style="button_quarter_width">
3233 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <action function="set">tw_time_zone_guioffset=30</action>
3236 </button>
3237
3238 <button style="button_quarter_width">
3239 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003240 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003241 <action function="set">tw_time_zone_guioffset=45</action>
3242 </button>
3243
3244 <checkbox>
3245 <placement x="%indent%" y="%row18a_y%"/>
3246 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003247 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003248 <data variable="tw_time_zone_guidst"/>
3249 <image checked="checkbox_true" unchecked="checkbox_false"/>
3250 </checkbox>
3251
3252 <text color="%text_color%">
3253 <font resource="font_m"/>
3254 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </text>
3257
3258 <button>
3259 <highlight color="%highlight_color%"/>
3260 <placement x="%center_x%" y="%row21a_y%"/>
3261 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 <image resource="main_button_half_height"/>
3264 <action function="setguitimezone"/>
3265 </button>
3266
3267 <action>
3268 <touch key="home"/>
3269 <action function="page">main</action>
3270 </action>
3271
3272 <action>
3273 <touch key="back"/>
3274 <action function="page">main</action>
3275 </action>
3276 </page>
3277
3278 <page name="settings_screen">
3279 <template name="page"/>
3280
3281 <text style="text_l">
3282 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </text>
3285
3286 <text style="text_m">
3287 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <template name="tabs_settings"/>
3292
3293 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003294 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003295 </fill>
3296
3297 <button>
3298 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3299 <font resource="font_m" color="%text_color%"/>
3300 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3301 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <image resource="checkbox_false"/>
3304 <action function="set">tw_screen_timeout_secs=60</action>
3305 </button>
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_true"/>
3314 <action function="set">tw_screen_timeout_secs=0</action>
3315 </button>
3316
3317 <slidervalue>
3318 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3319 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3320 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3323 </slidervalue>
3324
3325 <slidervalue>
3326 <condition var1="tw_has_brightnesss_file" var2="1"/>
3327 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <data variable="tw_brightness_pct" min="10" max="100"/>
3330 <actions>
3331 <action function="set">tw_brightness=%tw_brightness_max%</action>
3332 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3333 <action function="compute">tw_brightness/100</action>
3334 <action function="setbrightness">%tw_brightness%</action>
3335 </actions>
3336 </slidervalue>
3337
3338 <action>
3339 <touch key="home"/>
3340 <action function="page">main</action>
3341 </action>
3342
3343 <action>
3344 <touch key="back"/>
3345 <action function="page">main</action>
3346 </action>
3347 </page>
3348
3349 <page name="settings_vibration">
3350 <template name="page"/>
3351
3352 <text style="text_l">
3353 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 </text>
3356
3357 <text style="text_m">
3358 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </text>
3361
3362 <template name="tabs_settings"/>
3363
3364 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003366 </fill>
3367
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003368 <text style="text_m">
3369 <condition var1="tw_disable_haptics" var2="1"/>
3370 <placement x="%indent%" y="%row4_y%"/>
3371 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3372 </text>
3373
z31s1g28f0a922015-11-07 18:50:22 +01003374 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003375 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003376 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 <data variable="tw_button_vibrate" min="0" max="300"/>
3379 </slidervalue>
3380
3381 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003382 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003383 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3386 </slidervalue>
3387
3388 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003389 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003390 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003392 <data variable="tw_action_vibrate" min="0" max="500"/>
3393 </slidervalue>
3394
3395 <action>
3396 <touch key="home"/>
3397 <action function="page">main</action>
3398 </action>
3399
3400 <action>
3401 <touch key="back"/>
3402 <action function="page">main</action>
3403 </action>
3404 </page>
3405
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <page name="settings_language">
3407 <template name="page"/>
3408
3409 <text style="text_l">
3410 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3411 <text>{@settings_hdr=Settings}</text>
3412 </text>
3413
3414 <text style="text_m">
3415 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3416 <text>{@language_hdr=Language - %tw_language_display%}</text>
3417 </text>
3418
3419 <template name="tabs_settings"/>
3420
3421 <fill color="%text_color%">
3422 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3423 </fill>
3424
3425 <listbox>
3426 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3427 <text>{@select_language=Select Language:}</text>
3428 <icon selected="radio_true" unselected="radio_false" />
3429 <data name="tw_language" />
3430 </listbox>
3431
3432 <button style="main_button_half_height">
3433 <placement x="%center_x%" y="%row21a_y%"/>
3434 <text>{@set_language_btn=Set Language}</text>
3435 <action function="setlanguage"></action>
3436 </button>
3437
3438 <action>
3439 <touch key="home" />
3440 <action function="page">main</action>
3441 </action>
3442
3443 <action>
3444 <touch key="back" />
3445 <action function="page">settings</action>
3446 </action>
3447 </page>
3448
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003449 <page name="copylog">
3450 <template name="page"/>
3451
3452 <text style="text_l">
3453 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3454 <text>{@copying_log=Copy Logs to SD Card}</text>
3455 </text>
3456
3457 <checkbox>
3458 <placement x="%indent%" y="%row4_y%"/>
3459 <text>{@include_kernel_log=Include Kernel Log}</text>
3460 <data variable="tw_include_kernel_log" value="1"/>
3461 </checkbox>
3462
3463 <slider>
3464 <text>{@copying_log=Copy Logs to SD Card}</text>
3465 <actions>
3466 <action function="set">tw_back=advanced</action>
3467 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003468 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3469 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003470 <action function="page">action_page</action>
3471 </actions>
3472 </slider>
3473
3474 <action>
3475 <touch key="home"/>
3476 <action function="page">main</action>
3477 </action>
3478
3479 <action>
3480 <touch key="back"/>
3481 <actions>
3482 <action function="page">advanced</action>
3483 </actions>
3484 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003485 </page>
3486
z31s1g28f0a922015-11-07 18:50:22 +01003487 <page name="advanced">
3488 <template name="page"/>
3489
3490 <text style="text_l">
3491 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </text>
3494
3495 <button style="main_button">
3496 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003498 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </button>
3500
3501 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003502 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003503 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003504 <text>{@fix_context_btn=Fix Contexts}</text>
3505 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003506 </button>
3507
3508 <button style="main_button">
3509 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3510 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003512 <actions>
3513 <action function="set">partitionlisterror=0</action>
3514 <action function="page">partsdcardsel</action>
3515 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </button>
3517
3518 <button style="main_button">
3519 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003521 <action function="page">filemanagerlist</action>
3522 </button>
3523
3524 <button style="main_button">
3525 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003527 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003528 </button>
3529
3530 <button style="main_button">
3531 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003533 <action function="reload"/>
3534 </button>
3535
3536 <button style="main_button">
3537 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003539 <action function="page">sideload</action>
3540 </button>
3541
3542 <button style="main_button">
3543 <condition var1="tw_show_dumlock" var2="1"/>
3544 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <action function="page">htcdumlock</action>
3547 </button>
3548
3549 <button style="main_button">
3550 <condition var1="tw_has_injecttwrp" var2="1"/>
3551 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003553 <actions>
3554 <action function="set">tw_back=advanced</action>
3555 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003556 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3557 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3558 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3559 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003560 <action function="page">confirm_action</action>
3561 </actions>
3562 </button>
3563
3564 <action>
3565 <touch key="home"/>
3566 <action function="page">main</action>
3567 </action>
3568
3569 <action>
3570 <touch key="back"/>
3571 <action function="page">main</action>
3572 </action>
3573 </page>
3574
Ethan Yonker483e9f42016-01-11 22:21:18 -06003575 <page name="partsdcardsel">
3576 <template name="page"/>
3577
3578 <text style="text_l">
3579 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3580 <text>{@advanced_hdr=Advanced}</text>
3581 </text>
3582
3583 <text style="text_m">
3584 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3585 <text>{@part_sd_hdr=Partition SD Card}</text>
3586 </text>
3587
z31s1g782e1c92016-01-30 16:50:09 +01003588 <partitionlist>
3589 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003590 <text>{@sel_storage_list=Select Storage}</text>
3591 <data name="tw_storage_path"/>
3592 <listtype name="storage"/>
3593 </partitionlist>
3594
3595 <text style="text_m_fail">
3596 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003597 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003598 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3599 </text>
3600
z31s1g782e1c92016-01-30 16:50:09 +01003601 <button style="main_button_half_height">
3602 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003603 <text>{@ok_btn=OK}</text>
3604 <actions>
3605 <action function="getpartitiondetails">tw_storage_path</action>
3606 <action function="page">partsdcardcheck</action>
3607 </actions>
3608 </button>
3609
3610 <action>
3611 <touch key="home"/>
3612 <action function="page">main</action>
3613 </action>
3614
3615 <action>
3616 <touch key="back"/>
3617 <action function="page">advanced</action>
3618 </action>
3619 </page>
3620
3621 <page name="partsdcardcheck">
3622 <action>
3623 <condition var1="tw_partition_removable" op="=" var2="1"/>
3624 <actions>
3625 <action function="set">partitionlisterror=0</action>
3626 <action function="page">partsdcard</action>
3627 </actions>
3628 </action>
3629
3630 <action>
3631 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3632 <actions>
3633 <action function="set">partitionlisterror=1</action>
3634 <action function="page">partsdcardsel</action>
3635 </actions>
3636 </action>
3637 </page>
3638
z31s1g28f0a922015-11-07 18:50:22 +01003639 <page name="partsdcard">
3640 <template name="page"/>
3641
3642 <text style="text_l">
3643 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 </text>
3646
3647 <text style="text_m">
3648 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 </text>
3651
3652 <text style="text_m_fail">
3653 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 </text>
3656
3657 <text style="text_m_fail">
3658 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 </text>
3661
3662 <text style="text_m_accent">
3663 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 </text>
3666
3667 <text style="text_m">
3668 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3669 <text>%tw_sdext_size%</text>
3670 </text>
3671
3672 <button style="button_quarter_width">
3673 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003675 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003676 </button>
3677
3678 <button style="button_quarter_width">
3679 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003680 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003681 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003682 </button>
3683
3684 <text style="text_m_accent">
3685 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003686 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003687 </text>
3688
3689 <text style="text_m">
3690 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3691 <text>%tw_swap_size%</text>
3692 </text>
3693
3694 <button style="button_quarter_width">
3695 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003697 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </button>
3699
3700 <button style="button_quarter_width">
3701 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003703 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </button>
3705
3706 <text style="text_m_accent">
3707 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </text>
3710
3711 <text style="text_m">
3712 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3713 <text>%tw_sdpart_file_system%</text>
3714 </text>
3715
3716 <button style="button_quarter_width">
3717 <placement x="%indent%" y="%row14_y%"/>
3718 <text>EXT3</text>
3719 <action function="set">tw_sdpart_file_system=ext3</action>
3720 </button>
3721
3722 <button style="button_quarter_width">
3723 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3724 <text>EXT4</text>
3725 <action function="set">tw_sdpart_file_system=ext4</action>
3726 </button>
3727
3728 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <action function="page">partsdcardaction</action>
3731 <actions>
3732 <action function="set">tw_back=partsdcard</action>
3733 <action function="set">tw_action=partitionsd</action>
3734 <action function="set">tw_has_action2=1</action>
3735 <action function="set">tw_action2=set</action>
3736 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3738 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3739 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003740 <action function="page">action_page</action>
3741 </actions>
3742 </slider>
3743
3744 <action>
3745 <touch key="home"/>
3746 <action function="page">main</action>
3747 </action>
3748
3749 <action>
3750 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003751 <actions>
3752 <action function="set">partitionlisterror=0</action>
3753 <action function="page">partsdcardsel</action>
3754 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003755 </action>
3756 </page>
3757
3758 <page name="htcdumlock">
3759 <template name="page"/>
3760
3761 <text style="text_l">
3762 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003763 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003764 </text>
3765
3766 <text style="text_m">
3767 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </text>
3770
3771 <button style="main_button_half_height_full_width">
3772 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 <actions>
3775 <action function="set">tw_back=htcdumlock</action>
3776 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3778 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3779 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3780 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003781 <action function="page">confirm_action</action>
3782 </actions>
3783 </button>
3784
3785 <button style="main_button_half_height_full_width">
3786 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 <actions>
3789 <action function="set">tw_back=htcdumlock</action>
3790 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003791 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3792 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3793 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3794 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003795 <action function="page">confirm_action</action>
3796 </actions>
3797 </button>
3798
3799 <button style="main_button_half_height_full_width">
3800 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <actions>
3803 <action function="set">tw_back=htcdumlock</action>
3804 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3806 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3807 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3808 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003809 <action function="page">confirm_action</action>
3810 </actions>
3811 </button>
3812
3813 <action>
3814 <touch key="home"/>
3815 <action function="page">main</action>
3816 </action>
3817
3818 <action>
3819 <touch key="back"/>
3820 <action function="page">advanced</action>
3821 </action>
3822 </page>
3823
3824 <page name="lock">
3825 <background color="%semi_transparent%"/>
3826
3827 <image>
3828 <image resource="unlock_icon"/>
3829 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3830 </image>
3831
3832 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003834 <action function="overlay"/>
3835 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003836
3837 <action>
3838 <touch key="power"/>
3839 <action function="togglebacklight"/>
3840 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003841 </page>
3842
3843 <page name="filemanagerlist">
3844 <template name="page"/>
3845
3846 <text style="text_l">
3847 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <text style="text_m">
3852 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <template name="sort_options"/>
3857
3858 <fileselector>
3859 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3860 <text>%tw_file_location1%</text>
3861 <filter folders="1" files="1"/>
3862 <path name="tw_file_location1" default="/"/>
3863 <data name="tw_filename1"/>
3864 <selection name="tw_selection1"/>
3865 </fileselector>
3866
3867 <button style="fab">
3868 <image resource="fab_selectfolder"/>
3869 <actions>
3870 <action function="set">tw_filename1=tw_file_location1</action>
3871 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003873 <action function="page">filemanageroptions</action>
3874 </actions>
3875 </button>
3876
3877 <action>
3878 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <action function="set">tw_fm_isfolder=0</action>
3881 </actions>
3882 </action>
3883
3884 <action>
3885 <touch key="home"/>
3886 <action function="page">main</action>
3887 </action>
3888
3889 <action>
3890 <touch key="back"/>
3891 <action function="page">advanced</action>
3892 </action>
3893
3894 <action>
3895 <condition var1="tw_filename1" op="modified"/>
3896 <action function="page">filemanageroptions</action>
3897 </action>
3898 </page>
3899
3900 <page name="filemanageroptions">
3901 <template name="page"/>
3902
3903 <text style="text_l">
3904 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 </text>
3907
3908 <text style="text_m">
3909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 </text>
3912
3913 <text style="text_m_accent">
3914 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 </text>
3917
3918 <text style="text_m">
3919 <placement x="%indent%" y="%row3_y%"/>
3920 <text>%tw_filename1%</text>
3921 </text>
3922
3923 <button style="main_button_half_height">
3924 <condition var1="tw_fm_isfolder" var2="0"/>
3925 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 <actions>
3928 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003930 <action function="page">choosedestinationfolder</action>
3931 </actions>
3932 </button>
3933
3934 <button style="main_button_half_height">
3935 <condition var1="tw_fm_isfolder" var2="1"/>
3936 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 <actions>
3939 <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 -05003940 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003941 <action function="page">choosedestinationfolder</action>
3942 </actions>
3943 </button>
3944
3945 <button style="main_button_half_height">
3946 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 <actions>
3949 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003951 <action function="page">choosedestinationfolder</action>
3952 </actions>
3953 </button>
3954
3955 <button style="main_button_half_height">
3956 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 <actions>
3959 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003960 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003961 <action function="set">tw_fm_text2=</action>
3962 <action function="set">tw_fm_text3=</action>
3963 <action function="set">tw_include_text3=0</action>
3964 <action function="set">tw_back=filemanageroptions</action>
3965 <action function="page">filemanagerconfirm</action>
3966 </actions>
3967 </button>
3968
3969 <button style="main_button_half_height">
3970 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <actions>
3973 <action function="set">tw_filemanager_rename=0000</action>
3974 <action function="set">tw_fm_text2=</action>
3975 <action function="set">tw_fm_text3=</action>
3976 <action function="set">tw_include_text3=0</action>
3977 <action function="set">tw_back=filemanageroptions</action>
3978 <action function="page">filemanagerchmod</action>
3979 </actions>
3980 </button>
3981
3982 <button style="main_button_half_height">
3983 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003984 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 <actions>
3986 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003987 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003988 <action function="set">tw_fm_text2=</action>
3989 <action function="set">tw_fm_text3=</action>
3990 <action function="set">tw_include_text3=0</action>
3991 <action function="set">tw_back=filemanageroptions</action>
3992 <action function="page">filemanagerconfirm</action>
3993 </actions>
3994 </button>
3995
3996 <button style="main_button_half_height">
3997 <condition var1="tw_fm_isfolder" var2="0"/>
3998 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004000 <actions>
4001 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004002 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004003 <action function="set">tw_filemanager_command=mv</action>
4004 <action function="page">filemanagerrenamefile</action>
4005 </actions>
4006 </button>
4007
4008 <button style="main_button_half_height">
4009 <condition var1="tw_fm_isfolder" var2="1"/>
4010 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 <actions>
4013 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004014 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004015 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4016 <action function="page">filemanagerrenamefolder</action>
4017 </actions>
4018 </button>
4019
4020 <action>
4021 <touch key="home"/>
4022 <action function="page">main</action>
4023 </action>
4024
4025 <action>
4026 <touch key="back"/>
4027 <action function="page">filemanagerlist</action>
4028 </action>
4029 </page>
4030
4031 <page name="choosedestinationfolder">
4032 <template name="page"/>
4033
4034 <text style="text_l">
4035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <text style="text_m">
4040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 </text>
4043
4044 <template name="sort_options"/>
4045
4046 <fileselector>
4047 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4048 <text>%tw_file_location2%</text>
4049 <filter folders="1" files="0"/>
4050 <path name="tw_file_location2" default="/"/>
4051 <data name="tw_filename2"/>
4052 <selection name="tw_selection2"/>
4053 </fileselector>
4054
4055 <button style="fab">
4056 <image resource="fab_selectfolder"/>
4057 <actions>
4058 <action function="set">tw_fm_text2=to</action>
4059 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4060 <action function="set">tw_include_text3=1</action>
4061 <action function="set">tw_back=filemanageroptions</action>
4062 <action function="page">filemanagerconfirm</action>
4063 </actions>
4064 </button>
4065
4066 <action>
4067 <touch key="home"/>
4068 <action function="page">main</action>
4069 </action>
4070
4071 <action>
4072 <touch key="back"/>
4073 <action function="page">filemanageroptions</action>
4074 </action>
4075 </page>
4076
4077 <page name="filemanagerrenamefile">
4078 <template name="page"/>
4079
4080 <text style="text_l">
4081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004083 </text>
4084
4085 <text style="text_m">
4086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 </text>
4089
4090 <text style="text_m_accent">
4091 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 </text>
4094
4095 <input>
4096 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4097 <text>%tw_filemanager_rename%</text>
4098 <data name="tw_filemanager_rename"/>
4099 <restrict minlen="1" maxlen="128"/>
4100 <actions>
4101 <action function="set">tw_fm_text2=to</action>
4102 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4103 <action function="set">tw_include_text3=1</action>
4104 <action function="set">tw_back=filemanageroptions</action>
4105 <action function="page">filemanagerconfirm</action>
4106 </actions>
4107 </input>
4108
4109 <fill color="%accent_color%">
4110 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4111 </fill>
4112
4113 <button style="main_button_half_height">
4114 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 <action function="page">filemanageroptions</action>
4117 </button>
4118
4119 <template name="keyboardtemplate"/>
4120
4121 <action>
4122 <touch key="home"/>
4123 <action function="page">main</action>
4124 </action>
4125
4126 <action>
4127 <touch key="back"/>
4128 <action function="page">filemanageroptions</action>
4129 </action>
4130 </page>
4131
4132 <page name="filemanagerrenamefolder">
4133 <template name="page"/>
4134
4135 <text style="text_l">
4136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 </text>
4139
4140 <text style="text_m">
4141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <text style="text_m_accent">
4146 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004148 </text>
4149
4150 <input>
4151 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4152 <text>%tw_filemanager_rename%</text>
4153 <data name="tw_filemanager_rename"/>
4154 <restrict minlen="1" maxlen="128"/>
4155 <actions>
4156 <action function="set">tw_fm_text2=to</action>
4157 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4158 <action function="set">tw_include_text3=1</action>
4159 <action function="set">tw_back=filemanageroptions</action>
4160 <action function="page">filemanagerconfirm</action>
4161 </actions>
4162 </input>
4163
4164 <fill color="%accent_color%">
4165 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4166 </fill>
4167
4168 <button style="main_button_half_height">
4169 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004171 <action function="page">filemanageroptions</action>
4172 </button>
4173
4174 <template name="keyboardtemplate"/>
4175
4176 <action>
4177 <touch key="home"/>
4178 <action function="page">main</action>
4179 </action>
4180
4181 <action>
4182 <touch key="back"/>
4183 <action function="page">filemanageroptions</action>
4184 </action>
4185 </page>
4186
4187 <page name="filemanagerchmod">
4188 <template name="page"/>
4189
4190 <text style="text_l">
4191 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004192 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 </text>
4194
4195 <text style="text_m">
4196 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004197 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004198 </text>
4199
4200 <text style="text_m_accent">
4201 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004202 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004203 </text>
4204
4205 <input>
4206 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4207 <text>%tw_filemanager_rename%</text>
4208 <data name="tw_filemanager_rename"/>
4209 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4210 <actions>
4211 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4212 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4213 <action function="set">tw_back=filemanageroptions</action>
4214 <action function="page">filemanagerconfirm</action>
4215 </actions>
4216 </input>
4217
4218 <fill color="%accent_color%">
4219 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4220 </fill>
4221
4222 <button style="main_button_half_height">
4223 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004224 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004225 <action function="page">filemanageroptions</action>
4226 </button>
4227
4228 <template name="keyboardtemplate"/>
4229
4230 <action>
4231 <touch key="home"/>
4232 <action function="page">main</action>
4233 </action>
4234
4235 <action>
4236 <touch key="back"/>
4237 <action function="page">filemanageroptions</action>
4238 </action>
4239 </page>
4240
4241 <page name="filemanagerconfirm">
4242 <template name="page"/>
4243
4244 <text style="text_l">
4245 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004246 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004247 </text>
4248
4249 <text style="text_m">
4250 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004251 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004252 </text>
4253
4254 <text style="text_m_accent">
4255 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4256 <text>%tw_fm_text1%</text>
4257 </text>
4258
4259 <text style="text_m">
4260 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4261 <text>%tw_filename1%</text>
4262 </text>
4263
4264 <text style="text_m_accent">
4265 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4266 <text>%tw_fm_text2%</text>
4267 </text>
4268
4269 <text style="text_m">
4270 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4271 <text>%tw_fm_text3%</text>
4272 </text>
4273
4274 <text style="text_m">
4275 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004276 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004277 </text>
4278
4279 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 <action function="page">filemanageraction</action>
4282 </slider>
4283
4284 <action>
4285 <touch key="back"/>
4286 <action function="page">%tw_back%</action>
4287 </action>
4288
4289 <action>
4290 <touch key="home"/>
4291 <action function="page">main</action>
4292 </action>
4293 </page>
4294
4295 <page name="filemanageraction">
4296 <template name="page"/>
4297
4298 <text style="text_l">
4299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </text>
4302
4303 <text style="text_m">
4304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4305 <text>%tw_fm_text1%</text>
4306 </text>
4307
4308 <template name="console"/>
4309
4310 <template name="progress_bar"/>
4311
4312 <action>
4313 <conditions>
4314 <condition var1="tw_operation_state" var2="1"/>
4315 <condition var1="tw_operation_status" var2="0"/>
4316 </conditions>
4317 <actions>
4318 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004319 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004320 <action function="page">action_complete</action>
4321 </actions>
4322 </action>
4323
4324 <action>
4325 <conditions>
4326 <condition var1="tw_operation_state" var2="1"/>
4327 <condition var1="tw_operation_status" op="!=" var2="0"/>
4328 </conditions>
4329 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004331 <action function="page">action_complete</action>
4332 </actions>
4333 </action>
4334
4335 <action>
4336 <condition var1="tw_include_text3" var2="0"/>
4337 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4338 </action>
4339
4340 <action>
4341 <condition var1="tw_include_text3" var2="1"/>
4342 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4343 </action>
4344 </page>
4345
4346 <page name="decrypt">
4347 <template name="page"/>
4348
4349 <action>
4350 <condition var1="tw_crypto_pwtype" var2="2"/>
4351 <action function="page">decrypt_pattern</action>
4352 </action>
4353
4354 <text style="text_l">
4355 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 </text>
4358
4359 <text style="text_m">
4360 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 </text>
4363
4364 <text style="text_m_accent">
4365 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </text>
4368
4369 <input>
4370 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4371 <text>%tw_crypto_display%</text>
4372 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4373 <restrict minlen="1" maxlen="254"/>
4374 <action function="page">trydecrypt</action>
4375 </input>
4376
4377 <fill color="%accent_color%">
4378 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4379 </fill>
4380
4381 <fill color="%text_fail_color%">
4382 <condition var1="tw_password_fail" var2="1"/>
4383 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4384 </fill>
4385
4386 <text style="text_m_fail">
4387 <condition var1="tw_password_fail" var2="1"/>
4388 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004389 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 </text>
4391
4392 <button style="main_button_half_height">
4393 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004394 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004395 <actions>
4396 <action function="set">tw_page_done=1</action>
4397 <action function="page">main</action>
4398 </actions>
4399 </button>
4400
z31s1g608d7ff2016-01-18 19:47:25 +01004401 <button style="main_button_half_height">
4402 <placement x="%center_x%" y="%row10_y%"/>
4403 <text>{@sel_lang_btn=Select Language}</text>
4404 <action function="overlay">select_language</action>
4405 </button>
4406
z31s1g28f0a922015-11-07 18:50:22 +01004407 <template name="keyboardtemplate"/>
4408 </page>
4409
4410 <page name="decrypt_pattern">
4411 <template name="page"/>
4412
4413 <text style="text_l">
4414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004415 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004416 </text>
4417
4418 <text style="text_m">
4419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004420 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </text>
4422
4423 <text style="text_m_accent">
4424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 </text>
4427
Aleksa Saraib25a1832015-12-31 17:36:00 +01004428 <text style="text_m_fail">
4429 <condition var1="tw_password_fail" var2="1"/>
4430 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004431 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004432 </text>
4433
z31s1g28f0a922015-11-07 18:50:22 +01004434 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004435 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004436 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4437 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4438 <data name="tw_crypto_password"/>
4439 <action function="page">trydecrypt</action>
4440 </patternpassword>
4441
Aleksa Saraib25a1832015-12-31 17:36:00 +01004442 <button style="button_quarter_width">
4443 <placement x="%indent%" y="%row19a_y%"/>
4444 <text>3x3</text>
4445 <action function="set">tw_gui_pattern_grid_size=3</action>
4446 </button>
4447
4448 <button style="button_quarter_width">
4449 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4450 <text>4x4</text>
4451 <action function="set">tw_gui_pattern_grid_size=4</action>
4452 </button>
4453
4454 <button style="button_quarter_width">
4455 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4456 <text>5x5</text>
4457 <action function="set">tw_gui_pattern_grid_size=5</action>
4458 </button>
4459
4460 <button style="button_quarter_width">
4461 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4462 <text>6x6</text>
4463 <action function="set">tw_gui_pattern_grid_size=6</action>
4464 </button>
4465
z31s1g28f0a922015-11-07 18:50:22 +01004466 <button style="main_button_half_height">
4467 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004468 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 <actions>
4470 <action function="set">tw_page_done=1</action>
4471 <action function="page">main</action>
4472 </actions>
4473 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004474
4475 <button style="main_button_half_height">
4476 <placement x="%center_x%" y="%row21a_y%"/>
4477 <text>{@sel_lang_btn=Select Language}</text>
4478 <action function="overlay">select_language</action>
4479 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </page>
4481
4482 <page name="trydecrypt">
4483 <template name="page"/>
4484
4485 <text style="text_l">
4486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004488 </text>
4489
4490 <text style="text_m">
4491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004492 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004493 </text>
4494
4495 <template name="console"/>
4496
4497 <template name="progress_bar"/>
4498
4499 <action>
4500 <action function="decrypt"/>
4501 </action>
4502
4503 <action>
4504 <conditions>
4505 <condition var1="tw_operation_state" var2="1"/>
4506 <condition var1="tw_operation_status" op="!=" var2="0"/>
4507 </conditions>
4508 <actions>
4509 <action function="set">tw_password_fail=1</action>
4510 <action function="page">decrypt</action>
4511 </actions>
4512 </action>
4513
4514 <action>
4515 <conditions>
4516 <condition var1="tw_operation_state" var2="1"/>
4517 <condition var1="tw_operation_status" op="=" var2="0"/>
4518 </conditions>
4519 <actions>
4520 <action function="set">tw_page_done=1</action>
4521 <action function="page">main</action>
4522 </actions>
4523 </action>
4524 </page>
4525
z31s1g28f0a922015-11-07 18:50:22 +01004526 <page name="terminalcommand">
4527 <template name="page"/>
4528
z31s1g56189522016-01-13 19:12:40 +01004529 <fill color="%background_color%">
4530 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004531 </fill>
4532
z31s1g56189522016-01-13 19:12:40 +01004533 <terminal>
4534 <condition var1="tw_hide_kb" var2="0"/>
4535 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4536 </terminal>
4537
4538 <terminal>
4539 <condition var1="tw_hide_kb" var2="1"/>
4540 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4541 </terminal>
4542
4543 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004544
4545 <template name="keyboardtemplate"/>
4546
z31s1g608d7ff2016-01-18 19:47:25 +01004547 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004548 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004549 </fill>
z31s1g56189522016-01-13 19:12:40 +01004550
z31s1g608d7ff2016-01-18 19:47:25 +01004551 <button>
z31s1g56189522016-01-13 19:12:40 +01004552 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4553 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4554 <image resource="back" />
4555 <condition var1="tw_busy" var2="0" />
4556 <actions>
4557 <action function="set">tw_hide_kb=0</action>
4558 <action function="key">back</action>
4559 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004560 </button>
z31s1g56189522016-01-13 19:12:40 +01004561
z31s1g608d7ff2016-01-18 19:47:25 +01004562 <button>
z31s1g56189522016-01-13 19:12:40 +01004563 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4564 <condition var1="tw_hide_kb" op="=" var2="0" />
4565 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4566 <image resource="kb_hide" />
4567 <condition var1="tw_busy" var2="0" />
4568 <actions>
4569 <action function="set">tw_hide_kb=1</action>
4570 <action function="page">terminalcommand</action>
4571 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004572 </button>
z31s1g56189522016-01-13 19:12:40 +01004573
z31s1g608d7ff2016-01-18 19:47:25 +01004574 <button>
z31s1g56189522016-01-13 19:12:40 +01004575 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4576 <condition var1="tw_hide_kb" op="=" var2="1" />
4577 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4578 <image resource="kb_show" />
4579 <condition var1="tw_busy" var2="0" />
4580 <actions>
4581 <action function="set">tw_hide_kb=0</action>
4582 <action function="page">terminalcommand</action>
4583 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004584 </button>
z31s1g56189522016-01-13 19:12:40 +01004585
z31s1g608d7ff2016-01-18 19:47:25 +01004586 <button>
z31s1g56189522016-01-13 19:12:40 +01004587 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4588 <image resource="home" />
4589 <condition var1="tw_busy" var2="0" />
4590 <actions>
4591 <action function="set">tw_hide_kb=0</action>
4592 <action function="key">home</action>
4593 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004594 </button>
z31s1g56189522016-01-13 19:12:40 +01004595
z31s1g608d7ff2016-01-18 19:47:25 +01004596 <button>
z31s1g56189522016-01-13 19:12:40 +01004597 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4598 <condition var1="tw_hide_kb" op="=" var2="0" />
4599 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4600 <image resource="kb_hide" />
4601 <condition var1="tw_busy" var2="0" />
4602 <actions>
4603 <action function="set">tw_hide_kb=1</action>
4604 <action function="page">terminalcommand</action>
4605 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004606 </button>
z31s1g56189522016-01-13 19:12:40 +01004607
z31s1g608d7ff2016-01-18 19:47:25 +01004608 <button>
z31s1g56189522016-01-13 19:12:40 +01004609 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4610 <condition var1="tw_hide_kb" op="=" var2="1" />
4611 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4612 <image resource="kb_show" />
4613 <condition var1="tw_busy" var2="0" />
4614 <actions>
4615 <action function="set">tw_hide_kb=0</action>
4616 <action function="page">terminalcommand</action>
4617 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004618 </button>
z31s1g56189522016-01-13 19:12:40 +01004619
z31s1g608d7ff2016-01-18 19:47:25 +01004620 <button>
z31s1g56189522016-01-13 19:12:40 +01004621 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4622 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4623 <image resource="back" />
4624 <condition var1="tw_busy" var2="0" />
4625 <actions>
4626 <action function="set">tw_hide_kb=0</action>
4627 <action function="key">back</action>
4628 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004629 </button>
z31s1g56189522016-01-13 19:12:40 +01004630
z31s1g28f0a922015-11-07 18:50:22 +01004631 <action>
4632 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004633 <actions>
4634 <action function="set">tw_hide_kb=0</action>
4635 <action function="page">main</action>
4636 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004637 </action>
4638
4639 <action>
4640 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004641 <actions>
4642 <action function="set">tw_hide_kb=0</action>
4643 <action function="page">advanced</action>
4644 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004645 </action>
z31s1g56189522016-01-13 19:12:40 +01004646
z31s1g608d7ff2016-01-18 19:47:25 +01004647 <action>
z31s1g56189522016-01-13 19:12:40 +01004648 <touch key="power+voldown" />
4649 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004650 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </page>
4652
4653 <page name="sideload">
4654 <template name="page"/>
4655
4656 <text style="text_l">
4657 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004658 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004659 </text>
4660
4661 <text style="text_m">
4662 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004663 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004664 </text>
4665
4666 <checkbox>
4667 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <data variable="tw_wipe_dalvik"/>
4670 </checkbox>
4671
4672 <checkbox>
4673 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004674 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 <data variable="tw_wipe_cache"/>
4676 </checkbox>
4677
4678 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <actions>
4681 <action function="set">tw_back=advanced</action>
4682 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004683 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4684 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4685 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004686 <action function="set">tw_has_cancel=1</action>
4687 <action function="set">tw_show_reboot=1</action>
4688 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4689 <action function="page">action_page</action>
4690 </actions>
4691 </slider>
4692
4693 <action>
4694 <touch key="home"/>
4695 <action function="page">main</action>
4696 </action>
4697
4698 <action>
4699 <touch key="back"/>
4700 <action function="page">advanced</action>
4701 </action>
4702 </page>
4703
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004704 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004705 <template name="page"/>
4706
4707 <text style="text_l">
4708 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004709 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004710 </text>
4711
4712 <text style="text_m">
4713 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004714 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004715 </text>
4716
4717 <text style="text_m_accent">
4718 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004719 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004720 </text>
4721
z31s1g28f0a922015-11-07 18:50:22 +01004722 <text style="text_m_fail">
4723 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004724 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004725 </text>
4726
4727 <text style="text_m_fail">
4728 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004729 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004730 </text>
4731
4732 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004733 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004734 <actions>
4735 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004736 <action function="set">tw_action=fixcontexts</action>
4737 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4738 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004740 <action function="set">tw_show_reboot=1</action>
4741 <action function="page">action_page</action>
4742 </actions>
4743 </slider>
4744
4745 <action>
4746 <touch key="home"/>
4747 <action function="page">main</action>
4748 </action>
4749
4750 <action>
4751 <touch key="back"/>
4752 <action function="page">advanced</action>
4753 </action>
4754 </page>
4755
z31s1g28f0a922015-11-07 18:50:22 +01004756 <page name="slideout">
4757 <fill color="%background_color%">
4758 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4759 </fill>
4760
4761 <console>
4762 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4763 </console>
4764
4765 <button>
4766 <fill color="%transparent%"/>
4767 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4768 <action function="overlay"/>
4769 </button>
4770
4771 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004772 <touch key="power"/>
4773 <action function="togglebacklight"/>
4774 </action>
4775
4776 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004777 <touch key="power+voldown"/>
4778 <action function="screenshot"/>
4779 </action>
4780 </page>
4781
4782 <page name="select_storage">
4783 <fill color="%semi_transparent%">
4784 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4785 </fill>
4786
4787 <fill color="%background_color%">
4788 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4789 </fill>
4790
4791 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004792 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004793 <data name="tw_storage_path"/>
4794 <listtype name="storage"/>
4795 </partitionlist>
4796
4797 <button style="button_third_width">
4798 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004799 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004800 <actions>
4801 <action function="set">tw_clear_destination=%tw_back%</action>
4802 <action function="overlay"/>
4803 <action function="page">clear_vars</action>
4804 </actions>
4805 </button>
4806
4807 <fill color="#000000">
4808 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4809 </fill>
4810
4811 <button>
4812 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4813 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4814 <image resource="back"/>
4815 <condition var1="tw_busy" var2="0"/>
4816 <actions>
4817 <action function="overlay"/>
4818 <action function="key">%tw_back%</action>
4819 </actions>
4820 </button>
4821
4822 <button>
4823 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4824 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4825 <image resource="console"/>
4826 <condition var1="tw_busy" var2="0"/>
4827 <action function="overlay">slideout</action>
4828 </button>
4829
4830 <button>
4831 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4832 <image resource="home"/>
4833 <condition var1="tw_busy" var2="0"/>
4834 <actions>
4835 <action function="overlay"/>
4836 <action function="key">home</action>
4837 </actions>
4838 </button>
4839
4840 <button>
4841 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4842 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4843 <image resource="console"/>
4844 <condition var1="tw_busy" var2="0"/>
4845 <action function="overlay">slideout</action>
4846 </button>
4847
4848 <button>
4849 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4850 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4851 <image resource="back"/>
4852 <condition var1="tw_busy" var2="0"/>
4853 <actions>
4854 <action function="overlay"/>
4855 <action function="key">%tw_back%</action>
4856 </actions>
4857 </button>
4858
4859 <action>
4860 <touch key="power+voldown"/>
4861 <action function="screenshot"/>
4862 </action>
4863 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004864
4865 <page name="select_language">
4866 <fill color="%semi_transparent%">
4867 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4868 </fill>
4869
4870 <fill color="%background_color%">
4871 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4872 </fill>
4873
4874 <listbox>
4875 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4876 <text>{@select_language=Select Language:}</text>
4877 <icon selected="radio_true" unselected="radio_false" />
4878 <data name="tw_language" />
4879 </listbox>
4880
4881 <button style="button_third_width">
4882 <placement x="%dialog_button_x%" y="%row14_y%"/>
4883 <text>{@ok_btn=OK}</text>
4884 <actions>
4885 <action function="overlay"/>
4886 <action function="setlanguage"></action>
4887 </actions>
4888 </button>
4889
4890 <fill color="#000000">
4891 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4892 </fill>
4893
4894 <button>
4895 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4896 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4897 <image resource="back"/>
4898 <condition var1="tw_busy" var2="0"/>
4899 <actions>
4900 <action function="overlay"/>
4901 <action function="key">%tw_back%</action>
4902 </actions>
4903 </button>
4904
4905 <button>
4906 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4907 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4908 <image resource="console"/>
4909 <condition var1="tw_busy" var2="0"/>
4910 <action function="overlay">slideout</action>
4911 </button>
4912
4913 <button>
4914 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4915 <image resource="home"/>
4916 <condition var1="tw_busy" var2="0"/>
4917 <actions>
4918 <action function="overlay"/>
4919 <action function="key">home</action>
4920 </actions>
4921 </button>
4922
4923 <button>
4924 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4925 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4926 <image resource="console"/>
4927 <condition var1="tw_busy" var2="0"/>
4928 <action function="overlay">slideout</action>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4933 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4934 <image resource="back"/>
4935 <condition var1="tw_busy" var2="0"/>
4936 <actions>
4937 <action function="overlay"/>
4938 <action function="key">%tw_back%</action>
4939 </actions>
4940 </button>
4941
4942 <action>
4943 <touch key="power+voldown"/>
4944 <action function="screenshot"/>
4945 </action>
4946 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004947 </pages>
4948</recovery>