blob: f163bea8bd6078dd48ce3def1e0919a42ef24161 [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>
z31s1g28f0a922015-11-07 18:50:22 +0100396 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500397 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 <data variable="tw_inject_after_zip"/>
400 </checkbox>
401
402 <button style="main_button_half_height">
403 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500404 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100405 <action function="page">install</action>
406 </button>
407
408 <button style="main_button_half_height">
409 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500410 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100411 <actions>
412 <action function="queueclear"/>
413 <action function="page">install</action>
414 </actions>
415 </button>
416
417 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 <action function="flash">flash_zip</action>
420 </slider>
421
422 <action>
423 <touch key="back"/>
424 <actions>
425 <action function="cancelzip"/>
426 <action function="page">install</action>
427 </actions>
428 </action>
429
430 <action>
431 <touch key="home"/>
432 <action function="page">main</action>
433 </action>
434 </page>
435
436 <page name="flash_zip">
437 <template name="page"/>
438
439 <text style="text_l">
440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500441 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100442 </text>
443
444 <text style="text_m">
445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
446 <text>%tw_file%</text>
447 </text>
448
449 <template name="console"/>
450
451 <template name="progress_bar"/>
452
453 <action>
454 <condition var1="tw_operation_state" var2="1"/>
455 <action function="page">flash_done</action>
456 </action>
457 </page>
458
459 <page name="flash_done">
460 <template name="page"/>
461
462 <text style="text_l">
463 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500464 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100465 </text>
466
467 <text style="text_m_fail">
468 <condition var1="tw_operation_status" op="!=" var2="0"/>
469 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m">
474 <condition var1="tw_operation_status" var2="0"/>
475 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 </text>
478
479 <template name="console"/>
480
481 <button style="main_button_half_height">
482 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500483 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100484 <actions>
485 <action function="set">tw_back=flash_done</action>
486 <action function="set">tw_action=wipe</action>
487 <action function="set">tw_action_param=/cache</action>
488 <action function="set">tw_has_action2=1</action>
489 <action function="set">tw_action2=wipe</action>
490 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500491 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
492 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
493 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
494 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <action function="page">confirm_action</action>
496 </actions>
497 </button>
498
499 <button style="main_button_half_height">
500 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500501 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <actions>
503 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500504 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100505 </actions>
506 </button>
507
508 <action>
509 <touch key="back"/>
510 <actions>
511 <action function="set">tw_clear_destination=install</action>
512 <action function="page">clear_vars</action>
513 </actions>
514 </action>
515
516 <action>
517 <touch key="home"/>
518 <actions>
519 <action function="set">tw_clear_destination=main2</action>
520 <action function="page">clear_vars</action>
521 </actions>
522 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500523
524 <action>
525 <conditions>
526 <condition var1="tw_install_reboot" var2="1"/>
527 <condition var1="tw_operation_status" var2="0"/>
528 <condition var1="tw_reboot_system" var2="1"/>
529 </conditions>
530 <actions>
531 <action function="set">tw_sleep=%tw_sleep_total%</action>
532 <action function="page">flash_sleep_and_reboot</action>
533 </actions>
534 </action>
535 </page>
536
537 <page name="flash_sleep_and_reboot">
538 <template name="page"/>
539
540 <text style="text_l">
541 <placement x="%col1_x_header%" y="%row3_header_y%"/>
542 <text>{@install_zip_hdr=Install Zip}</text>
543 </text>
544
545 <text style="text_m">
546 <placement x="%col1_x_header%" y="%row4_header_y%"/>
547 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
548 </text>
549
550 <template name="console"/>
551
552 <template name="progress_bar"/>
553
554 <button style="main_button_half_height">
555 <condition var1="tw_sleep" op="&gt;" var2="0"/>
556 <placement x="%center_x%" y="%row21a_y%"/>
557 <text>{@cancel_btn=Cancel}</text>
558 <actions>
559 <action function="set">tw_install_reboot=0</action>
560 <action function="page">flash_done</action>
561 </actions>
562 </button>
563
564 <action>
565 <conditions>
566 <condition var1="tw_sleep" var2="tw_sleep_total"/>
567 <condition var1="tw_install_reboot" var2="1"/>
568 </conditions>
569 <action function="sleepcounter">%tw_sleep_total%</action>
570 </action>
571
572 <action>
573 <conditions>
574 <condition var1="tw_sleep" var2="0"/>
575 <condition var1="tw_install_reboot" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="sleep">50000</action>
579 <action function="set">tw_back=main2</action>
580 <action function="page">reboot_system_routine</action>
581 </actions>
582 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100583 </page>
584
585 <page name="flashimage_confirm">
586 <template name="page"/>
587
588 <text style="text_l">
589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500590 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100591 </text>
592
593 <text style="text_m">
594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500595 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100596 </text>
597
598 <text style="text_m_accent">
599 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500600 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100601 </text>
602
603 <text style="text_m">
604 <placement x="%indent%" y="%row3_y%"/>
605 <text>%tw_zip_location%</text>
606 </text>
607
608 <text style="text_m_accent">
609 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500610 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100611 </text>
612
613 <text style="text_m">
614 <placement x="%indent%" y="%row5a_y%"/>
615 <text>%tw_file%</text>
616 </text>
617
618 <partitionlist>
619 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
620 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 <data name="tw_flash_partition"/>
623 <listtype name="flashimg"/>
624 </partitionlist>
625
626 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 <actions>
629 <action function="set">tw_back=flashimage_confirm</action>
630 <action function="set">tw_action=flashimage</action>
631 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500632 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100633 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100635 <action function="page">action_page</action>
636 </actions>
637 <action function="flashimage"/>
638 </slider>
639
640 <action>
641 <touch key="back"/>
642 <actions>
643 <action function="set">tw_clear_destination=install</action>
644 <action function="page">clear_vars</action>
645 </actions>
646 </action>
647
648 <action>
649 <touch key="home"/>
650 <actions>
651 <action function="set">tw_clear_destination=main2</action>
652 <action function="page">clear_vars</action>
653 </actions>
654 </action>
655 </page>
656
657 <page name="clear_vars">
658 <action>
659 <action function="set">tw_operation_state=0</action>
660 <action function="set">tw_text1=</action>
661 <action function="set">tw_text2=</action>
662 <action function="set">tw_text3=</action>
663 <action function="set">tw_text4=</action>
664 <action function="set">tw_action_text1=</action>
665 <action function="set">tw_action_text2=</action>
666 <action function="set">tw_action_param=</action>
667 <action function="set">tw_has_action2=0</action>
668 <action function="set">tw_action2=</action>
669 <action function="set">tw_action2_param=</action>
670 <action function="set">tw_has_cancel=0</action>
671 <action function="set">tw_cancel_action=</action>
672 <action function="set">tw_cancel_param=</action>
673 <action function="set">tw_show_exclamation=0</action>
674 <action function="set">tw_show_reboot=0</action>
675 <action function="page">%tw_clear_destination%</action>
676 </action>
677 </page>
678
Matt Mower908dd252016-05-25 02:26:50 -0500679 <page name="reboot_system_routine">
680 <action>
681 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500682 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500683 <action function="set">tw_has_action2=0</action>
684 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
685 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
686 <action function="set">tw_text3=</action>
687 <action function="set">tw_text4=</action>
688 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
689 <action function="set">tw_action_text2=</action>
690 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
691 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
692 <action function="page">rebootcheck</action>
693 </action>
694 </page>
695
z31s1g28f0a922015-11-07 18:50:22 +0100696 <page name="confirm_action">
697 <template name="page"/>
698
699 <text style="text_l">
700 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500701 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100702 </text>
703
704 <text style="text_m">
705 <placement x="%col1_x_header%" y="%row4_header_y%"/>
706 <text/>
707 </text>
708
709 <text style="text_m_accent">
710 <placement x="%center_x%" y="%row2_y%" placement="5"/>
711 <text>%tw_text1%</text>
712 </text>
713
714 <text style="text_m_accent">
715 <placement x="%center_x%" y="%row3_y%" placement="5"/>
716 <text>%tw_text2%</text>
717 </text>
718
719 <text style="text_m">
720 <placement x="%center_x%" y="%row4_y%" placement="5"/>
721 <text>%tw_text3%</text>
722 </text>
723
724 <text style="text_m">
725 <placement x="%center_x%" y="%row5_y%" placement="5"/>
726 <text>%tw_text4%</text>
727 </text>
728
729 <text style="text_m">
730 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500731 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100732 </text>
733
734 <slider>
735 <text>%tw_slider_text%</text>
736 <action function="page">action_page</action>
737 </slider>
738
739 <action>
740 <touch key="back"/>
741 <actions>
742 <action function="set">tw_clear_destination=%tw_back%</action>
743 <action function="page">clear_vars</action>
744 </actions>
745 </action>
746
747 <action>
748 <touch key="home"/>
749 <action function="page">main</action>
750 </action>
751 </page>
752
753 <page name="action_page">
754 <template name="page"/>
755
756 <text style="text_l">
757 <placement x="%col1_x_header%" y="%row3_header_y%"/>
758 <text>%tw_action_text1%</text>
759 </text>
760
761 <text style="text_m">
762 <placement x="%col1_x_header%" y="%row4_header_y%"/>
763 <text>%tw_action_text2%</text>
764 </text>
765
766 <template name="console"/>
767
768 <template name="progress_bar"/>
769
770 <button style="main_button_half_height">
771 <condition var1="tw_has_cancel" var2="1"/>
772 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500773 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100774 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
775 </button>
776
777 <action>
778 <condition var1="tw_operation_state" var2="1"/>
779 <actions>
780 <action function="page">action_complete</action>
781 </actions>
782 </action>
783
784 <action>
785 <condition var1="tw_has_action2" var2="0"/>
786 <actions>
787 <action function="%tw_action%">%tw_action_param%</action>
788 </actions>
789 </action>
790
791 <action>
792 <condition var1="tw_has_action2" var2="1"/>
793 <actions>
794 <action function="%tw_action%">%tw_action_param%</action>
795 <action function="%tw_action2%">%tw_action2_param%</action>
796 </actions>
797 </action>
798 </page>
799
800 <page name="singleaction_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <action>
818 <condition var1="tw_operation_state" var2="1"/>
819 <actions>
820 <action function="set">tw_page_done=1</action>
821 </actions>
822 </action>
823
824 <action>
825 <condition var1="tw_has_action2" var2="0"/>
826 <actions>
827 <action function="%tw_action%">%tw_action_param%</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="1"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 <action function="%tw_action2%">%tw_action2_param%</action>
836 </actions>
837 </action>
838 </page>
839
840 <page name="action_complete">
841 <template name="page"/>
842
843 <text style="text_l">
844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
845 <text>%tw_complete_text1%</text>
846 </text>
847
848 <text style="text_m_fail">
849 <condition var1="tw_operation_status" op="!=" var2="0"/>
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500851 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100852 </text>
853
854 <text style="text_m">
855 <condition var1="tw_operation_status" var2="0"/>
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 </text>
859
860 <template name="console"/>
861
862 <button style="main_button_half_height">
863 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100865 <actions>
866 <action function="set">tw_clear_destination=%tw_back%</action>
867 <action function="page">clear_vars</action>
868 </actions>
869 </button>
870
871 <button style="main_button_half_height">
872 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500873 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100874 <actions>
875 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500876 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100877 </actions>
878 </button>
879
880 <action>
881 <touch key="home"/>
882 <actions>
883 <action function="set">tw_clear_destination=main2</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </action>
887
888 <action>
889 <touch key="back"/>
890 <actions>
891 <action function="set">tw_clear_destination=%tw_back%</action>
892 <action function="page">clear_vars</action>
893 </actions>
894 </action>
895 </page>
896
897 <page name="filecheck">
898 <action>
899 <action function="fileexists">%tw_filecheck%</action>
900 </action>
901
902 <action>
903 <conditions>
904 <condition var1="tw_operation_state" var2="1"/>
905 <condition var1="tw_operation_status" var2="0"/>
906 </conditions>
907 <actions>
908 <action function="set">tw_fileexists=1</action>
909 <action function="page">%tw_existpage%</action>
910 </actions>
911 </action>
912
913 <action>
914 <conditions>
915 <condition var1="tw_operation_state" var2="1"/>
916 <condition var1="tw_operation_status" var2="1"/>
917 </conditions>
918 <actions>
919 <action function="set">tw_fileexists=0</action>
920 <action function="page">%tw_notexistpage%</action>
921 </actions>
922 </action>
923 </page>
924
925 <page name="rebootcheck">
926 <action>
927 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600928 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100929 </action>
930
931 <action>
932 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
933 <action function="page">confirm_action</action>
934 </action>
935 </page>
936
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600937 <page name="appcheck">
938 <action>
939 <condition var1="tw_app_prompt" var2="1"/>
940 <action function="checkforapp"></action>
941 </action>
942
943 <action>
944 <condition var1="tw_app_prompt" op="!=" var2="1"/>
945 <action function="reboot">%tw_reboot_param%</action>
946 </action>
947
948 <action>
949 <condition var1="tw_app_install_status" var2="1"/>
950 <action function="page">rebootapp</action>
951 </action>
952
953 <action>
954 <condition var1="tw_app_install_status" var2="2"/>
955 <action function="reboot">%tw_reboot_param%</action>
956 </action>
957 </page>
958
z31s1g28f0a922015-11-07 18:50:22 +0100959 <page name="wipe">
960 <template name="page"/>
961
962 <text style="text_l">
963 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 </text>
966
967 <text style="text_m">
968 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m_accent">
973 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500974 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100975 </text>
976
977 <text style="text_m_accent">
978 <condition var1="tw_has_data_media" var2="1"/>
979 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500980 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100981 </text>
982
983 <text style="text_m_accent">
984 <conditions>
985 <condition var1="tw_has_android_secure" var2="1"/>
986 <condition var1="fileexists" var2="/and-sec"/>
987 </conditions>
988 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 </text>
991
992 <text style="text_m_accent">
993 <condition var1="tw_has_sdext_partition" var2="1"/>
994 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500995 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100996 </text>
997
998 <text style="text_m">
999 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001000 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001001 </text>
1002
1003 <text style="text_m">
1004 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m">
1009 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <button style="main_button_half_height">
1014 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <actions>
1017 <action function="set">partitionlisterror=0</action>
1018 <action function="page">advancedwipe</action>
1019 </actions>
1020 </button>
1021
1022 <button style="main_button_half_height">
1023 <condition var1="tw_has_data_media" var2="1"/>
1024 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 <action function="page">formatdata</action>
1027 </button>
1028
1029 <button style="main_button_half_height">
1030 <conditions>
1031 <condition var1="tw_is_encrypted" var2="1"/>
1032 <condition var1="tw_has_data_media" var2="0"/>
1033 </conditions>
1034 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 <actions>
1037 <action function="set">tw_back=wipe</action>
1038 <action function="set">tw_action=wipe</action>
1039 <action function="set">tw_action_param=DATAMEDIA</action>
1040 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001042 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1044 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1045 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001046 <action function="page">confirm_action</action>
1047 </actions>
1048 </button>
1049
1050 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 <actions>
1053 <action function="set">tw_back=wipe</action>
1054 <action function="set">tw_action=wipe</action>
1055 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1057 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001058 <action function="page">action_page</action>
1059 </actions>
1060 </slider>
1061
1062 <action>
1063 <touch key="back"/>
1064 <action function="page">main</action>
1065 </action>
1066
1067 <action>
1068 <touch key="home"/>
1069 <action function="page">main</action>
1070 </action>
1071 </page>
1072
1073 <page name="advancedwipe">
1074 <template name="page"/>
1075
1076 <action>
1077 <action function="set">tw_wipe_list=</action>
1078 </action>
1079
1080 <text style="text_l">
1081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <partitionlist>
1091 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001092 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001093 <data name="tw_wipe_list"/>
1094 <listtype name="wipe"/>
1095 </partitionlist>
1096
1097 <text style="text_m_fail">
1098 <condition var1="partitionlisterror" var2="1"/>
1099 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <button style="main_button_half_height_full_width">
1104 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001107 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001108 <action function="page">checkpartitionlist</action>
1109 </actions>
1110 </button>
1111
1112 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001113 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001114 <actions>
1115 <action function="set">tw_back=advancedwipe</action>
1116 <action function="set">tw_action=wipe</action>
1117 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001118 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1119 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1120 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">action_page</action>
1122 </actions>
1123 </slider>
1124
1125 <action>
1126 <touch key="home"/>
1127 <action function="page">main</action>
1128 </action>
1129
1130 <action>
1131 <touch key="back"/>
1132 <action function="page">wipe</action>
1133 </action>
1134 </page>
1135
1136 <page name="formatdata">
1137 <template name="page"/>
1138
1139 <text style="text_l">
1140 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001141 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001142 </text>
1143
1144 <text style="text_m">
1145 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 </text>
1148
1149 <text style="text_m_fail">
1150 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001152 </text>
1153
1154 <text style="text_m_fail">
1155 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001156 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001157 </text>
1158
1159 <text style="text_m_fail">
1160 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 </text>
1163
Ethan Yonker66a19492015-12-10 10:19:45 -06001164 <text style="text_m_fail">
1165 <condition var1="tw_has_adopted_storage" var2="1"/>
1166 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1167 <text>{@format_data_adopted=Including Adopted Storage}</text>
1168 </text>
1169
z31s1g28f0a922015-11-07 18:50:22 +01001170 <text style="text_m">
1171 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001173 </text>
1174
1175 <text style="text_m">
1176 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001177 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001178 </text>
1179
1180 <input>
1181 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1182 <text>%tw_confirm_formatdata%</text>
1183 <data name="tw_confirm_formatdata"/>
1184 <restrict minlen="3" maxlen="3" allow="yes"/>
1185 <action function="page">formatdata_confirm</action>
1186 </input>
1187
1188 <fill color="%accent_color%">
1189 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1190 </fill>
1191
1192 <template name="keyboardtemplate"/>
1193
1194 <action>
1195 <touch key="home"/>
1196 <action function="page">main</action>
1197 </action>
1198
1199 <action>
1200 <touch key="back"/>
1201 <action function="page">wipe</action>
1202 </action>
1203 </page>
1204
1205 <page name="formatdata_confirm">
1206 <action>
1207 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1208 <actions>
1209 <action function="set">tw_back=formatdata</action>
1210 <action function="set">tw_action=wipe</action>
1211 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1213 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001214 <action function="page">action_page</action>
1215 </actions>
1216 </action>
1217
1218 <action>
1219 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1220 <action function="page">formatdata</action>
1221 </action>
1222 </page>
1223
1224 <page name="checkpartitionlist">
1225 <action>
1226 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1227 <actions>
1228 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001229 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <action function="page">partitionoptions</action>
1231 </actions>
1232 </action>
1233
1234 <action>
1235 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1236 <actions>
1237 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="page">advancedwipe</action>
1239 </actions>
1240 </action>
1241 </page>
1242
1243 <page name="partitionoptions">
1244 <template name="page"/>
1245
1246 <text style="text_l">
1247 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001248 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001249 </text>
1250
1251 <text style="text_m">
1252 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <text style="text_m_accent">
1257 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 </text>
1260
1261 <text style="text_m_accent">
1262 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001264 </text>
1265
1266 <text style="text_m">
1267 <condition var1="tw_partition_is_present" var2="1"/>
1268 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <condition var1="tw_partition_is_present" var2="0"/>
1274 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <text style="text_m">
1279 <condition var1="tw_partition_removable" var2="1"/>
1280 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <text style="text_m">
1285 <condition var1="tw_partition_removable" var2="0"/>
1286 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 </text>
1289
1290 <text style="text_m">
1291 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 </text>
1294
1295 <text style="text_m">
1296 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001297 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001298 </text>
1299
1300 <text style="text_m">
1301 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001303 </text>
1304
1305 <text style="text_m">
1306 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001307 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001308 </text>
1309
1310 <button style="main_button_half_height">
1311 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1312 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001313 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001314 <actions>
1315 <action function="set">tw_back=partitionoptions</action>
1316 <action function="set">tw_action=resize</action>
1317 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1318 <action function="set">tw_has_action2=1</action>
1319 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001320 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1324 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1325 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001326 <action function="page">confirm_action</action>
1327 </actions>
1328 </button>
1329
1330 <button style="main_button_half_height">
1331 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1332 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <actions>
1335 <action function="set">tw_back=partitionoptions</action>
1336 <action function="set">tw_action=repair</action>
1337 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1338 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001340 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1342 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1343 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001344 <action function="page">confirm_action</action>
1345 </actions>
1346 </button>
1347
1348 <button style="main_button_half_height">
1349 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">selectfilesystem</action>
1352 </button>
1353
1354 <action>
1355 <touch key="home"/>
1356 <action function="page">main</action>
1357 </action>
1358
1359 <action>
1360 <touch key="back"/>
1361 <action function="page">advancedwipe</action>
1362 </action>
1363 </page>
1364
1365 <page name="refreshfilesystem">
1366 <action>
1367 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1368 <actions>
1369 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001370 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001371 <action function="page">selectfilesystem</action>
1372 </actions>
1373 </action>
1374
1375 <action>
1376 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1377 <actions>
1378 <action function="set">partitionlisterror=1</action>
1379 <action function="set">tw_wipe_list=</action>
1380 <action function="page">advancedwipe</action>
1381 </actions>
1382 </action>
1383 </page>
1384
1385 <page name="selectfilesystem">
1386 <template name="page"/>
1387
1388 <text style="text_l">
1389 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001391 </text>
1392
1393 <text style="text_m">
1394 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001396 </text>
1397
1398 <text style="text_m_accent">
1399 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001400 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001401 </text>
1402
1403 <text style="text_m_accent">
1404 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001406 </text>
1407
1408 <text style="text_m_fail">
1409 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m_fail">
1414 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <button style="main_button_half_height">
1419 <condition var1="tw_partition_ext" op="=" var2="1"/>
1420 <placement x="%indent%" y="%row15a_y%"/>
1421 <text>EXT2</text>
1422 <actions>
1423 <action function="set">tw_back=refreshfilesystem</action>
1424 <action function="set">tw_action=changefilesystem</action>
1425 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1426 <action function="set">tw_action_new_file_system=ext2</action>
1427 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001428 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1429 <action function="set">tw_text2=EXT2</action>
1430 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1431 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1432 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <action function="page">confirm_action</action>
1434 </actions>
1435 </button>
1436
1437 <button style="main_button_half_height">
1438 <condition var1="tw_partition_ext" op="=" var2="1"/>
1439 <placement x="%indent%" y="%row18a_y%"/>
1440 <text>EXT3</text>
1441 <actions>
1442 <action function="set">tw_back=refreshfilesystem</action>
1443 <action function="set">tw_action=changefilesystem</action>
1444 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1445 <action function="set">tw_action_new_file_system=ext3</action>
1446 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1448 <action function="set">tw_text2=EXT3</action>
1449 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1450 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1451 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001452 <action function="page">confirm_action</action>
1453 </actions>
1454 </button>
1455
1456 <button style="main_button_half_height">
1457 <condition var1="tw_partition_ext" op="=" var2="1"/>
1458 <placement x="%indent%" y="%row21a_y%"/>
1459 <text>EXT4</text>
1460 <actions>
1461 <action function="set">tw_back=refreshfilesystem</action>
1462 <action function="set">tw_action=changefilesystem</action>
1463 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1464 <action function="set">tw_action_new_file_system=ext4</action>
1465 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001466 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1467 <action function="set">tw_text2=EXT4</action>
1468 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1469 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1470 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001471 <action function="page">confirm_action</action>
1472 </actions>
1473 </button>
1474
1475 <button style="main_button_half_height">
1476 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1477 <placement x="%center_x%" y="%row15a_y%"/>
1478 <text>FAT</text>
1479 <actions>
1480 <action function="set">tw_back=refreshfilesystem</action>
1481 <action function="set">tw_action=changefilesystem</action>
1482 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1483 <action function="set">tw_action_new_file_system=vfat</action>
1484 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1486 <action function="set">tw_text2=FAT</action>
1487 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1488 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1489 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001490 <action function="page">confirm_action</action>
1491 </actions>
1492 </button>
1493
1494 <button style="main_button_half_height">
1495 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1496 <placement x="%center_x%" y="%row18a_y%"/>
1497 <text>exFAT</text>
1498 <actions>
1499 <action function="set">tw_back=refreshfilesystem</action>
1500 <action function="set">tw_action=changefilesystem</action>
1501 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1502 <action function="set">tw_action_new_file_system=exfat</action>
1503 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001504 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1505 <action function="set">tw_text2=exFAT</action>
1506 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1507 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1508 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001509 <action function="page">confirm_action</action>
1510 </actions>
1511 </button>
1512
1513 <button style="main_button_half_height">
1514 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1515 <placement x="%center_x%" y="%row21a_y%"/>
1516 <text>F2FS</text>
1517 <actions>
1518 <action function="set">tw_back=refreshfilesystem</action>
1519 <action function="set">tw_action=changefilesystem</action>
1520 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1521 <action function="set">tw_action_new_file_system=f2fs</action>
1522 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1524 <action function="set">tw_text2=F2FS</action>
1525 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1526 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1527 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001528 <action function="page">confirm_action</action>
1529 </actions>
1530 </button>
1531
1532 <action>
1533 <touch key="home"/>
1534 <action function="page">main</action>
1535 </action>
1536
1537 <action>
1538 <touch key="back"/>
1539 <action function="page">partitionoptions</action>
1540 </action>
1541 </page>
1542
1543 <page name="backup">
1544 <template name="page"/>
1545
1546 <text style="text_l">
1547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001549 </text>
1550
1551 <text style="text_m">
1552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 </text>
1555
1556 <template name="tabs_backup"/>
1557
1558 <fill color="%text_color%">
1559 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1560 </fill>
1561
1562 <button style="tab">
1563 <conditions>
1564 <condition var1="tw_include_encrypted_backup" var2="1"/>
1565 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001566 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001567 </conditions>
1568 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <font resource="font_s" color="%text_color%"/>
1571 <actions>
1572 <action function="set">tw_password_not_match=0</action>
1573 <action function="page">backupencryption</action>
1574 </actions>
1575 </button>
1576
1577 <button style="tab">
1578 <conditions>
1579 <condition var1="tw_include_encrypted_backup" var2="1"/>
1580 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001581 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001582 </conditions>
1583 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <font resource="font_s" color="%text_success_color%"/>
1586 <actions>
1587 <action function="set">tw_password_not_match=0</action>
1588 <action function="page">backupencryption</action>
1589 </actions>
1590 </button>
1591
1592 <text style="text_m_accent">
1593 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 </text>
1596
1597 <text style="text_m">
1598 <placement x="%indent%" y="%row4a_y%"/>
1599 <text>%tw_backup_name%</text>
1600 </text>
1601
1602 <fill color="%fileselector_linecolor%">
1603 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1604 </fill>
1605
1606 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001607 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001608 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1609 <fill color="%transparent%"/>
1610 <actions>
1611 <action function="set">tw_fileexists=0</action>
1612 <action function="page">backupname1</action>
1613 </actions>
1614 </button>
1615
1616 <partitionlist>
1617 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 <data name="tw_backup_list"/>
1620 <listtype name="backup"/>
1621 </partitionlist>
1622
1623 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001624 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001626 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001627 <actions>
1628 <action function="set">tw_back=backup</action>
1629 <action function="overlay">select_storage</action>
1630 </actions>
1631 </button>
1632
1633 <button style="main_button_half_height">
1634 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001635 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001636 <actions>
1637 <action function="refreshsizes"/>
1638 <action function="page">backup</action>
1639 </actions>
1640 </button>
1641
1642 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <action function="page">backup_run</action>
1645 </slider>
1646
1647 <action>
1648 <touch key="home"/>
1649 <action function="page">main</action>
1650 </action>
1651
1652 <action>
1653 <touch key="back"/>
1654 <action function="page">main</action>
1655 </action>
1656 </page>
1657
1658 <page name="backup_options">
1659 <template name="page"/>
1660
1661 <text style="text_l">
1662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <template name="tabs_backup"/>
1672
1673 <fill color="%text_color%">
1674 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1675 </fill>
1676
1677 <button style="tab">
1678 <conditions>
1679 <condition var1="tw_include_encrypted_backup" var2="1"/>
1680 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001681 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </conditions>
1683 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <font resource="font_s" color="%text_color%"/>
1686 <actions>
1687 <action function="set">tw_password_not_match=0</action>
1688 <action function="page">backupencryption</action>
1689 </actions>
1690 </button>
1691
1692 <button style="tab">
1693 <conditions>
1694 <condition var1="tw_include_encrypted_backup" var2="1"/>
1695 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001696 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </conditions>
1698 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <font resource="font_s" color="%text_success_color%"/>
1701 <actions>
1702 <action function="set">tw_password_not_match=0</action>
1703 <action function="page">backupencryption</action>
1704 </actions>
1705 </button>
1706
1707 <checkbox>
1708 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <data variable="tw_use_compression"/>
1711 </checkbox>
1712
1713 <checkbox>
1714 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001715 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1716 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </checkbox>
1718
1719 <checkbox>
1720 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001721 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001722 <data variable="tw_disable_free_space"/>
1723 </checkbox>
1724
Ethan Yonker1b190162016-12-05 15:25:19 -06001725 <text style="text_m">
1726 <condition var1="tw_has_boot_slots" var2="1"/>
1727 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1728 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1729 </text>
1730
1731 <button style="main_button">
1732 <condition var1="tw_has_boot_slots" var2="1"/>
1733 <placement x="%indent%" y="%row19_y%"/>
1734 <text>{@boot_slot_a=Slot A}</text>
1735 <actions>
1736 <action function="set">tw_back=backup_options</action>
1737 <action function="set">tw_action=setbootslot</action>
1738 <action function="set">tw_action_param=A</action>
1739 <action function="set">tw_has_action2=0</action>
1740 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1741 <action function="set">tw_action_text2=</action>
1742 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1743 <action function="page">action_page</action>
1744 </actions>
1745 </button>
1746
1747 <button style="main_button">
1748 <condition var1="tw_has_boot_slots" var2="1"/>
1749 <placement x="%center_x%" y="%row19_y%"/>
1750 <text>{@boot_slot_b=Slot B}</text>
1751 <actions>
1752 <action function="set">tw_back=backup_options</action>
1753 <action function="set">tw_action=setbootslot</action>
1754 <action function="set">tw_action_param=B</action>
1755 <action function="set">tw_has_action2=0</action>
1756 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1757 <action function="set">tw_action_text2=</action>
1758 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1759 <action function="page">action_page</action>
1760 </actions>
1761 </button>
1762
z31s1g28f0a922015-11-07 18:50:22 +01001763 <action>
1764 <touch key="home"/>
1765 <action function="page">main</action>
1766 </action>
1767
1768 <action>
1769 <touch key="back"/>
1770 <action function="page">backup</action>
1771 </action>
1772 </page>
1773
1774 <page name="backupname1">
1775 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001776 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001777 <action function="generatebackupname"/>
1778 </action>
1779
1780 <action>
1781 <action function="page">backupname2</action>
1782 </action>
1783 </page>
1784
1785 <page name="backupname2">
1786 <template name="page"/>
1787
1788 <text style="text_l">
1789 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <text style="text_m">
1794 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <template name="tabs_backup"/>
1799
1800 <fill color="%text_color%">
1801 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1802 </fill>
1803
1804 <button style="tab">
1805 <conditions>
1806 <condition var1="tw_include_encrypted_backup" var2="1"/>
1807 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001808 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </conditions>
1810 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001811 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001812 <font resource="font_s" color="%text_color%"/>
1813 <actions>
1814 <action function="set">tw_password_not_match=0</action>
1815 <action function="page">backupencryption</action>
1816 </actions>
1817 </button>
1818
1819 <button style="tab">
1820 <conditions>
1821 <condition var1="tw_include_encrypted_backup" var2="1"/>
1822 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001823 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001824 </conditions>
1825 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <font resource="font_s" color="%text_success_color%"/>
1828 <actions>
1829 <action function="set">tw_password_not_match=0</action>
1830 <action function="page">backupencryption</action>
1831 </actions>
1832 </button>
1833
1834 <text style="text_m_accent">
1835 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <input>
1840 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1841 <text>%tw_backup_name%</text>
1842 <data name="tw_backup_name"/>
1843 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1844 <actions>
1845 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1846 <action function="set">tw_existpage=backupname2</action>
1847 <action function="set">tw_notexistpage=backup</action>
1848 <action function="page">filecheck</action>
1849 </actions>
1850 </input>
1851
1852 <fill color="%accent_color%">
1853 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1854 </fill>
1855
1856 <fill color="%text_fail_color%">
1857 <condition var1="tw_fileexists" var2="1"/>
1858 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1859 </fill>
1860
1861 <text style="text_m_fail">
1862 <condition var1="tw_fileexists" var2="1"/>
1863 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001865 </text>
1866
1867 <button style="main_button_half_height">
1868 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001871 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001872 <action function="page">backup</action>
1873 </actions>
1874 </button>
1875
1876 <button style="main_button_half_height">
1877 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001878 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001879 <action function="appenddatetobackupname"/>
1880 </button>
1881
1882 <template name="keyboardtemplate"/>
1883
1884 <action>
1885 <touch key="home"/>
1886 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001888 <action function="page">main</action>
1889 </actions>
1890 </action>
1891
1892 <action>
1893 <touch key="back"/>
1894 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001896 <action function="page">backup</action>
1897 </actions>
1898 </action>
1899 </page>
1900
1901 <page name="backupencryption">
1902 <template name="page"/>
1903
1904 <text style="text_l">
1905 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 </text>
1908
1909 <text style="text_m">
1910 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001911 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001912 </text>
1913
1914 <template name="tabs_backup"/>
1915
1916 <button style="tab">
1917 <conditions>
1918 <condition var1="tw_include_encrypted_backup" var2="1"/>
1919 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001920 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </conditions>
1922 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 <font resource="font_s" color="%text_color%"/>
1925 <actions>
1926 <action function="set">tw_password_not_match=0</action>
1927 <action function="page">backupencryption</action>
1928 </actions>
1929 </button>
1930
1931 <button style="tab">
1932 <conditions>
1933 <condition var1="tw_include_encrypted_backup" var2="1"/>
1934 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001935 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001936 </conditions>
1937 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001938 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001939 <font resource="font_s" color="%text_success_color%"/>
1940 <actions>
1941 <action function="set">tw_password_not_match=0</action>
1942 <action function="page">backupencryption</action>
1943 </actions>
1944 </button>
1945
1946 <fill color="%text_color%">
1947 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1948 </fill>
1949
1950 <text style="text_m_accent">
1951 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001952 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001953 </text>
1954
1955 <text style="text_m">
1956 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001957 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001958 </text>
1959
1960 <input>
1961 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1962 <text>%tw_backup_encrypt_display%</text>
1963 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1964 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1965 <action function="page">backupencryption2</action>
1966 </input>
1967
1968 <fill color="%accent_color%">
1969 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1970 </fill>
1971
1972 <fill color="%text_fail_color%">
1973 <condition var1="tw_password_not_match" var2="1"/>
1974 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1975 </fill>
1976
1977 <text style="text_m_fail">
1978 <condition var1="tw_password_not_match" var2="1"/>
1979 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001980 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001981 </text>
1982
1983 <button style="main_button_half_height">
1984 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 <actions>
1987 <action function="set">tw_encrypt_backup=0</action>
1988 <action function="set">tw_backup_password=</action>
1989 <action function="set">tw_backup_password2=</action>
1990 <action function="set">tw_backup_encrypt_display=</action>
1991 <action function="set">tw_backup_encrypt_display2=</action>
1992 <action function="page">backup</action>
1993 </actions>
1994 </button>
1995
1996 <template name="keyboardtemplate"/>
1997
1998 <action>
1999 <touch key="home"/>
2000 <action function="page">main</action>
2001 </action>
2002
2003 <action>
2004 <touch key="back"/>
2005 <action function="page">backup</action>
2006 </action>
2007 </page>
2008
2009 <page name="backupencryption2">
2010 <template name="page"/>
2011
2012 <text style="text_l">
2013 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <text style="text_m">
2018 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <template name="tabs_backup"/>
2023
2024 <button style="tab">
2025 <conditions>
2026 <condition var1="tw_include_encrypted_backup" var2="1"/>
2027 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002028 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002029 </conditions>
2030 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 <font resource="font_s" color="%text_color%"/>
2033 <actions>
2034 <action function="set">tw_password_not_match=0</action>
2035 <action function="page">backupencryption</action>
2036 </actions>
2037 </button>
2038
2039 <button style="tab">
2040 <conditions>
2041 <condition var1="tw_include_encrypted_backup" var2="1"/>
2042 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002043 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002044 </conditions>
2045 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002046 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002047 <font resource="font_s" color="%text_success_color%"/>
2048 <actions>
2049 <action function="set">tw_password_not_match=0</action>
2050 <action function="page">backupencryption</action>
2051 </actions>
2052 </button>
2053
2054 <fill color="%text_color%">
2055 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2056 </fill>
2057
2058 <text style="text_m_accent">
2059 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 </text>
2062
2063 <text style="text_m">
2064 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002066 </text>
2067
2068 <input>
2069 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2070 <text>%tw_backup_encrypt_display2%</text>
2071 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2072 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2073 <action function="page">checkbackuppassword</action>
2074 </input>
2075
2076 <fill color="%accent_color%">
2077 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2078 </fill>
2079
2080 <button style="main_button_half_height">
2081 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002082 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002083 <actions>
2084 <action function="set">tw_encrypt_backup=0</action>
2085 <action function="set">tw_backup_password=</action>
2086 <action function="set">tw_backup_password2=</action>
2087 <action function="set">tw_backup_encrypt_display=</action>
2088 <action function="set">tw_backup_encrypt_display2=</action>
2089 <action function="page">backup</action>
2090 </actions>
2091 </button>
2092
2093 <template name="keyboardtemplate"/>
2094
2095 <action>
2096 <touch key="home"/>
2097 <action function="page">main</action>
2098 </action>
2099
2100 <action>
2101 <touch key="back"/>
2102 <action function="page">backup</action>
2103 </action>
2104 </page>
2105
2106 <page name="checkbackuppassword">
2107 <action>
2108 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2109 <actions>
2110 <action function="set">tw_encrypt_backup=1</action>
2111 <action function="page">backup</action>
2112 </actions>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2117 <actions>
2118 <action function="set">tw_encrypt_backup=0</action>
2119 <action function="set">tw_password_not_match=1</action>
2120 <action function="set">tw_backup_password=</action>
2121 <action function="set">tw_backup_password2=</action>
2122 <action function="set">tw_backup_encrypt_display=</action>
2123 <action function="set">tw_backup_encrypt_display2=</action>
2124 <action function="page">backupencryption</action>
2125 </actions>
2126 </action>
2127 </page>
2128
2129 <page name="backup_run">
2130 <template name="page"/>
2131
2132 <text style="text_l">
2133 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2134 <text>%tw_operation%</text>
2135 </text>
2136
2137 <text style="text_m">
2138 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2139 <text>%tw_partition% Partition</text>
2140 </text>
2141
2142 <template name="console"/>
2143
2144 <template name="progress_bar"/>
2145
2146 <text style="text_m_accent">
2147 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002148 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002149 </text>
2150
2151 <text style="text_m">
2152 <placement x="%indent%" y="%row20_y%"/>
2153 <text>%tw_file_progress%</text>
2154 </text>
2155
2156 <text style="text_m">
2157 <placement x="%indent%" y="%row21_y%"/>
2158 <text>%tw_size_progress%</text>
2159 </text>
2160
2161 <button style="main_button_half_height">
2162 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002164 <action function="cancelbackup"/>
2165 </button>
2166
2167 <action>
2168 <action function="nandroid">backup</action>
2169 </action>
2170
2171 <action>
2172 <condition var1="tw_operation_state" var2="1"/>
2173 <condition var1="tw_cancel_backup" var2="0"/>
2174 <actions>
2175 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002176 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002177 <action function="set">tw_show_reboot=1</action>
2178 <action function="page">action_complete</action>
2179 </actions>
2180 </action>
2181
2182 <action>
2183 <condition var1="tw_operation_state" var2="1"/>
2184 <condition var1="tw_cancel_backup" var2="1"/>
2185 <actions>
2186 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002187 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002188 <action function="set">tw_show_reboot=1</action>
2189 <action function="page">action_complete</action>
2190 </actions>
2191 </action>
2192 </page>
2193
2194 <page name="restore">
2195 <template name="page"/>
2196
2197 <text style="text_l">
2198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 </text>
2201
2202 <text style="text_m">
2203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002204 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002205 </text>
2206
2207 <template name="sort_options"/>
2208
2209 <fileselector>
2210 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002211 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002212 <filter folders="1" files="0" nav="0"/>
2213 <path name="tw_backups_folder"/>
2214 <data name="tw_restore" default=""/>
2215 <selection name="tw_restore_name"/>
2216 </fileselector>
2217
2218 <button style="main_button_half_height">
2219 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 <actions>
2222 <action function="set">tw_back=restore</action>
2223 <action function="overlay">select_storage</action>
2224 </actions>
2225 </button>
2226
2227 <action>
2228 <condition var1="tw_restore" op="modified"/>
2229 <actions>
2230 <action function="readBackup"/>
2231 <action function="page">restore_read</action>
2232 </actions>
2233 </action>
2234
2235 <action>
2236 <touch key="home"/>
2237 <action function="page">main</action>
2238 </action>
2239
2240 <action>
2241 <touch key="back"/>
2242 <action function="page">main</action>
2243 </action>
2244 </page>
2245
2246 <page name="restore_read">
2247 <action>
2248 <condition var1="tw_restore_encrypted" var2="1"/>
2249 <actions>
2250 <action function="set">tw_password_fail=0</action>
2251 <action function="page">restore_decrypt</action>
2252 </actions>
2253 </action>
2254
2255 <action>
2256 <condition var1="tw_restore_encrypted" var2="0"/>
2257 <actions>
2258 <action function="page">restore_select</action>
2259 </actions>
2260 </action>
2261 </page>
2262
2263 <page name="restore_decrypt">
2264 <template name="page"/>
2265
2266 <text style="text_l">
2267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002269 </text>
2270
2271 <text style="text_m">
2272 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002273 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002274 </text>
2275
2276 <text style="text_m_accent">
2277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002278 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </text>
2280
2281 <input>
2282 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2283 <text>%tw_restore_display%</text>
2284 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2285 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2286 <action function="page">try_restore_decrypt</action>
2287 </input>
2288
2289 <fill color="%accent_color%">
2290 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2291 </fill>
2292
2293 <fill color="%text_fail_color%">
2294 <condition var1="tw_password_fail" var2="1"/>
2295 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2296 </fill>
2297
2298 <text style="text_m_fail">
2299 <condition var1="tw_password_fail" var2="1"/>
2300 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002301 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002302 </text>
2303
2304 <button style="main_button_half_height">
2305 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 <actions>
2308 <action function="set">tw_page_done=1</action>
2309 <action function="page">restore</action>
2310 </actions>
2311 </button>
2312
2313 <button style="main_button_half_height">
2314 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002315 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <actions>
2317 <action function="set">tw_back=restore</action>
2318 <action function="set">tw_action=cmd</action>
2319 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002320 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2321 <action function="set">tw_text2=%tw_restore_name%</action>
2322 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2323 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2324 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2325 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002326 <action function="page">confirm_action</action>
2327 </actions>
2328 </button>
2329
2330 <template name="keyboardtemplate"/>
2331
2332 <action>
2333 <touch key="home"/>
2334 <action function="page">main</action>
2335 </action>
2336
2337 <action>
2338 <touch key="back"/>
2339 <action function="page">restore</action>
2340 </action>
2341 </page>
2342
2343 <page name="try_restore_decrypt">
2344 <template name="page"/>
2345
2346 <text style="text_l">
2347 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 </text>
2350
2351 <text style="text_m">
2352 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002353 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002354 </text>
2355
2356 <template name="console"/>
2357
2358 <template name="progress_bar"/>
2359
2360 <action>
2361 <action function="decrypt_backup"/>
2362 </action>
2363
2364 <action>
2365 <conditions>
2366 <condition var1="tw_operation_state" var2="1"/>
2367 <condition var1="tw_operation_status" op="!=" var2="0"/>
2368 </conditions>
2369 <actions>
2370 <action function="set">tw_password_fail=1</action>
2371 <action function="page">restore_decrypt</action>
2372 </actions>
2373 </action>
2374
2375 <action>
2376 <conditions>
2377 <condition var1="tw_operation_state" var2="1"/>
2378 <condition var1="tw_operation_status" op="=" var2="0"/>
2379 </conditions>
2380 <actions>
2381 <action function="set">tw_page_done=1</action>
2382 <action function="page">restore_select</action>
2383 </actions>
2384 </action>
2385 </page>
2386
2387 <page name="restore_select">
2388 <template name="page"/>
2389
2390 <text style="text_l">
2391 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <text style="text_m">
2396 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 </text>
2399
2400 <text style="text_m_accent">
2401 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002402 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002403 </text>
2404
2405 <text style="text_m">
2406 <placement x="%indent%" y="%row3_y%"/>
2407 <text>%tw_restore_name%</text>
2408 </text>
2409
2410 <fill color="%fileselector_linecolor%">
2411 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2412 </fill>
2413
2414 <button>
2415 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2416 <fill color="%transparent%"/>
2417 <actions>
2418 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2419 <action function="set">tw_fileexists=0</action>
2420 <action function="page">renamebackup</action>
2421 </actions>
2422 </button>
2423
2424 <partitionlist>
2425 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002426 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002427 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2428 <listtype name="restore"/>
2429 </partitionlist>
2430
2431 <checkbox>
2432 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002433 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2434 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002435 </checkbox>
2436
2437 <button style="main_button_half_height">
2438 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 <actions>
2441 <action function="set">tw_back=restore</action>
2442 <action function="set">tw_action=cmd</action>
2443 <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 -05002444 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002445 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002446 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2447 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2448 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2449 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002450 <action function="page">confirm_action</action>
2451 </actions>
2452 </button>
2453
2454 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 <action function="page">restore_run</action>
2457 </slider>
2458
2459 <action>
2460 <touch key="home"/>
2461 <action function="page">main</action>
2462 </action>
2463
2464 <action>
2465 <touch key="back"/>
2466 <action function="page">restore</action>
2467 </action>
2468 </page>
2469
2470 <page name="renamebackup">
2471 <template name="page"/>
2472
2473 <text style="text_l">
2474 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 </text>
2477
2478 <text style="text_m">
2479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 </text>
2482
2483 <text style="text_m_accent">
2484 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 </text>
2487
2488 <input>
2489 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2490 <text>%tw_backup_rename%</text>
2491 <data name="tw_backup_rename"/>
2492 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2493 <actions>
2494 <action function="set">tw_back=restore</action>
2495 <action function="set">tw_action=cmd</action>
2496 <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 -05002497 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2498 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2499 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2500 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2501 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002502 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2503 <action function="set">tw_existpage=renamebackup</action>
2504 <action function="set">tw_notexistpage=confirm_action</action>
2505 <action function="page">filecheck</action>
2506 </actions>
2507 </input>
2508
2509 <fill color="%accent_color%">
2510 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2511 </fill>
2512
2513 <fill color="%text_fail_color%">
2514 <condition var1="tw_fileexists" var2="1"/>
2515 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2516 </fill>
2517
2518 <text style="text_m_fail">
2519 <condition var1="tw_fileexists" var2="1"/>
2520 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002521 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002522 </text>
2523
2524 <button style="main_button_half_height">
2525 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 <action function="page">restore_select</action>
2528 </button>
2529
2530 <template name="keyboardtemplate"/>
2531
2532 <action>
2533 <touch key="home"/>
2534 <action function="page">main</action>
2535 </action>
2536
2537 <action>
2538 <touch key="back"/>
2539 <action function="page">restore_select</action>
2540 </action>
2541 </page>
2542
2543 <page name="restore_run">
2544 <template name="page"/>
2545
2546 <text style="text_l">
2547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </text>
2550
2551 <text style="text_m">
2552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2553 <text>%tw_operation% %tw_partition%</text>
2554 </text>
2555
2556 <template name="console"/>
2557
2558 <template name="progress_bar"/>
2559
2560 <text style="text_m_accent">
2561 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002562 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002563 </text>
2564
2565 <text style="text_m">
2566 <placement x="%indent%" y="%row20_y%"/>
2567 <text>%tw_size_progress%</text>
2568 </text>
2569
2570 <action>
2571 <condition var1="tw_operation_state" var2="1"/>
2572 <actions>
2573 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002574 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002575 <action function="set">tw_show_reboot=1</action>
2576 <action function="page">action_complete</action>
2577 </actions>
2578 </action>
2579
2580 <action>
2581 <action function="nandroid">restore</action>
2582 </action>
2583 </page>
2584
2585 <page name="mount">
2586 <template name="page"/>
2587
2588 <text style="text_l">
2589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002590 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002591 </text>
2592
2593 <text style="text_m">
2594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002595 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002596 </text>
2597
2598 <partitionlist>
2599 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002600 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002601 <listtype name="mount"/>
2602 </partitionlist>
2603
2604 <button style="checkbox">
2605 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2606 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002607 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002608 <image resource="checkbox_false"/>
2609 <action function="mountsystemtoggle">1</action>
2610 </button>
2611
2612 <button style="checkbox">
2613 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2614 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002615 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002616 <image resource="checkbox_true"/>
2617 <actions>
2618 <action function="set">tw_lifetime_writes=2</action>
2619 <action function="page">system_readonly_check</action>
2620 </actions>
2621 </button>
2622
2623 <button style="main_button_half_height">
2624 <condition var1="tw_has_usb_storage" var2="1"/>
2625 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002626 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002627 <action function="page">usb_mount</action>
2628 </button>
2629
2630 <button style="main_button_half_height">
2631 <conditions>
2632 <condition var1="tw_is_encrypted" var2="1"/>
2633 <condition var1="tw_is_decrypted" var2="0"/>
2634 </conditions>
2635 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <action function="page">decrypt</action>
2638 </button>
2639
2640 <button style="main_button_half_height">
2641 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <actions>
2644 <action function="set">tw_back=mount</action>
2645 <action function="overlay">select_storage</action>
2646 </actions>
2647 </button>
2648
2649 <button style="main_button_half_height">
2650 <conditions>
2651 <condition var1="tw_has_mtp" var2="1"/>
2652 <condition var1="tw_mtp_enabled" var2="0"/>
2653 </conditions>
2654 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002655 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002656 <action function="startmtp"/>
2657 </button>
2658
2659 <button style="main_button_half_height">
2660 <conditions>
2661 <condition var1="tw_has_mtp" var2="1"/>
2662 <condition var1="tw_mtp_enabled" var2="1"/>
2663 </conditions>
2664 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002665 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <action function="stopmtp"/>
2667 </button>
2668
2669 <action>
2670 <touch key="home"/>
2671 <action function="page">main</action>
2672 </action>
2673
2674 <action>
2675 <touch key="back"/>
2676 <action function="page">main</action>
2677 </action>
2678 </page>
2679
2680 <page name="usb_mount">
2681 <template name="page"/>
2682
2683 <text style="text_l">
2684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002685 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002686 </text>
2687
2688 <text style="text_m">
2689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002690 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002691 </text>
2692
2693 <text style="text_m_accent">
2694 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002695 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002696 </text>
2697
2698 <text style="text_m">
2699 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002700 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002701 </text>
2702
2703 <text style="text_m">
2704 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002706 </text>
2707
2708 <button style="main_button_half_height">
2709 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002710 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002711 <action function="page">usb_umount</action>
2712 </button>
2713
2714 <action>
2715 <action function="mount">usb</action>
2716 <action function="set">tw_busy=1</action>
2717 </action>
2718 </page>
2719
2720 <page name="usb_umount">
2721 <action>
2722 <action function="unmount">usb</action>
2723 </action>
2724
2725 <action>
2726 <action function="page">mount</action>
2727 <action function="set">tw_busy=0</action>
2728 </action>
2729 </page>
2730
2731 <page name="system_readonly_check">
2732 <action>
2733 <action function="checkpartitionlifetimewrites">/system</action>
2734 </action>
2735
2736 <action>
2737 <condition var1="tw_lifetime_writes" var2="1"/>
2738 <actions>
2739 <action function="mountsystemtoggle">0</action>
2740 <action function="page">mount</action>
2741 </actions>
2742 </action>
2743
2744 <action>
2745 <condition var1="tw_lifetime_writes" var2="0"/>
2746 <actions>
2747 <action function="set">tw_back=mount</action>
2748 <action function="page">system_readonly</action>
2749 </actions>
2750 </action>
2751 </page>
2752
2753 <page name="reboot">
2754 <template name="page"/>
2755
2756 <text style="text_l">
2757 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002758 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002759 </text>
2760
2761 <button style="main_button">
2762 <condition var1="tw_reboot_system" var2="1"/>
2763 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002764 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002765 <actions>
2766 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002767 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002768 </actions>
2769 </button>
2770
2771 <button style="main_button">
2772 <condition var1="tw_reboot_poweroff" var2="1"/>
2773 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <actions>
2776 <action function="set">tw_back=reboot</action>
2777 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002778 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002779 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2782 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2783 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2784 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2785 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002786 <action function="page">rebootcheck</action>
2787 </actions>
2788 </button>
2789
2790 <button style="main_button">
2791 <condition var1="tw_reboot_recovery" var2="1"/>
2792 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002793 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <actions>
2795 <action function="set">tw_back=reboot</action>
2796 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002797 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002798 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002799 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002800 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2801 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2802 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2803 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2804 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <action function="page">rebootcheck</action>
2806 </actions>
2807 </button>
2808
2809 <button style="main_button">
2810 <condition var1="tw_reboot_bootloader" var2="1"/>
2811 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <actions>
2814 <action function="set">tw_back=reboot</action>
2815 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002816 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002817 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002818 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2820 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2821 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2823 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002824 <action function="page">rebootcheck</action>
2825 </actions>
2826 </button>
2827
2828 <button style="main_button">
2829 <condition var1="tw_download_mode" var2="1"/>
2830 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002831 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002832 <actions>
2833 <action function="set">tw_back=reboot</action>
2834 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002835 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002836 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002837 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002838 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2839 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2840 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2841 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2842 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002843 <action function="page">rebootcheck</action>
2844 </actions>
2845 </button>
2846
Ethan Yonker1b190162016-12-05 15:25:19 -06002847 <text style="text_m">
2848 <condition var1="tw_has_boot_slots" var2="1"/>
2849 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2850 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2851 </text>
2852
2853 <button style="main_button">
2854 <condition var1="tw_has_boot_slots" var2="1"/>
2855 <placement x="%indent%" y="%row19_y%"/>
2856 <text>{@boot_slot_a=Slot A}</text>
2857 <actions>
2858 <action function="set">tw_back=reboot</action>
2859 <action function="set">tw_action=setbootslot</action>
2860 <action function="set">tw_action_param=A</action>
2861 <action function="set">tw_has_action2=0</action>
2862 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2863 <action function="set">tw_action_text2=</action>
2864 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2865 <action function="page">action_page</action>
2866 </actions>
2867 </button>
2868
2869 <button style="main_button">
2870 <condition var1="tw_has_boot_slots" var2="1"/>
2871 <placement x="%center_x%" y="%row19_y%"/>
2872 <text>{@boot_slot_b=Slot B}</text>
2873 <actions>
2874 <action function="set">tw_back=reboot</action>
2875 <action function="set">tw_action=setbootslot</action>
2876 <action function="set">tw_action_param=B</action>
2877 <action function="set">tw_has_action2=0</action>
2878 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2879 <action function="set">tw_action_text2=</action>
2880 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2881 <action function="page">action_page</action>
2882 </actions>
2883 </button>
2884
z31s1g28f0a922015-11-07 18:50:22 +01002885 <action>
2886 <touch key="home"/>
2887 <action function="page">main</action>
2888 </action>
2889
2890 <action>
2891 <touch key="back"/>
2892 <action function="page">main</action>
2893 </action>
2894 </page>
2895
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002896 <page name="rebootapp">
2897 <template name="page"/>
2898
2899 <text style="text_l">
2900 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2901 <text>{@reboot_hdr=Reboot}</text>
2902 </text>
2903
2904 <text style="text_m">
2905 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2906 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2907 </text>
2908
2909 <text style="text_m_accent">
2910 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2911 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2912 </text>
2913
2914 <text style="text_m_accent">
2915 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2916 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2917 </text>
2918
2919 <checkbox>
2920 <placement x="%indent%" y="%row5_y%"/>
2921 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2922 <data variable="tw_app_prompt"/>
2923 </checkbox>
2924
2925 <checkbox>
2926 <condition var1="tw_mount_system_ro" var2="0"/>
2927 <placement x="%indent%" y="%row7_y%"/>
2928 <text>{@reboot_install_app_system=Install as a System App}</text>
2929 <data variable="tw_app_install_system"/>
2930 </checkbox>
2931
2932 <button style="main_button_half_height">
2933 <placement x="%indent%" y="%row16_y%"/>
2934 <text>{@su_cancel=Do not Install}</text>
2935 <action function="reboot">%tw_reboot_param%</action>
2936 </button>
2937
2938 <slider>
2939 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2940 <actions>
2941 <action function="set">tw_back=reboot</action>
2942 <action function="set">tw_action=installapp</action>
2943 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2944 <action function="set">tw_action_text2=</action>
2945 <action function="set">tw_has_action2=1</action>
2946 <action function="set">tw_action2=reboot</action>
2947 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2948 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2949 <action function="page">action_page</action>
2950 </actions>
2951 </slider>
2952
2953 <action>
2954 <touch key="home"/>
2955 <actions>
2956 <action function="set">tw_app_install_status=0</action>
2957 <action function="page">main</action>
2958 </actions>
2959 </action>
2960
2961 <action>
2962 <touch key="back"/>
2963 <actions>
2964 <action function="set">tw_app_install_status=0</action>
2965 <action function="page">reboot</action>
2966 </actions>
2967 </action>
2968 </page>
2969
z31s1g28f0a922015-11-07 18:50:22 +01002970 <page name="system_readonly">
2971 <template name="page"/>
2972
2973 <text style="text_l">
2974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m_accent">
2979 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <text style="text_m">
2984 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002986 </text>
2987
2988 <text style="text_m">
2989 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <text style="text_m">
2994 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
2998 <text style="text_m">
2999 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003000 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003001 </text>
3002
3003 <text style="text_m_fail">
3004 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003005 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003006 </text>
3007
3008 <text style="text_m_fail">
3009 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003010 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003011 </text>
3012
3013 <checkbox>
3014 <condition var1="tw_is_encrypted" var2="0"/>
3015 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003017 <data variable="tw_never_show_system_ro_page"/>
3018 </checkbox>
3019
3020 <button style="main_button_half_height">
3021 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 <actions>
3024 <action function="mountsystemtoggle">1</action>
3025 <action function="set">tw_page_done=1</action>
3026 <action function="page">%tw_back%</action>
3027 </actions>
3028 </button>
3029
z31s1g608d7ff2016-01-18 19:47:25 +01003030 <button style="main_button_half_height">
3031 <placement x="%center_x%" y="%row18a_y%"/>
3032 <text>{@sel_lang_btn=Select Language}</text>
3033 <action function="overlay">select_language</action>
3034 </button>
3035
z31s1g28f0a922015-11-07 18:50:22 +01003036 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003038 <actions>
3039 <action function="mountsystemtoggle">0</action>
3040 <action function="set">tw_page_done=1</action>
3041 <action function="page">%tw_back%</action>
3042 </actions>
3043 </slider>
3044 </page>
3045
3046 <page name="settings">
3047 <template name="page"/>
3048
3049 <text style="text_l">
3050 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <text style="text_m">
3055 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003056 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003057 </text>
3058
3059 <template name="tabs_settings"/>
3060
3061 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </fill>
3064
3065 <listbox style="scrolllist">
3066 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3067 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_signed_zip_verify"/>
3070 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003071 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3072 <data variable="tw_install_reboot"/>
3073 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_rm_rf"/>
3076 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003077 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3078 <data variable="tw_disable_free_space"/>
3079 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003080 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3081 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003082 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003083 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3084 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003087 <data variable="tw_military_time"/>
3088 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003090 <data variable="tw_samsung_navbar"/>
3091 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003092 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3093 <data variable="tw_app_prompt"/>
3094 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003096 <data variable="tw_simulate_actions"/>
3097 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003099 <condition var1="tw_simulate_actions" var2="1"/>
3100 <data variable="tw_simulate_fail"/>
3101 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003102 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3103 <condition var1="tw_no_sha2" var2="0"/>
3104 <data variable="tw_use_sha2"/>
3105 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003106 </listbox>
3107
3108 <button style="main_button_half_height">
3109 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003111 <actions>
3112 <action function="set">tw_samsung_navbar=0</action>
3113 <action function="set">tw_tab_icons=0</action>
3114 <action function="restoredefaultsettings"/>
3115 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003116 </button>
3117
3118 <action>
3119 <touch key="home"/>
3120 <action function="page">main</action>
3121 </action>
3122
3123 <action>
3124 <touch key="back"/>
3125 <action function="page">main</action>
3126 </action>
3127 </page>
3128
3129 <page name="settings_timezone">
3130 <template name="page"/>
3131
3132 <text style="text_l">
3133 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003134 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003135 </text>
3136
3137 <text style="text_m">
3138 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 </text>
3141
3142 <template name="tabs_settings"/>
3143
3144 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003146 </fill>
3147
3148 <listbox>
3149 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3153 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3154 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3155 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3156 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3157 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3158 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3159 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3160 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3161 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3162 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3163 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3164 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3165 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3166 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3167 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3168 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3169 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3170 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3171 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3172 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3173 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3174 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3175 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003176 </listbox>
3177
3178 <text style="text_m_accent">
3179 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 </text>
3182
3183 <button style="button_quarter_width">
3184 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003185 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003186 <action function="set">tw_time_zone_guioffset=0</action>
3187 </button>
3188
3189 <button style="button_quarter_width">
3190 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003191 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003192 <action function="set">tw_time_zone_guioffset=15</action>
3193 </button>
3194
3195 <button style="button_quarter_width">
3196 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003198 <action function="set">tw_time_zone_guioffset=30</action>
3199 </button>
3200
3201 <button style="button_quarter_width">
3202 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <action function="set">tw_time_zone_guioffset=45</action>
3205 </button>
3206
3207 <checkbox>
3208 <placement x="%indent%" y="%row18a_y%"/>
3209 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 <data variable="tw_time_zone_guidst"/>
3212 <image checked="checkbox_true" unchecked="checkbox_false"/>
3213 </checkbox>
3214
3215 <text color="%text_color%">
3216 <font resource="font_m"/>
3217 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003219 </text>
3220
3221 <button>
3222 <highlight color="%highlight_color%"/>
3223 <placement x="%center_x%" y="%row21a_y%"/>
3224 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <image resource="main_button_half_height"/>
3227 <action function="setguitimezone"/>
3228 </button>
3229
3230 <action>
3231 <touch key="home"/>
3232 <action function="page">main</action>
3233 </action>
3234
3235 <action>
3236 <touch key="back"/>
3237 <action function="page">main</action>
3238 </action>
3239 </page>
3240
3241 <page name="settings_screen">
3242 <template name="page"/>
3243
3244 <text style="text_l">
3245 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003247 </text>
3248
3249 <text style="text_m">
3250 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003252 </text>
3253
3254 <template name="tabs_settings"/>
3255
3256 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003258 </fill>
3259
3260 <button>
3261 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3262 <font resource="font_m" color="%text_color%"/>
3263 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3264 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 <image resource="checkbox_false"/>
3267 <action function="set">tw_screen_timeout_secs=60</action>
3268 </button>
3269
3270 <button>
3271 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3272 <font resource="font_m" color="%text_color%"/>
3273 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3274 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 <image resource="checkbox_true"/>
3277 <action function="set">tw_screen_timeout_secs=0</action>
3278 </button>
3279
3280 <slidervalue>
3281 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3282 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3283 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003284 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003285 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3286 </slidervalue>
3287
3288 <slidervalue>
3289 <condition var1="tw_has_brightnesss_file" var2="1"/>
3290 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <data variable="tw_brightness_pct" min="10" max="100"/>
3293 <actions>
3294 <action function="set">tw_brightness=%tw_brightness_max%</action>
3295 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3296 <action function="compute">tw_brightness/100</action>
3297 <action function="setbrightness">%tw_brightness%</action>
3298 </actions>
3299 </slidervalue>
3300
3301 <action>
3302 <touch key="home"/>
3303 <action function="page">main</action>
3304 </action>
3305
3306 <action>
3307 <touch key="back"/>
3308 <action function="page">main</action>
3309 </action>
3310 </page>
3311
3312 <page name="settings_vibration">
3313 <template name="page"/>
3314
3315 <text style="text_l">
3316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </text>
3319
3320 <text style="text_m">
3321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 </text>
3324
3325 <template name="tabs_settings"/>
3326
3327 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </fill>
3330
3331 <slidervalue>
3332 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 <data variable="tw_button_vibrate" min="0" max="300"/>
3335 </slidervalue>
3336
3337 <slidervalue>
3338 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3341 </slidervalue>
3342
3343 <slidervalue>
3344 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <data variable="tw_action_vibrate" min="0" max="500"/>
3347 </slidervalue>
3348
3349 <action>
3350 <touch key="home"/>
3351 <action function="page">main</action>
3352 </action>
3353
3354 <action>
3355 <touch key="back"/>
3356 <action function="page">main</action>
3357 </action>
3358 </page>
3359
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <page name="settings_language">
3361 <template name="page"/>
3362
3363 <text style="text_l">
3364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3365 <text>{@settings_hdr=Settings}</text>
3366 </text>
3367
3368 <text style="text_m">
3369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3370 <text>{@language_hdr=Language - %tw_language_display%}</text>
3371 </text>
3372
3373 <template name="tabs_settings"/>
3374
3375 <fill color="%text_color%">
3376 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3377 </fill>
3378
3379 <listbox>
3380 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3381 <text>{@select_language=Select Language:}</text>
3382 <icon selected="radio_true" unselected="radio_false" />
3383 <data name="tw_language" />
3384 </listbox>
3385
3386 <button style="main_button_half_height">
3387 <placement x="%center_x%" y="%row21a_y%"/>
3388 <text>{@set_language_btn=Set Language}</text>
3389 <action function="setlanguage"></action>
3390 </button>
3391
3392 <action>
3393 <touch key="home" />
3394 <action function="page">main</action>
3395 </action>
3396
3397 <action>
3398 <touch key="back" />
3399 <action function="page">settings</action>
3400 </action>
3401 </page>
3402
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003403 <page name="copylog">
3404 <template name="page"/>
3405
3406 <text style="text_l">
3407 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3408 <text>{@copying_log=Copy Logs to SD Card}</text>
3409 </text>
3410
3411 <checkbox>
3412 <placement x="%indent%" y="%row4_y%"/>
3413 <text>{@include_kernel_log=Include Kernel Log}</text>
3414 <data variable="tw_include_kernel_log" value="1"/>
3415 </checkbox>
3416
3417 <slider>
3418 <text>{@copying_log=Copy Logs to SD Card}</text>
3419 <actions>
3420 <action function="set">tw_back=advanced</action>
3421 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003422 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3423 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003424 <action function="page">action_page</action>
3425 </actions>
3426 </slider>
3427
3428 <action>
3429 <touch key="home"/>
3430 <action function="page">main</action>
3431 </action>
3432
3433 <action>
3434 <touch key="back"/>
3435 <actions>
3436 <action function="page">advanced</action>
3437 </actions>
3438 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003439 </page>
3440
z31s1g28f0a922015-11-07 18:50:22 +01003441 <page name="advanced">
3442 <template name="page"/>
3443
3444 <text style="text_l">
3445 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 </text>
3448
3449 <button style="main_button">
3450 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003451 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003452 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </button>
3454
3455 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003456 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003458 <text>{@fix_context_btn=Fix Contexts}</text>
3459 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003460 </button>
3461
3462 <button style="main_button">
3463 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3464 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003466 <actions>
3467 <action function="set">partitionlisterror=0</action>
3468 <action function="page">partsdcardsel</action>
3469 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003470 </button>
3471
3472 <button style="main_button">
3473 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003475 <action function="page">filemanagerlist</action>
3476 </button>
3477
3478 <button style="main_button">
3479 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003481 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003482 </button>
3483
3484 <button style="main_button">
3485 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 <action function="reload"/>
3488 </button>
3489
3490 <button style="main_button">
3491 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <action function="page">sideload</action>
3494 </button>
3495
3496 <button style="main_button">
3497 <condition var1="tw_show_dumlock" var2="1"/>
3498 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 <action function="page">htcdumlock</action>
3501 </button>
3502
3503 <button style="main_button">
3504 <condition var1="tw_has_injecttwrp" var2="1"/>
3505 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 <actions>
3508 <action function="set">tw_back=advanced</action>
3509 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3511 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3512 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3513 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <action function="page">confirm_action</action>
3515 </actions>
3516 </button>
3517
3518 <action>
3519 <touch key="home"/>
3520 <action function="page">main</action>
3521 </action>
3522
3523 <action>
3524 <touch key="back"/>
3525 <action function="page">main</action>
3526 </action>
3527 </page>
3528
Ethan Yonker483e9f42016-01-11 22:21:18 -06003529 <page name="partsdcardsel">
3530 <template name="page"/>
3531
3532 <text style="text_l">
3533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3534 <text>{@advanced_hdr=Advanced}</text>
3535 </text>
3536
3537 <text style="text_m">
3538 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3539 <text>{@part_sd_hdr=Partition SD Card}</text>
3540 </text>
3541
z31s1g782e1c92016-01-30 16:50:09 +01003542 <partitionlist>
3543 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003544 <text>{@sel_storage_list=Select Storage}</text>
3545 <data name="tw_storage_path"/>
3546 <listtype name="storage"/>
3547 </partitionlist>
3548
3549 <text style="text_m_fail">
3550 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003551 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003552 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3553 </text>
3554
z31s1g782e1c92016-01-30 16:50:09 +01003555 <button style="main_button_half_height">
3556 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003557 <text>{@ok_btn=OK}</text>
3558 <actions>
3559 <action function="getpartitiondetails">tw_storage_path</action>
3560 <action function="page">partsdcardcheck</action>
3561 </actions>
3562 </button>
3563
3564 <action>
3565 <touch key="home"/>
3566 <action function="page">main</action>
3567 </action>
3568
3569 <action>
3570 <touch key="back"/>
3571 <action function="page">advanced</action>
3572 </action>
3573 </page>
3574
3575 <page name="partsdcardcheck">
3576 <action>
3577 <condition var1="tw_partition_removable" op="=" var2="1"/>
3578 <actions>
3579 <action function="set">partitionlisterror=0</action>
3580 <action function="page">partsdcard</action>
3581 </actions>
3582 </action>
3583
3584 <action>
3585 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3586 <actions>
3587 <action function="set">partitionlisterror=1</action>
3588 <action function="page">partsdcardsel</action>
3589 </actions>
3590 </action>
3591 </page>
3592
z31s1g28f0a922015-11-07 18:50:22 +01003593 <page name="partsdcard">
3594 <template name="page"/>
3595
3596 <text style="text_l">
3597 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003599 </text>
3600
3601 <text style="text_m">
3602 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 </text>
3605
3606 <text style="text_m_fail">
3607 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 </text>
3610
3611 <text style="text_m_fail">
3612 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <text style="text_m_accent">
3617 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 </text>
3620
3621 <text style="text_m">
3622 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3623 <text>%tw_sdext_size%</text>
3624 </text>
3625
3626 <button style="button_quarter_width">
3627 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003629 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003630 </button>
3631
3632 <button style="button_quarter_width">
3633 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@part_sd_p=+}</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 <text style="text_m_accent">
3639 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <text style="text_m">
3644 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3645 <text>%tw_swap_size%</text>
3646 </text>
3647
3648 <button style="button_quarter_width">
3649 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003651 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003652 </button>
3653
3654 <button style="button_quarter_width">
3655 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@part_sd_p=+}</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 <text style="text_m_accent">
3661 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 </text>
3664
3665 <text style="text_m">
3666 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3667 <text>%tw_sdpart_file_system%</text>
3668 </text>
3669
3670 <button style="button_quarter_width">
3671 <placement x="%indent%" y="%row14_y%"/>
3672 <text>EXT3</text>
3673 <action function="set">tw_sdpart_file_system=ext3</action>
3674 </button>
3675
3676 <button style="button_quarter_width">
3677 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3678 <text>EXT4</text>
3679 <action function="set">tw_sdpart_file_system=ext4</action>
3680 </button>
3681
3682 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 <action function="page">partsdcardaction</action>
3685 <actions>
3686 <action function="set">tw_back=partsdcard</action>
3687 <action function="set">tw_action=partitionsd</action>
3688 <action function="set">tw_has_action2=1</action>
3689 <action function="set">tw_action2=set</action>
3690 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3692 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3693 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003694 <action function="page">action_page</action>
3695 </actions>
3696 </slider>
3697
3698 <action>
3699 <touch key="home"/>
3700 <action function="page">main</action>
3701 </action>
3702
3703 <action>
3704 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003705 <actions>
3706 <action function="set">partitionlisterror=0</action>
3707 <action function="page">partsdcardsel</action>
3708 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </action>
3710 </page>
3711
3712 <page name="htcdumlock">
3713 <template name="page"/>
3714
3715 <text style="text_l">
3716 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <text style="text_m">
3721 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003723 </text>
3724
3725 <button style="main_button_half_height_full_width">
3726 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003727 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003728 <actions>
3729 <action function="set">tw_back=htcdumlock</action>
3730 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3732 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3733 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3734 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003735 <action function="page">confirm_action</action>
3736 </actions>
3737 </button>
3738
3739 <button style="main_button_half_height_full_width">
3740 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003742 <actions>
3743 <action function="set">tw_back=htcdumlock</action>
3744 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3746 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3747 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3748 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003749 <action function="page">confirm_action</action>
3750 </actions>
3751 </button>
3752
3753 <button style="main_button_half_height_full_width">
3754 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 <actions>
3757 <action function="set">tw_back=htcdumlock</action>
3758 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3760 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3761 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3762 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003763 <action function="page">confirm_action</action>
3764 </actions>
3765 </button>
3766
3767 <action>
3768 <touch key="home"/>
3769 <action function="page">main</action>
3770 </action>
3771
3772 <action>
3773 <touch key="back"/>
3774 <action function="page">advanced</action>
3775 </action>
3776 </page>
3777
3778 <page name="lock">
3779 <background color="%semi_transparent%"/>
3780
3781 <image>
3782 <image resource="unlock_icon"/>
3783 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3784 </image>
3785
3786 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 <action function="overlay"/>
3789 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003790
3791 <action>
3792 <touch key="power"/>
3793 <action function="togglebacklight"/>
3794 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003795 </page>
3796
3797 <page name="filemanagerlist">
3798 <template name="page"/>
3799
3800 <text style="text_l">
3801 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003803 </text>
3804
3805 <text style="text_m">
3806 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003808 </text>
3809
3810 <template name="sort_options"/>
3811
3812 <fileselector>
3813 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3814 <text>%tw_file_location1%</text>
3815 <filter folders="1" files="1"/>
3816 <path name="tw_file_location1" default="/"/>
3817 <data name="tw_filename1"/>
3818 <selection name="tw_selection1"/>
3819 </fileselector>
3820
3821 <button style="fab">
3822 <image resource="fab_selectfolder"/>
3823 <actions>
3824 <action function="set">tw_filename1=tw_file_location1</action>
3825 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003827 <action function="page">filemanageroptions</action>
3828 </actions>
3829 </button>
3830
3831 <action>
3832 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003834 <action function="set">tw_fm_isfolder=0</action>
3835 </actions>
3836 </action>
3837
3838 <action>
3839 <touch key="home"/>
3840 <action function="page">main</action>
3841 </action>
3842
3843 <action>
3844 <touch key="back"/>
3845 <action function="page">advanced</action>
3846 </action>
3847
3848 <action>
3849 <condition var1="tw_filename1" op="modified"/>
3850 <action function="page">filemanageroptions</action>
3851 </action>
3852 </page>
3853
3854 <page name="filemanageroptions">
3855 <template name="page"/>
3856
3857 <text style="text_l">
3858 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 </text>
3861
3862 <text style="text_m">
3863 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003865 </text>
3866
3867 <text style="text_m_accent">
3868 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 </text>
3871
3872 <text style="text_m">
3873 <placement x="%indent%" y="%row3_y%"/>
3874 <text>%tw_filename1%</text>
3875 </text>
3876
3877 <button style="main_button_half_height">
3878 <condition var1="tw_fm_isfolder" var2="0"/>
3879 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 <actions>
3882 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003884 <action function="page">choosedestinationfolder</action>
3885 </actions>
3886 </button>
3887
3888 <button style="main_button_half_height">
3889 <condition var1="tw_fm_isfolder" var2="1"/>
3890 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 <actions>
3893 <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 -05003894 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003895 <action function="page">choosedestinationfolder</action>
3896 </actions>
3897 </button>
3898
3899 <button style="main_button_half_height">
3900 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003902 <actions>
3903 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003904 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003905 <action function="page">choosedestinationfolder</action>
3906 </actions>
3907 </button>
3908
3909 <button style="main_button_half_height">
3910 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003912 <actions>
3913 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003915 <action function="set">tw_fm_text2=</action>
3916 <action function="set">tw_fm_text3=</action>
3917 <action function="set">tw_include_text3=0</action>
3918 <action function="set">tw_back=filemanageroptions</action>
3919 <action function="page">filemanagerconfirm</action>
3920 </actions>
3921 </button>
3922
3923 <button style="main_button_half_height">
3924 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003926 <actions>
3927 <action function="set">tw_filemanager_rename=0000</action>
3928 <action function="set">tw_fm_text2=</action>
3929 <action function="set">tw_fm_text3=</action>
3930 <action function="set">tw_include_text3=0</action>
3931 <action function="set">tw_back=filemanageroptions</action>
3932 <action function="page">filemanagerchmod</action>
3933 </actions>
3934 </button>
3935
3936 <button style="main_button_half_height">
3937 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003939 <actions>
3940 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <action function="set">tw_fm_text2=</action>
3943 <action function="set">tw_fm_text3=</action>
3944 <action function="set">tw_include_text3=0</action>
3945 <action function="set">tw_back=filemanageroptions</action>
3946 <action function="page">filemanagerconfirm</action>
3947 </actions>
3948 </button>
3949
3950 <button style="main_button_half_height">
3951 <condition var1="tw_fm_isfolder" var2="0"/>
3952 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 <actions>
3955 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003957 <action function="set">tw_filemanager_command=mv</action>
3958 <action function="page">filemanagerrenamefile</action>
3959 </actions>
3960 </button>
3961
3962 <button style="main_button_half_height">
3963 <condition var1="tw_fm_isfolder" var2="1"/>
3964 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <actions>
3967 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3970 <action function="page">filemanagerrenamefolder</action>
3971 </actions>
3972 </button>
3973
3974 <action>
3975 <touch key="home"/>
3976 <action function="page">main</action>
3977 </action>
3978
3979 <action>
3980 <touch key="back"/>
3981 <action function="page">filemanagerlist</action>
3982 </action>
3983 </page>
3984
3985 <page name="choosedestinationfolder">
3986 <template name="page"/>
3987
3988 <text style="text_l">
3989 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <text style="text_m">
3994 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <template name="sort_options"/>
3999
4000 <fileselector>
4001 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4002 <text>%tw_file_location2%</text>
4003 <filter folders="1" files="0"/>
4004 <path name="tw_file_location2" default="/"/>
4005 <data name="tw_filename2"/>
4006 <selection name="tw_selection2"/>
4007 </fileselector>
4008
4009 <button style="fab">
4010 <image resource="fab_selectfolder"/>
4011 <actions>
4012 <action function="set">tw_fm_text2=to</action>
4013 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4014 <action function="set">tw_include_text3=1</action>
4015 <action function="set">tw_back=filemanageroptions</action>
4016 <action function="page">filemanagerconfirm</action>
4017 </actions>
4018 </button>
4019
4020 <action>
4021 <touch key="home"/>
4022 <action function="page">main</action>
4023 </action>
4024
4025 <action>
4026 <touch key="back"/>
4027 <action function="page">filemanageroptions</action>
4028 </action>
4029 </page>
4030
4031 <page name="filemanagerrenamefile">
4032 <template name="page"/>
4033
4034 <text style="text_l">
4035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <text style="text_m">
4040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 </text>
4043
4044 <text style="text_m_accent">
4045 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 </text>
4048
4049 <input>
4050 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4051 <text>%tw_filemanager_rename%</text>
4052 <data name="tw_filemanager_rename"/>
4053 <restrict minlen="1" maxlen="128"/>
4054 <actions>
4055 <action function="set">tw_fm_text2=to</action>
4056 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4057 <action function="set">tw_include_text3=1</action>
4058 <action function="set">tw_back=filemanageroptions</action>
4059 <action function="page">filemanagerconfirm</action>
4060 </actions>
4061 </input>
4062
4063 <fill color="%accent_color%">
4064 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4065 </fill>
4066
4067 <button style="main_button_half_height">
4068 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 <action function="page">filemanageroptions</action>
4071 </button>
4072
4073 <template name="keyboardtemplate"/>
4074
4075 <action>
4076 <touch key="home"/>
4077 <action function="page">main</action>
4078 </action>
4079
4080 <action>
4081 <touch key="back"/>
4082 <action function="page">filemanageroptions</action>
4083 </action>
4084 </page>
4085
4086 <page name="filemanagerrenamefolder">
4087 <template name="page"/>
4088
4089 <text style="text_l">
4090 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <text style="text_m">
4095 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <text style="text_m_accent">
4100 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <input>
4105 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4106 <text>%tw_filemanager_rename%</text>
4107 <data name="tw_filemanager_rename"/>
4108 <restrict minlen="1" maxlen="128"/>
4109 <actions>
4110 <action function="set">tw_fm_text2=to</action>
4111 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4112 <action function="set">tw_include_text3=1</action>
4113 <action function="set">tw_back=filemanageroptions</action>
4114 <action function="page">filemanagerconfirm</action>
4115 </actions>
4116 </input>
4117
4118 <fill color="%accent_color%">
4119 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4120 </fill>
4121
4122 <button style="main_button_half_height">
4123 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004125 <action function="page">filemanageroptions</action>
4126 </button>
4127
4128 <template name="keyboardtemplate"/>
4129
4130 <action>
4131 <touch key="home"/>
4132 <action function="page">main</action>
4133 </action>
4134
4135 <action>
4136 <touch key="back"/>
4137 <action function="page">filemanageroptions</action>
4138 </action>
4139 </page>
4140
4141 <page name="filemanagerchmod">
4142 <template name="page"/>
4143
4144 <text style="text_l">
4145 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004147 </text>
4148
4149 <text style="text_m">
4150 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <text style="text_m_accent">
4155 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <input>
4160 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4161 <text>%tw_filemanager_rename%</text>
4162 <data name="tw_filemanager_rename"/>
4163 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4164 <actions>
4165 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4166 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4167 <action function="set">tw_back=filemanageroptions</action>
4168 <action function="page">filemanagerconfirm</action>
4169 </actions>
4170 </input>
4171
4172 <fill color="%accent_color%">
4173 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4174 </fill>
4175
4176 <button style="main_button_half_height">
4177 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004178 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 <action function="page">filemanageroptions</action>
4180 </button>
4181
4182 <template name="keyboardtemplate"/>
4183
4184 <action>
4185 <touch key="home"/>
4186 <action function="page">main</action>
4187 </action>
4188
4189 <action>
4190 <touch key="back"/>
4191 <action function="page">filemanageroptions</action>
4192 </action>
4193 </page>
4194
4195 <page name="filemanagerconfirm">
4196 <template name="page"/>
4197
4198 <text style="text_l">
4199 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </text>
4202
4203 <text style="text_m">
4204 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 </text>
4207
4208 <text style="text_m_accent">
4209 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4210 <text>%tw_fm_text1%</text>
4211 </text>
4212
4213 <text style="text_m">
4214 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4215 <text>%tw_filename1%</text>
4216 </text>
4217
4218 <text style="text_m_accent">
4219 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4220 <text>%tw_fm_text2%</text>
4221 </text>
4222
4223 <text style="text_m">
4224 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4225 <text>%tw_fm_text3%</text>
4226 </text>
4227
4228 <text style="text_m">
4229 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004230 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004231 </text>
4232
4233 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004234 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004235 <action function="page">filemanageraction</action>
4236 </slider>
4237
4238 <action>
4239 <touch key="back"/>
4240 <action function="page">%tw_back%</action>
4241 </action>
4242
4243 <action>
4244 <touch key="home"/>
4245 <action function="page">main</action>
4246 </action>
4247 </page>
4248
4249 <page name="filemanageraction">
4250 <template name="page"/>
4251
4252 <text style="text_l">
4253 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004254 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004255 </text>
4256
4257 <text style="text_m">
4258 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4259 <text>%tw_fm_text1%</text>
4260 </text>
4261
4262 <template name="console"/>
4263
4264 <template name="progress_bar"/>
4265
4266 <action>
4267 <conditions>
4268 <condition var1="tw_operation_state" var2="1"/>
4269 <condition var1="tw_operation_status" var2="0"/>
4270 </conditions>
4271 <actions>
4272 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004274 <action function="page">action_complete</action>
4275 </actions>
4276 </action>
4277
4278 <action>
4279 <conditions>
4280 <condition var1="tw_operation_state" var2="1"/>
4281 <condition var1="tw_operation_status" op="!=" var2="0"/>
4282 </conditions>
4283 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004284 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004285 <action function="page">action_complete</action>
4286 </actions>
4287 </action>
4288
4289 <action>
4290 <condition var1="tw_include_text3" var2="0"/>
4291 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4292 </action>
4293
4294 <action>
4295 <condition var1="tw_include_text3" var2="1"/>
4296 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4297 </action>
4298 </page>
4299
4300 <page name="decrypt">
4301 <template name="page"/>
4302
4303 <action>
4304 <condition var1="tw_crypto_pwtype" var2="2"/>
4305 <action function="page">decrypt_pattern</action>
4306 </action>
4307
4308 <text style="text_l">
4309 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 </text>
4312
4313 <text style="text_m">
4314 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 </text>
4317
4318 <text style="text_m_accent">
4319 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </text>
4322
4323 <input>
4324 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4325 <text>%tw_crypto_display%</text>
4326 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4327 <restrict minlen="1" maxlen="254"/>
4328 <action function="page">trydecrypt</action>
4329 </input>
4330
4331 <fill color="%accent_color%">
4332 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4333 </fill>
4334
4335 <fill color="%text_fail_color%">
4336 <condition var1="tw_password_fail" var2="1"/>
4337 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4338 </fill>
4339
4340 <text style="text_m_fail">
4341 <condition var1="tw_password_fail" var2="1"/>
4342 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004343 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <button style="main_button_half_height">
4347 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 <actions>
4350 <action function="set">tw_page_done=1</action>
4351 <action function="page">main</action>
4352 </actions>
4353 </button>
4354
z31s1g608d7ff2016-01-18 19:47:25 +01004355 <button style="main_button_half_height">
4356 <placement x="%center_x%" y="%row10_y%"/>
4357 <text>{@sel_lang_btn=Select Language}</text>
4358 <action function="overlay">select_language</action>
4359 </button>
4360
z31s1g28f0a922015-11-07 18:50:22 +01004361 <template name="keyboardtemplate"/>
4362 </page>
4363
4364 <page name="decrypt_pattern">
4365 <template name="page"/>
4366
4367 <text style="text_l">
4368 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 </text>
4371
4372 <text style="text_m">
4373 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 </text>
4376
4377 <text style="text_m_accent">
4378 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </text>
4381
Aleksa Saraib25a1832015-12-31 17:36:00 +01004382 <text style="text_m_fail">
4383 <condition var1="tw_password_fail" var2="1"/>
4384 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004385 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004386 </text>
4387
z31s1g28f0a922015-11-07 18:50:22 +01004388 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004389 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004390 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4391 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4392 <data name="tw_crypto_password"/>
4393 <action function="page">trydecrypt</action>
4394 </patternpassword>
4395
Aleksa Saraib25a1832015-12-31 17:36:00 +01004396 <button style="button_quarter_width">
4397 <placement x="%indent%" y="%row19a_y%"/>
4398 <text>3x3</text>
4399 <action function="set">tw_gui_pattern_grid_size=3</action>
4400 </button>
4401
4402 <button style="button_quarter_width">
4403 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4404 <text>4x4</text>
4405 <action function="set">tw_gui_pattern_grid_size=4</action>
4406 </button>
4407
4408 <button style="button_quarter_width">
4409 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4410 <text>5x5</text>
4411 <action function="set">tw_gui_pattern_grid_size=5</action>
4412 </button>
4413
4414 <button style="button_quarter_width">
4415 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4416 <text>6x6</text>
4417 <action function="set">tw_gui_pattern_grid_size=6</action>
4418 </button>
4419
z31s1g28f0a922015-11-07 18:50:22 +01004420 <button style="main_button_half_height">
4421 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 <actions>
4424 <action function="set">tw_page_done=1</action>
4425 <action function="page">main</action>
4426 </actions>
4427 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004428
4429 <button style="main_button_half_height">
4430 <placement x="%center_x%" y="%row21a_y%"/>
4431 <text>{@sel_lang_btn=Select Language}</text>
4432 <action function="overlay">select_language</action>
4433 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </page>
4435
4436 <page name="trydecrypt">
4437 <template name="page"/>
4438
4439 <text style="text_l">
4440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m">
4445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <template name="console"/>
4450
4451 <template name="progress_bar"/>
4452
4453 <action>
4454 <action function="decrypt"/>
4455 </action>
4456
4457 <action>
4458 <conditions>
4459 <condition var1="tw_operation_state" var2="1"/>
4460 <condition var1="tw_operation_status" op="!=" var2="0"/>
4461 </conditions>
4462 <actions>
4463 <action function="set">tw_password_fail=1</action>
4464 <action function="page">decrypt</action>
4465 </actions>
4466 </action>
4467
4468 <action>
4469 <conditions>
4470 <condition var1="tw_operation_state" var2="1"/>
4471 <condition var1="tw_operation_status" op="=" var2="0"/>
4472 </conditions>
4473 <actions>
4474 <action function="set">tw_page_done=1</action>
4475 <action function="page">main</action>
4476 </actions>
4477 </action>
4478 </page>
4479
z31s1g28f0a922015-11-07 18:50:22 +01004480 <page name="terminalcommand">
4481 <template name="page"/>
4482
z31s1g56189522016-01-13 19:12:40 +01004483 <fill color="%background_color%">
4484 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </fill>
4486
z31s1g56189522016-01-13 19:12:40 +01004487 <terminal>
4488 <condition var1="tw_hide_kb" var2="0"/>
4489 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4490 </terminal>
4491
4492 <terminal>
4493 <condition var1="tw_hide_kb" var2="1"/>
4494 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4495 </terminal>
4496
4497 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004498
4499 <template name="keyboardtemplate"/>
4500
z31s1g608d7ff2016-01-18 19:47:25 +01004501 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004502 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004503 </fill>
z31s1g56189522016-01-13 19:12:40 +01004504
z31s1g608d7ff2016-01-18 19:47:25 +01004505 <button>
z31s1g56189522016-01-13 19:12:40 +01004506 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4507 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4508 <image resource="back" />
4509 <condition var1="tw_busy" var2="0" />
4510 <actions>
4511 <action function="set">tw_hide_kb=0</action>
4512 <action function="key">back</action>
4513 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004514 </button>
z31s1g56189522016-01-13 19:12:40 +01004515
z31s1g608d7ff2016-01-18 19:47:25 +01004516 <button>
z31s1g56189522016-01-13 19:12:40 +01004517 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4518 <condition var1="tw_hide_kb" op="=" var2="0" />
4519 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4520 <image resource="kb_hide" />
4521 <condition var1="tw_busy" var2="0" />
4522 <actions>
4523 <action function="set">tw_hide_kb=1</action>
4524 <action function="page">terminalcommand</action>
4525 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004526 </button>
z31s1g56189522016-01-13 19:12:40 +01004527
z31s1g608d7ff2016-01-18 19:47:25 +01004528 <button>
z31s1g56189522016-01-13 19:12:40 +01004529 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4530 <condition var1="tw_hide_kb" op="=" var2="1" />
4531 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4532 <image resource="kb_show" />
4533 <condition var1="tw_busy" var2="0" />
4534 <actions>
4535 <action function="set">tw_hide_kb=0</action>
4536 <action function="page">terminalcommand</action>
4537 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004538 </button>
z31s1g56189522016-01-13 19:12:40 +01004539
z31s1g608d7ff2016-01-18 19:47:25 +01004540 <button>
z31s1g56189522016-01-13 19:12:40 +01004541 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4542 <image resource="home" />
4543 <condition var1="tw_busy" var2="0" />
4544 <actions>
4545 <action function="set">tw_hide_kb=0</action>
4546 <action function="key">home</action>
4547 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004548 </button>
z31s1g56189522016-01-13 19:12:40 +01004549
z31s1g608d7ff2016-01-18 19:47:25 +01004550 <button>
z31s1g56189522016-01-13 19:12:40 +01004551 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4552 <condition var1="tw_hide_kb" op="=" var2="0" />
4553 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4554 <image resource="kb_hide" />
4555 <condition var1="tw_busy" var2="0" />
4556 <actions>
4557 <action function="set">tw_hide_kb=1</action>
4558 <action function="page">terminalcommand</action>
4559 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004560 </button>
z31s1g56189522016-01-13 19:12:40 +01004561
z31s1g608d7ff2016-01-18 19:47:25 +01004562 <button>
z31s1g56189522016-01-13 19:12:40 +01004563 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4564 <condition var1="tw_hide_kb" op="=" var2="1" />
4565 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4566 <image resource="kb_show" />
4567 <condition var1="tw_busy" var2="0" />
4568 <actions>
4569 <action function="set">tw_hide_kb=0</action>
4570 <action function="page">terminalcommand</action>
4571 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004572 </button>
z31s1g56189522016-01-13 19:12:40 +01004573
z31s1g608d7ff2016-01-18 19:47:25 +01004574 <button>
z31s1g56189522016-01-13 19:12:40 +01004575 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4576 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4577 <image resource="back" />
4578 <condition var1="tw_busy" var2="0" />
4579 <actions>
4580 <action function="set">tw_hide_kb=0</action>
4581 <action function="key">back</action>
4582 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004583 </button>
z31s1g56189522016-01-13 19:12:40 +01004584
z31s1g28f0a922015-11-07 18:50:22 +01004585 <action>
4586 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004587 <actions>
4588 <action function="set">tw_hide_kb=0</action>
4589 <action function="page">main</action>
4590 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004591 </action>
4592
4593 <action>
4594 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004595 <actions>
4596 <action function="set">tw_hide_kb=0</action>
4597 <action function="page">advanced</action>
4598 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004599 </action>
z31s1g56189522016-01-13 19:12:40 +01004600
z31s1g608d7ff2016-01-18 19:47:25 +01004601 <action>
z31s1g56189522016-01-13 19:12:40 +01004602 <touch key="power+voldown" />
4603 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004604 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </page>
4606
4607 <page name="sideload">
4608 <template name="page"/>
4609
4610 <text style="text_l">
4611 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004612 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004613 </text>
4614
4615 <text style="text_m">
4616 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </text>
4619
4620 <checkbox>
4621 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 <data variable="tw_wipe_dalvik"/>
4624 </checkbox>
4625
4626 <checkbox>
4627 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 <data variable="tw_wipe_cache"/>
4630 </checkbox>
4631
4632 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004633 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 <actions>
4635 <action function="set">tw_back=advanced</action>
4636 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4638 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4639 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004640 <action function="set">tw_has_cancel=1</action>
4641 <action function="set">tw_show_reboot=1</action>
4642 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4643 <action function="page">action_page</action>
4644 </actions>
4645 </slider>
4646
4647 <action>
4648 <touch key="home"/>
4649 <action function="page">main</action>
4650 </action>
4651
4652 <action>
4653 <touch key="back"/>
4654 <action function="page">advanced</action>
4655 </action>
4656 </page>
4657
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004658 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004659 <template name="page"/>
4660
4661 <text style="text_l">
4662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004663 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004664 </text>
4665
4666 <text style="text_m">
4667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004668 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </text>
4670
4671 <text style="text_m_accent">
4672 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004673 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 </text>
4675
z31s1g28f0a922015-11-07 18:50:22 +01004676 <text style="text_m_fail">
4677 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004678 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 </text>
4680
4681 <text style="text_m_fail">
4682 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004683 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004684 </text>
4685
4686 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004687 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 <actions>
4689 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004690 <action function="set">tw_action=fixcontexts</action>
4691 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4692 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004693 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004694 <action function="set">tw_show_reboot=1</action>
4695 <action function="page">action_page</action>
4696 </actions>
4697 </slider>
4698
4699 <action>
4700 <touch key="home"/>
4701 <action function="page">main</action>
4702 </action>
4703
4704 <action>
4705 <touch key="back"/>
4706 <action function="page">advanced</action>
4707 </action>
4708 </page>
4709
4710 <page name="installsu">
4711 <template name="page"/>
4712
4713 <text style="text_l">
4714 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004715 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004716 </text>
4717
4718 <text style="text_m">
4719 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004720 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004721 </text>
4722
4723 <text style="text_m_accent">
4724 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004726 </text>
4727
4728 <text style="text_m">
4729 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004730 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004731 </text>
4732
4733 <text style="text_m">
4734 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004735 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004736 </text>
4737
4738 <button style="main_button_half_height">
4739 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004740 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004741 <action function="set">tw_page_done=1</action>
4742 </button>
4743
4744 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004745 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004746 <actions>
4747 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004749 <action function="set">tw_action_text2=</action>
4750 <action function="page">singleaction_page</action>
4751 </actions>
4752 </slider>
4753 </page>
4754
4755 <page name="slideout">
4756 <fill color="%background_color%">
4757 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4758 </fill>
4759
4760 <console>
4761 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4762 </console>
4763
4764 <button>
4765 <fill color="%transparent%"/>
4766 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4767 <action function="overlay"/>
4768 </button>
4769
4770 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004771 <touch key="power"/>
4772 <action function="togglebacklight"/>
4773 </action>
4774
4775 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004776 <touch key="power+voldown"/>
4777 <action function="screenshot"/>
4778 </action>
4779 </page>
4780
4781 <page name="select_storage">
4782 <fill color="%semi_transparent%">
4783 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4784 </fill>
4785
4786 <fill color="%background_color%">
4787 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4788 </fill>
4789
4790 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004791 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004792 <data name="tw_storage_path"/>
4793 <listtype name="storage"/>
4794 </partitionlist>
4795
4796 <button style="button_third_width">
4797 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004798 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004799 <actions>
4800 <action function="set">tw_clear_destination=%tw_back%</action>
4801 <action function="overlay"/>
4802 <action function="page">clear_vars</action>
4803 </actions>
4804 </button>
4805
4806 <fill color="#000000">
4807 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4808 </fill>
4809
4810 <button>
4811 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4812 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4813 <image resource="back"/>
4814 <condition var1="tw_busy" var2="0"/>
4815 <actions>
4816 <action function="overlay"/>
4817 <action function="key">%tw_back%</action>
4818 </actions>
4819 </button>
4820
4821 <button>
4822 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4823 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4824 <image resource="console"/>
4825 <condition var1="tw_busy" var2="0"/>
4826 <action function="overlay">slideout</action>
4827 </button>
4828
4829 <button>
4830 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4831 <image resource="home"/>
4832 <condition var1="tw_busy" var2="0"/>
4833 <actions>
4834 <action function="overlay"/>
4835 <action function="key">home</action>
4836 </actions>
4837 </button>
4838
4839 <button>
4840 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4841 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4842 <image resource="console"/>
4843 <condition var1="tw_busy" var2="0"/>
4844 <action function="overlay">slideout</action>
4845 </button>
4846
4847 <button>
4848 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4849 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4850 <image resource="back"/>
4851 <condition var1="tw_busy" var2="0"/>
4852 <actions>
4853 <action function="overlay"/>
4854 <action function="key">%tw_back%</action>
4855 </actions>
4856 </button>
4857
4858 <action>
4859 <touch key="power+voldown"/>
4860 <action function="screenshot"/>
4861 </action>
4862 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004863
4864 <page name="select_language">
4865 <fill color="%semi_transparent%">
4866 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4867 </fill>
4868
4869 <fill color="%background_color%">
4870 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4871 </fill>
4872
4873 <listbox>
4874 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4875 <text>{@select_language=Select Language:}</text>
4876 <icon selected="radio_true" unselected="radio_false" />
4877 <data name="tw_language" />
4878 </listbox>
4879
4880 <button style="button_third_width">
4881 <placement x="%dialog_button_x%" y="%row14_y%"/>
4882 <text>{@ok_btn=OK}</text>
4883 <actions>
4884 <action function="overlay"/>
4885 <action function="setlanguage"></action>
4886 </actions>
4887 </button>
4888
4889 <fill color="#000000">
4890 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4891 </fill>
4892
4893 <button>
4894 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4895 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4896 <image resource="back"/>
4897 <condition var1="tw_busy" var2="0"/>
4898 <actions>
4899 <action function="overlay"/>
4900 <action function="key">%tw_back%</action>
4901 </actions>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4906 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4907 <image resource="console"/>
4908 <condition var1="tw_busy" var2="0"/>
4909 <action function="overlay">slideout</action>
4910 </button>
4911
4912 <button>
4913 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4914 <image resource="home"/>
4915 <condition var1="tw_busy" var2="0"/>
4916 <actions>
4917 <action function="overlay"/>
4918 <action function="key">home</action>
4919 </actions>
4920 </button>
4921
4922 <button>
4923 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4924 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4925 <image resource="console"/>
4926 <condition var1="tw_busy" var2="0"/>
4927 <action function="overlay">slideout</action>
4928 </button>
4929
4930 <button>
4931 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4932 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4933 <image resource="back"/>
4934 <condition var1="tw_busy" var2="0"/>
4935 <actions>
4936 <action function="overlay"/>
4937 <action function="key">%tw_back%</action>
4938 </actions>
4939 </button>
4940
4941 <action>
4942 <touch key="power+voldown"/>
4943 <action function="screenshot"/>
4944 </action>
4945 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004946 </pages>
4947</recovery>