blob: c101014ac1896f48bae1528e04adaca614410323 [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>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500397 <text>{@enable_legacy_props_chk=Enable legacy properties for old zips}</text>
398 <data variable="tw_enable_legacy_props"/>
399 </checkbox>
400
401 <checkbox>
402 <condition var1="tw_has_injecttwrp" var2="1"/>
403 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500404 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100405 <data variable="tw_inject_after_zip"/>
406 </checkbox>
407
408 <button style="main_button_half_height">
409 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500410 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100411 <action function="page">install</action>
412 </button>
413
414 <button style="main_button_half_height">
415 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500416 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100417 <actions>
418 <action function="queueclear"/>
419 <action function="page">install</action>
420 </actions>
421 </button>
422
423 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500424 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100425 <action function="flash">flash_zip</action>
426 </slider>
427
428 <action>
429 <touch key="back"/>
430 <actions>
431 <action function="cancelzip"/>
432 <action function="page">install</action>
433 </actions>
434 </action>
435
436 <action>
437 <touch key="home"/>
438 <action function="page">main</action>
439 </action>
440 </page>
441
442 <page name="flash_zip">
443 <template name="page"/>
444
445 <text style="text_l">
446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500447 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100448 </text>
449
450 <text style="text_m">
451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
452 <text>%tw_file%</text>
453 </text>
454
455 <template name="console"/>
456
457 <template name="progress_bar"/>
458
459 <action>
460 <condition var1="tw_operation_state" var2="1"/>
461 <action function="page">flash_done</action>
462 </action>
463 </page>
464
465 <page name="flash_done">
466 <template name="page"/>
467
468 <text style="text_l">
469 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m_fail">
474 <condition var1="tw_operation_status" op="!=" var2="0"/>
475 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 </text>
478
479 <text style="text_m">
480 <condition var1="tw_operation_status" var2="0"/>
481 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 </text>
484
485 <template name="console"/>
486
487 <button style="main_button_half_height">
488 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500489 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100490 <actions>
491 <action function="set">tw_back=flash_done</action>
492 <action function="set">tw_action=wipe</action>
493 <action function="set">tw_action_param=/cache</action>
494 <action function="set">tw_has_action2=1</action>
495 <action function="set">tw_action2=wipe</action>
496 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500497 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
498 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
499 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
500 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <action function="page">confirm_action</action>
502 </actions>
503 </button>
504
505 <button style="main_button_half_height">
506 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500507 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100508 <actions>
509 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500510 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100511 </actions>
512 </button>
513
514 <action>
515 <touch key="back"/>
516 <actions>
517 <action function="set">tw_clear_destination=install</action>
518 <action function="page">clear_vars</action>
519 </actions>
520 </action>
521
522 <action>
523 <touch key="home"/>
524 <actions>
525 <action function="set">tw_clear_destination=main2</action>
526 <action function="page">clear_vars</action>
527 </actions>
528 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500529
530 <action>
531 <conditions>
532 <condition var1="tw_install_reboot" var2="1"/>
533 <condition var1="tw_operation_status" var2="0"/>
534 <condition var1="tw_reboot_system" var2="1"/>
535 </conditions>
536 <actions>
537 <action function="set">tw_sleep=%tw_sleep_total%</action>
538 <action function="page">flash_sleep_and_reboot</action>
539 </actions>
540 </action>
541 </page>
542
543 <page name="flash_sleep_and_reboot">
544 <template name="page"/>
545
546 <text style="text_l">
547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
548 <text>{@install_zip_hdr=Install Zip}</text>
549 </text>
550
551 <text style="text_m">
552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
553 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
554 </text>
555
556 <template name="console"/>
557
558 <template name="progress_bar"/>
559
560 <button style="main_button_half_height">
561 <condition var1="tw_sleep" op="&gt;" var2="0"/>
562 <placement x="%center_x%" y="%row21a_y%"/>
563 <text>{@cancel_btn=Cancel}</text>
564 <actions>
565 <action function="set">tw_install_reboot=0</action>
566 <action function="page">flash_done</action>
567 </actions>
568 </button>
569
570 <action>
571 <conditions>
572 <condition var1="tw_sleep" var2="tw_sleep_total"/>
573 <condition var1="tw_install_reboot" var2="1"/>
574 </conditions>
575 <action function="sleepcounter">%tw_sleep_total%</action>
576 </action>
577
578 <action>
579 <conditions>
580 <condition var1="tw_sleep" var2="0"/>
581 <condition var1="tw_install_reboot" var2="1"/>
582 </conditions>
583 <actions>
584 <action function="sleep">50000</action>
585 <action function="set">tw_back=main2</action>
586 <action function="page">reboot_system_routine</action>
587 </actions>
588 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100589 </page>
590
591 <page name="flashimage_confirm">
592 <template name="page"/>
593
594 <text style="text_l">
595 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500596 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100597 </text>
598
599 <text style="text_m">
600 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500601 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100602 </text>
603
604 <text style="text_m_accent">
605 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500606 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100607 </text>
608
609 <text style="text_m">
610 <placement x="%indent%" y="%row3_y%"/>
611 <text>%tw_zip_location%</text>
612 </text>
613
614 <text style="text_m_accent">
615 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500616 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100617 </text>
618
619 <text style="text_m">
620 <placement x="%indent%" y="%row5a_y%"/>
621 <text>%tw_file%</text>
622 </text>
623
624 <partitionlist>
625 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
626 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 <data name="tw_flash_partition"/>
629 <listtype name="flashimg"/>
630 </partitionlist>
631
632 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <actions>
635 <action function="set">tw_back=flashimage_confirm</action>
636 <action function="set">tw_action=flashimage</action>
637 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100639 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500640 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100641 <action function="page">action_page</action>
642 </actions>
643 <action function="flashimage"/>
644 </slider>
645
646 <action>
647 <touch key="back"/>
648 <actions>
649 <action function="set">tw_clear_destination=install</action>
650 <action function="page">clear_vars</action>
651 </actions>
652 </action>
653
654 <action>
655 <touch key="home"/>
656 <actions>
657 <action function="set">tw_clear_destination=main2</action>
658 <action function="page">clear_vars</action>
659 </actions>
660 </action>
661 </page>
662
663 <page name="clear_vars">
664 <action>
665 <action function="set">tw_operation_state=0</action>
666 <action function="set">tw_text1=</action>
667 <action function="set">tw_text2=</action>
668 <action function="set">tw_text3=</action>
669 <action function="set">tw_text4=</action>
670 <action function="set">tw_action_text1=</action>
671 <action function="set">tw_action_text2=</action>
672 <action function="set">tw_action_param=</action>
673 <action function="set">tw_has_action2=0</action>
674 <action function="set">tw_action2=</action>
675 <action function="set">tw_action2_param=</action>
676 <action function="set">tw_has_cancel=0</action>
677 <action function="set">tw_cancel_action=</action>
678 <action function="set">tw_cancel_param=</action>
679 <action function="set">tw_show_exclamation=0</action>
680 <action function="set">tw_show_reboot=0</action>
681 <action function="page">%tw_clear_destination%</action>
682 </action>
683 </page>
684
Matt Mower908dd252016-05-25 02:26:50 -0500685 <page name="reboot_system_routine">
686 <action>
687 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500688 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500689 <action function="set">tw_has_action2=0</action>
690 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
691 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
692 <action function="set">tw_text3=</action>
693 <action function="set">tw_text4=</action>
694 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
695 <action function="set">tw_action_text2=</action>
696 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
697 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
698 <action function="page">rebootcheck</action>
699 </action>
700 </page>
701
z31s1g28f0a922015-11-07 18:50:22 +0100702 <page name="confirm_action">
703 <template name="page"/>
704
705 <text style="text_l">
706 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500707 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100708 </text>
709
710 <text style="text_m">
711 <placement x="%col1_x_header%" y="%row4_header_y%"/>
712 <text/>
713 </text>
714
715 <text style="text_m_accent">
716 <placement x="%center_x%" y="%row2_y%" placement="5"/>
717 <text>%tw_text1%</text>
718 </text>
719
720 <text style="text_m_accent">
721 <placement x="%center_x%" y="%row3_y%" placement="5"/>
722 <text>%tw_text2%</text>
723 </text>
724
725 <text style="text_m">
726 <placement x="%center_x%" y="%row4_y%" placement="5"/>
727 <text>%tw_text3%</text>
728 </text>
729
730 <text style="text_m">
731 <placement x="%center_x%" y="%row5_y%" placement="5"/>
732 <text>%tw_text4%</text>
733 </text>
734
735 <text style="text_m">
736 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500737 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100738 </text>
739
740 <slider>
741 <text>%tw_slider_text%</text>
742 <action function="page">action_page</action>
743 </slider>
744
745 <action>
746 <touch key="back"/>
747 <actions>
748 <action function="set">tw_clear_destination=%tw_back%</action>
749 <action function="page">clear_vars</action>
750 </actions>
751 </action>
752
753 <action>
754 <touch key="home"/>
755 <action function="page">main</action>
756 </action>
757 </page>
758
759 <page name="action_page">
760 <template name="page"/>
761
762 <text style="text_l">
763 <placement x="%col1_x_header%" y="%row3_header_y%"/>
764 <text>%tw_action_text1%</text>
765 </text>
766
767 <text style="text_m">
768 <placement x="%col1_x_header%" y="%row4_header_y%"/>
769 <text>%tw_action_text2%</text>
770 </text>
771
772 <template name="console"/>
773
774 <template name="progress_bar"/>
775
776 <button style="main_button_half_height">
777 <condition var1="tw_has_cancel" var2="1"/>
778 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500779 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100780 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
781 </button>
782
783 <action>
784 <condition var1="tw_operation_state" var2="1"/>
785 <actions>
786 <action function="page">action_complete</action>
787 </actions>
788 </action>
789
790 <action>
791 <condition var1="tw_has_action2" var2="0"/>
792 <actions>
793 <action function="%tw_action%">%tw_action_param%</action>
794 </actions>
795 </action>
796
797 <action>
798 <condition var1="tw_has_action2" var2="1"/>
799 <actions>
800 <action function="%tw_action%">%tw_action_param%</action>
801 <action function="%tw_action2%">%tw_action2_param%</action>
802 </actions>
803 </action>
804 </page>
805
806 <page name="singleaction_page">
807 <template name="page"/>
808
809 <text style="text_l">
810 <placement x="%col1_x_header%" y="%row3_header_y%"/>
811 <text>%tw_action_text1%</text>
812 </text>
813
814 <text style="text_m">
815 <placement x="%col1_x_header%" y="%row4_header_y%"/>
816 <text>%tw_action_text2%</text>
817 </text>
818
819 <template name="console"/>
820
821 <template name="progress_bar"/>
822
823 <action>
824 <condition var1="tw_operation_state" var2="1"/>
825 <actions>
826 <action function="set">tw_page_done=1</action>
827 </actions>
828 </action>
829
830 <action>
831 <condition var1="tw_has_action2" var2="0"/>
832 <actions>
833 <action function="%tw_action%">%tw_action_param%</action>
834 </actions>
835 </action>
836
837 <action>
838 <condition var1="tw_has_action2" var2="1"/>
839 <actions>
840 <action function="%tw_action%">%tw_action_param%</action>
841 <action function="%tw_action2%">%tw_action2_param%</action>
842 </actions>
843 </action>
844 </page>
845
846 <page name="action_complete">
847 <template name="page"/>
848
849 <text style="text_l">
850 <placement x="%col1_x_header%" y="%row3_header_y%"/>
851 <text>%tw_complete_text1%</text>
852 </text>
853
854 <text style="text_m_fail">
855 <condition var1="tw_operation_status" op="!=" var2="0"/>
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 </text>
859
860 <text style="text_m">
861 <condition var1="tw_operation_status" var2="0"/>
862 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 </text>
865
866 <template name="console"/>
867
868 <button style="main_button_half_height">
869 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500870 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100871 <actions>
872 <action function="set">tw_clear_destination=%tw_back%</action>
873 <action function="page">clear_vars</action>
874 </actions>
875 </button>
876
877 <button style="main_button_half_height">
878 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500879 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100880 <actions>
881 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500882 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100883 </actions>
884 </button>
885
886 <action>
887 <touch key="home"/>
888 <actions>
889 <action function="set">tw_clear_destination=main2</action>
890 <action function="page">clear_vars</action>
891 </actions>
892 </action>
893
894 <action>
895 <touch key="back"/>
896 <actions>
897 <action function="set">tw_clear_destination=%tw_back%</action>
898 <action function="page">clear_vars</action>
899 </actions>
900 </action>
901 </page>
902
903 <page name="filecheck">
904 <action>
905 <action function="fileexists">%tw_filecheck%</action>
906 </action>
907
908 <action>
909 <conditions>
910 <condition var1="tw_operation_state" var2="1"/>
911 <condition var1="tw_operation_status" var2="0"/>
912 </conditions>
913 <actions>
914 <action function="set">tw_fileexists=1</action>
915 <action function="page">%tw_existpage%</action>
916 </actions>
917 </action>
918
919 <action>
920 <conditions>
921 <condition var1="tw_operation_state" var2="1"/>
922 <condition var1="tw_operation_status" var2="1"/>
923 </conditions>
924 <actions>
925 <action function="set">tw_fileexists=0</action>
926 <action function="page">%tw_notexistpage%</action>
927 </actions>
928 </action>
929 </page>
930
931 <page name="rebootcheck">
932 <action>
933 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600934 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100935 </action>
936
937 <action>
938 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
939 <action function="page">confirm_action</action>
940 </action>
941 </page>
942
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600943 <page name="appcheck">
944 <action>
945 <condition var1="tw_app_prompt" var2="1"/>
946 <action function="checkforapp"></action>
947 </action>
948
949 <action>
950 <condition var1="tw_app_prompt" op="!=" var2="1"/>
951 <action function="reboot">%tw_reboot_param%</action>
952 </action>
953
954 <action>
955 <condition var1="tw_app_install_status" var2="1"/>
956 <action function="page">rebootapp</action>
957 </action>
958
959 <action>
960 <condition var1="tw_app_install_status" var2="2"/>
961 <action function="reboot">%tw_reboot_param%</action>
962 </action>
963 </page>
964
z31s1g28f0a922015-11-07 18:50:22 +0100965 <page name="wipe">
966 <template name="page"/>
967
968 <text style="text_l">
969 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500970 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100971 </text>
972
973 <text style="text_m">
974 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500975 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </text>
977
978 <text style="text_m_accent">
979 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500980 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100981 </text>
982
983 <text style="text_m_accent">
984 <condition var1="tw_has_data_media" var2="1"/>
985 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500986 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100987 </text>
988
989 <text style="text_m_accent">
990 <conditions>
991 <condition var1="tw_has_android_secure" var2="1"/>
992 <condition var1="fileexists" var2="/and-sec"/>
993 </conditions>
994 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500995 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100996 </text>
997
998 <text style="text_m_accent">
999 <condition var1="tw_has_sdext_partition" var2="1"/>
1000 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001001 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001002 </text>
1003
1004 <text style="text_m">
1005 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001006 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001007 </text>
1008
1009 <text style="text_m">
1010 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m">
1015 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <button style="main_button_half_height">
1020 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <actions>
1023 <action function="set">partitionlisterror=0</action>
1024 <action function="page">advancedwipe</action>
1025 </actions>
1026 </button>
1027
1028 <button style="main_button_half_height">
1029 <condition var1="tw_has_data_media" var2="1"/>
1030 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001031 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001032 <action function="page">formatdata</action>
1033 </button>
1034
1035 <button style="main_button_half_height">
1036 <conditions>
1037 <condition var1="tw_is_encrypted" var2="1"/>
1038 <condition var1="tw_has_data_media" var2="0"/>
1039 </conditions>
1040 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001042 <actions>
1043 <action function="set">tw_back=wipe</action>
1044 <action function="set">tw_action=wipe</action>
1045 <action function="set">tw_action_param=DATAMEDIA</action>
1046 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001048 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001049 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1050 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1051 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001052 <action function="page">confirm_action</action>
1053 </actions>
1054 </button>
1055
1056 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 <actions>
1059 <action function="set">tw_back=wipe</action>
1060 <action function="set">tw_action=wipe</action>
1061 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1063 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001064 <action function="page">action_page</action>
1065 </actions>
1066 </slider>
1067
1068 <action>
1069 <touch key="back"/>
1070 <action function="page">main</action>
1071 </action>
1072
1073 <action>
1074 <touch key="home"/>
1075 <action function="page">main</action>
1076 </action>
1077 </page>
1078
1079 <page name="advancedwipe">
1080 <template name="page"/>
1081
1082 <action>
1083 <action function="set">tw_wipe_list=</action>
1084 </action>
1085
1086 <text style="text_l">
1087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001089 </text>
1090
1091 <text style="text_m">
1092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001093 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001094 </text>
1095
1096 <partitionlist>
1097 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 <data name="tw_wipe_list"/>
1100 <listtype name="wipe"/>
1101 </partitionlist>
1102
1103 <text style="text_m_fail">
1104 <condition var1="partitionlisterror" var2="1"/>
1105 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001106 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001107 </text>
1108
1109 <button style="main_button_half_height_full_width">
1110 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001113 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001114 <action function="page">checkpartitionlist</action>
1115 </actions>
1116 </button>
1117
1118 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 <actions>
1121 <action function="set">tw_back=advancedwipe</action>
1122 <action function="set">tw_action=wipe</action>
1123 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1125 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1126 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001127 <action function="page">action_page</action>
1128 </actions>
1129 </slider>
1130
1131 <action>
1132 <touch key="home"/>
1133 <action function="page">main</action>
1134 </action>
1135
1136 <action>
1137 <touch key="back"/>
1138 <action function="page">wipe</action>
1139 </action>
1140 </page>
1141
1142 <page name="formatdata">
1143 <template name="page"/>
1144
1145 <text style="text_l">
1146 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001147 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001148 </text>
1149
1150 <text style="text_m">
1151 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 </text>
1154
1155 <text style="text_m_fail">
1156 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001158 </text>
1159
1160 <text style="text_m_fail">
1161 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001162 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001163 </text>
1164
1165 <text style="text_m_fail">
1166 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001167 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001168 </text>
1169
Ethan Yonker66a19492015-12-10 10:19:45 -06001170 <text style="text_m_fail">
1171 <condition var1="tw_has_adopted_storage" var2="1"/>
1172 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1173 <text>{@format_data_adopted=Including Adopted Storage}</text>
1174 </text>
1175
z31s1g28f0a922015-11-07 18:50:22 +01001176 <text style="text_m">
1177 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 </text>
1180
1181 <text style="text_m">
1182 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001183 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001184 </text>
1185
1186 <input>
1187 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1188 <text>%tw_confirm_formatdata%</text>
1189 <data name="tw_confirm_formatdata"/>
1190 <restrict minlen="3" maxlen="3" allow="yes"/>
1191 <action function="page">formatdata_confirm</action>
1192 </input>
1193
1194 <fill color="%accent_color%">
1195 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1196 </fill>
1197
1198 <template name="keyboardtemplate"/>
1199
1200 <action>
1201 <touch key="home"/>
1202 <action function="page">main</action>
1203 </action>
1204
1205 <action>
1206 <touch key="back"/>
1207 <action function="page">wipe</action>
1208 </action>
1209 </page>
1210
1211 <page name="formatdata_confirm">
1212 <action>
1213 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1214 <actions>
1215 <action function="set">tw_back=formatdata</action>
1216 <action function="set">tw_action=wipe</action>
1217 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1219 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001220 <action function="page">action_page</action>
1221 </actions>
1222 </action>
1223
1224 <action>
1225 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1226 <action function="page">formatdata</action>
1227 </action>
1228 </page>
1229
1230 <page name="checkpartitionlist">
1231 <action>
1232 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1233 <actions>
1234 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001235 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <action function="page">partitionoptions</action>
1237 </actions>
1238 </action>
1239
1240 <action>
1241 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1242 <actions>
1243 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <action function="page">advancedwipe</action>
1245 </actions>
1246 </action>
1247 </page>
1248
1249 <page name="partitionoptions">
1250 <template name="page"/>
1251
1252 <text style="text_l">
1253 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001255 </text>
1256
1257 <text style="text_m">
1258 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001259 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001260 </text>
1261
1262 <text style="text_m_accent">
1263 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001265 </text>
1266
1267 <text style="text_m_accent">
1268 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <condition var1="tw_partition_is_present" var2="1"/>
1274 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <text style="text_m">
1279 <condition var1="tw_partition_is_present" var2="0"/>
1280 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <text style="text_m">
1285 <condition var1="tw_partition_removable" var2="1"/>
1286 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 </text>
1289
1290 <text style="text_m">
1291 <condition var1="tw_partition_removable" var2="0"/>
1292 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001293 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001294 </text>
1295
1296 <text style="text_m">
1297 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001299 </text>
1300
1301 <text style="text_m">
1302 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001303 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001304 </text>
1305
1306 <text style="text_m">
1307 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001308 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001309 </text>
1310
1311 <text style="text_m">
1312 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001313 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001314 </text>
1315
1316 <button style="main_button_half_height">
1317 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1318 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001320 <actions>
1321 <action function="set">tw_back=partitionoptions</action>
1322 <action function="set">tw_action=resize</action>
1323 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1324 <action function="set">tw_has_action2=1</action>
1325 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001326 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1330 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1331 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001332 <action function="page">confirm_action</action>
1333 </actions>
1334 </button>
1335
1336 <button style="main_button_half_height">
1337 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1338 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001340 <actions>
1341 <action function="set">tw_back=partitionoptions</action>
1342 <action function="set">tw_action=repair</action>
1343 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1344 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001346 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1348 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1349 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001350 <action function="page">confirm_action</action>
1351 </actions>
1352 </button>
1353
1354 <button style="main_button_half_height">
1355 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001357 <action function="page">selectfilesystem</action>
1358 </button>
1359
1360 <action>
1361 <touch key="home"/>
1362 <action function="page">main</action>
1363 </action>
1364
1365 <action>
1366 <touch key="back"/>
1367 <action function="page">advancedwipe</action>
1368 </action>
1369 </page>
1370
1371 <page name="refreshfilesystem">
1372 <action>
1373 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1374 <actions>
1375 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001376 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001377 <action function="page">selectfilesystem</action>
1378 </actions>
1379 </action>
1380
1381 <action>
1382 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1383 <actions>
1384 <action function="set">partitionlisterror=1</action>
1385 <action function="set">tw_wipe_list=</action>
1386 <action function="page">advancedwipe</action>
1387 </actions>
1388 </action>
1389 </page>
1390
1391 <page name="selectfilesystem">
1392 <template name="page"/>
1393
1394 <text style="text_l">
1395 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m">
1400 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m_accent">
1405 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001407 </text>
1408
1409 <text style="text_m_accent">
1410 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001412 </text>
1413
1414 <text style="text_m_fail">
1415 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001416 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001417 </text>
1418
1419 <text style="text_m_fail">
1420 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001421 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001422 </text>
1423
1424 <button style="main_button_half_height">
1425 <condition var1="tw_partition_ext" op="=" var2="1"/>
1426 <placement x="%indent%" y="%row15a_y%"/>
1427 <text>EXT2</text>
1428 <actions>
1429 <action function="set">tw_back=refreshfilesystem</action>
1430 <action function="set">tw_action=changefilesystem</action>
1431 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1432 <action function="set">tw_action_new_file_system=ext2</action>
1433 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1435 <action function="set">tw_text2=EXT2</action>
1436 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1437 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1438 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001439 <action function="page">confirm_action</action>
1440 </actions>
1441 </button>
1442
1443 <button style="main_button_half_height">
1444 <condition var1="tw_partition_ext" op="=" var2="1"/>
1445 <placement x="%indent%" y="%row18a_y%"/>
1446 <text>EXT3</text>
1447 <actions>
1448 <action function="set">tw_back=refreshfilesystem</action>
1449 <action function="set">tw_action=changefilesystem</action>
1450 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1451 <action function="set">tw_action_new_file_system=ext3</action>
1452 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1454 <action function="set">tw_text2=EXT3</action>
1455 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1456 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1457 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <action function="page">confirm_action</action>
1459 </actions>
1460 </button>
1461
1462 <button style="main_button_half_height">
1463 <condition var1="tw_partition_ext" op="=" var2="1"/>
1464 <placement x="%indent%" y="%row21a_y%"/>
1465 <text>EXT4</text>
1466 <actions>
1467 <action function="set">tw_back=refreshfilesystem</action>
1468 <action function="set">tw_action=changefilesystem</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_action_new_file_system=ext4</action>
1471 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1473 <action function="set">tw_text2=EXT4</action>
1474 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1475 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1476 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001477 <action function="page">confirm_action</action>
1478 </actions>
1479 </button>
1480
1481 <button style="main_button_half_height">
1482 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1483 <placement x="%center_x%" y="%row15a_y%"/>
1484 <text>FAT</text>
1485 <actions>
1486 <action function="set">tw_back=refreshfilesystem</action>
1487 <action function="set">tw_action=changefilesystem</action>
1488 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1489 <action function="set">tw_action_new_file_system=vfat</action>
1490 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1492 <action function="set">tw_text2=FAT</action>
1493 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1494 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1495 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001496 <action function="page">confirm_action</action>
1497 </actions>
1498 </button>
1499
1500 <button style="main_button_half_height">
1501 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1502 <placement x="%center_x%" y="%row18a_y%"/>
1503 <text>exFAT</text>
1504 <actions>
1505 <action function="set">tw_back=refreshfilesystem</action>
1506 <action function="set">tw_action=changefilesystem</action>
1507 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1508 <action function="set">tw_action_new_file_system=exfat</action>
1509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001510 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1511 <action function="set">tw_text2=exFAT</action>
1512 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1513 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1514 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">confirm_action</action>
1516 </actions>
1517 </button>
1518
1519 <button style="main_button_half_height">
1520 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1521 <placement x="%center_x%" y="%row21a_y%"/>
1522 <text>F2FS</text>
1523 <actions>
1524 <action function="set">tw_back=refreshfilesystem</action>
1525 <action function="set">tw_action=changefilesystem</action>
1526 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1527 <action function="set">tw_action_new_file_system=f2fs</action>
1528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1530 <action function="set">tw_text2=F2FS</action>
1531 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1532 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1533 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001534 <action function="page">confirm_action</action>
1535 </actions>
1536 </button>
1537
1538 <action>
1539 <touch key="home"/>
1540 <action function="page">main</action>
1541 </action>
1542
1543 <action>
1544 <touch key="back"/>
1545 <action function="page">partitionoptions</action>
1546 </action>
1547 </page>
1548
1549 <page name="backup">
1550 <template name="page"/>
1551
1552 <text style="text_l">
1553 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001554 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001555 </text>
1556
1557 <text style="text_m">
1558 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001559 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001560 </text>
1561
1562 <template name="tabs_backup"/>
1563
1564 <fill color="%text_color%">
1565 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1566 </fill>
1567
1568 <button style="tab">
1569 <conditions>
1570 <condition var1="tw_include_encrypted_backup" var2="1"/>
1571 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001572 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001573 </conditions>
1574 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001575 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001576 <font resource="font_s" color="%text_color%"/>
1577 <actions>
1578 <action function="set">tw_password_not_match=0</action>
1579 <action function="page">backupencryption</action>
1580 </actions>
1581 </button>
1582
1583 <button style="tab">
1584 <conditions>
1585 <condition var1="tw_include_encrypted_backup" var2="1"/>
1586 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001587 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001588 </conditions>
1589 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <font resource="font_s" color="%text_success_color%"/>
1592 <actions>
1593 <action function="set">tw_password_not_match=0</action>
1594 <action function="page">backupencryption</action>
1595 </actions>
1596 </button>
1597
1598 <text style="text_m_accent">
1599 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 </text>
1602
1603 <text style="text_m">
1604 <placement x="%indent%" y="%row4a_y%"/>
1605 <text>%tw_backup_name%</text>
1606 </text>
1607
1608 <fill color="%fileselector_linecolor%">
1609 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1610 </fill>
1611
1612 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001613 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1615 <fill color="%transparent%"/>
1616 <actions>
1617 <action function="set">tw_fileexists=0</action>
1618 <action function="page">backupname1</action>
1619 </actions>
1620 </button>
1621
1622 <partitionlist>
1623 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <data name="tw_backup_list"/>
1626 <listtype name="backup"/>
1627 </partitionlist>
1628
1629 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001630 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001631 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001632 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001633 <actions>
1634 <action function="set">tw_back=backup</action>
1635 <action function="overlay">select_storage</action>
1636 </actions>
1637 </button>
1638
1639 <button style="main_button_half_height">
1640 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 <actions>
1643 <action function="refreshsizes"/>
1644 <action function="page">backup</action>
1645 </actions>
1646 </button>
1647
1648 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001649 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001650 <action function="page">backup_run</action>
1651 </slider>
1652
1653 <action>
1654 <touch key="home"/>
1655 <action function="page">main</action>
1656 </action>
1657
1658 <action>
1659 <touch key="back"/>
1660 <action function="page">main</action>
1661 </action>
1662 </page>
1663
1664 <page name="backup_options">
1665 <template name="page"/>
1666
1667 <text style="text_l">
1668 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <text style="text_m">
1673 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <template name="tabs_backup"/>
1678
1679 <fill color="%text_color%">
1680 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1681 </fill>
1682
1683 <button style="tab">
1684 <conditions>
1685 <condition var1="tw_include_encrypted_backup" var2="1"/>
1686 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001687 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001688 </conditions>
1689 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <font resource="font_s" color="%text_color%"/>
1692 <actions>
1693 <action function="set">tw_password_not_match=0</action>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </button>
1697
1698 <button style="tab">
1699 <conditions>
1700 <condition var1="tw_include_encrypted_backup" var2="1"/>
1701 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001702 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001703 </conditions>
1704 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001705 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001706 <font resource="font_s" color="%text_success_color%"/>
1707 <actions>
1708 <action function="set">tw_password_not_match=0</action>
1709 <action function="page">backupencryption</action>
1710 </actions>
1711 </button>
1712
1713 <checkbox>
1714 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <data variable="tw_use_compression"/>
1717 </checkbox>
1718
1719 <checkbox>
1720 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001721 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1722 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001723 </checkbox>
1724
1725 <checkbox>
1726 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001727 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001728 <data variable="tw_disable_free_space"/>
1729 </checkbox>
1730
Ethan Yonker1b190162016-12-05 15:25:19 -06001731 <text style="text_m">
1732 <condition var1="tw_has_boot_slots" var2="1"/>
1733 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1734 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1735 </text>
1736
1737 <button style="main_button">
1738 <condition var1="tw_has_boot_slots" var2="1"/>
1739 <placement x="%indent%" y="%row19_y%"/>
1740 <text>{@boot_slot_a=Slot A}</text>
1741 <actions>
1742 <action function="set">tw_back=backup_options</action>
1743 <action function="set">tw_action=setbootslot</action>
1744 <action function="set">tw_action_param=A</action>
1745 <action function="set">tw_has_action2=0</action>
1746 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1747 <action function="set">tw_action_text2=</action>
1748 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1749 <action function="page">action_page</action>
1750 </actions>
1751 </button>
1752
1753 <button style="main_button">
1754 <condition var1="tw_has_boot_slots" var2="1"/>
1755 <placement x="%center_x%" y="%row19_y%"/>
1756 <text>{@boot_slot_b=Slot B}</text>
1757 <actions>
1758 <action function="set">tw_back=backup_options</action>
1759 <action function="set">tw_action=setbootslot</action>
1760 <action function="set">tw_action_param=B</action>
1761 <action function="set">tw_has_action2=0</action>
1762 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1763 <action function="set">tw_action_text2=</action>
1764 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1765 <action function="page">action_page</action>
1766 </actions>
1767 </button>
1768
z31s1g28f0a922015-11-07 18:50:22 +01001769 <action>
1770 <touch key="home"/>
1771 <action function="page">main</action>
1772 </action>
1773
1774 <action>
1775 <touch key="back"/>
1776 <action function="page">backup</action>
1777 </action>
1778 </page>
1779
1780 <page name="backupname1">
1781 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001782 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001783 <action function="generatebackupname"/>
1784 </action>
1785
1786 <action>
1787 <action function="page">backupname2</action>
1788 </action>
1789 </page>
1790
1791 <page name="backupname2">
1792 <template name="page"/>
1793
1794 <text style="text_l">
1795 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001796 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001797 </text>
1798
1799 <text style="text_m">
1800 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001802 </text>
1803
1804 <template name="tabs_backup"/>
1805
1806 <fill color="%text_color%">
1807 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1808 </fill>
1809
1810 <button style="tab">
1811 <conditions>
1812 <condition var1="tw_include_encrypted_backup" var2="1"/>
1813 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001814 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001815 </conditions>
1816 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 <font resource="font_s" color="%text_color%"/>
1819 <actions>
1820 <action function="set">tw_password_not_match=0</action>
1821 <action function="page">backupencryption</action>
1822 </actions>
1823 </button>
1824
1825 <button style="tab">
1826 <conditions>
1827 <condition var1="tw_include_encrypted_backup" var2="1"/>
1828 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001829 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001830 </conditions>
1831 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001832 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001833 <font resource="font_s" color="%text_success_color%"/>
1834 <actions>
1835 <action function="set">tw_password_not_match=0</action>
1836 <action function="page">backupencryption</action>
1837 </actions>
1838 </button>
1839
1840 <text style="text_m_accent">
1841 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001843 </text>
1844
1845 <input>
1846 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1847 <text>%tw_backup_name%</text>
1848 <data name="tw_backup_name"/>
1849 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1850 <actions>
1851 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1852 <action function="set">tw_existpage=backupname2</action>
1853 <action function="set">tw_notexistpage=backup</action>
1854 <action function="page">filecheck</action>
1855 </actions>
1856 </input>
1857
1858 <fill color="%accent_color%">
1859 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1860 </fill>
1861
1862 <fill color="%text_fail_color%">
1863 <condition var1="tw_fileexists" var2="1"/>
1864 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1865 </fill>
1866
1867 <text style="text_m_fail">
1868 <condition var1="tw_fileexists" var2="1"/>
1869 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <button style="main_button_half_height">
1874 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <action function="page">backup</action>
1879 </actions>
1880 </button>
1881
1882 <button style="main_button_half_height">
1883 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001884 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001885 <action function="appenddatetobackupname"/>
1886 </button>
1887
1888 <template name="keyboardtemplate"/>
1889
1890 <action>
1891 <touch key="home"/>
1892 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001894 <action function="page">main</action>
1895 </actions>
1896 </action>
1897
1898 <action>
1899 <touch key="back"/>
1900 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001901 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001902 <action function="page">backup</action>
1903 </actions>
1904 </action>
1905 </page>
1906
1907 <page name="backupencryption">
1908 <template name="page"/>
1909
1910 <text style="text_l">
1911 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </text>
1914
1915 <text style="text_m">
1916 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001917 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001918 </text>
1919
1920 <template name="tabs_backup"/>
1921
1922 <button style="tab">
1923 <conditions>
1924 <condition var1="tw_include_encrypted_backup" var2="1"/>
1925 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001926 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001927 </conditions>
1928 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001929 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001930 <font resource="font_s" color="%text_color%"/>
1931 <actions>
1932 <action function="set">tw_password_not_match=0</action>
1933 <action function="page">backupencryption</action>
1934 </actions>
1935 </button>
1936
1937 <button style="tab">
1938 <conditions>
1939 <condition var1="tw_include_encrypted_backup" var2="1"/>
1940 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001941 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001942 </conditions>
1943 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 <font resource="font_s" color="%text_success_color%"/>
1946 <actions>
1947 <action function="set">tw_password_not_match=0</action>
1948 <action function="page">backupencryption</action>
1949 </actions>
1950 </button>
1951
1952 <fill color="%text_color%">
1953 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1954 </fill>
1955
1956 <text style="text_m_accent">
1957 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001958 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001959 </text>
1960
1961 <text style="text_m">
1962 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001963 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001964 </text>
1965
1966 <input>
1967 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1968 <text>%tw_backup_encrypt_display%</text>
1969 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1970 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1971 <action function="page">backupencryption2</action>
1972 </input>
1973
1974 <fill color="%accent_color%">
1975 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1976 </fill>
1977
1978 <fill color="%text_fail_color%">
1979 <condition var1="tw_password_not_match" var2="1"/>
1980 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1981 </fill>
1982
1983 <text style="text_m_fail">
1984 <condition var1="tw_password_not_match" var2="1"/>
1985 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001986 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001987 </text>
1988
1989 <button style="main_button_half_height">
1990 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001992 <actions>
1993 <action function="set">tw_encrypt_backup=0</action>
1994 <action function="set">tw_backup_password=</action>
1995 <action function="set">tw_backup_password2=</action>
1996 <action function="set">tw_backup_encrypt_display=</action>
1997 <action function="set">tw_backup_encrypt_display2=</action>
1998 <action function="page">backup</action>
1999 </actions>
2000 </button>
2001
2002 <template name="keyboardtemplate"/>
2003
2004 <action>
2005 <touch key="home"/>
2006 <action function="page">main</action>
2007 </action>
2008
2009 <action>
2010 <touch key="back"/>
2011 <action function="page">backup</action>
2012 </action>
2013 </page>
2014
2015 <page name="backupencryption2">
2016 <template name="page"/>
2017
2018 <text style="text_l">
2019 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002020 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002021 </text>
2022
2023 <text style="text_m">
2024 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002025 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002026 </text>
2027
2028 <template name="tabs_backup"/>
2029
2030 <button style="tab">
2031 <conditions>
2032 <condition var1="tw_include_encrypted_backup" var2="1"/>
2033 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002034 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002035 </conditions>
2036 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002037 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002038 <font resource="font_s" color="%text_color%"/>
2039 <actions>
2040 <action function="set">tw_password_not_match=0</action>
2041 <action function="page">backupencryption</action>
2042 </actions>
2043 </button>
2044
2045 <button style="tab">
2046 <conditions>
2047 <condition var1="tw_include_encrypted_backup" var2="1"/>
2048 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002049 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002050 </conditions>
2051 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002052 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002053 <font resource="font_s" color="%text_success_color%"/>
2054 <actions>
2055 <action function="set">tw_password_not_match=0</action>
2056 <action function="page">backupencryption</action>
2057 </actions>
2058 </button>
2059
2060 <fill color="%text_color%">
2061 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2062 </fill>
2063
2064 <text style="text_m_accent">
2065 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002066 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002067 </text>
2068
2069 <text style="text_m">
2070 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002072 </text>
2073
2074 <input>
2075 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2076 <text>%tw_backup_encrypt_display2%</text>
2077 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2078 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2079 <action function="page">checkbackuppassword</action>
2080 </input>
2081
2082 <fill color="%accent_color%">
2083 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2084 </fill>
2085
2086 <button style="main_button_half_height">
2087 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 <actions>
2090 <action function="set">tw_encrypt_backup=0</action>
2091 <action function="set">tw_backup_password=</action>
2092 <action function="set">tw_backup_password2=</action>
2093 <action function="set">tw_backup_encrypt_display=</action>
2094 <action function="set">tw_backup_encrypt_display2=</action>
2095 <action function="page">backup</action>
2096 </actions>
2097 </button>
2098
2099 <template name="keyboardtemplate"/>
2100
2101 <action>
2102 <touch key="home"/>
2103 <action function="page">main</action>
2104 </action>
2105
2106 <action>
2107 <touch key="back"/>
2108 <action function="page">backup</action>
2109 </action>
2110 </page>
2111
2112 <page name="checkbackuppassword">
2113 <action>
2114 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2115 <actions>
2116 <action function="set">tw_encrypt_backup=1</action>
2117 <action function="page">backup</action>
2118 </actions>
2119 </action>
2120
2121 <action>
2122 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2123 <actions>
2124 <action function="set">tw_encrypt_backup=0</action>
2125 <action function="set">tw_password_not_match=1</action>
2126 <action function="set">tw_backup_password=</action>
2127 <action function="set">tw_backup_password2=</action>
2128 <action function="set">tw_backup_encrypt_display=</action>
2129 <action function="set">tw_backup_encrypt_display2=</action>
2130 <action function="page">backupencryption</action>
2131 </actions>
2132 </action>
2133 </page>
2134
2135 <page name="backup_run">
2136 <template name="page"/>
2137
2138 <text style="text_l">
2139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2140 <text>%tw_operation%</text>
2141 </text>
2142
2143 <text style="text_m">
2144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2145 <text>%tw_partition% Partition</text>
2146 </text>
2147
2148 <template name="console"/>
2149
2150 <template name="progress_bar"/>
2151
2152 <text style="text_m_accent">
2153 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002154 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002155 </text>
2156
2157 <text style="text_m">
2158 <placement x="%indent%" y="%row20_y%"/>
2159 <text>%tw_file_progress%</text>
2160 </text>
2161
2162 <text style="text_m">
2163 <placement x="%indent%" y="%row21_y%"/>
2164 <text>%tw_size_progress%</text>
2165 </text>
2166
2167 <button style="main_button_half_height">
2168 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002170 <action function="cancelbackup"/>
2171 </button>
2172
2173 <action>
2174 <action function="nandroid">backup</action>
2175 </action>
2176
2177 <action>
2178 <condition var1="tw_operation_state" var2="1"/>
2179 <condition var1="tw_cancel_backup" var2="0"/>
2180 <actions>
2181 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002182 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002183 <action function="set">tw_show_reboot=1</action>
2184 <action function="page">action_complete</action>
2185 </actions>
2186 </action>
2187
2188 <action>
2189 <condition var1="tw_operation_state" var2="1"/>
2190 <condition var1="tw_cancel_backup" var2="1"/>
2191 <actions>
2192 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002194 <action function="set">tw_show_reboot=1</action>
2195 <action function="page">action_complete</action>
2196 </actions>
2197 </action>
2198 </page>
2199
2200 <page name="restore">
2201 <template name="page"/>
2202
2203 <text style="text_l">
2204 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002205 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002206 </text>
2207
2208 <text style="text_m">
2209 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002210 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002211 </text>
2212
2213 <template name="sort_options"/>
2214
2215 <fileselector>
2216 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 <filter folders="1" files="0" nav="0"/>
2219 <path name="tw_backups_folder"/>
2220 <data name="tw_restore" default=""/>
2221 <selection name="tw_restore_name"/>
2222 </fileselector>
2223
2224 <button style="main_button_half_height">
2225 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002226 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002227 <actions>
2228 <action function="set">tw_back=restore</action>
2229 <action function="overlay">select_storage</action>
2230 </actions>
2231 </button>
2232
2233 <action>
2234 <condition var1="tw_restore" op="modified"/>
2235 <actions>
2236 <action function="readBackup"/>
2237 <action function="page">restore_read</action>
2238 </actions>
2239 </action>
2240
2241 <action>
2242 <touch key="home"/>
2243 <action function="page">main</action>
2244 </action>
2245
2246 <action>
2247 <touch key="back"/>
2248 <action function="page">main</action>
2249 </action>
2250 </page>
2251
2252 <page name="restore_read">
2253 <action>
2254 <condition var1="tw_restore_encrypted" var2="1"/>
2255 <actions>
2256 <action function="set">tw_password_fail=0</action>
2257 <action function="page">restore_decrypt</action>
2258 </actions>
2259 </action>
2260
2261 <action>
2262 <condition var1="tw_restore_encrypted" var2="0"/>
2263 <actions>
2264 <action function="page">restore_select</action>
2265 </actions>
2266 </action>
2267 </page>
2268
2269 <page name="restore_decrypt">
2270 <template name="page"/>
2271
2272 <text style="text_l">
2273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002274 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002275 </text>
2276
2277 <text style="text_m">
2278 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </text>
2281
2282 <text style="text_m_accent">
2283 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002284 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002285 </text>
2286
2287 <input>
2288 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2289 <text>%tw_restore_display%</text>
2290 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2291 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2292 <action function="page">try_restore_decrypt</action>
2293 </input>
2294
2295 <fill color="%accent_color%">
2296 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2297 </fill>
2298
2299 <fill color="%text_fail_color%">
2300 <condition var1="tw_password_fail" var2="1"/>
2301 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2302 </fill>
2303
2304 <text style="text_m_fail">
2305 <condition var1="tw_password_fail" var2="1"/>
2306 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002307 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002308 </text>
2309
2310 <button style="main_button_half_height">
2311 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 <actions>
2314 <action function="set">tw_page_done=1</action>
2315 <action function="page">restore</action>
2316 </actions>
2317 </button>
2318
2319 <button style="main_button_half_height">
2320 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <actions>
2323 <action function="set">tw_back=restore</action>
2324 <action function="set">tw_action=cmd</action>
2325 <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 -05002326 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2327 <action function="set">tw_text2=%tw_restore_name%</action>
2328 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2329 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2330 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2331 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002332 <action function="page">confirm_action</action>
2333 </actions>
2334 </button>
2335
2336 <template name="keyboardtemplate"/>
2337
2338 <action>
2339 <touch key="home"/>
2340 <action function="page">main</action>
2341 </action>
2342
2343 <action>
2344 <touch key="back"/>
2345 <action function="page">restore</action>
2346 </action>
2347 </page>
2348
2349 <page name="try_restore_decrypt">
2350 <template name="page"/>
2351
2352 <text style="text_l">
2353 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002354 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002355 </text>
2356
2357 <text style="text_m">
2358 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </text>
2361
2362 <template name="console"/>
2363
2364 <template name="progress_bar"/>
2365
2366 <action>
2367 <action function="decrypt_backup"/>
2368 </action>
2369
2370 <action>
2371 <conditions>
2372 <condition var1="tw_operation_state" var2="1"/>
2373 <condition var1="tw_operation_status" op="!=" var2="0"/>
2374 </conditions>
2375 <actions>
2376 <action function="set">tw_password_fail=1</action>
2377 <action function="page">restore_decrypt</action>
2378 </actions>
2379 </action>
2380
2381 <action>
2382 <conditions>
2383 <condition var1="tw_operation_state" var2="1"/>
2384 <condition var1="tw_operation_status" op="=" var2="0"/>
2385 </conditions>
2386 <actions>
2387 <action function="set">tw_page_done=1</action>
2388 <action function="page">restore_select</action>
2389 </actions>
2390 </action>
2391 </page>
2392
2393 <page name="restore_select">
2394 <template name="page"/>
2395
2396 <text style="text_l">
2397 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002398 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002399 </text>
2400
2401 <text style="text_m">
2402 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002403 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002404 </text>
2405
2406 <text style="text_m_accent">
2407 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002409 </text>
2410
2411 <text style="text_m">
2412 <placement x="%indent%" y="%row3_y%"/>
2413 <text>%tw_restore_name%</text>
2414 </text>
2415
2416 <fill color="%fileselector_linecolor%">
2417 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2418 </fill>
2419
2420 <button>
2421 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2422 <fill color="%transparent%"/>
2423 <actions>
2424 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2425 <action function="set">tw_fileexists=0</action>
2426 <action function="page">renamebackup</action>
2427 </actions>
2428 </button>
2429
2430 <partitionlist>
2431 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2434 <listtype name="restore"/>
2435 </partitionlist>
2436
2437 <checkbox>
2438 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002439 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2440 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002441 </checkbox>
2442
2443 <button style="main_button_half_height">
2444 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <actions>
2447 <action function="set">tw_back=restore</action>
2448 <action function="set">tw_action=cmd</action>
2449 <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 -05002450 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002451 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002452 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2453 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2454 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2455 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002456 <action function="page">confirm_action</action>
2457 </actions>
2458 </button>
2459
2460 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 <action function="page">restore_run</action>
2463 </slider>
2464
2465 <action>
2466 <touch key="home"/>
2467 <action function="page">main</action>
2468 </action>
2469
2470 <action>
2471 <touch key="back"/>
2472 <action function="page">restore</action>
2473 </action>
2474 </page>
2475
2476 <page name="renamebackup">
2477 <template name="page"/>
2478
2479 <text style="text_l">
2480 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002481 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002482 </text>
2483
2484 <text style="text_m">
2485 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 </text>
2488
2489 <text style="text_m_accent">
2490 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002491 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002492 </text>
2493
2494 <input>
2495 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2496 <text>%tw_backup_rename%</text>
2497 <data name="tw_backup_rename"/>
2498 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2499 <actions>
2500 <action function="set">tw_back=restore</action>
2501 <action function="set">tw_action=cmd</action>
2502 <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 -05002503 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2504 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2505 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2506 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2507 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002508 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2509 <action function="set">tw_existpage=renamebackup</action>
2510 <action function="set">tw_notexistpage=confirm_action</action>
2511 <action function="page">filecheck</action>
2512 </actions>
2513 </input>
2514
2515 <fill color="%accent_color%">
2516 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2517 </fill>
2518
2519 <fill color="%text_fail_color%">
2520 <condition var1="tw_fileexists" var2="1"/>
2521 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2522 </fill>
2523
2524 <text style="text_m_fail">
2525 <condition var1="tw_fileexists" var2="1"/>
2526 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <button style="main_button_half_height">
2531 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002532 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 <action function="page">restore_select</action>
2534 </button>
2535
2536 <template name="keyboardtemplate"/>
2537
2538 <action>
2539 <touch key="home"/>
2540 <action function="page">main</action>
2541 </action>
2542
2543 <action>
2544 <touch key="back"/>
2545 <action function="page">restore_select</action>
2546 </action>
2547 </page>
2548
2549 <page name="restore_run">
2550 <template name="page"/>
2551
2552 <text style="text_l">
2553 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 </text>
2556
2557 <text style="text_m">
2558 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2559 <text>%tw_operation% %tw_partition%</text>
2560 </text>
2561
2562 <template name="console"/>
2563
2564 <template name="progress_bar"/>
2565
2566 <text style="text_m_accent">
2567 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002568 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002569 </text>
2570
2571 <text style="text_m">
2572 <placement x="%indent%" y="%row20_y%"/>
2573 <text>%tw_size_progress%</text>
2574 </text>
2575
2576 <action>
2577 <condition var1="tw_operation_state" var2="1"/>
2578 <actions>
2579 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002580 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002581 <action function="set">tw_show_reboot=1</action>
2582 <action function="page">action_complete</action>
2583 </actions>
2584 </action>
2585
2586 <action>
2587 <action function="nandroid">restore</action>
2588 </action>
2589 </page>
2590
2591 <page name="mount">
2592 <template name="page"/>
2593
2594 <text style="text_l">
2595 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002596 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002597 </text>
2598
2599 <text style="text_m">
2600 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002601 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002602 </text>
2603
2604 <partitionlist>
2605 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <listtype name="mount"/>
2608 </partitionlist>
2609
2610 <button style="checkbox">
2611 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2612 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 <image resource="checkbox_false"/>
2615 <action function="mountsystemtoggle">1</action>
2616 </button>
2617
2618 <button style="checkbox">
2619 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2620 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002621 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002622 <image resource="checkbox_true"/>
2623 <actions>
2624 <action function="set">tw_lifetime_writes=2</action>
2625 <action function="page">system_readonly_check</action>
2626 </actions>
2627 </button>
2628
2629 <button style="main_button_half_height">
2630 <condition var1="tw_has_usb_storage" var2="1"/>
2631 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002633 <action function="page">usb_mount</action>
2634 </button>
2635
2636 <button style="main_button_half_height">
2637 <conditions>
2638 <condition var1="tw_is_encrypted" var2="1"/>
2639 <condition var1="tw_is_decrypted" var2="0"/>
2640 </conditions>
2641 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <action function="page">decrypt</action>
2644 </button>
2645
2646 <button style="main_button_half_height">
2647 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_back=mount</action>
2651 <action function="overlay">select_storage</action>
2652 </actions>
2653 </button>
2654
2655 <button style="main_button_half_height">
2656 <conditions>
2657 <condition var1="tw_has_mtp" var2="1"/>
2658 <condition var1="tw_mtp_enabled" var2="0"/>
2659 </conditions>
2660 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002662 <action function="startmtp"/>
2663 </button>
2664
2665 <button style="main_button_half_height">
2666 <conditions>
2667 <condition var1="tw_has_mtp" var2="1"/>
2668 <condition var1="tw_mtp_enabled" var2="1"/>
2669 </conditions>
2670 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002671 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002672 <action function="stopmtp"/>
2673 </button>
2674
2675 <action>
2676 <touch key="home"/>
2677 <action function="page">main</action>
2678 </action>
2679
2680 <action>
2681 <touch key="back"/>
2682 <action function="page">main</action>
2683 </action>
2684 </page>
2685
2686 <page name="usb_mount">
2687 <template name="page"/>
2688
2689 <text style="text_l">
2690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002691 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002692 </text>
2693
2694 <text style="text_m">
2695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002696 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 </text>
2698
2699 <text style="text_m_accent">
2700 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002701 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002702 </text>
2703
2704 <text style="text_m">
2705 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002706 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </text>
2708
2709 <text style="text_m">
2710 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 </text>
2713
2714 <button style="main_button_half_height">
2715 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002716 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002717 <action function="page">usb_umount</action>
2718 </button>
2719
2720 <action>
2721 <action function="mount">usb</action>
2722 <action function="set">tw_busy=1</action>
2723 </action>
2724 </page>
2725
2726 <page name="usb_umount">
2727 <action>
2728 <action function="unmount">usb</action>
2729 </action>
2730
2731 <action>
2732 <action function="page">mount</action>
2733 <action function="set">tw_busy=0</action>
2734 </action>
2735 </page>
2736
2737 <page name="system_readonly_check">
2738 <action>
2739 <action function="checkpartitionlifetimewrites">/system</action>
2740 </action>
2741
2742 <action>
2743 <condition var1="tw_lifetime_writes" var2="1"/>
2744 <actions>
2745 <action function="mountsystemtoggle">0</action>
2746 <action function="page">mount</action>
2747 </actions>
2748 </action>
2749
2750 <action>
2751 <condition var1="tw_lifetime_writes" var2="0"/>
2752 <actions>
2753 <action function="set">tw_back=mount</action>
2754 <action function="page">system_readonly</action>
2755 </actions>
2756 </action>
2757 </page>
2758
2759 <page name="reboot">
2760 <template name="page"/>
2761
2762 <text style="text_l">
2763 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002764 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002765 </text>
2766
2767 <button style="main_button">
2768 <condition var1="tw_reboot_system" var2="1"/>
2769 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 <actions>
2772 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002773 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002774 </actions>
2775 </button>
2776
2777 <button style="main_button">
2778 <condition var1="tw_reboot_poweroff" var2="1"/>
2779 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <actions>
2782 <action function="set">tw_back=reboot</action>
2783 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002784 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002785 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002786 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002787 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2788 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2789 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2790 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2791 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002792 <action function="page">rebootcheck</action>
2793 </actions>
2794 </button>
2795
2796 <button style="main_button">
2797 <condition var1="tw_reboot_recovery" var2="1"/>
2798 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002800 <actions>
2801 <action function="set">tw_back=reboot</action>
2802 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002803 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002804 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2807 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2808 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2809 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2810 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002811 <action function="page">rebootcheck</action>
2812 </actions>
2813 </button>
2814
2815 <button style="main_button">
2816 <condition var1="tw_reboot_bootloader" var2="1"/>
2817 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 <actions>
2820 <action function="set">tw_back=reboot</action>
2821 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002822 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002823 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002824 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002825 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2826 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2827 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2828 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2829 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002830 <action function="page">rebootcheck</action>
2831 </actions>
2832 </button>
2833
2834 <button style="main_button">
2835 <condition var1="tw_download_mode" var2="1"/>
2836 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <actions>
2839 <action function="set">tw_back=reboot</action>
2840 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002841 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002842 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002843 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2845 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2846 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2847 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2848 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002849 <action function="page">rebootcheck</action>
2850 </actions>
2851 </button>
2852
Ethan Yonker1b190162016-12-05 15:25:19 -06002853 <text style="text_m">
2854 <condition var1="tw_has_boot_slots" var2="1"/>
2855 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2856 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2857 </text>
2858
2859 <button style="main_button">
2860 <condition var1="tw_has_boot_slots" var2="1"/>
2861 <placement x="%indent%" y="%row19_y%"/>
2862 <text>{@boot_slot_a=Slot A}</text>
2863 <actions>
2864 <action function="set">tw_back=reboot</action>
2865 <action function="set">tw_action=setbootslot</action>
2866 <action function="set">tw_action_param=A</action>
2867 <action function="set">tw_has_action2=0</action>
2868 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2869 <action function="set">tw_action_text2=</action>
2870 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2871 <action function="page">action_page</action>
2872 </actions>
2873 </button>
2874
2875 <button style="main_button">
2876 <condition var1="tw_has_boot_slots" var2="1"/>
2877 <placement x="%center_x%" y="%row19_y%"/>
2878 <text>{@boot_slot_b=Slot B}</text>
2879 <actions>
2880 <action function="set">tw_back=reboot</action>
2881 <action function="set">tw_action=setbootslot</action>
2882 <action function="set">tw_action_param=B</action>
2883 <action function="set">tw_has_action2=0</action>
2884 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2885 <action function="set">tw_action_text2=</action>
2886 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2887 <action function="page">action_page</action>
2888 </actions>
2889 </button>
2890
z31s1g28f0a922015-11-07 18:50:22 +01002891 <action>
2892 <touch key="home"/>
2893 <action function="page">main</action>
2894 </action>
2895
2896 <action>
2897 <touch key="back"/>
2898 <action function="page">main</action>
2899 </action>
2900 </page>
2901
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002902 <page name="rebootapp">
2903 <template name="page"/>
2904
2905 <text style="text_l">
2906 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2907 <text>{@reboot_hdr=Reboot}</text>
2908 </text>
2909
2910 <text style="text_m">
2911 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2912 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2913 </text>
2914
2915 <text style="text_m_accent">
2916 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2917 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2918 </text>
2919
2920 <text style="text_m_accent">
2921 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2922 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2923 </text>
2924
2925 <checkbox>
2926 <placement x="%indent%" y="%row5_y%"/>
2927 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2928 <data variable="tw_app_prompt"/>
2929 </checkbox>
2930
2931 <checkbox>
2932 <condition var1="tw_mount_system_ro" var2="0"/>
2933 <placement x="%indent%" y="%row7_y%"/>
2934 <text>{@reboot_install_app_system=Install as a System App}</text>
2935 <data variable="tw_app_install_system"/>
2936 </checkbox>
2937
2938 <button style="main_button_half_height">
2939 <placement x="%indent%" y="%row16_y%"/>
2940 <text>{@su_cancel=Do not Install}</text>
2941 <action function="reboot">%tw_reboot_param%</action>
2942 </button>
2943
2944 <slider>
2945 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2946 <actions>
2947 <action function="set">tw_back=reboot</action>
2948 <action function="set">tw_action=installapp</action>
2949 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2950 <action function="set">tw_action_text2=</action>
2951 <action function="set">tw_has_action2=1</action>
2952 <action function="set">tw_action2=reboot</action>
2953 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2954 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2955 <action function="page">action_page</action>
2956 </actions>
2957 </slider>
2958
2959 <action>
2960 <touch key="home"/>
2961 <actions>
2962 <action function="set">tw_app_install_status=0</action>
2963 <action function="page">main</action>
2964 </actions>
2965 </action>
2966
2967 <action>
2968 <touch key="back"/>
2969 <actions>
2970 <action function="set">tw_app_install_status=0</action>
2971 <action function="page">reboot</action>
2972 </actions>
2973 </action>
2974 </page>
2975
z31s1g28f0a922015-11-07 18:50:22 +01002976 <page name="system_readonly">
2977 <template name="page"/>
2978
2979 <text style="text_l">
2980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </text>
2983
2984 <text style="text_m_accent">
2985 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </text>
2988
2989 <text style="text_m">
2990 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </text>
2993
2994 <text style="text_m">
2995 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <text style="text_m">
3000 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 </text>
3003
3004 <text style="text_m">
3005 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003007 </text>
3008
3009 <text style="text_m_fail">
3010 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </text>
3013
3014 <text style="text_m_fail">
3015 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003017 </text>
3018
3019 <checkbox>
3020 <condition var1="tw_is_encrypted" var2="0"/>
3021 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 <data variable="tw_never_show_system_ro_page"/>
3024 </checkbox>
3025
3026 <button style="main_button_half_height">
3027 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003028 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003029 <actions>
3030 <action function="mountsystemtoggle">1</action>
3031 <action function="set">tw_page_done=1</action>
3032 <action function="page">%tw_back%</action>
3033 </actions>
3034 </button>
3035
z31s1g608d7ff2016-01-18 19:47:25 +01003036 <button style="main_button_half_height">
3037 <placement x="%center_x%" y="%row18a_y%"/>
3038 <text>{@sel_lang_btn=Select Language}</text>
3039 <action function="overlay">select_language</action>
3040 </button>
3041
z31s1g28f0a922015-11-07 18:50:22 +01003042 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003043 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003044 <actions>
3045 <action function="mountsystemtoggle">0</action>
3046 <action function="set">tw_page_done=1</action>
3047 <action function="page">%tw_back%</action>
3048 </actions>
3049 </slider>
3050 </page>
3051
3052 <page name="settings">
3053 <template name="page"/>
3054
3055 <text style="text_l">
3056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </text>
3059
3060 <text style="text_m">
3061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </text>
3064
3065 <template name="tabs_settings"/>
3066
3067 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </fill>
3070
3071 <listbox style="scrolllist">
3072 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3073 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_signed_zip_verify"/>
3076 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003077 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3078 <data variable="tw_install_reboot"/>
3079 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003081 <data variable="tw_rm_rf"/>
3082 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003083 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3084 <data variable="tw_disable_free_space"/>
3085 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003086 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3087 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003088 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003089 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3090 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003091 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003093 <data variable="tw_military_time"/>
3094 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003096 <data variable="tw_samsung_navbar"/>
3097 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003098 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3099 <data variable="tw_app_prompt"/>
3100 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003102 <data variable="tw_simulate_actions"/>
3103 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003105 <condition var1="tw_simulate_actions" var2="1"/>
3106 <data variable="tw_simulate_fail"/>
3107 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003108 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3109 <condition var1="tw_no_sha2" var2="0"/>
3110 <data variable="tw_use_sha2"/>
3111 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003112 </listbox>
3113
3114 <button style="main_button_half_height">
3115 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003117 <actions>
3118 <action function="set">tw_samsung_navbar=0</action>
3119 <action function="set">tw_tab_icons=0</action>
3120 <action function="restoredefaultsettings"/>
3121 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003122 </button>
3123
3124 <action>
3125 <touch key="home"/>
3126 <action function="page">main</action>
3127 </action>
3128
3129 <action>
3130 <touch key="back"/>
3131 <action function="page">main</action>
3132 </action>
3133 </page>
3134
3135 <page name="settings_timezone">
3136 <template name="page"/>
3137
3138 <text style="text_l">
3139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 </text>
3142
3143 <text style="text_m">
3144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 </text>
3147
3148 <template name="tabs_settings"/>
3149
3150 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003152 </fill>
3153
3154 <listbox>
3155 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3159 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3160 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3161 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3162 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3163 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3164 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3165 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3166 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3167 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3168 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3169 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3170 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3171 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3172 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3173 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3174 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3175 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3176 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3177 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3178 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3179 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3180 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3181 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003182 </listbox>
3183
3184 <text style="text_m_accent">
3185 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 </text>
3188
3189 <button style="button_quarter_width">
3190 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003191 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003192 <action function="set">tw_time_zone_guioffset=0</action>
3193 </button>
3194
3195 <button style="button_quarter_width">
3196 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003198 <action function="set">tw_time_zone_guioffset=15</action>
3199 </button>
3200
3201 <button style="button_quarter_width">
3202 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <action function="set">tw_time_zone_guioffset=30</action>
3205 </button>
3206
3207 <button style="button_quarter_width">
3208 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <action function="set">tw_time_zone_guioffset=45</action>
3211 </button>
3212
3213 <checkbox>
3214 <placement x="%indent%" y="%row18a_y%"/>
3215 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003217 <data variable="tw_time_zone_guidst"/>
3218 <image checked="checkbox_true" unchecked="checkbox_false"/>
3219 </checkbox>
3220
3221 <text color="%text_color%">
3222 <font resource="font_m"/>
3223 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <button>
3228 <highlight color="%highlight_color%"/>
3229 <placement x="%center_x%" y="%row21a_y%"/>
3230 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 <image resource="main_button_half_height"/>
3233 <action function="setguitimezone"/>
3234 </button>
3235
3236 <action>
3237 <touch key="home"/>
3238 <action function="page">main</action>
3239 </action>
3240
3241 <action>
3242 <touch key="back"/>
3243 <action function="page">main</action>
3244 </action>
3245 </page>
3246
3247 <page name="settings_screen">
3248 <template name="page"/>
3249
3250 <text style="text_l">
3251 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </text>
3254
3255 <text style="text_m">
3256 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 </text>
3259
3260 <template name="tabs_settings"/>
3261
3262 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003263 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003264 </fill>
3265
3266 <button>
3267 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3268 <font resource="font_m" color="%text_color%"/>
3269 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3270 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 <image resource="checkbox_false"/>
3273 <action function="set">tw_screen_timeout_secs=60</action>
3274 </button>
3275
3276 <button>
3277 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3278 <font resource="font_m" color="%text_color%"/>
3279 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3280 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <image resource="checkbox_true"/>
3283 <action function="set">tw_screen_timeout_secs=0</action>
3284 </button>
3285
3286 <slidervalue>
3287 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3288 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3289 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3292 </slidervalue>
3293
3294 <slidervalue>
3295 <condition var1="tw_has_brightnesss_file" var2="1"/>
3296 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003298 <data variable="tw_brightness_pct" min="10" max="100"/>
3299 <actions>
3300 <action function="set">tw_brightness=%tw_brightness_max%</action>
3301 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3302 <action function="compute">tw_brightness/100</action>
3303 <action function="setbrightness">%tw_brightness%</action>
3304 </actions>
3305 </slidervalue>
3306
3307 <action>
3308 <touch key="home"/>
3309 <action function="page">main</action>
3310 </action>
3311
3312 <action>
3313 <touch key="back"/>
3314 <action function="page">main</action>
3315 </action>
3316 </page>
3317
3318 <page name="settings_vibration">
3319 <template name="page"/>
3320
3321 <text style="text_l">
3322 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <text style="text_m">
3327 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </text>
3330
3331 <template name="tabs_settings"/>
3332
3333 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </fill>
3336
3337 <slidervalue>
3338 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <data variable="tw_button_vibrate" min="0" max="300"/>
3341 </slidervalue>
3342
3343 <slidervalue>
3344 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3347 </slidervalue>
3348
3349 <slidervalue>
3350 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 <data variable="tw_action_vibrate" min="0" max="500"/>
3353 </slidervalue>
3354
3355 <action>
3356 <touch key="home"/>
3357 <action function="page">main</action>
3358 </action>
3359
3360 <action>
3361 <touch key="back"/>
3362 <action function="page">main</action>
3363 </action>
3364 </page>
3365
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <page name="settings_language">
3367 <template name="page"/>
3368
3369 <text style="text_l">
3370 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3371 <text>{@settings_hdr=Settings}</text>
3372 </text>
3373
3374 <text style="text_m">
3375 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3376 <text>{@language_hdr=Language - %tw_language_display%}</text>
3377 </text>
3378
3379 <template name="tabs_settings"/>
3380
3381 <fill color="%text_color%">
3382 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3383 </fill>
3384
3385 <listbox>
3386 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3387 <text>{@select_language=Select Language:}</text>
3388 <icon selected="radio_true" unselected="radio_false" />
3389 <data name="tw_language" />
3390 </listbox>
3391
3392 <button style="main_button_half_height">
3393 <placement x="%center_x%" y="%row21a_y%"/>
3394 <text>{@set_language_btn=Set Language}</text>
3395 <action function="setlanguage"></action>
3396 </button>
3397
3398 <action>
3399 <touch key="home" />
3400 <action function="page">main</action>
3401 </action>
3402
3403 <action>
3404 <touch key="back" />
3405 <action function="page">settings</action>
3406 </action>
3407 </page>
3408
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003409 <page name="copylog">
3410 <template name="page"/>
3411
3412 <text style="text_l">
3413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3414 <text>{@copying_log=Copy Logs to SD Card}</text>
3415 </text>
3416
3417 <checkbox>
3418 <placement x="%indent%" y="%row4_y%"/>
3419 <text>{@include_kernel_log=Include Kernel Log}</text>
3420 <data variable="tw_include_kernel_log" value="1"/>
3421 </checkbox>
3422
3423 <slider>
3424 <text>{@copying_log=Copy Logs to SD Card}</text>
3425 <actions>
3426 <action function="set">tw_back=advanced</action>
3427 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003428 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3429 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430 <action function="page">action_page</action>
3431 </actions>
3432 </slider>
3433
3434 <action>
3435 <touch key="home"/>
3436 <action function="page">main</action>
3437 </action>
3438
3439 <action>
3440 <touch key="back"/>
3441 <actions>
3442 <action function="page">advanced</action>
3443 </actions>
3444 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003445 </page>
3446
z31s1g28f0a922015-11-07 18:50:22 +01003447 <page name="advanced">
3448 <template name="page"/>
3449
3450 <text style="text_l">
3451 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <button style="main_button">
3456 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003458 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </button>
3460
3461 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003462 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003464 <text>{@fix_context_btn=Fix Contexts}</text>
3465 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </button>
3467
3468 <button style="main_button">
3469 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3470 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003472 <actions>
3473 <action function="set">partitionlisterror=0</action>
3474 <action function="page">partsdcardsel</action>
3475 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </button>
3477
3478 <button style="main_button">
3479 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 <action function="page">filemanagerlist</action>
3482 </button>
3483
3484 <button style="main_button">
3485 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003487 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </button>
3489
3490 <button style="main_button">
3491 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <action function="reload"/>
3494 </button>
3495
3496 <button style="main_button">
3497 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 <action function="page">sideload</action>
3500 </button>
3501
3502 <button style="main_button">
3503 <condition var1="tw_show_dumlock" var2="1"/>
3504 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003505 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003506 <action function="page">htcdumlock</action>
3507 </button>
3508
3509 <button style="main_button">
3510 <condition var1="tw_has_injecttwrp" var2="1"/>
3511 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <actions>
3514 <action function="set">tw_back=advanced</action>
3515 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3517 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3518 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3519 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003520 <action function="page">confirm_action</action>
3521 </actions>
3522 </button>
3523
3524 <action>
3525 <touch key="home"/>
3526 <action function="page">main</action>
3527 </action>
3528
3529 <action>
3530 <touch key="back"/>
3531 <action function="page">main</action>
3532 </action>
3533 </page>
3534
Ethan Yonker483e9f42016-01-11 22:21:18 -06003535 <page name="partsdcardsel">
3536 <template name="page"/>
3537
3538 <text style="text_l">
3539 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3540 <text>{@advanced_hdr=Advanced}</text>
3541 </text>
3542
3543 <text style="text_m">
3544 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3545 <text>{@part_sd_hdr=Partition SD Card}</text>
3546 </text>
3547
z31s1g782e1c92016-01-30 16:50:09 +01003548 <partitionlist>
3549 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003550 <text>{@sel_storage_list=Select Storage}</text>
3551 <data name="tw_storage_path"/>
3552 <listtype name="storage"/>
3553 </partitionlist>
3554
3555 <text style="text_m_fail">
3556 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003557 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003558 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3559 </text>
3560
z31s1g782e1c92016-01-30 16:50:09 +01003561 <button style="main_button_half_height">
3562 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003563 <text>{@ok_btn=OK}</text>
3564 <actions>
3565 <action function="getpartitiondetails">tw_storage_path</action>
3566 <action function="page">partsdcardcheck</action>
3567 </actions>
3568 </button>
3569
3570 <action>
3571 <touch key="home"/>
3572 <action function="page">main</action>
3573 </action>
3574
3575 <action>
3576 <touch key="back"/>
3577 <action function="page">advanced</action>
3578 </action>
3579 </page>
3580
3581 <page name="partsdcardcheck">
3582 <action>
3583 <condition var1="tw_partition_removable" op="=" var2="1"/>
3584 <actions>
3585 <action function="set">partitionlisterror=0</action>
3586 <action function="page">partsdcard</action>
3587 </actions>
3588 </action>
3589
3590 <action>
3591 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3592 <actions>
3593 <action function="set">partitionlisterror=1</action>
3594 <action function="page">partsdcardsel</action>
3595 </actions>
3596 </action>
3597 </page>
3598
z31s1g28f0a922015-11-07 18:50:22 +01003599 <page name="partsdcard">
3600 <template name="page"/>
3601
3602 <text style="text_l">
3603 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </text>
3606
3607 <text style="text_m">
3608 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 </text>
3611
3612 <text style="text_m_fail">
3613 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003615 </text>
3616
3617 <text style="text_m_fail">
3618 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 </text>
3621
3622 <text style="text_m_accent">
3623 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 </text>
3626
3627 <text style="text_m">
3628 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3629 <text>%tw_sdext_size%</text>
3630 </text>
3631
3632 <button style="button_quarter_width">
3633 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003635 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </button>
3637
3638 <button style="button_quarter_width">
3639 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003641 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003642 </button>
3643
3644 <text style="text_m_accent">
3645 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003646 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003647 </text>
3648
3649 <text style="text_m">
3650 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3651 <text>%tw_swap_size%</text>
3652 </text>
3653
3654 <button style="button_quarter_width">
3655 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003657 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003658 </button>
3659
3660 <button style="button_quarter_width">
3661 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003663 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003664 </button>
3665
3666 <text style="text_m_accent">
3667 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003668 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003669 </text>
3670
3671 <text style="text_m">
3672 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3673 <text>%tw_sdpart_file_system%</text>
3674 </text>
3675
3676 <button style="button_quarter_width">
3677 <placement x="%indent%" y="%row14_y%"/>
3678 <text>EXT3</text>
3679 <action function="set">tw_sdpart_file_system=ext3</action>
3680 </button>
3681
3682 <button style="button_quarter_width">
3683 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3684 <text>EXT4</text>
3685 <action function="set">tw_sdpart_file_system=ext4</action>
3686 </button>
3687
3688 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003690 <action function="page">partsdcardaction</action>
3691 <actions>
3692 <action function="set">tw_back=partsdcard</action>
3693 <action function="set">tw_action=partitionsd</action>
3694 <action function="set">tw_has_action2=1</action>
3695 <action function="set">tw_action2=set</action>
3696 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3698 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3699 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003700 <action function="page">action_page</action>
3701 </actions>
3702 </slider>
3703
3704 <action>
3705 <touch key="home"/>
3706 <action function="page">main</action>
3707 </action>
3708
3709 <action>
3710 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003711 <actions>
3712 <action function="set">partitionlisterror=0</action>
3713 <action function="page">partsdcardsel</action>
3714 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003715 </action>
3716 </page>
3717
3718 <page name="htcdumlock">
3719 <template name="page"/>
3720
3721 <text style="text_l">
3722 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </text>
3725
3726 <text style="text_m">
3727 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <button style="main_button_half_height_full_width">
3732 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <actions>
3735 <action function="set">tw_back=htcdumlock</action>
3736 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3738 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3739 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3740 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <action function="page">confirm_action</action>
3742 </actions>
3743 </button>
3744
3745 <button style="main_button_half_height_full_width">
3746 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <actions>
3749 <action function="set">tw_back=htcdumlock</action>
3750 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3752 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3753 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3754 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003755 <action function="page">confirm_action</action>
3756 </actions>
3757 </button>
3758
3759 <button style="main_button_half_height_full_width">
3760 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003761 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003762 <actions>
3763 <action function="set">tw_back=htcdumlock</action>
3764 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3766 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3767 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3768 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <action function="page">confirm_action</action>
3770 </actions>
3771 </button>
3772
3773 <action>
3774 <touch key="home"/>
3775 <action function="page">main</action>
3776 </action>
3777
3778 <action>
3779 <touch key="back"/>
3780 <action function="page">advanced</action>
3781 </action>
3782 </page>
3783
3784 <page name="lock">
3785 <background color="%semi_transparent%"/>
3786
3787 <image>
3788 <image resource="unlock_icon"/>
3789 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3790 </image>
3791
3792 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003794 <action function="overlay"/>
3795 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003796
3797 <action>
3798 <touch key="power"/>
3799 <action function="togglebacklight"/>
3800 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003801 </page>
3802
3803 <page name="filemanagerlist">
3804 <template name="page"/>
3805
3806 <text style="text_l">
3807 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003808 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003809 </text>
3810
3811 <text style="text_m">
3812 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003814 </text>
3815
3816 <template name="sort_options"/>
3817
3818 <fileselector>
3819 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3820 <text>%tw_file_location1%</text>
3821 <filter folders="1" files="1"/>
3822 <path name="tw_file_location1" default="/"/>
3823 <data name="tw_filename1"/>
3824 <selection name="tw_selection1"/>
3825 </fileselector>
3826
3827 <button style="fab">
3828 <image resource="fab_selectfolder"/>
3829 <actions>
3830 <action function="set">tw_filename1=tw_file_location1</action>
3831 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003833 <action function="page">filemanageroptions</action>
3834 </actions>
3835 </button>
3836
3837 <action>
3838 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003839 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003840 <action function="set">tw_fm_isfolder=0</action>
3841 </actions>
3842 </action>
3843
3844 <action>
3845 <touch key="home"/>
3846 <action function="page">main</action>
3847 </action>
3848
3849 <action>
3850 <touch key="back"/>
3851 <action function="page">advanced</action>
3852 </action>
3853
3854 <action>
3855 <condition var1="tw_filename1" op="modified"/>
3856 <action function="page">filemanageroptions</action>
3857 </action>
3858 </page>
3859
3860 <page name="filemanageroptions">
3861 <template name="page"/>
3862
3863 <text style="text_l">
3864 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <text style="text_m">
3869 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003871 </text>
3872
3873 <text style="text_m_accent">
3874 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <text style="text_m">
3879 <placement x="%indent%" y="%row3_y%"/>
3880 <text>%tw_filename1%</text>
3881 </text>
3882
3883 <button style="main_button_half_height">
3884 <condition var1="tw_fm_isfolder" var2="0"/>
3885 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 <actions>
3888 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <action function="page">choosedestinationfolder</action>
3891 </actions>
3892 </button>
3893
3894 <button style="main_button_half_height">
3895 <condition var1="tw_fm_isfolder" var2="1"/>
3896 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 <actions>
3899 <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 -05003900 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <action function="page">choosedestinationfolder</action>
3902 </actions>
3903 </button>
3904
3905 <button style="main_button_half_height">
3906 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <actions>
3909 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003911 <action function="page">choosedestinationfolder</action>
3912 </actions>
3913 </button>
3914
3915 <button style="main_button_half_height">
3916 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003917 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003918 <actions>
3919 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003921 <action function="set">tw_fm_text2=</action>
3922 <action function="set">tw_fm_text3=</action>
3923 <action function="set">tw_include_text3=0</action>
3924 <action function="set">tw_back=filemanageroptions</action>
3925 <action function="page">filemanagerconfirm</action>
3926 </actions>
3927 </button>
3928
3929 <button style="main_button_half_height">
3930 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 <actions>
3933 <action function="set">tw_filemanager_rename=0000</action>
3934 <action function="set">tw_fm_text2=</action>
3935 <action function="set">tw_fm_text3=</action>
3936 <action function="set">tw_include_text3=0</action>
3937 <action function="set">tw_back=filemanageroptions</action>
3938 <action function="page">filemanagerchmod</action>
3939 </actions>
3940 </button>
3941
3942 <button style="main_button_half_height">
3943 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 <actions>
3946 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003948 <action function="set">tw_fm_text2=</action>
3949 <action function="set">tw_fm_text3=</action>
3950 <action function="set">tw_include_text3=0</action>
3951 <action function="set">tw_back=filemanageroptions</action>
3952 <action function="page">filemanagerconfirm</action>
3953 </actions>
3954 </button>
3955
3956 <button style="main_button_half_height">
3957 <condition var1="tw_fm_isfolder" var2="0"/>
3958 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <actions>
3961 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003963 <action function="set">tw_filemanager_command=mv</action>
3964 <action function="page">filemanagerrenamefile</action>
3965 </actions>
3966 </button>
3967
3968 <button style="main_button_half_height">
3969 <condition var1="tw_fm_isfolder" var2="1"/>
3970 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <actions>
3973 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003974 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003975 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3976 <action function="page">filemanagerrenamefolder</action>
3977 </actions>
3978 </button>
3979
3980 <action>
3981 <touch key="home"/>
3982 <action function="page">main</action>
3983 </action>
3984
3985 <action>
3986 <touch key="back"/>
3987 <action function="page">filemanagerlist</action>
3988 </action>
3989 </page>
3990
3991 <page name="choosedestinationfolder">
3992 <template name="page"/>
3993
3994 <text style="text_l">
3995 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
3999 <text style="text_m">
4000 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004002 </text>
4003
4004 <template name="sort_options"/>
4005
4006 <fileselector>
4007 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4008 <text>%tw_file_location2%</text>
4009 <filter folders="1" files="0"/>
4010 <path name="tw_file_location2" default="/"/>
4011 <data name="tw_filename2"/>
4012 <selection name="tw_selection2"/>
4013 </fileselector>
4014
4015 <button style="fab">
4016 <image resource="fab_selectfolder"/>
4017 <actions>
4018 <action function="set">tw_fm_text2=to</action>
4019 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4020 <action function="set">tw_include_text3=1</action>
4021 <action function="set">tw_back=filemanageroptions</action>
4022 <action function="page">filemanagerconfirm</action>
4023 </actions>
4024 </button>
4025
4026 <action>
4027 <touch key="home"/>
4028 <action function="page">main</action>
4029 </action>
4030
4031 <action>
4032 <touch key="back"/>
4033 <action function="page">filemanageroptions</action>
4034 </action>
4035 </page>
4036
4037 <page name="filemanagerrenamefile">
4038 <template name="page"/>
4039
4040 <text style="text_l">
4041 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004042 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004043 </text>
4044
4045 <text style="text_m">
4046 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </text>
4049
4050 <text style="text_m_accent">
4051 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004053 </text>
4054
4055 <input>
4056 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4057 <text>%tw_filemanager_rename%</text>
4058 <data name="tw_filemanager_rename"/>
4059 <restrict minlen="1" maxlen="128"/>
4060 <actions>
4061 <action function="set">tw_fm_text2=to</action>
4062 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4063 <action function="set">tw_include_text3=1</action>
4064 <action function="set">tw_back=filemanageroptions</action>
4065 <action function="page">filemanagerconfirm</action>
4066 </actions>
4067 </input>
4068
4069 <fill color="%accent_color%">
4070 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4071 </fill>
4072
4073 <button style="main_button_half_height">
4074 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 <action function="page">filemanageroptions</action>
4077 </button>
4078
4079 <template name="keyboardtemplate"/>
4080
4081 <action>
4082 <touch key="home"/>
4083 <action function="page">main</action>
4084 </action>
4085
4086 <action>
4087 <touch key="back"/>
4088 <action function="page">filemanageroptions</action>
4089 </action>
4090 </page>
4091
4092 <page name="filemanagerrenamefolder">
4093 <template name="page"/>
4094
4095 <text style="text_l">
4096 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004097 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004098 </text>
4099
4100 <text style="text_m">
4101 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004102 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004103 </text>
4104
4105 <text style="text_m_accent">
4106 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 </text>
4109
4110 <input>
4111 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4112 <text>%tw_filemanager_rename%</text>
4113 <data name="tw_filemanager_rename"/>
4114 <restrict minlen="1" maxlen="128"/>
4115 <actions>
4116 <action function="set">tw_fm_text2=to</action>
4117 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4118 <action function="set">tw_include_text3=1</action>
4119 <action function="set">tw_back=filemanageroptions</action>
4120 <action function="page">filemanagerconfirm</action>
4121 </actions>
4122 </input>
4123
4124 <fill color="%accent_color%">
4125 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4126 </fill>
4127
4128 <button style="main_button_half_height">
4129 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004130 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004131 <action function="page">filemanageroptions</action>
4132 </button>
4133
4134 <template name="keyboardtemplate"/>
4135
4136 <action>
4137 <touch key="home"/>
4138 <action function="page">main</action>
4139 </action>
4140
4141 <action>
4142 <touch key="back"/>
4143 <action function="page">filemanageroptions</action>
4144 </action>
4145 </page>
4146
4147 <page name="filemanagerchmod">
4148 <template name="page"/>
4149
4150 <text style="text_l">
4151 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004153 </text>
4154
4155 <text style="text_m">
4156 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004158 </text>
4159
4160 <text style="text_m_accent">
4161 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004163 </text>
4164
4165 <input>
4166 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4167 <text>%tw_filemanager_rename%</text>
4168 <data name="tw_filemanager_rename"/>
4169 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4170 <actions>
4171 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4172 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4173 <action function="set">tw_back=filemanageroptions</action>
4174 <action function="page">filemanagerconfirm</action>
4175 </actions>
4176 </input>
4177
4178 <fill color="%accent_color%">
4179 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4180 </fill>
4181
4182 <button style="main_button_half_height">
4183 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004184 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004185 <action function="page">filemanageroptions</action>
4186 </button>
4187
4188 <template name="keyboardtemplate"/>
4189
4190 <action>
4191 <touch key="home"/>
4192 <action function="page">main</action>
4193 </action>
4194
4195 <action>
4196 <touch key="back"/>
4197 <action function="page">filemanageroptions</action>
4198 </action>
4199 </page>
4200
4201 <page name="filemanagerconfirm">
4202 <template name="page"/>
4203
4204 <text style="text_l">
4205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004206 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004207 </text>
4208
4209 <text style="text_m">
4210 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004211 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004212 </text>
4213
4214 <text style="text_m_accent">
4215 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4216 <text>%tw_fm_text1%</text>
4217 </text>
4218
4219 <text style="text_m">
4220 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4221 <text>%tw_filename1%</text>
4222 </text>
4223
4224 <text style="text_m_accent">
4225 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4226 <text>%tw_fm_text2%</text>
4227 </text>
4228
4229 <text style="text_m">
4230 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4231 <text>%tw_fm_text3%</text>
4232 </text>
4233
4234 <text style="text_m">
4235 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004236 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004237 </text>
4238
4239 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 <action function="page">filemanageraction</action>
4242 </slider>
4243
4244 <action>
4245 <touch key="back"/>
4246 <action function="page">%tw_back%</action>
4247 </action>
4248
4249 <action>
4250 <touch key="home"/>
4251 <action function="page">main</action>
4252 </action>
4253 </page>
4254
4255 <page name="filemanageraction">
4256 <template name="page"/>
4257
4258 <text style="text_l">
4259 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004261 </text>
4262
4263 <text style="text_m">
4264 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4265 <text>%tw_fm_text1%</text>
4266 </text>
4267
4268 <template name="console"/>
4269
4270 <template name="progress_bar"/>
4271
4272 <action>
4273 <conditions>
4274 <condition var1="tw_operation_state" var2="1"/>
4275 <condition var1="tw_operation_status" var2="0"/>
4276 </conditions>
4277 <actions>
4278 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004279 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004280 <action function="page">action_complete</action>
4281 </actions>
4282 </action>
4283
4284 <action>
4285 <conditions>
4286 <condition var1="tw_operation_state" var2="1"/>
4287 <condition var1="tw_operation_status" op="!=" var2="0"/>
4288 </conditions>
4289 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004291 <action function="page">action_complete</action>
4292 </actions>
4293 </action>
4294
4295 <action>
4296 <condition var1="tw_include_text3" var2="0"/>
4297 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4298 </action>
4299
4300 <action>
4301 <condition var1="tw_include_text3" var2="1"/>
4302 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4303 </action>
4304 </page>
4305
4306 <page name="decrypt">
4307 <template name="page"/>
4308
4309 <action>
4310 <condition var1="tw_crypto_pwtype" var2="2"/>
4311 <action function="page">decrypt_pattern</action>
4312 </action>
4313
4314 <text style="text_l">
4315 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004316 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004317 </text>
4318
4319 <text style="text_m">
4320 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004322 </text>
4323
4324 <text style="text_m_accent">
4325 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004326 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </text>
4328
4329 <input>
4330 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4331 <text>%tw_crypto_display%</text>
4332 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4333 <restrict minlen="1" maxlen="254"/>
4334 <action function="page">trydecrypt</action>
4335 </input>
4336
4337 <fill color="%accent_color%">
4338 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4339 </fill>
4340
4341 <fill color="%text_fail_color%">
4342 <condition var1="tw_password_fail" var2="1"/>
4343 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4344 </fill>
4345
4346 <text style="text_m_fail">
4347 <condition var1="tw_password_fail" var2="1"/>
4348 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004349 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004350 </text>
4351
4352 <button style="main_button_half_height">
4353 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004354 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004355 <actions>
4356 <action function="set">tw_page_done=1</action>
4357 <action function="page">main</action>
4358 </actions>
4359 </button>
4360
z31s1g608d7ff2016-01-18 19:47:25 +01004361 <button style="main_button_half_height">
4362 <placement x="%center_x%" y="%row10_y%"/>
4363 <text>{@sel_lang_btn=Select Language}</text>
4364 <action function="overlay">select_language</action>
4365 </button>
4366
z31s1g28f0a922015-11-07 18:50:22 +01004367 <template name="keyboardtemplate"/>
4368 </page>
4369
4370 <page name="decrypt_pattern">
4371 <template name="page"/>
4372
4373 <text style="text_l">
4374 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004375 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004376 </text>
4377
4378 <text style="text_m">
4379 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004380 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004381 </text>
4382
4383 <text style="text_m_accent">
4384 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004385 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004386 </text>
4387
Aleksa Saraib25a1832015-12-31 17:36:00 +01004388 <text style="text_m_fail">
4389 <condition var1="tw_password_fail" var2="1"/>
4390 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004391 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004392 </text>
4393
z31s1g28f0a922015-11-07 18:50:22 +01004394 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004395 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004396 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4397 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4398 <data name="tw_crypto_password"/>
4399 <action function="page">trydecrypt</action>
4400 </patternpassword>
4401
Aleksa Saraib25a1832015-12-31 17:36:00 +01004402 <button style="button_quarter_width">
4403 <placement x="%indent%" y="%row19a_y%"/>
4404 <text>3x3</text>
4405 <action function="set">tw_gui_pattern_grid_size=3</action>
4406 </button>
4407
4408 <button style="button_quarter_width">
4409 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4410 <text>4x4</text>
4411 <action function="set">tw_gui_pattern_grid_size=4</action>
4412 </button>
4413
4414 <button style="button_quarter_width">
4415 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4416 <text>5x5</text>
4417 <action function="set">tw_gui_pattern_grid_size=5</action>
4418 </button>
4419
4420 <button style="button_quarter_width">
4421 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4422 <text>6x6</text>
4423 <action function="set">tw_gui_pattern_grid_size=6</action>
4424 </button>
4425
z31s1g28f0a922015-11-07 18:50:22 +01004426 <button style="main_button_half_height">
4427 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 <actions>
4430 <action function="set">tw_page_done=1</action>
4431 <action function="page">main</action>
4432 </actions>
4433 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004434
4435 <button style="main_button_half_height">
4436 <placement x="%center_x%" y="%row21a_y%"/>
4437 <text>{@sel_lang_btn=Select Language}</text>
4438 <action function="overlay">select_language</action>
4439 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </page>
4441
4442 <page name="trydecrypt">
4443 <template name="page"/>
4444
4445 <text style="text_l">
4446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004447 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004448 </text>
4449
4450 <text style="text_m">
4451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004452 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004453 </text>
4454
4455 <template name="console"/>
4456
4457 <template name="progress_bar"/>
4458
4459 <action>
4460 <action function="decrypt"/>
4461 </action>
4462
4463 <action>
4464 <conditions>
4465 <condition var1="tw_operation_state" var2="1"/>
4466 <condition var1="tw_operation_status" op="!=" var2="0"/>
4467 </conditions>
4468 <actions>
4469 <action function="set">tw_password_fail=1</action>
4470 <action function="page">decrypt</action>
4471 </actions>
4472 </action>
4473
4474 <action>
4475 <conditions>
4476 <condition var1="tw_operation_state" var2="1"/>
4477 <condition var1="tw_operation_status" op="=" var2="0"/>
4478 </conditions>
4479 <actions>
4480 <action function="set">tw_page_done=1</action>
4481 <action function="page">main</action>
4482 </actions>
4483 </action>
4484 </page>
4485
z31s1g28f0a922015-11-07 18:50:22 +01004486 <page name="terminalcommand">
4487 <template name="page"/>
4488
z31s1g56189522016-01-13 19:12:40 +01004489 <fill color="%background_color%">
4490 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </fill>
4492
z31s1g56189522016-01-13 19:12:40 +01004493 <terminal>
4494 <condition var1="tw_hide_kb" var2="0"/>
4495 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4496 </terminal>
4497
4498 <terminal>
4499 <condition var1="tw_hide_kb" var2="1"/>
4500 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4501 </terminal>
4502
4503 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004504
4505 <template name="keyboardtemplate"/>
4506
z31s1g608d7ff2016-01-18 19:47:25 +01004507 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004508 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004509 </fill>
z31s1g56189522016-01-13 19:12:40 +01004510
z31s1g608d7ff2016-01-18 19:47:25 +01004511 <button>
z31s1g56189522016-01-13 19:12:40 +01004512 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4513 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4514 <image resource="back" />
4515 <condition var1="tw_busy" var2="0" />
4516 <actions>
4517 <action function="set">tw_hide_kb=0</action>
4518 <action function="key">back</action>
4519 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004520 </button>
z31s1g56189522016-01-13 19:12:40 +01004521
z31s1g608d7ff2016-01-18 19:47:25 +01004522 <button>
z31s1g56189522016-01-13 19:12:40 +01004523 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4524 <condition var1="tw_hide_kb" op="=" var2="0" />
4525 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4526 <image resource="kb_hide" />
4527 <condition var1="tw_busy" var2="0" />
4528 <actions>
4529 <action function="set">tw_hide_kb=1</action>
4530 <action function="page">terminalcommand</action>
4531 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004532 </button>
z31s1g56189522016-01-13 19:12:40 +01004533
z31s1g608d7ff2016-01-18 19:47:25 +01004534 <button>
z31s1g56189522016-01-13 19:12:40 +01004535 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4536 <condition var1="tw_hide_kb" op="=" var2="1" />
4537 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4538 <image resource="kb_show" />
4539 <condition var1="tw_busy" var2="0" />
4540 <actions>
4541 <action function="set">tw_hide_kb=0</action>
4542 <action function="page">terminalcommand</action>
4543 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004544 </button>
z31s1g56189522016-01-13 19:12:40 +01004545
z31s1g608d7ff2016-01-18 19:47:25 +01004546 <button>
z31s1g56189522016-01-13 19:12:40 +01004547 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4548 <image resource="home" />
4549 <condition var1="tw_busy" var2="0" />
4550 <actions>
4551 <action function="set">tw_hide_kb=0</action>
4552 <action function="key">home</action>
4553 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004554 </button>
z31s1g56189522016-01-13 19:12:40 +01004555
z31s1g608d7ff2016-01-18 19:47:25 +01004556 <button>
z31s1g56189522016-01-13 19:12:40 +01004557 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4558 <condition var1="tw_hide_kb" op="=" var2="0" />
4559 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4560 <image resource="kb_hide" />
4561 <condition var1="tw_busy" var2="0" />
4562 <actions>
4563 <action function="set">tw_hide_kb=1</action>
4564 <action function="page">terminalcommand</action>
4565 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004566 </button>
z31s1g56189522016-01-13 19:12:40 +01004567
z31s1g608d7ff2016-01-18 19:47:25 +01004568 <button>
z31s1g56189522016-01-13 19:12:40 +01004569 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4570 <condition var1="tw_hide_kb" op="=" var2="1" />
4571 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4572 <image resource="kb_show" />
4573 <condition var1="tw_busy" var2="0" />
4574 <actions>
4575 <action function="set">tw_hide_kb=0</action>
4576 <action function="page">terminalcommand</action>
4577 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004578 </button>
z31s1g56189522016-01-13 19:12:40 +01004579
z31s1g608d7ff2016-01-18 19:47:25 +01004580 <button>
z31s1g56189522016-01-13 19:12:40 +01004581 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4582 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4583 <image resource="back" />
4584 <condition var1="tw_busy" var2="0" />
4585 <actions>
4586 <action function="set">tw_hide_kb=0</action>
4587 <action function="key">back</action>
4588 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004589 </button>
z31s1g56189522016-01-13 19:12:40 +01004590
z31s1g28f0a922015-11-07 18:50:22 +01004591 <action>
4592 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004593 <actions>
4594 <action function="set">tw_hide_kb=0</action>
4595 <action function="page">main</action>
4596 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004597 </action>
4598
4599 <action>
4600 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004601 <actions>
4602 <action function="set">tw_hide_kb=0</action>
4603 <action function="page">advanced</action>
4604 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </action>
z31s1g56189522016-01-13 19:12:40 +01004606
z31s1g608d7ff2016-01-18 19:47:25 +01004607 <action>
z31s1g56189522016-01-13 19:12:40 +01004608 <touch key="power+voldown" />
4609 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004610 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004611 </page>
4612
4613 <page name="sideload">
4614 <template name="page"/>
4615
4616 <text style="text_l">
4617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004618 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </text>
4620
4621 <text style="text_m">
4622 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <checkbox>
4627 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 <data variable="tw_wipe_dalvik"/>
4630 </checkbox>
4631
4632 <checkbox>
4633 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <data variable="tw_wipe_cache"/>
4636 </checkbox>
4637
4638 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 <actions>
4641 <action function="set">tw_back=advanced</action>
4642 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004643 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4644 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4645 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004646 <action function="set">tw_has_cancel=1</action>
4647 <action function="set">tw_show_reboot=1</action>
4648 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4649 <action function="page">action_page</action>
4650 </actions>
4651 </slider>
4652
4653 <action>
4654 <touch key="home"/>
4655 <action function="page">main</action>
4656 </action>
4657
4658 <action>
4659 <touch key="back"/>
4660 <action function="page">advanced</action>
4661 </action>
4662 </page>
4663
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004664 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004665 <template name="page"/>
4666
4667 <text style="text_l">
4668 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004669 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004670 </text>
4671
4672 <text style="text_m">
4673 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004674 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 </text>
4676
4677 <text style="text_m_accent">
4678 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004679 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 </text>
4681
z31s1g28f0a922015-11-07 18:50:22 +01004682 <text style="text_m_fail">
4683 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004684 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004685 </text>
4686
4687 <text style="text_m_fail">
4688 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004689 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004690 </text>
4691
4692 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004693 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004694 <actions>
4695 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004696 <action function="set">tw_action=fixcontexts</action>
4697 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4698 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004699 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004700 <action function="set">tw_show_reboot=1</action>
4701 <action function="page">action_page</action>
4702 </actions>
4703 </slider>
4704
4705 <action>
4706 <touch key="home"/>
4707 <action function="page">main</action>
4708 </action>
4709
4710 <action>
4711 <touch key="back"/>
4712 <action function="page">advanced</action>
4713 </action>
4714 </page>
4715
4716 <page name="installsu">
4717 <template name="page"/>
4718
4719 <text style="text_l">
4720 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004722 </text>
4723
4724 <text style="text_m">
4725 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004726 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004727 </text>
4728
4729 <text style="text_m_accent">
4730 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004731 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004732 </text>
4733
4734 <text style="text_m">
4735 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004737 </text>
4738
4739 <text style="text_m">
4740 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004741 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004742 </text>
4743
4744 <button style="main_button_half_height">
4745 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004746 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004747 <action function="set">tw_page_done=1</action>
4748 </button>
4749
4750 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004751 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004752 <actions>
4753 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004754 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004755 <action function="set">tw_action_text2=</action>
4756 <action function="page">singleaction_page</action>
4757 </actions>
4758 </slider>
4759 </page>
4760
4761 <page name="slideout">
4762 <fill color="%background_color%">
4763 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4764 </fill>
4765
4766 <console>
4767 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4768 </console>
4769
4770 <button>
4771 <fill color="%transparent%"/>
4772 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4773 <action function="overlay"/>
4774 </button>
4775
4776 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004777 <touch key="power"/>
4778 <action function="togglebacklight"/>
4779 </action>
4780
4781 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004782 <touch key="power+voldown"/>
4783 <action function="screenshot"/>
4784 </action>
4785 </page>
4786
4787 <page name="select_storage">
4788 <fill color="%semi_transparent%">
4789 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4790 </fill>
4791
4792 <fill color="%background_color%">
4793 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4794 </fill>
4795
4796 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004797 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004798 <data name="tw_storage_path"/>
4799 <listtype name="storage"/>
4800 </partitionlist>
4801
4802 <button style="button_third_width">
4803 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004804 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004805 <actions>
4806 <action function="set">tw_clear_destination=%tw_back%</action>
4807 <action function="overlay"/>
4808 <action function="page">clear_vars</action>
4809 </actions>
4810 </button>
4811
4812 <fill color="#000000">
4813 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4814 </fill>
4815
4816 <button>
4817 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4818 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4819 <image resource="back"/>
4820 <condition var1="tw_busy" var2="0"/>
4821 <actions>
4822 <action function="overlay"/>
4823 <action function="key">%tw_back%</action>
4824 </actions>
4825 </button>
4826
4827 <button>
4828 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4829 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4830 <image resource="console"/>
4831 <condition var1="tw_busy" var2="0"/>
4832 <action function="overlay">slideout</action>
4833 </button>
4834
4835 <button>
4836 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4837 <image resource="home"/>
4838 <condition var1="tw_busy" var2="0"/>
4839 <actions>
4840 <action function="overlay"/>
4841 <action function="key">home</action>
4842 </actions>
4843 </button>
4844
4845 <button>
4846 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4847 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4848 <image resource="console"/>
4849 <condition var1="tw_busy" var2="0"/>
4850 <action function="overlay">slideout</action>
4851 </button>
4852
4853 <button>
4854 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4855 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4856 <image resource="back"/>
4857 <condition var1="tw_busy" var2="0"/>
4858 <actions>
4859 <action function="overlay"/>
4860 <action function="key">%tw_back%</action>
4861 </actions>
4862 </button>
4863
4864 <action>
4865 <touch key="power+voldown"/>
4866 <action function="screenshot"/>
4867 </action>
4868 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004869
4870 <page name="select_language">
4871 <fill color="%semi_transparent%">
4872 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4873 </fill>
4874
4875 <fill color="%background_color%">
4876 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4877 </fill>
4878
4879 <listbox>
4880 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4881 <text>{@select_language=Select Language:}</text>
4882 <icon selected="radio_true" unselected="radio_false" />
4883 <data name="tw_language" />
4884 </listbox>
4885
4886 <button style="button_third_width">
4887 <placement x="%dialog_button_x%" y="%row14_y%"/>
4888 <text>{@ok_btn=OK}</text>
4889 <actions>
4890 <action function="overlay"/>
4891 <action function="setlanguage"></action>
4892 </actions>
4893 </button>
4894
4895 <fill color="#000000">
4896 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4897 </fill>
4898
4899 <button>
4900 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4901 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4902 <image resource="back"/>
4903 <condition var1="tw_busy" var2="0"/>
4904 <actions>
4905 <action function="overlay"/>
4906 <action function="key">%tw_back%</action>
4907 </actions>
4908 </button>
4909
4910 <button>
4911 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4912 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4913 <image resource="console"/>
4914 <condition var1="tw_busy" var2="0"/>
4915 <action function="overlay">slideout</action>
4916 </button>
4917
4918 <button>
4919 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4920 <image resource="home"/>
4921 <condition var1="tw_busy" var2="0"/>
4922 <actions>
4923 <action function="overlay"/>
4924 <action function="key">home</action>
4925 </actions>
4926 </button>
4927
4928 <button>
4929 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4930 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4931 <image resource="console"/>
4932 <condition var1="tw_busy" var2="0"/>
4933 <action function="overlay">slideout</action>
4934 </button>
4935
4936 <button>
4937 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4938 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4939 <image resource="back"/>
4940 <condition var1="tw_busy" var2="0"/>
4941 <actions>
4942 <action function="overlay"/>
4943 <action function="key">%tw_back%</action>
4944 </actions>
4945 </button>
4946
4947 <action>
4948 <touch key="power+voldown"/>
4949 <action function="screenshot"/>
4950 </action>
4951 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004952 </pages>
4953</recovery>