blob: 0c30a3499e8ca1834948d1d571b37fe578951460 [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_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300127 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100128 </style>
129
130 <style name="partitionlist">
131 <highlight color="%fileselector_highlight_color%"/>
132 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
133 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
134 <icon selected="checkbox_true" unselected="checkbox_false"/>
135 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
136 <background color="%background_color%"/>
137 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
138 </style>
139
140 <style name="partitionlist_summary">
141 <highlight color="%fileselector_highlight_color%"/>
142 <background color="%background_color%"/>
143 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
144 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
145 </style>
146
147 <style name="partitionlist_headerless_rb">
148 <highlight color="%fileselector_highlight_color%"/>
149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
150 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
151 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
152 <icon selected="radio_true" unselected="radio_false"/>
153 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
154 <background color="%background_color%"/>
155 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
156 </style>
157
158 <style name="partitionlist_headerless_cb">
159 <highlight color="%fileselector_highlight_color%"/>
160 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
161 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
162 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
163 <icon selected="checkbox_true" unselected="checkbox_false"/>
164 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
165 <background color="%background_color%"/>
166 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
167 </style>
168
169 <style name="slider">
170 <placement x="%center_x%" y="%slider_y%"/>
171 <font resource="font_l" color="%text_color%"/>
172 <resource base="slider" used="slider_used" touch="slider_touch"/>
173 </style>
174
175 <style name="slidervalue">
176 <resource handle="handle"/>
177 <font resource="font_m" color="%text_color%"/>
178 <colors line="%fileselector_linecolor%"/>
179 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
180 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100181
182 <style name="patternpassword">
183 <size name="tw_gui_pattern_grid_size" default="3"/>
184 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100185 </styles>
186
187 <pages>
188 <page name="main">
189 <action>
190 <actions>
191 <action function="set">tw_clear_destination=main2</action>
192 <action function="page">clear_vars</action>
193 </actions>
194 </action>
195 </page>
196
197 <page name="main2">
198 <template name="page"/>
199
200 <button style="main_button">
201 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500202 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100203 <action function="page">install_type</action>
204 </button>
205
206 <button style="main_button">
207 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500208 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100209 <action function="page">wipe_type1</action>
210 </button>
211
212 <button style="main_button">
213 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500214 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100215 <actions>
216 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500217 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100218 </actions>
219 </button>
220
221 <button style="main_button">
222 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500223 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100224 <action function="page">restore</action>
225 </button>
226
227 <button style="main_button">
228 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500229 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100230 <action function="page">reboot</action>
231 </button>
232
233 <button>
234 <placement x="%btn4_col4_x%" y="%row11_y%"/>
235 <highlight color="%highlight_color%"/>
236 <image resource="q_btn_arrow_right"/>
237 <action function="page">main3</action>
238 </button>
239 </page>
240
Matt Mower32676622017-01-18 18:56:13 -0600241 <page name="copylog">
242 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400243
Matt Mower32676622017-01-18 18:56:13 -0600244 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400245 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600246 <text>{@include_kernel_log=Include Kernel Log}</text>
247 <data variable="tw_include_kernel_log" value="1"/>
248 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400249
250 <slider>
251 <text>{@swipe_confirm= Confirm}</text>
252 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600253 <action function="set">tw_back=main3</action>
254 <action function="set">tw_action=copylog</action>
255 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
256 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400257 <action function="page">action_page</action>
258 </actions>
259 </slider>
260
261 <action>
262 <touch key="back"/>
263 <action function="page">main2</action>
264 </action>
265
266 <action>
267 <touch key="home"/>
268 <action function="page">main</action>
269 </action>
Matt Mower32676622017-01-18 18:56:13 -0600270 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400271
z31s1g28f0a922015-11-07 18:50:22 +0100272 <page name="main3">
273 <template name="page"/>
274
275 <button style="main_button">
276 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <action function="page">mount</action>
279 </button>
280
281 <button style="main_button">
282 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500283 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100284 <action function="page">settings</action>
285 </button>
286
287 <button style="main_button">
288 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500289 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100290 <action function="page">filemanagerlist</action>
291 </button>
292
293 <button style="main_button">
294 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500295 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400296 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100297 </button>
298
299 <button style="main_button">
300 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500301 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100302 <action function="page">advanced</action>
303 </button>
304
305 <button>
306 <placement x="%col1_x_left%" y="%row11_y%"/>
307 <highlight color="%highlight_color%"/>
308 <image resource="q_btn_arrow_left"/>
309 <action function="page">main2</action>
310 </button>
311
312 <action>
313 <touch key="back"/>
314 <action function="page">main2</action>
315 </action>
316
317 <action>
318 <touch key="home"/>
319 <action function="page">main</action>
320 </action>
321 </page>
322
323 <page name="install_type">
324 <template name="page"/>
325
326 <template name="statusbar"/>
327
328 <text style="text_m">
329 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500330 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100331 </text>
332
333 <button style="main_button_full_width">
334 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500335 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100336 <actions>
337 <action function="queueclear"/>
338 <action function="set">tw_selectimage=0</action>
339 <action function="page">install</action>
340 </actions>
341 </button>
342
343 <button style="main_button_full_width">
344 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500345 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100346 <actions>
347 <action function="queueclear"/>
348 <action function="set">tw_selectimage=1</action>
349 <action function="page">install</action>
350 </actions>
351 </button>
352
353 <button style="main_button_full_width">
354 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 <action function="page">sideload</action>
357 </button>
358
359 <action>
360 <touch key="home"/>
361 <action function="page">main</action>
362 </action>
363
364 <action>
365 <touch key="back"/>
366 <action function="page">main</action>
367 </action>
368 </page>
369
370 <page name="install">
371 <template name="page"/>
372
373 <template name="statusbar"/>
374
375 <text style="text_m">
376 <condition var1="tw_selectimage" var2="0"/>
377 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500378 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100379 </text>
380
381 <text style="text_m">
382 <condition var1="tw_selectimage" var2="1"/>
383 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 </text>
386
387 <fileselector>
388 <condition var1="tw_selectimage" var2="0"/>
389 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
390 <text>%tw_zip_location%</text>
391 <filter extn=".zip" folders="1" files="1"/>
392 <path name="tw_zip_location" default="/sdcard"/>
393 <data name="tw_filename"/>
394 <selection name="tw_file"/>
395 </fileselector>
396
397 <fileselector>
398 <condition var1="tw_selectimage" var2="1"/>
399 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
400 <text>%tw_zip_location%</text>
401 <filter extn=".img" folders="1" files="1"/>
402 <path name="tw_zip_location" default="/sdcard"/>
403 <data name="tw_filename"/>
404 <selection name="tw_file"/>
405 </fileselector>
406
407 <button>
408 <placement x="%btn4_col4_x%" y="%row11_y%"/>
409 <highlight color="%highlight_color%"/>
410 <image resource="q_btn_storage"/>
411 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500412 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100413 <action function="set">tw_back=install</action>
414 <action function="page">select_storage</action>
415 </actions>
416 </button>
417
418 <action>
419 <conditions>
420 <condition var1="tw_selectimage" var2="0"/>
421 <condition var1="tw_filename" op="modified"/>
422 </conditions>
423 <actions>
424 <action function="queuezip"/>
425 <action function="page">flash_queue</action>
426 </actions>
427 </action>
428
429 <action>
430 <conditions>
431 <condition var1="tw_selectimage" var2="1"/>
432 <condition var1="tw_filename" op="modified"/>
433 </conditions>
434 <action function="page">flashimage_type</action>
435 </action>
436
437 <action>
438 <touch key="back"/>
439 <action function="page">install_type</action>
440 </action>
441
442 <action>
443 <touch key="home"/>
444 <action function="page">main</action>
445 </action>
446 </page>
447
448 <page name="flash_queue">
449 <template name="page"/>
450
451 <template name="statusbar"/>
452
453 <text style="text_m">
454 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500455 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100456 </text>
457
458 <text style="text_m_accent">
459 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500460 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100461 </text>
462
463 <text style="text_m">
464 <placement x="%indent%" y="%row2_y%"/>
465 <text>%tw_file%</text>
466 </text>
467
468 <text style="text_m_accent">
469 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m">
474 <placement x="%indent%" y="%row5_y%"/>
475 <text>%tw_zip_location%</text>
476 </text>
477
478 <text style="text_m">
479 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <button>
484 <placement x="%col1_x_left%" y="%row11_y%"/>
485 <highlight color="%highlight_color%"/>
486 <image resource="q_btn_arrow_left"/>
487 <actions>
488 <action function="queueclear"/>
489 <action function="page">install</action>
490 </actions>
491 </button>
492
493 <button>
494 <placement x="%btn4_col2_x%" y="%row11_y%"/>
495 <highlight color="%highlight_color%"/>
496 <image resource="q_btn_addzip"/>
497 <action function="page">install</action>
498 </button>
499
500 <button>
501 <placement x="%btn4_col3_x%" y="%row11_y%"/>
502 <highlight color="%highlight_color%"/>
503 <image resource="q_btn_accept"/>
504 <action function="page">flash_confirm</action>
505 </button>
506
507 <button>
508 <placement x="%btn4_col4_x%" y="%row11_y%"/>
509 <highlight color="%highlight_color%"/>
510 <image resource="q_btn_arrow_right"/>
511 <action function="page">flash_options</action>
512 </button>
513
514 <action>
515 <touch key="back"/>
516 <actions>
517 <action function="queueclear"/>
518 <action function="page">install</action>
519 </actions>
520 </action>
521
522 <action>
523 <touch key="home"/>
524 <action function="page">main</action>
525 </action>
526 </page>
527
528 <page name="flash_options">
529 <template name="page"/>
530
531 <template name="statusbar"/>
532
533 <text style="text_m">
534 <condition var1="tw_selectimage" var2="0"/>
535 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500536 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100537 </text>
538
539 <checkbox>
540 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500541 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <data variable="tw_signed_zip_verify"/>
543 </checkbox>
544
545 <checkbox>
546 <condition var1="tw_has_injecttwrp" var2="1"/>
547 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 <data variable="tw_inject_after_zip"/>
550 </checkbox>
551
bigbiffa869fc72016-03-01 19:40:36 -0500552 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600553 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500554 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600555 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500556 </checkbox>
557
z31s1g28f0a922015-11-07 18:50:22 +0100558 <button>
559 <placement x="%col1_x_left%" y="%row11_y%"/>
560 <highlight color="%highlight_color%"/>
561 <image resource="q_btn_arrow_left"/>
562 <action function="page">flash_queue</action>
563 </button>
564
565 <button>
566 <placement x="%btn4_col4_x%" y="%row11_y%"/>
567 <highlight color="%highlight_color%"/>
568 <image resource="q_btn_accept_transp"/>
569 <action function="page">flash_confirm</action>
570 </button>
571
572 <action>
573 <touch key="back"/>
574 <action function="page">flash_queue</action>
575 </action>
576
577 <action>
578 <touch key="home"/>
579 <action function="page">main</action>
580 </action>
581 </page>
582
583 <page name="flash_confirm">
584 <template name="page"/>
585
586 <template name="statusbar"/>
587
588 <text style="text_m">
589 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500590 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100591 </text>
592
593 <text style="text_m_accent">
594 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500595 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100596 </text>
597
598 <text style="text_m">
599 <placement x="%indent%" y="%row2_y%"/>
600 <text>%tw_file%</text>
601 </text>
602
603 <button>
604 <fill color="%transparent%"/>
605 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
606 <action function="page">flash_queue</action>
607 </button>
608
609 <text style="text_m_accent">
610 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500611 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100612 </text>
613
614 <text style="text_m">
615 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500616 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100617 </text>
618
619 <button>
620 <fill color="%transparent%"/>
621 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
622 <action function="page">flash_queue</action>
623 </button>
624
625 <listbox style="listbox_options">
626 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100628 <data variable="tw_signed_zip_verify"/>
629 </listitem>
630 </listbox>
631
632 <text style="text_m_accent">
633 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100635 </text>
636
637 <text style="text_m">
638 <condition var1="tw_has_injecttwrp" var2="1"/>
639 <condition var1="tw_inject_after_zip" var2="1"/>
640 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500641 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100642 </text>
643
644 <button>
645 <fill color="%transparent%"/>
646 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
647 <action function="page">flash_options</action>
648 </button>
649
650 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500651 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100652 <action function="flash">flash_zip</action>
653 </slider>
654
655 <action>
656 <touch key="back"/>
657 <actions>
658 <action function="cancelzip"/>
659 <action function="page">install</action>
660 </actions>
661 </action>
662
663 <action>
664 <touch key="home"/>
665 <action function="page">main</action>
666 </action>
667 </page>
668
669 <page name="flash_zip">
670 <template name="page"/>
671
672 <template name="statusbar"/>
673
674 <text style="text_m">
675 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600676 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100677 </text>
678
679 <template name="console"/>
680
681 <template name="progress_bar"/>
682
683 <action>
684 <condition var1="tw_operation_state" var2="1"/>
685 <action function="page">flash_done</action>
686 </action>
687 </page>
688
689 <page name="flash_done">
690 <template name="page"/>
691
692 <template name="statusbar"/>
693
694 <text style="text_m_fail">
695 <condition var1="tw_operation_status" op="!=" var2="0"/>
696 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500697 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100698 </text>
699
700 <text style="text_m">
701 <condition var1="tw_operation_status" var2="0"/>
702 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500703 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100704 </text>
705
706 <template name="console"/>
707
708 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500709 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100710 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500711 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100712 <actions>
713 <action function="set">tw_back=flash_done</action>
714 <action function="set">tw_action=wipe</action>
715 <action function="set">tw_action_param=/cache</action>
716 <action function="set">tw_has_action2=1</action>
717 <action function="set">tw_action2=wipe</action>
718 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500719 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
720 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
721 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500722 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
723 <action function="page">confirm_action</action>
724 </actions>
725 </button>
726
727 <button style="main_button_half_height">
728 <condition var1="tw_ab_device" var2="1"/>
729 <placement x="%indent%" y="%row21a_y%"/>
730 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
731 <actions>
732 <action function="set">tw_back=flash_done</action>
733 <action function="set">tw_action=wipe</action>
734 <action function="set">tw_action_param=dalvik</action>
735 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
736 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
737 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
738 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100739 <action function="page">confirm_action</action>
740 </actions>
741 </button>
742
743 <button style="main_button_half_height">
744 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500745 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100746 <actions>
747 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500748 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </actions>
750 </button>
751
752 <action>
753 <touch key="back"/>
754 <actions>
755 <action function="set">tw_clear_destination=install_type</action>
756 <action function="page">clear_vars</action>
757 </actions>
758 </action>
759
760 <action>
761 <touch key="home"/>
762 <actions>
763 <action function="set">tw_clear_destination=main2</action>
764 <action function="page">clear_vars</action>
765 </actions>
766 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500767
768 <action>
769 <conditions>
770 <condition var1="tw_install_reboot" var2="1"/>
771 <condition var1="tw_operation_status" var2="0"/>
772 <condition var1="tw_reboot_system" var2="1"/>
773 </conditions>
774 <actions>
775 <action function="set">tw_sleep=%tw_sleep_total%</action>
776 <action function="page">flash_sleep_and_reboot</action>
777 </actions>
778 </action>
779 </page>
780
781 <page name="flash_sleep_and_reboot">
782 <template name="page"/>
783
784 <template name="statusbar"/>
785
786 <text style="text_m">
787 <placement x="%col1_x_left%" y="%row1_header_y%"/>
788 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
789 </text>
790
791 <template name="console"/>
792
793 <template name="progress_bar"/>
794
795 <button style="main_button_half_height">
796 <condition var1="tw_sleep" op="&gt;" var2="0"/>
797 <placement x="%col1_x_right%" y="%row13_y%"/>
798 <text>{@cancel_btn=Cancel}</text>
799 <actions>
800 <action function="set">tw_install_reboot=0</action>
801 <action function="page">flash_done</action>
802 </actions>
803 </button>
804
805 <action>
806 <conditions>
807 <condition var1="tw_sleep" var2="tw_sleep_total"/>
808 <condition var1="tw_install_reboot" var2="1"/>
809 </conditions>
810 <action function="sleepcounter">%tw_sleep_total%</action>
811 </action>
812
813 <action>
814 <conditions>
815 <condition var1="tw_sleep" var2="0"/>
816 <condition var1="tw_install_reboot" var2="1"/>
817 </conditions>
818 <actions>
819 <action function="sleep">50000</action>
820 <action function="set">tw_back=main2</action>
821 <action function="page">reboot_system_routine</action>
822 </actions>
823 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100824 </page>
825
826 <page name="flashimage_type">
827 <template name="page"/>
828
829 <template name="statusbar"/>
830
831 <text style="text_m">
832 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600833 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100834 </text>
835
836 <partitionlist style="partitionlist_headerless_rb">
837 <data name="tw_flash_partition"/>
838 <listtype name="flashimg"/>
839 </partitionlist>
840
841 <button>
842 <placement x="%col1_x_left%" y="%row11_y%"/>
843 <highlight color="%highlight_color%"/>
844 <image resource="q_btn_arrow_left"/>
845 <action function="page">install</action>
846 </button>
847
848 <button>
849 <placement x="%btn4_col4_x%" y="%row11_y%"/>
850 <highlight color="%highlight_color%"/>
851 <image resource="q_btn_accept_transp"/>
852 <action function="page">flashimage_confirm</action>
853 </button>
854
855 <action>
856 <touch key="back"/>
857 <action function="page">install</action>
858 </action>
859
860 <action>
861 <touch key="home"/>
862 <action function="page">main</action>
863 </action>
864 </page>
865
866 <page name="flashimage_confirm">
867 <template name="page"/>
868
869 <template name="statusbar"/>
870
871 <text style="text_m">
872 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500873 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100874 </text>
875
876 <text style="text_m_accent">
877 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500878 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100879 </text>
880
881 <text style="text_m">
882 <placement x="%indent%" y="%row2_y%"/>
883 <text>%tw_file%</text>
884 </text>
885
886 <button>
887 <fill color="%transparent%"/>
888 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
889 <action function="page">install</action>
890 </button>
891
892 <text style="text_m_accent">
893 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500894 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100895 </text>
896
897 <text style="text_m">
898 <placement x="%indent%" y="%row5_y%"/>
899 <text>%tw_flash_partition%</text>
900 </text>
901
902 <button>
903 <fill color="%transparent%"/>
904 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
905 <action function="page">flashimage_type</action>
906 </button>
907
908 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500909 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100910 <actions>
911 <action function="set">tw_back=flashimage_confirm</action>
912 <action function="set">tw_action=flashimage</action>
913 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100915 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500916 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100917 <action function="page">action_page</action>
918 </actions>
919 <action function="flashimage"/>
920 </slider>
921
922 <action>
923 <touch key="back"/>
924 <actions>
925 <action function="set">tw_clear_destination=install</action>
926 <action function="page">clear_vars</action>
927 </actions>
928 </action>
929
930 <action>
931 <touch key="home"/>
932 <actions>
933 <action function="set">tw_clear_destination=main2</action>
934 <action function="page">clear_vars</action>
935 </actions>
936 </action>
937 </page>
938
939 <page name="clear_vars">
940 <action>
941 <action function="set">tw_operation_state=0</action>
942 <action function="set">tw_text1=</action>
943 <action function="set">tw_text2=</action>
944 <action function="set">tw_text3=</action>
945 <action function="set">tw_text4=</action>
946 <action function="set">tw_action_text1=</action>
947 <action function="set">tw_action_text2=</action>
948 <action function="set">tw_action_param=</action>
949 <action function="set">tw_has_action2=0</action>
950 <action function="set">tw_action2=</action>
951 <action function="set">tw_action2_param=</action>
952 <action function="set">tw_has_cancel=0</action>
953 <action function="set">tw_cancel_action=</action>
954 <action function="set">tw_cancel_param=</action>
955 <action function="set">tw_show_exclamation=0</action>
956 <action function="set">tw_show_reboot=0</action>
957 <action function="page">%tw_clear_destination%</action>
958 </action>
959 </page>
960
Matt Mower908dd252016-05-25 02:26:50 -0500961 <page name="reboot_system_routine">
962 <action>
963 <action function="set">tw_back=main2</action>
964 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500965 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500966 <action function="set">tw_has_action2=0</action>
967 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
968 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
969 <action function="set">tw_text3=</action>
970 <action function="set">tw_text4=</action>
971 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
972 <action function="set">tw_action_text2=</action>
973 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
974 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
975 <action function="page">rebootcheck</action>
976 </action>
977 </page>
978
z31s1g28f0a922015-11-07 18:50:22 +0100979 <page name="confirm_action">
980 <template name="page"/>
981
982 <template name="statusbar"/>
983
984 <text style="text_m">
985 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500986 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100987 </text>
988
989 <text style="text_m_accent">
990 <placement x="%center_x%" y="%row2_y%" placement="5"/>
991 <text>%tw_text1%</text>
992 </text>
993
994 <text style="text_m_accent">
995 <placement x="%center_x%" y="%row3_y%" placement="5"/>
996 <text>%tw_text2%</text>
997 </text>
998
999 <text style="text_m">
1000 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1001 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1002 <text>%tw_text3%</text>
1003 </text>
1004
1005 <text style="text_m">
1006 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1007 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1008 <text>%tw_text4%</text>
1009 </text>
1010
1011 <text style="text_m_fail">
1012 <condition var1="tw_action" var2="changefilesystem"/>
1013 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1014 <text>%tw_text3%</text>
1015 </text>
1016
1017 <text style="text_m_fail">
1018 <condition var1="tw_action" var2="changefilesystem"/>
1019 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1020 <text>%tw_text4%</text>
1021 </text>
1022
1023 <text style="text_m">
1024 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <slider>
1029 <text>%tw_slider_text%</text>
1030 <action function="page">action_page</action>
1031 </slider>
1032
1033 <action>
1034 <touch key="back"/>
1035 <actions>
1036 <action function="set">tw_clear_destination=%tw_back%</action>
1037 <action function="page">clear_vars</action>
1038 </actions>
1039 </action>
1040
1041 <action>
1042 <touch key="home"/>
1043 <action function="page">main</action>
1044 </action>
1045 </page>
1046
1047 <page name="action_page">
1048 <template name="page"/>
1049
1050 <template name="statusbar"/>
1051
1052 <text style="text_m">
1053 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1054 <text>%tw_action_text1% %tw_action_text2%</text>
1055 </text>
1056
1057 <template name="console"/>
1058
1059 <template name="progress_bar"/>
1060
1061 <button style="main_button_half_height">
1062 <condition var1="tw_has_cancel" var2="1"/>
1063 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1066 </button>
1067
1068 <action>
1069 <condition var1="tw_operation_state" var2="1"/>
1070 <actions>
1071 <action function="page">action_complete</action>
1072 </actions>
1073 </action>
1074
1075 <action>
1076 <condition var1="tw_has_action2" var2="0"/>
1077 <actions>
1078 <action function="%tw_action%">%tw_action_param%</action>
1079 </actions>
1080 </action>
1081
1082 <action>
1083 <condition var1="tw_has_action2" var2="1"/>
1084 <actions>
1085 <action function="%tw_action%">%tw_action_param%</action>
1086 <action function="%tw_action2%">%tw_action2_param%</action>
1087 </actions>
1088 </action>
1089 </page>
1090
1091 <page name="singleaction_page">
1092 <template name="page"/>
1093
1094 <template name="statusbar"/>
1095
1096 <text style="text_m">
1097 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1098 <text>%tw_action_text1% %tw_action_text2%</text>
1099 </text>
1100
1101 <template name="console"/>
1102
1103 <template name="progress_bar"/>
1104
1105 <action>
1106 <condition var1="tw_operation_state" var2="1"/>
1107 <actions>
1108 <action function="set">tw_page_done=1</action>
1109 </actions>
1110 </action>
1111
1112 <action>
1113 <condition var1="tw_has_action2" var2="0"/>
1114 <actions>
1115 <action function="%tw_action%">%tw_action_param%</action>
1116 </actions>
1117 </action>
1118
1119 <action>
1120 <condition var1="tw_has_action2" var2="1"/>
1121 <actions>
1122 <action function="%tw_action%">%tw_action_param%</action>
1123 <action function="%tw_action2%">%tw_action2_param%</action>
1124 </actions>
1125 </action>
1126 </page>
1127
1128 <page name="action_complete">
1129 <template name="page"/>
1130
1131 <template name="statusbar"/>
1132
1133 <text style="text_m_fail">
1134 <condition var1="tw_operation_status" op="!=" var2="0"/>
1135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001136 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001137 </text>
1138
1139 <text style="text_m">
1140 <condition var1="tw_operation_status" var2="0"/>
1141 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001142 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001143 </text>
1144
1145 <template name="console"/>
1146
1147 <button style="main_button_half_height">
1148 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001149 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001150 <actions>
1151 <action function="set">tw_clear_destination=%tw_back%</action>
1152 <action function="page">clear_vars</action>
1153 </actions>
1154 </button>
1155
1156 <button style="main_button_half_height">
1157 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 <actions>
1160 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001161 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001162 </actions>
1163 </button>
1164
1165 <action>
1166 <touch key="home"/>
1167 <actions>
1168 <action function="set">tw_clear_destination=main2</action>
1169 <action function="page">clear_vars</action>
1170 </actions>
1171 </action>
1172
1173 <action>
1174 <touch key="back"/>
1175 <actions>
1176 <action function="set">tw_clear_destination=%tw_back%</action>
1177 <action function="page">clear_vars</action>
1178 </actions>
1179 </action>
1180 </page>
1181
1182 <page name="filecheck">
1183 <action>
1184 <action function="fileexists">%tw_filecheck%</action>
1185 </action>
1186
1187 <action>
1188 <conditions>
1189 <condition var1="tw_operation_state" var2="1"/>
1190 <condition var1="tw_operation_status" var2="0"/>
1191 </conditions>
1192 <actions>
1193 <action function="set">tw_fileexists=1</action>
1194 <action function="page">%tw_existpage%</action>
1195 </actions>
1196 </action>
1197
1198 <action>
1199 <conditions>
1200 <condition var1="tw_operation_state" var2="1"/>
1201 <condition var1="tw_operation_status" var2="1"/>
1202 </conditions>
1203 <actions>
1204 <action function="set">tw_fileexists=0</action>
1205 <action function="page">%tw_notexistpage%</action>
1206 </actions>
1207 </action>
1208 </page>
1209
1210 <page name="rebootcheck">
1211 <action>
1212 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001213 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </action>
1215
1216 <action>
1217 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1218 <action function="page">confirm_action</action>
1219 </action>
1220 </page>
1221
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001222 <page name="appcheck">
1223 <action>
1224 <condition var1="tw_app_prompt" var2="1"/>
1225 <action function="checkforapp"></action>
1226 </action>
1227
1228 <action>
1229 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1230 <action function="reboot">%tw_reboot_param%</action>
1231 </action>
1232
1233 <action>
1234 <condition var1="tw_app_install_status" var2="1"/>
1235 <action function="page">rebootapp</action>
1236 </action>
1237
1238 <action>
1239 <condition var1="tw_app_install_status" var2="2"/>
1240 <action function="reboot">%tw_reboot_param%</action>
1241 </action>
1242 </page>
1243
z31s1g28f0a922015-11-07 18:50:22 +01001244 <page name="wipe_type1">
1245 <template name="page"/>
1246
1247 <template name="statusbar"/>
1248
1249 <text style="text_m">
1250 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
1254 <button style="main_button_full_width">
1255 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 <action function="page">wipe</action>
1258 </button>
1259
1260 <button style="main_button_full_width">
1261 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 <actions>
1264 <action function="set">partitionlisterror=0</action>
1265 <action function="page">advancedwipe</action>
1266 </actions>
1267 </button>
1268
1269 <button>
1270 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1271 <highlight color="%highlight_color%"/>
1272 <image resource="q_btn_arrow_right"/>
1273 <action function="page">wipe_type2</action>
1274 </button>
1275
1276 <action>
1277 <touch key="home"/>
1278 <action function="page">main</action>
1279 </action>
1280
1281 <action>
1282 <touch key="back"/>
1283 <action function="page">main</action>
1284 </action>
1285 </page>
1286
1287 <page name="wipe_type2">
1288 <template name="page"/>
1289
1290 <template name="statusbar"/>
1291
1292 <text style="text_m">
1293 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <button style="main_button_full_width">
1298 <condition var1="tw_has_data_media" var2="1"/>
1299 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 <action function="page">formatdata</action>
1302 </button>
1303
1304 <button style="main_button_full_width">
1305 <conditions>
1306 <condition var1="tw_is_encrypted" var2="1"/>
1307 <condition var1="tw_has_data_media" var2="0"/>
1308 </conditions>
1309 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <actions>
1312 <action function="set">tw_back=wipe</action>
1313 <action function="set">tw_action=wipe</action>
1314 <action function="set">tw_action_param=DATAMEDIA</action>
1315 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001317 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1319 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1320 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <action function="page">confirm_action</action>
1322 </actions>
1323 </button>
1324
1325 <button style="main_button_full_width">
1326 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="set">partitionlisterror=0</action>
1329 <action function="page">partitionoptions_select</action>
1330 </actions>
1331 </button>
1332
1333 <button>
1334 <placement x="%col1_x_left%" y="%row11_y%"/>
1335 <highlight color="%highlight_color%"/>
1336 <image resource="q_btn_arrow_left"/>
1337 <action function="page">wipe_type1</action>
1338 </button>
1339
1340 <action>
1341 <touch key="home"/>
1342 <action function="page">main</action>
1343 </action>
1344
1345 <action>
1346 <touch key="back"/>
1347 <action function="page">main</action>
1348 </action>
1349 </page>
1350
1351 <page name="wipe">
1352 <template name="page"/>
1353
1354 <template name="statusbar"/>
1355
1356 <text style="text_m">
1357 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <text style="text_m_accent">
1362 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m_accent">
1367 <condition var1="tw_has_data_media" var2="1"/>
1368 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001370 </text>
1371
1372 <text style="text_m_accent">
1373 <conditions>
1374 <condition var1="tw_has_android_secure" var2="1"/>
1375 <condition var1="fileexists" var2="/and-sec"/>
1376 </conditions>
1377 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001378 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001379 </text>
1380
1381 <text style="text_m_accent">
1382 <condition var1="tw_has_sdext_partition" var2="1"/>
1383 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001385 </text>
1386
1387 <text style="text_m">
1388 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001390 </text>
1391
1392 <text style="text_m">
1393 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001395 </text>
1396
1397 <text style="text_m">
1398 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <actions>
1405 <action function="set">tw_back=wipe</action>
1406 <action function="set">tw_action=wipe</action>
1407 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1409 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="page">action_page</action>
1411 </actions>
1412 </slider>
1413
1414 <action>
1415 <touch key="back"/>
1416 <action function="page">wipe_type1</action>
1417 </action>
1418
1419 <action>
1420 <touch key="home"/>
1421 <action function="page">main</action>
1422 </action>
1423 </page>
1424
1425 <page name="advancedwipe">
1426 <action>
1427 <action function="set">tw_wipe_list=</action>
1428 </action>
1429
1430 <template name="page"/>
1431
1432 <template name="statusbar"/>
1433
1434 <text style="text_m">
1435 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001436 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001437 </text>
1438
1439 <partitionlist style="partitionlist_headerless_cb">
1440 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1441 <data name="tw_wipe_list"/>
1442 <listtype name="wipe"/>
1443 </partitionlist>
1444
1445 <fill color="%accent_color%">
1446 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1447 </fill>
1448
1449 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001450 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001451 <actions>
1452 <action function="set">tw_back=advancedwipe</action>
1453 <action function="set">tw_action=wipe</action>
1454 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001455 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1456 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1457 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <action function="page">action_page</action>
1459 </actions>
1460 </slider>
1461
1462 <action>
1463 <touch key="home"/>
1464 <action function="page">main</action>
1465 </action>
1466
1467 <action>
1468 <touch key="back"/>
1469 <action function="page">wipe_type1</action>
1470 </action>
1471 </page>
1472
1473 <page name="formatdata">
1474 <template name="page"/>
1475
1476 <template name="statusbar"/>
1477
1478 <text style="text_m">
1479 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001480 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001481 </text>
1482
1483 <text style="text_m_fail">
1484 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 </text>
1487
1488 <text style="text_m_fail">
1489 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 </text>
1492
1493 <text style="text_m">
1494 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <input>
1499 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1500 <text>%tw_confirm_formatdata%</text>
1501 <data name="tw_confirm_formatdata"/>
1502 <restrict minlen="3" maxlen="3" allow="yes"/>
1503 <action function="page">formatdata_confirm</action>
1504 </input>
1505
1506 <fill color="%accent_color%">
1507 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1508 </fill>
1509
1510 <template name="keyboardtemplate"/>
1511
1512 <action>
1513 <touch key="home"/>
1514 <action function="page">main</action>
1515 </action>
1516
1517 <action>
1518 <touch key="back"/>
1519 <action function="page">wipe_type2</action>
1520 </action>
1521 </page>
1522
1523 <page name="formatdata_confirm">
1524 <action>
1525 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1526 <actions>
1527 <action function="set">tw_back=formatdata</action>
1528 <action function="set">tw_action=wipe</action>
1529 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1531 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001532 <action function="page">action_page</action>
1533 </actions>
1534 </action>
1535
1536 <action>
1537 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1538 <action function="page">formatdata</action>
1539 </action>
1540 </page>
1541
1542 <page name="checkpartitionlist">
1543 <action>
1544 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1545 <actions>
1546 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001547 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001548 <action function="page">partitionoptions</action>
1549 </actions>
1550 </action>
1551
1552 <action>
1553 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1554 <actions>
1555 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">partitionoptions_select</action>
1557 </actions>
1558 </action>
1559 </page>
1560
1561 <page name="partitionoptions_select">
1562 <action>
1563 <action function="set">tw_wipe_list=</action>
1564 </action>
1565
1566 <template name="page"/>
1567
1568 <template name="statusbar"/>
1569
1570 <text style="text_m">
1571 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001572 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001573 </text>
1574
1575 <partitionlist style="partitionlist_headerless_cb">
1576 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1577 <data name="tw_wipe_list"/>
1578 <listtype name="wipe"/>
1579 </partitionlist>
1580
1581 <fill color="%accent_color%">
1582 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1583 </fill>
1584
z31s1g28f0a922015-11-07 18:50:22 +01001585 <text style="text_m_fail">
1586 <condition var1="partitionlisterror" var2="1"/>
1587 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 </text>
1590
1591 <button>
1592 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1593 <highlight color="%highlight_color%"/>
1594 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001595 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <action function="page">checkpartitionlist</action>
1597 </actions>
1598 </button>
1599
1600 <action>
1601 <touch key="home"/>
1602 <action function="page">main</action>
1603 </action>
1604
1605 <action>
1606 <touch key="back"/>
1607 <action function="page">wipe_type2</action>
1608 </action>
1609 </page>
1610
1611 <page name="partitionoptions">
1612
1613 <template name="page"/>
1614
1615 <template name="statusbar"/>
1616
1617 <text style="text_m">
1618 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 </text>
1621
1622 <text style="text_m_accent">
1623 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 </text>
1626
1627 <text style="text_m_accent">
1628 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 </text>
1631
1632 <text style="text_m">
1633 <condition var1="tw_partition_is_present" var2="1"/>
1634 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001635 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001636 </text>
1637
1638 <text style="text_m">
1639 <condition var1="tw_partition_is_present" var2="0"/>
1640 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 </text>
1643
1644 <text style="text_m">
1645 <condition var1="tw_partition_removable" var2="1"/>
1646 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001647 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001648 </text>
1649
1650 <text style="text_m">
1651 <condition var1="tw_partition_removable" var2="0"/>
1652 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001653 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001654 </text>
1655
1656 <text style="text_m">
1657 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </text>
1660
1661 <text style="text_m">
1662 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </text>
1675
1676 <button style="main_button">
1677 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1678 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <actions>
1681 <action function="set">tw_back=partitionoptions</action>
1682 <action function="set">tw_action=resize</action>
1683 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1684 <action function="set">tw_has_action2=1</action>
1685 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001686 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001688 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1690 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1691 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <action function="page">confirm_action</action>
1693 </actions>
1694 </button>
1695
1696 <button style="main_button">
1697 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1698 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <actions>
1701 <action function="set">tw_back=partitionoptions</action>
1702 <action function="set">tw_action=repair</action>
1703 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1704 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001705 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001706 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001707 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1708 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1709 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">confirm_action</action>
1711 </actions>
1712 </button>
1713
1714 <button>
1715 <placement x="%col1_x_left%" y="%row11_y%"/>
1716 <highlight color="%highlight_color%"/>
1717 <image resource="q_btn_arrow_left"/>
1718 <action function="page">partitionoptions_select</action>
1719 </button>
1720
1721 <button style="main_button">
1722 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 <action function="page">selectfilesystem</action>
1725 </button>
1726
1727 <action>
1728 <touch key="home"/>
1729 <action function="page">main</action>
1730 </action>
1731
1732 <action>
1733 <touch key="back"/>
1734 <action function="page">partitionoptions_select</action>
1735 </action>
1736 </page>
1737
1738 <page name="refreshfilesystem">
1739 <action>
1740 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1741 <actions>
1742 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001743 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001744 <action function="page">selectfilesystem</action>
1745 </actions>
1746 </action>
1747
1748 <action>
1749 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1750 <actions>
1751 <action function="set">partitionlisterror=1</action>
1752 <action function="set">tw_wipe_list=</action>
1753 <action function="page">advancedwipe</action>
1754 </actions>
1755 </action>
1756 </page>
1757
1758 <page name="selectfilesystem">
1759 <template name="page"/>
1760
1761 <template name="statusbar"/>
1762
1763 <text style="text_m">
1764 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001765 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001766 </text>
1767
1768 <button style="main_button">
1769 <condition var1="tw_partition_ext" op="=" var2="1"/>
1770 <placement x="%col1_x_left%" y="%row1_y%"/>
1771 <text>EXT2</text>
1772 <actions>
1773 <action function="set">tw_back=refreshfilesystem</action>
1774 <action function="set">tw_action=changefilesystem</action>
1775 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1776 <action function="set">tw_action_new_file_system=ext2</action>
1777 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1779 <action function="set">tw_text2=EXT2</action>
1780 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1781 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1782 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1783 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1784 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <action function="page">confirm_action</action>
1786 </actions>
1787 </button>
1788
1789 <button style="main_button">
1790 <condition var1="tw_partition_ext" op="=" var2="1"/>
1791 <placement x="%col1_x_left%" y="%row6_y%"/>
1792 <text>EXT3</text>
1793 <actions>
1794 <action function="set">tw_back=refreshfilesystem</action>
1795 <action function="set">tw_action=changefilesystem</action>
1796 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1797 <action function="set">tw_action_new_file_system=ext3</action>
1798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001799 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1800 <action function="set">tw_text2=EXT3</action>
1801 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1802 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1803 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1804 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1805 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001806 <action function="page">confirm_action</action>
1807 </actions>
1808 </button>
1809
1810 <button style="main_button">
1811 <condition var1="tw_partition_ext" op="=" var2="1"/>
1812 <placement x="%col1_x_left%" y="%row11_y%"/>
1813 <text>EXT4</text>
1814 <actions>
1815 <action function="set">tw_back=refreshfilesystem</action>
1816 <action function="set">tw_action=changefilesystem</action>
1817 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1818 <action function="set">tw_action_new_file_system=ext4</action>
1819 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1821 <action function="set">tw_text2=EXT4</action>
1822 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1823 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1824 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1825 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1826 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">confirm_action</action>
1828 </actions>
1829 </button>
1830
1831 <button style="main_button">
1832 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1833 <placement x="%col1_x_right%" y="%row1_y%"/>
1834 <text>FAT</text>
1835 <actions>
1836 <action function="set">tw_back=refreshfilesystem</action>
1837 <action function="set">tw_action=changefilesystem</action>
1838 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1839 <action function="set">tw_action_new_file_system=vfat</action>
1840 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1842 <action function="set">tw_text2=FAT</action>
1843 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1844 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1845 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1846 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1847 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <action function="page">confirm_action</action>
1849 </actions>
1850 </button>
1851
1852 <button style="main_button">
1853 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1854 <placement x="%col1_x_right%" y="%row6_y%"/>
1855 <text>exFAT</text>
1856 <actions>
1857 <action function="set">tw_back=refreshfilesystem</action>
1858 <action function="set">tw_action=changefilesystem</action>
1859 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1860 <action function="set">tw_action_new_file_system=exfat</action>
1861 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1863 <action function="set">tw_text2=exFAT</action>
1864 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1865 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1866 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1867 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1868 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001869 <action function="page">confirm_action</action>
1870 </actions>
1871 </button>
1872
1873 <button style="main_button">
1874 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1875 <placement x="%col1_x_right%" y="%row11_y%"/>
1876 <text>F2FS</text>
1877 <actions>
1878 <action function="set">tw_back=refreshfilesystem</action>
1879 <action function="set">tw_action=changefilesystem</action>
1880 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1881 <action function="set">tw_action_new_file_system=f2fs</action>
1882 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1884 <action function="set">tw_text2=F2FS</action>
1885 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1886 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1887 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1888 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1889 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001890 <action function="page">confirm_action</action>
1891 </actions>
1892 </button>
1893
1894 <action>
1895 <touch key="home"/>
1896 <action function="page">main</action>
1897 </action>
1898
1899 <action>
1900 <touch key="back"/>
1901 <action function="page">partitionoptions</action>
1902 </action>
1903 </page>
1904
bigbiffce8f83c2015-12-12 18:30:21 -05001905 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001906 <template name="page"/>
1907
1908 <template name="statusbar"/>
1909
1910 <text style="text_m">
1911 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </text>
1914
1915 <partitionlist style="partitionlist_headerless_rb">
1916 <data name="tw_storage_path"/>
1917 <listtype name="storage"/>
1918 </partitionlist>
1919
1920 <button>
1921 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1922 <highlight color="%highlight_color%"/>
1923 <image resource="q_btn_refresh"/>
1924 <actions>
1925 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001926 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 </actions>
1928 </button>
1929
1930 <button>
1931 <condition var1="tw_back" var2="backup_confirm"/>
1932 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1933 <highlight color="%highlight_color%"/>
1934 <image resource="q_btn_accept"/>
1935 <action function="page">backup_confirm</action>
1936 </button>
1937
1938 <button>
1939 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1940 <highlight color="%highlight_color%"/>
1941 <image resource="q_btn_arrow_right"/>
1942 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001943 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001944 <action function="page">backup_selectpartitions</action>
1945 </actions>
1946 </button>
1947
1948 <action>
1949 <touch key="home"/>
1950 <action function="page">main</action>
1951 </action>
1952
1953 <action>
1954 <touch key="back"/>
1955 <action function="page">%tw_back%</action>
1956 </action>
1957
1958 <action>
1959 <touch key="power+voldown"/>
1960 <action function="screenshot"/>
1961 </action>
1962 </page>
1963
1964 <page name="backup_selectpartitions">
1965 <template name="page"/>
1966
1967 <template name="statusbar"/>
1968
1969 <text style="text_m">
1970 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001971 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001972 </text>
1973
1974 <partitionlist style="partitionlist_headerless_cb">
1975 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1976 <data name="tw_backup_list"/>
1977 <listtype name="backup"/>
1978 </partitionlist>
1979
1980 <fill color="%accent_color%">
1981 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1982 </fill>
1983
1984 <button>
1985 <placement x="%col1_x_left%" y="%row11_y%"/>
1986 <highlight color="%highlight_color%"/>
1987 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001988 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001989 </button>
1990
1991 <button>
1992 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1993 <highlight color="%highlight_color%"/>
1994 <image resource="q_btn_refresh"/>
1995 <action function="page">backup_selectpartitions</action>
1996 </button>
1997
1998 <button>
1999 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2000 <highlight color="%highlight_color%"/>
2001 <image resource="q_btn_accept"/>
2002 <action function="page">backup_confirm</action>
2003 </button>
2004
2005 <button>
2006 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2007 <highlight color="%highlight_color%"/>
2008 <image resource="q_btn_arrow_right"/>
2009 <actions>
2010 <action function="set">tw_back=backup_selectpartitions</action>
2011 <action function="page">backup_options</action>
2012 </actions>
2013 </button>
2014
2015 <action>
2016 <touch key="home"/>
2017 <action function="page">main</action>
2018 </action>
2019
2020 <action>
2021 <touch key="back"/>
2022 <action function="page">%tw_back%</action>
2023 </action>
2024
2025 <action>
2026 <touch key="power+voldown"/>
2027 <action function="screenshot"/>
2028 </action>
2029 </page>
2030
2031 <page name="backup_options">
2032 <template name="page"/>
2033
2034 <template name="statusbar"/>
2035
2036 <text style="text_m">
2037 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002038 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002039 </text>
2040
2041 <listbox style="scrolllist">
2042 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002043 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002044 <data variable="tw_use_compression"/>
2045 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002046 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2047 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002048 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002049 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002050 <data variable="tw_disable_free_space"/>
2051 </listitem>
2052 </listbox>
2053
2054 <button>
2055 <placement x="%col1_x_left%" y="%row11_y%"/>
2056 <highlight color="%highlight_color%"/>
2057 <image resource="q_btn_arrow_left"/>
2058 <action function="page">backup_selectpartitions</action>
2059 </button>
2060
2061 <button>
2062 <conditions>
2063 <condition var1="tw_include_encrypted_backup" var2="1"/>
2064 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002065 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002066 </conditions>
2067 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2068 <highlight color="%highlight_color%"/>
2069 <image resource="q_btn_encryption_dis"/>
2070 <actions>
2071 <action function="set">tw_password_not_match=0</action>
2072 <action function="set">tw_back=backup_options</action>
2073 <action function="page">backupencryption</action>
2074 </actions>
2075 </button>
2076
2077 <button>
2078 <conditions>
2079 <condition var1="tw_include_encrypted_backup" var2="1"/>
2080 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002081 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002082 </conditions>
2083 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2084 <highlight color="%highlight_color%"/>
2085 <image resource="q_btn_encryption_en"/>
2086 <actions>
2087 <action function="set">tw_password_not_match=0</action>
2088 <action function="set">tw_back=backup_options</action>
2089 <action function="page">backupencryption</action>
2090 </actions>
2091 </button>
2092
2093 <button>
2094 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2095 <highlight color="%highlight_color%"/>
2096 <image resource="q_btn_accept_transp"/>
2097 <actions>
2098 <action function="set">tw_back=backup_options</action>
2099 <action function="page">backup_confirm</action>
2100 </actions>
2101 </button>
2102
2103 <action>
2104 <touch key="home"/>
2105 <action function="page">main</action>
2106 </action>
2107
2108 <action>
2109 <touch key="back"/>
2110 <action function="page">%tw_back%</action>
2111 </action>
2112
2113 <action>
2114 <touch key="power+voldown"/>
2115 <action function="screenshot"/>
2116 </action>
2117 </page>
2118
2119 <page name="backup_confirm">
2120 <template name="page"/>
2121
2122 <template name="statusbar"/>
2123
2124 <text style="text_m">
2125 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002126 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002127 </text>
2128
2129 <text style="text_m_accent">
2130 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002131 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002132 </text>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_left%" y="%row2_y%"/>
2136 <text>%tw_backup_name%</text>
2137 </text>
2138
2139 <fill color="%accent_color%">
2140 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2141 </fill>
2142
2143 <button>
2144 <fill color="%transparent%"/>
2145 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2146 <actions>
2147 <action function="set">tw_back=backup_confirm</action>
2148 <action function="set">tw_fileexists=0</action>
2149 <action function="page">backup_name1</action>
2150 </actions>
2151 </button>
2152
2153 <fill color="%background_color%">
2154 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2155 </fill>
2156
2157 <text style="text_m_accent">
2158 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 </text>
2161
2162 <partitionlist style="partitionlist_summary">
2163 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2164 <data name="tw_backup_list"/>
2165 <listtype name="backup"/>
2166 </partitionlist>
2167
2168 <button>
2169 <fill color="%transparent%"/>
2170 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2171 <actions>
2172 <action function="set">tw_back=backup_confirm</action>
2173 <action function="page">backup_selectpartitions</action>
2174 </actions>
2175 </button>
2176
2177 <text style="text_m_accent">
2178 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002179 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002180 </text>
2181
2182 <text style="text_m">
2183 <placement x="%col1_x_right%" y="%row2_y%"/>
2184 <text>%tw_storage_display_name%</text>
2185 </text>
2186
2187 <button>
2188 <fill color="%transparent%"/>
2189 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2190 <actions>
2191 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002192 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002193 </actions>
2194 </button>
2195
2196 <text style="text_m_accent">
2197 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <text style="text_m">
2202 <conditions>
2203 <condition var1="tw_include_encrypted_backup" var2="1"/>
2204 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002205 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002206 </conditions>
2207 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <conditions>
2213 <condition var1="tw_include_encrypted_backup" var2="1"/>
2214 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002215 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002216 </conditions>
2217 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002218 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002219 </text>
2220
2221 <button>
2222 <fill color="%transparent%"/>
2223 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2224 <actions>
2225 <action function="set">tw_back=backup_confirm</action>
2226 <action function="page">backupencryption</action>
2227 </actions>
2228 </button>
2229
2230 <listbox style="listbox_options">
2231 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002232 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002233 <data variable="tw_use_compression"/>
2234 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002235 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2236 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002238 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002239 <data variable="tw_disable_free_space"/>
2240 </listitem>
2241 </listbox>
2242
2243 <text style="text_m_accent">
2244 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 </text>
2247
2248 <button>
2249 <fill color="%transparent%"/>
2250 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2251 <actions>
2252 <action function="set">tw_back=backup_confirm</action>
2253 <action function="page">backup_options</action>
2254 </actions>
2255 </button>
2256
2257 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002258 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <action function="page">backup_run</action>
2260 </slider>
2261
2262 <action>
2263 <touch key="home"/>
2264 <action function="page">main</action>
2265 </action>
2266
2267 <action>
2268 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002269 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 </action>
2271 </page>
2272
2273 <page name="backup_name1">
2274 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <action function="generatebackupname"/>
2277 </action>
2278
2279 <action>
2280 <action function="page">backup_name2</action>
2281 </action>
2282 </page>
2283
2284 <page name="backup_name2">
2285 <template name="page"/>
2286
2287 <template name="statusbar"/>
2288
2289 <text style="text_m">
2290 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002291 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002292 </text>
2293
2294 <text style="text_m_accent">
2295 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002297 </text>
2298
2299 <input>
2300 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2301 <text>%tw_backup_name%</text>
2302 <data name="tw_backup_name"/>
2303 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2304 <actions>
2305 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2306 <action function="set">tw_existpage=backup_name2</action>
2307 <action function="set">tw_notexistpage=backup_confirm</action>
2308 <action function="page">filecheck</action>
2309 </actions>
2310 </input>
2311
2312 <fill color="%accent_color%">
2313 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2314 </fill>
2315
2316 <fill color="%text_fail_color%">
2317 <condition var1="tw_fileexists" var2="1"/>
2318 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2319 </fill>
2320
2321 <text style="text_m_fail">
2322 <condition var1="tw_fileexists" var2="1"/>
2323 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002324 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002325 </text>
2326
2327 <button style="main_button_half_height">
2328 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002330 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002331 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002332 <action function="page">backup_confirm</action>
2333 </actions>
2334 </button>
2335
2336 <button style="main_button_half_height">
2337 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002338 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002339 <action function="appenddatetobackupname"/>
2340 </button>
2341
2342 <template name="keyboardtemplate"/>
2343
2344 <action>
2345 <touch key="home"/>
2346 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002347 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002348 <action function="page">main</action>
2349 </actions>
2350 </action>
2351
2352 <action>
2353 <touch key="back"/>
2354 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002355 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002356 <action function="page">backup_confirm</action>
2357 </actions>
2358 </action>
2359 </page>
2360
2361 <page name="backupencryption">
2362 <template name="page"/>
2363
2364 <template name="statusbar"/>
2365
2366 <text style="text_m">
2367 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <text style="text_m_accent">
2372 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002374 </text>
2375
2376 <input>
2377 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2378 <text>%tw_backup_encrypt_display%</text>
2379 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2380 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2381 <action function="page">backupencryption2</action>
2382 </input>
2383
2384 <fill color="%accent_color%">
2385 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2386 </fill>
2387
2388 <fill color="%text_fail_color%">
2389 <condition var1="tw_password_not_match" var2="1"/>
2390 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2391 </fill>
2392
2393 <text style="text_m_fail">
2394 <condition var1="tw_password_not_match" var2="1"/>
2395 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002396 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002397 </text>
2398
2399 <button style="main_button_half_height">
2400 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 <actions>
2403 <action function="set">tw_encrypt_backup=0</action>
2404 <action function="set">tw_backup_password=</action>
2405 <action function="set">tw_backup_password2=</action>
2406 <action function="set">tw_backup_encrypt_display=</action>
2407 <action function="set">tw_backup_encrypt_display2=</action>
2408 <action function="page">%tw_back%</action>
2409 </actions>
2410 </button>
2411
2412 <template name="keyboardtemplate"/>
2413
2414 <action>
2415 <touch key="home"/>
2416 <action function="page">main</action>
2417 </action>
2418
2419 <action>
2420 <touch key="back"/>
2421 <action function="page">%tw_back%</action>
2422 </action>
2423 </page>
2424
2425 <page name="backupencryption2">
2426 <template name="page"/>
2427
2428 <template name="statusbar"/>
2429
2430 <text style="text_m">
2431 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 </text>
2434
2435 <text style="text_m_accent">
2436 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 </text>
2439
2440 <input>
2441 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2442 <text>%tw_backup_encrypt_display2%</text>
2443 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2444 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2445 <action function="page">checkbackuppassword</action>
2446 </input>
2447
2448 <fill color="%accent_color%">
2449 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2450 </fill>
2451
2452 <button style="main_button_half_height">
2453 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 <actions>
2456 <action function="set">tw_encrypt_backup=0</action>
2457 <action function="set">tw_backup_password=</action>
2458 <action function="set">tw_backup_password2=</action>
2459 <action function="set">tw_backup_encrypt_display=</action>
2460 <action function="set">tw_backup_encrypt_display2=</action>
2461 <action function="page">%tw_back%</action>
2462 </actions>
2463 </button>
2464
2465 <template name="keyboardtemplate"/>
2466
2467 <action>
2468 <touch key="home"/>
2469 <action function="page">main</action>
2470 </action>
2471
2472 <action>
2473 <touch key="back"/>
2474 <action function="page">%tw_back%</action>
2475 </action>
2476 </page>
2477
2478 <page name="checkbackuppassword">
2479 <action>
2480 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2481 <actions>
2482 <action function="set">tw_encrypt_backup=1</action>
2483 <action function="page">%tw_back%</action>
2484 </actions>
2485 </action>
2486
2487 <action>
2488 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2489 <actions>
2490 <action function="set">tw_encrypt_backup=0</action>
2491 <action function="set">tw_password_not_match=1</action>
2492 <action function="set">tw_backup_password=</action>
2493 <action function="set">tw_backup_password2=</action>
2494 <action function="set">tw_backup_encrypt_display=</action>
2495 <action function="set">tw_backup_encrypt_display2=</action>
2496 <action function="page">backupencryption</action>
2497 </actions>
2498 </action>
2499 </page>
2500
2501 <page name="backup_run">
2502 <template name="page"/>
2503
2504 <template name="statusbar"/>
2505
2506 <text style="text_m">
2507 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2508 <text>%tw_operation% %tw_partition%</text>
2509 </text>
2510
2511 <template name="console"/>
2512
2513 <template name="progress_bar"/>
2514
2515 <text style="text_m">
2516 <placement x="%indent%" y="%row13a_y%"/>
2517 <text>%tw_file_progress%</text>
2518 </text>
2519
2520 <text style="text_m">
2521 <placement x="%indent%" y="%row14a_y%"/>
2522 <text>%tw_size_progress%</text>
2523 </text>
2524
2525 <button style="main_button_half_height">
2526 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 <action function="cancelbackup"/>
2529 </button>
2530
2531 <action>
2532 <action function="nandroid">backup</action>
2533 </action>
2534
2535 <action>
2536 <condition var1="tw_operation_state" var2="1"/>
2537 <condition var1="tw_cancel_backup" var2="0"/>
2538 <actions>
2539 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002540 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002541 <action function="set">tw_show_reboot=1</action>
2542 <action function="page">action_complete</action>
2543 </actions>
2544 </action>
2545
2546 <action>
2547 <condition var1="tw_operation_state" var2="1"/>
2548 <condition var1="tw_cancel_backup" var2="1"/>
2549 <actions>
2550 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <action function="set">tw_show_reboot=1</action>
2553 <action function="page">action_complete</action>
2554 </actions>
2555 </action>
2556 </page>
2557
2558 <page name="restore">
2559 <template name="page"/>
2560
2561 <template name="statusbar"/>
2562
2563 <text style="text_m">
2564 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 </text>
2567
2568 <fileselector>
2569 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2570 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002571 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002572 <path name="tw_backups_folder"/>
2573 <data name="tw_restore" default=""/>
2574 <selection name="tw_restore_name"/>
2575 </fileselector>
2576
2577 <button>
2578 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2579 <highlight color="%highlight_color%"/>
2580 <image resource="q_btn_storage"/>
2581 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002582 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002583 <action function="set">tw_back=restore</action>
2584 <action function="page">select_storage</action>
2585 </actions>
2586 </button>
2587
2588 <action>
2589 <condition var1="tw_restore" op="modified"/>
2590 <actions>
2591 <action function="readBackup"/>
2592 <action function="set">tw_back=restore</action>
2593 <action function="page">restore_read</action>
2594 </actions>
2595 </action>
2596
2597 <action>
2598 <touch key="home"/>
2599 <action function="page">main</action>
2600 </action>
2601
2602 <action>
2603 <touch key="back"/>
2604 <action function="page">main</action>
2605 </action>
2606 </page>
2607
2608 <page name="restore_read">
2609 <action>
2610 <condition var1="tw_restore_encrypted" var2="1"/>
2611 <actions>
2612 <action function="set">tw_password_fail=0</action>
2613 <action function="page">restore_decrypt</action>
2614 </actions>
2615 </action>
2616
2617 <action>
2618 <condition var1="tw_restore_encrypted" var2="0"/>
2619 <actions>
2620 <action function="page">restore_select</action>
2621 </actions>
2622 </action>
2623 </page>
2624
2625 <page name="restore_decrypt">
2626 <template name="page"/>
2627
2628 <template name="statusbar"/>
2629
2630 <text style="text_m">
2631 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002633 </text>
2634
2635 <text style="text_m_accent">
2636 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002637 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002638 </text>
2639
2640 <input>
2641 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2642 <text>%tw_restore_display%</text>
2643 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2644 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2645 <action function="page">try_restore_decrypt</action>
2646 </input>
2647
2648 <fill color="%accent_color%">
2649 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2650 </fill>
2651
2652 <fill color="%text_fail_color%">
2653 <condition var1="tw_password_fail" var2="1"/>
2654 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2655 </fill>
2656
2657 <text style="text_m_fail">
2658 <condition var1="tw_password_fail" var2="1"/>
2659 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002661 </text>
2662
2663 <button style="main_button_half_height">
2664 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002665 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <actions>
2667 <action function="set">tw_page_done=1</action>
2668 <action function="page">restore</action>
2669 </actions>
2670 </button>
2671
2672 <button style="main_button_half_height">
2673 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002674 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002675 <actions>
2676 <action function="set">tw_back=restore</action>
2677 <action function="set">tw_action=cmd</action>
2678 <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 -05002679 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2680 <action function="set">tw_text2=%tw_restore_name%</action>
2681 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2682 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2683 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2684 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="page">confirm_action</action>
2686 </actions>
2687 </button>
2688
2689 <template name="keyboardtemplate"/>
2690
2691 <action>
2692 <touch key="home"/>
2693 <action function="page">main</action>
2694 </action>
2695
2696 <action>
2697 <touch key="back"/>
2698 <action function="page">restore</action>
2699 </action>
2700 </page>
2701
2702 <page name="try_restore_decrypt">
2703 <template name="page"/>
2704
2705 <template name="statusbar"/>
2706
2707 <text style="text_m">
2708 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002709 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002710 </text>
2711
2712 <template name="console"/>
2713
2714 <template name="progress_bar"/>
2715
2716 <action>
2717 <action function="decrypt_backup"/>
2718 </action>
2719
2720 <action>
2721 <conditions>
2722 <condition var1="tw_operation_state" var2="1"/>
2723 <condition var1="tw_operation_status" op="!=" var2="0"/>
2724 </conditions>
2725 <actions>
2726 <action function="set">tw_password_fail=1</action>
2727 <action function="page">restore_decrypt</action>
2728 </actions>
2729 </action>
2730
2731 <action>
2732 <conditions>
2733 <condition var1="tw_operation_state" var2="1"/>
2734 <condition var1="tw_operation_status" op="=" var2="0"/>
2735 </conditions>
2736 <actions>
2737 <action function="set">tw_page_done=1</action>
2738 <action function="page">restore_select</action>
2739 </actions>
2740 </action>
2741 </page>
2742
2743 <page name="restore_select">
2744 <template name="page"/>
2745
2746 <template name="statusbar"/>
2747
2748 <text style="text_m">
2749 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002750 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002751 </text>
2752
2753 <partitionlist style="partitionlist_headerless_cb">
2754 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2755 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2756 <listtype name="restore"/>
2757 </partitionlist>
2758
2759 <fill color="%accent_color%">
2760 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2761 </fill>
2762
2763 <button>
2764 <placement x="%col1_x_left%" y="%row11_y%"/>
2765 <highlight color="%highlight_color%"/>
2766 <image resource="q_btn_arrow_left"/>
2767 <action function="page">restore</action>
2768 </button>
2769
2770 <button>
2771 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2772 <highlight color="%highlight_color%"/>
2773 <image resource="q_btn_delete"/>
2774 <actions>
2775 <action function="set">tw_back=restore</action>
2776 <action function="set">tw_action=cmd</action>
2777 <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 -05002778 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002779 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2781 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2782 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2783 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002784 <action function="page">confirm_action</action>
2785 </actions>
2786 </button>
2787
2788 <button>
2789 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2790 <highlight color="%highlight_color%"/>
2791 <image resource="q_btn_accept"/>
2792 <action function="page">restore_confirm</action>
2793 </button>
2794
2795 <button>
2796 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2797 <highlight color="%highlight_color%"/>
2798 <image resource="q_btn_arrow_right"/>
2799 <actions>
2800 <action function="set">tw_back=restore_select</action>
2801 <action function="page">restore_options</action>
2802 </actions>
2803 </button>
2804
2805 <action>
2806 <touch key="home"/>
2807 <action function="page">main</action>
2808 </action>
2809
2810 <action>
2811 <touch key="back"/>
2812 <action function="page">%tw_back%</action>
2813 </action>
2814 </page>
2815
2816 <page name="restore_options">
2817 <template name="page"/>
2818
2819 <template name="statusbar"/>
2820
2821 <text style="text_m">
2822 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002824 </text>
2825
2826 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002827 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002828 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002829 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2830 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002831 </listitem>
2832 </listbox>
2833
2834 <button>
2835 <placement x="%col1_x_left%" y="%row11_y%"/>
2836 <highlight color="%highlight_color%"/>
2837 <image resource="q_btn_arrow_left"/>
2838 <action function="page">restore_select</action>
2839 </button>
2840
2841 <button>
2842 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2843 <highlight color="%highlight_color%"/>
2844 <image resource="q_btn_accept_transp"/>
2845 <actions>
2846 <action function="set">tw_back=restore_options</action>
2847 <action function="page">restore_confirm</action>
2848 </actions>
2849 </button>
2850
2851 <action>
2852 <touch key="home"/>
2853 <action function="page">main</action>
2854 </action>
2855
2856 <action>
2857 <touch key="back"/>
2858 <action function="page">%tw_back%</action>
2859 </action>
2860
2861 <action>
2862 <touch key="power+voldown"/>
2863 <action function="screenshot"/>
2864 </action>
2865 </page>
2866
2867 <page name="renamebackup">
2868 <template name="page"/>
2869
2870 <template name="statusbar"/>
2871
2872 <text style="text_m">
2873 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <text style="text_m_accent">
2878 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <input>
2883 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2884 <text>%tw_backup_rename%</text>
2885 <data name="tw_backup_rename"/>
2886 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2887 <actions>
2888 <action function="set">tw_back=restore</action>
2889 <action function="set">tw_action=cmd</action>
2890 <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 -05002891 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2892 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2893 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2894 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2895 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002896 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2897 <action function="set">tw_existpage=renamebackup</action>
2898 <action function="set">tw_notexistpage=confirm_action</action>
2899 <action function="page">filecheck</action>
2900 </actions>
2901 </input>
2902
2903 <fill color="%accent_color%">
2904 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2905 </fill>
2906
2907 <fill color="%text_fail_color%">
2908 <condition var1="tw_fileexists" var2="1"/>
2909 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2910 </fill>
2911
2912 <text style="text_m_fail">
2913 <condition var1="tw_fileexists" var2="1"/>
2914 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002916 </text>
2917
2918 <button style="main_button_half_height">
2919 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="page">restore_confirm</action>
2922 </button>
2923
2924 <template name="keyboardtemplate"/>
2925
2926 <action>
2927 <touch key="home"/>
2928 <action function="page">main</action>
2929 </action>
2930
2931 <action>
2932 <touch key="back"/>
2933 <action function="page">restore_confirm</action>
2934 </action>
2935 </page>
2936
2937 <page name="restore_confirm">
2938 <template name="page"/>
2939
2940 <template name="statusbar"/>
2941
2942 <text style="text_m">
2943 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 </text>
2946
2947 <text style="text_m_accent">
2948 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002950 </text>
2951
2952 <text style="text_m">
2953 <placement x="%indent%" y="%row2_y%"/>
2954 <text>%tw_restore_name%</text>
2955 </text>
2956
2957 <fill color="%accent_color%">
2958 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2959 </fill>
2960
2961 <button>
2962 <fill color="%transparent%"/>
2963 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2964 <actions>
2965 <action function="set">tw_back=restore_confirm</action>
2966 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2967 <action function="set">tw_fileexists=0</action>
2968 <action function="page">renamebackup</action>
2969 </actions>
2970 </button>
2971
2972 <text style="text_m_accent">
2973 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </text>
2976
2977 <partitionlist style="partitionlist_summary">
2978 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2979 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2980 <listtype name="restore"/>
2981 </partitionlist>
2982
2983 <button>
2984 <fill color="%transparent%"/>
2985 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2986 <actions>
2987 <action function="set">tw_back=restore_confirm</action>
2988 <action function="page">restore_select</action>
2989 </actions>
2990 </button>
2991
2992 <listbox style="listbox_options">
2993 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002994 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2995 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </listitem>
2997 </listbox>
2998
2999 <text style="text_m_accent">
3000 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 </text>
3003
3004 <button>
3005 <fill color="%transparent%"/>
3006 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3007 <actions>
3008 <action function="set">tw_back=restore_confirm</action>
3009 <action function="page">restore_options</action>
3010 </actions>
3011 </button>
3012
3013 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 <action function="page">restore_run</action>
3016 </slider>
3017
3018 <action>
3019 <touch key="home"/>
3020 <action function="page">main</action>
3021 </action>
3022
3023 <action>
3024 <touch key="back"/>
3025 <action function="page">restore_options</action>
3026 </action>
3027 </page>
3028
3029 <page name="restore_run">
3030 <template name="page"/>
3031
3032 <template name="statusbar"/>
3033
3034 <text style="text_m">
3035 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3036 <text>%tw_operation% %tw_partition%</text>
3037 </text>
3038
3039 <template name="console"/>
3040
3041 <template name="progress_bar"/>
3042
3043 <text style="text_m">
3044 <placement x="%indent%" y="%row14a_y%"/>
3045 <text>%tw_size_progress%</text>
3046 </text>
3047
3048 <action>
3049 <condition var1="tw_operation_state" var2="1"/>
3050 <actions>
3051 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003052 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003053 <action function="set">tw_show_reboot=1</action>
3054 <action function="page">action_complete</action>
3055 </actions>
3056 </action>
3057
3058 <action>
3059 <action function="nandroid">restore</action>
3060 </action>
3061 </page>
3062
3063 <page name="mount">
3064 <template name="page"/>
3065
3066 <template name="statusbar"/>
3067
3068 <text style="text_m">
3069 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003070 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003071 </text>
3072
3073 <partitionlist style="partitionlist_headerless_cb">
3074 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3075 <listtype name="mount"/>
3076 </partitionlist>
3077
3078 <fill color="%accent_color%">
3079 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3080 </fill>
3081
3082 <button style="checkbox">
3083 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3084 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 <image resource="checkbox_false"/>
3087 <action function="mountsystemtoggle">1</action>
3088 </button>
3089
3090 <button style="checkbox">
3091 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3092 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003094 <image resource="checkbox_true"/>
3095 <actions>
3096 <action function="set">tw_lifetime_writes=2</action>
3097 <action function="page">system_readonly_check</action>
3098 </actions>
3099 </button>
3100
3101 <button style="checkbox">
3102 <conditions>
3103 <condition var1="tw_has_mtp" var2="1"/>
3104 <condition var1="tw_mtp_enabled" var2="0"/>
3105 </conditions>
3106 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3107 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <action function="startmtp"/>
3110 </button>
3111
3112 <button style="checkbox">
3113 <conditions>
3114 <condition var1="tw_has_mtp" var2="1"/>
3115 <condition var1="tw_mtp_enabled" var2="1"/>
3116 </conditions>
3117 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3118 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003120 <action function="stopmtp"/>
3121 </button>
3122
3123 <button>
3124 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3125 <highlight color="%highlight_color%"/>
3126 <image resource="q_btn_storage"/>
3127 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003129 <action function="set">tw_back=mount</action>
3130 <action function="page">select_storage</action>
3131 </actions>
3132 </button>
3133
3134 <button>
3135 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3136 <highlight color="%highlight_color%"/>
3137 <image resource="q_btn_arrow_right"/>
3138 <action function="page">mount_options</action>
3139 </button>
3140
3141 <action>
3142 <touch key="home"/>
3143 <action function="page">main</action>
3144 </action>
3145
3146 <action>
3147 <touch key="back"/>
3148 <action function="page">main</action>
3149 </action>
3150 </page>
3151
3152 <page name="mount_options">
3153 <template name="page"/>
3154
3155 <template name="statusbar"/>
3156
3157 <text style="text_m">
3158 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 </text>
3161
3162 <button style="main_button_full_width">
3163 <condition var1="tw_has_usb_storage" var2="1"/>
3164 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <action function="page">usb_mount</action>
3167 </button>
3168
3169 <button style="main_button_full_width">
3170 <conditions>
3171 <condition var1="tw_is_encrypted" var2="1"/>
3172 <condition var1="tw_is_decrypted" var2="0"/>
3173 </conditions>
3174 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="page">decrypt</action>
3177 </button>
3178
3179 <button>
3180 <placement x="%col1_x_left%" y="%row11_y%"/>
3181 <highlight color="%highlight_color%"/>
3182 <image resource="q_btn_arrow_left"/>
3183 <action function="page">mount</action>
3184 </button>
3185
3186 <action>
3187 <touch key="home"/>
3188 <action function="page">main</action>
3189 </action>
3190
3191 <action>
3192 <touch key="back"/>
3193 <action function="page">mount</action>
3194 </action>
3195 </page>
3196
3197 <page name="usb_mount">
3198 <template name="page"/>
3199
3200 <template name="statusbar"/>
3201
3202 <text style="text_m">
3203 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003204 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003205 </text>
3206
3207 <text style="text_m_accent">
3208 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 </text>
3211
3212 <text style="text_m_fail">
3213 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <text style="text_m_fail">
3218 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </text>
3221
3222 <button style="main_button">
3223 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 <action function="page">usb_umount</action>
3226 </button>
3227
3228 <action>
3229 <action function="mount">usb</action>
3230 <action function="set">tw_busy=1</action>
3231 </action>
3232 </page>
3233
3234 <page name="usb_umount">
3235 <action>
3236 <action function="unmount">usb</action>
3237 </action>
3238
3239 <action>
3240 <action function="page">mount_options</action>
3241 <action function="set">tw_busy=0</action>
3242 </action>
3243 </page>
3244
3245 <page name="system_readonly_check">
3246 <action>
3247 <action function="checkpartitionlifetimewrites">/system</action>
3248 </action>
3249
3250 <action>
3251 <condition var1="tw_lifetime_writes" var2="1"/>
3252 <actions>
3253 <action function="mountsystemtoggle">0</action>
3254 <action function="page">mount</action>
3255 </actions>
3256 </action>
3257
3258 <action>
3259 <condition var1="tw_lifetime_writes" var2="0"/>
3260 <actions>
3261 <action function="set">tw_back=mount</action>
3262 <action function="page">system_readonly</action>
3263 </actions>
3264 </action>
3265 </page>
3266
3267 <page name="reboot">
3268 <template name="page"/>
3269
3270 <template name="statusbar"/>
3271
3272 <text style="text_m">
3273 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003274 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003275 </text>
3276
3277 <button style="main_button">
3278 <condition var1="tw_reboot_system" var2="1"/>
3279 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 <actions>
3282 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003283 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </actions>
3285 </button>
3286
3287 <button style="main_button">
3288 <condition var1="tw_reboot_poweroff" var2="1"/>
3289 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <actions>
3292 <action function="set">tw_back=reboot</action>
3293 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003294 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003295 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3298 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3299 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3300 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3301 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003302 <action function="page">rebootcheck</action>
3303 </actions>
3304 </button>
3305
3306 <button style="main_button">
3307 <condition var1="tw_reboot_recovery" var2="1"/>
3308 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <actions>
3311 <action function="set">tw_back=reboot</action>
3312 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003313 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003314 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003315 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3317 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3318 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3319 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3320 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003321 <action function="page">rebootcheck</action>
3322 </actions>
3323 </button>
3324
3325 <button style="main_button">
3326 <condition var1="tw_reboot_bootloader" var2="1"/>
3327 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <actions>
3330 <action function="set">tw_back=reboot</action>
3331 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003332 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003333 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003334 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3336 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3337 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3338 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3339 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <action function="page">rebootcheck</action>
3341 </actions>
3342 </button>
3343
3344 <button style="main_button">
3345 <condition var1="tw_download_mode" var2="1"/>
3346 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 <actions>
3349 <action function="set">tw_back=reboot</action>
3350 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003351 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003352 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003353 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3355 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3356 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3357 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3358 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003359 <action function="page">rebootcheck</action>
3360 </actions>
3361 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003362 <button style="main_button">
3363 <condition var1="tw_edl_mode" var2="1"/>
3364 <placement x="%col1_x_right%" y="%row11_y%"/>
3365 <text>{@rb_edl_btn=Edl}</text>
3366 <actions>
3367 <action function="set">tw_back=reboot</action>
3368 <action function="set">tw_action=reboot</action>
3369 <action function="set">tw_action_param=edl</action>
3370 <action function="set">tw_reboot_param=edl</action>
3371 <action function="set">tw_has_action2=0</action>
3372 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3373 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3374 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3375 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3376 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3377 <action function="page">rebootcheck</action>
3378 </actions>
3379 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003380
3381 <action>
3382 <touch key="home"/>
3383 <action function="page">main</action>
3384 </action>
3385
3386 <action>
3387 <touch key="back"/>
3388 <action function="page">main</action>
3389 </action>
3390 </page>
3391
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003392 <page name="rebootapp">
3393 <template name="page"/>
3394
3395 <template name="statusbar"/>
3396
3397 <text style="text_m">
3398 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3399 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3400 </text>
3401
3402 <text style="text_m_accent">
3403 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3404 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3405 </text>
3406
3407 <text style="text_m">
3408 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3409 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3410 </text>
3411
3412 <checkbox>
3413 <placement x="%indent%" y="%row3_y%"/>
3414 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3415 <data variable="tw_app_prompt"/>
3416 </checkbox>
3417
3418 <checkbox>
3419 <condition var1="tw_mount_system_ro" var2="0"/>
3420 <placement x="%indent%" y="%row5_y%"/>
3421 <text>{@reboot_install_app_system=Install as a System App}</text>
3422 <data variable="tw_app_install_system"/>
3423 </checkbox>
3424
3425 <button style="main_button_half_height">
3426 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003427 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003428 <action function="reboot">%tw_reboot_param%</action>
3429 </button>
3430
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003431 <action>
3432 <touch key="home"/>
3433 <actions>
3434 <action function="set">tw_app_install_status=0</action>
3435 <action function="page">main</action>
3436 </actions>
3437 </action>
3438
3439 <action>
3440 <touch key="back"/>
3441 <actions>
3442 <action function="set">tw_app_install_status=0</action>
3443 <action function="page">reboot</action>
3444 </actions>
3445 </action>
3446 </page>
3447
z31s1g28f0a922015-11-07 18:50:22 +01003448 <page name="system_readonly">
3449 <template name="page"/>
3450
3451 <template name="statusbar"/>
3452
3453 <text style="text_m">
3454 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 </text>
3457
3458 <text style="text_m_accent">
3459 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003461 </text>
3462
3463 <text style="text_m">
3464 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </text>
3467
3468 <text style="text_m">
3469 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </text>
3472
3473 <text style="text_m">
3474 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </text>
3477
3478 <text style="text_m">
3479 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </text>
3482
3483 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003484 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003489 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </text>
3492
z31s1g608d7ff2016-01-18 19:47:25 +01003493 <button style="main_button_half_height">
3494 <placement x="%col1_x_right%" y="%row8a_y%"/>
3495 <text>{@sel_lang_btn=Select Language}</text>
3496 <action function="page">settings_language</action>
3497 </button>
3498
z31s1g28f0a922015-11-07 18:50:22 +01003499 <checkbox>
3500 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003501 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 <data variable="tw_never_show_system_ro_page"/>
3504 </checkbox>
3505
3506 <button style="main_button_half_height">
3507 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <actions>
3510 <action function="mountsystemtoggle">1</action>
3511 <action function="set">tw_page_done=1</action>
3512 <action function="page">%tw_back%</action>
3513 </actions>
3514 </button>
3515
3516 <button style="main_button_half_height">
3517 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <actions>
3520 <action function="mountsystemtoggle">0</action>
3521 <action function="set">tw_page_done=1</action>
3522 <action function="page">%tw_back%</action>
3523 </actions>
3524 </button>
3525 </page>
3526
3527 <page name="settings">
3528 <template name="page"/>
3529
3530 <template name="statusbar"/>
3531
3532 <text style="text_m">
3533 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 </text>
3536
3537 <button style="main_button">
3538 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003540 <action function="page">settings_general</action>
3541 </button>
3542
3543 <button style="main_button">
3544 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <action function="page">settings_timezone</action>
3547 </button>
3548
3549 <button style="main_button">
3550 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <action function="page">settings_screen</action>
3553 </button>
3554
3555 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003556 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003557 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <action function="page">settings_vibration</action>
3560 </button>
3561
3562 <button style="main_button">
3563 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <action function="page">settings_language</action>
3566 </button>
3567
3568 <button>
3569 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3570 <highlight color="%highlight_color%"/>
3571 <image resource="q_btn_reset"/>
3572 <action function="restoredefaultsettings"/>
3573 </button>
3574
3575 <action>
3576 <touch key="home"/>
3577 <action function="page">main</action>
3578 </action>
3579
3580 <action>
3581 <touch key="back"/>
3582 <action function="page">main3</action>
3583 </action>
3584 </page>
3585
3586 <page name="settings_general">
3587 <template name="page"/>
3588
3589 <template name="statusbar"/>
3590
3591 <text style="text_m">
3592 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </text>
3595
3596 <listbox style="scrolllist">
3597 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003599 <data variable="tw_signed_zip_verify"/>
3600 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003601 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3602 <data variable="tw_install_reboot"/>
3603 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003605 <data variable="tw_rm_rf"/>
3606 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003607 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3608 <data variable="tw_disable_free_space"/>
3609 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003610 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3611 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003612 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003613 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3614 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003615 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003616 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003617 <data variable="tw_military_time"/>
3618 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003619 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3620 <data variable="tw_app_prompt"/>
3621 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003623 <data variable="tw_simulate_actions"/>
3624 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003626 <data variable="tw_simulate_fail"/>
3627 <condition var1="tw_simulate_actions" var2="1"/>
3628 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003629 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3630 <condition var1="tw_no_sha2" var2="0"/>
3631 <data variable="tw_use_sha2"/>
3632 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003633 </listbox>
3634
3635 <action>
3636 <touch key="home"/>
3637 <action function="page">main</action>
3638 </action>
3639
3640 <action>
3641 <touch key="back"/>
3642 <action function="page">settings</action>
3643 </action>
3644 </page>
3645
3646 <page name="settings_timezone">
3647 <template name="page"/>
3648
3649 <template name="statusbar"/>
3650
3651 <text style="text_m">
3652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 </text>
3655
3656 <text color="%text_color%">
3657 <font resource="font_m"/>
3658 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3659 <text>%tw_time%</text>
3660 </text>
3661
3662 <listbox style="listbox_headerless">
3663 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3664 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3666 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3667 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3668 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3669 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3670 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3671 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3672 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3673 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3674 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3675 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3676 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3677 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3678 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3679 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3680 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3681 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3682 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3683 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3684 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3685 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3686 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3687 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3688 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003689 </listbox>
3690
3691 <button>
3692 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3693 <highlight color="%highlight_color%"/>
3694 <image resource="q_btn_arrow_right"/>
3695 <actions>
3696 <action function="setguitimezone"/>
3697 <action function="page">settings_timezone2</action>
3698 </actions>
3699 </button>
3700
3701 <action>
3702 <condition var1="tw_time_zone_guisel" op="modified"/>
3703 <action function="setguitimezone"/>
3704 </action>
3705
3706 <action>
3707 <touch key="home"/>
3708 <actions>
3709 <action function="page">main</action>
3710 <action function="setguitimezone"/>
3711 </actions>
3712 </action>
3713
3714 <action>
3715 <touch key="back"/>
3716 <actions>
3717 <action function="page">settings</action>
3718 <action function="setguitimezone"/>
3719 </actions>
3720 </action>
3721
3722 <action>
3723 <touch key="power+voldown"/>
3724 <action function="screenshot"/>
3725 </action>
3726 </page>
3727
3728 <page name="settings_timezone2">
3729 <template name="page"/>
3730
3731 <template name="statusbar"/>
3732
3733 <text style="text_m">
3734 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </text>
3737
3738 <text color="%text_color%">
3739 <font resource="font_m"/>
3740 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3741 <text>%tw_time%</text>
3742 </text>
3743
3744 <checkbox>
3745 <placement x="%col1_x_left%" y="%row1_y%"/>
3746 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <data variable="tw_time_zone_guidst"/>
3749 <image checked="checkbox_true" unchecked="checkbox_false"/>
3750 </checkbox>
3751
3752 <text style="text_m_accent">
3753 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003755 </text>
3756
3757 <button style="main_button_quarter_width">
3758 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <actions>
3761 <action function="set">tw_time_zone_guioffset=0</action>
3762 <action function="setguitimezone"/>
3763 </actions>
3764 </button>
3765
3766 <button style="main_button_quarter_width">
3767 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <actions>
3770 <action function="set">tw_time_zone_guioffset=15</action>
3771 <action function="setguitimezone"/>
3772 </actions>
3773 </button>
3774
3775 <button style="main_button_quarter_width">
3776 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 <actions>
3779 <action function="set">tw_time_zone_guioffset=30</action>
3780 <action function="setguitimezone"/>
3781 </actions>
3782 </button>
3783
3784 <button style="main_button_quarter_width">
3785 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <actions>
3788 <action function="set">tw_time_zone_guioffset=45</action>
3789 <action function="setguitimezone"/>
3790 </actions>
3791 </button>
3792
3793 <button>
3794 <placement x="%col1_x_left%" y="%row11_y%"/>
3795 <highlight color="%highlight_color%"/>
3796 <image resource="q_btn_arrow_left"/>
3797 <actions>
3798 <action function="setguitimezone"/>
3799 <action function="page">settings_timezone</action>
3800 </actions>
3801 </button>
3802
3803 <text style="text_m_accent">
3804 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003806 </text>
3807
3808 <text style="text_m">
3809 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3810 <text>%tw_time_zone%</text>
3811 </text>
3812
3813 <action>
3814 <condition var1="tw_time_zone_guidst" op="modified"/>
3815 <action function="setguitimezone"/>
3816 </action>
3817
3818 <action>
3819 <touch key="home"/>
3820 <actions>
3821 <action function="setguitimezone"/>
3822 <action function="page">main</action>
3823 </actions>
3824 </action>
3825
3826 <action>
3827 <touch key="back"/>
3828 <actions>
3829 <action function="setguitimezone"/>
3830 <action function="page">settings_timezone</action>
3831 </actions>
3832 </action>
3833 </page>
3834
3835 <page name="settings_screen">
3836 <template name="page"/>
3837
3838 <template name="statusbar"/>
3839
3840 <text style="text_m">
3841 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003842 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003843 </text>
3844
3845 <button style="checkbox">
3846 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3847 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3848 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 <image resource="checkbox_false"/>
3851 <action function="set">tw_screen_timeout_secs=60</action>
3852 </button>
3853
3854 <button style="checkbox">
3855 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3856 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3857 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 <image resource="checkbox_true"/>
3860 <action function="set">tw_screen_timeout_secs=0</action>
3861 </button>
3862
3863 <slidervalue>
3864 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3865 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3868 </slidervalue>
3869
3870 <text style="text_m_fail">
3871 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3872 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 </text>
3875
3876 <button>
3877 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3878 <highlight color="%highlight_color%"/>
3879 <image resource="q_btn_arrow_right"/>
3880 <action function="page">settings_screen2</action>
3881 </button>
3882
3883 <action>
3884 <touch key="home"/>
3885 <action function="page">main</action>
3886 </action>
3887
3888 <action>
3889 <touch key="back"/>
3890 <action function="page">settings</action>
3891 </action>
3892 </page>
3893
3894 <page name="settings_screen2">
3895 <template name="page"/>
3896
3897 <template name="statusbar"/>
3898
3899 <text style="text_m">
3900 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003902 </text>
3903
3904 <slidervalue>
3905 <condition var1="tw_has_brightnesss_file" var2="1"/>
3906 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <data variable="tw_brightness_pct" min="10" max="100"/>
3909 <actions>
3910 <action function="set">tw_brightness=%tw_brightness_max%</action>
3911 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3912 <action function="compute">tw_brightness/100</action>
3913 <action function="setbrightness">%tw_brightness%</action>
3914 </actions>
3915 </slidervalue>
3916
3917 <text style="text_m_fail">
3918 <condition var1="tw_has_brightnesss_file" var2="0"/>
3919 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003921 </text>
3922
3923 <button>
3924 <placement x="%col1_x_left%" y="%row11_y%"/>
3925 <highlight color="%highlight_color%"/>
3926 <image resource="q_btn_arrow_left"/>
3927 <action function="page">settings_screen</action>
3928 </button>
3929
3930 <action>
3931 <touch key="home"/>
3932 <action function="page">main</action>
3933 </action>
3934
3935 <action>
3936 <touch key="back"/>
3937 <action function="page">settings</action>
3938 </action>
3939 </page>
3940
3941 <page name="settings_vibration">
3942 <template name="page"/>
3943
3944 <template name="statusbar"/>
3945
3946 <text style="text_m">
3947 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003948 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003949 </text>
3950
3951 <slidervalue>
3952 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 <data variable="tw_button_vibrate" min="0" max="300"/>
3955 </slidervalue>
3956
3957 <button>
3958 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3959 <highlight color="%highlight_color%"/>
3960 <image resource="q_btn_arrow_right"/>
3961 <action function="page">settings_vibration2</action>
3962 </button>
3963
3964 <action>
3965 <touch key="home"/>
3966 <action function="page">main</action>
3967 </action>
3968
3969 <action>
3970 <touch key="back"/>
3971 <action function="page">settings</action>
3972 </action>
3973 </page>
3974
3975 <page name="settings_vibration2">
3976 <template name="page"/>
3977
3978 <template name="statusbar"/>
3979
3980 <text style="text_m">
3981 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </text>
3984
3985 <slidervalue>
3986 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003987 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003988 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3989 </slidervalue>
3990
3991 <button>
3992 <placement x="%col1_x_left%" y="%row11_y%"/>
3993 <highlight color="%highlight_color%"/>
3994 <image resource="q_btn_arrow_left"/>
3995 <action function="page">settings_vibration</action>
3996 </button>
3997
3998 <button>
3999 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4000 <highlight color="%highlight_color%"/>
4001 <image resource="q_btn_arrow_right"/>
4002 <action function="page">settings_vibration3</action>
4003 </button>
4004
4005 <action>
4006 <touch key="home"/>
4007 <action function="page">main</action>
4008 </action>
4009
4010 <action>
4011 <touch key="back"/>
4012 <action function="page">settings</action>
4013 </action>
4014 </page>
4015
4016 <page name="settings_vibration3">
4017 <template name="page"/>
4018
4019 <template name="statusbar"/>
4020
4021 <text style="text_m">
4022 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 </text>
4025
4026 <slidervalue>
4027 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004029 <data variable="tw_action_vibrate" min="0" max="500"/>
4030 </slidervalue>
4031
4032 <button>
4033 <placement x="%col1_x_left%" y="%row11_y%"/>
4034 <highlight color="%highlight_color%"/>
4035 <image resource="q_btn_arrow_left"/>
4036 <action function="page">settings_vibration2</action>
4037 </button>
4038
4039 <action>
4040 <touch key="home"/>
4041 <action function="page">main</action>
4042 </action>
4043
4044 <action>
4045 <touch key="back"/>
4046 <action function="page">settings</action>
4047 </action>
4048 </page>
4049
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <page name="settings_language">
4051 <template name="page"/>
4052
4053 <template name="statusbar"/>
4054
4055 <text style="text_m">
4056 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4057 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4058 </text>
4059
z31s1g608d7ff2016-01-18 19:47:25 +01004060 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004061 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4062 <icon selected="radio_true" unselected="radio_false" />
4063 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004064 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065
4066 <button>
4067 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4068 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004069 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <action function="setlanguage"></action>
4071 </button>
4072
z31s1g608d7ff2016-01-18 19:47:25 +01004073 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <touch key="home" />
4075 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004076 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004077
z31s1g608d7ff2016-01-18 19:47:25 +01004078 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <touch key="back" />
4080 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004081 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 </page>
4083
z31s1g28f0a922015-11-07 18:50:22 +01004084 <page name="advanced">
4085 <template name="page"/>
4086
4087 <template name="statusbar"/>
4088
4089 <text style="text_m">
4090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <button style="main_button">
4095 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004097 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004098 </button>
4099
4100 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004101 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004102 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004103 <text>{@fix_context_btn=Fix Contexts}</text>
4104 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </button>
4106
4107 <button style="main_button">
4108 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004110 <action function="reload"/>
4111 </button>
4112
4113 <button style="main_button">
4114 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4115 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004116 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004117 <actions>
4118 <action function="set">partitionlisterror=0</action>
4119 <action function="page">partsdcardsel</action>
4120 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004121 </button>
4122
4123 <button style="main_button">
4124 <condition var1="tw_show_dumlock" var2="1"/>
4125 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004126 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004127 <action function="page">htcdumlock</action>
4128 </button>
4129
4130 <button style="main_button">
4131 <condition var1="tw_has_injecttwrp" var2="1"/>
4132 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004133 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004134 <actions>
4135 <action function="set">tw_back=advanced</action>
4136 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4138 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4139 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4140 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004141 <action function="page">confirm_action</action>
4142 </actions>
4143 </button>
4144
4145 <action>
4146 <touch key="home"/>
4147 <action function="page">main</action>
4148 </action>
4149
4150 <action>
4151 <touch key="back"/>
4152 <action function="page">main3</action>
4153 </action>
4154 </page>
4155
Ethan Yonker483e9f42016-01-11 22:21:18 -06004156 <page name="partsdcardsel">
4157 <template name="page"/>
4158
4159 <template name="statusbar"/>
4160
4161 <text style="text_m">
4162 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4163 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4164 </text>
4165
4166 <partitionlist style="partitionlist_headerless_rb">
4167 <data name="tw_storage_path"/>
4168 <listtype name="storage"/>
4169 </partitionlist>
4170
4171 <text style="text_m_fail">
4172 <condition var1="partitionlisterror" var2="1"/>
4173 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4174 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4175 </text>
4176
4177 <button>
4178 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4179 <highlight color="%highlight_color%"/>
4180 <image resource="q_btn_refresh"/>
4181 <action function="refreshsizes"/>
4182 </button>
4183
4184 <button>
4185 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4186 <highlight color="%highlight_color%"/>
4187 <image resource="q_btn_accept"/>
4188 <actions>
4189 <action function="getpartitiondetails">tw_storage_path</action>
4190 <action function="page">partsdcardcheck</action>
4191 </actions>
4192 </button>
4193
4194 <action>
4195 <touch key="home"/>
4196 <action function="page">main</action>
4197 </action>
4198
4199 <action>
4200 <touch key="back"/>
4201 <action function="page">advanced</action>
4202 </action>
4203 </page>
4204
4205 <page name="partsdcardcheck">
4206 <action>
4207 <condition var1="tw_partition_removable" op="=" var2="1"/>
4208 <actions>
4209 <action function="set">partitionlisterror=0</action>
4210 <action function="page">partsdcard</action>
4211 </actions>
4212 </action>
4213
4214 <action>
4215 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4216 <actions>
4217 <action function="set">partitionlisterror=1</action>
4218 <action function="page">partsdcardsel</action>
4219 </actions>
4220 </action>
4221 </page>
4222
z31s1g28f0a922015-11-07 18:50:22 +01004223 <page name="partsdcard">
4224 <template name="page"/>
4225
4226 <template name="statusbar"/>
4227
4228 <text style="text_m">
4229 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004230 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004231 </text>
4232
4233 <text style="text_m_fail">
4234 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004236 </text>
4237
4238 <text style="text_m_fail">
4239 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </text>
4242
4243 <text style="text_m_accent">
4244 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004245 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004246 </text>
4247
4248 <text style="text_m">
4249 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4250 <text>%tw_sdext_size%</text>
4251 </text>
4252
4253 <button style="main_button_quarter_width">
4254 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004255 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004256 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004257 </button>
4258
4259 <button style="main_button_quarter_width">
4260 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004261 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004262 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004263 </button>
4264
4265 <button>
4266 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4267 <highlight color="%highlight_color%"/>
4268 <image resource="q_btn_arrow_right"/>
4269 <action function="page">partsdcard2</action>
4270 </button>
4271
4272 <action>
4273 <touch key="home"/>
4274 <action function="page">main</action>
4275 </action>
4276
4277 <action>
4278 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004279 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004280 </action>
4281 </page>
4282
4283 <page name="partsdcard2">
4284 <template name="page"/>
4285
4286 <template name="statusbar"/>
4287
4288 <text style="text_m">
4289 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 </text>
4292
4293 <text style="text_m_fail">
4294 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004296 </text>
4297
4298 <text style="text_m_fail">
4299 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </text>
4302
4303 <text style="text_m_accent">
4304 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004305 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004306 </text>
4307
4308 <text style="text_m">
4309 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4310 <text>%tw_swap_size%</text>
4311 </text>
4312
4313 <button style="main_button_quarter_width">
4314 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004316 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004317 </button>
4318
4319 <button style="main_button_quarter_width">
4320 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004322 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004323 </button>
4324
4325 <button>
4326 <placement x="%col1_x_left%" y="%row11_y%"/>
4327 <highlight color="%highlight_color%"/>
4328 <image resource="q_btn_arrow_left"/>
4329 <action function="page">partsdcard</action>
4330 </button>
4331
4332 <button>
4333 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4334 <highlight color="%highlight_color%"/>
4335 <image resource="q_btn_arrow_right"/>
4336 <action function="page">partsdcard3</action>
4337 </button>
4338
4339 <action>
4340 <touch key="home"/>
4341 <action function="page">main</action>
4342 </action>
4343
4344 <action>
4345 <touch key="back"/>
4346 <action function="page">advanced</action>
4347 </action>
4348 </page>
4349
4350 <page name="partsdcard3">
4351 <template name="page"/>
4352
4353 <template name="statusbar"/>
4354
4355 <text style="text_m">
4356 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004357 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004358 </text>
4359
4360 <text style="text_m_fail">
4361 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004362 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004363 </text>
4364
4365 <text style="text_m_fail">
4366 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004367 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004368 </text>
4369
4370 <text style="text_m_accent">
4371 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004372 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004373 </text>
4374
4375 <text style="text_m">
4376 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4377 <text>%tw_sdpart_file_system%</text>
4378 </text>
4379
4380 <button style="main_button_quarter_width">
4381 <placement x="%indent%" y="%row6_y%"/>
4382 <text>EXT3</text>
4383 <action function="set">tw_sdpart_file_system=ext3</action>
4384 </button>
4385
4386 <button style="main_button_quarter_width">
4387 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4388 <text>EXT4</text>
4389 <action function="set">tw_sdpart_file_system=ext4</action>
4390 </button>
4391
4392 <button>
4393 <placement x="%col1_x_left%" y="%row11_y%"/>
4394 <highlight color="%highlight_color%"/>
4395 <image resource="q_btn_arrow_left"/>
4396 <action function="page">partsdcard2</action>
4397 </button>
4398
4399 <button>
4400 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4401 <highlight color="%highlight_color%"/>
4402 <image resource="q_btn_arrow_right"/>
4403 <action function="page">partsdcard_confirm</action>
4404 </button>
4405
4406 <action>
4407 <touch key="home"/>
4408 <action function="page">main</action>
4409 </action>
4410
4411 <action>
4412 <touch key="back"/>
4413 <action function="page">advanced</action>
4414 </action>
4415 </page>
4416
4417 <page name="partsdcard_confirm">
4418 <template name="page"/>
4419
4420 <template name="statusbar"/>
4421
4422 <text style="text_m">
4423 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m_fail">
4428 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m_fail">
4433 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m_accent">
4438 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </text>
4441
4442 <text style="text_m_accent">
4443 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <text style="text_m_accent">
4448 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </text>
4451
4452 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <action function="page">partsdcardaction</action>
4455 <actions>
4456 <action function="set">tw_back=partsdcard</action>
4457 <action function="set">tw_action=partitionsd</action>
4458 <action function="set">tw_has_action2=1</action>
4459 <action function="set">tw_action2=set</action>
4460 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4462 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4463 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004464 <action function="page">action_page</action>
4465 </actions>
4466 </slider>
4467
4468 <action>
4469 <touch key="home"/>
4470 <action function="page">main</action>
4471 </action>
4472
4473 <action>
4474 <touch key="back"/>
4475 <action function="page">advanced</action>
4476 </action>
4477 </page>
4478
4479 <page name="htcdumlock">
4480 <template name="page"/>
4481
4482 <template name="statusbar"/>
4483
4484 <text style="text_m">
4485 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004486 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004487 </text>
4488
4489 <button style="main_button_full_width">
4490 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004491 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004492 <actions>
4493 <action function="set">tw_back=htcdumlock</action>
4494 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4496 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4497 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4498 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004499 <action function="page">confirm_action</action>
4500 </actions>
4501 </button>
4502
4503 <button style="main_button_full_width">
4504 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004506 <actions>
4507 <action function="set">tw_back=htcdumlock</action>
4508 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4510 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4511 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4512 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004513 <action function="page">confirm_action</action>
4514 </actions>
4515 </button>
4516
4517 <button style="main_button_full_width">
4518 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 <actions>
4521 <action function="set">tw_back=htcdumlock</action>
4522 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4524 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4525 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4526 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004527 <action function="page">confirm_action</action>
4528 </actions>
4529 </button>
4530
4531 <action>
4532 <touch key="home"/>
4533 <action function="page">main</action>
4534 </action>
4535
4536 <action>
4537 <touch key="back"/>
4538 <action function="page">advanced</action>
4539 </action>
4540 </page>
4541
4542 <page name="lock">
4543 <background color="%semi_transparent%"/>
4544
4545 <image>
4546 <image resource="unlock_icon"/>
4547 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4548 </image>
4549
4550 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 <action function="overlay"/>
4553 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004554
4555 <action>
4556 <touch key="power"/>
4557 <action function="togglebacklight"/>
4558 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004559 </page>
4560
4561 <page name="filemanagerlist">
4562 <template name="page"/>
4563
4564 <template name="statusbar"/>
4565
4566 <text style="text_m">
4567 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004568 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004569 </text>
4570
4571 <fileselector>
4572 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4573 <text>%tw_file_location1%</text>
4574 <filter folders="1" files="1"/>
4575 <path name="tw_file_location1" default="/"/>
4576 <data name="tw_filename1"/>
4577 <selection name="tw_selection1"/>
4578 </fileselector>
4579
4580 <button>
4581 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4582 <highlight color="%highlight_color%"/>
4583 <image resource="q_btn_folder"/>
4584 <actions>
4585 <action function="set">tw_filename1=tw_file_location1</action>
4586 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004587 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004588 <action function="page">filemanageroptions</action>
4589 </actions>
4590 </button>
4591
4592 <action>
4593 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004594 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004595 <action function="set">tw_fm_isfolder=0</action>
4596 </actions>
4597 </action>
4598
4599 <action>
4600 <touch key="home"/>
4601 <action function="page">main</action>
4602 </action>
4603
4604 <action>
4605 <touch key="back"/>
4606 <action function="page">main3</action>
4607 </action>
4608
4609 <action>
4610 <condition var1="tw_filename1" op="modified"/>
4611 <action function="page">filemanageroptions</action>
4612 </action>
4613 </page>
4614
4615 <page name="filemanageroptions">
4616 <template name="page"/>
4617
4618 <template name="statusbar"/>
4619
4620 <text style="text_m">
4621 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <button style="main_button">
4626 <condition var1="tw_fm_isfolder" var2="0"/>
4627 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 <actions>
4630 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004632 <action function="page">choosedestinationfolder</action>
4633 </actions>
4634 </button>
4635
4636 <button style="main_button">
4637 <condition var1="tw_fm_isfolder" var2="1"/>
4638 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 <actions>
4641 <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 -05004642 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004643 <action function="page">choosedestinationfolder</action>
4644 </actions>
4645 </button>
4646
4647 <button style="main_button">
4648 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <actions>
4651 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004652 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004653 <action function="page">choosedestinationfolder</action>
4654 </actions>
4655 </button>
4656
4657 <button style="main_button">
4658 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004659 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004660 <actions>
4661 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004662 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004663 <action function="set">tw_fm_text2=</action>
4664 <action function="set">tw_fm_text3=</action>
4665 <action function="set">tw_include_text3=0</action>
4666 <action function="set">tw_back=filemanageroptions</action>
4667 <action function="page">filemanagerconfirm</action>
4668 </actions>
4669 </button>
4670
4671 <button style="main_button">
4672 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004673 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 <actions>
4675 <action function="set">tw_filemanager_rename=0000</action>
4676 <action function="set">tw_fm_text2=</action>
4677 <action function="set">tw_fm_text3=</action>
4678 <action function="set">tw_include_text3=0</action>
4679 <action function="set">tw_back=filemanageroptions</action>
4680 <action function="page">filemanagerchmod</action>
4681 </actions>
4682 </button>
4683
4684 <button style="main_button">
4685 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004686 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <actions>
4688 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004689 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004690 <action function="set">tw_fm_text2=</action>
4691 <action function="set">tw_fm_text3=</action>
4692 <action function="set">tw_include_text3=0</action>
4693 <action function="set">tw_back=filemanageroptions</action>
4694 <action function="page">filemanagerconfirm</action>
4695 </actions>
4696 </button>
4697
4698 <button style="main_button">
4699 <condition var1="tw_fm_isfolder" var2="0"/>
4700 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 <actions>
4703 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004704 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004705 <action function="set">tw_filemanager_command=mv</action>
4706 <action function="page">filemanagerrenamefile</action>
4707 </actions>
4708 </button>
4709
4710 <button style="main_button">
4711 <condition var1="tw_fm_isfolder" var2="1"/>
4712 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004713 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004714 <actions>
4715 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004716 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004717 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4718 <action function="page">filemanagerrenamefolder</action>
4719 </actions>
4720 </button>
4721
4722 <action>
4723 <touch key="home"/>
4724 <action function="page">main</action>
4725 </action>
4726
4727 <action>
4728 <touch key="back"/>
4729 <action function="page">filemanagerlist</action>
4730 </action>
4731 </page>
4732
4733 <page name="choosedestinationfolder">
4734 <template name="page"/>
4735
4736 <template name="statusbar"/>
4737
4738 <text style="text_m">
4739 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004740 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004741 </text>
4742
4743 <fileselector>
4744 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4745 <text>%tw_file_location2%</text>
4746 <filter folders="1" files="0"/>
4747 <path name="tw_file_location2" default="/"/>
4748 <data name="tw_filename2"/>
4749 <selection name="tw_selection2"/>
4750 </fileselector>
4751
4752 <button>
4753 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4754 <highlight color="%highlight_color%"/>
4755 <image resource="q_btn_folder"/>
4756 <actions>
4757 <action function="set">tw_fm_text2=to</action>
4758 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4759 <action function="set">tw_include_text3=1</action>
4760 <action function="set">tw_back=filemanageroptions</action>
4761 <action function="page">filemanagerconfirm</action>
4762 </actions>
4763 </button>
4764
4765 <action>
4766 <touch key="home"/>
4767 <action function="page">main</action>
4768 </action>
4769
4770 <action>
4771 <touch key="back"/>
4772 <action function="page">filemanageroptions</action>
4773 </action>
4774 </page>
4775
4776 <page name="filemanagerrenamefile">
4777 <template name="page"/>
4778
4779 <template name="statusbar"/>
4780
4781 <text style="text_m">
4782 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004783 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004784 </text>
4785
4786 <text style="text_m_accent">
4787 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004788 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004789 </text>
4790
4791 <input>
4792 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4793 <text>%tw_filemanager_rename%</text>
4794 <data name="tw_filemanager_rename"/>
4795 <restrict minlen="1" maxlen="128"/>
4796 <actions>
4797 <action function="set">tw_fm_text2=to</action>
4798 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4799 <action function="set">tw_include_text3=1</action>
4800 <action function="set">tw_back=filemanageroptions</action>
4801 <action function="page">filemanagerconfirm</action>
4802 </actions>
4803 </input>
4804
4805 <fill color="%accent_color%">
4806 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4807 </fill>
4808
4809 <button style="main_button_half_height">
4810 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004811 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004812 <action function="page">filemanageroptions</action>
4813 </button>
4814
4815 <template name="keyboardtemplate"/>
4816
4817 <action>
4818 <touch key="home"/>
4819 <action function="page">main</action>
4820 </action>
4821
4822 <action>
4823 <touch key="back"/>
4824 <action function="page">filemanageroptions</action>
4825 </action>
4826 </page>
4827
4828 <page name="filemanagerrenamefolder">
4829 <template name="page"/>
4830
4831 <template name="statusbar"/>
4832
4833 <text style="text_m">
4834 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004835 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004836 </text>
4837
4838 <text style="text_m_accent">
4839 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004840 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004841 </text>
4842
4843 <input>
4844 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4845 <text>%tw_filemanager_rename%</text>
4846 <data name="tw_filemanager_rename"/>
4847 <restrict minlen="1" maxlen="128"/>
4848 <actions>
4849 <action function="set">tw_fm_text2=to</action>
4850 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4851 <action function="set">tw_include_text3=1</action>
4852 <action function="set">tw_back=filemanageroptions</action>
4853 <action function="page">filemanagerconfirm</action>
4854 </actions>
4855 </input>
4856
4857 <fill color="%accent_color%">
4858 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4859 </fill>
4860
4861 <button style="main_button_half_height">
4862 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004863 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004864 <action function="page">filemanageroptions</action>
4865 </button>
4866
4867 <template name="keyboardtemplate"/>
4868
4869 <action>
4870 <touch key="home"/>
4871 <action function="page">main</action>
4872 </action>
4873
4874 <action>
4875 <touch key="back"/>
4876 <action function="page">filemanageroptions</action>
4877 </action>
4878 </page>
4879
4880 <page name="filemanagerchmod">
4881 <template name="page"/>
4882
4883 <template name="statusbar"/>
4884
4885 <text style="text_m">
4886 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004887 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004888 </text>
4889
4890 <text style="text_m_accent">
4891 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 </text>
4894
4895 <input>
4896 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4897 <text>%tw_filemanager_rename%</text>
4898 <data name="tw_filemanager_rename"/>
4899 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4900 <actions>
4901 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4902 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4903 <action function="set">tw_back=filemanageroptions</action>
4904 <action function="page">filemanagerconfirm</action>
4905 </actions>
4906 </input>
4907
4908 <fill color="%accent_color%">
4909 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4910 </fill>
4911
4912 <button style="main_button_half_height">
4913 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004914 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004915 <action function="page">filemanageroptions</action>
4916 </button>
4917
4918 <template name="keyboardtemplate"/>
4919
4920 <action>
4921 <touch key="home"/>
4922 <action function="page">main</action>
4923 </action>
4924
4925 <action>
4926 <touch key="back"/>
4927 <action function="page">filemanageroptions</action>
4928 </action>
4929 </page>
4930
4931 <page name="filemanagerconfirm">
4932 <template name="page"/>
4933
4934 <template name="statusbar"/>
4935
4936 <text style="text_m">
4937 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004938 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004939 </text>
4940
4941 <text style="text_m_accent">
4942 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4943 <text>%tw_fm_text1%</text>
4944 </text>
4945
4946 <text style="text_m">
4947 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4948 <text>%tw_filename1%</text>
4949 </text>
4950
4951 <text style="text_m_accent">
4952 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4953 <text>%tw_fm_text2%</text>
4954 </text>
4955
4956 <text style="text_m">
4957 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4958 <text>%tw_fm_text3%</text>
4959 </text>
4960
4961 <text style="text_m">
4962 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004963 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004964 </text>
4965
4966 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004968 <action function="page">filemanageraction</action>
4969 </slider>
4970
4971 <action>
4972 <touch key="back"/>
4973 <action function="page">%tw_back%</action>
4974 </action>
4975
4976 <action>
4977 <touch key="home"/>
4978 <action function="page">main</action>
4979 </action>
4980 </page>
4981
4982 <page name="filemanageraction">
4983 <template name="page"/>
4984
4985 <template name="statusbar"/>
4986
4987 <text style="text_m">
4988 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004989 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004990 </text>
4991
4992 <template name="console"/>
4993
4994 <template name="progress_bar"/>
4995
4996 <action>
4997 <conditions>
4998 <condition var1="tw_operation_state" var2="1"/>
4999 <condition var1="tw_operation_status" var2="0"/>
5000 </conditions>
5001 <actions>
5002 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005003 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005004 <action function="page">action_complete</action>
5005 </actions>
5006 </action>
5007
5008 <action>
5009 <conditions>
5010 <condition var1="tw_operation_state" var2="1"/>
5011 <condition var1="tw_operation_status" op="!=" var2="0"/>
5012 </conditions>
5013 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005014 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005015 <action function="page">action_complete</action>
5016 </actions>
5017 </action>
5018
5019 <action>
5020 <condition var1="tw_include_text3" var2="0"/>
5021 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5022 </action>
5023
5024 <action>
5025 <condition var1="tw_include_text3" var2="1"/>
5026 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5027 </action>
5028 </page>
5029
5030 <page name="decrypt">
5031 <template name="page"/>
5032
5033 <template name="statusbar"/>
5034
5035 <action>
5036 <condition var1="tw_crypto_pwtype" var2="2"/>
5037 <action function="page">decrypt_pattern</action>
5038 </action>
5039
5040 <text style="text_m">
5041 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005042 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005043 </text>
5044
5045 <text style="text_m_accent">
5046 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005047 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005048 </text>
5049
5050 <input>
5051 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5052 <text>%tw_crypto_display%</text>
5053 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5054 <restrict minlen="1" maxlen="254"/>
5055 <action function="page">trydecrypt</action>
5056 </input>
5057
5058 <fill color="%accent_color%">
5059 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5060 </fill>
5061
5062 <fill color="%text_fail_color%">
5063 <condition var1="tw_password_fail" var2="1"/>
5064 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5065 </fill>
5066
5067 <text style="text_m_fail">
5068 <condition var1="tw_password_fail" var2="1"/>
5069 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005070 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005071 </text>
5072
5073 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005074 <placement x="%col1_x_left%" y="%row4_y%"/>
5075 <text>{@sel_lang_btn=Select Language}</text>
5076 <action function="page">settings_language</action>
5077 </button>
5078
5079 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005080 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005081 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005082 <actions>
5083 <action function="set">tw_page_done=1</action>
5084 <action function="page">main</action>
5085 </actions>
5086 </button>
5087
5088 <template name="keyboardtemplate"/>
5089 </page>
5090
5091 <page name="decrypt_pattern">
5092 <template name="page"/>
5093
5094 <template name="statusbar"/>
5095
Aleksa Saraib25a1832015-12-31 17:36:00 +01005096 <action>
5097 <action function="set">tw_gui_pattern_grid_size=3</action>
5098 </action>
5099
z31s1g28f0a922015-11-07 18:50:22 +01005100 <text style="text_m">
5101 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005102 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005103 </text>
5104
5105 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005106 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005107 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005108 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005109 </text>
5110
Aleksa Saraib25a1832015-12-31 17:36:00 +01005111 <text style="text_m_fail">
5112 <condition var1="tw_password_fail" var2="1"/>
5113 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005114 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005115 </text>
5116
z31s1g28f0a922015-11-07 18:50:22 +01005117 <text style="text_m">
5118 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005119 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005120 </text>
5121
5122 <patternpassword>
5123 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005124 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5125 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5126 <data name="tw_crypto_password"/>
5127 <action function="page">trydecrypt</action>
5128 </patternpassword>
5129
5130 <fill color="#000000">
5131 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5132 </fill>
5133
5134 <button>
5135 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5136 <image resource="back"/>
5137 <condition var1="tw_busy" var2="0"/>
5138 <actions>
5139 <action function="set">tw_page_done=1</action>
5140 <action function="page">main</action>
5141 </actions>
5142 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005143
5144 <button>
5145 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5146 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5147 <image resource="grid_less"/>
5148 <action function="set">tw_gui_pattern_grid_size=3</action>
5149 </button>
5150
5151 <button>
5152 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5153 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5154 <image resource="grid_less"/>
5155 <action function="set">tw_gui_pattern_grid_size=3</action>
5156 </button>
5157
5158 <button>
5159 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5160 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5161 <image resource="grid_less"/>
5162 <action function="set">tw_gui_pattern_grid_size=4</action>
5163 </button>
5164
5165 <button>
5166 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5167 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5168 <image resource="grid_less"/>
5169 <action function="set">tw_gui_pattern_grid_size=5</action>
5170 </button>
5171
5172 <button>
5173 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5174 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5175 <image resource="grid_more"/>
5176 <action function="set">tw_gui_pattern_grid_size=4</action>
5177 </button>
5178
5179 <button>
5180 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5181 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5182 <image resource="grid_more"/>
5183 <action function="set">tw_gui_pattern_grid_size=5</action>
5184 </button>
5185
5186 <button>
5187 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5188 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5189 <image resource="grid_more"/>
5190 <action function="set">tw_gui_pattern_grid_size=6</action>
5191 </button>
5192
5193 <button>
5194 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5195 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5196 <image resource="grid_more"/>
5197 <action function="set">tw_gui_pattern_grid_size=6</action>
5198 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005199 </page>
5200
5201 <page name="trydecrypt">
5202 <template name="page"/>
5203
5204 <template name="statusbar"/>
5205
5206 <text style="text_m">
5207 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005208 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005209 </text>
5210
5211 <template name="console"/>
5212
5213 <template name="progress_bar"/>
5214
5215 <action>
5216 <action function="decrypt"/>
5217 </action>
5218
5219 <action>
5220 <conditions>
5221 <condition var1="tw_operation_state" var2="1"/>
5222 <condition var1="tw_operation_status" op="!=" var2="0"/>
5223 </conditions>
5224 <actions>
5225 <action function="set">tw_password_fail=1</action>
5226 <action function="page">decrypt</action>
5227 </actions>
5228 </action>
5229
5230 <action>
5231 <conditions>
5232 <condition var1="tw_operation_state" var2="1"/>
5233 <condition var1="tw_operation_status" op="=" var2="0"/>
5234 </conditions>
5235 <actions>
5236 <action function="set">tw_page_done=1</action>
5237 <action function="page">main</action>
5238 </actions>
5239 </action>
5240 </page>
5241
z31s1g28f0a922015-11-07 18:50:22 +01005242 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005243 <terminal>
5244 <condition var1="tw_hide_kb" var2="0"/>
5245 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5246 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005247
z31s1g56189522016-01-13 19:12:40 +01005248 <terminal>
5249 <condition var1="tw_hide_kb" var2="1"/>
5250 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5251 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005252
z31s1g56189522016-01-13 19:12:40 +01005253 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005254
5255 <template name="keyboardtemplate"/>
5256
z31s1g608d7ff2016-01-18 19:47:25 +01005257 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005258 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005259 </fill>
z31s1g56189522016-01-13 19:12:40 +01005260
z31s1g608d7ff2016-01-18 19:47:25 +01005261 <button>
z31s1g56189522016-01-13 19:12:40 +01005262 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5263 <image resource="back" />
5264 <condition var1="tw_busy" var2="0" />
5265 <actions>
5266 <action function="set">tw_hide_kb=0</action>
5267 <action function="key">back</action>
5268 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005269 </button>
z31s1g56189522016-01-13 19:12:40 +01005270
z31s1g608d7ff2016-01-18 19:47:25 +01005271 <button>
z31s1g56189522016-01-13 19:12:40 +01005272 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5273 <image resource="home" />
5274 <condition var1="tw_busy" var2="0" />
5275 <actions>
5276 <action function="set">tw_hide_kb=0</action>
5277 <action function="key">home</action>
5278 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005279 </button>
z31s1g56189522016-01-13 19:12:40 +01005280
z31s1g608d7ff2016-01-18 19:47:25 +01005281 <button>
z31s1g56189522016-01-13 19:12:40 +01005282 <condition var1="tw_hide_kb" var2="0"/>
5283 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5284 <image resource="kb_hide" />
5285 <condition var1="tw_busy" var2="0" />
5286 <actions>
5287 <action function="set">tw_hide_kb=1</action>
5288 <action function="page">terminalcommand</action>
5289 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005290 </button>
z31s1g56189522016-01-13 19:12:40 +01005291
z31s1g608d7ff2016-01-18 19:47:25 +01005292 <button>
z31s1g56189522016-01-13 19:12:40 +01005293 <condition var1="tw_hide_kb" var2="1"/>
5294 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5295 <image resource="kb_show" />
5296 <condition var1="tw_busy" var2="0" />
5297 <actions>
5298 <action function="set">tw_hide_kb=0</action>
5299 <action function="page">terminalcommand</action>
5300 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005301 </button>
z31s1g56189522016-01-13 19:12:40 +01005302
z31s1g28f0a922015-11-07 18:50:22 +01005303 <action>
5304 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005305 <actions>
5306 <action function="set">tw_hide_kb=0</action>
5307 <action function="page">main</action>
5308 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005309 </action>
5310
5311 <action>
5312 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005313 <actions>
5314 <action function="set">tw_hide_kb=0</action>
5315 <action function="page">advanced</action>
5316 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005317 </action>
z31s1g56189522016-01-13 19:12:40 +01005318
z31s1g608d7ff2016-01-18 19:47:25 +01005319 <action>
z31s1g56189522016-01-13 19:12:40 +01005320 <touch key="power+voldown" />
5321 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005322 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005323 </page>
5324
5325 <page name="sideload">
5326 <template name="page"/>
5327
5328 <template name="statusbar"/>
5329
5330 <text style="text_m">
5331 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005332 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005333 </text>
5334
5335 <text style="text_m_accent">
5336 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005337 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005338 </text>
5339
5340 <checkbox>
5341 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005342 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005343 <data variable="tw_wipe_dalvik"/>
5344 </checkbox>
5345
5346 <checkbox>
5347 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005348 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005349 <data variable="tw_wipe_cache"/>
5350 </checkbox>
5351
5352 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005353 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005354 <actions>
5355 <action function="set">tw_back=install_type</action>
5356 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005357 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5358 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5359 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005360 <action function="set">tw_has_cancel=1</action>
5361 <action function="set">tw_show_reboot=1</action>
5362 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5363 <action function="page">action_page</action>
5364 </actions>
5365 </slider>
5366
5367 <action>
5368 <touch key="home"/>
5369 <action function="page">main</action>
5370 </action>
5371
5372 <action>
5373 <touch key="back"/>
5374 <action function="page">install_type</action>
5375 </action>
5376 </page>
5377
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005378 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005379 <template name="page"/>
5380
5381 <template name="statusbar"/>
5382
5383 <text style="text_m">
5384 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005385 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005386 </text>
5387
5388 <text style="text_m_accent">
5389 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005390 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005391 </text>
5392
z31s1g28f0a922015-11-07 18:50:22 +01005393 <text style="text_m_fail">
5394 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005395 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005396 </text>
5397
5398 <text style="text_m_fail">
5399 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005400 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005401 </text>
5402
5403 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005404 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005405 <actions>
5406 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005407 <action function="set">tw_action=fixcontexts</action>
5408 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5409 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005410 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005411 <action function="set">tw_show_reboot=1</action>
5412 <action function="page">action_page</action>
5413 </actions>
5414 </slider>
5415
5416 <action>
5417 <touch key="home"/>
5418 <action function="page">main</action>
5419 </action>
5420
5421 <action>
5422 <touch key="back"/>
5423 <action function="page">advanced</action>
5424 </action>
5425 </page>
5426
z31s1g28f0a922015-11-07 18:50:22 +01005427 <page name="slideout">
5428 <fill color="%background_color%">
5429 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5430 </fill>
5431
5432 <console>
5433 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5434 </console>
5435
5436 <fill color="%fileselector_linecolor%">
5437 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5438 </fill>
5439
5440 <fill color="%fileselector_linecolor%">
5441 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5442 </fill>
5443
5444 <button>
5445 <fill color="%transparent%"/>
5446 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5447 <action function="overlay"/>
5448 </button>
5449
5450 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005451 <touch key="power"/>
5452 <action function="togglebacklight"/>
5453 </action>
5454
5455 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005456 <touch key="power+voldown"/>
5457 <action function="screenshot"/>
5458 </action>
5459 </page>
5460
5461 <page name="select_storage">
5462 <template name="page"/>
5463
5464 <template name="statusbar"/>
5465
5466 <text style="text_m">
5467 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5468 <text>%tw_storagetext%</text>
5469 </text>
5470
5471 <partitionlist style="partitionlist_headerless_rb">
5472 <data name="tw_storage_path"/>
5473 <listtype name="storage"/>
5474 </partitionlist>
5475
5476 <button>
5477 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5478 <highlight color="%highlight_color%"/>
5479 <image resource="q_btn_refresh"/>
5480 <actions>
5481 <action function="refreshsizes"/>
5482 <action function="page">select_storage</action>
5483 </actions>
5484 </button>
5485
5486 <button>
5487 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5488 <highlight color="%highlight_color%"/>
5489 <image resource="q_btn_accept"/>
5490 <actions>
5491 <action function="set">tw_clear_destination=%tw_back%</action>
5492 <action function="page">clear_vars</action>
5493 </actions>
5494 </button>
5495
5496 <action>
5497 <touch key="power+voldown"/>
5498 <action function="screenshot"/>
5499 </action>
5500 </page>
5501 </pages>
5502</recovery>