blob: 962c633344e1403f507c0624daad49db477969f7 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600389 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600391 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500503 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </actions>
505 </button>
506
507 <action>
508 <touch key="back"/>
509 <actions>
510 <action function="set">tw_clear_destination=install</action>
511 <action function="page">clear_vars</action>
512 </actions>
513 </action>
514
515 <action>
516 <touch key="home"/>
517 <actions>
518 <action function="set">tw_clear_destination=main2</action>
519 <action function="page">clear_vars</action>
520 </actions>
521 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500522
523 <action>
524 <conditions>
525 <condition var1="tw_install_reboot" var2="1"/>
526 <condition var1="tw_operation_status" var2="0"/>
527 <condition var1="tw_reboot_system" var2="1"/>
528 </conditions>
529 <actions>
530 <action function="set">tw_sleep=%tw_sleep_total%</action>
531 <action function="page">flash_sleep_and_reboot</action>
532 </actions>
533 </action>
534 </page>
535
536 <page name="flash_sleep_and_reboot">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
541 <text>{@install_zip_hdr=Install Zip}</text>
542 </text>
543
544 <text style="text_m">
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
546 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
547 </text>
548
549 <template name="console"/>
550
551 <template name="progress_bar"/>
552
553 <button style="main_button_half_height">
554 <condition var1="tw_sleep" op="&gt;" var2="0"/>
555 <placement x="%center_x%" y="%row21a_y%"/>
556 <text>{@cancel_btn=Cancel}</text>
557 <actions>
558 <action function="set">tw_install_reboot=0</action>
559 <action function="page">flash_done</action>
560 </actions>
561 </button>
562
563 <action>
564 <conditions>
565 <condition var1="tw_sleep" var2="tw_sleep_total"/>
566 <condition var1="tw_install_reboot" var2="1"/>
567 </conditions>
568 <action function="sleepcounter">%tw_sleep_total%</action>
569 </action>
570
571 <action>
572 <conditions>
573 <condition var1="tw_sleep" var2="0"/>
574 <condition var1="tw_install_reboot" var2="1"/>
575 </conditions>
576 <actions>
577 <action function="sleep">50000</action>
578 <action function="set">tw_back=main2</action>
579 <action function="page">reboot_system_routine</action>
580 </actions>
581 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </page>
583
584 <page name="flashimage_confirm">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500594 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100595 </text>
596
597 <text style="text_m_accent">
598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500599 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </text>
601
602 <text style="text_m">
603 <placement x="%indent%" y="%row3_y%"/>
604 <text>%tw_zip_location%</text>
605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row5a_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <partitionlist>
618 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
619 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <data name="tw_flash_partition"/>
622 <listtype name="flashimg"/>
623 </partitionlist>
624
625 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <actions>
628 <action function="set">tw_back=flashimage_confirm</action>
629 <action function="set">tw_action=flashimage</action>
630 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <action function="page">action_page</action>
635 </actions>
636 <action function="flashimage"/>
637 </slider>
638
639 <action>
640 <touch key="back"/>
641 <actions>
642 <action function="set">tw_clear_destination=install</action>
643 <action function="page">clear_vars</action>
644 </actions>
645 </action>
646
647 <action>
648 <touch key="home"/>
649 <actions>
650 <action function="set">tw_clear_destination=main2</action>
651 <action function="page">clear_vars</action>
652 </actions>
653 </action>
654 </page>
655
656 <page name="clear_vars">
657 <action>
658 <action function="set">tw_operation_state=0</action>
659 <action function="set">tw_text1=</action>
660 <action function="set">tw_text2=</action>
661 <action function="set">tw_text3=</action>
662 <action function="set">tw_text4=</action>
663 <action function="set">tw_action_text1=</action>
664 <action function="set">tw_action_text2=</action>
665 <action function="set">tw_action_param=</action>
666 <action function="set">tw_has_action2=0</action>
667 <action function="set">tw_action2=</action>
668 <action function="set">tw_action2_param=</action>
669 <action function="set">tw_has_cancel=0</action>
670 <action function="set">tw_cancel_action=</action>
671 <action function="set">tw_cancel_param=</action>
672 <action function="set">tw_show_exclamation=0</action>
673 <action function="set">tw_show_reboot=0</action>
674 <action function="page">%tw_clear_destination%</action>
675 </action>
676 </page>
677
Matt Mower908dd252016-05-25 02:26:50 -0500678 <page name="reboot_system_routine">
679 <action>
680 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500681 <action function="set">tw_action_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 Yonker0afc1fd2017-03-22 15:27:47 -05002777 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002778 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002779 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2781 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2782 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2783 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2784 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002785 <action function="page">rebootcheck</action>
2786 </actions>
2787 </button>
2788
2789 <button style="main_button">
2790 <condition var1="tw_reboot_recovery" var2="1"/>
2791 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 <actions>
2794 <action function="set">tw_back=reboot</action>
2795 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002796 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002797 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2800 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2801 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2802 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2803 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002804 <action function="page">rebootcheck</action>
2805 </actions>
2806 </button>
2807
2808 <button style="main_button">
2809 <condition var1="tw_reboot_bootloader" var2="1"/>
2810 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 <actions>
2813 <action function="set">tw_back=reboot</action>
2814 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002815 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002816 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002817 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2819 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2820 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2821 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002823 <action function="page">rebootcheck</action>
2824 </actions>
2825 </button>
2826
2827 <button style="main_button">
2828 <condition var1="tw_download_mode" var2="1"/>
2829 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 <actions>
2832 <action function="set">tw_back=reboot</action>
2833 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002834 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002835 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002836 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2838 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2839 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2840 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2841 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="page">rebootcheck</action>
2843 </actions>
2844 </button>
2845
Ethan Yonker1b190162016-12-05 15:25:19 -06002846 <text style="text_m">
2847 <condition var1="tw_has_boot_slots" var2="1"/>
2848 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2849 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2850 </text>
2851
2852 <button style="main_button">
2853 <condition var1="tw_has_boot_slots" var2="1"/>
2854 <placement x="%indent%" y="%row19_y%"/>
2855 <text>{@boot_slot_a=Slot A}</text>
2856 <actions>
2857 <action function="set">tw_back=reboot</action>
2858 <action function="set">tw_action=setbootslot</action>
2859 <action function="set">tw_action_param=A</action>
2860 <action function="set">tw_has_action2=0</action>
2861 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2862 <action function="set">tw_action_text2=</action>
2863 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2864 <action function="page">action_page</action>
2865 </actions>
2866 </button>
2867
2868 <button style="main_button">
2869 <condition var1="tw_has_boot_slots" var2="1"/>
2870 <placement x="%center_x%" y="%row19_y%"/>
2871 <text>{@boot_slot_b=Slot B}</text>
2872 <actions>
2873 <action function="set">tw_back=reboot</action>
2874 <action function="set">tw_action=setbootslot</action>
2875 <action function="set">tw_action_param=B</action>
2876 <action function="set">tw_has_action2=0</action>
2877 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2878 <action function="set">tw_action_text2=</action>
2879 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2880 <action function="page">action_page</action>
2881 </actions>
2882 </button>
2883
z31s1g28f0a922015-11-07 18:50:22 +01002884 <action>
2885 <touch key="home"/>
2886 <action function="page">main</action>
2887 </action>
2888
2889 <action>
2890 <touch key="back"/>
2891 <action function="page">main</action>
2892 </action>
2893 </page>
2894
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002895 <page name="rebootapp">
2896 <template name="page"/>
2897
2898 <text style="text_l">
2899 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2900 <text>{@reboot_hdr=Reboot}</text>
2901 </text>
2902
2903 <text style="text_m">
2904 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2905 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2906 </text>
2907
2908 <text style="text_m_accent">
2909 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2910 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2911 </text>
2912
2913 <text style="text_m_accent">
2914 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2915 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2916 </text>
2917
2918 <checkbox>
2919 <placement x="%indent%" y="%row5_y%"/>
2920 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2921 <data variable="tw_app_prompt"/>
2922 </checkbox>
2923
2924 <checkbox>
2925 <condition var1="tw_mount_system_ro" var2="0"/>
2926 <placement x="%indent%" y="%row7_y%"/>
2927 <text>{@reboot_install_app_system=Install as a System App}</text>
2928 <data variable="tw_app_install_system"/>
2929 </checkbox>
2930
2931 <button style="main_button_half_height">
2932 <placement x="%indent%" y="%row16_y%"/>
2933 <text>{@su_cancel=Do not Install}</text>
2934 <action function="reboot">%tw_reboot_param%</action>
2935 </button>
2936
2937 <slider>
2938 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2939 <actions>
2940 <action function="set">tw_back=reboot</action>
2941 <action function="set">tw_action=installapp</action>
2942 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2943 <action function="set">tw_action_text2=</action>
2944 <action function="set">tw_has_action2=1</action>
2945 <action function="set">tw_action2=reboot</action>
2946 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2947 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2948 <action function="page">action_page</action>
2949 </actions>
2950 </slider>
2951
2952 <action>
2953 <touch key="home"/>
2954 <actions>
2955 <action function="set">tw_app_install_status=0</action>
2956 <action function="page">main</action>
2957 </actions>
2958 </action>
2959
2960 <action>
2961 <touch key="back"/>
2962 <actions>
2963 <action function="set">tw_app_install_status=0</action>
2964 <action function="page">reboot</action>
2965 </actions>
2966 </action>
2967 </page>
2968
z31s1g28f0a922015-11-07 18:50:22 +01002969 <page name="system_readonly">
2970 <template name="page"/>
2971
2972 <text style="text_l">
2973 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </text>
2976
2977 <text style="text_m_accent">
2978 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 </text>
2981
2982 <text style="text_m">
2983 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <text style="text_m">
2988 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <text style="text_m">
2993 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 </text>
2996
2997 <text style="text_m">
2998 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002999 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003000 </text>
3001
3002 <text style="text_m_fail">
3003 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 </text>
3006
3007 <text style="text_m_fail">
3008 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </text>
3011
3012 <checkbox>
3013 <condition var1="tw_is_encrypted" var2="0"/>
3014 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003015 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003016 <data variable="tw_never_show_system_ro_page"/>
3017 </checkbox>
3018
3019 <button style="main_button_half_height">
3020 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003021 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003022 <actions>
3023 <action function="mountsystemtoggle">1</action>
3024 <action function="set">tw_page_done=1</action>
3025 <action function="page">%tw_back%</action>
3026 </actions>
3027 </button>
3028
z31s1g608d7ff2016-01-18 19:47:25 +01003029 <button style="main_button_half_height">
3030 <placement x="%center_x%" y="%row18a_y%"/>
3031 <text>{@sel_lang_btn=Select Language}</text>
3032 <action function="overlay">select_language</action>
3033 </button>
3034
z31s1g28f0a922015-11-07 18:50:22 +01003035 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 <actions>
3038 <action function="mountsystemtoggle">0</action>
3039 <action function="set">tw_page_done=1</action>
3040 <action function="page">%tw_back%</action>
3041 </actions>
3042 </slider>
3043 </page>
3044
3045 <page name="settings">
3046 <template name="page"/>
3047
3048 <text style="text_l">
3049 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003051 </text>
3052
3053 <text style="text_m">
3054 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 </text>
3057
3058 <template name="tabs_settings"/>
3059
3060 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003062 </fill>
3063
3064 <listbox style="scrolllist">
3065 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3066 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003068 <data variable="tw_signed_zip_verify"/>
3069 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003070 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3071 <data variable="tw_install_reboot"/>
3072 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003074 <data variable="tw_rm_rf"/>
3075 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003076 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3077 <data variable="tw_disable_free_space"/>
3078 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003080 <data variable="tw_skip_md5_generate"/>
3081 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003082 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003083 <data variable="tw_skip_md5_check"/>
3084 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003086 <data variable="tw_military_time"/>
3087 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003089 <data variable="tw_samsung_navbar"/>
3090 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003091 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3092 <data variable="tw_app_prompt"/>
3093 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003095 <data variable="tw_simulate_actions"/>
3096 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003098 <condition var1="tw_simulate_actions" var2="1"/>
3099 <data variable="tw_simulate_fail"/>
3100 </listitem>
3101 </listbox>
3102
3103 <button style="main_button_half_height">
3104 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003106 <actions>
3107 <action function="set">tw_samsung_navbar=0</action>
3108 <action function="set">tw_tab_icons=0</action>
3109 <action function="restoredefaultsettings"/>
3110 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003111 </button>
3112
3113 <action>
3114 <touch key="home"/>
3115 <action function="page">main</action>
3116 </action>
3117
3118 <action>
3119 <touch key="back"/>
3120 <action function="page">main</action>
3121 </action>
3122 </page>
3123
3124 <page name="settings_timezone">
3125 <template name="page"/>
3126
3127 <text style="text_l">
3128 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 </text>
3131
3132 <text style="text_m">
3133 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003134 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003135 </text>
3136
3137 <template name="tabs_settings"/>
3138
3139 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003141 </fill>
3142
3143 <listbox>
3144 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3148 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3149 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3150 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3151 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3152 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3153 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3154 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3155 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3156 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3157 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3158 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3159 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3160 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3161 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3162 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3163 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3164 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3165 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3166 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3167 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3168 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3169 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3170 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003171 </listbox>
3172
3173 <text style="text_m_accent">
3174 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 </text>
3177
3178 <button style="button_quarter_width">
3179 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 <action function="set">tw_time_zone_guioffset=0</action>
3182 </button>
3183
3184 <button style="button_quarter_width">
3185 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 <action function="set">tw_time_zone_guioffset=15</action>
3188 </button>
3189
3190 <button style="button_quarter_width">
3191 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003193 <action function="set">tw_time_zone_guioffset=30</action>
3194 </button>
3195
3196 <button style="button_quarter_width">
3197 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003199 <action function="set">tw_time_zone_guioffset=45</action>
3200 </button>
3201
3202 <checkbox>
3203 <placement x="%indent%" y="%row18a_y%"/>
3204 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003206 <data variable="tw_time_zone_guidst"/>
3207 <image checked="checkbox_true" unchecked="checkbox_false"/>
3208 </checkbox>
3209
3210 <text color="%text_color%">
3211 <font resource="font_m"/>
3212 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003214 </text>
3215
3216 <button>
3217 <highlight color="%highlight_color%"/>
3218 <placement x="%center_x%" y="%row21a_y%"/>
3219 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003221 <image resource="main_button_half_height"/>
3222 <action function="setguitimezone"/>
3223 </button>
3224
3225 <action>
3226 <touch key="home"/>
3227 <action function="page">main</action>
3228 </action>
3229
3230 <action>
3231 <touch key="back"/>
3232 <action function="page">main</action>
3233 </action>
3234 </page>
3235
3236 <page name="settings_screen">
3237 <template name="page"/>
3238
3239 <text style="text_l">
3240 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 </text>
3243
3244 <text style="text_m">
3245 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003247 </text>
3248
3249 <template name="tabs_settings"/>
3250
3251 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </fill>
3254
3255 <button>
3256 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3257 <font resource="font_m" color="%text_color%"/>
3258 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3259 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003261 <image resource="checkbox_false"/>
3262 <action function="set">tw_screen_timeout_secs=60</action>
3263 </button>
3264
3265 <button>
3266 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3267 <font resource="font_m" color="%text_color%"/>
3268 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3269 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003270 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003271 <image resource="checkbox_true"/>
3272 <action function="set">tw_screen_timeout_secs=0</action>
3273 </button>
3274
3275 <slidervalue>
3276 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3277 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3278 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003279 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003280 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3281 </slidervalue>
3282
3283 <slidervalue>
3284 <condition var1="tw_has_brightnesss_file" var2="1"/>
3285 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003287 <data variable="tw_brightness_pct" min="10" max="100"/>
3288 <actions>
3289 <action function="set">tw_brightness=%tw_brightness_max%</action>
3290 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3291 <action function="compute">tw_brightness/100</action>
3292 <action function="setbrightness">%tw_brightness%</action>
3293 </actions>
3294 </slidervalue>
3295
3296 <action>
3297 <touch key="home"/>
3298 <action function="page">main</action>
3299 </action>
3300
3301 <action>
3302 <touch key="back"/>
3303 <action function="page">main</action>
3304 </action>
3305 </page>
3306
3307 <page name="settings_vibration">
3308 <template name="page"/>
3309
3310 <text style="text_l">
3311 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003312 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003313 </text>
3314
3315 <text style="text_m">
3316 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </text>
3319
3320 <template name="tabs_settings"/>
3321
3322 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </fill>
3325
3326 <slidervalue>
3327 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <data variable="tw_button_vibrate" min="0" max="300"/>
3330 </slidervalue>
3331
3332 <slidervalue>
3333 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3336 </slidervalue>
3337
3338 <slidervalue>
3339 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <data variable="tw_action_vibrate" min="0" max="500"/>
3342 </slidervalue>
3343
3344 <action>
3345 <touch key="home"/>
3346 <action function="page">main</action>
3347 </action>
3348
3349 <action>
3350 <touch key="back"/>
3351 <action function="page">main</action>
3352 </action>
3353 </page>
3354
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <page name="settings_language">
3356 <template name="page"/>
3357
3358 <text style="text_l">
3359 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3360 <text>{@settings_hdr=Settings}</text>
3361 </text>
3362
3363 <text style="text_m">
3364 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3365 <text>{@language_hdr=Language - %tw_language_display%}</text>
3366 </text>
3367
3368 <template name="tabs_settings"/>
3369
3370 <fill color="%text_color%">
3371 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3372 </fill>
3373
3374 <listbox>
3375 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3376 <text>{@select_language=Select Language:}</text>
3377 <icon selected="radio_true" unselected="radio_false" />
3378 <data name="tw_language" />
3379 </listbox>
3380
3381 <button style="main_button_half_height">
3382 <placement x="%center_x%" y="%row21a_y%"/>
3383 <text>{@set_language_btn=Set Language}</text>
3384 <action function="setlanguage"></action>
3385 </button>
3386
3387 <action>
3388 <touch key="home" />
3389 <action function="page">main</action>
3390 </action>
3391
3392 <action>
3393 <touch key="back" />
3394 <action function="page">settings</action>
3395 </action>
3396 </page>
3397
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003398 <page name="copylog">
3399 <template name="page"/>
3400
3401 <text style="text_l">
3402 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3403 <text>{@copying_log=Copy Logs to SD Card}</text>
3404 </text>
3405
3406 <checkbox>
3407 <placement x="%indent%" y="%row4_y%"/>
3408 <text>{@include_kernel_log=Include Kernel Log}</text>
3409 <data variable="tw_include_kernel_log" value="1"/>
3410 </checkbox>
3411
3412 <slider>
3413 <text>{@copying_log=Copy Logs to SD Card}</text>
3414 <actions>
3415 <action function="set">tw_back=advanced</action>
3416 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003417 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3418 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003419 <action function="page">action_page</action>
3420 </actions>
3421 </slider>
3422
3423 <action>
3424 <touch key="home"/>
3425 <action function="page">main</action>
3426 </action>
3427
3428 <action>
3429 <touch key="back"/>
3430 <actions>
3431 <action function="page">advanced</action>
3432 </actions>
3433 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003434 </page>
3435
z31s1g28f0a922015-11-07 18:50:22 +01003436 <page name="advanced">
3437 <template name="page"/>
3438
3439 <text style="text_l">
3440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003442 </text>
3443
3444 <button style="main_button">
3445 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003447 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </button>
3449
3450 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003451 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003452 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003453 <text>{@fix_context_btn=Fix Contexts}</text>
3454 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003455 </button>
3456
3457 <button style="main_button">
3458 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3459 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003461 <actions>
3462 <action function="set">partitionlisterror=0</action>
3463 <action function="page">partsdcardsel</action>
3464 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003465 </button>
3466
3467 <button style="main_button">
3468 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <action function="page">filemanagerlist</action>
3471 </button>
3472
3473 <button style="main_button">
3474 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003476 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </button>
3478
3479 <button style="main_button">
3480 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 <action function="reload"/>
3483 </button>
3484
3485 <button style="main_button">
3486 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003488 <action function="page">sideload</action>
3489 </button>
3490
3491 <button style="main_button">
3492 <condition var1="tw_show_dumlock" var2="1"/>
3493 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 <action function="page">htcdumlock</action>
3496 </button>
3497
3498 <button style="main_button">
3499 <condition var1="tw_has_injecttwrp" var2="1"/>
3500 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 <actions>
3503 <action function="set">tw_back=advanced</action>
3504 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003505 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3506 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3507 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3508 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <action function="page">confirm_action</action>
3510 </actions>
3511 </button>
3512
3513 <action>
3514 <touch key="home"/>
3515 <action function="page">main</action>
3516 </action>
3517
3518 <action>
3519 <touch key="back"/>
3520 <action function="page">main</action>
3521 </action>
3522 </page>
3523
Ethan Yonker483e9f42016-01-11 22:21:18 -06003524 <page name="partsdcardsel">
3525 <template name="page"/>
3526
3527 <text style="text_l">
3528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3529 <text>{@advanced_hdr=Advanced}</text>
3530 </text>
3531
3532 <text style="text_m">
3533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3534 <text>{@part_sd_hdr=Partition SD Card}</text>
3535 </text>
3536
z31s1g782e1c92016-01-30 16:50:09 +01003537 <partitionlist>
3538 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003539 <text>{@sel_storage_list=Select Storage}</text>
3540 <data name="tw_storage_path"/>
3541 <listtype name="storage"/>
3542 </partitionlist>
3543
3544 <text style="text_m_fail">
3545 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003546 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003547 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3548 </text>
3549
z31s1g782e1c92016-01-30 16:50:09 +01003550 <button style="main_button_half_height">
3551 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003552 <text>{@ok_btn=OK}</text>
3553 <actions>
3554 <action function="getpartitiondetails">tw_storage_path</action>
3555 <action function="page">partsdcardcheck</action>
3556 </actions>
3557 </button>
3558
3559 <action>
3560 <touch key="home"/>
3561 <action function="page">main</action>
3562 </action>
3563
3564 <action>
3565 <touch key="back"/>
3566 <action function="page">advanced</action>
3567 </action>
3568 </page>
3569
3570 <page name="partsdcardcheck">
3571 <action>
3572 <condition var1="tw_partition_removable" op="=" var2="1"/>
3573 <actions>
3574 <action function="set">partitionlisterror=0</action>
3575 <action function="page">partsdcard</action>
3576 </actions>
3577 </action>
3578
3579 <action>
3580 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3581 <actions>
3582 <action function="set">partitionlisterror=1</action>
3583 <action function="page">partsdcardsel</action>
3584 </actions>
3585 </action>
3586 </page>
3587
z31s1g28f0a922015-11-07 18:50:22 +01003588 <page name="partsdcard">
3589 <template name="page"/>
3590
3591 <text style="text_l">
3592 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </text>
3595
3596 <text style="text_m">
3597 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003599 </text>
3600
3601 <text style="text_m_fail">
3602 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 </text>
3605
3606 <text style="text_m_fail">
3607 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 </text>
3610
3611 <text style="text_m_accent">
3612 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <text style="text_m">
3617 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3618 <text>%tw_sdext_size%</text>
3619 </text>
3620
3621 <button style="button_quarter_width">
3622 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003624 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003625 </button>
3626
3627 <button style="button_quarter_width">
3628 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003629 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003630 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003631 </button>
3632
3633 <text style="text_m_accent">
3634 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <text style="text_m">
3639 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3640 <text>%tw_swap_size%</text>
3641 </text>
3642
3643 <button style="button_quarter_width">
3644 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003646 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003647 </button>
3648
3649 <button style="button_quarter_width">
3650 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003652 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003653 </button>
3654
3655 <text style="text_m_accent">
3656 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 </text>
3659
3660 <text style="text_m">
3661 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3662 <text>%tw_sdpart_file_system%</text>
3663 </text>
3664
3665 <button style="button_quarter_width">
3666 <placement x="%indent%" y="%row14_y%"/>
3667 <text>EXT3</text>
3668 <action function="set">tw_sdpart_file_system=ext3</action>
3669 </button>
3670
3671 <button style="button_quarter_width">
3672 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3673 <text>EXT4</text>
3674 <action function="set">tw_sdpart_file_system=ext4</action>
3675 </button>
3676
3677 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003679 <action function="page">partsdcardaction</action>
3680 <actions>
3681 <action function="set">tw_back=partsdcard</action>
3682 <action function="set">tw_action=partitionsd</action>
3683 <action function="set">tw_has_action2=1</action>
3684 <action function="set">tw_action2=set</action>
3685 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003686 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3687 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3688 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003689 <action function="page">action_page</action>
3690 </actions>
3691 </slider>
3692
3693 <action>
3694 <touch key="home"/>
3695 <action function="page">main</action>
3696 </action>
3697
3698 <action>
3699 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003700 <actions>
3701 <action function="set">partitionlisterror=0</action>
3702 <action function="page">partsdcardsel</action>
3703 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </action>
3705 </page>
3706
3707 <page name="htcdumlock">
3708 <template name="page"/>
3709
3710 <text style="text_l">
3711 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003713 </text>
3714
3715 <text style="text_m">
3716 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <button style="main_button_half_height_full_width">
3721 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003723 <actions>
3724 <action function="set">tw_back=htcdumlock</action>
3725 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3727 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3728 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3729 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <action function="page">confirm_action</action>
3731 </actions>
3732 </button>
3733
3734 <button style="main_button_half_height_full_width">
3735 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003737 <actions>
3738 <action function="set">tw_back=htcdumlock</action>
3739 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3741 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3742 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3743 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003744 <action function="page">confirm_action</action>
3745 </actions>
3746 </button>
3747
3748 <button style="main_button_half_height_full_width">
3749 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <actions>
3752 <action function="set">tw_back=htcdumlock</action>
3753 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3755 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3756 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3757 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003758 <action function="page">confirm_action</action>
3759 </actions>
3760 </button>
3761
3762 <action>
3763 <touch key="home"/>
3764 <action function="page">main</action>
3765 </action>
3766
3767 <action>
3768 <touch key="back"/>
3769 <action function="page">advanced</action>
3770 </action>
3771 </page>
3772
3773 <page name="lock">
3774 <background color="%semi_transparent%"/>
3775
3776 <image>
3777 <image resource="unlock_icon"/>
3778 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3779 </image>
3780
3781 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003782 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003783 <action function="overlay"/>
3784 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003785
3786 <action>
3787 <touch key="power"/>
3788 <action function="togglebacklight"/>
3789 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </page>
3791
3792 <page name="filemanagerlist">
3793 <template name="page"/>
3794
3795 <text style="text_l">
3796 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 </text>
3799
3800 <text style="text_m">
3801 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003803 </text>
3804
3805 <template name="sort_options"/>
3806
3807 <fileselector>
3808 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3809 <text>%tw_file_location1%</text>
3810 <filter folders="1" files="1"/>
3811 <path name="tw_file_location1" default="/"/>
3812 <data name="tw_filename1"/>
3813 <selection name="tw_selection1"/>
3814 </fileselector>
3815
3816 <button style="fab">
3817 <image resource="fab_selectfolder"/>
3818 <actions>
3819 <action function="set">tw_filename1=tw_file_location1</action>
3820 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003821 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 <action function="page">filemanageroptions</action>
3823 </actions>
3824 </button>
3825
3826 <action>
3827 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003829 <action function="set">tw_fm_isfolder=0</action>
3830 </actions>
3831 </action>
3832
3833 <action>
3834 <touch key="home"/>
3835 <action function="page">main</action>
3836 </action>
3837
3838 <action>
3839 <touch key="back"/>
3840 <action function="page">advanced</action>
3841 </action>
3842
3843 <action>
3844 <condition var1="tw_filename1" op="modified"/>
3845 <action function="page">filemanageroptions</action>
3846 </action>
3847 </page>
3848
3849 <page name="filemanageroptions">
3850 <template name="page"/>
3851
3852 <text style="text_l">
3853 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003855 </text>
3856
3857 <text style="text_m">
3858 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 </text>
3861
3862 <text style="text_m_accent">
3863 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003865 </text>
3866
3867 <text style="text_m">
3868 <placement x="%indent%" y="%row3_y%"/>
3869 <text>%tw_filename1%</text>
3870 </text>
3871
3872 <button style="main_button_half_height">
3873 <condition var1="tw_fm_isfolder" var2="0"/>
3874 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 <actions>
3877 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <action function="page">choosedestinationfolder</action>
3880 </actions>
3881 </button>
3882
3883 <button style="main_button_half_height">
3884 <condition var1="tw_fm_isfolder" var2="1"/>
3885 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 <actions>
3888 <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 -05003889 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <action function="page">choosedestinationfolder</action>
3891 </actions>
3892 </button>
3893
3894 <button style="main_button_half_height">
3895 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 <actions>
3898 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003899 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003900 <action function="page">choosedestinationfolder</action>
3901 </actions>
3902 </button>
3903
3904 <button style="main_button_half_height">
3905 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003906 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003907 <actions>
3908 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003910 <action function="set">tw_fm_text2=</action>
3911 <action function="set">tw_fm_text3=</action>
3912 <action function="set">tw_include_text3=0</action>
3913 <action function="set">tw_back=filemanageroptions</action>
3914 <action function="page">filemanagerconfirm</action>
3915 </actions>
3916 </button>
3917
3918 <button style="main_button_half_height">
3919 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003921 <actions>
3922 <action function="set">tw_filemanager_rename=0000</action>
3923 <action function="set">tw_fm_text2=</action>
3924 <action function="set">tw_fm_text3=</action>
3925 <action function="set">tw_include_text3=0</action>
3926 <action function="set">tw_back=filemanageroptions</action>
3927 <action function="page">filemanagerchmod</action>
3928 </actions>
3929 </button>
3930
3931 <button style="main_button_half_height">
3932 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 <actions>
3935 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003937 <action function="set">tw_fm_text2=</action>
3938 <action function="set">tw_fm_text3=</action>
3939 <action function="set">tw_include_text3=0</action>
3940 <action function="set">tw_back=filemanageroptions</action>
3941 <action function="page">filemanagerconfirm</action>
3942 </actions>
3943 </button>
3944
3945 <button style="main_button_half_height">
3946 <condition var1="tw_fm_isfolder" var2="0"/>
3947 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003948 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003949 <actions>
3950 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003951 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003952 <action function="set">tw_filemanager_command=mv</action>
3953 <action function="page">filemanagerrenamefile</action>
3954 </actions>
3955 </button>
3956
3957 <button style="main_button_half_height">
3958 <condition var1="tw_fm_isfolder" var2="1"/>
3959 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003960 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003961 <actions>
3962 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3965 <action function="page">filemanagerrenamefolder</action>
3966 </actions>
3967 </button>
3968
3969 <action>
3970 <touch key="home"/>
3971 <action function="page">main</action>
3972 </action>
3973
3974 <action>
3975 <touch key="back"/>
3976 <action function="page">filemanagerlist</action>
3977 </action>
3978 </page>
3979
3980 <page name="choosedestinationfolder">
3981 <template name="page"/>
3982
3983 <text style="text_l">
3984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 </text>
3987
3988 <text style="text_m">
3989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <template name="sort_options"/>
3994
3995 <fileselector>
3996 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3997 <text>%tw_file_location2%</text>
3998 <filter folders="1" files="0"/>
3999 <path name="tw_file_location2" default="/"/>
4000 <data name="tw_filename2"/>
4001 <selection name="tw_selection2"/>
4002 </fileselector>
4003
4004 <button style="fab">
4005 <image resource="fab_selectfolder"/>
4006 <actions>
4007 <action function="set">tw_fm_text2=to</action>
4008 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4009 <action function="set">tw_include_text3=1</action>
4010 <action function="set">tw_back=filemanageroptions</action>
4011 <action function="page">filemanagerconfirm</action>
4012 </actions>
4013 </button>
4014
4015 <action>
4016 <touch key="home"/>
4017 <action function="page">main</action>
4018 </action>
4019
4020 <action>
4021 <touch key="back"/>
4022 <action function="page">filemanageroptions</action>
4023 </action>
4024 </page>
4025
4026 <page name="filemanagerrenamefile">
4027 <template name="page"/>
4028
4029 <text style="text_l">
4030 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004031 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004032 </text>
4033
4034 <text style="text_m">
4035 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <text style="text_m_accent">
4040 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 </text>
4043
4044 <input>
4045 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4046 <text>%tw_filemanager_rename%</text>
4047 <data name="tw_filemanager_rename"/>
4048 <restrict minlen="1" maxlen="128"/>
4049 <actions>
4050 <action function="set">tw_fm_text2=to</action>
4051 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4052 <action function="set">tw_include_text3=1</action>
4053 <action function="set">tw_back=filemanageroptions</action>
4054 <action function="page">filemanagerconfirm</action>
4055 </actions>
4056 </input>
4057
4058 <fill color="%accent_color%">
4059 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4060 </fill>
4061
4062 <button style="main_button_half_height">
4063 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004065 <action function="page">filemanageroptions</action>
4066 </button>
4067
4068 <template name="keyboardtemplate"/>
4069
4070 <action>
4071 <touch key="home"/>
4072 <action function="page">main</action>
4073 </action>
4074
4075 <action>
4076 <touch key="back"/>
4077 <action function="page">filemanageroptions</action>
4078 </action>
4079 </page>
4080
4081 <page name="filemanagerrenamefolder">
4082 <template name="page"/>
4083
4084 <text style="text_l">
4085 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004086 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004087 </text>
4088
4089 <text style="text_m">
4090 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <text style="text_m_accent">
4095 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <input>
4100 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4101 <text>%tw_filemanager_rename%</text>
4102 <data name="tw_filemanager_rename"/>
4103 <restrict minlen="1" maxlen="128"/>
4104 <actions>
4105 <action function="set">tw_fm_text2=to</action>
4106 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4107 <action function="set">tw_include_text3=1</action>
4108 <action function="set">tw_back=filemanageroptions</action>
4109 <action function="page">filemanagerconfirm</action>
4110 </actions>
4111 </input>
4112
4113 <fill color="%accent_color%">
4114 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4115 </fill>
4116
4117 <button style="main_button_half_height">
4118 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004120 <action function="page">filemanageroptions</action>
4121 </button>
4122
4123 <template name="keyboardtemplate"/>
4124
4125 <action>
4126 <touch key="home"/>
4127 <action function="page">main</action>
4128 </action>
4129
4130 <action>
4131 <touch key="back"/>
4132 <action function="page">filemanageroptions</action>
4133 </action>
4134 </page>
4135
4136 <page name="filemanagerchmod">
4137 <template name="page"/>
4138
4139 <text style="text_l">
4140 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004141 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </text>
4143
4144 <text style="text_m">
4145 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004147 </text>
4148
4149 <text style="text_m_accent">
4150 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <input>
4155 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4156 <text>%tw_filemanager_rename%</text>
4157 <data name="tw_filemanager_rename"/>
4158 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4159 <actions>
4160 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4161 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4162 <action function="set">tw_back=filemanageroptions</action>
4163 <action function="page">filemanagerconfirm</action>
4164 </actions>
4165 </input>
4166
4167 <fill color="%accent_color%">
4168 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4169 </fill>
4170
4171 <button style="main_button_half_height">
4172 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 <action function="page">filemanageroptions</action>
4175 </button>
4176
4177 <template name="keyboardtemplate"/>
4178
4179 <action>
4180 <touch key="home"/>
4181 <action function="page">main</action>
4182 </action>
4183
4184 <action>
4185 <touch key="back"/>
4186 <action function="page">filemanageroptions</action>
4187 </action>
4188 </page>
4189
4190 <page name="filemanagerconfirm">
4191 <template name="page"/>
4192
4193 <text style="text_l">
4194 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004196 </text>
4197
4198 <text style="text_m">
4199 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </text>
4202
4203 <text style="text_m_accent">
4204 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4205 <text>%tw_fm_text1%</text>
4206 </text>
4207
4208 <text style="text_m">
4209 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4210 <text>%tw_filename1%</text>
4211 </text>
4212
4213 <text style="text_m_accent">
4214 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4215 <text>%tw_fm_text2%</text>
4216 </text>
4217
4218 <text style="text_m">
4219 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4220 <text>%tw_fm_text3%</text>
4221 </text>
4222
4223 <text style="text_m">
4224 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004225 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004226 </text>
4227
4228 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004230 <action function="page">filemanageraction</action>
4231 </slider>
4232
4233 <action>
4234 <touch key="back"/>
4235 <action function="page">%tw_back%</action>
4236 </action>
4237
4238 <action>
4239 <touch key="home"/>
4240 <action function="page">main</action>
4241 </action>
4242 </page>
4243
4244 <page name="filemanageraction">
4245 <template name="page"/>
4246
4247 <text style="text_l">
4248 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004249 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004250 </text>
4251
4252 <text style="text_m">
4253 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4254 <text>%tw_fm_text1%</text>
4255 </text>
4256
4257 <template name="console"/>
4258
4259 <template name="progress_bar"/>
4260
4261 <action>
4262 <conditions>
4263 <condition var1="tw_operation_state" var2="1"/>
4264 <condition var1="tw_operation_status" var2="0"/>
4265 </conditions>
4266 <actions>
4267 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004269 <action function="page">action_complete</action>
4270 </actions>
4271 </action>
4272
4273 <action>
4274 <conditions>
4275 <condition var1="tw_operation_state" var2="1"/>
4276 <condition var1="tw_operation_status" op="!=" var2="0"/>
4277 </conditions>
4278 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004279 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004280 <action function="page">action_complete</action>
4281 </actions>
4282 </action>
4283
4284 <action>
4285 <condition var1="tw_include_text3" var2="0"/>
4286 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4287 </action>
4288
4289 <action>
4290 <condition var1="tw_include_text3" var2="1"/>
4291 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4292 </action>
4293 </page>
4294
4295 <page name="decrypt">
4296 <template name="page"/>
4297
4298 <action>
4299 <condition var1="tw_crypto_pwtype" var2="2"/>
4300 <action function="page">decrypt_pattern</action>
4301 </action>
4302
4303 <text style="text_l">
4304 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004305 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004306 </text>
4307
4308 <text style="text_m">
4309 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 </text>
4312
4313 <text style="text_m_accent">
4314 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 </text>
4317
4318 <input>
4319 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4320 <text>%tw_crypto_display%</text>
4321 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4322 <restrict minlen="1" maxlen="254"/>
4323 <action function="page">trydecrypt</action>
4324 </input>
4325
4326 <fill color="%accent_color%">
4327 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4328 </fill>
4329
4330 <fill color="%text_fail_color%">
4331 <condition var1="tw_password_fail" var2="1"/>
4332 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4333 </fill>
4334
4335 <text style="text_m_fail">
4336 <condition var1="tw_password_fail" var2="1"/>
4337 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004338 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004339 </text>
4340
4341 <button style="main_button_half_height">
4342 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 <actions>
4345 <action function="set">tw_page_done=1</action>
4346 <action function="page">main</action>
4347 </actions>
4348 </button>
4349
z31s1g608d7ff2016-01-18 19:47:25 +01004350 <button style="main_button_half_height">
4351 <placement x="%center_x%" y="%row10_y%"/>
4352 <text>{@sel_lang_btn=Select Language}</text>
4353 <action function="overlay">select_language</action>
4354 </button>
4355
z31s1g28f0a922015-11-07 18:50:22 +01004356 <template name="keyboardtemplate"/>
4357 </page>
4358
4359 <page name="decrypt_pattern">
4360 <template name="page"/>
4361
4362 <text style="text_l">
4363 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004364 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004365 </text>
4366
4367 <text style="text_m">
4368 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 </text>
4371
4372 <text style="text_m_accent">
4373 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 </text>
4376
Aleksa Saraib25a1832015-12-31 17:36:00 +01004377 <text style="text_m_fail">
4378 <condition var1="tw_password_fail" var2="1"/>
4379 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004380 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004381 </text>
4382
z31s1g28f0a922015-11-07 18:50:22 +01004383 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004384 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004385 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4386 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4387 <data name="tw_crypto_password"/>
4388 <action function="page">trydecrypt</action>
4389 </patternpassword>
4390
Aleksa Saraib25a1832015-12-31 17:36:00 +01004391 <button style="button_quarter_width">
4392 <placement x="%indent%" y="%row19a_y%"/>
4393 <text>3x3</text>
4394 <action function="set">tw_gui_pattern_grid_size=3</action>
4395 </button>
4396
4397 <button style="button_quarter_width">
4398 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4399 <text>4x4</text>
4400 <action function="set">tw_gui_pattern_grid_size=4</action>
4401 </button>
4402
4403 <button style="button_quarter_width">
4404 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4405 <text>5x5</text>
4406 <action function="set">tw_gui_pattern_grid_size=5</action>
4407 </button>
4408
4409 <button style="button_quarter_width">
4410 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4411 <text>6x6</text>
4412 <action function="set">tw_gui_pattern_grid_size=6</action>
4413 </button>
4414
z31s1g28f0a922015-11-07 18:50:22 +01004415 <button style="main_button_half_height">
4416 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004417 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004418 <actions>
4419 <action function="set">tw_page_done=1</action>
4420 <action function="page">main</action>
4421 </actions>
4422 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004423
4424 <button style="main_button_half_height">
4425 <placement x="%center_x%" y="%row21a_y%"/>
4426 <text>{@sel_lang_btn=Select Language}</text>
4427 <action function="overlay">select_language</action>
4428 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004429 </page>
4430
4431 <page name="trydecrypt">
4432 <template name="page"/>
4433
4434 <text style="text_l">
4435 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004437 </text>
4438
4439 <text style="text_m">
4440 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <template name="console"/>
4445
4446 <template name="progress_bar"/>
4447
4448 <action>
4449 <action function="decrypt"/>
4450 </action>
4451
4452 <action>
4453 <conditions>
4454 <condition var1="tw_operation_state" var2="1"/>
4455 <condition var1="tw_operation_status" op="!=" var2="0"/>
4456 </conditions>
4457 <actions>
4458 <action function="set">tw_password_fail=1</action>
4459 <action function="page">decrypt</action>
4460 </actions>
4461 </action>
4462
4463 <action>
4464 <conditions>
4465 <condition var1="tw_operation_state" var2="1"/>
4466 <condition var1="tw_operation_status" op="=" var2="0"/>
4467 </conditions>
4468 <actions>
4469 <action function="set">tw_page_done=1</action>
4470 <action function="page">main</action>
4471 </actions>
4472 </action>
4473 </page>
4474
z31s1g28f0a922015-11-07 18:50:22 +01004475 <page name="terminalcommand">
4476 <template name="page"/>
4477
z31s1g56189522016-01-13 19:12:40 +01004478 <fill color="%background_color%">
4479 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </fill>
4481
z31s1g56189522016-01-13 19:12:40 +01004482 <terminal>
4483 <condition var1="tw_hide_kb" var2="0"/>
4484 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4485 </terminal>
4486
4487 <terminal>
4488 <condition var1="tw_hide_kb" var2="1"/>
4489 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4490 </terminal>
4491
4492 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004493
4494 <template name="keyboardtemplate"/>
4495
z31s1g608d7ff2016-01-18 19:47:25 +01004496 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004497 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004498 </fill>
z31s1g56189522016-01-13 19:12:40 +01004499
z31s1g608d7ff2016-01-18 19:47:25 +01004500 <button>
z31s1g56189522016-01-13 19:12:40 +01004501 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4502 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4503 <image resource="back" />
4504 <condition var1="tw_busy" var2="0" />
4505 <actions>
4506 <action function="set">tw_hide_kb=0</action>
4507 <action function="key">back</action>
4508 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004509 </button>
z31s1g56189522016-01-13 19:12:40 +01004510
z31s1g608d7ff2016-01-18 19:47:25 +01004511 <button>
z31s1g56189522016-01-13 19:12:40 +01004512 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4513 <condition var1="tw_hide_kb" op="=" var2="0" />
4514 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4515 <image resource="kb_hide" />
4516 <condition var1="tw_busy" var2="0" />
4517 <actions>
4518 <action function="set">tw_hide_kb=1</action>
4519 <action function="page">terminalcommand</action>
4520 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004521 </button>
z31s1g56189522016-01-13 19:12:40 +01004522
z31s1g608d7ff2016-01-18 19:47:25 +01004523 <button>
z31s1g56189522016-01-13 19:12:40 +01004524 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4525 <condition var1="tw_hide_kb" op="=" var2="1" />
4526 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4527 <image resource="kb_show" />
4528 <condition var1="tw_busy" var2="0" />
4529 <actions>
4530 <action function="set">tw_hide_kb=0</action>
4531 <action function="page">terminalcommand</action>
4532 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004533 </button>
z31s1g56189522016-01-13 19:12:40 +01004534
z31s1g608d7ff2016-01-18 19:47:25 +01004535 <button>
z31s1g56189522016-01-13 19:12:40 +01004536 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4537 <image resource="home" />
4538 <condition var1="tw_busy" var2="0" />
4539 <actions>
4540 <action function="set">tw_hide_kb=0</action>
4541 <action function="key">home</action>
4542 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004543 </button>
z31s1g56189522016-01-13 19:12:40 +01004544
z31s1g608d7ff2016-01-18 19:47:25 +01004545 <button>
z31s1g56189522016-01-13 19:12:40 +01004546 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4547 <condition var1="tw_hide_kb" op="=" var2="0" />
4548 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4549 <image resource="kb_hide" />
4550 <condition var1="tw_busy" var2="0" />
4551 <actions>
4552 <action function="set">tw_hide_kb=1</action>
4553 <action function="page">terminalcommand</action>
4554 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004555 </button>
z31s1g56189522016-01-13 19:12:40 +01004556
z31s1g608d7ff2016-01-18 19:47:25 +01004557 <button>
z31s1g56189522016-01-13 19:12:40 +01004558 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4559 <condition var1="tw_hide_kb" op="=" var2="1" />
4560 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4561 <image resource="kb_show" />
4562 <condition var1="tw_busy" var2="0" />
4563 <actions>
4564 <action function="set">tw_hide_kb=0</action>
4565 <action function="page">terminalcommand</action>
4566 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004567 </button>
z31s1g56189522016-01-13 19:12:40 +01004568
z31s1g608d7ff2016-01-18 19:47:25 +01004569 <button>
z31s1g56189522016-01-13 19:12:40 +01004570 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4571 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4572 <image resource="back" />
4573 <condition var1="tw_busy" var2="0" />
4574 <actions>
4575 <action function="set">tw_hide_kb=0</action>
4576 <action function="key">back</action>
4577 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004578 </button>
z31s1g56189522016-01-13 19:12:40 +01004579
z31s1g28f0a922015-11-07 18:50:22 +01004580 <action>
4581 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004582 <actions>
4583 <action function="set">tw_hide_kb=0</action>
4584 <action function="page">main</action>
4585 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </action>
4587
4588 <action>
4589 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004590 <actions>
4591 <action function="set">tw_hide_kb=0</action>
4592 <action function="page">advanced</action>
4593 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </action>
z31s1g56189522016-01-13 19:12:40 +01004595
z31s1g608d7ff2016-01-18 19:47:25 +01004596 <action>
z31s1g56189522016-01-13 19:12:40 +01004597 <touch key="power+voldown" />
4598 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004599 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004600 </page>
4601
4602 <page name="sideload">
4603 <template name="page"/>
4604
4605 <text style="text_l">
4606 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004607 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004608 </text>
4609
4610 <text style="text_m">
4611 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004612 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004613 </text>
4614
4615 <checkbox>
4616 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 <data variable="tw_wipe_dalvik"/>
4619 </checkbox>
4620
4621 <checkbox>
4622 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 <data variable="tw_wipe_cache"/>
4625 </checkbox>
4626
4627 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 <actions>
4630 <action function="set">tw_back=advanced</action>
4631 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4633 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4634 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <action function="set">tw_has_cancel=1</action>
4636 <action function="set">tw_show_reboot=1</action>
4637 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4638 <action function="page">action_page</action>
4639 </actions>
4640 </slider>
4641
4642 <action>
4643 <touch key="home"/>
4644 <action function="page">main</action>
4645 </action>
4646
4647 <action>
4648 <touch key="back"/>
4649 <action function="page">advanced</action>
4650 </action>
4651 </page>
4652
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004653 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004654 <template name="page"/>
4655
4656 <text style="text_l">
4657 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004658 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004659 </text>
4660
4661 <text style="text_m">
4662 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004663 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004664 </text>
4665
4666 <text style="text_m_accent">
4667 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004668 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </text>
4670
z31s1g28f0a922015-11-07 18:50:22 +01004671 <text style="text_m_fail">
4672 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004673 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 </text>
4675
4676 <text style="text_m_fail">
4677 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004678 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 </text>
4680
4681 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004682 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 <actions>
4684 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004685 <action function="set">tw_action=fixcontexts</action>
4686 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4687 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004688 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004689 <action function="set">tw_show_reboot=1</action>
4690 <action function="page">action_page</action>
4691 </actions>
4692 </slider>
4693
4694 <action>
4695 <touch key="home"/>
4696 <action function="page">main</action>
4697 </action>
4698
4699 <action>
4700 <touch key="back"/>
4701 <action function="page">advanced</action>
4702 </action>
4703 </page>
4704
4705 <page name="installsu">
4706 <template name="page"/>
4707
4708 <text style="text_l">
4709 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004710 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004711 </text>
4712
4713 <text style="text_m">
4714 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004715 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004716 </text>
4717
4718 <text style="text_m_accent">
4719 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004720 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004721 </text>
4722
4723 <text style="text_m">
4724 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004726 </text>
4727
4728 <text style="text_m">
4729 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004730 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004731 </text>
4732
4733 <button style="main_button_half_height">
4734 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004735 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004736 <action function="set">tw_page_done=1</action>
4737 </button>
4738
4739 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004740 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004741 <actions>
4742 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004743 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004744 <action function="set">tw_action_text2=</action>
4745 <action function="page">singleaction_page</action>
4746 </actions>
4747 </slider>
4748 </page>
4749
4750 <page name="slideout">
4751 <fill color="%background_color%">
4752 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4753 </fill>
4754
4755 <console>
4756 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4757 </console>
4758
4759 <button>
4760 <fill color="%transparent%"/>
4761 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4762 <action function="overlay"/>
4763 </button>
4764
4765 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004766 <touch key="power"/>
4767 <action function="togglebacklight"/>
4768 </action>
4769
4770 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004771 <touch key="power+voldown"/>
4772 <action function="screenshot"/>
4773 </action>
4774 </page>
4775
4776 <page name="select_storage">
4777 <fill color="%semi_transparent%">
4778 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4779 </fill>
4780
4781 <fill color="%background_color%">
4782 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4783 </fill>
4784
4785 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004786 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004787 <data name="tw_storage_path"/>
4788 <listtype name="storage"/>
4789 </partitionlist>
4790
4791 <button style="button_third_width">
4792 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004793 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004794 <actions>
4795 <action function="set">tw_clear_destination=%tw_back%</action>
4796 <action function="overlay"/>
4797 <action function="page">clear_vars</action>
4798 </actions>
4799 </button>
4800
4801 <fill color="#000000">
4802 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4803 </fill>
4804
4805 <button>
4806 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4807 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4808 <image resource="back"/>
4809 <condition var1="tw_busy" var2="0"/>
4810 <actions>
4811 <action function="overlay"/>
4812 <action function="key">%tw_back%</action>
4813 </actions>
4814 </button>
4815
4816 <button>
4817 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4818 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4819 <image resource="console"/>
4820 <condition var1="tw_busy" var2="0"/>
4821 <action function="overlay">slideout</action>
4822 </button>
4823
4824 <button>
4825 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4826 <image resource="home"/>
4827 <condition var1="tw_busy" var2="0"/>
4828 <actions>
4829 <action function="overlay"/>
4830 <action function="key">home</action>
4831 </actions>
4832 </button>
4833
4834 <button>
4835 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4836 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4837 <image resource="console"/>
4838 <condition var1="tw_busy" var2="0"/>
4839 <action function="overlay">slideout</action>
4840 </button>
4841
4842 <button>
4843 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4844 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4845 <image resource="back"/>
4846 <condition var1="tw_busy" var2="0"/>
4847 <actions>
4848 <action function="overlay"/>
4849 <action function="key">%tw_back%</action>
4850 </actions>
4851 </button>
4852
4853 <action>
4854 <touch key="power+voldown"/>
4855 <action function="screenshot"/>
4856 </action>
4857 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004858
4859 <page name="select_language">
4860 <fill color="%semi_transparent%">
4861 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4862 </fill>
4863
4864 <fill color="%background_color%">
4865 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4866 </fill>
4867
4868 <listbox>
4869 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4870 <text>{@select_language=Select Language:}</text>
4871 <icon selected="radio_true" unselected="radio_false" />
4872 <data name="tw_language" />
4873 </listbox>
4874
4875 <button style="button_third_width">
4876 <placement x="%dialog_button_x%" y="%row14_y%"/>
4877 <text>{@ok_btn=OK}</text>
4878 <actions>
4879 <action function="overlay"/>
4880 <action function="setlanguage"></action>
4881 </actions>
4882 </button>
4883
4884 <fill color="#000000">
4885 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4886 </fill>
4887
4888 <button>
4889 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4890 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4891 <image resource="back"/>
4892 <condition var1="tw_busy" var2="0"/>
4893 <actions>
4894 <action function="overlay"/>
4895 <action function="key">%tw_back%</action>
4896 </actions>
4897 </button>
4898
4899 <button>
4900 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4901 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4902 <image resource="console"/>
4903 <condition var1="tw_busy" var2="0"/>
4904 <action function="overlay">slideout</action>
4905 </button>
4906
4907 <button>
4908 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4909 <image resource="home"/>
4910 <condition var1="tw_busy" var2="0"/>
4911 <actions>
4912 <action function="overlay"/>
4913 <action function="key">home</action>
4914 </actions>
4915 </button>
4916
4917 <button>
4918 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4919 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4920 <image resource="console"/>
4921 <condition var1="tw_busy" var2="0"/>
4922 <action function="overlay">slideout</action>
4923 </button>
4924
4925 <button>
4926 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4927 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4928 <image resource="back"/>
4929 <condition var1="tw_busy" var2="0"/>
4930 <actions>
4931 <action function="overlay"/>
4932 <action function="key">%tw_back%</action>
4933 </actions>
4934 </button>
4935
4936 <action>
4937 <touch key="power+voldown"/>
4938 <action function="screenshot"/>
4939 </action>
4940 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004941 </pages>
4942</recovery>