blob: 09b7c6b702eb3d0a5d42c755f490912422411623 [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">
482 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500483 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100484 <actions>
485 <action function="set">tw_back=flash_done</action>
486 <action function="set">tw_action=wipe</action>
487 <action function="set">tw_action_param=/cache</action>
488 <action function="set">tw_has_action2=1</action>
489 <action function="set">tw_action2=wipe</action>
490 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500491 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
492 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
493 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
494 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <action function="page">confirm_action</action>
496 </actions>
497 </button>
498
499 <button style="main_button_half_height">
500 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500501 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <actions>
503 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500504 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100505 </actions>
506 </button>
507
508 <action>
509 <touch key="back"/>
510 <actions>
511 <action function="set">tw_clear_destination=install</action>
512 <action function="page">clear_vars</action>
513 </actions>
514 </action>
515
516 <action>
517 <touch key="home"/>
518 <actions>
519 <action function="set">tw_clear_destination=main2</action>
520 <action function="page">clear_vars</action>
521 </actions>
522 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500523
524 <action>
525 <conditions>
526 <condition var1="tw_install_reboot" var2="1"/>
527 <condition var1="tw_operation_status" var2="0"/>
528 <condition var1="tw_reboot_system" var2="1"/>
529 </conditions>
530 <actions>
531 <action function="set">tw_sleep=%tw_sleep_total%</action>
532 <action function="page">flash_sleep_and_reboot</action>
533 </actions>
534 </action>
535 </page>
536
537 <page name="flash_sleep_and_reboot">
538 <template name="page"/>
539
540 <text style="text_l">
541 <placement x="%col1_x_header%" y="%row3_header_y%"/>
542 <text>{@install_zip_hdr=Install Zip}</text>
543 </text>
544
545 <text style="text_m">
546 <placement x="%col1_x_header%" y="%row4_header_y%"/>
547 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
548 </text>
549
550 <template name="console"/>
551
552 <template name="progress_bar"/>
553
554 <button style="main_button_half_height">
555 <condition var1="tw_sleep" op="&gt;" var2="0"/>
556 <placement x="%center_x%" y="%row21a_y%"/>
557 <text>{@cancel_btn=Cancel}</text>
558 <actions>
559 <action function="set">tw_install_reboot=0</action>
560 <action function="page">flash_done</action>
561 </actions>
562 </button>
563
564 <action>
565 <conditions>
566 <condition var1="tw_sleep" var2="tw_sleep_total"/>
567 <condition var1="tw_install_reboot" var2="1"/>
568 </conditions>
569 <action function="sleepcounter">%tw_sleep_total%</action>
570 </action>
571
572 <action>
573 <conditions>
574 <condition var1="tw_sleep" var2="0"/>
575 <condition var1="tw_install_reboot" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="sleep">50000</action>
579 <action function="set">tw_back=main2</action>
580 <action function="page">reboot_system_routine</action>
581 </actions>
582 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100583 </page>
584
585 <page name="flashimage_confirm">
586 <template name="page"/>
587
588 <text style="text_l">
589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500590 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100591 </text>
592
593 <text style="text_m">
594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500595 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100596 </text>
597
598 <text style="text_m_accent">
599 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500600 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100601 </text>
602
603 <text style="text_m">
604 <placement x="%indent%" y="%row3_y%"/>
605 <text>%tw_zip_location%</text>
606 </text>
607
608 <text style="text_m_accent">
609 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500610 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100611 </text>
612
613 <text style="text_m">
614 <placement x="%indent%" y="%row5a_y%"/>
615 <text>%tw_file%</text>
616 </text>
617
618 <partitionlist>
619 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
620 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 <data name="tw_flash_partition"/>
623 <listtype name="flashimg"/>
624 </partitionlist>
625
626 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 <actions>
629 <action function="set">tw_back=flashimage_confirm</action>
630 <action function="set">tw_action=flashimage</action>
631 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500632 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100633 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100635 <action function="page">action_page</action>
636 </actions>
637 <action function="flashimage"/>
638 </slider>
639
640 <action>
641 <touch key="back"/>
642 <actions>
643 <action function="set">tw_clear_destination=install</action>
644 <action function="page">clear_vars</action>
645 </actions>
646 </action>
647
648 <action>
649 <touch key="home"/>
650 <actions>
651 <action function="set">tw_clear_destination=main2</action>
652 <action function="page">clear_vars</action>
653 </actions>
654 </action>
655 </page>
656
657 <page name="clear_vars">
658 <action>
659 <action function="set">tw_operation_state=0</action>
660 <action function="set">tw_text1=</action>
661 <action function="set">tw_text2=</action>
662 <action function="set">tw_text3=</action>
663 <action function="set">tw_text4=</action>
664 <action function="set">tw_action_text1=</action>
665 <action function="set">tw_action_text2=</action>
666 <action function="set">tw_action_param=</action>
667 <action function="set">tw_has_action2=0</action>
668 <action function="set">tw_action2=</action>
669 <action function="set">tw_action2_param=</action>
670 <action function="set">tw_has_cancel=0</action>
671 <action function="set">tw_cancel_action=</action>
672 <action function="set">tw_cancel_param=</action>
673 <action function="set">tw_show_exclamation=0</action>
674 <action function="set">tw_show_reboot=0</action>
675 <action function="page">%tw_clear_destination%</action>
676 </action>
677 </page>
678
Matt Mower908dd252016-05-25 02:26:50 -0500679 <page name="reboot_system_routine">
680 <action>
681 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500682 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500683 <action function="set">tw_has_action2=0</action>
684 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
685 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
686 <action function="set">tw_text3=</action>
687 <action function="set">tw_text4=</action>
688 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
689 <action function="set">tw_action_text2=</action>
690 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
691 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
692 <action function="page">rebootcheck</action>
693 </action>
694 </page>
695
z31s1g28f0a922015-11-07 18:50:22 +0100696 <page name="confirm_action">
697 <template name="page"/>
698
699 <text style="text_l">
700 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500701 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100702 </text>
703
704 <text style="text_m">
705 <placement x="%col1_x_header%" y="%row4_header_y%"/>
706 <text/>
707 </text>
708
709 <text style="text_m_accent">
710 <placement x="%center_x%" y="%row2_y%" placement="5"/>
711 <text>%tw_text1%</text>
712 </text>
713
714 <text style="text_m_accent">
715 <placement x="%center_x%" y="%row3_y%" placement="5"/>
716 <text>%tw_text2%</text>
717 </text>
718
719 <text style="text_m">
720 <placement x="%center_x%" y="%row4_y%" placement="5"/>
721 <text>%tw_text3%</text>
722 </text>
723
724 <text style="text_m">
725 <placement x="%center_x%" y="%row5_y%" placement="5"/>
726 <text>%tw_text4%</text>
727 </text>
728
729 <text style="text_m">
730 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500731 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100732 </text>
733
734 <slider>
735 <text>%tw_slider_text%</text>
736 <action function="page">action_page</action>
737 </slider>
738
739 <action>
740 <touch key="back"/>
741 <actions>
742 <action function="set">tw_clear_destination=%tw_back%</action>
743 <action function="page">clear_vars</action>
744 </actions>
745 </action>
746
747 <action>
748 <touch key="home"/>
749 <action function="page">main</action>
750 </action>
751 </page>
752
753 <page name="action_page">
754 <template name="page"/>
755
756 <text style="text_l">
757 <placement x="%col1_x_header%" y="%row3_header_y%"/>
758 <text>%tw_action_text1%</text>
759 </text>
760
761 <text style="text_m">
762 <placement x="%col1_x_header%" y="%row4_header_y%"/>
763 <text>%tw_action_text2%</text>
764 </text>
765
766 <template name="console"/>
767
768 <template name="progress_bar"/>
769
770 <button style="main_button_half_height">
771 <condition var1="tw_has_cancel" var2="1"/>
772 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500773 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100774 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
775 </button>
776
777 <action>
778 <condition var1="tw_operation_state" var2="1"/>
779 <actions>
780 <action function="page">action_complete</action>
781 </actions>
782 </action>
783
784 <action>
785 <condition var1="tw_has_action2" var2="0"/>
786 <actions>
787 <action function="%tw_action%">%tw_action_param%</action>
788 </actions>
789 </action>
790
791 <action>
792 <condition var1="tw_has_action2" var2="1"/>
793 <actions>
794 <action function="%tw_action%">%tw_action_param%</action>
795 <action function="%tw_action2%">%tw_action2_param%</action>
796 </actions>
797 </action>
798 </page>
799
800 <page name="singleaction_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <action>
818 <condition var1="tw_operation_state" var2="1"/>
819 <actions>
820 <action function="set">tw_page_done=1</action>
821 </actions>
822 </action>
823
824 <action>
825 <condition var1="tw_has_action2" var2="0"/>
826 <actions>
827 <action function="%tw_action%">%tw_action_param%</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="1"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 <action function="%tw_action2%">%tw_action2_param%</action>
836 </actions>
837 </action>
838 </page>
839
840 <page name="action_complete">
841 <template name="page"/>
842
843 <text style="text_l">
844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
845 <text>%tw_complete_text1%</text>
846 </text>
847
848 <text style="text_m_fail">
849 <condition var1="tw_operation_status" op="!=" var2="0"/>
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500851 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100852 </text>
853
854 <text style="text_m">
855 <condition var1="tw_operation_status" var2="0"/>
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 </text>
859
860 <template name="console"/>
861
862 <button style="main_button_half_height">
863 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100865 <actions>
866 <action function="set">tw_clear_destination=%tw_back%</action>
867 <action function="page">clear_vars</action>
868 </actions>
869 </button>
870
871 <button style="main_button_half_height">
872 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500873 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100874 <actions>
875 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500876 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100877 </actions>
878 </button>
879
880 <action>
881 <touch key="home"/>
882 <actions>
883 <action function="set">tw_clear_destination=main2</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </action>
887
888 <action>
889 <touch key="back"/>
890 <actions>
891 <action function="set">tw_clear_destination=%tw_back%</action>
892 <action function="page">clear_vars</action>
893 </actions>
894 </action>
895 </page>
896
897 <page name="filecheck">
898 <action>
899 <action function="fileexists">%tw_filecheck%</action>
900 </action>
901
902 <action>
903 <conditions>
904 <condition var1="tw_operation_state" var2="1"/>
905 <condition var1="tw_operation_status" var2="0"/>
906 </conditions>
907 <actions>
908 <action function="set">tw_fileexists=1</action>
909 <action function="page">%tw_existpage%</action>
910 </actions>
911 </action>
912
913 <action>
914 <conditions>
915 <condition var1="tw_operation_state" var2="1"/>
916 <condition var1="tw_operation_status" var2="1"/>
917 </conditions>
918 <actions>
919 <action function="set">tw_fileexists=0</action>
920 <action function="page">%tw_notexistpage%</action>
921 </actions>
922 </action>
923 </page>
924
925 <page name="rebootcheck">
926 <action>
927 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600928 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100929 </action>
930
931 <action>
932 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
933 <action function="page">confirm_action</action>
934 </action>
935 </page>
936
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600937 <page name="appcheck">
938 <action>
939 <condition var1="tw_app_prompt" var2="1"/>
940 <action function="checkforapp"></action>
941 </action>
942
943 <action>
944 <condition var1="tw_app_prompt" op="!=" var2="1"/>
945 <action function="reboot">%tw_reboot_param%</action>
946 </action>
947
948 <action>
949 <condition var1="tw_app_install_status" var2="1"/>
950 <action function="page">rebootapp</action>
951 </action>
952
953 <action>
954 <condition var1="tw_app_install_status" var2="2"/>
955 <action function="reboot">%tw_reboot_param%</action>
956 </action>
957 </page>
958
z31s1g28f0a922015-11-07 18:50:22 +0100959 <page name="wipe">
960 <template name="page"/>
961
962 <text style="text_l">
963 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 </text>
966
967 <text style="text_m">
968 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m_accent">
973 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500974 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100975 </text>
976
977 <text style="text_m_accent">
978 <condition var1="tw_has_data_media" var2="1"/>
979 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500980 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100981 </text>
982
983 <text style="text_m_accent">
984 <conditions>
985 <condition var1="tw_has_android_secure" var2="1"/>
986 <condition var1="fileexists" var2="/and-sec"/>
987 </conditions>
988 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 </text>
991
992 <text style="text_m_accent">
993 <condition var1="tw_has_sdext_partition" var2="1"/>
994 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500995 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100996 </text>
997
998 <text style="text_m">
999 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001000 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001001 </text>
1002
1003 <text style="text_m">
1004 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m">
1009 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <button style="main_button_half_height">
1014 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <actions>
1017 <action function="set">partitionlisterror=0</action>
1018 <action function="page">advancedwipe</action>
1019 </actions>
1020 </button>
1021
1022 <button style="main_button_half_height">
1023 <condition var1="tw_has_data_media" var2="1"/>
1024 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 <action function="page">formatdata</action>
1027 </button>
1028
1029 <button style="main_button_half_height">
1030 <conditions>
1031 <condition var1="tw_is_encrypted" var2="1"/>
1032 <condition var1="tw_has_data_media" var2="0"/>
1033 </conditions>
1034 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 <actions>
1037 <action function="set">tw_back=wipe</action>
1038 <action function="set">tw_action=wipe</action>
1039 <action function="set">tw_action_param=DATAMEDIA</action>
1040 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001042 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1044 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1045 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001046 <action function="page">confirm_action</action>
1047 </actions>
1048 </button>
1049
1050 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 <actions>
1053 <action function="set">tw_back=wipe</action>
1054 <action function="set">tw_action=wipe</action>
1055 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1057 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001058 <action function="page">action_page</action>
1059 </actions>
1060 </slider>
1061
1062 <action>
1063 <touch key="back"/>
1064 <action function="page">main</action>
1065 </action>
1066
1067 <action>
1068 <touch key="home"/>
1069 <action function="page">main</action>
1070 </action>
1071 </page>
1072
1073 <page name="advancedwipe">
1074 <template name="page"/>
1075
1076 <action>
1077 <action function="set">tw_wipe_list=</action>
1078 </action>
1079
1080 <text style="text_l">
1081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <partitionlist>
1091 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001092 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001093 <data name="tw_wipe_list"/>
1094 <listtype name="wipe"/>
1095 </partitionlist>
1096
1097 <text style="text_m_fail">
1098 <condition var1="partitionlisterror" var2="1"/>
1099 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <button style="main_button_half_height_full_width">
1104 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001107 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001108 <action function="page">checkpartitionlist</action>
1109 </actions>
1110 </button>
1111
1112 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001113 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001114 <actions>
1115 <action function="set">tw_back=advancedwipe</action>
1116 <action function="set">tw_action=wipe</action>
1117 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001118 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1119 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1120 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">action_page</action>
1122 </actions>
1123 </slider>
1124
1125 <action>
1126 <touch key="home"/>
1127 <action function="page">main</action>
1128 </action>
1129
1130 <action>
1131 <touch key="back"/>
1132 <action function="page">wipe</action>
1133 </action>
1134 </page>
1135
1136 <page name="formatdata">
1137 <template name="page"/>
1138
1139 <text style="text_l">
1140 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001141 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001142 </text>
1143
1144 <text style="text_m">
1145 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 </text>
1148
1149 <text style="text_m_fail">
1150 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001152 </text>
1153
1154 <text style="text_m_fail">
1155 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001156 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001157 </text>
1158
1159 <text style="text_m_fail">
1160 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 </text>
1163
Ethan Yonker66a19492015-12-10 10:19:45 -06001164 <text style="text_m_fail">
1165 <condition var1="tw_has_adopted_storage" var2="1"/>
1166 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1167 <text>{@format_data_adopted=Including Adopted Storage}</text>
1168 </text>
1169
z31s1g28f0a922015-11-07 18:50:22 +01001170 <text style="text_m">
1171 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001173 </text>
1174
1175 <text style="text_m">
1176 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001177 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001178 </text>
1179
1180 <input>
1181 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1182 <text>%tw_confirm_formatdata%</text>
1183 <data name="tw_confirm_formatdata"/>
1184 <restrict minlen="3" maxlen="3" allow="yes"/>
1185 <action function="page">formatdata_confirm</action>
1186 </input>
1187
1188 <fill color="%accent_color%">
1189 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1190 </fill>
1191
1192 <template name="keyboardtemplate"/>
1193
1194 <action>
1195 <touch key="home"/>
1196 <action function="page">main</action>
1197 </action>
1198
1199 <action>
1200 <touch key="back"/>
1201 <action function="page">wipe</action>
1202 </action>
1203 </page>
1204
1205 <page name="formatdata_confirm">
1206 <action>
1207 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1208 <actions>
1209 <action function="set">tw_back=formatdata</action>
1210 <action function="set">tw_action=wipe</action>
1211 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1213 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001214 <action function="page">action_page</action>
1215 </actions>
1216 </action>
1217
1218 <action>
1219 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1220 <action function="page">formatdata</action>
1221 </action>
1222 </page>
1223
1224 <page name="checkpartitionlist">
1225 <action>
1226 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1227 <actions>
1228 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001229 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <action function="page">partitionoptions</action>
1231 </actions>
1232 </action>
1233
1234 <action>
1235 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1236 <actions>
1237 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="page">advancedwipe</action>
1239 </actions>
1240 </action>
1241 </page>
1242
1243 <page name="partitionoptions">
1244 <template name="page"/>
1245
1246 <text style="text_l">
1247 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001248 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001249 </text>
1250
1251 <text style="text_m">
1252 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <text style="text_m_accent">
1257 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 </text>
1260
1261 <text style="text_m_accent">
1262 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001264 </text>
1265
1266 <text style="text_m">
1267 <condition var1="tw_partition_is_present" var2="1"/>
1268 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <condition var1="tw_partition_is_present" var2="0"/>
1274 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <text style="text_m">
1279 <condition var1="tw_partition_removable" var2="1"/>
1280 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <text style="text_m">
1285 <condition var1="tw_partition_removable" var2="0"/>
1286 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 </text>
1289
1290 <text style="text_m">
1291 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 </text>
1294
1295 <text style="text_m">
1296 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001297 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001298 </text>
1299
1300 <text style="text_m">
1301 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001303 </text>
1304
1305 <text style="text_m">
1306 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001307 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001308 </text>
1309
1310 <button style="main_button_half_height">
1311 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1312 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001313 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001314 <actions>
1315 <action function="set">tw_back=partitionoptions</action>
1316 <action function="set">tw_action=resize</action>
1317 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1318 <action function="set">tw_has_action2=1</action>
1319 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001320 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1324 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1325 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001326 <action function="page">confirm_action</action>
1327 </actions>
1328 </button>
1329
1330 <button style="main_button_half_height">
1331 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1332 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <actions>
1335 <action function="set">tw_back=partitionoptions</action>
1336 <action function="set">tw_action=repair</action>
1337 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1338 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001340 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1342 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1343 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001344 <action function="page">confirm_action</action>
1345 </actions>
1346 </button>
1347
1348 <button style="main_button_half_height">
1349 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">selectfilesystem</action>
1352 </button>
1353
1354 <action>
1355 <touch key="home"/>
1356 <action function="page">main</action>
1357 </action>
1358
1359 <action>
1360 <touch key="back"/>
1361 <action function="page">advancedwipe</action>
1362 </action>
1363 </page>
1364
1365 <page name="refreshfilesystem">
1366 <action>
1367 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1368 <actions>
1369 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001370 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001371 <action function="page">selectfilesystem</action>
1372 </actions>
1373 </action>
1374
1375 <action>
1376 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1377 <actions>
1378 <action function="set">partitionlisterror=1</action>
1379 <action function="set">tw_wipe_list=</action>
1380 <action function="page">advancedwipe</action>
1381 </actions>
1382 </action>
1383 </page>
1384
1385 <page name="selectfilesystem">
1386 <template name="page"/>
1387
1388 <text style="text_l">
1389 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001391 </text>
1392
1393 <text style="text_m">
1394 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001396 </text>
1397
1398 <text style="text_m_accent">
1399 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001400 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001401 </text>
1402
1403 <text style="text_m_accent">
1404 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001406 </text>
1407
1408 <text style="text_m_fail">
1409 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m_fail">
1414 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <button style="main_button_half_height">
1419 <condition var1="tw_partition_ext" op="=" var2="1"/>
1420 <placement x="%indent%" y="%row15a_y%"/>
1421 <text>EXT2</text>
1422 <actions>
1423 <action function="set">tw_back=refreshfilesystem</action>
1424 <action function="set">tw_action=changefilesystem</action>
1425 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1426 <action function="set">tw_action_new_file_system=ext2</action>
1427 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001428 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1429 <action function="set">tw_text2=EXT2</action>
1430 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1431 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1432 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <action function="page">confirm_action</action>
1434 </actions>
1435 </button>
1436
1437 <button style="main_button_half_height">
1438 <condition var1="tw_partition_ext" op="=" var2="1"/>
1439 <placement x="%indent%" y="%row18a_y%"/>
1440 <text>EXT3</text>
1441 <actions>
1442 <action function="set">tw_back=refreshfilesystem</action>
1443 <action function="set">tw_action=changefilesystem</action>
1444 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1445 <action function="set">tw_action_new_file_system=ext3</action>
1446 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1448 <action function="set">tw_text2=EXT3</action>
1449 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1450 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1451 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001452 <action function="page">confirm_action</action>
1453 </actions>
1454 </button>
1455
1456 <button style="main_button_half_height">
1457 <condition var1="tw_partition_ext" op="=" var2="1"/>
1458 <placement x="%indent%" y="%row21a_y%"/>
1459 <text>EXT4</text>
1460 <actions>
1461 <action function="set">tw_back=refreshfilesystem</action>
1462 <action function="set">tw_action=changefilesystem</action>
1463 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1464 <action function="set">tw_action_new_file_system=ext4</action>
1465 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001466 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1467 <action function="set">tw_text2=EXT4</action>
1468 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1469 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1470 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001471 <action function="page">confirm_action</action>
1472 </actions>
1473 </button>
1474
1475 <button style="main_button_half_height">
1476 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1477 <placement x="%center_x%" y="%row15a_y%"/>
1478 <text>FAT</text>
1479 <actions>
1480 <action function="set">tw_back=refreshfilesystem</action>
1481 <action function="set">tw_action=changefilesystem</action>
1482 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1483 <action function="set">tw_action_new_file_system=vfat</action>
1484 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1486 <action function="set">tw_text2=FAT</action>
1487 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1488 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1489 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001490 <action function="page">confirm_action</action>
1491 </actions>
1492 </button>
1493
1494 <button style="main_button_half_height">
1495 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1496 <placement x="%center_x%" y="%row18a_y%"/>
1497 <text>exFAT</text>
1498 <actions>
1499 <action function="set">tw_back=refreshfilesystem</action>
1500 <action function="set">tw_action=changefilesystem</action>
1501 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1502 <action function="set">tw_action_new_file_system=exfat</action>
1503 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001504 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1505 <action function="set">tw_text2=exFAT</action>
1506 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1507 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1508 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001509 <action function="page">confirm_action</action>
1510 </actions>
1511 </button>
1512
1513 <button style="main_button_half_height">
1514 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1515 <placement x="%center_x%" y="%row21a_y%"/>
1516 <text>F2FS</text>
1517 <actions>
1518 <action function="set">tw_back=refreshfilesystem</action>
1519 <action function="set">tw_action=changefilesystem</action>
1520 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1521 <action function="set">tw_action_new_file_system=f2fs</action>
1522 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1524 <action function="set">tw_text2=F2FS</action>
1525 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1526 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1527 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001528 <action function="page">confirm_action</action>
1529 </actions>
1530 </button>
1531
1532 <action>
1533 <touch key="home"/>
1534 <action function="page">main</action>
1535 </action>
1536
1537 <action>
1538 <touch key="back"/>
1539 <action function="page">partitionoptions</action>
1540 </action>
1541 </page>
1542
1543 <page name="backup">
1544 <template name="page"/>
1545
1546 <text style="text_l">
1547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001549 </text>
1550
1551 <text style="text_m">
1552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 </text>
1555
1556 <template name="tabs_backup"/>
1557
1558 <fill color="%text_color%">
1559 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1560 </fill>
1561
1562 <button style="tab">
1563 <conditions>
1564 <condition var1="tw_include_encrypted_backup" var2="1"/>
1565 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001566 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001567 </conditions>
1568 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <font resource="font_s" color="%text_color%"/>
1571 <actions>
1572 <action function="set">tw_password_not_match=0</action>
1573 <action function="page">backupencryption</action>
1574 </actions>
1575 </button>
1576
1577 <button style="tab">
1578 <conditions>
1579 <condition var1="tw_include_encrypted_backup" var2="1"/>
1580 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001581 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001582 </conditions>
1583 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <font resource="font_s" color="%text_success_color%"/>
1586 <actions>
1587 <action function="set">tw_password_not_match=0</action>
1588 <action function="page">backupencryption</action>
1589 </actions>
1590 </button>
1591
1592 <text style="text_m_accent">
1593 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 </text>
1596
1597 <text style="text_m">
1598 <placement x="%indent%" y="%row4a_y%"/>
1599 <text>%tw_backup_name%</text>
1600 </text>
1601
1602 <fill color="%fileselector_linecolor%">
1603 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1604 </fill>
1605
1606 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001607 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001608 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1609 <fill color="%transparent%"/>
1610 <actions>
1611 <action function="set">tw_fileexists=0</action>
1612 <action function="page">backupname1</action>
1613 </actions>
1614 </button>
1615
1616 <partitionlist>
1617 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 <data name="tw_backup_list"/>
1620 <listtype name="backup"/>
1621 </partitionlist>
1622
1623 <button style="main_button_half_height">
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="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001626 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001627 <actions>
1628 <action function="set">tw_back=backup</action>
1629 <action function="overlay">select_storage</action>
1630 </actions>
1631 </button>
1632
1633 <button style="main_button_half_height">
1634 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001635 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001636 <actions>
1637 <action function="refreshsizes"/>
1638 <action function="page">backup</action>
1639 </actions>
1640 </button>
1641
1642 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <action function="page">backup_run</action>
1645 </slider>
1646
1647 <action>
1648 <touch key="home"/>
1649 <action function="page">main</action>
1650 </action>
1651
1652 <action>
1653 <touch key="back"/>
1654 <action function="page">main</action>
1655 </action>
1656 </page>
1657
1658 <page name="backup_options">
1659 <template name="page"/>
1660
1661 <text style="text_l">
1662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <template name="tabs_backup"/>
1672
1673 <fill color="%text_color%">
1674 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1675 </fill>
1676
1677 <button style="tab">
1678 <conditions>
1679 <condition var1="tw_include_encrypted_backup" var2="1"/>
1680 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001681 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </conditions>
1683 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <font resource="font_s" color="%text_color%"/>
1686 <actions>
1687 <action function="set">tw_password_not_match=0</action>
1688 <action function="page">backupencryption</action>
1689 </actions>
1690 </button>
1691
1692 <button style="tab">
1693 <conditions>
1694 <condition var1="tw_include_encrypted_backup" var2="1"/>
1695 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001696 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </conditions>
1698 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <font resource="font_s" color="%text_success_color%"/>
1701 <actions>
1702 <action function="set">tw_password_not_match=0</action>
1703 <action function="page">backupencryption</action>
1704 </actions>
1705 </button>
1706
1707 <checkbox>
1708 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <data variable="tw_use_compression"/>
1711 </checkbox>
1712
1713 <checkbox>
1714 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001715 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1716 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </checkbox>
1718
1719 <checkbox>
1720 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001721 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001722 <data variable="tw_disable_free_space"/>
1723 </checkbox>
1724
Ethan Yonker1b190162016-12-05 15:25:19 -06001725 <text style="text_m">
1726 <condition var1="tw_has_boot_slots" var2="1"/>
1727 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1728 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1729 </text>
1730
1731 <button style="main_button">
1732 <condition var1="tw_has_boot_slots" var2="1"/>
1733 <placement x="%indent%" y="%row19_y%"/>
1734 <text>{@boot_slot_a=Slot A}</text>
1735 <actions>
1736 <action function="set">tw_back=backup_options</action>
1737 <action function="set">tw_action=setbootslot</action>
1738 <action function="set">tw_action_param=A</action>
1739 <action function="set">tw_has_action2=0</action>
1740 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1741 <action function="set">tw_action_text2=</action>
1742 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1743 <action function="page">action_page</action>
1744 </actions>
1745 </button>
1746
1747 <button style="main_button">
1748 <condition var1="tw_has_boot_slots" var2="1"/>
1749 <placement x="%center_x%" y="%row19_y%"/>
1750 <text>{@boot_slot_b=Slot B}</text>
1751 <actions>
1752 <action function="set">tw_back=backup_options</action>
1753 <action function="set">tw_action=setbootslot</action>
1754 <action function="set">tw_action_param=B</action>
1755 <action function="set">tw_has_action2=0</action>
1756 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1757 <action function="set">tw_action_text2=</action>
1758 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1759 <action function="page">action_page</action>
1760 </actions>
1761 </button>
1762
z31s1g28f0a922015-11-07 18:50:22 +01001763 <action>
1764 <touch key="home"/>
1765 <action function="page">main</action>
1766 </action>
1767
1768 <action>
1769 <touch key="back"/>
1770 <action function="page">backup</action>
1771 </action>
1772 </page>
1773
1774 <page name="backupname1">
1775 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001776 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001777 <action function="generatebackupname"/>
1778 </action>
1779
1780 <action>
1781 <action function="page">backupname2</action>
1782 </action>
1783 </page>
1784
1785 <page name="backupname2">
1786 <template name="page"/>
1787
1788 <text style="text_l">
1789 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <text style="text_m">
1794 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <template name="tabs_backup"/>
1799
1800 <fill color="%text_color%">
1801 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1802 </fill>
1803
1804 <button style="tab">
1805 <conditions>
1806 <condition var1="tw_include_encrypted_backup" var2="1"/>
1807 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001808 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </conditions>
1810 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001811 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001812 <font resource="font_s" color="%text_color%"/>
1813 <actions>
1814 <action function="set">tw_password_not_match=0</action>
1815 <action function="page">backupencryption</action>
1816 </actions>
1817 </button>
1818
1819 <button style="tab">
1820 <conditions>
1821 <condition var1="tw_include_encrypted_backup" var2="1"/>
1822 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001823 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001824 </conditions>
1825 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <font resource="font_s" color="%text_success_color%"/>
1828 <actions>
1829 <action function="set">tw_password_not_match=0</action>
1830 <action function="page">backupencryption</action>
1831 </actions>
1832 </button>
1833
1834 <text style="text_m_accent">
1835 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <input>
1840 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1841 <text>%tw_backup_name%</text>
1842 <data name="tw_backup_name"/>
1843 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1844 <actions>
1845 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1846 <action function="set">tw_existpage=backupname2</action>
1847 <action function="set">tw_notexistpage=backup</action>
1848 <action function="page">filecheck</action>
1849 </actions>
1850 </input>
1851
1852 <fill color="%accent_color%">
1853 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1854 </fill>
1855
1856 <fill color="%text_fail_color%">
1857 <condition var1="tw_fileexists" var2="1"/>
1858 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1859 </fill>
1860
1861 <text style="text_m_fail">
1862 <condition var1="tw_fileexists" var2="1"/>
1863 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001865 </text>
1866
1867 <button style="main_button_half_height">
1868 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001871 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001872 <action function="page">backup</action>
1873 </actions>
1874 </button>
1875
1876 <button style="main_button_half_height">
1877 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001878 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001879 <action function="appenddatetobackupname"/>
1880 </button>
1881
1882 <template name="keyboardtemplate"/>
1883
1884 <action>
1885 <touch key="home"/>
1886 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001888 <action function="page">main</action>
1889 </actions>
1890 </action>
1891
1892 <action>
1893 <touch key="back"/>
1894 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001896 <action function="page">backup</action>
1897 </actions>
1898 </action>
1899 </page>
1900
1901 <page name="backupencryption">
1902 <template name="page"/>
1903
1904 <text style="text_l">
1905 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 </text>
1908
1909 <text style="text_m">
1910 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001911 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001912 </text>
1913
1914 <template name="tabs_backup"/>
1915
1916 <button style="tab">
1917 <conditions>
1918 <condition var1="tw_include_encrypted_backup" var2="1"/>
1919 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001920 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </conditions>
1922 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 <font resource="font_s" color="%text_color%"/>
1925 <actions>
1926 <action function="set">tw_password_not_match=0</action>
1927 <action function="page">backupencryption</action>
1928 </actions>
1929 </button>
1930
1931 <button style="tab">
1932 <conditions>
1933 <condition var1="tw_include_encrypted_backup" var2="1"/>
1934 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001935 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001936 </conditions>
1937 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001938 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001939 <font resource="font_s" color="%text_success_color%"/>
1940 <actions>
1941 <action function="set">tw_password_not_match=0</action>
1942 <action function="page">backupencryption</action>
1943 </actions>
1944 </button>
1945
1946 <fill color="%text_color%">
1947 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1948 </fill>
1949
1950 <text style="text_m_accent">
1951 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001952 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001953 </text>
1954
1955 <text style="text_m">
1956 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001957 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001958 </text>
1959
1960 <input>
1961 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1962 <text>%tw_backup_encrypt_display%</text>
1963 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1964 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1965 <action function="page">backupencryption2</action>
1966 </input>
1967
1968 <fill color="%accent_color%">
1969 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1970 </fill>
1971
1972 <fill color="%text_fail_color%">
1973 <condition var1="tw_password_not_match" var2="1"/>
1974 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1975 </fill>
1976
1977 <text style="text_m_fail">
1978 <condition var1="tw_password_not_match" var2="1"/>
1979 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001980 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001981 </text>
1982
1983 <button style="main_button_half_height">
1984 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 <actions>
1987 <action function="set">tw_encrypt_backup=0</action>
1988 <action function="set">tw_backup_password=</action>
1989 <action function="set">tw_backup_password2=</action>
1990 <action function="set">tw_backup_encrypt_display=</action>
1991 <action function="set">tw_backup_encrypt_display2=</action>
1992 <action function="page">backup</action>
1993 </actions>
1994 </button>
1995
1996 <template name="keyboardtemplate"/>
1997
1998 <action>
1999 <touch key="home"/>
2000 <action function="page">main</action>
2001 </action>
2002
2003 <action>
2004 <touch key="back"/>
2005 <action function="page">backup</action>
2006 </action>
2007 </page>
2008
2009 <page name="backupencryption2">
2010 <template name="page"/>
2011
2012 <text style="text_l">
2013 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <text style="text_m">
2018 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <template name="tabs_backup"/>
2023
2024 <button style="tab">
2025 <conditions>
2026 <condition var1="tw_include_encrypted_backup" var2="1"/>
2027 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002028 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002029 </conditions>
2030 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 <font resource="font_s" color="%text_color%"/>
2033 <actions>
2034 <action function="set">tw_password_not_match=0</action>
2035 <action function="page">backupencryption</action>
2036 </actions>
2037 </button>
2038
2039 <button style="tab">
2040 <conditions>
2041 <condition var1="tw_include_encrypted_backup" var2="1"/>
2042 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002043 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002044 </conditions>
2045 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002046 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002047 <font resource="font_s" color="%text_success_color%"/>
2048 <actions>
2049 <action function="set">tw_password_not_match=0</action>
2050 <action function="page">backupencryption</action>
2051 </actions>
2052 </button>
2053
2054 <fill color="%text_color%">
2055 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2056 </fill>
2057
2058 <text style="text_m_accent">
2059 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 </text>
2062
2063 <text style="text_m">
2064 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002066 </text>
2067
2068 <input>
2069 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2070 <text>%tw_backup_encrypt_display2%</text>
2071 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2072 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2073 <action function="page">checkbackuppassword</action>
2074 </input>
2075
2076 <fill color="%accent_color%">
2077 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2078 </fill>
2079
2080 <button style="main_button_half_height">
2081 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002082 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002083 <actions>
2084 <action function="set">tw_encrypt_backup=0</action>
2085 <action function="set">tw_backup_password=</action>
2086 <action function="set">tw_backup_password2=</action>
2087 <action function="set">tw_backup_encrypt_display=</action>
2088 <action function="set">tw_backup_encrypt_display2=</action>
2089 <action function="page">backup</action>
2090 </actions>
2091 </button>
2092
2093 <template name="keyboardtemplate"/>
2094
2095 <action>
2096 <touch key="home"/>
2097 <action function="page">main</action>
2098 </action>
2099
2100 <action>
2101 <touch key="back"/>
2102 <action function="page">backup</action>
2103 </action>
2104 </page>
2105
2106 <page name="checkbackuppassword">
2107 <action>
2108 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2109 <actions>
2110 <action function="set">tw_encrypt_backup=1</action>
2111 <action function="page">backup</action>
2112 </actions>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2117 <actions>
2118 <action function="set">tw_encrypt_backup=0</action>
2119 <action function="set">tw_password_not_match=1</action>
2120 <action function="set">tw_backup_password=</action>
2121 <action function="set">tw_backup_password2=</action>
2122 <action function="set">tw_backup_encrypt_display=</action>
2123 <action function="set">tw_backup_encrypt_display2=</action>
2124 <action function="page">backupencryption</action>
2125 </actions>
2126 </action>
2127 </page>
2128
2129 <page name="backup_run">
2130 <template name="page"/>
2131
2132 <text style="text_l">
2133 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2134 <text>%tw_operation%</text>
2135 </text>
2136
2137 <text style="text_m">
2138 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2139 <text>%tw_partition% Partition</text>
2140 </text>
2141
2142 <template name="console"/>
2143
2144 <template name="progress_bar"/>
2145
2146 <text style="text_m_accent">
2147 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002148 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002149 </text>
2150
2151 <text style="text_m">
2152 <placement x="%indent%" y="%row20_y%"/>
2153 <text>%tw_file_progress%</text>
2154 </text>
2155
2156 <text style="text_m">
2157 <placement x="%indent%" y="%row21_y%"/>
2158 <text>%tw_size_progress%</text>
2159 </text>
2160
2161 <button style="main_button_half_height">
2162 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002164 <action function="cancelbackup"/>
2165 </button>
2166
2167 <action>
2168 <action function="nandroid">backup</action>
2169 </action>
2170
2171 <action>
2172 <condition var1="tw_operation_state" var2="1"/>
2173 <condition var1="tw_cancel_backup" var2="0"/>
2174 <actions>
2175 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002176 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002177 <action function="set">tw_show_reboot=1</action>
2178 <action function="page">action_complete</action>
2179 </actions>
2180 </action>
2181
2182 <action>
2183 <condition var1="tw_operation_state" var2="1"/>
2184 <condition var1="tw_cancel_backup" var2="1"/>
2185 <actions>
2186 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002187 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002188 <action function="set">tw_show_reboot=1</action>
2189 <action function="page">action_complete</action>
2190 </actions>
2191 </action>
2192 </page>
2193
2194 <page name="restore">
2195 <template name="page"/>
2196
2197 <text style="text_l">
2198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 </text>
2201
2202 <text style="text_m">
2203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002204 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002205 </text>
2206
2207 <template name="sort_options"/>
2208
2209 <fileselector>
2210 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002211 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002212 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002213 <path name="tw_backups_folder"/>
2214 <data name="tw_restore" default=""/>
2215 <selection name="tw_restore_name"/>
2216 </fileselector>
2217
2218 <button style="main_button_half_height">
2219 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 <actions>
2222 <action function="set">tw_back=restore</action>
2223 <action function="overlay">select_storage</action>
2224 </actions>
2225 </button>
2226
2227 <action>
2228 <condition var1="tw_restore" op="modified"/>
2229 <actions>
2230 <action function="readBackup"/>
2231 <action function="page">restore_read</action>
2232 </actions>
2233 </action>
2234
2235 <action>
2236 <touch key="home"/>
2237 <action function="page">main</action>
2238 </action>
2239
2240 <action>
2241 <touch key="back"/>
2242 <action function="page">main</action>
2243 </action>
2244 </page>
2245
2246 <page name="restore_read">
2247 <action>
2248 <condition var1="tw_restore_encrypted" var2="1"/>
2249 <actions>
2250 <action function="set">tw_password_fail=0</action>
2251 <action function="page">restore_decrypt</action>
2252 </actions>
2253 </action>
2254
2255 <action>
2256 <condition var1="tw_restore_encrypted" var2="0"/>
2257 <actions>
2258 <action function="page">restore_select</action>
2259 </actions>
2260 </action>
2261 </page>
2262
2263 <page name="restore_decrypt">
2264 <template name="page"/>
2265
2266 <text style="text_l">
2267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002269 </text>
2270
2271 <text style="text_m">
2272 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002273 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002274 </text>
2275
2276 <text style="text_m_accent">
2277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002278 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </text>
2280
2281 <input>
2282 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2283 <text>%tw_restore_display%</text>
2284 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2285 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2286 <action function="page">try_restore_decrypt</action>
2287 </input>
2288
2289 <fill color="%accent_color%">
2290 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2291 </fill>
2292
2293 <fill color="%text_fail_color%">
2294 <condition var1="tw_password_fail" var2="1"/>
2295 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2296 </fill>
2297
2298 <text style="text_m_fail">
2299 <condition var1="tw_password_fail" var2="1"/>
2300 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002301 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002302 </text>
2303
2304 <button style="main_button_half_height">
2305 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 <actions>
2308 <action function="set">tw_page_done=1</action>
2309 <action function="page">restore</action>
2310 </actions>
2311 </button>
2312
2313 <button style="main_button_half_height">
2314 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002315 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <actions>
2317 <action function="set">tw_back=restore</action>
2318 <action function="set">tw_action=cmd</action>
2319 <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 -05002320 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2321 <action function="set">tw_text2=%tw_restore_name%</action>
2322 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2323 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2324 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2325 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002326 <action function="page">confirm_action</action>
2327 </actions>
2328 </button>
2329
2330 <template name="keyboardtemplate"/>
2331
2332 <action>
2333 <touch key="home"/>
2334 <action function="page">main</action>
2335 </action>
2336
2337 <action>
2338 <touch key="back"/>
2339 <action function="page">restore</action>
2340 </action>
2341 </page>
2342
2343 <page name="try_restore_decrypt">
2344 <template name="page"/>
2345
2346 <text style="text_l">
2347 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 </text>
2350
2351 <text style="text_m">
2352 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002353 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002354 </text>
2355
2356 <template name="console"/>
2357
2358 <template name="progress_bar"/>
2359
2360 <action>
2361 <action function="decrypt_backup"/>
2362 </action>
2363
2364 <action>
2365 <conditions>
2366 <condition var1="tw_operation_state" var2="1"/>
2367 <condition var1="tw_operation_status" op="!=" var2="0"/>
2368 </conditions>
2369 <actions>
2370 <action function="set">tw_password_fail=1</action>
2371 <action function="page">restore_decrypt</action>
2372 </actions>
2373 </action>
2374
2375 <action>
2376 <conditions>
2377 <condition var1="tw_operation_state" var2="1"/>
2378 <condition var1="tw_operation_status" op="=" var2="0"/>
2379 </conditions>
2380 <actions>
2381 <action function="set">tw_page_done=1</action>
2382 <action function="page">restore_select</action>
2383 </actions>
2384 </action>
2385 </page>
2386
2387 <page name="restore_select">
2388 <template name="page"/>
2389
2390 <text style="text_l">
2391 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <text style="text_m">
2396 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 </text>
2399
2400 <text style="text_m_accent">
2401 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002402 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002403 </text>
2404
2405 <text style="text_m">
2406 <placement x="%indent%" y="%row3_y%"/>
2407 <text>%tw_restore_name%</text>
2408 </text>
2409
2410 <fill color="%fileselector_linecolor%">
2411 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2412 </fill>
2413
2414 <button>
2415 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2416 <fill color="%transparent%"/>
2417 <actions>
2418 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2419 <action function="set">tw_fileexists=0</action>
2420 <action function="page">renamebackup</action>
2421 </actions>
2422 </button>
2423
2424 <partitionlist>
2425 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002426 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002427 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2428 <listtype name="restore"/>
2429 </partitionlist>
2430
2431 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002432 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002434 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2435 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </checkbox>
2437
2438 <button style="main_button_half_height">
2439 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <actions>
2442 <action function="set">tw_back=restore</action>
2443 <action function="set">tw_action=cmd</action>
2444 <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 -05002445 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2448 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2449 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2450 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002451 <action function="page">confirm_action</action>
2452 </actions>
2453 </button>
2454
2455 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 <action function="page">restore_run</action>
2458 </slider>
2459
2460 <action>
2461 <touch key="home"/>
2462 <action function="page">main</action>
2463 </action>
2464
2465 <action>
2466 <touch key="back"/>
2467 <action function="page">restore</action>
2468 </action>
2469 </page>
2470
2471 <page name="renamebackup">
2472 <template name="page"/>
2473
2474 <text style="text_l">
2475 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002476 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002477 </text>
2478
2479 <text style="text_m">
2480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002481 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002482 </text>
2483
2484 <text style="text_m_accent">
2485 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 </text>
2488
2489 <input>
2490 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2491 <text>%tw_backup_rename%</text>
2492 <data name="tw_backup_rename"/>
2493 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2494 <actions>
2495 <action function="set">tw_back=restore</action>
2496 <action function="set">tw_action=cmd</action>
2497 <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 -05002498 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2499 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2500 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2501 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2502 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2504 <action function="set">tw_existpage=renamebackup</action>
2505 <action function="set">tw_notexistpage=confirm_action</action>
2506 <action function="page">filecheck</action>
2507 </actions>
2508 </input>
2509
2510 <fill color="%accent_color%">
2511 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2512 </fill>
2513
2514 <fill color="%text_fail_color%">
2515 <condition var1="tw_fileexists" var2="1"/>
2516 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2517 </fill>
2518
2519 <text style="text_m_fail">
2520 <condition var1="tw_fileexists" var2="1"/>
2521 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002522 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002523 </text>
2524
2525 <button style="main_button_half_height">
2526 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 <action function="page">restore_select</action>
2529 </button>
2530
2531 <template name="keyboardtemplate"/>
2532
2533 <action>
2534 <touch key="home"/>
2535 <action function="page">main</action>
2536 </action>
2537
2538 <action>
2539 <touch key="back"/>
2540 <action function="page">restore_select</action>
2541 </action>
2542 </page>
2543
2544 <page name="restore_run">
2545 <template name="page"/>
2546
2547 <text style="text_l">
2548 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 </text>
2551
2552 <text style="text_m">
2553 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2554 <text>%tw_operation% %tw_partition%</text>
2555 </text>
2556
2557 <template name="console"/>
2558
2559 <template name="progress_bar"/>
2560
2561 <text style="text_m_accent">
2562 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002563 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002564 </text>
2565
2566 <text style="text_m">
2567 <placement x="%indent%" y="%row20_y%"/>
2568 <text>%tw_size_progress%</text>
2569 </text>
2570
2571 <action>
2572 <condition var1="tw_operation_state" var2="1"/>
2573 <actions>
2574 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002575 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002576 <action function="set">tw_show_reboot=1</action>
2577 <action function="page">action_complete</action>
2578 </actions>
2579 </action>
2580
2581 <action>
2582 <action function="nandroid">restore</action>
2583 </action>
2584 </page>
2585
2586 <page name="mount">
2587 <template name="page"/>
2588
2589 <text style="text_l">
2590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002591 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002592 </text>
2593
2594 <text style="text_m">
2595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002596 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002597 </text>
2598
2599 <partitionlist>
2600 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002601 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002602 <listtype name="mount"/>
2603 </partitionlist>
2604
2605 <button style="checkbox">
2606 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2607 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 <image resource="checkbox_false"/>
2610 <action function="mountsystemtoggle">1</action>
2611 </button>
2612
2613 <button style="checkbox">
2614 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2615 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002616 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002617 <image resource="checkbox_true"/>
2618 <actions>
2619 <action function="set">tw_lifetime_writes=2</action>
2620 <action function="page">system_readonly_check</action>
2621 </actions>
2622 </button>
2623
2624 <button style="main_button_half_height">
2625 <condition var1="tw_has_usb_storage" var2="1"/>
2626 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002627 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002628 <action function="page">usb_mount</action>
2629 </button>
2630
2631 <button style="main_button_half_height">
2632 <conditions>
2633 <condition var1="tw_is_encrypted" var2="1"/>
2634 <condition var1="tw_is_decrypted" var2="0"/>
2635 </conditions>
2636 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002637 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002638 <action function="page">decrypt</action>
2639 </button>
2640
2641 <button style="main_button_half_height">
2642 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002643 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002644 <actions>
2645 <action function="set">tw_back=mount</action>
2646 <action function="overlay">select_storage</action>
2647 </actions>
2648 </button>
2649
2650 <button style="main_button_half_height">
2651 <conditions>
2652 <condition var1="tw_has_mtp" var2="1"/>
2653 <condition var1="tw_mtp_enabled" var2="0"/>
2654 </conditions>
2655 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <action function="startmtp"/>
2658 </button>
2659
2660 <button style="main_button_half_height">
2661 <conditions>
2662 <condition var1="tw_has_mtp" var2="1"/>
2663 <condition var1="tw_mtp_enabled" var2="1"/>
2664 </conditions>
2665 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <action function="stopmtp"/>
2668 </button>
2669
2670 <action>
2671 <touch key="home"/>
2672 <action function="page">main</action>
2673 </action>
2674
2675 <action>
2676 <touch key="back"/>
2677 <action function="page">main</action>
2678 </action>
2679 </page>
2680
2681 <page name="usb_mount">
2682 <template name="page"/>
2683
2684 <text style="text_l">
2685 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002686 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002687 </text>
2688
2689 <text style="text_m">
2690 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002691 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002692 </text>
2693
2694 <text style="text_m_accent">
2695 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 </text>
2698
2699 <text style="text_m">
2700 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002701 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002702 </text>
2703
2704 <text style="text_m">
2705 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002706 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </text>
2708
2709 <button style="main_button_half_height">
2710 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 <action function="page">usb_umount</action>
2713 </button>
2714
2715 <action>
2716 <action function="mount">usb</action>
2717 <action function="set">tw_busy=1</action>
2718 </action>
2719 </page>
2720
2721 <page name="usb_umount">
2722 <action>
2723 <action function="unmount">usb</action>
2724 </action>
2725
2726 <action>
2727 <action function="page">mount</action>
2728 <action function="set">tw_busy=0</action>
2729 </action>
2730 </page>
2731
2732 <page name="system_readonly_check">
2733 <action>
2734 <action function="checkpartitionlifetimewrites">/system</action>
2735 </action>
2736
2737 <action>
2738 <condition var1="tw_lifetime_writes" var2="1"/>
2739 <actions>
2740 <action function="mountsystemtoggle">0</action>
2741 <action function="page">mount</action>
2742 </actions>
2743 </action>
2744
2745 <action>
2746 <condition var1="tw_lifetime_writes" var2="0"/>
2747 <actions>
2748 <action function="set">tw_back=mount</action>
2749 <action function="page">system_readonly</action>
2750 </actions>
2751 </action>
2752 </page>
2753
2754 <page name="reboot">
2755 <template name="page"/>
2756
2757 <text style="text_l">
2758 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002759 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002760 </text>
2761
2762 <button style="main_button">
2763 <condition var1="tw_reboot_system" var2="1"/>
2764 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002765 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002766 <actions>
2767 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002768 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002769 </actions>
2770 </button>
2771
2772 <button style="main_button">
2773 <condition var1="tw_reboot_poweroff" var2="1"/>
2774 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002776 <actions>
2777 <action function="set">tw_back=reboot</action>
2778 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002779 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002780 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002782 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2783 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2784 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2785 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2786 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002787 <action function="page">rebootcheck</action>
2788 </actions>
2789 </button>
2790
2791 <button style="main_button">
2792 <condition var1="tw_reboot_recovery" var2="1"/>
2793 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002794 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002795 <actions>
2796 <action function="set">tw_back=reboot</action>
2797 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002798 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002799 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002800 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2802 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2803 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2804 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2805 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002806 <action function="page">rebootcheck</action>
2807 </actions>
2808 </button>
2809
2810 <button style="main_button">
2811 <condition var1="tw_reboot_bootloader" var2="1"/>
2812 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <actions>
2815 <action function="set">tw_back=reboot</action>
2816 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002817 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002818 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002819 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2821 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2822 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2823 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2824 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002825 <action function="page">rebootcheck</action>
2826 </actions>
2827 </button>
2828
2829 <button style="main_button">
2830 <condition var1="tw_download_mode" var2="1"/>
2831 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002833 <actions>
2834 <action function="set">tw_back=reboot</action>
2835 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002836 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002837 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002839 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2840 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2841 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2842 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2843 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="page">rebootcheck</action>
2845 </actions>
2846 </button>
2847
Ethan Yonker1b190162016-12-05 15:25:19 -06002848 <text style="text_m">
2849 <condition var1="tw_has_boot_slots" var2="1"/>
2850 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2851 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2852 </text>
2853
2854 <button style="main_button">
2855 <condition var1="tw_has_boot_slots" var2="1"/>
2856 <placement x="%indent%" y="%row19_y%"/>
2857 <text>{@boot_slot_a=Slot A}</text>
2858 <actions>
2859 <action function="set">tw_back=reboot</action>
2860 <action function="set">tw_action=setbootslot</action>
2861 <action function="set">tw_action_param=A</action>
2862 <action function="set">tw_has_action2=0</action>
2863 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2864 <action function="set">tw_action_text2=</action>
2865 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2866 <action function="page">action_page</action>
2867 </actions>
2868 </button>
2869
2870 <button style="main_button">
2871 <condition var1="tw_has_boot_slots" var2="1"/>
2872 <placement x="%center_x%" y="%row19_y%"/>
2873 <text>{@boot_slot_b=Slot B}</text>
2874 <actions>
2875 <action function="set">tw_back=reboot</action>
2876 <action function="set">tw_action=setbootslot</action>
2877 <action function="set">tw_action_param=B</action>
2878 <action function="set">tw_has_action2=0</action>
2879 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2880 <action function="set">tw_action_text2=</action>
2881 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2882 <action function="page">action_page</action>
2883 </actions>
2884 </button>
2885
z31s1g28f0a922015-11-07 18:50:22 +01002886 <action>
2887 <touch key="home"/>
2888 <action function="page">main</action>
2889 </action>
2890
2891 <action>
2892 <touch key="back"/>
2893 <action function="page">main</action>
2894 </action>
2895 </page>
2896
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002897 <page name="rebootapp">
2898 <template name="page"/>
2899
2900 <text style="text_l">
2901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2902 <text>{@reboot_hdr=Reboot}</text>
2903 </text>
2904
2905 <text style="text_m">
2906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2907 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2908 </text>
2909
2910 <text style="text_m_accent">
2911 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2912 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2913 </text>
2914
2915 <text style="text_m_accent">
2916 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2917 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2918 </text>
2919
2920 <checkbox>
2921 <placement x="%indent%" y="%row5_y%"/>
2922 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2923 <data variable="tw_app_prompt"/>
2924 </checkbox>
2925
2926 <checkbox>
2927 <condition var1="tw_mount_system_ro" var2="0"/>
2928 <placement x="%indent%" y="%row7_y%"/>
2929 <text>{@reboot_install_app_system=Install as a System App}</text>
2930 <data variable="tw_app_install_system"/>
2931 </checkbox>
2932
2933 <button style="main_button_half_height">
2934 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002935 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002936 <action function="reboot">%tw_reboot_param%</action>
2937 </button>
2938
2939 <slider>
2940 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2941 <actions>
2942 <action function="set">tw_back=reboot</action>
2943 <action function="set">tw_action=installapp</action>
2944 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2945 <action function="set">tw_action_text2=</action>
2946 <action function="set">tw_has_action2=1</action>
2947 <action function="set">tw_action2=reboot</action>
2948 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2949 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2950 <action function="page">action_page</action>
2951 </actions>
2952 </slider>
2953
2954 <action>
2955 <touch key="home"/>
2956 <actions>
2957 <action function="set">tw_app_install_status=0</action>
2958 <action function="page">main</action>
2959 </actions>
2960 </action>
2961
2962 <action>
2963 <touch key="back"/>
2964 <actions>
2965 <action function="set">tw_app_install_status=0</action>
2966 <action function="page">reboot</action>
2967 </actions>
2968 </action>
2969 </page>
2970
z31s1g28f0a922015-11-07 18:50:22 +01002971 <page name="system_readonly">
2972 <template name="page"/>
2973
2974 <text style="text_l">
2975 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 </text>
2978
2979 <text style="text_m_accent">
2980 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </text>
2983
2984 <text style="text_m">
2985 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </text>
2988
2989 <text style="text_m">
2990 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </text>
2993
2994 <text style="text_m">
2995 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <text style="text_m">
3000 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 </text>
3003
3004 <text style="text_m_fail">
3005 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003007 </text>
3008
3009 <text style="text_m_fail">
3010 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </text>
3013
3014 <checkbox>
3015 <condition var1="tw_is_encrypted" var2="0"/>
3016 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 <data variable="tw_never_show_system_ro_page"/>
3019 </checkbox>
3020
3021 <button style="main_button_half_height">
3022 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <actions>
3025 <action function="mountsystemtoggle">1</action>
3026 <action function="set">tw_page_done=1</action>
3027 <action function="page">%tw_back%</action>
3028 </actions>
3029 </button>
3030
z31s1g608d7ff2016-01-18 19:47:25 +01003031 <button style="main_button_half_height">
3032 <placement x="%center_x%" y="%row18a_y%"/>
3033 <text>{@sel_lang_btn=Select Language}</text>
3034 <action function="overlay">select_language</action>
3035 </button>
3036
z31s1g28f0a922015-11-07 18:50:22 +01003037 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <actions>
3040 <action function="mountsystemtoggle">0</action>
3041 <action function="set">tw_page_done=1</action>
3042 <action function="page">%tw_back%</action>
3043 </actions>
3044 </slider>
3045 </page>
3046
3047 <page name="settings">
3048 <template name="page"/>
3049
3050 <text style="text_l">
3051 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 </text>
3054
3055 <text style="text_m">
3056 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </text>
3059
3060 <template name="tabs_settings"/>
3061
3062 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003064 </fill>
3065
3066 <listbox style="scrolllist">
3067 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3068 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003070 <data variable="tw_signed_zip_verify"/>
3071 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003072 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3073 <data variable="tw_install_reboot"/>
3074 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003076 <data variable="tw_rm_rf"/>
3077 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003078 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3079 <data variable="tw_disable_free_space"/>
3080 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003081 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3082 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003083 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003084 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3085 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003087 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003088 <data variable="tw_military_time"/>
3089 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003091 <data variable="tw_samsung_navbar"/>
3092 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003093 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3094 <data variable="tw_app_prompt"/>
3095 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003097 <data variable="tw_simulate_actions"/>
3098 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003100 <condition var1="tw_simulate_actions" var2="1"/>
3101 <data variable="tw_simulate_fail"/>
3102 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003103 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3104 <condition var1="tw_no_sha2" var2="0"/>
3105 <data variable="tw_use_sha2"/>
3106 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003107 </listbox>
3108
3109 <button style="main_button_half_height">
3110 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003112 <actions>
3113 <action function="set">tw_samsung_navbar=0</action>
3114 <action function="set">tw_tab_icons=0</action>
3115 <action function="restoredefaultsettings"/>
3116 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003117 </button>
3118
3119 <action>
3120 <touch key="home"/>
3121 <action function="page">main</action>
3122 </action>
3123
3124 <action>
3125 <touch key="back"/>
3126 <action function="page">main</action>
3127 </action>
3128 </page>
3129
3130 <page name="settings_timezone">
3131 <template name="page"/>
3132
3133 <text style="text_l">
3134 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003136 </text>
3137
3138 <text style="text_m">
3139 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 </text>
3142
3143 <template name="tabs_settings"/>
3144
3145 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003147 </fill>
3148
3149 <listbox>
3150 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3154 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3155 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3156 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3157 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3158 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3159 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3160 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3161 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3162 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3163 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3164 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3165 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3166 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3167 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3168 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3169 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3170 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3171 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3172 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3173 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3174 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3175 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3176 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003177 </listbox>
3178
3179 <text style="text_m_accent">
3180 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 </text>
3183
3184 <button style="button_quarter_width">
3185 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 <action function="set">tw_time_zone_guioffset=0</action>
3188 </button>
3189
3190 <button style="button_quarter_width">
3191 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003193 <action function="set">tw_time_zone_guioffset=15</action>
3194 </button>
3195
3196 <button style="button_quarter_width">
3197 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003199 <action function="set">tw_time_zone_guioffset=30</action>
3200 </button>
3201
3202 <button style="button_quarter_width">
3203 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003205 <action function="set">tw_time_zone_guioffset=45</action>
3206 </button>
3207
3208 <checkbox>
3209 <placement x="%indent%" y="%row18a_y%"/>
3210 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003211 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <data variable="tw_time_zone_guidst"/>
3213 <image checked="checkbox_true" unchecked="checkbox_false"/>
3214 </checkbox>
3215
3216 <text color="%text_color%">
3217 <font resource="font_m"/>
3218 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </text>
3221
3222 <button>
3223 <highlight color="%highlight_color%"/>
3224 <placement x="%center_x%" y="%row21a_y%"/>
3225 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003227 <image resource="main_button_half_height"/>
3228 <action function="setguitimezone"/>
3229 </button>
3230
3231 <action>
3232 <touch key="home"/>
3233 <action function="page">main</action>
3234 </action>
3235
3236 <action>
3237 <touch key="back"/>
3238 <action function="page">main</action>
3239 </action>
3240 </page>
3241
3242 <page name="settings_screen">
3243 <template name="page"/>
3244
3245 <text style="text_l">
3246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003247 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003248 </text>
3249
3250 <text style="text_m">
3251 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </text>
3254
3255 <template name="tabs_settings"/>
3256
3257 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003258 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003259 </fill>
3260
3261 <button>
3262 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3263 <font resource="font_m" color="%text_color%"/>
3264 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3265 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 <image resource="checkbox_false"/>
3268 <action function="set">tw_screen_timeout_secs=60</action>
3269 </button>
3270
3271 <button>
3272 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3273 <font resource="font_m" color="%text_color%"/>
3274 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3275 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003277 <image resource="checkbox_true"/>
3278 <action function="set">tw_screen_timeout_secs=0</action>
3279 </button>
3280
3281 <slidervalue>
3282 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3283 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3284 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3287 </slidervalue>
3288
3289 <slidervalue>
3290 <condition var1="tw_has_brightnesss_file" var2="1"/>
3291 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <data variable="tw_brightness_pct" min="10" max="100"/>
3294 <actions>
3295 <action function="set">tw_brightness=%tw_brightness_max%</action>
3296 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3297 <action function="compute">tw_brightness/100</action>
3298 <action function="setbrightness">%tw_brightness%</action>
3299 </actions>
3300 </slidervalue>
3301
3302 <action>
3303 <touch key="home"/>
3304 <action function="page">main</action>
3305 </action>
3306
3307 <action>
3308 <touch key="back"/>
3309 <action function="page">main</action>
3310 </action>
3311 </page>
3312
3313 <page name="settings_vibration">
3314 <template name="page"/>
3315
3316 <text style="text_l">
3317 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 </text>
3320
3321 <text style="text_m">
3322 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <template name="tabs_settings"/>
3327
3328 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </fill>
3331
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003332 <text style="text_m">
3333 <condition var1="tw_disable_haptics" var2="1"/>
3334 <placement x="%indent%" y="%row4_y%"/>
3335 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3336 </text>
3337
z31s1g28f0a922015-11-07 18:50:22 +01003338 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003339 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 <data variable="tw_button_vibrate" min="0" max="300"/>
3343 </slidervalue>
3344
3345 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003346 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3350 </slidervalue>
3351
3352 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003353 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003354 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <data variable="tw_action_vibrate" min="0" max="500"/>
3357 </slidervalue>
3358
3359 <action>
3360 <touch key="home"/>
3361 <action function="page">main</action>
3362 </action>
3363
3364 <action>
3365 <touch key="back"/>
3366 <action function="page">main</action>
3367 </action>
3368 </page>
3369
Ethan Yonker74db1572015-10-28 12:44:49 -05003370 <page name="settings_language">
3371 <template name="page"/>
3372
3373 <text style="text_l">
3374 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3375 <text>{@settings_hdr=Settings}</text>
3376 </text>
3377
3378 <text style="text_m">
3379 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3380 <text>{@language_hdr=Language - %tw_language_display%}</text>
3381 </text>
3382
3383 <template name="tabs_settings"/>
3384
3385 <fill color="%text_color%">
3386 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3387 </fill>
3388
3389 <listbox>
3390 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3391 <text>{@select_language=Select Language:}</text>
3392 <icon selected="radio_true" unselected="radio_false" />
3393 <data name="tw_language" />
3394 </listbox>
3395
3396 <button style="main_button_half_height">
3397 <placement x="%center_x%" y="%row21a_y%"/>
3398 <text>{@set_language_btn=Set Language}</text>
3399 <action function="setlanguage"></action>
3400 </button>
3401
3402 <action>
3403 <touch key="home" />
3404 <action function="page">main</action>
3405 </action>
3406
3407 <action>
3408 <touch key="back" />
3409 <action function="page">settings</action>
3410 </action>
3411 </page>
3412
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003413 <page name="copylog">
3414 <template name="page"/>
3415
3416 <text style="text_l">
3417 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3418 <text>{@copying_log=Copy Logs to SD Card}</text>
3419 </text>
3420
3421 <checkbox>
3422 <placement x="%indent%" y="%row4_y%"/>
3423 <text>{@include_kernel_log=Include Kernel Log}</text>
3424 <data variable="tw_include_kernel_log" value="1"/>
3425 </checkbox>
3426
3427 <slider>
3428 <text>{@copying_log=Copy Logs to SD Card}</text>
3429 <actions>
3430 <action function="set">tw_back=advanced</action>
3431 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003432 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3433 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003434 <action function="page">action_page</action>
3435 </actions>
3436 </slider>
3437
3438 <action>
3439 <touch key="home"/>
3440 <action function="page">main</action>
3441 </action>
3442
3443 <action>
3444 <touch key="back"/>
3445 <actions>
3446 <action function="page">advanced</action>
3447 </actions>
3448 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003449 </page>
3450
z31s1g28f0a922015-11-07 18:50:22 +01003451 <page name="advanced">
3452 <template name="page"/>
3453
3454 <text style="text_l">
3455 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003457 </text>
3458
3459 <button style="main_button">
3460 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003462 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003463 </button>
3464
3465 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003466 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003468 <text>{@fix_context_btn=Fix Contexts}</text>
3469 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003470 </button>
3471
3472 <button style="main_button">
3473 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3474 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003476 <actions>
3477 <action function="set">partitionlisterror=0</action>
3478 <action function="page">partsdcardsel</action>
3479 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </button>
3481
3482 <button style="main_button">
3483 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <action function="page">filemanagerlist</action>
3486 </button>
3487
3488 <button style="main_button">
3489 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003491 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003492 </button>
3493
3494 <button style="main_button">
3495 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003497 <action function="reload"/>
3498 </button>
3499
3500 <button style="main_button">
3501 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 <action function="page">sideload</action>
3504 </button>
3505
3506 <button style="main_button">
3507 <condition var1="tw_show_dumlock" var2="1"/>
3508 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003510 <action function="page">htcdumlock</action>
3511 </button>
3512
3513 <button style="main_button">
3514 <condition var1="tw_has_injecttwrp" var2="1"/>
3515 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003517 <actions>
3518 <action function="set">tw_back=advanced</action>
3519 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3521 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3522 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3523 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <action function="page">confirm_action</action>
3525 </actions>
3526 </button>
3527
3528 <action>
3529 <touch key="home"/>
3530 <action function="page">main</action>
3531 </action>
3532
3533 <action>
3534 <touch key="back"/>
3535 <action function="page">main</action>
3536 </action>
3537 </page>
3538
Ethan Yonker483e9f42016-01-11 22:21:18 -06003539 <page name="partsdcardsel">
3540 <template name="page"/>
3541
3542 <text style="text_l">
3543 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3544 <text>{@advanced_hdr=Advanced}</text>
3545 </text>
3546
3547 <text style="text_m">
3548 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3549 <text>{@part_sd_hdr=Partition SD Card}</text>
3550 </text>
3551
z31s1g782e1c92016-01-30 16:50:09 +01003552 <partitionlist>
3553 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003554 <text>{@sel_storage_list=Select Storage}</text>
3555 <data name="tw_storage_path"/>
3556 <listtype name="storage"/>
3557 </partitionlist>
3558
3559 <text style="text_m_fail">
3560 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003561 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003562 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3563 </text>
3564
z31s1g782e1c92016-01-30 16:50:09 +01003565 <button style="main_button_half_height">
3566 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003567 <text>{@ok_btn=OK}</text>
3568 <actions>
3569 <action function="getpartitiondetails">tw_storage_path</action>
3570 <action function="page">partsdcardcheck</action>
3571 </actions>
3572 </button>
3573
3574 <action>
3575 <touch key="home"/>
3576 <action function="page">main</action>
3577 </action>
3578
3579 <action>
3580 <touch key="back"/>
3581 <action function="page">advanced</action>
3582 </action>
3583 </page>
3584
3585 <page name="partsdcardcheck">
3586 <action>
3587 <condition var1="tw_partition_removable" op="=" var2="1"/>
3588 <actions>
3589 <action function="set">partitionlisterror=0</action>
3590 <action function="page">partsdcard</action>
3591 </actions>
3592 </action>
3593
3594 <action>
3595 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3596 <actions>
3597 <action function="set">partitionlisterror=1</action>
3598 <action function="page">partsdcardsel</action>
3599 </actions>
3600 </action>
3601 </page>
3602
z31s1g28f0a922015-11-07 18:50:22 +01003603 <page name="partsdcard">
3604 <template name="page"/>
3605
3606 <text style="text_l">
3607 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 </text>
3610
3611 <text style="text_m">
3612 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <text style="text_m_fail">
3617 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 </text>
3620
3621 <text style="text_m_fail">
3622 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003624 </text>
3625
3626 <text style="text_m_accent">
3627 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003629 </text>
3630
3631 <text style="text_m">
3632 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3633 <text>%tw_sdext_size%</text>
3634 </text>
3635
3636 <button style="button_quarter_width">
3637 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003639 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </button>
3641
3642 <button style="button_quarter_width">
3643 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003645 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </button>
3647
3648 <text style="text_m_accent">
3649 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 </text>
3652
3653 <text style="text_m">
3654 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3655 <text>%tw_swap_size%</text>
3656 </text>
3657
3658 <button style="button_quarter_width">
3659 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003661 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003662 </button>
3663
3664 <button style="button_quarter_width">
3665 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003667 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </button>
3669
3670 <text style="text_m_accent">
3671 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 </text>
3674
3675 <text style="text_m">
3676 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3677 <text>%tw_sdpart_file_system%</text>
3678 </text>
3679
3680 <button style="button_quarter_width">
3681 <placement x="%indent%" y="%row14_y%"/>
3682 <text>EXT3</text>
3683 <action function="set">tw_sdpart_file_system=ext3</action>
3684 </button>
3685
3686 <button style="button_quarter_width">
3687 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3688 <text>EXT4</text>
3689 <action function="set">tw_sdpart_file_system=ext4</action>
3690 </button>
3691
3692 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 <action function="page">partsdcardaction</action>
3695 <actions>
3696 <action function="set">tw_back=partsdcard</action>
3697 <action function="set">tw_action=partitionsd</action>
3698 <action function="set">tw_has_action2=1</action>
3699 <action function="set">tw_action2=set</action>
3700 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3702 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3703 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003704 <action function="page">action_page</action>
3705 </actions>
3706 </slider>
3707
3708 <action>
3709 <touch key="home"/>
3710 <action function="page">main</action>
3711 </action>
3712
3713 <action>
3714 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003715 <actions>
3716 <action function="set">partitionlisterror=0</action>
3717 <action function="page">partsdcardsel</action>
3718 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </action>
3720 </page>
3721
3722 <page name="htcdumlock">
3723 <template name="page"/>
3724
3725 <text style="text_l">
3726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003727 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003728 </text>
3729
3730 <text style="text_m">
3731 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 </text>
3734
3735 <button style="main_button_half_height_full_width">
3736 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <actions>
3739 <action function="set">tw_back=htcdumlock</action>
3740 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3742 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3743 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3744 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003745 <action function="page">confirm_action</action>
3746 </actions>
3747 </button>
3748
3749 <button style="main_button_half_height_full_width">
3750 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 <actions>
3753 <action function="set">tw_back=htcdumlock</action>
3754 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3756 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3757 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3758 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003759 <action function="page">confirm_action</action>
3760 </actions>
3761 </button>
3762
3763 <button style="main_button_half_height_full_width">
3764 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 <actions>
3767 <action function="set">tw_back=htcdumlock</action>
3768 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3770 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3771 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3772 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003773 <action function="page">confirm_action</action>
3774 </actions>
3775 </button>
3776
3777 <action>
3778 <touch key="home"/>
3779 <action function="page">main</action>
3780 </action>
3781
3782 <action>
3783 <touch key="back"/>
3784 <action function="page">advanced</action>
3785 </action>
3786 </page>
3787
3788 <page name="lock">
3789 <background color="%semi_transparent%"/>
3790
3791 <image>
3792 <image resource="unlock_icon"/>
3793 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3794 </image>
3795
3796 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 <action function="overlay"/>
3799 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003800
3801 <action>
3802 <touch key="power"/>
3803 <action function="togglebacklight"/>
3804 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003805 </page>
3806
3807 <page name="filemanagerlist">
3808 <template name="page"/>
3809
3810 <text style="text_l">
3811 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003812 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003813 </text>
3814
3815 <text style="text_m">
3816 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003818 </text>
3819
3820 <template name="sort_options"/>
3821
3822 <fileselector>
3823 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3824 <text>%tw_file_location1%</text>
3825 <filter folders="1" files="1"/>
3826 <path name="tw_file_location1" default="/"/>
3827 <data name="tw_filename1"/>
3828 <selection name="tw_selection1"/>
3829 </fileselector>
3830
3831 <button style="fab">
3832 <image resource="fab_selectfolder"/>
3833 <actions>
3834 <action function="set">tw_filename1=tw_file_location1</action>
3835 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003836 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003837 <action function="page">filemanageroptions</action>
3838 </actions>
3839 </button>
3840
3841 <action>
3842 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003843 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003844 <action function="set">tw_fm_isfolder=0</action>
3845 </actions>
3846 </action>
3847
3848 <action>
3849 <touch key="home"/>
3850 <action function="page">main</action>
3851 </action>
3852
3853 <action>
3854 <touch key="back"/>
3855 <action function="page">advanced</action>
3856 </action>
3857
3858 <action>
3859 <condition var1="tw_filename1" op="modified"/>
3860 <action function="page">filemanageroptions</action>
3861 </action>
3862 </page>
3863
3864 <page name="filemanageroptions">
3865 <template name="page"/>
3866
3867 <text style="text_l">
3868 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 </text>
3871
3872 <text style="text_m">
3873 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <text style="text_m_accent">
3878 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <text style="text_m">
3883 <placement x="%indent%" y="%row3_y%"/>
3884 <text>%tw_filename1%</text>
3885 </text>
3886
3887 <button style="main_button_half_height">
3888 <condition var1="tw_fm_isfolder" var2="0"/>
3889 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <actions>
3892 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003893 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003894 <action function="page">choosedestinationfolder</action>
3895 </actions>
3896 </button>
3897
3898 <button style="main_button_half_height">
3899 <condition var1="tw_fm_isfolder" var2="1"/>
3900 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003902 <actions>
3903 <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 -05003904 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003905 <action function="page">choosedestinationfolder</action>
3906 </actions>
3907 </button>
3908
3909 <button style="main_button_half_height">
3910 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003912 <actions>
3913 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003915 <action function="page">choosedestinationfolder</action>
3916 </actions>
3917 </button>
3918
3919 <button style="main_button_half_height">
3920 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 <actions>
3923 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003925 <action function="set">tw_fm_text2=</action>
3926 <action function="set">tw_fm_text3=</action>
3927 <action function="set">tw_include_text3=0</action>
3928 <action function="set">tw_back=filemanageroptions</action>
3929 <action function="page">filemanagerconfirm</action>
3930 </actions>
3931 </button>
3932
3933 <button style="main_button_half_height">
3934 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 <actions>
3937 <action function="set">tw_filemanager_rename=0000</action>
3938 <action function="set">tw_fm_text2=</action>
3939 <action function="set">tw_fm_text3=</action>
3940 <action function="set">tw_include_text3=0</action>
3941 <action function="set">tw_back=filemanageroptions</action>
3942 <action function="page">filemanagerchmod</action>
3943 </actions>
3944 </button>
3945
3946 <button style="main_button_half_height">
3947 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003948 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003949 <actions>
3950 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003951 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003952 <action function="set">tw_fm_text2=</action>
3953 <action function="set">tw_fm_text3=</action>
3954 <action function="set">tw_include_text3=0</action>
3955 <action function="set">tw_back=filemanageroptions</action>
3956 <action function="page">filemanagerconfirm</action>
3957 </actions>
3958 </button>
3959
3960 <button style="main_button_half_height">
3961 <condition var1="tw_fm_isfolder" var2="0"/>
3962 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <actions>
3965 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003967 <action function="set">tw_filemanager_command=mv</action>
3968 <action function="page">filemanagerrenamefile</action>
3969 </actions>
3970 </button>
3971
3972 <button style="main_button_half_height">
3973 <condition var1="tw_fm_isfolder" var2="1"/>
3974 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <actions>
3977 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003979 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3980 <action function="page">filemanagerrenamefolder</action>
3981 </actions>
3982 </button>
3983
3984 <action>
3985 <touch key="home"/>
3986 <action function="page">main</action>
3987 </action>
3988
3989 <action>
3990 <touch key="back"/>
3991 <action function="page">filemanagerlist</action>
3992 </action>
3993 </page>
3994
3995 <page name="choosedestinationfolder">
3996 <template name="page"/>
3997
3998 <text style="text_l">
3999 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004001 </text>
4002
4003 <text style="text_m">
4004 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004006 </text>
4007
4008 <template name="sort_options"/>
4009
4010 <fileselector>
4011 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4012 <text>%tw_file_location2%</text>
4013 <filter folders="1" files="0"/>
4014 <path name="tw_file_location2" default="/"/>
4015 <data name="tw_filename2"/>
4016 <selection name="tw_selection2"/>
4017 </fileselector>
4018
4019 <button style="fab">
4020 <image resource="fab_selectfolder"/>
4021 <actions>
4022 <action function="set">tw_fm_text2=to</action>
4023 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4024 <action function="set">tw_include_text3=1</action>
4025 <action function="set">tw_back=filemanageroptions</action>
4026 <action function="page">filemanagerconfirm</action>
4027 </actions>
4028 </button>
4029
4030 <action>
4031 <touch key="home"/>
4032 <action function="page">main</action>
4033 </action>
4034
4035 <action>
4036 <touch key="back"/>
4037 <action function="page">filemanageroptions</action>
4038 </action>
4039 </page>
4040
4041 <page name="filemanagerrenamefile">
4042 <template name="page"/>
4043
4044 <text style="text_l">
4045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 </text>
4048
4049 <text style="text_m">
4050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004051 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004052 </text>
4053
4054 <text style="text_m_accent">
4055 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004057 </text>
4058
4059 <input>
4060 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4061 <text>%tw_filemanager_rename%</text>
4062 <data name="tw_filemanager_rename"/>
4063 <restrict minlen="1" maxlen="128"/>
4064 <actions>
4065 <action function="set">tw_fm_text2=to</action>
4066 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4067 <action function="set">tw_include_text3=1</action>
4068 <action function="set">tw_back=filemanageroptions</action>
4069 <action function="page">filemanagerconfirm</action>
4070 </actions>
4071 </input>
4072
4073 <fill color="%accent_color%">
4074 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4075 </fill>
4076
4077 <button style="main_button_half_height">
4078 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <action function="page">filemanageroptions</action>
4081 </button>
4082
4083 <template name="keyboardtemplate"/>
4084
4085 <action>
4086 <touch key="home"/>
4087 <action function="page">main</action>
4088 </action>
4089
4090 <action>
4091 <touch key="back"/>
4092 <action function="page">filemanageroptions</action>
4093 </action>
4094 </page>
4095
4096 <page name="filemanagerrenamefolder">
4097 <template name="page"/>
4098
4099 <text style="text_l">
4100 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <text style="text_m">
4105 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 </text>
4108
4109 <text style="text_m_accent">
4110 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004112 </text>
4113
4114 <input>
4115 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4116 <text>%tw_filemanager_rename%</text>
4117 <data name="tw_filemanager_rename"/>
4118 <restrict minlen="1" maxlen="128"/>
4119 <actions>
4120 <action function="set">tw_fm_text2=to</action>
4121 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4122 <action function="set">tw_include_text3=1</action>
4123 <action function="set">tw_back=filemanageroptions</action>
4124 <action function="page">filemanagerconfirm</action>
4125 </actions>
4126 </input>
4127
4128 <fill color="%accent_color%">
4129 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4130 </fill>
4131
4132 <button style="main_button_half_height">
4133 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004134 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004135 <action function="page">filemanageroptions</action>
4136 </button>
4137
4138 <template name="keyboardtemplate"/>
4139
4140 <action>
4141 <touch key="home"/>
4142 <action function="page">main</action>
4143 </action>
4144
4145 <action>
4146 <touch key="back"/>
4147 <action function="page">filemanageroptions</action>
4148 </action>
4149 </page>
4150
4151 <page name="filemanagerchmod">
4152 <template name="page"/>
4153
4154 <text style="text_l">
4155 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <text style="text_m">
4160 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </text>
4163
4164 <text style="text_m_accent">
4165 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004166 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004167 </text>
4168
4169 <input>
4170 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4171 <text>%tw_filemanager_rename%</text>
4172 <data name="tw_filemanager_rename"/>
4173 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4174 <actions>
4175 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4176 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4177 <action function="set">tw_back=filemanageroptions</action>
4178 <action function="page">filemanagerconfirm</action>
4179 </actions>
4180 </input>
4181
4182 <fill color="%accent_color%">
4183 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4184 </fill>
4185
4186 <button style="main_button_half_height">
4187 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004189 <action function="page">filemanageroptions</action>
4190 </button>
4191
4192 <template name="keyboardtemplate"/>
4193
4194 <action>
4195 <touch key="home"/>
4196 <action function="page">main</action>
4197 </action>
4198
4199 <action>
4200 <touch key="back"/>
4201 <action function="page">filemanageroptions</action>
4202 </action>
4203 </page>
4204
4205 <page name="filemanagerconfirm">
4206 <template name="page"/>
4207
4208 <text style="text_l">
4209 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004210 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004211 </text>
4212
4213 <text style="text_m">
4214 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004215 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004216 </text>
4217
4218 <text style="text_m_accent">
4219 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4220 <text>%tw_fm_text1%</text>
4221 </text>
4222
4223 <text style="text_m">
4224 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4225 <text>%tw_filename1%</text>
4226 </text>
4227
4228 <text style="text_m_accent">
4229 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4230 <text>%tw_fm_text2%</text>
4231 </text>
4232
4233 <text style="text_m">
4234 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4235 <text>%tw_fm_text3%</text>
4236 </text>
4237
4238 <text style="text_m">
4239 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </text>
4242
4243 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004244 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004245 <action function="page">filemanageraction</action>
4246 </slider>
4247
4248 <action>
4249 <touch key="back"/>
4250 <action function="page">%tw_back%</action>
4251 </action>
4252
4253 <action>
4254 <touch key="home"/>
4255 <action function="page">main</action>
4256 </action>
4257 </page>
4258
4259 <page name="filemanageraction">
4260 <template name="page"/>
4261
4262 <text style="text_l">
4263 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004264 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004265 </text>
4266
4267 <text style="text_m">
4268 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4269 <text>%tw_fm_text1%</text>
4270 </text>
4271
4272 <template name="console"/>
4273
4274 <template name="progress_bar"/>
4275
4276 <action>
4277 <conditions>
4278 <condition var1="tw_operation_state" var2="1"/>
4279 <condition var1="tw_operation_status" var2="0"/>
4280 </conditions>
4281 <actions>
4282 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004284 <action function="page">action_complete</action>
4285 </actions>
4286 </action>
4287
4288 <action>
4289 <conditions>
4290 <condition var1="tw_operation_state" var2="1"/>
4291 <condition var1="tw_operation_status" op="!=" var2="0"/>
4292 </conditions>
4293 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004295 <action function="page">action_complete</action>
4296 </actions>
4297 </action>
4298
4299 <action>
4300 <condition var1="tw_include_text3" var2="0"/>
4301 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4302 </action>
4303
4304 <action>
4305 <condition var1="tw_include_text3" var2="1"/>
4306 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4307 </action>
4308 </page>
4309
4310 <page name="decrypt">
4311 <template name="page"/>
4312
4313 <action>
4314 <condition var1="tw_crypto_pwtype" var2="2"/>
4315 <action function="page">decrypt_pattern</action>
4316 </action>
4317
4318 <text style="text_l">
4319 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </text>
4322
4323 <text style="text_m">
4324 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004325 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004326 </text>
4327
4328 <text style="text_m_accent">
4329 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 </text>
4332
4333 <input>
4334 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4335 <text>%tw_crypto_display%</text>
4336 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4337 <restrict minlen="1" maxlen="254"/>
4338 <action function="page">trydecrypt</action>
4339 </input>
4340
4341 <fill color="%accent_color%">
4342 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4343 </fill>
4344
4345 <fill color="%text_fail_color%">
4346 <condition var1="tw_password_fail" var2="1"/>
4347 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4348 </fill>
4349
4350 <text style="text_m_fail">
4351 <condition var1="tw_password_fail" var2="1"/>
4352 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004353 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 </text>
4355
4356 <button style="main_button_half_height">
4357 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004358 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004359 <actions>
4360 <action function="set">tw_page_done=1</action>
4361 <action function="page">main</action>
4362 </actions>
4363 </button>
4364
z31s1g608d7ff2016-01-18 19:47:25 +01004365 <button style="main_button_half_height">
4366 <placement x="%center_x%" y="%row10_y%"/>
4367 <text>{@sel_lang_btn=Select Language}</text>
4368 <action function="overlay">select_language</action>
4369 </button>
4370
z31s1g28f0a922015-11-07 18:50:22 +01004371 <template name="keyboardtemplate"/>
4372 </page>
4373
4374 <page name="decrypt_pattern">
4375 <template name="page"/>
4376
4377 <text style="text_l">
4378 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </text>
4381
4382 <text style="text_m">
4383 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004384 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004385 </text>
4386
4387 <text style="text_m_accent">
4388 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004389 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 </text>
4391
Aleksa Saraib25a1832015-12-31 17:36:00 +01004392 <text style="text_m_fail">
4393 <condition var1="tw_password_fail" var2="1"/>
4394 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004395 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004396 </text>
4397
z31s1g28f0a922015-11-07 18:50:22 +01004398 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004399 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004400 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4401 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4402 <data name="tw_crypto_password"/>
4403 <action function="page">trydecrypt</action>
4404 </patternpassword>
4405
Aleksa Saraib25a1832015-12-31 17:36:00 +01004406 <button style="button_quarter_width">
4407 <placement x="%indent%" y="%row19a_y%"/>
4408 <text>3x3</text>
4409 <action function="set">tw_gui_pattern_grid_size=3</action>
4410 </button>
4411
4412 <button style="button_quarter_width">
4413 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4414 <text>4x4</text>
4415 <action function="set">tw_gui_pattern_grid_size=4</action>
4416 </button>
4417
4418 <button style="button_quarter_width">
4419 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4420 <text>5x5</text>
4421 <action function="set">tw_gui_pattern_grid_size=5</action>
4422 </button>
4423
4424 <button style="button_quarter_width">
4425 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4426 <text>6x6</text>
4427 <action function="set">tw_gui_pattern_grid_size=6</action>
4428 </button>
4429
z31s1g28f0a922015-11-07 18:50:22 +01004430 <button style="main_button_half_height">
4431 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 <actions>
4434 <action function="set">tw_page_done=1</action>
4435 <action function="page">main</action>
4436 </actions>
4437 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004438
4439 <button style="main_button_half_height">
4440 <placement x="%center_x%" y="%row21a_y%"/>
4441 <text>{@sel_lang_btn=Select Language}</text>
4442 <action function="overlay">select_language</action>
4443 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004444 </page>
4445
4446 <page name="trydecrypt">
4447 <template name="page"/>
4448
4449 <text style="text_l">
4450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m">
4455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <template name="console"/>
4460
4461 <template name="progress_bar"/>
4462
4463 <action>
4464 <action function="decrypt"/>
4465 </action>
4466
4467 <action>
4468 <conditions>
4469 <condition var1="tw_operation_state" var2="1"/>
4470 <condition var1="tw_operation_status" op="!=" var2="0"/>
4471 </conditions>
4472 <actions>
4473 <action function="set">tw_password_fail=1</action>
4474 <action function="page">decrypt</action>
4475 </actions>
4476 </action>
4477
4478 <action>
4479 <conditions>
4480 <condition var1="tw_operation_state" var2="1"/>
4481 <condition var1="tw_operation_status" op="=" var2="0"/>
4482 </conditions>
4483 <actions>
4484 <action function="set">tw_page_done=1</action>
4485 <action function="page">main</action>
4486 </actions>
4487 </action>
4488 </page>
4489
z31s1g28f0a922015-11-07 18:50:22 +01004490 <page name="terminalcommand">
4491 <template name="page"/>
4492
z31s1g56189522016-01-13 19:12:40 +01004493 <fill color="%background_color%">
4494 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </fill>
4496
z31s1g56189522016-01-13 19:12:40 +01004497 <terminal>
4498 <condition var1="tw_hide_kb" var2="0"/>
4499 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4500 </terminal>
4501
4502 <terminal>
4503 <condition var1="tw_hide_kb" var2="1"/>
4504 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4505 </terminal>
4506
4507 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004508
4509 <template name="keyboardtemplate"/>
4510
z31s1g608d7ff2016-01-18 19:47:25 +01004511 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004512 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004513 </fill>
z31s1g56189522016-01-13 19:12:40 +01004514
z31s1g608d7ff2016-01-18 19:47:25 +01004515 <button>
z31s1g56189522016-01-13 19:12:40 +01004516 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4517 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4518 <image resource="back" />
4519 <condition var1="tw_busy" var2="0" />
4520 <actions>
4521 <action function="set">tw_hide_kb=0</action>
4522 <action function="key">back</action>
4523 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004524 </button>
z31s1g56189522016-01-13 19:12:40 +01004525
z31s1g608d7ff2016-01-18 19:47:25 +01004526 <button>
z31s1g56189522016-01-13 19:12:40 +01004527 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4528 <condition var1="tw_hide_kb" op="=" var2="0" />
4529 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4530 <image resource="kb_hide" />
4531 <condition var1="tw_busy" var2="0" />
4532 <actions>
4533 <action function="set">tw_hide_kb=1</action>
4534 <action function="page">terminalcommand</action>
4535 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004536 </button>
z31s1g56189522016-01-13 19:12:40 +01004537
z31s1g608d7ff2016-01-18 19:47:25 +01004538 <button>
z31s1g56189522016-01-13 19:12:40 +01004539 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4540 <condition var1="tw_hide_kb" op="=" var2="1" />
4541 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4542 <image resource="kb_show" />
4543 <condition var1="tw_busy" var2="0" />
4544 <actions>
4545 <action function="set">tw_hide_kb=0</action>
4546 <action function="page">terminalcommand</action>
4547 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004548 </button>
z31s1g56189522016-01-13 19:12:40 +01004549
z31s1g608d7ff2016-01-18 19:47:25 +01004550 <button>
z31s1g56189522016-01-13 19:12:40 +01004551 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4552 <image resource="home" />
4553 <condition var1="tw_busy" var2="0" />
4554 <actions>
4555 <action function="set">tw_hide_kb=0</action>
4556 <action function="key">home</action>
4557 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004558 </button>
z31s1g56189522016-01-13 19:12:40 +01004559
z31s1g608d7ff2016-01-18 19:47:25 +01004560 <button>
z31s1g56189522016-01-13 19:12:40 +01004561 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4562 <condition var1="tw_hide_kb" op="=" var2="0" />
4563 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4564 <image resource="kb_hide" />
4565 <condition var1="tw_busy" var2="0" />
4566 <actions>
4567 <action function="set">tw_hide_kb=1</action>
4568 <action function="page">terminalcommand</action>
4569 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004570 </button>
z31s1g56189522016-01-13 19:12:40 +01004571
z31s1g608d7ff2016-01-18 19:47:25 +01004572 <button>
z31s1g56189522016-01-13 19:12:40 +01004573 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4574 <condition var1="tw_hide_kb" op="=" var2="1" />
4575 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4576 <image resource="kb_show" />
4577 <condition var1="tw_busy" var2="0" />
4578 <actions>
4579 <action function="set">tw_hide_kb=0</action>
4580 <action function="page">terminalcommand</action>
4581 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004582 </button>
z31s1g56189522016-01-13 19:12:40 +01004583
z31s1g608d7ff2016-01-18 19:47:25 +01004584 <button>
z31s1g56189522016-01-13 19:12:40 +01004585 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4586 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4587 <image resource="back" />
4588 <condition var1="tw_busy" var2="0" />
4589 <actions>
4590 <action function="set">tw_hide_kb=0</action>
4591 <action function="key">back</action>
4592 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004593 </button>
z31s1g56189522016-01-13 19:12:40 +01004594
z31s1g28f0a922015-11-07 18:50:22 +01004595 <action>
4596 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004597 <actions>
4598 <action function="set">tw_hide_kb=0</action>
4599 <action function="page">main</action>
4600 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004601 </action>
4602
4603 <action>
4604 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004605 <actions>
4606 <action function="set">tw_hide_kb=0</action>
4607 <action function="page">advanced</action>
4608 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </action>
z31s1g56189522016-01-13 19:12:40 +01004610
z31s1g608d7ff2016-01-18 19:47:25 +01004611 <action>
z31s1g56189522016-01-13 19:12:40 +01004612 <touch key="power+voldown" />
4613 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004614 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004615 </page>
4616
4617 <page name="sideload">
4618 <template name="page"/>
4619
4620 <text style="text_l">
4621 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <text style="text_m">
4626 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 </text>
4629
4630 <checkbox>
4631 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004633 <data variable="tw_wipe_dalvik"/>
4634 </checkbox>
4635
4636 <checkbox>
4637 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004638 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004639 <data variable="tw_wipe_cache"/>
4640 </checkbox>
4641
4642 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004643 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004644 <actions>
4645 <action function="set">tw_back=advanced</action>
4646 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4648 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4649 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <action function="set">tw_has_cancel=1</action>
4651 <action function="set">tw_show_reboot=1</action>
4652 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4653 <action function="page">action_page</action>
4654 </actions>
4655 </slider>
4656
4657 <action>
4658 <touch key="home"/>
4659 <action function="page">main</action>
4660 </action>
4661
4662 <action>
4663 <touch key="back"/>
4664 <action function="page">advanced</action>
4665 </action>
4666 </page>
4667
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004668 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004669 <template name="page"/>
4670
4671 <text style="text_l">
4672 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004673 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 </text>
4675
4676 <text style="text_m">
4677 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004678 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 </text>
4680
4681 <text style="text_m_accent">
4682 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004683 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004684 </text>
4685
z31s1g28f0a922015-11-07 18:50:22 +01004686 <text style="text_m_fail">
4687 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004688 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004689 </text>
4690
4691 <text style="text_m_fail">
4692 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004693 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004694 </text>
4695
4696 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004697 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 <actions>
4699 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004700 <action function="set">tw_action=fixcontexts</action>
4701 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4702 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004703 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004704 <action function="set">tw_show_reboot=1</action>
4705 <action function="page">action_page</action>
4706 </actions>
4707 </slider>
4708
4709 <action>
4710 <touch key="home"/>
4711 <action function="page">main</action>
4712 </action>
4713
4714 <action>
4715 <touch key="back"/>
4716 <action function="page">advanced</action>
4717 </action>
4718 </page>
4719
z31s1g28f0a922015-11-07 18:50:22 +01004720 <page name="slideout">
4721 <fill color="%background_color%">
4722 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4723 </fill>
4724
4725 <console>
4726 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4727 </console>
4728
4729 <button>
4730 <fill color="%transparent%"/>
4731 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4732 <action function="overlay"/>
4733 </button>
4734
4735 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004736 <touch key="power"/>
4737 <action function="togglebacklight"/>
4738 </action>
4739
4740 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004741 <touch key="power+voldown"/>
4742 <action function="screenshot"/>
4743 </action>
4744 </page>
4745
4746 <page name="select_storage">
4747 <fill color="%semi_transparent%">
4748 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4749 </fill>
4750
4751 <fill color="%background_color%">
4752 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4753 </fill>
4754
4755 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004756 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004757 <data name="tw_storage_path"/>
4758 <listtype name="storage"/>
4759 </partitionlist>
4760
4761 <button style="button_third_width">
4762 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004763 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004764 <actions>
4765 <action function="set">tw_clear_destination=%tw_back%</action>
4766 <action function="overlay"/>
4767 <action function="page">clear_vars</action>
4768 </actions>
4769 </button>
4770
4771 <fill color="#000000">
4772 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4773 </fill>
4774
4775 <button>
4776 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4777 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4778 <image resource="back"/>
4779 <condition var1="tw_busy" var2="0"/>
4780 <actions>
4781 <action function="overlay"/>
4782 <action function="key">%tw_back%</action>
4783 </actions>
4784 </button>
4785
4786 <button>
4787 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4788 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4789 <image resource="console"/>
4790 <condition var1="tw_busy" var2="0"/>
4791 <action function="overlay">slideout</action>
4792 </button>
4793
4794 <button>
4795 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4796 <image resource="home"/>
4797 <condition var1="tw_busy" var2="0"/>
4798 <actions>
4799 <action function="overlay"/>
4800 <action function="key">home</action>
4801 </actions>
4802 </button>
4803
4804 <button>
4805 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4806 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4807 <image resource="console"/>
4808 <condition var1="tw_busy" var2="0"/>
4809 <action function="overlay">slideout</action>
4810 </button>
4811
4812 <button>
4813 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4814 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4815 <image resource="back"/>
4816 <condition var1="tw_busy" var2="0"/>
4817 <actions>
4818 <action function="overlay"/>
4819 <action function="key">%tw_back%</action>
4820 </actions>
4821 </button>
4822
4823 <action>
4824 <touch key="power+voldown"/>
4825 <action function="screenshot"/>
4826 </action>
4827 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004828
4829 <page name="select_language">
4830 <fill color="%semi_transparent%">
4831 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4832 </fill>
4833
4834 <fill color="%background_color%">
4835 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4836 </fill>
4837
4838 <listbox>
4839 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4840 <text>{@select_language=Select Language:}</text>
4841 <icon selected="radio_true" unselected="radio_false" />
4842 <data name="tw_language" />
4843 </listbox>
4844
4845 <button style="button_third_width">
4846 <placement x="%dialog_button_x%" y="%row14_y%"/>
4847 <text>{@ok_btn=OK}</text>
4848 <actions>
4849 <action function="overlay"/>
4850 <action function="setlanguage"></action>
4851 </actions>
4852 </button>
4853
4854 <fill color="#000000">
4855 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4856 </fill>
4857
4858 <button>
4859 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4860 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4861 <image resource="back"/>
4862 <condition var1="tw_busy" var2="0"/>
4863 <actions>
4864 <action function="overlay"/>
4865 <action function="key">%tw_back%</action>
4866 </actions>
4867 </button>
4868
4869 <button>
4870 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4871 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4872 <image resource="console"/>
4873 <condition var1="tw_busy" var2="0"/>
4874 <action function="overlay">slideout</action>
4875 </button>
4876
4877 <button>
4878 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4879 <image resource="home"/>
4880 <condition var1="tw_busy" var2="0"/>
4881 <actions>
4882 <action function="overlay"/>
4883 <action function="key">home</action>
4884 </actions>
4885 </button>
4886
4887 <button>
4888 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4889 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4890 <image resource="console"/>
4891 <condition var1="tw_busy" var2="0"/>
4892 <action function="overlay">slideout</action>
4893 </button>
4894
4895 <button>
4896 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4897 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4898 <image resource="back"/>
4899 <condition var1="tw_busy" var2="0"/>
4900 <actions>
4901 <action function="overlay"/>
4902 <action function="key">%tw_back%</action>
4903 </actions>
4904 </button>
4905
4906 <action>
4907 <touch key="power+voldown"/>
4908 <action function="screenshot"/>
4909 </action>
4910 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004911 </pages>
4912</recovery>