blob: 1cf4d8980ed9cecece51cc7c06c5db00033eb355 [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
Ethan Yonker1b190162016-12-05 15:25:19 -06002865 <text style="text_m">
2866 <condition var1="tw_has_boot_slots" var2="1"/>
2867 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2868 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2869 </text>
2870
2871 <button style="main_button">
2872 <condition var1="tw_has_boot_slots" var2="1"/>
2873 <placement x="%indent%" y="%row19_y%"/>
2874 <text>{@boot_slot_a=Slot A}</text>
2875 <actions>
2876 <action function="set">tw_back=reboot</action>
2877 <action function="set">tw_action=setbootslot</action>
2878 <action function="set">tw_action_param=A</action>
2879 <action function="set">tw_has_action2=0</action>
2880 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2881 <action function="set">tw_action_text2=</action>
2882 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2883 <action function="page">action_page</action>
2884 </actions>
2885 </button>
2886
2887 <button style="main_button">
2888 <condition var1="tw_has_boot_slots" var2="1"/>
2889 <placement x="%center_x%" y="%row19_y%"/>
2890 <text>{@boot_slot_b=Slot B}</text>
2891 <actions>
2892 <action function="set">tw_back=reboot</action>
2893 <action function="set">tw_action=setbootslot</action>
2894 <action function="set">tw_action_param=B</action>
2895 <action function="set">tw_has_action2=0</action>
2896 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2897 <action function="set">tw_action_text2=</action>
2898 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2899 <action function="page">action_page</action>
2900 </actions>
2901 </button>
2902
z31s1g28f0a922015-11-07 18:50:22 +01002903 <action>
2904 <touch key="home"/>
2905 <action function="page">main</action>
2906 </action>
2907
2908 <action>
2909 <touch key="back"/>
2910 <action function="page">main</action>
2911 </action>
2912 </page>
2913
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002914 <page name="rebootapp">
2915 <template name="page"/>
2916
2917 <text style="text_l">
2918 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2919 <text>{@reboot_hdr=Reboot}</text>
2920 </text>
2921
2922 <text style="text_m">
2923 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2924 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2925 </text>
2926
2927 <text style="text_m_accent">
2928 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2929 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2930 </text>
2931
2932 <text style="text_m_accent">
2933 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2934 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2935 </text>
2936
2937 <checkbox>
2938 <placement x="%indent%" y="%row5_y%"/>
2939 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2940 <data variable="tw_app_prompt"/>
2941 </checkbox>
2942
2943 <checkbox>
2944 <condition var1="tw_mount_system_ro" var2="0"/>
2945 <placement x="%indent%" y="%row7_y%"/>
2946 <text>{@reboot_install_app_system=Install as a System App}</text>
2947 <data variable="tw_app_install_system"/>
2948 </checkbox>
2949
2950 <button style="main_button_half_height">
2951 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002952 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002953 <action function="reboot">%tw_reboot_param%</action>
2954 </button>
2955
2956 <slider>
2957 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2958 <actions>
2959 <action function="set">tw_back=reboot</action>
2960 <action function="set">tw_action=installapp</action>
2961 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2962 <action function="set">tw_action_text2=</action>
2963 <action function="set">tw_has_action2=1</action>
2964 <action function="set">tw_action2=reboot</action>
2965 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2966 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2967 <action function="page">action_page</action>
2968 </actions>
2969 </slider>
2970
2971 <action>
2972 <touch key="home"/>
2973 <actions>
2974 <action function="set">tw_app_install_status=0</action>
2975 <action function="page">main</action>
2976 </actions>
2977 </action>
2978
2979 <action>
2980 <touch key="back"/>
2981 <actions>
2982 <action function="set">tw_app_install_status=0</action>
2983 <action function="page">reboot</action>
2984 </actions>
2985 </action>
2986 </page>
2987
z31s1g28f0a922015-11-07 18:50:22 +01002988 <page name="system_readonly">
2989 <template name="page"/>
2990
2991 <text style="text_l">
2992 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002993 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002994 </text>
2995
2996 <text style="text_m_accent">
2997 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002998 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002999 </text>
3000
3001 <text style="text_m">
3002 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003003 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003004 </text>
3005
3006 <text style="text_m">
3007 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </text>
3010
3011 <text style="text_m">
3012 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </text>
3015
3016 <text style="text_m">
3017 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <text style="text_m_fail">
3022 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 </text>
3025
3026 <text style="text_m_fail">
3027 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003028 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003029 </text>
3030
3031 <checkbox>
3032 <condition var1="tw_is_encrypted" var2="0"/>
3033 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <data variable="tw_never_show_system_ro_page"/>
3036 </checkbox>
3037
3038 <button style="main_button_half_height">
3039 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 <actions>
3042 <action function="mountsystemtoggle">1</action>
3043 <action function="set">tw_page_done=1</action>
3044 <action function="page">%tw_back%</action>
3045 </actions>
3046 </button>
3047
z31s1g608d7ff2016-01-18 19:47:25 +01003048 <button style="main_button_half_height">
3049 <placement x="%center_x%" y="%row18a_y%"/>
3050 <text>{@sel_lang_btn=Select Language}</text>
3051 <action function="overlay">select_language</action>
3052 </button>
3053
z31s1g28f0a922015-11-07 18:50:22 +01003054 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 <actions>
3057 <action function="mountsystemtoggle">0</action>
3058 <action function="set">tw_page_done=1</action>
3059 <action function="page">%tw_back%</action>
3060 </actions>
3061 </slider>
3062 </page>
3063
3064 <page name="settings">
3065 <template name="page"/>
3066
3067 <text style="text_l">
3068 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003070 </text>
3071
3072 <text style="text_m">
3073 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 </text>
3076
3077 <template name="tabs_settings"/>
3078
3079 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </fill>
3082
3083 <listbox style="scrolllist">
3084 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3085 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003087 <data variable="tw_signed_zip_verify"/>
3088 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003089 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3090 <data variable="tw_install_reboot"/>
3091 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003093 <data variable="tw_rm_rf"/>
3094 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003095 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3096 <data variable="tw_disable_free_space"/>
3097 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003098 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3099 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003100 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003101 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3102 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003103 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003105 <data variable="tw_military_time"/>
3106 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003108 <data variable="tw_samsung_navbar"/>
3109 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003110 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3111 <data variable="tw_app_prompt"/>
3112 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003114 <data variable="tw_simulate_actions"/>
3115 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003117 <condition var1="tw_simulate_actions" var2="1"/>
3118 <data variable="tw_simulate_fail"/>
3119 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003120 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3121 <condition var1="tw_no_sha2" var2="0"/>
3122 <data variable="tw_use_sha2"/>
3123 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003124 </listbox>
3125
3126 <button style="main_button_half_height">
3127 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003129 <actions>
3130 <action function="set">tw_samsung_navbar=0</action>
3131 <action function="set">tw_tab_icons=0</action>
3132 <action function="restoredefaultsettings"/>
3133 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </button>
3135
3136 <action>
3137 <touch key="home"/>
3138 <action function="page">main</action>
3139 </action>
3140
3141 <action>
3142 <touch key="back"/>
3143 <action function="page">main</action>
3144 </action>
3145 </page>
3146
3147 <page name="settings_timezone">
3148 <template name="page"/>
3149
3150 <text style="text_l">
3151 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003153 </text>
3154
3155 <text style="text_m">
3156 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 </text>
3159
3160 <template name="tabs_settings"/>
3161
3162 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003164 </fill>
3165
3166 <listbox>
3167 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003170 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3171 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3172 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3173 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3174 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3175 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3176 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3177 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3178 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3179 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3180 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3181 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3182 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3183 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3184 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3185 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3186 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3187 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3188 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3189 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3190 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3191 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3192 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3193 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003194 </listbox>
3195
3196 <text style="text_m_accent">
3197 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003199 </text>
3200
3201 <button style="button_quarter_width">
3202 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <action function="set">tw_time_zone_guioffset=0</action>
3205 </button>
3206
3207 <button style="button_quarter_width">
3208 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <action function="set">tw_time_zone_guioffset=15</action>
3211 </button>
3212
3213 <button style="button_quarter_width">
3214 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003215 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003216 <action function="set">tw_time_zone_guioffset=30</action>
3217 </button>
3218
3219 <button style="button_quarter_width">
3220 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="set">tw_time_zone_guioffset=45</action>
3223 </button>
3224
3225 <checkbox>
3226 <placement x="%indent%" y="%row18a_y%"/>
3227 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003229 <data variable="tw_time_zone_guidst"/>
3230 <image checked="checkbox_true" unchecked="checkbox_false"/>
3231 </checkbox>
3232
3233 <text color="%text_color%">
3234 <font resource="font_m"/>
3235 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003236 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003237 </text>
3238
3239 <button>
3240 <highlight color="%highlight_color%"/>
3241 <placement x="%center_x%" y="%row21a_y%"/>
3242 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003244 <image resource="main_button_half_height"/>
3245 <action function="setguitimezone"/>
3246 </button>
3247
3248 <action>
3249 <touch key="home"/>
3250 <action function="page">main</action>
3251 </action>
3252
3253 <action>
3254 <touch key="back"/>
3255 <action function="page">main</action>
3256 </action>
3257 </page>
3258
3259 <page name="settings_screen">
3260 <template name="page"/>
3261
3262 <text style="text_l">
3263 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003265 </text>
3266
3267 <text style="text_m">
3268 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 </text>
3271
3272 <template name="tabs_settings"/>
3273
3274 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003276 </fill>
3277
3278 <button>
3279 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3280 <font resource="font_m" color="%text_color%"/>
3281 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3282 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <image resource="checkbox_false"/>
3285 <action function="set">tw_screen_timeout_secs=60</action>
3286 </button>
3287
3288 <button>
3289 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3290 <font resource="font_m" color="%text_color%"/>
3291 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3292 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 <image resource="checkbox_true"/>
3295 <action function="set">tw_screen_timeout_secs=0</action>
3296 </button>
3297
3298 <slidervalue>
3299 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3300 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3301 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3304 </slidervalue>
3305
3306 <slidervalue>
3307 <condition var1="tw_has_brightnesss_file" var2="1"/>
3308 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <data variable="tw_brightness_pct" min="10" max="100"/>
3311 <actions>
3312 <action function="set">tw_brightness=%tw_brightness_max%</action>
3313 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3314 <action function="compute">tw_brightness/100</action>
3315 <action function="setbrightness">%tw_brightness%</action>
3316 </actions>
3317 </slidervalue>
3318
3319 <action>
3320 <touch key="home"/>
3321 <action function="page">main</action>
3322 </action>
3323
3324 <action>
3325 <touch key="back"/>
3326 <action function="page">main</action>
3327 </action>
3328 </page>
3329
3330 <page name="settings_vibration">
3331 <template name="page"/>
3332
3333 <text style="text_l">
3334 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003336 </text>
3337
3338 <text style="text_m">
3339 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 </text>
3342
3343 <template name="tabs_settings"/>
3344
3345 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </fill>
3348
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003349 <text style="text_m">
3350 <condition var1="tw_disable_haptics" var2="1"/>
3351 <placement x="%indent%" y="%row4_y%"/>
3352 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3353 </text>
3354
z31s1g28f0a922015-11-07 18:50:22 +01003355 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003356 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003357 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003359 <data variable="tw_button_vibrate" min="0" max="300"/>
3360 </slidervalue>
3361
3362 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003363 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003364 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3367 </slidervalue>
3368
3369 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003370 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003371 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <data variable="tw_action_vibrate" min="0" max="500"/>
3374 </slidervalue>
3375
3376 <action>
3377 <touch key="home"/>
3378 <action function="page">main</action>
3379 </action>
3380
3381 <action>
3382 <touch key="back"/>
3383 <action function="page">main</action>
3384 </action>
3385 </page>
3386
Ethan Yonker74db1572015-10-28 12:44:49 -05003387 <page name="settings_language">
3388 <template name="page"/>
3389
3390 <text style="text_l">
3391 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3392 <text>{@settings_hdr=Settings}</text>
3393 </text>
3394
3395 <text style="text_m">
3396 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3397 <text>{@language_hdr=Language - %tw_language_display%}</text>
3398 </text>
3399
3400 <template name="tabs_settings"/>
3401
3402 <fill color="%text_color%">
3403 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3404 </fill>
3405
3406 <listbox>
3407 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3408 <text>{@select_language=Select Language:}</text>
3409 <icon selected="radio_true" unselected="radio_false" />
3410 <data name="tw_language" />
3411 </listbox>
3412
3413 <button style="main_button_half_height">
3414 <placement x="%center_x%" y="%row21a_y%"/>
3415 <text>{@set_language_btn=Set Language}</text>
3416 <action function="setlanguage"></action>
3417 </button>
3418
3419 <action>
3420 <touch key="home" />
3421 <action function="page">main</action>
3422 </action>
3423
3424 <action>
3425 <touch key="back" />
3426 <action function="page">settings</action>
3427 </action>
3428 </page>
3429
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430 <page name="copylog">
3431 <template name="page"/>
3432
3433 <text style="text_l">
3434 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3435 <text>{@copying_log=Copy Logs to SD Card}</text>
3436 </text>
3437
3438 <checkbox>
3439 <placement x="%indent%" y="%row4_y%"/>
3440 <text>{@include_kernel_log=Include Kernel Log}</text>
3441 <data variable="tw_include_kernel_log" value="1"/>
3442 </checkbox>
3443
3444 <slider>
3445 <text>{@copying_log=Copy Logs to SD Card}</text>
3446 <actions>
3447 <action function="set">tw_back=advanced</action>
3448 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003449 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3450 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003451 <action function="page">action_page</action>
3452 </actions>
3453 </slider>
3454
3455 <action>
3456 <touch key="home"/>
3457 <action function="page">main</action>
3458 </action>
3459
3460 <action>
3461 <touch key="back"/>
3462 <actions>
3463 <action function="page">advanced</action>
3464 </actions>
3465 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003466 </page>
3467
z31s1g28f0a922015-11-07 18:50:22 +01003468 <page name="advanced">
3469 <template name="page"/>
3470
3471 <text style="text_l">
3472 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003474 </text>
3475
3476 <button style="main_button">
3477 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003478 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003479 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </button>
3481
3482 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003483 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003484 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003485 <text>{@fix_context_btn=Fix Contexts}</text>
3486 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003487 </button>
3488
3489 <button style="main_button">
3490 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3491 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003493 <actions>
3494 <action function="set">partitionlisterror=0</action>
3495 <action function="page">partsdcardsel</action>
3496 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </button>
3498
3499 <button style="main_button">
3500 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 <action function="page">filemanagerlist</action>
3503 </button>
3504
3505 <button style="main_button">
3506 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003508 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003509 </button>
3510
3511 <button style="main_button">
3512 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <action function="reload"/>
3515 </button>
3516
3517 <button style="main_button">
3518 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003519 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003520 <action function="page">sideload</action>
3521 </button>
3522
3523 <button style="main_button">
3524 <condition var1="tw_show_dumlock" var2="1"/>
3525 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <action function="page">htcdumlock</action>
3528 </button>
3529
3530 <button style="main_button">
3531 <condition var1="tw_has_injecttwrp" var2="1"/>
3532 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <actions>
3535 <action function="set">tw_back=advanced</action>
3536 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3538 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3539 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3540 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <action function="page">confirm_action</action>
3542 </actions>
3543 </button>
3544
3545 <action>
3546 <touch key="home"/>
3547 <action function="page">main</action>
3548 </action>
3549
3550 <action>
3551 <touch key="back"/>
3552 <action function="page">main</action>
3553 </action>
3554 </page>
3555
Ethan Yonker483e9f42016-01-11 22:21:18 -06003556 <page name="partsdcardsel">
3557 <template name="page"/>
3558
3559 <text style="text_l">
3560 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3561 <text>{@advanced_hdr=Advanced}</text>
3562 </text>
3563
3564 <text style="text_m">
3565 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3566 <text>{@part_sd_hdr=Partition SD Card}</text>
3567 </text>
3568
z31s1g782e1c92016-01-30 16:50:09 +01003569 <partitionlist>
3570 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003571 <text>{@sel_storage_list=Select Storage}</text>
3572 <data name="tw_storage_path"/>
3573 <listtype name="storage"/>
3574 </partitionlist>
3575
3576 <text style="text_m_fail">
3577 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003578 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003579 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3580 </text>
3581
z31s1g782e1c92016-01-30 16:50:09 +01003582 <button style="main_button_half_height">
3583 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003584 <text>{@ok_btn=OK}</text>
3585 <actions>
3586 <action function="getpartitiondetails">tw_storage_path</action>
3587 <action function="page">partsdcardcheck</action>
3588 </actions>
3589 </button>
3590
3591 <action>
3592 <touch key="home"/>
3593 <action function="page">main</action>
3594 </action>
3595
3596 <action>
3597 <touch key="back"/>
3598 <action function="page">advanced</action>
3599 </action>
3600 </page>
3601
3602 <page name="partsdcardcheck">
3603 <action>
3604 <condition var1="tw_partition_removable" op="=" var2="1"/>
3605 <actions>
3606 <action function="set">partitionlisterror=0</action>
3607 <action function="page">partsdcard</action>
3608 </actions>
3609 </action>
3610
3611 <action>
3612 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3613 <actions>
3614 <action function="set">partitionlisterror=1</action>
3615 <action function="page">partsdcardsel</action>
3616 </actions>
3617 </action>
3618 </page>
3619
z31s1g28f0a922015-11-07 18:50:22 +01003620 <page name="partsdcard">
3621 <template name="page"/>
3622
3623 <text style="text_l">
3624 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003626 </text>
3627
3628 <text style="text_m">
3629 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 </text>
3632
3633 <text style="text_m_fail">
3634 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <text style="text_m_fail">
3639 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <text style="text_m_accent">
3644 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </text>
3647
3648 <text style="text_m">
3649 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3650 <text>%tw_sdext_size%</text>
3651 </text>
3652
3653 <button style="button_quarter_width">
3654 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003656 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003657 </button>
3658
3659 <button style="button_quarter_width">
3660 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003662 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003663 </button>
3664
3665 <text style="text_m_accent">
3666 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </text>
3669
3670 <text style="text_m">
3671 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3672 <text>%tw_swap_size%</text>
3673 </text>
3674
3675 <button style="button_quarter_width">
3676 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003678 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003679 </button>
3680
3681 <button style="button_quarter_width">
3682 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003684 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003685 </button>
3686
3687 <text style="text_m_accent">
3688 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003690 </text>
3691
3692 <text style="text_m">
3693 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3694 <text>%tw_sdpart_file_system%</text>
3695 </text>
3696
3697 <button style="button_quarter_width">
3698 <placement x="%indent%" y="%row14_y%"/>
3699 <text>EXT3</text>
3700 <action function="set">tw_sdpart_file_system=ext3</action>
3701 </button>
3702
3703 <button style="button_quarter_width">
3704 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3705 <text>EXT4</text>
3706 <action function="set">tw_sdpart_file_system=ext4</action>
3707 </button>
3708
3709 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003710 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003711 <action function="page">partsdcardaction</action>
3712 <actions>
3713 <action function="set">tw_back=partsdcard</action>
3714 <action function="set">tw_action=partitionsd</action>
3715 <action function="set">tw_has_action2=1</action>
3716 <action function="set">tw_action2=set</action>
3717 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3719 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3720 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <action function="page">action_page</action>
3722 </actions>
3723 </slider>
3724
3725 <action>
3726 <touch key="home"/>
3727 <action function="page">main</action>
3728 </action>
3729
3730 <action>
3731 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003732 <actions>
3733 <action function="set">partitionlisterror=0</action>
3734 <action function="page">partsdcardsel</action>
3735 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </action>
3737 </page>
3738
3739 <page name="htcdumlock">
3740 <template name="page"/>
3741
3742 <text style="text_l">
3743 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </text>
3746
3747 <text style="text_m">
3748 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 </text>
3751
3752 <button style="main_button_half_height_full_width">
3753 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003755 <actions>
3756 <action function="set">tw_back=htcdumlock</action>
3757 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3759 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3760 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3761 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003762 <action function="page">confirm_action</action>
3763 </actions>
3764 </button>
3765
3766 <button style="main_button_half_height_full_width">
3767 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <actions>
3770 <action function="set">tw_back=htcdumlock</action>
3771 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3773 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3774 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3775 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003776 <action function="page">confirm_action</action>
3777 </actions>
3778 </button>
3779
3780 <button style="main_button_half_height_full_width">
3781 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003782 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003783 <actions>
3784 <action function="set">tw_back=htcdumlock</action>
3785 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3787 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3788 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3789 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <action function="page">confirm_action</action>
3791 </actions>
3792 </button>
3793
3794 <action>
3795 <touch key="home"/>
3796 <action function="page">main</action>
3797 </action>
3798
3799 <action>
3800 <touch key="back"/>
3801 <action function="page">advanced</action>
3802 </action>
3803 </page>
3804
3805 <page name="lock">
3806 <background color="%semi_transparent%"/>
3807
3808 <image>
3809 <image resource="unlock_icon"/>
3810 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3811 </image>
3812
3813 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003814 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003815 <action function="overlay"/>
3816 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003817
3818 <action>
3819 <touch key="power"/>
3820 <action function="togglebacklight"/>
3821 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 </page>
3823
3824 <page name="filemanagerlist">
3825 <template name="page"/>
3826
3827 <text style="text_l">
3828 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003830 </text>
3831
3832 <text style="text_m">
3833 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 </text>
3836
3837 <template name="sort_options"/>
3838
3839 <fileselector>
3840 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3841 <text>%tw_file_location1%</text>
3842 <filter folders="1" files="1"/>
3843 <path name="tw_file_location1" default="/"/>
3844 <data name="tw_filename1"/>
3845 <selection name="tw_selection1"/>
3846 </fileselector>
3847
3848 <button style="fab">
3849 <image resource="fab_selectfolder"/>
3850 <actions>
3851 <action function="set">tw_filename1=tw_file_location1</action>
3852 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003854 <action function="page">filemanageroptions</action>
3855 </actions>
3856 </button>
3857
3858 <action>
3859 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003861 <action function="set">tw_fm_isfolder=0</action>
3862 </actions>
3863 </action>
3864
3865 <action>
3866 <touch key="home"/>
3867 <action function="page">main</action>
3868 </action>
3869
3870 <action>
3871 <touch key="back"/>
3872 <action function="page">advanced</action>
3873 </action>
3874
3875 <action>
3876 <condition var1="tw_filename1" op="modified"/>
3877 <action function="page">filemanageroptions</action>
3878 </action>
3879 </page>
3880
3881 <page name="filemanageroptions">
3882 <template name="page"/>
3883
3884 <text style="text_l">
3885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </text>
3888
3889 <text style="text_m">
3890 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 </text>
3893
3894 <text style="text_m_accent">
3895 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 </text>
3898
3899 <text style="text_m">
3900 <placement x="%indent%" y="%row3_y%"/>
3901 <text>%tw_filename1%</text>
3902 </text>
3903
3904 <button style="main_button_half_height">
3905 <condition var1="tw_fm_isfolder" var2="0"/>
3906 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <actions>
3909 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003911 <action function="page">choosedestinationfolder</action>
3912 </actions>
3913 </button>
3914
3915 <button style="main_button_half_height">
3916 <condition var1="tw_fm_isfolder" var2="1"/>
3917 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003919 <actions>
3920 <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 -05003921 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003922 <action function="page">choosedestinationfolder</action>
3923 </actions>
3924 </button>
3925
3926 <button style="main_button_half_height">
3927 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003928 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003929 <actions>
3930 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003932 <action function="page">choosedestinationfolder</action>
3933 </actions>
3934 </button>
3935
3936 <button style="main_button_half_height">
3937 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003939 <actions>
3940 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <action function="set">tw_fm_text2=</action>
3943 <action function="set">tw_fm_text3=</action>
3944 <action function="set">tw_include_text3=0</action>
3945 <action function="set">tw_back=filemanageroptions</action>
3946 <action function="page">filemanagerconfirm</action>
3947 </actions>
3948 </button>
3949
3950 <button style="main_button_half_height">
3951 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003952 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003953 <actions>
3954 <action function="set">tw_filemanager_rename=0000</action>
3955 <action function="set">tw_fm_text2=</action>
3956 <action function="set">tw_fm_text3=</action>
3957 <action function="set">tw_include_text3=0</action>
3958 <action function="set">tw_back=filemanageroptions</action>
3959 <action function="page">filemanagerchmod</action>
3960 </actions>
3961 </button>
3962
3963 <button style="main_button_half_height">
3964 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <actions>
3967 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <action function="set">tw_fm_text2=</action>
3970 <action function="set">tw_fm_text3=</action>
3971 <action function="set">tw_include_text3=0</action>
3972 <action function="set">tw_back=filemanageroptions</action>
3973 <action function="page">filemanagerconfirm</action>
3974 </actions>
3975 </button>
3976
3977 <button style="main_button_half_height">
3978 <condition var1="tw_fm_isfolder" var2="0"/>
3979 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 <actions>
3982 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <action function="set">tw_filemanager_command=mv</action>
3985 <action function="page">filemanagerrenamefile</action>
3986 </actions>
3987 </button>
3988
3989 <button style="main_button_half_height">
3990 <condition var1="tw_fm_isfolder" var2="1"/>
3991 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <actions>
3994 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003996 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3997 <action function="page">filemanagerrenamefolder</action>
3998 </actions>
3999 </button>
4000
4001 <action>
4002 <touch key="home"/>
4003 <action function="page">main</action>
4004 </action>
4005
4006 <action>
4007 <touch key="back"/>
4008 <action function="page">filemanagerlist</action>
4009 </action>
4010 </page>
4011
4012 <page name="choosedestinationfolder">
4013 <template name="page"/>
4014
4015 <text style="text_l">
4016 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m">
4021 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004023 </text>
4024
4025 <template name="sort_options"/>
4026
4027 <fileselector>
4028 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4029 <text>%tw_file_location2%</text>
4030 <filter folders="1" files="0"/>
4031 <path name="tw_file_location2" default="/"/>
4032 <data name="tw_filename2"/>
4033 <selection name="tw_selection2"/>
4034 </fileselector>
4035
4036 <button style="fab">
4037 <image resource="fab_selectfolder"/>
4038 <actions>
4039 <action function="set">tw_fm_text2=to</action>
4040 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4041 <action function="set">tw_include_text3=1</action>
4042 <action function="set">tw_back=filemanageroptions</action>
4043 <action function="page">filemanagerconfirm</action>
4044 </actions>
4045 </button>
4046
4047 <action>
4048 <touch key="home"/>
4049 <action function="page">main</action>
4050 </action>
4051
4052 <action>
4053 <touch key="back"/>
4054 <action function="page">filemanageroptions</action>
4055 </action>
4056 </page>
4057
4058 <page name="filemanagerrenamefile">
4059 <template name="page"/>
4060
4061 <text style="text_l">
4062 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 </text>
4065
4066 <text style="text_m">
4067 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </text>
4070
4071 <text style="text_m_accent">
4072 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <input>
4077 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4078 <text>%tw_filemanager_rename%</text>
4079 <data name="tw_filemanager_rename"/>
4080 <restrict minlen="1" maxlen="128"/>
4081 <actions>
4082 <action function="set">tw_fm_text2=to</action>
4083 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4084 <action function="set">tw_include_text3=1</action>
4085 <action function="set">tw_back=filemanageroptions</action>
4086 <action function="page">filemanagerconfirm</action>
4087 </actions>
4088 </input>
4089
4090 <fill color="%accent_color%">
4091 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4092 </fill>
4093
4094 <button style="main_button_half_height">
4095 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 <action function="page">filemanageroptions</action>
4098 </button>
4099
4100 <template name="keyboardtemplate"/>
4101
4102 <action>
4103 <touch key="home"/>
4104 <action function="page">main</action>
4105 </action>
4106
4107 <action>
4108 <touch key="back"/>
4109 <action function="page">filemanageroptions</action>
4110 </action>
4111 </page>
4112
4113 <page name="filemanagerrenamefolder">
4114 <template name="page"/>
4115
4116 <text style="text_l">
4117 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004119 </text>
4120
4121 <text style="text_m">
4122 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 </text>
4125
4126 <text style="text_m_accent">
4127 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004128 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004129 </text>
4130
4131 <input>
4132 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4133 <text>%tw_filemanager_rename%</text>
4134 <data name="tw_filemanager_rename"/>
4135 <restrict minlen="1" maxlen="128"/>
4136 <actions>
4137 <action function="set">tw_fm_text2=to</action>
4138 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4139 <action function="set">tw_include_text3=1</action>
4140 <action function="set">tw_back=filemanageroptions</action>
4141 <action function="page">filemanagerconfirm</action>
4142 </actions>
4143 </input>
4144
4145 <fill color="%accent_color%">
4146 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4147 </fill>
4148
4149 <button style="main_button_half_height">
4150 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 <action function="page">filemanageroptions</action>
4153 </button>
4154
4155 <template name="keyboardtemplate"/>
4156
4157 <action>
4158 <touch key="home"/>
4159 <action function="page">main</action>
4160 </action>
4161
4162 <action>
4163 <touch key="back"/>
4164 <action function="page">filemanageroptions</action>
4165 </action>
4166 </page>
4167
4168 <page name="filemanagerchmod">
4169 <template name="page"/>
4170
4171 <text style="text_l">
4172 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
4176 <text style="text_m">
4177 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004178 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 </text>
4180
4181 <text style="text_m_accent">
4182 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004184 </text>
4185
4186 <input>
4187 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4188 <text>%tw_filemanager_rename%</text>
4189 <data name="tw_filemanager_rename"/>
4190 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4191 <actions>
4192 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4193 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4194 <action function="set">tw_back=filemanageroptions</action>
4195 <action function="page">filemanagerconfirm</action>
4196 </actions>
4197 </input>
4198
4199 <fill color="%accent_color%">
4200 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4201 </fill>
4202
4203 <button style="main_button_half_height">
4204 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 <action function="page">filemanageroptions</action>
4207 </button>
4208
4209 <template name="keyboardtemplate"/>
4210
4211 <action>
4212 <touch key="home"/>
4213 <action function="page">main</action>
4214 </action>
4215
4216 <action>
4217 <touch key="back"/>
4218 <action function="page">filemanageroptions</action>
4219 </action>
4220 </page>
4221
4222 <page name="filemanagerconfirm">
4223 <template name="page"/>
4224
4225 <text style="text_l">
4226 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </text>
4229
4230 <text style="text_m">
4231 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m_accent">
4236 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4237 <text>%tw_fm_text1%</text>
4238 </text>
4239
4240 <text style="text_m">
4241 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4242 <text>%tw_filename1%</text>
4243 </text>
4244
4245 <text style="text_m_accent">
4246 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4247 <text>%tw_fm_text2%</text>
4248 </text>
4249
4250 <text style="text_m">
4251 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4252 <text>%tw_fm_text3%</text>
4253 </text>
4254
4255 <text style="text_m">
4256 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004257 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004258 </text>
4259
4260 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004261 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004262 <action function="page">filemanageraction</action>
4263 </slider>
4264
4265 <action>
4266 <touch key="back"/>
4267 <action function="page">%tw_back%</action>
4268 </action>
4269
4270 <action>
4271 <touch key="home"/>
4272 <action function="page">main</action>
4273 </action>
4274 </page>
4275
4276 <page name="filemanageraction">
4277 <template name="page"/>
4278
4279 <text style="text_l">
4280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004281 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004282 </text>
4283
4284 <text style="text_m">
4285 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4286 <text>%tw_fm_text1%</text>
4287 </text>
4288
4289 <template name="console"/>
4290
4291 <template name="progress_bar"/>
4292
4293 <action>
4294 <conditions>
4295 <condition var1="tw_operation_state" var2="1"/>
4296 <condition var1="tw_operation_status" var2="0"/>
4297 </conditions>
4298 <actions>
4299 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004301 <action function="page">action_complete</action>
4302 </actions>
4303 </action>
4304
4305 <action>
4306 <conditions>
4307 <condition var1="tw_operation_state" var2="1"/>
4308 <condition var1="tw_operation_status" op="!=" var2="0"/>
4309 </conditions>
4310 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004312 <action function="page">action_complete</action>
4313 </actions>
4314 </action>
4315
4316 <action>
4317 <condition var1="tw_include_text3" var2="0"/>
4318 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4319 </action>
4320
4321 <action>
4322 <condition var1="tw_include_text3" var2="1"/>
4323 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4324 </action>
4325 </page>
4326
4327 <page name="decrypt">
4328 <template name="page"/>
4329
4330 <action>
4331 <condition var1="tw_crypto_pwtype" var2="2"/>
4332 <action function="page">decrypt_pattern</action>
4333 </action>
4334
4335 <text style="text_l">
4336 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004337 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004338 </text>
4339
4340 <text style="text_m">
4341 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004342 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004343 </text>
4344
4345 <text style="text_m_accent">
4346 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004347 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004348 </text>
4349
4350 <input>
4351 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4352 <text>%tw_crypto_display%</text>
4353 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4354 <restrict minlen="1" maxlen="254"/>
4355 <action function="page">trydecrypt</action>
4356 </input>
4357
4358 <fill color="%accent_color%">
4359 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4360 </fill>
4361
4362 <fill color="%text_fail_color%">
4363 <condition var1="tw_password_fail" var2="1"/>
4364 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4365 </fill>
4366
4367 <text style="text_m_fail">
4368 <condition var1="tw_password_fail" var2="1"/>
4369 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004370 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004371 </text>
4372
4373 <button style="main_button_half_height">
4374 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004375 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004376 <actions>
4377 <action function="set">tw_page_done=1</action>
4378 <action function="page">main</action>
4379 </actions>
4380 </button>
4381
z31s1g608d7ff2016-01-18 19:47:25 +01004382 <button style="main_button_half_height">
4383 <placement x="%center_x%" y="%row10_y%"/>
4384 <text>{@sel_lang_btn=Select Language}</text>
4385 <action function="overlay">select_language</action>
4386 </button>
4387
z31s1g28f0a922015-11-07 18:50:22 +01004388 <template name="keyboardtemplate"/>
4389 </page>
4390
4391 <page name="decrypt_pattern">
4392 <template name="page"/>
4393
4394 <text style="text_l">
4395 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <text style="text_m">
4400 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 </text>
4403
4404 <text style="text_m_accent">
4405 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
Aleksa Saraib25a1832015-12-31 17:36:00 +01004409 <text style="text_m_fail">
4410 <condition var1="tw_password_fail" var2="1"/>
4411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004412 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004413 </text>
4414
z31s1g28f0a922015-11-07 18:50:22 +01004415 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004416 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4418 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4419 <data name="tw_crypto_password"/>
4420 <action function="page">trydecrypt</action>
4421 </patternpassword>
4422
Aleksa Saraib25a1832015-12-31 17:36:00 +01004423 <button style="button_quarter_width">
4424 <placement x="%indent%" y="%row19a_y%"/>
4425 <text>3x3</text>
4426 <action function="set">tw_gui_pattern_grid_size=3</action>
4427 </button>
4428
4429 <button style="button_quarter_width">
4430 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4431 <text>4x4</text>
4432 <action function="set">tw_gui_pattern_grid_size=4</action>
4433 </button>
4434
4435 <button style="button_quarter_width">
4436 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4437 <text>5x5</text>
4438 <action function="set">tw_gui_pattern_grid_size=5</action>
4439 </button>
4440
4441 <button style="button_quarter_width">
4442 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4443 <text>6x6</text>
4444 <action function="set">tw_gui_pattern_grid_size=6</action>
4445 </button>
4446
z31s1g28f0a922015-11-07 18:50:22 +01004447 <button style="main_button_half_height">
4448 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 <actions>
4451 <action function="set">tw_page_done=1</action>
4452 <action function="page">main</action>
4453 </actions>
4454 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004455
4456 <button style="main_button_half_height">
4457 <placement x="%center_x%" y="%row21a_y%"/>
4458 <text>{@sel_lang_btn=Select Language}</text>
4459 <action function="overlay">select_language</action>
4460 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004461 </page>
4462
4463 <page name="trydecrypt">
4464 <template name="page"/>
4465
4466 <text style="text_l">
4467 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004468 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 </text>
4470
4471 <text style="text_m">
4472 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 </text>
4475
4476 <template name="console"/>
4477
4478 <template name="progress_bar"/>
4479
4480 <action>
4481 <action function="decrypt"/>
4482 </action>
4483
4484 <action>
4485 <conditions>
4486 <condition var1="tw_operation_state" var2="1"/>
4487 <condition var1="tw_operation_status" op="!=" var2="0"/>
4488 </conditions>
4489 <actions>
4490 <action function="set">tw_password_fail=1</action>
4491 <action function="page">decrypt</action>
4492 </actions>
4493 </action>
4494
4495 <action>
4496 <conditions>
4497 <condition var1="tw_operation_state" var2="1"/>
4498 <condition var1="tw_operation_status" op="=" var2="0"/>
4499 </conditions>
4500 <actions>
4501 <action function="set">tw_page_done=1</action>
4502 <action function="page">main</action>
4503 </actions>
4504 </action>
4505 </page>
4506
z31s1g28f0a922015-11-07 18:50:22 +01004507 <page name="terminalcommand">
4508 <template name="page"/>
4509
z31s1g56189522016-01-13 19:12:40 +01004510 <fill color="%background_color%">
4511 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </fill>
4513
z31s1g56189522016-01-13 19:12:40 +01004514 <terminal>
4515 <condition var1="tw_hide_kb" var2="0"/>
4516 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4517 </terminal>
4518
4519 <terminal>
4520 <condition var1="tw_hide_kb" var2="1"/>
4521 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4522 </terminal>
4523
4524 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004525
4526 <template name="keyboardtemplate"/>
4527
z31s1g608d7ff2016-01-18 19:47:25 +01004528 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004529 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004530 </fill>
z31s1g56189522016-01-13 19:12:40 +01004531
z31s1g608d7ff2016-01-18 19:47:25 +01004532 <button>
z31s1g56189522016-01-13 19:12:40 +01004533 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4534 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4535 <image resource="back" />
4536 <condition var1="tw_busy" var2="0" />
4537 <actions>
4538 <action function="set">tw_hide_kb=0</action>
4539 <action function="key">back</action>
4540 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004541 </button>
z31s1g56189522016-01-13 19:12:40 +01004542
z31s1g608d7ff2016-01-18 19:47:25 +01004543 <button>
z31s1g56189522016-01-13 19:12:40 +01004544 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4545 <condition var1="tw_hide_kb" op="=" var2="0" />
4546 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4547 <image resource="kb_hide" />
4548 <condition var1="tw_busy" var2="0" />
4549 <actions>
4550 <action function="set">tw_hide_kb=1</action>
4551 <action function="page">terminalcommand</action>
4552 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004553 </button>
z31s1g56189522016-01-13 19:12:40 +01004554
z31s1g608d7ff2016-01-18 19:47:25 +01004555 <button>
z31s1g56189522016-01-13 19:12:40 +01004556 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4557 <condition var1="tw_hide_kb" op="=" var2="1" />
4558 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4559 <image resource="kb_show" />
4560 <condition var1="tw_busy" var2="0" />
4561 <actions>
4562 <action function="set">tw_hide_kb=0</action>
4563 <action function="page">terminalcommand</action>
4564 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004565 </button>
z31s1g56189522016-01-13 19:12:40 +01004566
z31s1g608d7ff2016-01-18 19:47:25 +01004567 <button>
z31s1g56189522016-01-13 19:12:40 +01004568 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4569 <image resource="home" />
4570 <condition var1="tw_busy" var2="0" />
4571 <actions>
4572 <action function="set">tw_hide_kb=0</action>
4573 <action function="key">home</action>
4574 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004575 </button>
z31s1g56189522016-01-13 19:12:40 +01004576
z31s1g608d7ff2016-01-18 19:47:25 +01004577 <button>
z31s1g56189522016-01-13 19:12:40 +01004578 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4579 <condition var1="tw_hide_kb" op="=" var2="0" />
4580 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4581 <image resource="kb_hide" />
4582 <condition var1="tw_busy" var2="0" />
4583 <actions>
4584 <action function="set">tw_hide_kb=1</action>
4585 <action function="page">terminalcommand</action>
4586 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004587 </button>
z31s1g56189522016-01-13 19:12:40 +01004588
z31s1g608d7ff2016-01-18 19:47:25 +01004589 <button>
z31s1g56189522016-01-13 19:12:40 +01004590 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4591 <condition var1="tw_hide_kb" op="=" var2="1" />
4592 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4593 <image resource="kb_show" />
4594 <condition var1="tw_busy" var2="0" />
4595 <actions>
4596 <action function="set">tw_hide_kb=0</action>
4597 <action function="page">terminalcommand</action>
4598 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004599 </button>
z31s1g56189522016-01-13 19:12:40 +01004600
z31s1g608d7ff2016-01-18 19:47:25 +01004601 <button>
z31s1g56189522016-01-13 19:12:40 +01004602 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4603 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4604 <image resource="back" />
4605 <condition var1="tw_busy" var2="0" />
4606 <actions>
4607 <action function="set">tw_hide_kb=0</action>
4608 <action function="key">back</action>
4609 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004610 </button>
z31s1g56189522016-01-13 19:12:40 +01004611
z31s1g28f0a922015-11-07 18:50:22 +01004612 <action>
4613 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004614 <actions>
4615 <action function="set">tw_hide_kb=0</action>
4616 <action function="page">main</action>
4617 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </action>
4619
4620 <action>
4621 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004622 <actions>
4623 <action function="set">tw_hide_kb=0</action>
4624 <action function="page">advanced</action>
4625 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004626 </action>
z31s1g56189522016-01-13 19:12:40 +01004627
z31s1g608d7ff2016-01-18 19:47:25 +01004628 <action>
z31s1g56189522016-01-13 19:12:40 +01004629 <touch key="power+voldown" />
4630 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004631 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </page>
4633
4634 <page name="sideload">
4635 <template name="page"/>
4636
4637 <text style="text_l">
4638 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 </text>
4641
4642 <text style="text_m">
4643 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004644 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004645 </text>
4646
4647 <checkbox>
4648 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <data variable="tw_wipe_dalvik"/>
4651 </checkbox>
4652
4653 <checkbox>
4654 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004655 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004656 <data variable="tw_wipe_cache"/>
4657 </checkbox>
4658
4659 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004660 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 <actions>
4662 <action function="set">tw_back=advanced</action>
4663 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004664 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4665 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4666 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004667 <action function="set">tw_has_cancel=1</action>
4668 <action function="set">tw_show_reboot=1</action>
4669 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4670 <action function="page">action_page</action>
4671 </actions>
4672 </slider>
4673
4674 <action>
4675 <touch key="home"/>
4676 <action function="page">main</action>
4677 </action>
4678
4679 <action>
4680 <touch key="back"/>
4681 <action function="page">advanced</action>
4682 </action>
4683 </page>
4684
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004685 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004686 <template name="page"/>
4687
4688 <text style="text_l">
4689 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004690 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004691 </text>
4692
4693 <text style="text_m">
4694 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004695 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004696 </text>
4697
4698 <text style="text_m_accent">
4699 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004700 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004701 </text>
4702
z31s1g28f0a922015-11-07 18:50:22 +01004703 <text style="text_m_fail">
4704 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004705 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004706 </text>
4707
4708 <text style="text_m_fail">
4709 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004710 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004711 </text>
4712
4713 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004714 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004715 <actions>
4716 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004717 <action function="set">tw_action=fixcontexts</action>
4718 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4719 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004720 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004721 <action function="set">tw_show_reboot=1</action>
4722 <action function="page">action_page</action>
4723 </actions>
4724 </slider>
4725
4726 <action>
4727 <touch key="home"/>
4728 <action function="page">main</action>
4729 </action>
4730
4731 <action>
4732 <touch key="back"/>
4733 <action function="page">advanced</action>
4734 </action>
4735 </page>
4736
z31s1g28f0a922015-11-07 18:50:22 +01004737 <page name="slideout">
4738 <fill color="%background_color%">
4739 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4740 </fill>
4741
4742 <console>
4743 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4744 </console>
4745
4746 <button>
4747 <fill color="%transparent%"/>
4748 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4749 <action function="overlay"/>
4750 </button>
4751
4752 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004753 <touch key="power"/>
4754 <action function="togglebacklight"/>
4755 </action>
4756
4757 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004758 <touch key="power+voldown"/>
4759 <action function="screenshot"/>
4760 </action>
4761 </page>
4762
4763 <page name="select_storage">
4764 <fill color="%semi_transparent%">
4765 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4766 </fill>
4767
4768 <fill color="%background_color%">
4769 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4770 </fill>
4771
4772 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004773 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004774 <data name="tw_storage_path"/>
4775 <listtype name="storage"/>
4776 </partitionlist>
4777
4778 <button style="button_third_width">
4779 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004780 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004781 <actions>
4782 <action function="set">tw_clear_destination=%tw_back%</action>
4783 <action function="overlay"/>
4784 <action function="page">clear_vars</action>
4785 </actions>
4786 </button>
4787
4788 <fill color="#000000">
4789 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4790 </fill>
4791
4792 <button>
4793 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4794 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4795 <image resource="back"/>
4796 <condition var1="tw_busy" var2="0"/>
4797 <actions>
4798 <action function="overlay"/>
4799 <action function="key">%tw_back%</action>
4800 </actions>
4801 </button>
4802
4803 <button>
4804 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4805 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4806 <image resource="console"/>
4807 <condition var1="tw_busy" var2="0"/>
4808 <action function="overlay">slideout</action>
4809 </button>
4810
4811 <button>
4812 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4813 <image resource="home"/>
4814 <condition var1="tw_busy" var2="0"/>
4815 <actions>
4816 <action function="overlay"/>
4817 <action function="key">home</action>
4818 </actions>
4819 </button>
4820
4821 <button>
4822 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4823 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4824 <image resource="console"/>
4825 <condition var1="tw_busy" var2="0"/>
4826 <action function="overlay">slideout</action>
4827 </button>
4828
4829 <button>
4830 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4831 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4832 <image resource="back"/>
4833 <condition var1="tw_busy" var2="0"/>
4834 <actions>
4835 <action function="overlay"/>
4836 <action function="key">%tw_back%</action>
4837 </actions>
4838 </button>
4839
4840 <action>
4841 <touch key="power+voldown"/>
4842 <action function="screenshot"/>
4843 </action>
4844 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004845
4846 <page name="select_language">
4847 <fill color="%semi_transparent%">
4848 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4849 </fill>
4850
4851 <fill color="%background_color%">
4852 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4853 </fill>
4854
4855 <listbox>
4856 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4857 <text>{@select_language=Select Language:}</text>
4858 <icon selected="radio_true" unselected="radio_false" />
4859 <data name="tw_language" />
4860 </listbox>
4861
4862 <button style="button_third_width">
4863 <placement x="%dialog_button_x%" y="%row14_y%"/>
4864 <text>{@ok_btn=OK}</text>
4865 <actions>
4866 <action function="overlay"/>
4867 <action function="setlanguage"></action>
4868 </actions>
4869 </button>
4870
4871 <fill color="#000000">
4872 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4873 </fill>
4874
4875 <button>
4876 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4877 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4878 <image resource="back"/>
4879 <condition var1="tw_busy" var2="0"/>
4880 <actions>
4881 <action function="overlay"/>
4882 <action function="key">%tw_back%</action>
4883 </actions>
4884 </button>
4885
4886 <button>
4887 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4888 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4889 <image resource="console"/>
4890 <condition var1="tw_busy" var2="0"/>
4891 <action function="overlay">slideout</action>
4892 </button>
4893
4894 <button>
4895 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4896 <image resource="home"/>
4897 <condition var1="tw_busy" var2="0"/>
4898 <actions>
4899 <action function="overlay"/>
4900 <action function="key">home</action>
4901 </actions>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4906 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4907 <image resource="console"/>
4908 <condition var1="tw_busy" var2="0"/>
4909 <action function="overlay">slideout</action>
4910 </button>
4911
4912 <button>
4913 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4914 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4915 <image resource="back"/>
4916 <condition var1="tw_busy" var2="0"/>
4917 <actions>
4918 <action function="overlay"/>
4919 <action function="key">%tw_back%</action>
4920 </actions>
4921 </button>
4922
4923 <action>
4924 <touch key="power+voldown"/>
4925 <action function="screenshot"/>
4926 </action>
4927 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004928 </pages>
4929</recovery>