blob: fd35364b0266ec7b8fa53af06bf8cd6f6a787f8d [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%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600389 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600391 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500503 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </actions>
505 </button>
506
507 <action>
508 <touch key="back"/>
509 <actions>
510 <action function="set">tw_clear_destination=install</action>
511 <action function="page">clear_vars</action>
512 </actions>
513 </action>
514
515 <action>
516 <touch key="home"/>
517 <actions>
518 <action function="set">tw_clear_destination=main2</action>
519 <action function="page">clear_vars</action>
520 </actions>
521 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500522
523 <action>
524 <conditions>
525 <condition var1="tw_install_reboot" var2="1"/>
526 <condition var1="tw_operation_status" var2="0"/>
527 <condition var1="tw_reboot_system" var2="1"/>
528 </conditions>
529 <actions>
530 <action function="set">tw_sleep=%tw_sleep_total%</action>
531 <action function="page">flash_sleep_and_reboot</action>
532 </actions>
533 </action>
534 </page>
535
536 <page name="flash_sleep_and_reboot">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
541 <text>{@install_zip_hdr=Install Zip}</text>
542 </text>
543
544 <text style="text_m">
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
546 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
547 </text>
548
549 <template name="console"/>
550
551 <template name="progress_bar"/>
552
553 <button style="main_button_half_height">
554 <condition var1="tw_sleep" op="&gt;" var2="0"/>
555 <placement x="%center_x%" y="%row21a_y%"/>
556 <text>{@cancel_btn=Cancel}</text>
557 <actions>
558 <action function="set">tw_install_reboot=0</action>
559 <action function="page">flash_done</action>
560 </actions>
561 </button>
562
563 <action>
564 <conditions>
565 <condition var1="tw_sleep" var2="tw_sleep_total"/>
566 <condition var1="tw_install_reboot" var2="1"/>
567 </conditions>
568 <action function="sleepcounter">%tw_sleep_total%</action>
569 </action>
570
571 <action>
572 <conditions>
573 <condition var1="tw_sleep" var2="0"/>
574 <condition var1="tw_install_reboot" var2="1"/>
575 </conditions>
576 <actions>
577 <action function="sleep">50000</action>
578 <action function="set">tw_back=main2</action>
579 <action function="page">reboot_system_routine</action>
580 </actions>
581 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </page>
583
584 <page name="flashimage_confirm">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500594 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100595 </text>
596
597 <text style="text_m_accent">
598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500599 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </text>
601
602 <text style="text_m">
603 <placement x="%indent%" y="%row3_y%"/>
604 <text>%tw_zip_location%</text>
605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row5a_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <partitionlist>
618 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
619 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <data name="tw_flash_partition"/>
622 <listtype name="flashimg"/>
623 </partitionlist>
624
625 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <actions>
628 <action function="set">tw_back=flashimage_confirm</action>
629 <action function="set">tw_action=flashimage</action>
630 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <action function="page">action_page</action>
635 </actions>
636 <action function="flashimage"/>
637 </slider>
638
639 <action>
640 <touch key="back"/>
641 <actions>
642 <action function="set">tw_clear_destination=install</action>
643 <action function="page">clear_vars</action>
644 </actions>
645 </action>
646
647 <action>
648 <touch key="home"/>
649 <actions>
650 <action function="set">tw_clear_destination=main2</action>
651 <action function="page">clear_vars</action>
652 </actions>
653 </action>
654 </page>
655
656 <page name="clear_vars">
657 <action>
658 <action function="set">tw_operation_state=0</action>
659 <action function="set">tw_text1=</action>
660 <action function="set">tw_text2=</action>
661 <action function="set">tw_text3=</action>
662 <action function="set">tw_text4=</action>
663 <action function="set">tw_action_text1=</action>
664 <action function="set">tw_action_text2=</action>
665 <action function="set">tw_action_param=</action>
666 <action function="set">tw_has_action2=0</action>
667 <action function="set">tw_action2=</action>
668 <action function="set">tw_action2_param=</action>
669 <action function="set">tw_has_cancel=0</action>
670 <action function="set">tw_cancel_action=</action>
671 <action function="set">tw_cancel_param=</action>
672 <action function="set">tw_show_exclamation=0</action>
673 <action function="set">tw_show_reboot=0</action>
674 <action function="page">%tw_clear_destination%</action>
675 </action>
676 </page>
677
Matt Mower908dd252016-05-25 02:26:50 -0500678 <page name="reboot_system_routine">
679 <action>
680 <action function="set">tw_action=reboot</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600681 <action function="set">tw_reboot_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500682 <action function="set">tw_has_action2=0</action>
683 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
684 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
685 <action function="set">tw_text3=</action>
686 <action function="set">tw_text4=</action>
687 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
688 <action function="set">tw_action_text2=</action>
689 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
690 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
691 <action function="page">rebootcheck</action>
692 </action>
693 </page>
694
z31s1g28f0a922015-11-07 18:50:22 +0100695 <page name="confirm_action">
696 <template name="page"/>
697
698 <text style="text_l">
699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 </text>
702
703 <text style="text_m">
704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
705 <text/>
706 </text>
707
708 <text style="text_m_accent">
709 <placement x="%center_x%" y="%row2_y%" placement="5"/>
710 <text>%tw_text1%</text>
711 </text>
712
713 <text style="text_m_accent">
714 <placement x="%center_x%" y="%row3_y%" placement="5"/>
715 <text>%tw_text2%</text>
716 </text>
717
718 <text style="text_m">
719 <placement x="%center_x%" y="%row4_y%" placement="5"/>
720 <text>%tw_text3%</text>
721 </text>
722
723 <text style="text_m">
724 <placement x="%center_x%" y="%row5_y%" placement="5"/>
725 <text>%tw_text4%</text>
726 </text>
727
728 <text style="text_m">
729 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500730 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100731 </text>
732
733 <slider>
734 <text>%tw_slider_text%</text>
735 <action function="page">action_page</action>
736 </slider>
737
738 <action>
739 <touch key="back"/>
740 <actions>
741 <action function="set">tw_clear_destination=%tw_back%</action>
742 <action function="page">clear_vars</action>
743 </actions>
744 </action>
745
746 <action>
747 <touch key="home"/>
748 <action function="page">main</action>
749 </action>
750 </page>
751
752 <page name="action_page">
753 <template name="page"/>
754
755 <text style="text_l">
756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
757 <text>%tw_action_text1%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%col1_x_header%" y="%row4_header_y%"/>
762 <text>%tw_action_text2%</text>
763 </text>
764
765 <template name="console"/>
766
767 <template name="progress_bar"/>
768
769 <button style="main_button_half_height">
770 <condition var1="tw_has_cancel" var2="1"/>
771 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
774 </button>
775
776 <action>
777 <condition var1="tw_operation_state" var2="1"/>
778 <actions>
779 <action function="page">action_complete</action>
780 </actions>
781 </action>
782
783 <action>
784 <condition var1="tw_has_action2" var2="0"/>
785 <actions>
786 <action function="%tw_action%">%tw_action_param%</action>
787 </actions>
788 </action>
789
790 <action>
791 <condition var1="tw_has_action2" var2="1"/>
792 <actions>
793 <action function="%tw_action%">%tw_action_param%</action>
794 <action function="%tw_action2%">%tw_action2_param%</action>
795 </actions>
796 </action>
797 </page>
798
799 <page name="singleaction_page">
800 <template name="page"/>
801
802 <text style="text_l">
803 <placement x="%col1_x_header%" y="%row3_header_y%"/>
804 <text>%tw_action_text1%</text>
805 </text>
806
807 <text style="text_m">
808 <placement x="%col1_x_header%" y="%row4_header_y%"/>
809 <text>%tw_action_text2%</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <action>
817 <condition var1="tw_operation_state" var2="1"/>
818 <actions>
819 <action function="set">tw_page_done=1</action>
820 </actions>
821 </action>
822
823 <action>
824 <condition var1="tw_has_action2" var2="0"/>
825 <actions>
826 <action function="%tw_action%">%tw_action_param%</action>
827 </actions>
828 </action>
829
830 <action>
831 <condition var1="tw_has_action2" var2="1"/>
832 <actions>
833 <action function="%tw_action%">%tw_action_param%</action>
834 <action function="%tw_action2%">%tw_action2_param%</action>
835 </actions>
836 </action>
837 </page>
838
839 <page name="action_complete">
840 <template name="page"/>
841
842 <text style="text_l">
843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
844 <text>%tw_complete_text1%</text>
845 </text>
846
847 <text style="text_m_fail">
848 <condition var1="tw_operation_status" op="!=" var2="0"/>
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100851 </text>
852
853 <text style="text_m">
854 <condition var1="tw_operation_status" var2="0"/>
855 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500856 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </text>
858
859 <template name="console"/>
860
861 <button style="main_button_half_height">
862 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 <actions>
865 <action function="set">tw_clear_destination=%tw_back%</action>
866 <action function="page">clear_vars</action>
867 </actions>
868 </button>
869
870 <button style="main_button_half_height">
871 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500872 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100873 <actions>
874 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500875 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </actions>
877 </button>
878
879 <action>
880 <touch key="home"/>
881 <actions>
882 <action function="set">tw_clear_destination=main2</action>
883 <action function="page">clear_vars</action>
884 </actions>
885 </action>
886
887 <action>
888 <touch key="back"/>
889 <actions>
890 <action function="set">tw_clear_destination=%tw_back%</action>
891 <action function="page">clear_vars</action>
892 </actions>
893 </action>
894 </page>
895
896 <page name="filecheck">
897 <action>
898 <action function="fileexists">%tw_filecheck%</action>
899 </action>
900
901 <action>
902 <conditions>
903 <condition var1="tw_operation_state" var2="1"/>
904 <condition var1="tw_operation_status" var2="0"/>
905 </conditions>
906 <actions>
907 <action function="set">tw_fileexists=1</action>
908 <action function="page">%tw_existpage%</action>
909 </actions>
910 </action>
911
912 <action>
913 <conditions>
914 <condition var1="tw_operation_state" var2="1"/>
915 <condition var1="tw_operation_status" var2="1"/>
916 </conditions>
917 <actions>
918 <action function="set">tw_fileexists=0</action>
919 <action function="page">%tw_notexistpage%</action>
920 </actions>
921 </action>
922 </page>
923
924 <page name="rebootcheck">
925 <action>
926 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600927 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </action>
929
930 <action>
931 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
932 <action function="page">confirm_action</action>
933 </action>
934 </page>
935
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600936 <page name="appcheck">
937 <action>
938 <condition var1="tw_app_prompt" var2="1"/>
939 <action function="checkforapp"></action>
940 </action>
941
942 <action>
943 <condition var1="tw_app_prompt" op="!=" var2="1"/>
944 <action function="reboot">%tw_reboot_param%</action>
945 </action>
946
947 <action>
948 <condition var1="tw_app_install_status" var2="1"/>
949 <action function="page">rebootapp</action>
950 </action>
951
952 <action>
953 <condition var1="tw_app_install_status" var2="2"/>
954 <action function="reboot">%tw_reboot_param%</action>
955 </action>
956 </page>
957
z31s1g28f0a922015-11-07 18:50:22 +0100958 <page name="wipe">
959 <template name="page"/>
960
961 <text style="text_l">
962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100964 </text>
965
966 <text style="text_m">
967 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500968 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100969 </text>
970
971 <text style="text_m_accent">
972 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100974 </text>
975
976 <text style="text_m_accent">
977 <condition var1="tw_has_data_media" var2="1"/>
978 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500979 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100980 </text>
981
982 <text style="text_m_accent">
983 <conditions>
984 <condition var1="tw_has_android_secure" var2="1"/>
985 <condition var1="fileexists" var2="/and-sec"/>
986 </conditions>
987 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500988 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100989 </text>
990
991 <text style="text_m_accent">
992 <condition var1="tw_has_sdext_partition" var2="1"/>
993 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m">
998 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m">
1003 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m">
1008 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001009 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001010 </text>
1011
1012 <button style="main_button_half_height">
1013 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 <actions>
1016 <action function="set">partitionlisterror=0</action>
1017 <action function="page">advancedwipe</action>
1018 </actions>
1019 </button>
1020
1021 <button style="main_button_half_height">
1022 <condition var1="tw_has_data_media" var2="1"/>
1023 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001024 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001025 <action function="page">formatdata</action>
1026 </button>
1027
1028 <button style="main_button_half_height">
1029 <conditions>
1030 <condition var1="tw_is_encrypted" var2="1"/>
1031 <condition var1="tw_has_data_media" var2="0"/>
1032 </conditions>
1033 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001035 <actions>
1036 <action function="set">tw_back=wipe</action>
1037 <action function="set">tw_action=wipe</action>
1038 <action function="set">tw_action_param=DATAMEDIA</action>
1039 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1043 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1044 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001045 <action function="page">confirm_action</action>
1046 </actions>
1047 </button>
1048
1049 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <actions>
1052 <action function="set">tw_back=wipe</action>
1053 <action function="set">tw_action=wipe</action>
1054 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001055 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1056 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001057 <action function="page">action_page</action>
1058 </actions>
1059 </slider>
1060
1061 <action>
1062 <touch key="back"/>
1063 <action function="page">main</action>
1064 </action>
1065
1066 <action>
1067 <touch key="home"/>
1068 <action function="page">main</action>
1069 </action>
1070 </page>
1071
1072 <page name="advancedwipe">
1073 <template name="page"/>
1074
1075 <action>
1076 <action function="set">tw_wipe_list=</action>
1077 </action>
1078
1079 <text style="text_l">
1080 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 </text>
1083
1084 <text style="text_m">
1085 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001086 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001087 </text>
1088
1089 <partitionlist>
1090 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001091 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001092 <data name="tw_wipe_list"/>
1093 <listtype name="wipe"/>
1094 </partitionlist>
1095
1096 <text style="text_m_fail">
1097 <condition var1="partitionlisterror" var2="1"/>
1098 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <button style="main_button_half_height_full_width">
1103 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001106 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001107 <action function="page">checkpartitionlist</action>
1108 </actions>
1109 </button>
1110
1111 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 <actions>
1114 <action function="set">tw_back=advancedwipe</action>
1115 <action function="set">tw_action=wipe</action>
1116 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1118 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1119 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001120 <action function="page">action_page</action>
1121 </actions>
1122 </slider>
1123
1124 <action>
1125 <touch key="home"/>
1126 <action function="page">main</action>
1127 </action>
1128
1129 <action>
1130 <touch key="back"/>
1131 <action function="page">wipe</action>
1132 </action>
1133 </page>
1134
1135 <page name="formatdata">
1136 <template name="page"/>
1137
1138 <text style="text_l">
1139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 </text>
1142
1143 <text style="text_m">
1144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001145 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001146 </text>
1147
1148 <text style="text_m_fail">
1149 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001150 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001151 </text>
1152
1153 <text style="text_m_fail">
1154 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001155 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001156 </text>
1157
1158 <text style="text_m_fail">
1159 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 </text>
1162
Ethan Yonker66a19492015-12-10 10:19:45 -06001163 <text style="text_m_fail">
1164 <condition var1="tw_has_adopted_storage" var2="1"/>
1165 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1166 <text>{@format_data_adopted=Including Adopted Storage}</text>
1167 </text>
1168
z31s1g28f0a922015-11-07 18:50:22 +01001169 <text style="text_m">
1170 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m">
1175 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <input>
1180 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1181 <text>%tw_confirm_formatdata%</text>
1182 <data name="tw_confirm_formatdata"/>
1183 <restrict minlen="3" maxlen="3" allow="yes"/>
1184 <action function="page">formatdata_confirm</action>
1185 </input>
1186
1187 <fill color="%accent_color%">
1188 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1189 </fill>
1190
1191 <template name="keyboardtemplate"/>
1192
1193 <action>
1194 <touch key="home"/>
1195 <action function="page">main</action>
1196 </action>
1197
1198 <action>
1199 <touch key="back"/>
1200 <action function="page">wipe</action>
1201 </action>
1202 </page>
1203
1204 <page name="formatdata_confirm">
1205 <action>
1206 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1207 <actions>
1208 <action function="set">tw_back=formatdata</action>
1209 <action function="set">tw_action=wipe</action>
1210 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1212 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001213 <action function="page">action_page</action>
1214 </actions>
1215 </action>
1216
1217 <action>
1218 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1219 <action function="page">formatdata</action>
1220 </action>
1221 </page>
1222
1223 <page name="checkpartitionlist">
1224 <action>
1225 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1226 <actions>
1227 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001228 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001229 <action function="page">partitionoptions</action>
1230 </actions>
1231 </action>
1232
1233 <action>
1234 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1235 <actions>
1236 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001237 <action function="page">advancedwipe</action>
1238 </actions>
1239 </action>
1240 </page>
1241
1242 <page name="partitionoptions">
1243 <template name="page"/>
1244
1245 <text style="text_l">
1246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m">
1251 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m_accent">
1256 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
1260 <text style="text_m_accent">
1261 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <condition var1="tw_partition_is_present" var2="1"/>
1267 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <condition var1="tw_partition_is_present" var2="0"/>
1273 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001275 </text>
1276
1277 <text style="text_m">
1278 <condition var1="tw_partition_removable" var2="1"/>
1279 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 </text>
1282
1283 <text style="text_m">
1284 <condition var1="tw_partition_removable" var2="0"/>
1285 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 </text>
1288
1289 <text style="text_m">
1290 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001291 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001292 </text>
1293
1294 <text style="text_m">
1295 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <text style="text_m">
1300 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m">
1305 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <button style="main_button_half_height">
1310 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1311 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 <actions>
1314 <action function="set">tw_back=partitionoptions</action>
1315 <action function="set">tw_action=resize</action>
1316 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1317 <action function="set">tw_has_action2=1</action>
1318 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001319 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1323 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1324 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001325 <action function="page">confirm_action</action>
1326 </actions>
1327 </button>
1328
1329 <button style="main_button_half_height">
1330 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1331 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 <actions>
1334 <action function="set">tw_back=partitionoptions</action>
1335 <action function="set">tw_action=repair</action>
1336 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1337 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1341 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 <action function="page">selectfilesystem</action>
1351 </button>
1352
1353 <action>
1354 <touch key="home"/>
1355 <action function="page">main</action>
1356 </action>
1357
1358 <action>
1359 <touch key="back"/>
1360 <action function="page">advancedwipe</action>
1361 </action>
1362 </page>
1363
1364 <page name="refreshfilesystem">
1365 <action>
1366 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1367 <actions>
1368 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001369 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001370 <action function="page">selectfilesystem</action>
1371 </actions>
1372 </action>
1373
1374 <action>
1375 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1376 <actions>
1377 <action function="set">partitionlisterror=1</action>
1378 <action function="set">tw_wipe_list=</action>
1379 <action function="page">advancedwipe</action>
1380 </actions>
1381 </action>
1382 </page>
1383
1384 <page name="selectfilesystem">
1385 <template name="page"/>
1386
1387 <text style="text_l">
1388 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001390 </text>
1391
1392 <text style="text_m">
1393 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001395 </text>
1396
1397 <text style="text_m_accent">
1398 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m_accent">
1403 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m_fail">
1408 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001410 </text>
1411
1412 <text style="text_m_fail">
1413 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001415 </text>
1416
1417 <button style="main_button_half_height">
1418 <condition var1="tw_partition_ext" op="=" var2="1"/>
1419 <placement x="%indent%" y="%row15a_y%"/>
1420 <text>EXT2</text>
1421 <actions>
1422 <action function="set">tw_back=refreshfilesystem</action>
1423 <action function="set">tw_action=changefilesystem</action>
1424 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1425 <action function="set">tw_action_new_file_system=ext2</action>
1426 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1428 <action function="set">tw_text2=EXT2</action>
1429 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1430 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1431 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001432 <action function="page">confirm_action</action>
1433 </actions>
1434 </button>
1435
1436 <button style="main_button_half_height">
1437 <condition var1="tw_partition_ext" op="=" var2="1"/>
1438 <placement x="%indent%" y="%row18a_y%"/>
1439 <text>EXT3</text>
1440 <actions>
1441 <action function="set">tw_back=refreshfilesystem</action>
1442 <action function="set">tw_action=changefilesystem</action>
1443 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1444 <action function="set">tw_action_new_file_system=ext3</action>
1445 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1447 <action function="set">tw_text2=EXT3</action>
1448 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1449 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1450 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001451 <action function="page">confirm_action</action>
1452 </actions>
1453 </button>
1454
1455 <button style="main_button_half_height">
1456 <condition var1="tw_partition_ext" op="=" var2="1"/>
1457 <placement x="%indent%" y="%row21a_y%"/>
1458 <text>EXT4</text>
1459 <actions>
1460 <action function="set">tw_back=refreshfilesystem</action>
1461 <action function="set">tw_action=changefilesystem</action>
1462 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1463 <action function="set">tw_action_new_file_system=ext4</action>
1464 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1466 <action function="set">tw_text2=EXT4</action>
1467 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1468 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1469 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001470 <action function="page">confirm_action</action>
1471 </actions>
1472 </button>
1473
1474 <button style="main_button_half_height">
1475 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1476 <placement x="%center_x%" y="%row15a_y%"/>
1477 <text>FAT</text>
1478 <actions>
1479 <action function="set">tw_back=refreshfilesystem</action>
1480 <action function="set">tw_action=changefilesystem</action>
1481 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1482 <action function="set">tw_action_new_file_system=vfat</action>
1483 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1485 <action function="set">tw_text2=FAT</action>
1486 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1487 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1488 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001489 <action function="page">confirm_action</action>
1490 </actions>
1491 </button>
1492
1493 <button style="main_button_half_height">
1494 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1495 <placement x="%center_x%" y="%row18a_y%"/>
1496 <text>exFAT</text>
1497 <actions>
1498 <action function="set">tw_back=refreshfilesystem</action>
1499 <action function="set">tw_action=changefilesystem</action>
1500 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1501 <action function="set">tw_action_new_file_system=exfat</action>
1502 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001503 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1504 <action function="set">tw_text2=exFAT</action>
1505 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1506 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1507 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001508 <action function="page">confirm_action</action>
1509 </actions>
1510 </button>
1511
1512 <button style="main_button_half_height">
1513 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1514 <placement x="%center_x%" y="%row21a_y%"/>
1515 <text>F2FS</text>
1516 <actions>
1517 <action function="set">tw_back=refreshfilesystem</action>
1518 <action function="set">tw_action=changefilesystem</action>
1519 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1520 <action function="set">tw_action_new_file_system=f2fs</action>
1521 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001522 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1523 <action function="set">tw_text2=F2FS</action>
1524 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1525 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1526 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001527 <action function="page">confirm_action</action>
1528 </actions>
1529 </button>
1530
1531 <action>
1532 <touch key="home"/>
1533 <action function="page">main</action>
1534 </action>
1535
1536 <action>
1537 <touch key="back"/>
1538 <action function="page">partitionoptions</action>
1539 </action>
1540 </page>
1541
1542 <page name="backup">
1543 <template name="page"/>
1544
1545 <text style="text_l">
1546 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 </text>
1549
1550 <text style="text_m">
1551 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001552 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001553 </text>
1554
1555 <template name="tabs_backup"/>
1556
1557 <fill color="%text_color%">
1558 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1559 </fill>
1560
1561 <button style="tab">
1562 <conditions>
1563 <condition var1="tw_include_encrypted_backup" var2="1"/>
1564 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001565 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001566 </conditions>
1567 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001568 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001569 <font resource="font_s" color="%text_color%"/>
1570 <actions>
1571 <action function="set">tw_password_not_match=0</action>
1572 <action function="page">backupencryption</action>
1573 </actions>
1574 </button>
1575
1576 <button style="tab">
1577 <conditions>
1578 <condition var1="tw_include_encrypted_backup" var2="1"/>
1579 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001580 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001581 </conditions>
1582 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <font resource="font_s" color="%text_success_color%"/>
1585 <actions>
1586 <action function="set">tw_password_not_match=0</action>
1587 <action function="page">backupencryption</action>
1588 </actions>
1589 </button>
1590
1591 <text style="text_m_accent">
1592 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001593 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001594 </text>
1595
1596 <text style="text_m">
1597 <placement x="%indent%" y="%row4a_y%"/>
1598 <text>%tw_backup_name%</text>
1599 </text>
1600
1601 <fill color="%fileselector_linecolor%">
1602 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1603 </fill>
1604
1605 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001606 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1608 <fill color="%transparent%"/>
1609 <actions>
1610 <action function="set">tw_fileexists=0</action>
1611 <action function="page">backupname1</action>
1612 </actions>
1613 </button>
1614
1615 <partitionlist>
1616 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <data name="tw_backup_list"/>
1619 <listtype name="backup"/>
1620 </partitionlist>
1621
1622 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001623 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <actions>
1627 <action function="set">tw_back=backup</action>
1628 <action function="overlay">select_storage</action>
1629 </actions>
1630 </button>
1631
1632 <button style="main_button_half_height">
1633 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001635 <actions>
1636 <action function="refreshsizes"/>
1637 <action function="page">backup</action>
1638 </actions>
1639 </button>
1640
1641 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="page">backup_run</action>
1644 </slider>
1645
1646 <action>
1647 <touch key="home"/>
1648 <action function="page">main</action>
1649 </action>
1650
1651 <action>
1652 <touch key="back"/>
1653 <action function="page">main</action>
1654 </action>
1655 </page>
1656
1657 <page name="backup_options">
1658 <template name="page"/>
1659
1660 <text style="text_l">
1661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m">
1666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001667 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001668 </text>
1669
1670 <template name="tabs_backup"/>
1671
1672 <fill color="%text_color%">
1673 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1674 </fill>
1675
1676 <button style="tab">
1677 <conditions>
1678 <condition var1="tw_include_encrypted_backup" var2="1"/>
1679 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001680 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </conditions>
1682 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <font resource="font_s" color="%text_color%"/>
1685 <actions>
1686 <action function="set">tw_password_not_match=0</action>
1687 <action function="page">backupencryption</action>
1688 </actions>
1689 </button>
1690
1691 <button style="tab">
1692 <conditions>
1693 <condition var1="tw_include_encrypted_backup" var2="1"/>
1694 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001695 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001696 </conditions>
1697 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <font resource="font_s" color="%text_success_color%"/>
1700 <actions>
1701 <action function="set">tw_password_not_match=0</action>
1702 <action function="page">backupencryption</action>
1703 </actions>
1704 </button>
1705
1706 <checkbox>
1707 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <data variable="tw_use_compression"/>
1710 </checkbox>
1711
1712 <checkbox>
1713 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001715 <data variable="tw_skip_md5_generate"/>
1716 </checkbox>
1717
1718 <checkbox>
1719 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001720 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <data variable="tw_disable_free_space"/>
1722 </checkbox>
1723
Ethan Yonker1b190162016-12-05 15:25:19 -06001724 <text style="text_m">
1725 <condition var1="tw_has_boot_slots" var2="1"/>
1726 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1727 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1728 </text>
1729
1730 <button style="main_button">
1731 <condition var1="tw_has_boot_slots" var2="1"/>
1732 <placement x="%indent%" y="%row19_y%"/>
1733 <text>{@boot_slot_a=Slot A}</text>
1734 <actions>
1735 <action function="set">tw_back=backup_options</action>
1736 <action function="set">tw_action=setbootslot</action>
1737 <action function="set">tw_action_param=A</action>
1738 <action function="set">tw_has_action2=0</action>
1739 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1740 <action function="set">tw_action_text2=</action>
1741 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1742 <action function="page">action_page</action>
1743 </actions>
1744 </button>
1745
1746 <button style="main_button">
1747 <condition var1="tw_has_boot_slots" var2="1"/>
1748 <placement x="%center_x%" y="%row19_y%"/>
1749 <text>{@boot_slot_b=Slot B}</text>
1750 <actions>
1751 <action function="set">tw_back=backup_options</action>
1752 <action function="set">tw_action=setbootslot</action>
1753 <action function="set">tw_action_param=B</action>
1754 <action function="set">tw_has_action2=0</action>
1755 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1756 <action function="set">tw_action_text2=</action>
1757 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1758 <action function="page">action_page</action>
1759 </actions>
1760 </button>
1761
z31s1g28f0a922015-11-07 18:50:22 +01001762 <action>
1763 <touch key="home"/>
1764 <action function="page">main</action>
1765 </action>
1766
1767 <action>
1768 <touch key="back"/>
1769 <action function="page">backup</action>
1770 </action>
1771 </page>
1772
1773 <page name="backupname1">
1774 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <action function="generatebackupname"/>
1777 </action>
1778
1779 <action>
1780 <action function="page">backupname2</action>
1781 </action>
1782 </page>
1783
1784 <page name="backupname2">
1785 <template name="page"/>
1786
1787 <text style="text_l">
1788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001789 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001790 </text>
1791
1792 <text style="text_m">
1793 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001794 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001795 </text>
1796
1797 <template name="tabs_backup"/>
1798
1799 <fill color="%text_color%">
1800 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1801 </fill>
1802
1803 <button style="tab">
1804 <conditions>
1805 <condition var1="tw_include_encrypted_backup" var2="1"/>
1806 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001807 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001808 </conditions>
1809 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <font resource="font_s" color="%text_color%"/>
1812 <actions>
1813 <action function="set">tw_password_not_match=0</action>
1814 <action function="page">backupencryption</action>
1815 </actions>
1816 </button>
1817
1818 <button style="tab">
1819 <conditions>
1820 <condition var1="tw_include_encrypted_backup" var2="1"/>
1821 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001822 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </conditions>
1824 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 <font resource="font_s" color="%text_success_color%"/>
1827 <actions>
1828 <action function="set">tw_password_not_match=0</action>
1829 <action function="page">backupencryption</action>
1830 </actions>
1831 </button>
1832
1833 <text style="text_m_accent">
1834 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001835 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001836 </text>
1837
1838 <input>
1839 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1840 <text>%tw_backup_name%</text>
1841 <data name="tw_backup_name"/>
1842 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1843 <actions>
1844 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1845 <action function="set">tw_existpage=backupname2</action>
1846 <action function="set">tw_notexistpage=backup</action>
1847 <action function="page">filecheck</action>
1848 </actions>
1849 </input>
1850
1851 <fill color="%accent_color%">
1852 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1853 </fill>
1854
1855 <fill color="%text_fail_color%">
1856 <condition var1="tw_fileexists" var2="1"/>
1857 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1858 </fill>
1859
1860 <text style="text_m_fail">
1861 <condition var1="tw_fileexists" var2="1"/>
1862 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001863 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001864 </text>
1865
1866 <button style="main_button_half_height">
1867 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001868 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001869 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001871 <action function="page">backup</action>
1872 </actions>
1873 </button>
1874
1875 <button style="main_button_half_height">
1876 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <action function="appenddatetobackupname"/>
1879 </button>
1880
1881 <template name="keyboardtemplate"/>
1882
1883 <action>
1884 <touch key="home"/>
1885 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <action function="page">main</action>
1888 </actions>
1889 </action>
1890
1891 <action>
1892 <touch key="back"/>
1893 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001894 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001895 <action function="page">backup</action>
1896 </actions>
1897 </action>
1898 </page>
1899
1900 <page name="backupencryption">
1901 <template name="page"/>
1902
1903 <text style="text_l">
1904 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 </text>
1907
1908 <text style="text_m">
1909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001911 </text>
1912
1913 <template name="tabs_backup"/>
1914
1915 <button style="tab">
1916 <conditions>
1917 <condition var1="tw_include_encrypted_backup" var2="1"/>
1918 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001919 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001920 </conditions>
1921 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001923 <font resource="font_s" color="%text_color%"/>
1924 <actions>
1925 <action function="set">tw_password_not_match=0</action>
1926 <action function="page">backupencryption</action>
1927 </actions>
1928 </button>
1929
1930 <button style="tab">
1931 <conditions>
1932 <condition var1="tw_include_encrypted_backup" var2="1"/>
1933 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001934 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </conditions>
1936 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 <font resource="font_s" color="%text_success_color%"/>
1939 <actions>
1940 <action function="set">tw_password_not_match=0</action>
1941 <action function="page">backupencryption</action>
1942 </actions>
1943 </button>
1944
1945 <fill color="%text_color%">
1946 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1947 </fill>
1948
1949 <text style="text_m_accent">
1950 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001951 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001952 </text>
1953
1954 <text style="text_m">
1955 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 </text>
1958
1959 <input>
1960 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1961 <text>%tw_backup_encrypt_display%</text>
1962 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1963 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1964 <action function="page">backupencryption2</action>
1965 </input>
1966
1967 <fill color="%accent_color%">
1968 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1969 </fill>
1970
1971 <fill color="%text_fail_color%">
1972 <condition var1="tw_password_not_match" var2="1"/>
1973 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1974 </fill>
1975
1976 <text style="text_m_fail">
1977 <condition var1="tw_password_not_match" var2="1"/>
1978 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 </text>
1981
1982 <button style="main_button_half_height">
1983 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001984 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001985 <actions>
1986 <action function="set">tw_encrypt_backup=0</action>
1987 <action function="set">tw_backup_password=</action>
1988 <action function="set">tw_backup_password2=</action>
1989 <action function="set">tw_backup_encrypt_display=</action>
1990 <action function="set">tw_backup_encrypt_display2=</action>
1991 <action function="page">backup</action>
1992 </actions>
1993 </button>
1994
1995 <template name="keyboardtemplate"/>
1996
1997 <action>
1998 <touch key="home"/>
1999 <action function="page">main</action>
2000 </action>
2001
2002 <action>
2003 <touch key="back"/>
2004 <action function="page">backup</action>
2005 </action>
2006 </page>
2007
2008 <page name="backupencryption2">
2009 <template name="page"/>
2010
2011 <text style="text_l">
2012 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <template name="tabs_backup"/>
2022
2023 <button style="tab">
2024 <conditions>
2025 <condition var1="tw_include_encrypted_backup" var2="1"/>
2026 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002027 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002028 </conditions>
2029 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002030 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002031 <font resource="font_s" color="%text_color%"/>
2032 <actions>
2033 <action function="set">tw_password_not_match=0</action>
2034 <action function="page">backupencryption</action>
2035 </actions>
2036 </button>
2037
2038 <button style="tab">
2039 <conditions>
2040 <condition var1="tw_include_encrypted_backup" var2="1"/>
2041 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002042 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002043 </conditions>
2044 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002045 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002046 <font resource="font_s" color="%text_success_color%"/>
2047 <actions>
2048 <action function="set">tw_password_not_match=0</action>
2049 <action function="page">backupencryption</action>
2050 </actions>
2051 </button>
2052
2053 <fill color="%text_color%">
2054 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2055 </fill>
2056
2057 <text style="text_m_accent">
2058 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <text style="text_m">
2063 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <input>
2068 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2069 <text>%tw_backup_encrypt_display2%</text>
2070 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2071 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2072 <action function="page">checkbackuppassword</action>
2073 </input>
2074
2075 <fill color="%accent_color%">
2076 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2077 </fill>
2078
2079 <button style="main_button_half_height">
2080 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002081 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002082 <actions>
2083 <action function="set">tw_encrypt_backup=0</action>
2084 <action function="set">tw_backup_password=</action>
2085 <action function="set">tw_backup_password2=</action>
2086 <action function="set">tw_backup_encrypt_display=</action>
2087 <action function="set">tw_backup_encrypt_display2=</action>
2088 <action function="page">backup</action>
2089 </actions>
2090 </button>
2091
2092 <template name="keyboardtemplate"/>
2093
2094 <action>
2095 <touch key="home"/>
2096 <action function="page">main</action>
2097 </action>
2098
2099 <action>
2100 <touch key="back"/>
2101 <action function="page">backup</action>
2102 </action>
2103 </page>
2104
2105 <page name="checkbackuppassword">
2106 <action>
2107 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2108 <actions>
2109 <action function="set">tw_encrypt_backup=1</action>
2110 <action function="page">backup</action>
2111 </actions>
2112 </action>
2113
2114 <action>
2115 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2116 <actions>
2117 <action function="set">tw_encrypt_backup=0</action>
2118 <action function="set">tw_password_not_match=1</action>
2119 <action function="set">tw_backup_password=</action>
2120 <action function="set">tw_backup_password2=</action>
2121 <action function="set">tw_backup_encrypt_display=</action>
2122 <action function="set">tw_backup_encrypt_display2=</action>
2123 <action function="page">backupencryption</action>
2124 </actions>
2125 </action>
2126 </page>
2127
2128 <page name="backup_run">
2129 <template name="page"/>
2130
2131 <text style="text_l">
2132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2133 <text>%tw_operation%</text>
2134 </text>
2135
2136 <text style="text_m">
2137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2138 <text>%tw_partition% Partition</text>
2139 </text>
2140
2141 <template name="console"/>
2142
2143 <template name="progress_bar"/>
2144
2145 <text style="text_m_accent">
2146 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002147 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m">
2151 <placement x="%indent%" y="%row20_y%"/>
2152 <text>%tw_file_progress%</text>
2153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%indent%" y="%row21_y%"/>
2157 <text>%tw_size_progress%</text>
2158 </text>
2159
2160 <button style="main_button_half_height">
2161 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <action function="cancelbackup"/>
2164 </button>
2165
2166 <action>
2167 <action function="nandroid">backup</action>
2168 </action>
2169
2170 <action>
2171 <condition var1="tw_operation_state" var2="1"/>
2172 <condition var1="tw_cancel_backup" var2="0"/>
2173 <actions>
2174 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002176 <action function="set">tw_show_reboot=1</action>
2177 <action function="page">action_complete</action>
2178 </actions>
2179 </action>
2180
2181 <action>
2182 <condition var1="tw_operation_state" var2="1"/>
2183 <condition var1="tw_cancel_backup" var2="1"/>
2184 <actions>
2185 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002187 <action function="set">tw_show_reboot=1</action>
2188 <action function="page">action_complete</action>
2189 </actions>
2190 </action>
2191 </page>
2192
2193 <page name="restore">
2194 <template name="page"/>
2195
2196 <text style="text_l">
2197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <text style="text_m">
2202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 </text>
2205
2206 <template name="sort_options"/>
2207
2208 <fileselector>
2209 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002210 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002211 <filter folders="1" files="0" nav="0"/>
2212 <path name="tw_backups_folder"/>
2213 <data name="tw_restore" default=""/>
2214 <selection name="tw_restore_name"/>
2215 </fileselector>
2216
2217 <button style="main_button_half_height">
2218 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 <actions>
2221 <action function="set">tw_back=restore</action>
2222 <action function="overlay">select_storage</action>
2223 </actions>
2224 </button>
2225
2226 <action>
2227 <condition var1="tw_restore" op="modified"/>
2228 <actions>
2229 <action function="readBackup"/>
2230 <action function="page">restore_read</action>
2231 </actions>
2232 </action>
2233
2234 <action>
2235 <touch key="home"/>
2236 <action function="page">main</action>
2237 </action>
2238
2239 <action>
2240 <touch key="back"/>
2241 <action function="page">main</action>
2242 </action>
2243 </page>
2244
2245 <page name="restore_read">
2246 <action>
2247 <condition var1="tw_restore_encrypted" var2="1"/>
2248 <actions>
2249 <action function="set">tw_password_fail=0</action>
2250 <action function="page">restore_decrypt</action>
2251 </actions>
2252 </action>
2253
2254 <action>
2255 <condition var1="tw_restore_encrypted" var2="0"/>
2256 <actions>
2257 <action function="page">restore_select</action>
2258 </actions>
2259 </action>
2260 </page>
2261
2262 <page name="restore_decrypt">
2263 <template name="page"/>
2264
2265 <text style="text_l">
2266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </text>
2269
2270 <text style="text_m">
2271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002273 </text>
2274
2275 <text style="text_m_accent">
2276 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </text>
2279
2280 <input>
2281 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2282 <text>%tw_restore_display%</text>
2283 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2284 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2285 <action function="page">try_restore_decrypt</action>
2286 </input>
2287
2288 <fill color="%accent_color%">
2289 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2290 </fill>
2291
2292 <fill color="%text_fail_color%">
2293 <condition var1="tw_password_fail" var2="1"/>
2294 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2295 </fill>
2296
2297 <text style="text_m_fail">
2298 <condition var1="tw_password_fail" var2="1"/>
2299 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <button style="main_button_half_height">
2304 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 <actions>
2307 <action function="set">tw_page_done=1</action>
2308 <action function="page">restore</action>
2309 </actions>
2310 </button>
2311
2312 <button style="main_button_half_height">
2313 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 <actions>
2316 <action function="set">tw_back=restore</action>
2317 <action function="set">tw_action=cmd</action>
2318 <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 -05002319 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2320 <action function="set">tw_text2=%tw_restore_name%</action>
2321 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2322 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2323 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2324 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002325 <action function="page">confirm_action</action>
2326 </actions>
2327 </button>
2328
2329 <template name="keyboardtemplate"/>
2330
2331 <action>
2332 <touch key="home"/>
2333 <action function="page">main</action>
2334 </action>
2335
2336 <action>
2337 <touch key="back"/>
2338 <action function="page">restore</action>
2339 </action>
2340 </page>
2341
2342 <page name="try_restore_decrypt">
2343 <template name="page"/>
2344
2345 <text style="text_l">
2346 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002347 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002348 </text>
2349
2350 <text style="text_m">
2351 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002353 </text>
2354
2355 <template name="console"/>
2356
2357 <template name="progress_bar"/>
2358
2359 <action>
2360 <action function="decrypt_backup"/>
2361 </action>
2362
2363 <action>
2364 <conditions>
2365 <condition var1="tw_operation_state" var2="1"/>
2366 <condition var1="tw_operation_status" op="!=" var2="0"/>
2367 </conditions>
2368 <actions>
2369 <action function="set">tw_password_fail=1</action>
2370 <action function="page">restore_decrypt</action>
2371 </actions>
2372 </action>
2373
2374 <action>
2375 <conditions>
2376 <condition var1="tw_operation_state" var2="1"/>
2377 <condition var1="tw_operation_status" op="=" var2="0"/>
2378 </conditions>
2379 <actions>
2380 <action function="set">tw_page_done=1</action>
2381 <action function="page">restore_select</action>
2382 </actions>
2383 </action>
2384 </page>
2385
2386 <page name="restore_select">
2387 <template name="page"/>
2388
2389 <text style="text_l">
2390 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 </text>
2393
2394 <text style="text_m">
2395 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002396 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002397 </text>
2398
2399 <text style="text_m_accent">
2400 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 </text>
2403
2404 <text style="text_m">
2405 <placement x="%indent%" y="%row3_y%"/>
2406 <text>%tw_restore_name%</text>
2407 </text>
2408
2409 <fill color="%fileselector_linecolor%">
2410 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2411 </fill>
2412
2413 <button>
2414 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2415 <fill color="%transparent%"/>
2416 <actions>
2417 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2418 <action function="set">tw_fileexists=0</action>
2419 <action function="page">renamebackup</action>
2420 </actions>
2421 </button>
2422
2423 <partitionlist>
2424 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2427 <listtype name="restore"/>
2428 </partitionlist>
2429
2430 <checkbox>
2431 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002432 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <data variable="tw_skip_md5_check"/>
2434 </checkbox>
2435
2436 <button style="main_button_half_height">
2437 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002438 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002439 <actions>
2440 <action function="set">tw_back=restore</action>
2441 <action function="set">tw_action=cmd</action>
2442 <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 -05002443 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002444 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2446 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2447 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2448 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002449 <action function="page">confirm_action</action>
2450 </actions>
2451 </button>
2452
2453 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 <action function="page">restore_run</action>
2456 </slider>
2457
2458 <action>
2459 <touch key="home"/>
2460 <action function="page">main</action>
2461 </action>
2462
2463 <action>
2464 <touch key="back"/>
2465 <action function="page">restore</action>
2466 </action>
2467 </page>
2468
2469 <page name="renamebackup">
2470 <template name="page"/>
2471
2472 <text style="text_l">
2473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002474 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002475 </text>
2476
2477 <text style="text_m">
2478 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 </text>
2481
2482 <text style="text_m_accent">
2483 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 </text>
2486
2487 <input>
2488 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2489 <text>%tw_backup_rename%</text>
2490 <data name="tw_backup_rename"/>
2491 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2492 <actions>
2493 <action function="set">tw_back=restore</action>
2494 <action function="set">tw_action=cmd</action>
2495 <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 -05002496 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2497 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2498 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2499 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2500 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002501 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2502 <action function="set">tw_existpage=renamebackup</action>
2503 <action function="set">tw_notexistpage=confirm_action</action>
2504 <action function="page">filecheck</action>
2505 </actions>
2506 </input>
2507
2508 <fill color="%accent_color%">
2509 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2510 </fill>
2511
2512 <fill color="%text_fail_color%">
2513 <condition var1="tw_fileexists" var2="1"/>
2514 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2515 </fill>
2516
2517 <text style="text_m_fail">
2518 <condition var1="tw_fileexists" var2="1"/>
2519 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <button style="main_button_half_height">
2524 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="page">restore_select</action>
2527 </button>
2528
2529 <template name="keyboardtemplate"/>
2530
2531 <action>
2532 <touch key="home"/>
2533 <action function="page">main</action>
2534 </action>
2535
2536 <action>
2537 <touch key="back"/>
2538 <action function="page">restore_select</action>
2539 </action>
2540 </page>
2541
2542 <page name="restore_run">
2543 <template name="page"/>
2544
2545 <text style="text_l">
2546 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 </text>
2549
2550 <text style="text_m">
2551 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2552 <text>%tw_operation% %tw_partition%</text>
2553 </text>
2554
2555 <template name="console"/>
2556
2557 <template name="progress_bar"/>
2558
2559 <text style="text_m_accent">
2560 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002562 </text>
2563
2564 <text style="text_m">
2565 <placement x="%indent%" y="%row20_y%"/>
2566 <text>%tw_size_progress%</text>
2567 </text>
2568
2569 <action>
2570 <condition var1="tw_operation_state" var2="1"/>
2571 <actions>
2572 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002573 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002574 <action function="set">tw_show_reboot=1</action>
2575 <action function="page">action_complete</action>
2576 </actions>
2577 </action>
2578
2579 <action>
2580 <action function="nandroid">restore</action>
2581 </action>
2582 </page>
2583
2584 <page name="mount">
2585 <template name="page"/>
2586
2587 <text style="text_l">
2588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 </text>
2591
2592 <text style="text_m">
2593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 </text>
2596
2597 <partitionlist>
2598 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 <listtype name="mount"/>
2601 </partitionlist>
2602
2603 <button style="checkbox">
2604 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2605 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <image resource="checkbox_false"/>
2608 <action function="mountsystemtoggle">1</action>
2609 </button>
2610
2611 <button style="checkbox">
2612 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2613 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002615 <image resource="checkbox_true"/>
2616 <actions>
2617 <action function="set">tw_lifetime_writes=2</action>
2618 <action function="page">system_readonly_check</action>
2619 </actions>
2620 </button>
2621
2622 <button style="main_button_half_height">
2623 <condition var1="tw_has_usb_storage" var2="1"/>
2624 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="page">usb_mount</action>
2627 </button>
2628
2629 <button style="main_button_half_height">
2630 <conditions>
2631 <condition var1="tw_is_encrypted" var2="1"/>
2632 <condition var1="tw_is_decrypted" var2="0"/>
2633 </conditions>
2634 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <action function="page">decrypt</action>
2637 </button>
2638
2639 <button style="main_button_half_height">
2640 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <actions>
2643 <action function="set">tw_back=mount</action>
2644 <action function="overlay">select_storage</action>
2645 </actions>
2646 </button>
2647
2648 <button style="main_button_half_height">
2649 <conditions>
2650 <condition var1="tw_has_mtp" var2="1"/>
2651 <condition var1="tw_mtp_enabled" var2="0"/>
2652 </conditions>
2653 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="startmtp"/>
2656 </button>
2657
2658 <button style="main_button_half_height">
2659 <conditions>
2660 <condition var1="tw_has_mtp" var2="1"/>
2661 <condition var1="tw_mtp_enabled" var2="1"/>
2662 </conditions>
2663 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="stopmtp"/>
2666 </button>
2667
2668 <action>
2669 <touch key="home"/>
2670 <action function="page">main</action>
2671 </action>
2672
2673 <action>
2674 <touch key="back"/>
2675 <action function="page">main</action>
2676 </action>
2677 </page>
2678
2679 <page name="usb_mount">
2680 <template name="page"/>
2681
2682 <text style="text_l">
2683 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <text style="text_m">
2688 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002689 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002690 </text>
2691
2692 <text style="text_m_accent">
2693 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002695 </text>
2696
2697 <text style="text_m">
2698 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 </text>
2701
2702 <text style="text_m">
2703 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002704 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002705 </text>
2706
2707 <button style="main_button_half_height">
2708 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002709 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002710 <action function="page">usb_umount</action>
2711 </button>
2712
2713 <action>
2714 <action function="mount">usb</action>
2715 <action function="set">tw_busy=1</action>
2716 </action>
2717 </page>
2718
2719 <page name="usb_umount">
2720 <action>
2721 <action function="unmount">usb</action>
2722 </action>
2723
2724 <action>
2725 <action function="page">mount</action>
2726 <action function="set">tw_busy=0</action>
2727 </action>
2728 </page>
2729
2730 <page name="system_readonly_check">
2731 <action>
2732 <action function="checkpartitionlifetimewrites">/system</action>
2733 </action>
2734
2735 <action>
2736 <condition var1="tw_lifetime_writes" var2="1"/>
2737 <actions>
2738 <action function="mountsystemtoggle">0</action>
2739 <action function="page">mount</action>
2740 </actions>
2741 </action>
2742
2743 <action>
2744 <condition var1="tw_lifetime_writes" var2="0"/>
2745 <actions>
2746 <action function="set">tw_back=mount</action>
2747 <action function="page">system_readonly</action>
2748 </actions>
2749 </action>
2750 </page>
2751
2752 <page name="reboot">
2753 <template name="page"/>
2754
2755 <text style="text_l">
2756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002757 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <button style="main_button">
2761 <condition var1="tw_reboot_system" var2="1"/>
2762 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 <actions>
2765 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002766 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002767 </actions>
2768 </button>
2769
2770 <button style="main_button">
2771 <condition var1="tw_reboot_poweroff" var2="1"/>
2772 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002773 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002774 <actions>
2775 <action function="set">tw_back=reboot</action>
2776 <action function="set">tw_action=reboot</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002777 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002778 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2780 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2781 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2782 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2783 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002784 <action function="page">rebootcheck</action>
2785 </actions>
2786 </button>
2787
2788 <button style="main_button">
2789 <condition var1="tw_reboot_recovery" var2="1"/>
2790 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002792 <actions>
2793 <action function="set">tw_back=reboot</action>
2794 <action function="set">tw_action=reboot</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002795 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002796 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002797 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2798 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2799 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2800 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2801 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002802 <action function="page">rebootcheck</action>
2803 </actions>
2804 </button>
2805
2806 <button style="main_button">
2807 <condition var1="tw_reboot_bootloader" var2="1"/>
2808 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002809 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002810 <actions>
2811 <action function="set">tw_back=reboot</action>
2812 <action function="set">tw_action=reboot</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002813 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002815 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2816 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2817 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2818 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2819 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002820 <action function="page">rebootcheck</action>
2821 </actions>
2822 </button>
2823
2824 <button style="main_button">
2825 <condition var1="tw_download_mode" var2="1"/>
2826 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002828 <actions>
2829 <action function="set">tw_back=reboot</action>
2830 <action function="set">tw_action=reboot</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002831 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002832 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2834 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2835 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2836 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2837 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <action function="page">rebootcheck</action>
2839 </actions>
2840 </button>
2841
Ethan Yonker1b190162016-12-05 15:25:19 -06002842 <text style="text_m">
2843 <condition var1="tw_has_boot_slots" var2="1"/>
2844 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2845 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2846 </text>
2847
2848 <button style="main_button">
2849 <condition var1="tw_has_boot_slots" var2="1"/>
2850 <placement x="%indent%" y="%row19_y%"/>
2851 <text>{@boot_slot_a=Slot A}</text>
2852 <actions>
2853 <action function="set">tw_back=reboot</action>
2854 <action function="set">tw_action=setbootslot</action>
2855 <action function="set">tw_action_param=A</action>
2856 <action function="set">tw_has_action2=0</action>
2857 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2858 <action function="set">tw_action_text2=</action>
2859 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2860 <action function="page">action_page</action>
2861 </actions>
2862 </button>
2863
2864 <button style="main_button">
2865 <condition var1="tw_has_boot_slots" var2="1"/>
2866 <placement x="%center_x%" y="%row19_y%"/>
2867 <text>{@boot_slot_b=Slot B}</text>
2868 <actions>
2869 <action function="set">tw_back=reboot</action>
2870 <action function="set">tw_action=setbootslot</action>
2871 <action function="set">tw_action_param=B</action>
2872 <action function="set">tw_has_action2=0</action>
2873 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2874 <action function="set">tw_action_text2=</action>
2875 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2876 <action function="page">action_page</action>
2877 </actions>
2878 </button>
2879
z31s1g28f0a922015-11-07 18:50:22 +01002880 <action>
2881 <touch key="home"/>
2882 <action function="page">main</action>
2883 </action>
2884
2885 <action>
2886 <touch key="back"/>
2887 <action function="page">main</action>
2888 </action>
2889 </page>
2890
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002891 <page name="rebootapp">
2892 <template name="page"/>
2893
2894 <text style="text_l">
2895 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2896 <text>{@reboot_hdr=Reboot}</text>
2897 </text>
2898
2899 <text style="text_m">
2900 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2901 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2902 </text>
2903
2904 <text style="text_m_accent">
2905 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2906 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2907 </text>
2908
2909 <text style="text_m_accent">
2910 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2911 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2912 </text>
2913
2914 <checkbox>
2915 <placement x="%indent%" y="%row5_y%"/>
2916 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2917 <data variable="tw_app_prompt"/>
2918 </checkbox>
2919
2920 <checkbox>
2921 <condition var1="tw_mount_system_ro" var2="0"/>
2922 <placement x="%indent%" y="%row7_y%"/>
2923 <text>{@reboot_install_app_system=Install as a System App}</text>
2924 <data variable="tw_app_install_system"/>
2925 </checkbox>
2926
2927 <button style="main_button_half_height">
2928 <placement x="%indent%" y="%row16_y%"/>
2929 <text>{@su_cancel=Do not Install}</text>
2930 <action function="reboot">%tw_reboot_param%</action>
2931 </button>
2932
2933 <slider>
2934 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2935 <actions>
2936 <action function="set">tw_back=reboot</action>
2937 <action function="set">tw_action=installapp</action>
2938 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2939 <action function="set">tw_action_text2=</action>
2940 <action function="set">tw_has_action2=1</action>
2941 <action function="set">tw_action2=reboot</action>
2942 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2943 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2944 <action function="page">action_page</action>
2945 </actions>
2946 </slider>
2947
2948 <action>
2949 <touch key="home"/>
2950 <actions>
2951 <action function="set">tw_app_install_status=0</action>
2952 <action function="page">main</action>
2953 </actions>
2954 </action>
2955
2956 <action>
2957 <touch key="back"/>
2958 <actions>
2959 <action function="set">tw_app_install_status=0</action>
2960 <action function="page">reboot</action>
2961 </actions>
2962 </action>
2963 </page>
2964
z31s1g28f0a922015-11-07 18:50:22 +01002965 <page name="system_readonly">
2966 <template name="page"/>
2967
2968 <text style="text_l">
2969 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m_accent">
2974 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <text style="text_m">
2984 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002986 </text>
2987
2988 <text style="text_m">
2989 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <text style="text_m">
2994 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
2998 <text style="text_m_fail">
2999 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003000 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003001 </text>
3002
3003 <text style="text_m_fail">
3004 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003005 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003006 </text>
3007
3008 <checkbox>
3009 <condition var1="tw_is_encrypted" var2="0"/>
3010 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 <data variable="tw_never_show_system_ro_page"/>
3013 </checkbox>
3014
3015 <button style="main_button_half_height">
3016 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 <actions>
3019 <action function="mountsystemtoggle">1</action>
3020 <action function="set">tw_page_done=1</action>
3021 <action function="page">%tw_back%</action>
3022 </actions>
3023 </button>
3024
z31s1g608d7ff2016-01-18 19:47:25 +01003025 <button style="main_button_half_height">
3026 <placement x="%center_x%" y="%row18a_y%"/>
3027 <text>{@sel_lang_btn=Select Language}</text>
3028 <action function="overlay">select_language</action>
3029 </button>
3030
z31s1g28f0a922015-11-07 18:50:22 +01003031 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 <actions>
3034 <action function="mountsystemtoggle">0</action>
3035 <action function="set">tw_page_done=1</action>
3036 <action function="page">%tw_back%</action>
3037 </actions>
3038 </slider>
3039 </page>
3040
3041 <page name="settings">
3042 <template name="page"/>
3043
3044 <text style="text_l">
3045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m">
3050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <template name="tabs_settings"/>
3055
3056 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </fill>
3059
3060 <listbox style="scrolllist">
3061 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3062 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003064 <data variable="tw_signed_zip_verify"/>
3065 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003066 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3067 <data variable="tw_install_reboot"/>
3068 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003070 <data variable="tw_rm_rf"/>
3071 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003072 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3073 <data variable="tw_disable_free_space"/>
3074 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003076 <data variable="tw_skip_md5_generate"/>
3077 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003078 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003079 <data variable="tw_skip_md5_check"/>
3080 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003082 <data variable="tw_military_time"/>
3083 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003085 <data variable="tw_samsung_navbar"/>
3086 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003087 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3088 <data variable="tw_app_prompt"/>
3089 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003091 <data variable="tw_simulate_actions"/>
3092 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003094 <condition var1="tw_simulate_actions" var2="1"/>
3095 <data variable="tw_simulate_fail"/>
3096 </listitem>
3097 </listbox>
3098
3099 <button style="main_button_half_height">
3100 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003102 <actions>
3103 <action function="set">tw_samsung_navbar=0</action>
3104 <action function="set">tw_tab_icons=0</action>
3105 <action function="restoredefaultsettings"/>
3106 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003107 </button>
3108
3109 <action>
3110 <touch key="home"/>
3111 <action function="page">main</action>
3112 </action>
3113
3114 <action>
3115 <touch key="back"/>
3116 <action function="page">main</action>
3117 </action>
3118 </page>
3119
3120 <page name="settings_timezone">
3121 <template name="page"/>
3122
3123 <text style="text_l">
3124 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003126 </text>
3127
3128 <text style="text_m">
3129 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003131 </text>
3132
3133 <template name="tabs_settings"/>
3134
3135 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003136 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003137 </fill>
3138
3139 <listbox>
3140 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003142 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3144 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3145 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3146 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3147 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3148 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3149 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3150 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3151 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3152 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3153 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3154 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3155 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3156 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3157 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3158 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3159 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3160 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3161 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3162 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3163 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3164 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3165 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3166 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </listbox>
3168
3169 <text style="text_m_accent">
3170 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </text>
3173
3174 <button style="button_quarter_width">
3175 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <action function="set">tw_time_zone_guioffset=0</action>
3178 </button>
3179
3180 <button style="button_quarter_width">
3181 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <action function="set">tw_time_zone_guioffset=15</action>
3184 </button>
3185
3186 <button style="button_quarter_width">
3187 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="set">tw_time_zone_guioffset=30</action>
3190 </button>
3191
3192 <button style="button_quarter_width">
3193 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="set">tw_time_zone_guioffset=45</action>
3196 </button>
3197
3198 <checkbox>
3199 <placement x="%indent%" y="%row18a_y%"/>
3200 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <data variable="tw_time_zone_guidst"/>
3203 <image checked="checkbox_true" unchecked="checkbox_false"/>
3204 </checkbox>
3205
3206 <text color="%text_color%">
3207 <font resource="font_m"/>
3208 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 </text>
3211
3212 <button>
3213 <highlight color="%highlight_color%"/>
3214 <placement x="%center_x%" y="%row21a_y%"/>
3215 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003217 <image resource="main_button_half_height"/>
3218 <action function="setguitimezone"/>
3219 </button>
3220
3221 <action>
3222 <touch key="home"/>
3223 <action function="page">main</action>
3224 </action>
3225
3226 <action>
3227 <touch key="back"/>
3228 <action function="page">main</action>
3229 </action>
3230 </page>
3231
3232 <page name="settings_screen">
3233 <template name="page"/>
3234
3235 <text style="text_l">
3236 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 </text>
3239
3240 <text style="text_m">
3241 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 </text>
3244
3245 <template name="tabs_settings"/>
3246
3247 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003248 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003249 </fill>
3250
3251 <button>
3252 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3253 <font resource="font_m" color="%text_color%"/>
3254 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3255 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 <image resource="checkbox_false"/>
3258 <action function="set">tw_screen_timeout_secs=60</action>
3259 </button>
3260
3261 <button>
3262 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3263 <font resource="font_m" color="%text_color%"/>
3264 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3265 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 <image resource="checkbox_true"/>
3268 <action function="set">tw_screen_timeout_secs=0</action>
3269 </button>
3270
3271 <slidervalue>
3272 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3273 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3274 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3277 </slidervalue>
3278
3279 <slidervalue>
3280 <condition var1="tw_has_brightnesss_file" var2="1"/>
3281 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 <data variable="tw_brightness_pct" min="10" max="100"/>
3284 <actions>
3285 <action function="set">tw_brightness=%tw_brightness_max%</action>
3286 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3287 <action function="compute">tw_brightness/100</action>
3288 <action function="setbrightness">%tw_brightness%</action>
3289 </actions>
3290 </slidervalue>
3291
3292 <action>
3293 <touch key="home"/>
3294 <action function="page">main</action>
3295 </action>
3296
3297 <action>
3298 <touch key="back"/>
3299 <action function="page">main</action>
3300 </action>
3301 </page>
3302
3303 <page name="settings_vibration">
3304 <template name="page"/>
3305
3306 <text style="text_l">
3307 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 </text>
3310
3311 <text style="text_m">
3312 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 </text>
3315
3316 <template name="tabs_settings"/>
3317
3318 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </fill>
3321
3322 <slidervalue>
3323 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <data variable="tw_button_vibrate" min="0" max="300"/>
3326 </slidervalue>
3327
3328 <slidervalue>
3329 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3332 </slidervalue>
3333
3334 <slidervalue>
3335 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <data variable="tw_action_vibrate" min="0" max="500"/>
3338 </slidervalue>
3339
3340 <action>
3341 <touch key="home"/>
3342 <action function="page">main</action>
3343 </action>
3344
3345 <action>
3346 <touch key="back"/>
3347 <action function="page">main</action>
3348 </action>
3349 </page>
3350
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <page name="settings_language">
3352 <template name="page"/>
3353
3354 <text style="text_l">
3355 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3356 <text>{@settings_hdr=Settings}</text>
3357 </text>
3358
3359 <text style="text_m">
3360 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3361 <text>{@language_hdr=Language - %tw_language_display%}</text>
3362 </text>
3363
3364 <template name="tabs_settings"/>
3365
3366 <fill color="%text_color%">
3367 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3368 </fill>
3369
3370 <listbox>
3371 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3372 <text>{@select_language=Select Language:}</text>
3373 <icon selected="radio_true" unselected="radio_false" />
3374 <data name="tw_language" />
3375 </listbox>
3376
3377 <button style="main_button_half_height">
3378 <placement x="%center_x%" y="%row21a_y%"/>
3379 <text>{@set_language_btn=Set Language}</text>
3380 <action function="setlanguage"></action>
3381 </button>
3382
3383 <action>
3384 <touch key="home" />
3385 <action function="page">main</action>
3386 </action>
3387
3388 <action>
3389 <touch key="back" />
3390 <action function="page">settings</action>
3391 </action>
3392 </page>
3393
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003394 <page name="copylog">
3395 <template name="page"/>
3396
3397 <text style="text_l">
3398 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3399 <text>{@copying_log=Copy Logs to SD Card}</text>
3400 </text>
3401
3402 <checkbox>
3403 <placement x="%indent%" y="%row4_y%"/>
3404 <text>{@include_kernel_log=Include Kernel Log}</text>
3405 <data variable="tw_include_kernel_log" value="1"/>
3406 </checkbox>
3407
3408 <slider>
3409 <text>{@copying_log=Copy Logs to SD Card}</text>
3410 <actions>
3411 <action function="set">tw_back=advanced</action>
3412 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003413 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3414 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003415 <action function="page">action_page</action>
3416 </actions>
3417 </slider>
3418
3419 <action>
3420 <touch key="home"/>
3421 <action function="page">main</action>
3422 </action>
3423
3424 <action>
3425 <touch key="back"/>
3426 <actions>
3427 <action function="page">advanced</action>
3428 </actions>
3429 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430 </page>
3431
z31s1g28f0a922015-11-07 18:50:22 +01003432 <page name="advanced">
3433 <template name="page"/>
3434
3435 <text style="text_l">
3436 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </text>
3439
3440 <button style="main_button">
3441 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003443 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </button>
3445
3446 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003447 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003449 <text>{@fix_context_btn=Fix Contexts}</text>
3450 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003451 </button>
3452
3453 <button style="main_button">
3454 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3455 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003457 <actions>
3458 <action function="set">partitionlisterror=0</action>
3459 <action function="page">partsdcardsel</action>
3460 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003461 </button>
3462
3463 <button style="main_button">
3464 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <action function="page">filemanagerlist</action>
3467 </button>
3468
3469 <button style="main_button">
3470 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003472 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003473 </button>
3474
3475 <button style="main_button">
3476 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003477 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <action function="reload"/>
3479 </button>
3480
3481 <button style="main_button">
3482 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003483 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003484 <action function="page">sideload</action>
3485 </button>
3486
3487 <button style="main_button">
3488 <condition var1="tw_show_dumlock" var2="1"/>
3489 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 <action function="page">htcdumlock</action>
3492 </button>
3493
3494 <button style="main_button">
3495 <condition var1="tw_has_injecttwrp" var2="1"/>
3496 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <actions>
3499 <action function="set">tw_back=advanced</action>
3500 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3502 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3503 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3504 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003505 <action function="page">confirm_action</action>
3506 </actions>
3507 </button>
3508
3509 <action>
3510 <touch key="home"/>
3511 <action function="page">main</action>
3512 </action>
3513
3514 <action>
3515 <touch key="back"/>
3516 <action function="page">main</action>
3517 </action>
3518 </page>
3519
Ethan Yonker483e9f42016-01-11 22:21:18 -06003520 <page name="partsdcardsel">
3521 <template name="page"/>
3522
3523 <text style="text_l">
3524 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3525 <text>{@advanced_hdr=Advanced}</text>
3526 </text>
3527
3528 <text style="text_m">
3529 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3530 <text>{@part_sd_hdr=Partition SD Card}</text>
3531 </text>
3532
z31s1g782e1c92016-01-30 16:50:09 +01003533 <partitionlist>
3534 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003535 <text>{@sel_storage_list=Select Storage}</text>
3536 <data name="tw_storage_path"/>
3537 <listtype name="storage"/>
3538 </partitionlist>
3539
3540 <text style="text_m_fail">
3541 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003542 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003543 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3544 </text>
3545
z31s1g782e1c92016-01-30 16:50:09 +01003546 <button style="main_button_half_height">
3547 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003548 <text>{@ok_btn=OK}</text>
3549 <actions>
3550 <action function="getpartitiondetails">tw_storage_path</action>
3551 <action function="page">partsdcardcheck</action>
3552 </actions>
3553 </button>
3554
3555 <action>
3556 <touch key="home"/>
3557 <action function="page">main</action>
3558 </action>
3559
3560 <action>
3561 <touch key="back"/>
3562 <action function="page">advanced</action>
3563 </action>
3564 </page>
3565
3566 <page name="partsdcardcheck">
3567 <action>
3568 <condition var1="tw_partition_removable" op="=" var2="1"/>
3569 <actions>
3570 <action function="set">partitionlisterror=0</action>
3571 <action function="page">partsdcard</action>
3572 </actions>
3573 </action>
3574
3575 <action>
3576 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3577 <actions>
3578 <action function="set">partitionlisterror=1</action>
3579 <action function="page">partsdcardsel</action>
3580 </actions>
3581 </action>
3582 </page>
3583
z31s1g28f0a922015-11-07 18:50:22 +01003584 <page name="partsdcard">
3585 <template name="page"/>
3586
3587 <text style="text_l">
3588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003590 </text>
3591
3592 <text style="text_m">
3593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003595 </text>
3596
3597 <text style="text_m_fail">
3598 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 </text>
3601
3602 <text style="text_m_fail">
3603 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </text>
3606
3607 <text style="text_m_accent">
3608 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 </text>
3611
3612 <text style="text_m">
3613 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3614 <text>%tw_sdext_size%</text>
3615 </text>
3616
3617 <button style="button_quarter_width">
3618 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003620 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003621 </button>
3622
3623 <button style="button_quarter_width">
3624 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003626 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003627 </button>
3628
3629 <text style="text_m_accent">
3630 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </text>
3633
3634 <text style="text_m">
3635 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3636 <text>%tw_swap_size%</text>
3637 </text>
3638
3639 <button style="button_quarter_width">
3640 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003642 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003643 </button>
3644
3645 <button style="button_quarter_width">
3646 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003648 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003649 </button>
3650
3651 <text style="text_m_accent">
3652 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 </text>
3655
3656 <text style="text_m">
3657 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3658 <text>%tw_sdpart_file_system%</text>
3659 </text>
3660
3661 <button style="button_quarter_width">
3662 <placement x="%indent%" y="%row14_y%"/>
3663 <text>EXT3</text>
3664 <action function="set">tw_sdpart_file_system=ext3</action>
3665 </button>
3666
3667 <button style="button_quarter_width">
3668 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3669 <text>EXT4</text>
3670 <action function="set">tw_sdpart_file_system=ext4</action>
3671 </button>
3672
3673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <action function="page">partsdcardaction</action>
3676 <actions>
3677 <action function="set">tw_back=partsdcard</action>
3678 <action function="set">tw_action=partitionsd</action>
3679 <action function="set">tw_has_action2=1</action>
3680 <action function="set">tw_action2=set</action>
3681 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3683 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3684 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <action function="page">action_page</action>
3686 </actions>
3687 </slider>
3688
3689 <action>
3690 <touch key="home"/>
3691 <action function="page">main</action>
3692 </action>
3693
3694 <action>
3695 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003696 <actions>
3697 <action function="set">partitionlisterror=0</action>
3698 <action function="page">partsdcardsel</action>
3699 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003700 </action>
3701 </page>
3702
3703 <page name="htcdumlock">
3704 <template name="page"/>
3705
3706 <text style="text_l">
3707 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </text>
3710
3711 <text style="text_m">
3712 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 </text>
3715
3716 <button style="main_button_half_height_full_width">
3717 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 <actions>
3720 <action function="set">tw_back=htcdumlock</action>
3721 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3723 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3724 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3725 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003726 <action function="page">confirm_action</action>
3727 </actions>
3728 </button>
3729
3730 <button style="main_button_half_height_full_width">
3731 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 <actions>
3734 <action function="set">tw_back=htcdumlock</action>
3735 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3737 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3738 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3739 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003740 <action function="page">confirm_action</action>
3741 </actions>
3742 </button>
3743
3744 <button style="main_button_half_height_full_width">
3745 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 <actions>
3748 <action function="set">tw_back=htcdumlock</action>
3749 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3751 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3752 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3753 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003754 <action function="page">confirm_action</action>
3755 </actions>
3756 </button>
3757
3758 <action>
3759 <touch key="home"/>
3760 <action function="page">main</action>
3761 </action>
3762
3763 <action>
3764 <touch key="back"/>
3765 <action function="page">advanced</action>
3766 </action>
3767 </page>
3768
3769 <page name="lock">
3770 <background color="%semi_transparent%"/>
3771
3772 <image>
3773 <image resource="unlock_icon"/>
3774 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3775 </image>
3776
3777 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 <action function="overlay"/>
3780 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003781
3782 <action>
3783 <touch key="power"/>
3784 <action function="togglebacklight"/>
3785 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </page>
3787
3788 <page name="filemanagerlist">
3789 <template name="page"/>
3790
3791 <text style="text_l">
3792 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003794 </text>
3795
3796 <text style="text_m">
3797 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 </text>
3800
3801 <template name="sort_options"/>
3802
3803 <fileselector>
3804 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3805 <text>%tw_file_location1%</text>
3806 <filter folders="1" files="1"/>
3807 <path name="tw_file_location1" default="/"/>
3808 <data name="tw_filename1"/>
3809 <selection name="tw_selection1"/>
3810 </fileselector>
3811
3812 <button style="fab">
3813 <image resource="fab_selectfolder"/>
3814 <actions>
3815 <action function="set">tw_filename1=tw_file_location1</action>
3816 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003818 <action function="page">filemanageroptions</action>
3819 </actions>
3820 </button>
3821
3822 <action>
3823 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003825 <action function="set">tw_fm_isfolder=0</action>
3826 </actions>
3827 </action>
3828
3829 <action>
3830 <touch key="home"/>
3831 <action function="page">main</action>
3832 </action>
3833
3834 <action>
3835 <touch key="back"/>
3836 <action function="page">advanced</action>
3837 </action>
3838
3839 <action>
3840 <condition var1="tw_filename1" op="modified"/>
3841 <action function="page">filemanageroptions</action>
3842 </action>
3843 </page>
3844
3845 <page name="filemanageroptions">
3846 <template name="page"/>
3847
3848 <text style="text_l">
3849 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003850 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003851 </text>
3852
3853 <text style="text_m">
3854 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 </text>
3857
3858 <text style="text_m_accent">
3859 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <text style="text_m">
3864 <placement x="%indent%" y="%row3_y%"/>
3865 <text>%tw_filename1%</text>
3866 </text>
3867
3868 <button style="main_button_half_height">
3869 <condition var1="tw_fm_isfolder" var2="0"/>
3870 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 <actions>
3873 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003875 <action function="page">choosedestinationfolder</action>
3876 </actions>
3877 </button>
3878
3879 <button style="main_button_half_height">
3880 <condition var1="tw_fm_isfolder" var2="1"/>
3881 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 <actions>
3884 <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 -05003885 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <action function="page">choosedestinationfolder</action>
3887 </actions>
3888 </button>
3889
3890 <button style="main_button_half_height">
3891 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003892 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003893 <actions>
3894 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003896 <action function="page">choosedestinationfolder</action>
3897 </actions>
3898 </button>
3899
3900 <button style="main_button_half_height">
3901 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 <actions>
3904 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="set">tw_fm_text2=</action>
3907 <action function="set">tw_fm_text3=</action>
3908 <action function="set">tw_include_text3=0</action>
3909 <action function="set">tw_back=filemanageroptions</action>
3910 <action function="page">filemanagerconfirm</action>
3911 </actions>
3912 </button>
3913
3914 <button style="main_button_half_height">
3915 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003916 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003917 <actions>
3918 <action function="set">tw_filemanager_rename=0000</action>
3919 <action function="set">tw_fm_text2=</action>
3920 <action function="set">tw_fm_text3=</action>
3921 <action function="set">tw_include_text3=0</action>
3922 <action function="set">tw_back=filemanageroptions</action>
3923 <action function="page">filemanagerchmod</action>
3924 </actions>
3925 </button>
3926
3927 <button style="main_button_half_height">
3928 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003930 <actions>
3931 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003933 <action function="set">tw_fm_text2=</action>
3934 <action function="set">tw_fm_text3=</action>
3935 <action function="set">tw_include_text3=0</action>
3936 <action function="set">tw_back=filemanageroptions</action>
3937 <action function="page">filemanagerconfirm</action>
3938 </actions>
3939 </button>
3940
3941 <button style="main_button_half_height">
3942 <condition var1="tw_fm_isfolder" var2="0"/>
3943 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 <actions>
3946 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003948 <action function="set">tw_filemanager_command=mv</action>
3949 <action function="page">filemanagerrenamefile</action>
3950 </actions>
3951 </button>
3952
3953 <button style="main_button_half_height">
3954 <condition var1="tw_fm_isfolder" var2="1"/>
3955 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003957 <actions>
3958 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3961 <action function="page">filemanagerrenamefolder</action>
3962 </actions>
3963 </button>
3964
3965 <action>
3966 <touch key="home"/>
3967 <action function="page">main</action>
3968 </action>
3969
3970 <action>
3971 <touch key="back"/>
3972 <action function="page">filemanagerlist</action>
3973 </action>
3974 </page>
3975
3976 <page name="choosedestinationfolder">
3977 <template name="page"/>
3978
3979 <text style="text_l">
3980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m">
3985 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <template name="sort_options"/>
3990
3991 <fileselector>
3992 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3993 <text>%tw_file_location2%</text>
3994 <filter folders="1" files="0"/>
3995 <path name="tw_file_location2" default="/"/>
3996 <data name="tw_filename2"/>
3997 <selection name="tw_selection2"/>
3998 </fileselector>
3999
4000 <button style="fab">
4001 <image resource="fab_selectfolder"/>
4002 <actions>
4003 <action function="set">tw_fm_text2=to</action>
4004 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4005 <action function="set">tw_include_text3=1</action>
4006 <action function="set">tw_back=filemanageroptions</action>
4007 <action function="page">filemanagerconfirm</action>
4008 </actions>
4009 </button>
4010
4011 <action>
4012 <touch key="home"/>
4013 <action function="page">main</action>
4014 </action>
4015
4016 <action>
4017 <touch key="back"/>
4018 <action function="page">filemanageroptions</action>
4019 </action>
4020 </page>
4021
4022 <page name="filemanagerrenamefile">
4023 <template name="page"/>
4024
4025 <text style="text_l">
4026 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 </text>
4029
4030 <text style="text_m">
4031 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004032 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004033 </text>
4034
4035 <text style="text_m_accent">
4036 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 </text>
4039
4040 <input>
4041 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4042 <text>%tw_filemanager_rename%</text>
4043 <data name="tw_filemanager_rename"/>
4044 <restrict minlen="1" maxlen="128"/>
4045 <actions>
4046 <action function="set">tw_fm_text2=to</action>
4047 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4048 <action function="set">tw_include_text3=1</action>
4049 <action function="set">tw_back=filemanageroptions</action>
4050 <action function="page">filemanagerconfirm</action>
4051 </actions>
4052 </input>
4053
4054 <fill color="%accent_color%">
4055 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4056 </fill>
4057
4058 <button style="main_button_half_height">
4059 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004061 <action function="page">filemanageroptions</action>
4062 </button>
4063
4064 <template name="keyboardtemplate"/>
4065
4066 <action>
4067 <touch key="home"/>
4068 <action function="page">main</action>
4069 </action>
4070
4071 <action>
4072 <touch key="back"/>
4073 <action function="page">filemanageroptions</action>
4074 </action>
4075 </page>
4076
4077 <page name="filemanagerrenamefolder">
4078 <template name="page"/>
4079
4080 <text style="text_l">
4081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004083 </text>
4084
4085 <text style="text_m">
4086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 </text>
4089
4090 <text style="text_m_accent">
4091 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 </text>
4094
4095 <input>
4096 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4097 <text>%tw_filemanager_rename%</text>
4098 <data name="tw_filemanager_rename"/>
4099 <restrict minlen="1" maxlen="128"/>
4100 <actions>
4101 <action function="set">tw_fm_text2=to</action>
4102 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4103 <action function="set">tw_include_text3=1</action>
4104 <action function="set">tw_back=filemanageroptions</action>
4105 <action function="page">filemanagerconfirm</action>
4106 </actions>
4107 </input>
4108
4109 <fill color="%accent_color%">
4110 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4111 </fill>
4112
4113 <button style="main_button_half_height">
4114 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 <action function="page">filemanageroptions</action>
4117 </button>
4118
4119 <template name="keyboardtemplate"/>
4120
4121 <action>
4122 <touch key="home"/>
4123 <action function="page">main</action>
4124 </action>
4125
4126 <action>
4127 <touch key="back"/>
4128 <action function="page">filemanageroptions</action>
4129 </action>
4130 </page>
4131
4132 <page name="filemanagerchmod">
4133 <template name="page"/>
4134
4135 <text style="text_l">
4136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 </text>
4139
4140 <text style="text_m">
4141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <text style="text_m_accent">
4146 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004148 </text>
4149
4150 <input>
4151 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4152 <text>%tw_filemanager_rename%</text>
4153 <data name="tw_filemanager_rename"/>
4154 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4155 <actions>
4156 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4157 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4158 <action function="set">tw_back=filemanageroptions</action>
4159 <action function="page">filemanagerconfirm</action>
4160 </actions>
4161 </input>
4162
4163 <fill color="%accent_color%">
4164 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4165 </fill>
4166
4167 <button style="main_button_half_height">
4168 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 <action function="page">filemanageroptions</action>
4171 </button>
4172
4173 <template name="keyboardtemplate"/>
4174
4175 <action>
4176 <touch key="home"/>
4177 <action function="page">main</action>
4178 </action>
4179
4180 <action>
4181 <touch key="back"/>
4182 <action function="page">filemanageroptions</action>
4183 </action>
4184 </page>
4185
4186 <page name="filemanagerconfirm">
4187 <template name="page"/>
4188
4189 <text style="text_l">
4190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004192 </text>
4193
4194 <text style="text_m">
4195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004196 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004197 </text>
4198
4199 <text style="text_m_accent">
4200 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4201 <text>%tw_fm_text1%</text>
4202 </text>
4203
4204 <text style="text_m">
4205 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4206 <text>%tw_filename1%</text>
4207 </text>
4208
4209 <text style="text_m_accent">
4210 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4211 <text>%tw_fm_text2%</text>
4212 </text>
4213
4214 <text style="text_m">
4215 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4216 <text>%tw_fm_text3%</text>
4217 </text>
4218
4219 <text style="text_m">
4220 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004222 </text>
4223
4224 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004225 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004226 <action function="page">filemanageraction</action>
4227 </slider>
4228
4229 <action>
4230 <touch key="back"/>
4231 <action function="page">%tw_back%</action>
4232 </action>
4233
4234 <action>
4235 <touch key="home"/>
4236 <action function="page">main</action>
4237 </action>
4238 </page>
4239
4240 <page name="filemanageraction">
4241 <template name="page"/>
4242
4243 <text style="text_l">
4244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004245 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004246 </text>
4247
4248 <text style="text_m">
4249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4250 <text>%tw_fm_text1%</text>
4251 </text>
4252
4253 <template name="console"/>
4254
4255 <template name="progress_bar"/>
4256
4257 <action>
4258 <conditions>
4259 <condition var1="tw_operation_state" var2="1"/>
4260 <condition var1="tw_operation_status" var2="0"/>
4261 </conditions>
4262 <actions>
4263 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004264 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004265 <action function="page">action_complete</action>
4266 </actions>
4267 </action>
4268
4269 <action>
4270 <conditions>
4271 <condition var1="tw_operation_state" var2="1"/>
4272 <condition var1="tw_operation_status" op="!=" var2="0"/>
4273 </conditions>
4274 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004276 <action function="page">action_complete</action>
4277 </actions>
4278 </action>
4279
4280 <action>
4281 <condition var1="tw_include_text3" var2="0"/>
4282 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4283 </action>
4284
4285 <action>
4286 <condition var1="tw_include_text3" var2="1"/>
4287 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4288 </action>
4289 </page>
4290
4291 <page name="decrypt">
4292 <template name="page"/>
4293
4294 <action>
4295 <condition var1="tw_crypto_pwtype" var2="2"/>
4296 <action function="page">decrypt_pattern</action>
4297 </action>
4298
4299 <text style="text_l">
4300 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004301 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004302 </text>
4303
4304 <text style="text_m">
4305 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004306 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </text>
4308
4309 <text style="text_m_accent">
4310 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004312 </text>
4313
4314 <input>
4315 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4316 <text>%tw_crypto_display%</text>
4317 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4318 <restrict minlen="1" maxlen="254"/>
4319 <action function="page">trydecrypt</action>
4320 </input>
4321
4322 <fill color="%accent_color%">
4323 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4324 </fill>
4325
4326 <fill color="%text_fail_color%">
4327 <condition var1="tw_password_fail" var2="1"/>
4328 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4329 </fill>
4330
4331 <text style="text_m_fail">
4332 <condition var1="tw_password_fail" var2="1"/>
4333 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004334 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004335 </text>
4336
4337 <button style="main_button_half_height">
4338 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 <actions>
4341 <action function="set">tw_page_done=1</action>
4342 <action function="page">main</action>
4343 </actions>
4344 </button>
4345
z31s1g608d7ff2016-01-18 19:47:25 +01004346 <button style="main_button_half_height">
4347 <placement x="%center_x%" y="%row10_y%"/>
4348 <text>{@sel_lang_btn=Select Language}</text>
4349 <action function="overlay">select_language</action>
4350 </button>
4351
z31s1g28f0a922015-11-07 18:50:22 +01004352 <template name="keyboardtemplate"/>
4353 </page>
4354
4355 <page name="decrypt_pattern">
4356 <template name="page"/>
4357
4358 <text style="text_l">
4359 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004360 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004361 </text>
4362
4363 <text style="text_m">
4364 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004365 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004366 </text>
4367
4368 <text style="text_m_accent">
4369 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004370 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004371 </text>
4372
Aleksa Saraib25a1832015-12-31 17:36:00 +01004373 <text style="text_m_fail">
4374 <condition var1="tw_password_fail" var2="1"/>
4375 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004376 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004377 </text>
4378
z31s1g28f0a922015-11-07 18:50:22 +01004379 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004380 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004381 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4382 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4383 <data name="tw_crypto_password"/>
4384 <action function="page">trydecrypt</action>
4385 </patternpassword>
4386
Aleksa Saraib25a1832015-12-31 17:36:00 +01004387 <button style="button_quarter_width">
4388 <placement x="%indent%" y="%row19a_y%"/>
4389 <text>3x3</text>
4390 <action function="set">tw_gui_pattern_grid_size=3</action>
4391 </button>
4392
4393 <button style="button_quarter_width">
4394 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4395 <text>4x4</text>
4396 <action function="set">tw_gui_pattern_grid_size=4</action>
4397 </button>
4398
4399 <button style="button_quarter_width">
4400 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4401 <text>5x5</text>
4402 <action function="set">tw_gui_pattern_grid_size=5</action>
4403 </button>
4404
4405 <button style="button_quarter_width">
4406 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4407 <text>6x6</text>
4408 <action function="set">tw_gui_pattern_grid_size=6</action>
4409 </button>
4410
z31s1g28f0a922015-11-07 18:50:22 +01004411 <button style="main_button_half_height">
4412 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004413 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004414 <actions>
4415 <action function="set">tw_page_done=1</action>
4416 <action function="page">main</action>
4417 </actions>
4418 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004419
4420 <button style="main_button_half_height">
4421 <placement x="%center_x%" y="%row21a_y%"/>
4422 <text>{@sel_lang_btn=Select Language}</text>
4423 <action function="overlay">select_language</action>
4424 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </page>
4426
4427 <page name="trydecrypt">
4428 <template name="page"/>
4429
4430 <text style="text_l">
4431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 </text>
4434
4435 <text style="text_m">
4436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004437 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004438 </text>
4439
4440 <template name="console"/>
4441
4442 <template name="progress_bar"/>
4443
4444 <action>
4445 <action function="decrypt"/>
4446 </action>
4447
4448 <action>
4449 <conditions>
4450 <condition var1="tw_operation_state" var2="1"/>
4451 <condition var1="tw_operation_status" op="!=" var2="0"/>
4452 </conditions>
4453 <actions>
4454 <action function="set">tw_password_fail=1</action>
4455 <action function="page">decrypt</action>
4456 </actions>
4457 </action>
4458
4459 <action>
4460 <conditions>
4461 <condition var1="tw_operation_state" var2="1"/>
4462 <condition var1="tw_operation_status" op="=" var2="0"/>
4463 </conditions>
4464 <actions>
4465 <action function="set">tw_page_done=1</action>
4466 <action function="page">main</action>
4467 </actions>
4468 </action>
4469 </page>
4470
z31s1g28f0a922015-11-07 18:50:22 +01004471 <page name="terminalcommand">
4472 <template name="page"/>
4473
z31s1g56189522016-01-13 19:12:40 +01004474 <fill color="%background_color%">
4475 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004476 </fill>
4477
z31s1g56189522016-01-13 19:12:40 +01004478 <terminal>
4479 <condition var1="tw_hide_kb" var2="0"/>
4480 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4481 </terminal>
4482
4483 <terminal>
4484 <condition var1="tw_hide_kb" var2="1"/>
4485 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4486 </terminal>
4487
4488 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004489
4490 <template name="keyboardtemplate"/>
4491
z31s1g608d7ff2016-01-18 19:47:25 +01004492 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004493 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004494 </fill>
z31s1g56189522016-01-13 19:12:40 +01004495
z31s1g608d7ff2016-01-18 19:47:25 +01004496 <button>
z31s1g56189522016-01-13 19:12:40 +01004497 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4498 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4499 <image resource="back" />
4500 <condition var1="tw_busy" var2="0" />
4501 <actions>
4502 <action function="set">tw_hide_kb=0</action>
4503 <action function="key">back</action>
4504 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004505 </button>
z31s1g56189522016-01-13 19:12:40 +01004506
z31s1g608d7ff2016-01-18 19:47:25 +01004507 <button>
z31s1g56189522016-01-13 19:12:40 +01004508 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4509 <condition var1="tw_hide_kb" op="=" var2="0" />
4510 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4511 <image resource="kb_hide" />
4512 <condition var1="tw_busy" var2="0" />
4513 <actions>
4514 <action function="set">tw_hide_kb=1</action>
4515 <action function="page">terminalcommand</action>
4516 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004517 </button>
z31s1g56189522016-01-13 19:12:40 +01004518
z31s1g608d7ff2016-01-18 19:47:25 +01004519 <button>
z31s1g56189522016-01-13 19:12:40 +01004520 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4521 <condition var1="tw_hide_kb" op="=" var2="1" />
4522 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4523 <image resource="kb_show" />
4524 <condition var1="tw_busy" var2="0" />
4525 <actions>
4526 <action function="set">tw_hide_kb=0</action>
4527 <action function="page">terminalcommand</action>
4528 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004529 </button>
z31s1g56189522016-01-13 19:12:40 +01004530
z31s1g608d7ff2016-01-18 19:47:25 +01004531 <button>
z31s1g56189522016-01-13 19:12:40 +01004532 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4533 <image resource="home" />
4534 <condition var1="tw_busy" var2="0" />
4535 <actions>
4536 <action function="set">tw_hide_kb=0</action>
4537 <action function="key">home</action>
4538 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004539 </button>
z31s1g56189522016-01-13 19:12:40 +01004540
z31s1g608d7ff2016-01-18 19:47:25 +01004541 <button>
z31s1g56189522016-01-13 19:12:40 +01004542 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4543 <condition var1="tw_hide_kb" op="=" var2="0" />
4544 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4545 <image resource="kb_hide" />
4546 <condition var1="tw_busy" var2="0" />
4547 <actions>
4548 <action function="set">tw_hide_kb=1</action>
4549 <action function="page">terminalcommand</action>
4550 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004551 </button>
z31s1g56189522016-01-13 19:12:40 +01004552
z31s1g608d7ff2016-01-18 19:47:25 +01004553 <button>
z31s1g56189522016-01-13 19:12:40 +01004554 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4555 <condition var1="tw_hide_kb" op="=" var2="1" />
4556 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4557 <image resource="kb_show" />
4558 <condition var1="tw_busy" var2="0" />
4559 <actions>
4560 <action function="set">tw_hide_kb=0</action>
4561 <action function="page">terminalcommand</action>
4562 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004563 </button>
z31s1g56189522016-01-13 19:12:40 +01004564
z31s1g608d7ff2016-01-18 19:47:25 +01004565 <button>
z31s1g56189522016-01-13 19:12:40 +01004566 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4567 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4568 <image resource="back" />
4569 <condition var1="tw_busy" var2="0" />
4570 <actions>
4571 <action function="set">tw_hide_kb=0</action>
4572 <action function="key">back</action>
4573 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004574 </button>
z31s1g56189522016-01-13 19:12:40 +01004575
z31s1g28f0a922015-11-07 18:50:22 +01004576 <action>
4577 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004578 <actions>
4579 <action function="set">tw_hide_kb=0</action>
4580 <action function="page">main</action>
4581 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004582 </action>
4583
4584 <action>
4585 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004586 <actions>
4587 <action function="set">tw_hide_kb=0</action>
4588 <action function="page">advanced</action>
4589 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004590 </action>
z31s1g56189522016-01-13 19:12:40 +01004591
z31s1g608d7ff2016-01-18 19:47:25 +01004592 <action>
z31s1g56189522016-01-13 19:12:40 +01004593 <touch key="power+voldown" />
4594 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004595 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004596 </page>
4597
4598 <page name="sideload">
4599 <template name="page"/>
4600
4601 <text style="text_l">
4602 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004603 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </text>
4605
4606 <text style="text_m">
4607 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004608 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </text>
4610
4611 <checkbox>
4612 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004614 <data variable="tw_wipe_dalvik"/>
4615 </checkbox>
4616
4617 <checkbox>
4618 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 <data variable="tw_wipe_cache"/>
4621 </checkbox>
4622
4623 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004625 <actions>
4626 <action function="set">tw_back=advanced</action>
4627 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4629 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4630 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004631 <action function="set">tw_has_cancel=1</action>
4632 <action function="set">tw_show_reboot=1</action>
4633 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4634 <action function="page">action_page</action>
4635 </actions>
4636 </slider>
4637
4638 <action>
4639 <touch key="home"/>
4640 <action function="page">main</action>
4641 </action>
4642
4643 <action>
4644 <touch key="back"/>
4645 <action function="page">advanced</action>
4646 </action>
4647 </page>
4648
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004649 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004650 <template name="page"/>
4651
4652 <text style="text_l">
4653 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004654 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004655 </text>
4656
4657 <text style="text_m">
4658 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004659 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004660 </text>
4661
4662 <text style="text_m_accent">
4663 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004664 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004665 </text>
4666
z31s1g28f0a922015-11-07 18:50:22 +01004667 <text style="text_m_fail">
4668 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004669 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004670 </text>
4671
4672 <text style="text_m_fail">
4673 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004674 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 </text>
4676
4677 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004678 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 <actions>
4680 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004681 <action function="set">tw_action=fixcontexts</action>
4682 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4683 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004684 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004685 <action function="set">tw_show_reboot=1</action>
4686 <action function="page">action_page</action>
4687 </actions>
4688 </slider>
4689
4690 <action>
4691 <touch key="home"/>
4692 <action function="page">main</action>
4693 </action>
4694
4695 <action>
4696 <touch key="back"/>
4697 <action function="page">advanced</action>
4698 </action>
4699 </page>
4700
4701 <page name="installsu">
4702 <template name="page"/>
4703
4704 <text style="text_l">
4705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004706 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 </text>
4708
4709 <text style="text_m">
4710 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004711 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004712 </text>
4713
4714 <text style="text_m_accent">
4715 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004716 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004717 </text>
4718
4719 <text style="text_m">
4720 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004722 </text>
4723
4724 <text style="text_m">
4725 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004726 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004727 </text>
4728
4729 <button style="main_button_half_height">
4730 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004731 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004732 <action function="set">tw_page_done=1</action>
4733 </button>
4734
4735 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004737 <actions>
4738 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004740 <action function="set">tw_action_text2=</action>
4741 <action function="page">singleaction_page</action>
4742 </actions>
4743 </slider>
4744 </page>
4745
4746 <page name="slideout">
4747 <fill color="%background_color%">
4748 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4749 </fill>
4750
4751 <console>
4752 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4753 </console>
4754
4755 <button>
4756 <fill color="%transparent%"/>
4757 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4758 <action function="overlay"/>
4759 </button>
4760
4761 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004762 <touch key="power"/>
4763 <action function="togglebacklight"/>
4764 </action>
4765
4766 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004767 <touch key="power+voldown"/>
4768 <action function="screenshot"/>
4769 </action>
4770 </page>
4771
4772 <page name="select_storage">
4773 <fill color="%semi_transparent%">
4774 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4775 </fill>
4776
4777 <fill color="%background_color%">
4778 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4779 </fill>
4780
4781 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004782 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004783 <data name="tw_storage_path"/>
4784 <listtype name="storage"/>
4785 </partitionlist>
4786
4787 <button style="button_third_width">
4788 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004789 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004790 <actions>
4791 <action function="set">tw_clear_destination=%tw_back%</action>
4792 <action function="overlay"/>
4793 <action function="page">clear_vars</action>
4794 </actions>
4795 </button>
4796
4797 <fill color="#000000">
4798 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4799 </fill>
4800
4801 <button>
4802 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4803 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4804 <image resource="back"/>
4805 <condition var1="tw_busy" var2="0"/>
4806 <actions>
4807 <action function="overlay"/>
4808 <action function="key">%tw_back%</action>
4809 </actions>
4810 </button>
4811
4812 <button>
4813 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4814 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4815 <image resource="console"/>
4816 <condition var1="tw_busy" var2="0"/>
4817 <action function="overlay">slideout</action>
4818 </button>
4819
4820 <button>
4821 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4822 <image resource="home"/>
4823 <condition var1="tw_busy" var2="0"/>
4824 <actions>
4825 <action function="overlay"/>
4826 <action function="key">home</action>
4827 </actions>
4828 </button>
4829
4830 <button>
4831 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4832 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4833 <image resource="console"/>
4834 <condition var1="tw_busy" var2="0"/>
4835 <action function="overlay">slideout</action>
4836 </button>
4837
4838 <button>
4839 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4840 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4841 <image resource="back"/>
4842 <condition var1="tw_busy" var2="0"/>
4843 <actions>
4844 <action function="overlay"/>
4845 <action function="key">%tw_back%</action>
4846 </actions>
4847 </button>
4848
4849 <action>
4850 <touch key="power+voldown"/>
4851 <action function="screenshot"/>
4852 </action>
4853 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004854
4855 <page name="select_language">
4856 <fill color="%semi_transparent%">
4857 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4858 </fill>
4859
4860 <fill color="%background_color%">
4861 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4862 </fill>
4863
4864 <listbox>
4865 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4866 <text>{@select_language=Select Language:}</text>
4867 <icon selected="radio_true" unselected="radio_false" />
4868 <data name="tw_language" />
4869 </listbox>
4870
4871 <button style="button_third_width">
4872 <placement x="%dialog_button_x%" y="%row14_y%"/>
4873 <text>{@ok_btn=OK}</text>
4874 <actions>
4875 <action function="overlay"/>
4876 <action function="setlanguage"></action>
4877 </actions>
4878 </button>
4879
4880 <fill color="#000000">
4881 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4882 </fill>
4883
4884 <button>
4885 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4886 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4887 <image resource="back"/>
4888 <condition var1="tw_busy" var2="0"/>
4889 <actions>
4890 <action function="overlay"/>
4891 <action function="key">%tw_back%</action>
4892 </actions>
4893 </button>
4894
4895 <button>
4896 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4897 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4898 <image resource="console"/>
4899 <condition var1="tw_busy" var2="0"/>
4900 <action function="overlay">slideout</action>
4901 </button>
4902
4903 <button>
4904 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4905 <image resource="home"/>
4906 <condition var1="tw_busy" var2="0"/>
4907 <actions>
4908 <action function="overlay"/>
4909 <action function="key">home</action>
4910 </actions>
4911 </button>
4912
4913 <button>
4914 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4915 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4916 <image resource="console"/>
4917 <condition var1="tw_busy" var2="0"/>
4918 <action function="overlay">slideout</action>
4919 </button>
4920
4921 <button>
4922 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4923 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4924 <image resource="back"/>
4925 <condition var1="tw_busy" var2="0"/>
4926 <actions>
4927 <action function="overlay"/>
4928 <action function="key">%tw_back%</action>
4929 </actions>
4930 </button>
4931
4932 <action>
4933 <touch key="power+voldown"/>
4934 <action function="screenshot"/>
4935 </action>
4936 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004937 </pages>
4938</recovery>