blob: b36b5a615d75e2941787ee63147f041269203684 [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 Mower908dd252016-05-25 02:26:50 -0500389 <placement x="%indent%" y="%row13a_y%" />
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower908dd252016-05-25 02:26:50 -0500391 <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>
3413 <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>
3415 <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>
3430
3431 </page>
3432
z31s1g28f0a922015-11-07 18:50:22 +01003433 <page name="advanced">
3434 <template name="page"/>
3435
3436 <text style="text_l">
3437 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </text>
3440
3441 <button style="main_button">
3442 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003444 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </button>
3446
3447 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003448 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003450 <text>{@fix_context_btn=Fix Contexts}</text>
3451 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003452 </button>
3453
3454 <button style="main_button">
3455 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3456 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003458 <actions>
3459 <action function="set">partitionlisterror=0</action>
3460 <action function="page">partsdcardsel</action>
3461 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003462 </button>
3463
3464 <button style="main_button">
3465 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <action function="page">filemanagerlist</action>
3468 </button>
3469
3470 <button style="main_button">
3471 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003473 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003474 </button>
3475
3476 <button style="main_button">
3477 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003478 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003479 <action function="reload"/>
3480 </button>
3481
3482 <button style="main_button">
3483 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <action function="page">sideload</action>
3486 </button>
3487
3488 <button style="main_button">
3489 <condition var1="tw_show_dumlock" var2="1"/>
3490 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 <action function="page">htcdumlock</action>
3493 </button>
3494
3495 <button style="main_button">
3496 <condition var1="tw_has_injecttwrp" var2="1"/>
3497 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 <actions>
3500 <action function="set">tw_back=advanced</action>
3501 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3503 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3504 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3505 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003506 <action function="page">confirm_action</action>
3507 </actions>
3508 </button>
3509
3510 <action>
3511 <touch key="home"/>
3512 <action function="page">main</action>
3513 </action>
3514
3515 <action>
3516 <touch key="back"/>
3517 <action function="page">main</action>
3518 </action>
3519 </page>
3520
Ethan Yonker483e9f42016-01-11 22:21:18 -06003521 <page name="partsdcardsel">
3522 <template name="page"/>
3523
3524 <text style="text_l">
3525 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3526 <text>{@advanced_hdr=Advanced}</text>
3527 </text>
3528
3529 <text style="text_m">
3530 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3531 <text>{@part_sd_hdr=Partition SD Card}</text>
3532 </text>
3533
z31s1g782e1c92016-01-30 16:50:09 +01003534 <partitionlist>
3535 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003536 <text>{@sel_storage_list=Select Storage}</text>
3537 <data name="tw_storage_path"/>
3538 <listtype name="storage"/>
3539 </partitionlist>
3540
3541 <text style="text_m_fail">
3542 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003543 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003544 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3545 </text>
3546
z31s1g782e1c92016-01-30 16:50:09 +01003547 <button style="main_button_half_height">
3548 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003549 <text>{@ok_btn=OK}</text>
3550 <actions>
3551 <action function="getpartitiondetails">tw_storage_path</action>
3552 <action function="page">partsdcardcheck</action>
3553 </actions>
3554 </button>
3555
3556 <action>
3557 <touch key="home"/>
3558 <action function="page">main</action>
3559 </action>
3560
3561 <action>
3562 <touch key="back"/>
3563 <action function="page">advanced</action>
3564 </action>
3565 </page>
3566
3567 <page name="partsdcardcheck">
3568 <action>
3569 <condition var1="tw_partition_removable" op="=" var2="1"/>
3570 <actions>
3571 <action function="set">partitionlisterror=0</action>
3572 <action function="page">partsdcard</action>
3573 </actions>
3574 </action>
3575
3576 <action>
3577 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3578 <actions>
3579 <action function="set">partitionlisterror=1</action>
3580 <action function="page">partsdcardsel</action>
3581 </actions>
3582 </action>
3583 </page>
3584
z31s1g28f0a922015-11-07 18:50:22 +01003585 <page name="partsdcard">
3586 <template name="page"/>
3587
3588 <text style="text_l">
3589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </text>
3592
3593 <text style="text_m">
3594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </text>
3597
3598 <text style="text_m_fail">
3599 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m_fail">
3604 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 </text>
3607
3608 <text style="text_m_accent">
3609 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </text>
3612
3613 <text style="text_m">
3614 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3615 <text>%tw_sdext_size%</text>
3616 </text>
3617
3618 <button style="button_quarter_width">
3619 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003621 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003622 </button>
3623
3624 <button style="button_quarter_width">
3625 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003627 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003628 </button>
3629
3630 <text style="text_m_accent">
3631 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003633 </text>
3634
3635 <text style="text_m">
3636 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3637 <text>%tw_swap_size%</text>
3638 </text>
3639
3640 <button style="button_quarter_width">
3641 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003643 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003644 </button>
3645
3646 <button style="button_quarter_width">
3647 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003649 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003650 </button>
3651
3652 <text style="text_m_accent">
3653 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 </text>
3656
3657 <text style="text_m">
3658 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3659 <text>%tw_sdpart_file_system%</text>
3660 </text>
3661
3662 <button style="button_quarter_width">
3663 <placement x="%indent%" y="%row14_y%"/>
3664 <text>EXT3</text>
3665 <action function="set">tw_sdpart_file_system=ext3</action>
3666 </button>
3667
3668 <button style="button_quarter_width">
3669 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3670 <text>EXT4</text>
3671 <action function="set">tw_sdpart_file_system=ext4</action>
3672 </button>
3673
3674 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 <action function="page">partsdcardaction</action>
3677 <actions>
3678 <action function="set">tw_back=partsdcard</action>
3679 <action function="set">tw_action=partitionsd</action>
3680 <action function="set">tw_has_action2=1</action>
3681 <action function="set">tw_action2=set</action>
3682 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3684 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3685 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003686 <action function="page">action_page</action>
3687 </actions>
3688 </slider>
3689
3690 <action>
3691 <touch key="home"/>
3692 <action function="page">main</action>
3693 </action>
3694
3695 <action>
3696 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003697 <actions>
3698 <action function="set">partitionlisterror=0</action>
3699 <action function="page">partsdcardsel</action>
3700 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003701 </action>
3702 </page>
3703
3704 <page name="htcdumlock">
3705 <template name="page"/>
3706
3707 <text style="text_l">
3708 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003709 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003710 </text>
3711
3712 <text style="text_m">
3713 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003714 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003715 </text>
3716
3717 <button style="main_button_half_height_full_width">
3718 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 <actions>
3721 <action function="set">tw_back=htcdumlock</action>
3722 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3724 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3725 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3726 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003727 <action function="page">confirm_action</action>
3728 </actions>
3729 </button>
3730
3731 <button style="main_button_half_height_full_width">
3732 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <actions>
3735 <action function="set">tw_back=htcdumlock</action>
3736 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3738 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3739 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3740 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <action function="page">confirm_action</action>
3742 </actions>
3743 </button>
3744
3745 <button style="main_button_half_height_full_width">
3746 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <actions>
3749 <action function="set">tw_back=htcdumlock</action>
3750 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3752 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3753 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3754 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003755 <action function="page">confirm_action</action>
3756 </actions>
3757 </button>
3758
3759 <action>
3760 <touch key="home"/>
3761 <action function="page">main</action>
3762 </action>
3763
3764 <action>
3765 <touch key="back"/>
3766 <action function="page">advanced</action>
3767 </action>
3768 </page>
3769
3770 <page name="lock">
3771 <background color="%semi_transparent%"/>
3772
3773 <image>
3774 <image resource="unlock_icon"/>
3775 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3776 </image>
3777
3778 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <action function="overlay"/>
3781 </slider>
3782 </page>
3783
3784 <page name="filemanagerlist">
3785 <template name="page"/>
3786
3787 <text style="text_l">
3788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </text>
3791
3792 <text style="text_m">
3793 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003794 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003795 </text>
3796
3797 <template name="sort_options"/>
3798
3799 <fileselector>
3800 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3801 <text>%tw_file_location1%</text>
3802 <filter folders="1" files="1"/>
3803 <path name="tw_file_location1" default="/"/>
3804 <data name="tw_filename1"/>
3805 <selection name="tw_selection1"/>
3806 </fileselector>
3807
3808 <button style="fab">
3809 <image resource="fab_selectfolder"/>
3810 <actions>
3811 <action function="set">tw_filename1=tw_file_location1</action>
3812 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003814 <action function="page">filemanageroptions</action>
3815 </actions>
3816 </button>
3817
3818 <action>
3819 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003821 <action function="set">tw_fm_isfolder=0</action>
3822 </actions>
3823 </action>
3824
3825 <action>
3826 <touch key="home"/>
3827 <action function="page">main</action>
3828 </action>
3829
3830 <action>
3831 <touch key="back"/>
3832 <action function="page">advanced</action>
3833 </action>
3834
3835 <action>
3836 <condition var1="tw_filename1" op="modified"/>
3837 <action function="page">filemanageroptions</action>
3838 </action>
3839 </page>
3840
3841 <page name="filemanageroptions">
3842 <template name="page"/>
3843
3844 <text style="text_l">
3845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003846 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003847 </text>
3848
3849 <text style="text_m">
3850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 </text>
3853
3854 <text style="text_m_accent">
3855 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 </text>
3858
3859 <text style="text_m">
3860 <placement x="%indent%" y="%row3_y%"/>
3861 <text>%tw_filename1%</text>
3862 </text>
3863
3864 <button style="main_button_half_height">
3865 <condition var1="tw_fm_isfolder" var2="0"/>
3866 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003867 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003868 <actions>
3869 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003871 <action function="page">choosedestinationfolder</action>
3872 </actions>
3873 </button>
3874
3875 <button style="main_button_half_height">
3876 <condition var1="tw_fm_isfolder" var2="1"/>
3877 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <actions>
3880 <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 -05003881 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003882 <action function="page">choosedestinationfolder</action>
3883 </actions>
3884 </button>
3885
3886 <button style="main_button_half_height">
3887 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 <actions>
3890 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003892 <action function="page">choosedestinationfolder</action>
3893 </actions>
3894 </button>
3895
3896 <button style="main_button_half_height">
3897 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 <actions>
3900 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003902 <action function="set">tw_fm_text2=</action>
3903 <action function="set">tw_fm_text3=</action>
3904 <action function="set">tw_include_text3=0</action>
3905 <action function="set">tw_back=filemanageroptions</action>
3906 <action function="page">filemanagerconfirm</action>
3907 </actions>
3908 </button>
3909
3910 <button style="main_button_half_height">
3911 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003913 <actions>
3914 <action function="set">tw_filemanager_rename=0000</action>
3915 <action function="set">tw_fm_text2=</action>
3916 <action function="set">tw_fm_text3=</action>
3917 <action function="set">tw_include_text3=0</action>
3918 <action function="set">tw_back=filemanageroptions</action>
3919 <action function="page">filemanagerchmod</action>
3920 </actions>
3921 </button>
3922
3923 <button style="main_button_half_height">
3924 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003926 <actions>
3927 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003928 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003929 <action function="set">tw_fm_text2=</action>
3930 <action function="set">tw_fm_text3=</action>
3931 <action function="set">tw_include_text3=0</action>
3932 <action function="set">tw_back=filemanageroptions</action>
3933 <action function="page">filemanagerconfirm</action>
3934 </actions>
3935 </button>
3936
3937 <button style="main_button_half_height">
3938 <condition var1="tw_fm_isfolder" var2="0"/>
3939 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 <actions>
3942 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003944 <action function="set">tw_filemanager_command=mv</action>
3945 <action function="page">filemanagerrenamefile</action>
3946 </actions>
3947 </button>
3948
3949 <button style="main_button_half_height">
3950 <condition var1="tw_fm_isfolder" var2="1"/>
3951 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003952 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003953 <actions>
3954 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3957 <action function="page">filemanagerrenamefolder</action>
3958 </actions>
3959 </button>
3960
3961 <action>
3962 <touch key="home"/>
3963 <action function="page">main</action>
3964 </action>
3965
3966 <action>
3967 <touch key="back"/>
3968 <action function="page">filemanagerlist</action>
3969 </action>
3970 </page>
3971
3972 <page name="choosedestinationfolder">
3973 <template name="page"/>
3974
3975 <text style="text_l">
3976 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003977 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 </text>
3979
3980 <text style="text_m">
3981 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </text>
3984
3985 <template name="sort_options"/>
3986
3987 <fileselector>
3988 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3989 <text>%tw_file_location2%</text>
3990 <filter folders="1" files="0"/>
3991 <path name="tw_file_location2" default="/"/>
3992 <data name="tw_filename2"/>
3993 <selection name="tw_selection2"/>
3994 </fileselector>
3995
3996 <button style="fab">
3997 <image resource="fab_selectfolder"/>
3998 <actions>
3999 <action function="set">tw_fm_text2=to</action>
4000 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4001 <action function="set">tw_include_text3=1</action>
4002 <action function="set">tw_back=filemanageroptions</action>
4003 <action function="page">filemanagerconfirm</action>
4004 </actions>
4005 </button>
4006
4007 <action>
4008 <touch key="home"/>
4009 <action function="page">main</action>
4010 </action>
4011
4012 <action>
4013 <touch key="back"/>
4014 <action function="page">filemanageroptions</action>
4015 </action>
4016 </page>
4017
4018 <page name="filemanagerrenamefile">
4019 <template name="page"/>
4020
4021 <text style="text_l">
4022 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 </text>
4025
4026 <text style="text_m">
4027 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004029 </text>
4030
4031 <text style="text_m_accent">
4032 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 </text>
4035
4036 <input>
4037 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4038 <text>%tw_filemanager_rename%</text>
4039 <data name="tw_filemanager_rename"/>
4040 <restrict minlen="1" maxlen="128"/>
4041 <actions>
4042 <action function="set">tw_fm_text2=to</action>
4043 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4044 <action function="set">tw_include_text3=1</action>
4045 <action function="set">tw_back=filemanageroptions</action>
4046 <action function="page">filemanagerconfirm</action>
4047 </actions>
4048 </input>
4049
4050 <fill color="%accent_color%">
4051 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4052 </fill>
4053
4054 <button style="main_button_half_height">
4055 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004057 <action function="page">filemanageroptions</action>
4058 </button>
4059
4060 <template name="keyboardtemplate"/>
4061
4062 <action>
4063 <touch key="home"/>
4064 <action function="page">main</action>
4065 </action>
4066
4067 <action>
4068 <touch key="back"/>
4069 <action function="page">filemanageroptions</action>
4070 </action>
4071 </page>
4072
4073 <page name="filemanagerrenamefolder">
4074 <template name="page"/>
4075
4076 <text style="text_l">
4077 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </text>
4080
4081 <text style="text_m">
4082 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004084 </text>
4085
4086 <text style="text_m_accent">
4087 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
4091 <input>
4092 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4093 <text>%tw_filemanager_rename%</text>
4094 <data name="tw_filemanager_rename"/>
4095 <restrict minlen="1" maxlen="128"/>
4096 <actions>
4097 <action function="set">tw_fm_text2=to</action>
4098 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4099 <action function="set">tw_include_text3=1</action>
4100 <action function="set">tw_back=filemanageroptions</action>
4101 <action function="page">filemanagerconfirm</action>
4102 </actions>
4103 </input>
4104
4105 <fill color="%accent_color%">
4106 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4107 </fill>
4108
4109 <button style="main_button_half_height">
4110 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004112 <action function="page">filemanageroptions</action>
4113 </button>
4114
4115 <template name="keyboardtemplate"/>
4116
4117 <action>
4118 <touch key="home"/>
4119 <action function="page">main</action>
4120 </action>
4121
4122 <action>
4123 <touch key="back"/>
4124 <action function="page">filemanageroptions</action>
4125 </action>
4126 </page>
4127
4128 <page name="filemanagerchmod">
4129 <template name="page"/>
4130
4131 <text style="text_l">
4132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004133 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004134 </text>
4135
4136 <text style="text_m">
4137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004138 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004139 </text>
4140
4141 <text style="text_m_accent">
4142 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004143 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004144 </text>
4145
4146 <input>
4147 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4148 <text>%tw_filemanager_rename%</text>
4149 <data name="tw_filemanager_rename"/>
4150 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4151 <actions>
4152 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4153 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4154 <action function="set">tw_back=filemanageroptions</action>
4155 <action function="page">filemanagerconfirm</action>
4156 </actions>
4157 </input>
4158
4159 <fill color="%accent_color%">
4160 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4161 </fill>
4162
4163 <button style="main_button_half_height">
4164 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004166 <action function="page">filemanageroptions</action>
4167 </button>
4168
4169 <template name="keyboardtemplate"/>
4170
4171 <action>
4172 <touch key="home"/>
4173 <action function="page">main</action>
4174 </action>
4175
4176 <action>
4177 <touch key="back"/>
4178 <action function="page">filemanageroptions</action>
4179 </action>
4180 </page>
4181
4182 <page name="filemanagerconfirm">
4183 <template name="page"/>
4184
4185 <text style="text_l">
4186 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004187 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004188 </text>
4189
4190 <text style="text_m">
4191 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004192 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 </text>
4194
4195 <text style="text_m_accent">
4196 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4197 <text>%tw_fm_text1%</text>
4198 </text>
4199
4200 <text style="text_m">
4201 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4202 <text>%tw_filename1%</text>
4203 </text>
4204
4205 <text style="text_m_accent">
4206 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4207 <text>%tw_fm_text2%</text>
4208 </text>
4209
4210 <text style="text_m">
4211 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4212 <text>%tw_fm_text3%</text>
4213 </text>
4214
4215 <text style="text_m">
4216 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
4220 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004222 <action function="page">filemanageraction</action>
4223 </slider>
4224
4225 <action>
4226 <touch key="back"/>
4227 <action function="page">%tw_back%</action>
4228 </action>
4229
4230 <action>
4231 <touch key="home"/>
4232 <action function="page">main</action>
4233 </action>
4234 </page>
4235
4236 <page name="filemanageraction">
4237 <template name="page"/>
4238
4239 <text style="text_l">
4240 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004241 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004242 </text>
4243
4244 <text style="text_m">
4245 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4246 <text>%tw_fm_text1%</text>
4247 </text>
4248
4249 <template name="console"/>
4250
4251 <template name="progress_bar"/>
4252
4253 <action>
4254 <conditions>
4255 <condition var1="tw_operation_state" var2="1"/>
4256 <condition var1="tw_operation_status" var2="0"/>
4257 </conditions>
4258 <actions>
4259 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004261 <action function="page">action_complete</action>
4262 </actions>
4263 </action>
4264
4265 <action>
4266 <conditions>
4267 <condition var1="tw_operation_state" var2="1"/>
4268 <condition var1="tw_operation_status" op="!=" var2="0"/>
4269 </conditions>
4270 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004271 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004272 <action function="page">action_complete</action>
4273 </actions>
4274 </action>
4275
4276 <action>
4277 <condition var1="tw_include_text3" var2="0"/>
4278 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4279 </action>
4280
4281 <action>
4282 <condition var1="tw_include_text3" var2="1"/>
4283 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4284 </action>
4285 </page>
4286
4287 <page name="decrypt">
4288 <template name="page"/>
4289
4290 <action>
4291 <condition var1="tw_crypto_pwtype" var2="2"/>
4292 <action function="page">decrypt_pattern</action>
4293 </action>
4294
4295 <text style="text_l">
4296 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004298 </text>
4299
4300 <text style="text_m">
4301 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004302 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004303 </text>
4304
4305 <text style="text_m_accent">
4306 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004307 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004308 </text>
4309
4310 <input>
4311 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4312 <text>%tw_crypto_display%</text>
4313 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4314 <restrict minlen="1" maxlen="254"/>
4315 <action function="page">trydecrypt</action>
4316 </input>
4317
4318 <fill color="%accent_color%">
4319 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4320 </fill>
4321
4322 <fill color="%text_fail_color%">
4323 <condition var1="tw_password_fail" var2="1"/>
4324 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4325 </fill>
4326
4327 <text style="text_m_fail">
4328 <condition var1="tw_password_fail" var2="1"/>
4329 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004330 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 </text>
4332
4333 <button style="main_button_half_height">
4334 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004335 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004336 <actions>
4337 <action function="set">tw_page_done=1</action>
4338 <action function="page">main</action>
4339 </actions>
4340 </button>
4341
z31s1g608d7ff2016-01-18 19:47:25 +01004342 <button style="main_button_half_height">
4343 <placement x="%center_x%" y="%row10_y%"/>
4344 <text>{@sel_lang_btn=Select Language}</text>
4345 <action function="overlay">select_language</action>
4346 </button>
4347
z31s1g28f0a922015-11-07 18:50:22 +01004348 <template name="keyboardtemplate"/>
4349 </page>
4350
4351 <page name="decrypt_pattern">
4352 <template name="page"/>
4353
4354 <text style="text_l">
4355 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 </text>
4358
4359 <text style="text_m">
4360 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 </text>
4363
4364 <text style="text_m_accent">
4365 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </text>
4368
Aleksa Saraib25a1832015-12-31 17:36:00 +01004369 <text style="text_m_fail">
4370 <condition var1="tw_password_fail" var2="1"/>
4371 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004372 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004373 </text>
4374
z31s1g28f0a922015-11-07 18:50:22 +01004375 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004376 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004377 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4378 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4379 <data name="tw_crypto_password"/>
4380 <action function="page">trydecrypt</action>
4381 </patternpassword>
4382
Aleksa Saraib25a1832015-12-31 17:36:00 +01004383 <button style="button_quarter_width">
4384 <placement x="%indent%" y="%row19a_y%"/>
4385 <text>3x3</text>
4386 <action function="set">tw_gui_pattern_grid_size=3</action>
4387 </button>
4388
4389 <button style="button_quarter_width">
4390 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4391 <text>4x4</text>
4392 <action function="set">tw_gui_pattern_grid_size=4</action>
4393 </button>
4394
4395 <button style="button_quarter_width">
4396 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4397 <text>5x5</text>
4398 <action function="set">tw_gui_pattern_grid_size=5</action>
4399 </button>
4400
4401 <button style="button_quarter_width">
4402 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4403 <text>6x6</text>
4404 <action function="set">tw_gui_pattern_grid_size=6</action>
4405 </button>
4406
z31s1g28f0a922015-11-07 18:50:22 +01004407 <button style="main_button_half_height">
4408 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 <actions>
4411 <action function="set">tw_page_done=1</action>
4412 <action function="page">main</action>
4413 </actions>
4414 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004415
4416 <button style="main_button_half_height">
4417 <placement x="%center_x%" y="%row21a_y%"/>
4418 <text>{@sel_lang_btn=Select Language}</text>
4419 <action function="overlay">select_language</action>
4420 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </page>
4422
4423 <page name="trydecrypt">
4424 <template name="page"/>
4425
4426 <text style="text_l">
4427 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 </text>
4430
4431 <text style="text_m">
4432 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </text>
4435
4436 <template name="console"/>
4437
4438 <template name="progress_bar"/>
4439
4440 <action>
4441 <action function="decrypt"/>
4442 </action>
4443
4444 <action>
4445 <conditions>
4446 <condition var1="tw_operation_state" var2="1"/>
4447 <condition var1="tw_operation_status" op="!=" var2="0"/>
4448 </conditions>
4449 <actions>
4450 <action function="set">tw_password_fail=1</action>
4451 <action function="page">decrypt</action>
4452 </actions>
4453 </action>
4454
4455 <action>
4456 <conditions>
4457 <condition var1="tw_operation_state" var2="1"/>
4458 <condition var1="tw_operation_status" op="=" var2="0"/>
4459 </conditions>
4460 <actions>
4461 <action function="set">tw_page_done=1</action>
4462 <action function="page">main</action>
4463 </actions>
4464 </action>
4465 </page>
4466
z31s1g28f0a922015-11-07 18:50:22 +01004467 <page name="terminalcommand">
4468 <template name="page"/>
4469
z31s1g56189522016-01-13 19:12:40 +01004470 <fill color="%background_color%">
4471 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004472 </fill>
4473
z31s1g56189522016-01-13 19:12:40 +01004474 <terminal>
4475 <condition var1="tw_hide_kb" var2="0"/>
4476 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4477 </terminal>
4478
4479 <terminal>
4480 <condition var1="tw_hide_kb" var2="1"/>
4481 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4482 </terminal>
4483
4484 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004485
4486 <template name="keyboardtemplate"/>
4487
z31s1g608d7ff2016-01-18 19:47:25 +01004488 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004489 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004490 </fill>
z31s1g56189522016-01-13 19:12:40 +01004491
z31s1g608d7ff2016-01-18 19:47:25 +01004492 <button>
z31s1g56189522016-01-13 19:12:40 +01004493 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4494 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4495 <image resource="back" />
4496 <condition var1="tw_busy" var2="0" />
4497 <actions>
4498 <action function="set">tw_hide_kb=0</action>
4499 <action function="key">back</action>
4500 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004501 </button>
z31s1g56189522016-01-13 19:12:40 +01004502
z31s1g608d7ff2016-01-18 19:47:25 +01004503 <button>
z31s1g56189522016-01-13 19:12:40 +01004504 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4505 <condition var1="tw_hide_kb" op="=" var2="0" />
4506 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4507 <image resource="kb_hide" />
4508 <condition var1="tw_busy" var2="0" />
4509 <actions>
4510 <action function="set">tw_hide_kb=1</action>
4511 <action function="page">terminalcommand</action>
4512 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004513 </button>
z31s1g56189522016-01-13 19:12:40 +01004514
z31s1g608d7ff2016-01-18 19:47:25 +01004515 <button>
z31s1g56189522016-01-13 19:12:40 +01004516 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4517 <condition var1="tw_hide_kb" op="=" var2="1" />
4518 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4519 <image resource="kb_show" />
4520 <condition var1="tw_busy" var2="0" />
4521 <actions>
4522 <action function="set">tw_hide_kb=0</action>
4523 <action function="page">terminalcommand</action>
4524 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004525 </button>
z31s1g56189522016-01-13 19:12:40 +01004526
z31s1g608d7ff2016-01-18 19:47:25 +01004527 <button>
z31s1g56189522016-01-13 19:12:40 +01004528 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4529 <image resource="home" />
4530 <condition var1="tw_busy" var2="0" />
4531 <actions>
4532 <action function="set">tw_hide_kb=0</action>
4533 <action function="key">home</action>
4534 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004535 </button>
z31s1g56189522016-01-13 19:12:40 +01004536
z31s1g608d7ff2016-01-18 19:47:25 +01004537 <button>
z31s1g56189522016-01-13 19:12:40 +01004538 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4539 <condition var1="tw_hide_kb" op="=" var2="0" />
4540 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4541 <image resource="kb_hide" />
4542 <condition var1="tw_busy" var2="0" />
4543 <actions>
4544 <action function="set">tw_hide_kb=1</action>
4545 <action function="page">terminalcommand</action>
4546 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004547 </button>
z31s1g56189522016-01-13 19:12:40 +01004548
z31s1g608d7ff2016-01-18 19:47:25 +01004549 <button>
z31s1g56189522016-01-13 19:12:40 +01004550 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4551 <condition var1="tw_hide_kb" op="=" var2="1" />
4552 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4553 <image resource="kb_show" />
4554 <condition var1="tw_busy" var2="0" />
4555 <actions>
4556 <action function="set">tw_hide_kb=0</action>
4557 <action function="page">terminalcommand</action>
4558 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004559 </button>
z31s1g56189522016-01-13 19:12:40 +01004560
z31s1g608d7ff2016-01-18 19:47:25 +01004561 <button>
z31s1g56189522016-01-13 19:12:40 +01004562 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4563 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4564 <image resource="back" />
4565 <condition var1="tw_busy" var2="0" />
4566 <actions>
4567 <action function="set">tw_hide_kb=0</action>
4568 <action function="key">back</action>
4569 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004570 </button>
z31s1g56189522016-01-13 19:12:40 +01004571
z31s1g28f0a922015-11-07 18:50:22 +01004572 <action>
4573 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004574 <actions>
4575 <action function="set">tw_hide_kb=0</action>
4576 <action function="page">main</action>
4577 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004578 </action>
4579
4580 <action>
4581 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004582 <actions>
4583 <action function="set">tw_hide_kb=0</action>
4584 <action function="page">advanced</action>
4585 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </action>
z31s1g56189522016-01-13 19:12:40 +01004587
z31s1g608d7ff2016-01-18 19:47:25 +01004588 <action>
z31s1g56189522016-01-13 19:12:40 +01004589 <touch key="power+voldown" />
4590 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004591 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004592 </page>
4593
4594 <page name="sideload">
4595 <template name="page"/>
4596
4597 <text style="text_l">
4598 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004599 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004600 </text>
4601
4602 <text style="text_m">
4603 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <checkbox>
4608 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 <data variable="tw_wipe_dalvik"/>
4611 </checkbox>
4612
4613 <checkbox>
4614 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004615 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004616 <data variable="tw_wipe_cache"/>
4617 </checkbox>
4618
4619 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004620 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004621 <actions>
4622 <action function="set">tw_back=advanced</action>
4623 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4625 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4626 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004627 <action function="set">tw_has_cancel=1</action>
4628 <action function="set">tw_show_reboot=1</action>
4629 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4630 <action function="page">action_page</action>
4631 </actions>
4632 </slider>
4633
4634 <action>
4635 <touch key="home"/>
4636 <action function="page">main</action>
4637 </action>
4638
4639 <action>
4640 <touch key="back"/>
4641 <action function="page">advanced</action>
4642 </action>
4643 </page>
4644
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004645 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004646 <template name="page"/>
4647
4648 <text style="text_l">
4649 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </text>
4652
4653 <text style="text_m">
4654 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004655 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004656 </text>
4657
4658 <text style="text_m_accent">
4659 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004660 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </text>
4662
z31s1g28f0a922015-11-07 18:50:22 +01004663 <text style="text_m_fail">
4664 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004665 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004666 </text>
4667
4668 <text style="text_m_fail">
4669 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004670 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004674 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 <actions>
4676 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004677 <action function="set">tw_action=fixcontexts</action>
4678 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4679 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004680 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004681 <action function="set">tw_show_reboot=1</action>
4682 <action function="page">action_page</action>
4683 </actions>
4684 </slider>
4685
4686 <action>
4687 <touch key="home"/>
4688 <action function="page">main</action>
4689 </action>
4690
4691 <action>
4692 <touch key="back"/>
4693 <action function="page">advanced</action>
4694 </action>
4695 </page>
4696
4697 <page name="installsu">
4698 <template name="page"/>
4699
4700 <text style="text_l">
4701 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004702 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004703 </text>
4704
4705 <text style="text_m">
4706 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 </text>
4709
4710 <text style="text_m_accent">
4711 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004713 </text>
4714
4715 <text style="text_m">
4716 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004717 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004718 </text>
4719
4720 <text style="text_m">
4721 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004722 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004723 </text>
4724
4725 <button style="main_button_half_height">
4726 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004727 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004728 <action function="set">tw_page_done=1</action>
4729 </button>
4730
4731 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004732 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 <actions>
4734 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004735 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004736 <action function="set">tw_action_text2=</action>
4737 <action function="page">singleaction_page</action>
4738 </actions>
4739 </slider>
4740 </page>
4741
4742 <page name="slideout">
4743 <fill color="%background_color%">
4744 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4745 </fill>
4746
4747 <console>
4748 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4749 </console>
4750
4751 <button>
4752 <fill color="%transparent%"/>
4753 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4754 <action function="overlay"/>
4755 </button>
4756
4757 <action>
4758 <touch key="power+voldown"/>
4759 <action function="screenshot"/>
4760 </action>
4761 </page>
4762
4763 <page name="select_storage">
4764 <fill color="%semi_transparent%">
4765 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4766 </fill>
4767
4768 <fill color="%background_color%">
4769 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4770 </fill>
4771
4772 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004773 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004774 <data name="tw_storage_path"/>
4775 <listtype name="storage"/>
4776 </partitionlist>
4777
4778 <button style="button_third_width">
4779 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004780 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004781 <actions>
4782 <action function="set">tw_clear_destination=%tw_back%</action>
4783 <action function="overlay"/>
4784 <action function="page">clear_vars</action>
4785 </actions>
4786 </button>
4787
4788 <fill color="#000000">
4789 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4790 </fill>
4791
4792 <button>
4793 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4794 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4795 <image resource="back"/>
4796 <condition var1="tw_busy" var2="0"/>
4797 <actions>
4798 <action function="overlay"/>
4799 <action function="key">%tw_back%</action>
4800 </actions>
4801 </button>
4802
4803 <button>
4804 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4805 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4806 <image resource="console"/>
4807 <condition var1="tw_busy" var2="0"/>
4808 <action function="overlay">slideout</action>
4809 </button>
4810
4811 <button>
4812 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4813 <image resource="home"/>
4814 <condition var1="tw_busy" var2="0"/>
4815 <actions>
4816 <action function="overlay"/>
4817 <action function="key">home</action>
4818 </actions>
4819 </button>
4820
4821 <button>
4822 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4823 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4824 <image resource="console"/>
4825 <condition var1="tw_busy" var2="0"/>
4826 <action function="overlay">slideout</action>
4827 </button>
4828
4829 <button>
4830 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4831 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4832 <image resource="back"/>
4833 <condition var1="tw_busy" var2="0"/>
4834 <actions>
4835 <action function="overlay"/>
4836 <action function="key">%tw_back%</action>
4837 </actions>
4838 </button>
4839
4840 <action>
4841 <touch key="power+voldown"/>
4842 <action function="screenshot"/>
4843 </action>
4844 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004845
4846 <page name="select_language">
4847 <fill color="%semi_transparent%">
4848 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4849 </fill>
4850
4851 <fill color="%background_color%">
4852 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4853 </fill>
4854
4855 <listbox>
4856 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4857 <text>{@select_language=Select Language:}</text>
4858 <icon selected="radio_true" unselected="radio_false" />
4859 <data name="tw_language" />
4860 </listbox>
4861
4862 <button style="button_third_width">
4863 <placement x="%dialog_button_x%" y="%row14_y%"/>
4864 <text>{@ok_btn=OK}</text>
4865 <actions>
4866 <action function="overlay"/>
4867 <action function="setlanguage"></action>
4868 </actions>
4869 </button>
4870
4871 <fill color="#000000">
4872 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4873 </fill>
4874
4875 <button>
4876 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4877 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4878 <image resource="back"/>
4879 <condition var1="tw_busy" var2="0"/>
4880 <actions>
4881 <action function="overlay"/>
4882 <action function="key">%tw_back%</action>
4883 </actions>
4884 </button>
4885
4886 <button>
4887 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4888 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4889 <image resource="console"/>
4890 <condition var1="tw_busy" var2="0"/>
4891 <action function="overlay">slideout</action>
4892 </button>
4893
4894 <button>
4895 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4896 <image resource="home"/>
4897 <condition var1="tw_busy" var2="0"/>
4898 <actions>
4899 <action function="overlay"/>
4900 <action function="key">home</action>
4901 </actions>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4906 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4907 <image resource="console"/>
4908 <condition var1="tw_busy" var2="0"/>
4909 <action function="overlay">slideout</action>
4910 </button>
4911
4912 <button>
4913 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4914 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4915 <image resource="back"/>
4916 <condition var1="tw_busy" var2="0"/>
4917 <actions>
4918 <action function="overlay"/>
4919 <action function="key">%tw_back%</action>
4920 </actions>
4921 </button>
4922
4923 <action>
4924 <touch key="power+voldown"/>
4925 <action function="screenshot"/>
4926 </action>
4927 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004928 </pages>
4929</recovery>