blob: 56bdc553468fa7244d7b54a421b0098b0c3a9605 [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>
3362
3363 <action>
3364 <touch key="home"/>
3365 <action function="page">main</action>
3366 </action>
3367
3368 <action>
3369 <touch key="back"/>
3370 <action function="page">main</action>
3371 </action>
3372 </page>
3373
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003374 <page name="rebootapp">
3375 <template name="page"/>
3376
3377 <template name="statusbar"/>
3378
3379 <text style="text_m">
3380 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3381 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3382 </text>
3383
3384 <text style="text_m_accent">
3385 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3386 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3387 </text>
3388
3389 <text style="text_m">
3390 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3391 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3392 </text>
3393
3394 <checkbox>
3395 <placement x="%indent%" y="%row3_y%"/>
3396 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3397 <data variable="tw_app_prompt"/>
3398 </checkbox>
3399
3400 <checkbox>
3401 <condition var1="tw_mount_system_ro" var2="0"/>
3402 <placement x="%indent%" y="%row5_y%"/>
3403 <text>{@reboot_install_app_system=Install as a System App}</text>
3404 <data variable="tw_app_install_system"/>
3405 </checkbox>
3406
3407 <button style="main_button_half_height">
3408 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003409 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003410 <action function="reboot">%tw_reboot_param%</action>
3411 </button>
3412
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003413 <action>
3414 <touch key="home"/>
3415 <actions>
3416 <action function="set">tw_app_install_status=0</action>
3417 <action function="page">main</action>
3418 </actions>
3419 </action>
3420
3421 <action>
3422 <touch key="back"/>
3423 <actions>
3424 <action function="set">tw_app_install_status=0</action>
3425 <action function="page">reboot</action>
3426 </actions>
3427 </action>
3428 </page>
3429
z31s1g28f0a922015-11-07 18:50:22 +01003430 <page name="system_readonly">
3431 <template name="page"/>
3432
3433 <template name="statusbar"/>
3434
3435 <text style="text_m">
3436 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </text>
3439
3440 <text style="text_m_accent">
3441 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 </text>
3444
3445 <text style="text_m">
3446 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <text style="text_m">
3451 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <text style="text_m">
3456 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 </text>
3459
3460 <text style="text_m">
3461 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 </text>
3464
3465 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003466 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003468 </text>
3469
3470 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003471 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003473 </text>
3474
z31s1g608d7ff2016-01-18 19:47:25 +01003475 <button style="main_button_half_height">
3476 <placement x="%col1_x_right%" y="%row8a_y%"/>
3477 <text>{@sel_lang_btn=Select Language}</text>
3478 <action function="page">settings_language</action>
3479 </button>
3480
z31s1g28f0a922015-11-07 18:50:22 +01003481 <checkbox>
3482 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003483 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <data variable="tw_never_show_system_ro_page"/>
3486 </checkbox>
3487
3488 <button style="main_button_half_height">
3489 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 <actions>
3492 <action function="mountsystemtoggle">1</action>
3493 <action function="set">tw_page_done=1</action>
3494 <action function="page">%tw_back%</action>
3495 </actions>
3496 </button>
3497
3498 <button style="main_button_half_height">
3499 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <actions>
3502 <action function="mountsystemtoggle">0</action>
3503 <action function="set">tw_page_done=1</action>
3504 <action function="page">%tw_back%</action>
3505 </actions>
3506 </button>
3507 </page>
3508
3509 <page name="settings">
3510 <template name="page"/>
3511
3512 <template name="statusbar"/>
3513
3514 <text style="text_m">
3515 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003517 </text>
3518
3519 <button style="main_button">
3520 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003522 <action function="page">settings_general</action>
3523 </button>
3524
3525 <button style="main_button">
3526 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003528 <action function="page">settings_timezone</action>
3529 </button>
3530
3531 <button style="main_button">
3532 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <action function="page">settings_screen</action>
3535 </button>
3536
3537 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003538 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003539 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003540 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <action function="page">settings_vibration</action>
3542 </button>
3543
3544 <button style="main_button">
3545 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003546 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003547 <action function="page">settings_language</action>
3548 </button>
3549
3550 <button>
3551 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3552 <highlight color="%highlight_color%"/>
3553 <image resource="q_btn_reset"/>
3554 <action function="restoredefaultsettings"/>
3555 </button>
3556
3557 <action>
3558 <touch key="home"/>
3559 <action function="page">main</action>
3560 </action>
3561
3562 <action>
3563 <touch key="back"/>
3564 <action function="page">main3</action>
3565 </action>
3566 </page>
3567
3568 <page name="settings_general">
3569 <template name="page"/>
3570
3571 <template name="statusbar"/>
3572
3573 <text style="text_m">
3574 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 </text>
3577
3578 <listbox style="scrolllist">
3579 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003580 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003581 <data variable="tw_signed_zip_verify"/>
3582 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003583 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3584 <data variable="tw_install_reboot"/>
3585 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003587 <data variable="tw_rm_rf"/>
3588 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003589 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3590 <data variable="tw_disable_free_space"/>
3591 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003592 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3593 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003595 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3596 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003597 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003599 <data variable="tw_military_time"/>
3600 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003601 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3602 <data variable="tw_app_prompt"/>
3603 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003605 <data variable="tw_simulate_actions"/>
3606 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003608 <data variable="tw_simulate_fail"/>
3609 <condition var1="tw_simulate_actions" var2="1"/>
3610 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003611 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3612 <condition var1="tw_no_sha2" var2="0"/>
3613 <data variable="tw_use_sha2"/>
3614 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003615 </listbox>
3616
3617 <action>
3618 <touch key="home"/>
3619 <action function="page">main</action>
3620 </action>
3621
3622 <action>
3623 <touch key="back"/>
3624 <action function="page">settings</action>
3625 </action>
3626 </page>
3627
3628 <page name="settings_timezone">
3629 <template name="page"/>
3630
3631 <template name="statusbar"/>
3632
3633 <text style="text_m">
3634 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <text color="%text_color%">
3639 <font resource="font_m"/>
3640 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3641 <text>%tw_time%</text>
3642 </text>
3643
3644 <listbox style="listbox_headerless">
3645 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3646 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3648 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3649 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3650 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3651 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3652 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3653 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3654 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3655 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3656 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3657 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3658 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3659 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3660 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3661 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3662 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3663 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3664 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3665 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3666 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3667 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3668 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3669 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3670 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </listbox>
3672
3673 <button>
3674 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3675 <highlight color="%highlight_color%"/>
3676 <image resource="q_btn_arrow_right"/>
3677 <actions>
3678 <action function="setguitimezone"/>
3679 <action function="page">settings_timezone2</action>
3680 </actions>
3681 </button>
3682
3683 <action>
3684 <condition var1="tw_time_zone_guisel" op="modified"/>
3685 <action function="setguitimezone"/>
3686 </action>
3687
3688 <action>
3689 <touch key="home"/>
3690 <actions>
3691 <action function="page">main</action>
3692 <action function="setguitimezone"/>
3693 </actions>
3694 </action>
3695
3696 <action>
3697 <touch key="back"/>
3698 <actions>
3699 <action function="page">settings</action>
3700 <action function="setguitimezone"/>
3701 </actions>
3702 </action>
3703
3704 <action>
3705 <touch key="power+voldown"/>
3706 <action function="screenshot"/>
3707 </action>
3708 </page>
3709
3710 <page name="settings_timezone2">
3711 <template name="page"/>
3712
3713 <template name="statusbar"/>
3714
3715 <text style="text_m">
3716 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <text color="%text_color%">
3721 <font resource="font_m"/>
3722 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3723 <text>%tw_time%</text>
3724 </text>
3725
3726 <checkbox>
3727 <placement x="%col1_x_left%" y="%row1_y%"/>
3728 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <data variable="tw_time_zone_guidst"/>
3731 <image checked="checkbox_true" unchecked="checkbox_false"/>
3732 </checkbox>
3733
3734 <text style="text_m_accent">
3735 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003737 </text>
3738
3739 <button style="main_button_quarter_width">
3740 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003742 <actions>
3743 <action function="set">tw_time_zone_guioffset=0</action>
3744 <action function="setguitimezone"/>
3745 </actions>
3746 </button>
3747
3748 <button style="main_button_quarter_width">
3749 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <actions>
3752 <action function="set">tw_time_zone_guioffset=15</action>
3753 <action function="setguitimezone"/>
3754 </actions>
3755 </button>
3756
3757 <button style="main_button_quarter_width">
3758 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <actions>
3761 <action function="set">tw_time_zone_guioffset=30</action>
3762 <action function="setguitimezone"/>
3763 </actions>
3764 </button>
3765
3766 <button style="main_button_quarter_width">
3767 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <actions>
3770 <action function="set">tw_time_zone_guioffset=45</action>
3771 <action function="setguitimezone"/>
3772 </actions>
3773 </button>
3774
3775 <button>
3776 <placement x="%col1_x_left%" y="%row11_y%"/>
3777 <highlight color="%highlight_color%"/>
3778 <image resource="q_btn_arrow_left"/>
3779 <actions>
3780 <action function="setguitimezone"/>
3781 <action function="page">settings_timezone</action>
3782 </actions>
3783 </button>
3784
3785 <text style="text_m_accent">
3786 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 </text>
3789
3790 <text style="text_m">
3791 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3792 <text>%tw_time_zone%</text>
3793 </text>
3794
3795 <action>
3796 <condition var1="tw_time_zone_guidst" op="modified"/>
3797 <action function="setguitimezone"/>
3798 </action>
3799
3800 <action>
3801 <touch key="home"/>
3802 <actions>
3803 <action function="setguitimezone"/>
3804 <action function="page">main</action>
3805 </actions>
3806 </action>
3807
3808 <action>
3809 <touch key="back"/>
3810 <actions>
3811 <action function="setguitimezone"/>
3812 <action function="page">settings_timezone</action>
3813 </actions>
3814 </action>
3815 </page>
3816
3817 <page name="settings_screen">
3818 <template name="page"/>
3819
3820 <template name="statusbar"/>
3821
3822 <text style="text_m">
3823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </text>
3826
3827 <button style="checkbox">
3828 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3829 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3830 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003831 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003832 <image resource="checkbox_false"/>
3833 <action function="set">tw_screen_timeout_secs=60</action>
3834 </button>
3835
3836 <button style="checkbox">
3837 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3838 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3839 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003841 <image resource="checkbox_true"/>
3842 <action function="set">tw_screen_timeout_secs=0</action>
3843 </button>
3844
3845 <slidervalue>
3846 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3847 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3850 </slidervalue>
3851
3852 <text style="text_m_fail">
3853 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3854 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 </text>
3857
3858 <button>
3859 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3860 <highlight color="%highlight_color%"/>
3861 <image resource="q_btn_arrow_right"/>
3862 <action function="page">settings_screen2</action>
3863 </button>
3864
3865 <action>
3866 <touch key="home"/>
3867 <action function="page">main</action>
3868 </action>
3869
3870 <action>
3871 <touch key="back"/>
3872 <action function="page">settings</action>
3873 </action>
3874 </page>
3875
3876 <page name="settings_screen2">
3877 <template name="page"/>
3878
3879 <template name="statusbar"/>
3880
3881 <text style="text_m">
3882 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 </text>
3885
3886 <slidervalue>
3887 <condition var1="tw_has_brightnesss_file" var2="1"/>
3888 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <data variable="tw_brightness_pct" min="10" max="100"/>
3891 <actions>
3892 <action function="set">tw_brightness=%tw_brightness_max%</action>
3893 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3894 <action function="compute">tw_brightness/100</action>
3895 <action function="setbrightness">%tw_brightness%</action>
3896 </actions>
3897 </slidervalue>
3898
3899 <text style="text_m_fail">
3900 <condition var1="tw_has_brightnesss_file" var2="0"/>
3901 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <button>
3906 <placement x="%col1_x_left%" y="%row11_y%"/>
3907 <highlight color="%highlight_color%"/>
3908 <image resource="q_btn_arrow_left"/>
3909 <action function="page">settings_screen</action>
3910 </button>
3911
3912 <action>
3913 <touch key="home"/>
3914 <action function="page">main</action>
3915 </action>
3916
3917 <action>
3918 <touch key="back"/>
3919 <action function="page">settings</action>
3920 </action>
3921 </page>
3922
3923 <page name="settings_vibration">
3924 <template name="page"/>
3925
3926 <template name="statusbar"/>
3927
3928 <text style="text_m">
3929 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 </text>
3932
3933 <slidervalue>
3934 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 <data variable="tw_button_vibrate" min="0" max="300"/>
3937 </slidervalue>
3938
3939 <button>
3940 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3941 <highlight color="%highlight_color%"/>
3942 <image resource="q_btn_arrow_right"/>
3943 <action function="page">settings_vibration2</action>
3944 </button>
3945
3946 <action>
3947 <touch key="home"/>
3948 <action function="page">main</action>
3949 </action>
3950
3951 <action>
3952 <touch key="back"/>
3953 <action function="page">settings</action>
3954 </action>
3955 </page>
3956
3957 <page name="settings_vibration2">
3958 <template name="page"/>
3959
3960 <template name="statusbar"/>
3961
3962 <text style="text_m">
3963 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 </text>
3966
3967 <slidervalue>
3968 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003970 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3971 </slidervalue>
3972
3973 <button>
3974 <placement x="%col1_x_left%" y="%row11_y%"/>
3975 <highlight color="%highlight_color%"/>
3976 <image resource="q_btn_arrow_left"/>
3977 <action function="page">settings_vibration</action>
3978 </button>
3979
3980 <button>
3981 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3982 <highlight color="%highlight_color%"/>
3983 <image resource="q_btn_arrow_right"/>
3984 <action function="page">settings_vibration3</action>
3985 </button>
3986
3987 <action>
3988 <touch key="home"/>
3989 <action function="page">main</action>
3990 </action>
3991
3992 <action>
3993 <touch key="back"/>
3994 <action function="page">settings</action>
3995 </action>
3996 </page>
3997
3998 <page name="settings_vibration3">
3999 <template name="page"/>
4000
4001 <template name="statusbar"/>
4002
4003 <text style="text_m">
4004 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004006 </text>
4007
4008 <slidervalue>
4009 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004010 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004011 <data variable="tw_action_vibrate" min="0" max="500"/>
4012 </slidervalue>
4013
4014 <button>
4015 <placement x="%col1_x_left%" y="%row11_y%"/>
4016 <highlight color="%highlight_color%"/>
4017 <image resource="q_btn_arrow_left"/>
4018 <action function="page">settings_vibration2</action>
4019 </button>
4020
4021 <action>
4022 <touch key="home"/>
4023 <action function="page">main</action>
4024 </action>
4025
4026 <action>
4027 <touch key="back"/>
4028 <action function="page">settings</action>
4029 </action>
4030 </page>
4031
Ethan Yonker74db1572015-10-28 12:44:49 -05004032 <page name="settings_language">
4033 <template name="page"/>
4034
4035 <template name="statusbar"/>
4036
4037 <text style="text_m">
4038 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4039 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4040 </text>
4041
z31s1g608d7ff2016-01-18 19:47:25 +01004042 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004043 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4044 <icon selected="radio_true" unselected="radio_false" />
4045 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004046 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047
4048 <button>
4049 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4050 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004051 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <action function="setlanguage"></action>
4053 </button>
4054
z31s1g608d7ff2016-01-18 19:47:25 +01004055 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <touch key="home" />
4057 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004058 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004059
z31s1g608d7ff2016-01-18 19:47:25 +01004060 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004061 <touch key="back" />
4062 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004063 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 </page>
4065
z31s1g28f0a922015-11-07 18:50:22 +01004066 <page name="advanced">
4067 <template name="page"/>
4068
4069 <template name="statusbar"/>
4070
4071 <text style="text_m">
4072 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <button style="main_button">
4077 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004079 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </button>
4081
4082 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004083 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004084 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004085 <text>{@fix_context_btn=Fix Contexts}</text>
4086 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004087 </button>
4088
4089 <button style="main_button">
4090 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 <action function="reload"/>
4093 </button>
4094
4095 <button style="main_button">
4096 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4097 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004098 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004099 <actions>
4100 <action function="set">partitionlisterror=0</action>
4101 <action function="page">partsdcardsel</action>
4102 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004103 </button>
4104
4105 <button style="main_button">
4106 <condition var1="tw_show_dumlock" var2="1"/>
4107 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004108 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004109 <action function="page">htcdumlock</action>
4110 </button>
4111
4112 <button style="main_button">
4113 <condition var1="tw_has_injecttwrp" var2="1"/>
4114 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 <actions>
4117 <action function="set">tw_back=advanced</action>
4118 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4120 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4121 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4122 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004123 <action function="page">confirm_action</action>
4124 </actions>
4125 </button>
4126
4127 <action>
4128 <touch key="home"/>
4129 <action function="page">main</action>
4130 </action>
4131
4132 <action>
4133 <touch key="back"/>
4134 <action function="page">main3</action>
4135 </action>
4136 </page>
4137
Ethan Yonker483e9f42016-01-11 22:21:18 -06004138 <page name="partsdcardsel">
4139 <template name="page"/>
4140
4141 <template name="statusbar"/>
4142
4143 <text style="text_m">
4144 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4145 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4146 </text>
4147
4148 <partitionlist style="partitionlist_headerless_rb">
4149 <data name="tw_storage_path"/>
4150 <listtype name="storage"/>
4151 </partitionlist>
4152
4153 <text style="text_m_fail">
4154 <condition var1="partitionlisterror" var2="1"/>
4155 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4156 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4157 </text>
4158
4159 <button>
4160 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4161 <highlight color="%highlight_color%"/>
4162 <image resource="q_btn_refresh"/>
4163 <action function="refreshsizes"/>
4164 </button>
4165
4166 <button>
4167 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4168 <highlight color="%highlight_color%"/>
4169 <image resource="q_btn_accept"/>
4170 <actions>
4171 <action function="getpartitiondetails">tw_storage_path</action>
4172 <action function="page">partsdcardcheck</action>
4173 </actions>
4174 </button>
4175
4176 <action>
4177 <touch key="home"/>
4178 <action function="page">main</action>
4179 </action>
4180
4181 <action>
4182 <touch key="back"/>
4183 <action function="page">advanced</action>
4184 </action>
4185 </page>
4186
4187 <page name="partsdcardcheck">
4188 <action>
4189 <condition var1="tw_partition_removable" op="=" var2="1"/>
4190 <actions>
4191 <action function="set">partitionlisterror=0</action>
4192 <action function="page">partsdcard</action>
4193 </actions>
4194 </action>
4195
4196 <action>
4197 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4198 <actions>
4199 <action function="set">partitionlisterror=1</action>
4200 <action function="page">partsdcardsel</action>
4201 </actions>
4202 </action>
4203 </page>
4204
z31s1g28f0a922015-11-07 18:50:22 +01004205 <page name="partsdcard">
4206 <template name="page"/>
4207
4208 <template name="statusbar"/>
4209
4210 <text style="text_m">
4211 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004212 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004213 </text>
4214
4215 <text style="text_m_fail">
4216 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
4220 <text style="text_m_fail">
4221 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004222 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </text>
4224
4225 <text style="text_m_accent">
4226 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </text>
4229
4230 <text style="text_m">
4231 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4232 <text>%tw_sdext_size%</text>
4233 </text>
4234
4235 <button style="main_button_quarter_width">
4236 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004238 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004239 </button>
4240
4241 <button style="main_button_quarter_width">
4242 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004243 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004244 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004245 </button>
4246
4247 <button>
4248 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4249 <highlight color="%highlight_color%"/>
4250 <image resource="q_btn_arrow_right"/>
4251 <action function="page">partsdcard2</action>
4252 </button>
4253
4254 <action>
4255 <touch key="home"/>
4256 <action function="page">main</action>
4257 </action>
4258
4259 <action>
4260 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004261 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004262 </action>
4263 </page>
4264
4265 <page name="partsdcard2">
4266 <template name="page"/>
4267
4268 <template name="statusbar"/>
4269
4270 <text style="text_m">
4271 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004272 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004273 </text>
4274
4275 <text style="text_m_fail">
4276 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004277 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004278 </text>
4279
4280 <text style="text_m_fail">
4281 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004282 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004283 </text>
4284
4285 <text style="text_m_accent">
4286 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004287 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004288 </text>
4289
4290 <text style="text_m">
4291 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4292 <text>%tw_swap_size%</text>
4293 </text>
4294
4295 <button style="main_button_quarter_width">
4296 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004298 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004299 </button>
4300
4301 <button style="main_button_quarter_width">
4302 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004303 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004304 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004305 </button>
4306
4307 <button>
4308 <placement x="%col1_x_left%" y="%row11_y%"/>
4309 <highlight color="%highlight_color%"/>
4310 <image resource="q_btn_arrow_left"/>
4311 <action function="page">partsdcard</action>
4312 </button>
4313
4314 <button>
4315 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4316 <highlight color="%highlight_color%"/>
4317 <image resource="q_btn_arrow_right"/>
4318 <action function="page">partsdcard3</action>
4319 </button>
4320
4321 <action>
4322 <touch key="home"/>
4323 <action function="page">main</action>
4324 </action>
4325
4326 <action>
4327 <touch key="back"/>
4328 <action function="page">advanced</action>
4329 </action>
4330 </page>
4331
4332 <page name="partsdcard3">
4333 <template name="page"/>
4334
4335 <template name="statusbar"/>
4336
4337 <text style="text_m">
4338 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 </text>
4341
4342 <text style="text_m_fail">
4343 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 </text>
4346
4347 <text style="text_m_fail">
4348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004349 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004350 </text>
4351
4352 <text style="text_m_accent">
4353 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004354 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004355 </text>
4356
4357 <text style="text_m">
4358 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4359 <text>%tw_sdpart_file_system%</text>
4360 </text>
4361
4362 <button style="main_button_quarter_width">
4363 <placement x="%indent%" y="%row6_y%"/>
4364 <text>EXT3</text>
4365 <action function="set">tw_sdpart_file_system=ext3</action>
4366 </button>
4367
4368 <button style="main_button_quarter_width">
4369 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4370 <text>EXT4</text>
4371 <action function="set">tw_sdpart_file_system=ext4</action>
4372 </button>
4373
4374 <button>
4375 <placement x="%col1_x_left%" y="%row11_y%"/>
4376 <highlight color="%highlight_color%"/>
4377 <image resource="q_btn_arrow_left"/>
4378 <action function="page">partsdcard2</action>
4379 </button>
4380
4381 <button>
4382 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4383 <highlight color="%highlight_color%"/>
4384 <image resource="q_btn_arrow_right"/>
4385 <action function="page">partsdcard_confirm</action>
4386 </button>
4387
4388 <action>
4389 <touch key="home"/>
4390 <action function="page">main</action>
4391 </action>
4392
4393 <action>
4394 <touch key="back"/>
4395 <action function="page">advanced</action>
4396 </action>
4397 </page>
4398
4399 <page name="partsdcard_confirm">
4400 <template name="page"/>
4401
4402 <template name="statusbar"/>
4403
4404 <text style="text_m">
4405 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <text style="text_m_fail">
4410 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <text style="text_m_fail">
4415 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </text>
4418
4419 <text style="text_m_accent">
4420 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004422 </text>
4423
4424 <text style="text_m_accent">
4425 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004427 </text>
4428
4429 <text style="text_m_accent">
4430 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 </text>
4433
4434 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004435 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004436 <action function="page">partsdcardaction</action>
4437 <actions>
4438 <action function="set">tw_back=partsdcard</action>
4439 <action function="set">tw_action=partitionsd</action>
4440 <action function="set">tw_has_action2=1</action>
4441 <action function="set">tw_action2=set</action>
4442 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4444 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4445 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004446 <action function="page">action_page</action>
4447 </actions>
4448 </slider>
4449
4450 <action>
4451 <touch key="home"/>
4452 <action function="page">main</action>
4453 </action>
4454
4455 <action>
4456 <touch key="back"/>
4457 <action function="page">advanced</action>
4458 </action>
4459 </page>
4460
4461 <page name="htcdumlock">
4462 <template name="page"/>
4463
4464 <template name="statusbar"/>
4465
4466 <text style="text_m">
4467 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004468 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 </text>
4470
4471 <button style="main_button_full_width">
4472 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 <actions>
4475 <action function="set">tw_back=htcdumlock</action>
4476 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004477 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4478 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4479 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4480 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004481 <action function="page">confirm_action</action>
4482 </actions>
4483 </button>
4484
4485 <button style="main_button_full_width">
4486 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <actions>
4489 <action function="set">tw_back=htcdumlock</action>
4490 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004491 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4492 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4493 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4494 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004495 <action function="page">confirm_action</action>
4496 </actions>
4497 </button>
4498
4499 <button style="main_button_full_width">
4500 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 <actions>
4503 <action function="set">tw_back=htcdumlock</action>
4504 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4506 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4507 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4508 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004509 <action function="page">confirm_action</action>
4510 </actions>
4511 </button>
4512
4513 <action>
4514 <touch key="home"/>
4515 <action function="page">main</action>
4516 </action>
4517
4518 <action>
4519 <touch key="back"/>
4520 <action function="page">advanced</action>
4521 </action>
4522 </page>
4523
4524 <page name="lock">
4525 <background color="%semi_transparent%"/>
4526
4527 <image>
4528 <image resource="unlock_icon"/>
4529 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4530 </image>
4531
4532 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 <action function="overlay"/>
4535 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004536
4537 <action>
4538 <touch key="power"/>
4539 <action function="togglebacklight"/>
4540 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004541 </page>
4542
4543 <page name="filemanagerlist">
4544 <template name="page"/>
4545
4546 <template name="statusbar"/>
4547
4548 <text style="text_m">
4549 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <fileselector>
4554 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4555 <text>%tw_file_location1%</text>
4556 <filter folders="1" files="1"/>
4557 <path name="tw_file_location1" default="/"/>
4558 <data name="tw_filename1"/>
4559 <selection name="tw_selection1"/>
4560 </fileselector>
4561
4562 <button>
4563 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4564 <highlight color="%highlight_color%"/>
4565 <image resource="q_btn_folder"/>
4566 <actions>
4567 <action function="set">tw_filename1=tw_file_location1</action>
4568 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004569 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004570 <action function="page">filemanageroptions</action>
4571 </actions>
4572 </button>
4573
4574 <action>
4575 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004576 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004577 <action function="set">tw_fm_isfolder=0</action>
4578 </actions>
4579 </action>
4580
4581 <action>
4582 <touch key="home"/>
4583 <action function="page">main</action>
4584 </action>
4585
4586 <action>
4587 <touch key="back"/>
4588 <action function="page">main3</action>
4589 </action>
4590
4591 <action>
4592 <condition var1="tw_filename1" op="modified"/>
4593 <action function="page">filemanageroptions</action>
4594 </action>
4595 </page>
4596
4597 <page name="filemanageroptions">
4598 <template name="page"/>
4599
4600 <template name="statusbar"/>
4601
4602 <text style="text_m">
4603 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <button style="main_button">
4608 <condition var1="tw_fm_isfolder" var2="0"/>
4609 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004610 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004611 <actions>
4612 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004614 <action function="page">choosedestinationfolder</action>
4615 </actions>
4616 </button>
4617
4618 <button style="main_button">
4619 <condition var1="tw_fm_isfolder" var2="1"/>
4620 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 <actions>
4623 <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 -05004624 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004625 <action function="page">choosedestinationfolder</action>
4626 </actions>
4627 </button>
4628
4629 <button style="main_button">
4630 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 <actions>
4633 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <action function="page">choosedestinationfolder</action>
4636 </actions>
4637 </button>
4638
4639 <button style="main_button">
4640 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 <actions>
4643 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004644 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004645 <action function="set">tw_fm_text2=</action>
4646 <action function="set">tw_fm_text3=</action>
4647 <action function="set">tw_include_text3=0</action>
4648 <action function="set">tw_back=filemanageroptions</action>
4649 <action function="page">filemanagerconfirm</action>
4650 </actions>
4651 </button>
4652
4653 <button style="main_button">
4654 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004655 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004656 <actions>
4657 <action function="set">tw_filemanager_rename=0000</action>
4658 <action function="set">tw_fm_text2=</action>
4659 <action function="set">tw_fm_text3=</action>
4660 <action function="set">tw_include_text3=0</action>
4661 <action function="set">tw_back=filemanageroptions</action>
4662 <action function="page">filemanagerchmod</action>
4663 </actions>
4664 </button>
4665
4666 <button style="main_button">
4667 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <actions>
4670 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004671 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004672 <action function="set">tw_fm_text2=</action>
4673 <action function="set">tw_fm_text3=</action>
4674 <action function="set">tw_include_text3=0</action>
4675 <action function="set">tw_back=filemanageroptions</action>
4676 <action function="page">filemanagerconfirm</action>
4677 </actions>
4678 </button>
4679
4680 <button style="main_button">
4681 <condition var1="tw_fm_isfolder" var2="0"/>
4682 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004683 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004684 <actions>
4685 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004686 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <action function="set">tw_filemanager_command=mv</action>
4688 <action function="page">filemanagerrenamefile</action>
4689 </actions>
4690 </button>
4691
4692 <button style="main_button">
4693 <condition var1="tw_fm_isfolder" var2="1"/>
4694 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004695 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004696 <actions>
4697 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004698 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004699 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4700 <action function="page">filemanagerrenamefolder</action>
4701 </actions>
4702 </button>
4703
4704 <action>
4705 <touch key="home"/>
4706 <action function="page">main</action>
4707 </action>
4708
4709 <action>
4710 <touch key="back"/>
4711 <action function="page">filemanagerlist</action>
4712 </action>
4713 </page>
4714
4715 <page name="choosedestinationfolder">
4716 <template name="page"/>
4717
4718 <template name="statusbar"/>
4719
4720 <text style="text_m">
4721 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004722 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004723 </text>
4724
4725 <fileselector>
4726 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4727 <text>%tw_file_location2%</text>
4728 <filter folders="1" files="0"/>
4729 <path name="tw_file_location2" default="/"/>
4730 <data name="tw_filename2"/>
4731 <selection name="tw_selection2"/>
4732 </fileselector>
4733
4734 <button>
4735 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4736 <highlight color="%highlight_color%"/>
4737 <image resource="q_btn_folder"/>
4738 <actions>
4739 <action function="set">tw_fm_text2=to</action>
4740 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4741 <action function="set">tw_include_text3=1</action>
4742 <action function="set">tw_back=filemanageroptions</action>
4743 <action function="page">filemanagerconfirm</action>
4744 </actions>
4745 </button>
4746
4747 <action>
4748 <touch key="home"/>
4749 <action function="page">main</action>
4750 </action>
4751
4752 <action>
4753 <touch key="back"/>
4754 <action function="page">filemanageroptions</action>
4755 </action>
4756 </page>
4757
4758 <page name="filemanagerrenamefile">
4759 <template name="page"/>
4760
4761 <template name="statusbar"/>
4762
4763 <text style="text_m">
4764 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004765 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004766 </text>
4767
4768 <text style="text_m_accent">
4769 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004770 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004771 </text>
4772
4773 <input>
4774 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4775 <text>%tw_filemanager_rename%</text>
4776 <data name="tw_filemanager_rename"/>
4777 <restrict minlen="1" maxlen="128"/>
4778 <actions>
4779 <action function="set">tw_fm_text2=to</action>
4780 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4781 <action function="set">tw_include_text3=1</action>
4782 <action function="set">tw_back=filemanageroptions</action>
4783 <action function="page">filemanagerconfirm</action>
4784 </actions>
4785 </input>
4786
4787 <fill color="%accent_color%">
4788 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4789 </fill>
4790
4791 <button style="main_button_half_height">
4792 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004793 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004794 <action function="page">filemanageroptions</action>
4795 </button>
4796
4797 <template name="keyboardtemplate"/>
4798
4799 <action>
4800 <touch key="home"/>
4801 <action function="page">main</action>
4802 </action>
4803
4804 <action>
4805 <touch key="back"/>
4806 <action function="page">filemanageroptions</action>
4807 </action>
4808 </page>
4809
4810 <page name="filemanagerrenamefolder">
4811 <template name="page"/>
4812
4813 <template name="statusbar"/>
4814
4815 <text style="text_m">
4816 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004817 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004818 </text>
4819
4820 <text style="text_m_accent">
4821 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004822 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004823 </text>
4824
4825 <input>
4826 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4827 <text>%tw_filemanager_rename%</text>
4828 <data name="tw_filemanager_rename"/>
4829 <restrict minlen="1" maxlen="128"/>
4830 <actions>
4831 <action function="set">tw_fm_text2=to</action>
4832 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4833 <action function="set">tw_include_text3=1</action>
4834 <action function="set">tw_back=filemanageroptions</action>
4835 <action function="page">filemanagerconfirm</action>
4836 </actions>
4837 </input>
4838
4839 <fill color="%accent_color%">
4840 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4841 </fill>
4842
4843 <button style="main_button_half_height">
4844 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004845 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004846 <action function="page">filemanageroptions</action>
4847 </button>
4848
4849 <template name="keyboardtemplate"/>
4850
4851 <action>
4852 <touch key="home"/>
4853 <action function="page">main</action>
4854 </action>
4855
4856 <action>
4857 <touch key="back"/>
4858 <action function="page">filemanageroptions</action>
4859 </action>
4860 </page>
4861
4862 <page name="filemanagerchmod">
4863 <template name="page"/>
4864
4865 <template name="statusbar"/>
4866
4867 <text style="text_m">
4868 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004869 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004870 </text>
4871
4872 <text style="text_m_accent">
4873 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004874 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004875 </text>
4876
4877 <input>
4878 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4879 <text>%tw_filemanager_rename%</text>
4880 <data name="tw_filemanager_rename"/>
4881 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4882 <actions>
4883 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4884 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4885 <action function="set">tw_back=filemanageroptions</action>
4886 <action function="page">filemanagerconfirm</action>
4887 </actions>
4888 </input>
4889
4890 <fill color="%accent_color%">
4891 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4892 </fill>
4893
4894 <button style="main_button_half_height">
4895 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004896 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004897 <action function="page">filemanageroptions</action>
4898 </button>
4899
4900 <template name="keyboardtemplate"/>
4901
4902 <action>
4903 <touch key="home"/>
4904 <action function="page">main</action>
4905 </action>
4906
4907 <action>
4908 <touch key="back"/>
4909 <action function="page">filemanageroptions</action>
4910 </action>
4911 </page>
4912
4913 <page name="filemanagerconfirm">
4914 <template name="page"/>
4915
4916 <template name="statusbar"/>
4917
4918 <text style="text_m">
4919 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004920 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004921 </text>
4922
4923 <text style="text_m_accent">
4924 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4925 <text>%tw_fm_text1%</text>
4926 </text>
4927
4928 <text style="text_m">
4929 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4930 <text>%tw_filename1%</text>
4931 </text>
4932
4933 <text style="text_m_accent">
4934 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4935 <text>%tw_fm_text2%</text>
4936 </text>
4937
4938 <text style="text_m">
4939 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4940 <text>%tw_fm_text3%</text>
4941 </text>
4942
4943 <text style="text_m">
4944 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004945 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004946 </text>
4947
4948 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004949 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004950 <action function="page">filemanageraction</action>
4951 </slider>
4952
4953 <action>
4954 <touch key="back"/>
4955 <action function="page">%tw_back%</action>
4956 </action>
4957
4958 <action>
4959 <touch key="home"/>
4960 <action function="page">main</action>
4961 </action>
4962 </page>
4963
4964 <page name="filemanageraction">
4965 <template name="page"/>
4966
4967 <template name="statusbar"/>
4968
4969 <text style="text_m">
4970 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004971 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004972 </text>
4973
4974 <template name="console"/>
4975
4976 <template name="progress_bar"/>
4977
4978 <action>
4979 <conditions>
4980 <condition var1="tw_operation_state" var2="1"/>
4981 <condition var1="tw_operation_status" var2="0"/>
4982 </conditions>
4983 <actions>
4984 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004985 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004986 <action function="page">action_complete</action>
4987 </actions>
4988 </action>
4989
4990 <action>
4991 <conditions>
4992 <condition var1="tw_operation_state" var2="1"/>
4993 <condition var1="tw_operation_status" op="!=" var2="0"/>
4994 </conditions>
4995 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004996 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004997 <action function="page">action_complete</action>
4998 </actions>
4999 </action>
5000
5001 <action>
5002 <condition var1="tw_include_text3" var2="0"/>
5003 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5004 </action>
5005
5006 <action>
5007 <condition var1="tw_include_text3" var2="1"/>
5008 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5009 </action>
5010 </page>
5011
5012 <page name="decrypt">
5013 <template name="page"/>
5014
5015 <template name="statusbar"/>
5016
5017 <action>
5018 <condition var1="tw_crypto_pwtype" var2="2"/>
5019 <action function="page">decrypt_pattern</action>
5020 </action>
5021
5022 <text style="text_m">
5023 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005024 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005025 </text>
5026
5027 <text style="text_m_accent">
5028 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005029 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005030 </text>
5031
5032 <input>
5033 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5034 <text>%tw_crypto_display%</text>
5035 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5036 <restrict minlen="1" maxlen="254"/>
5037 <action function="page">trydecrypt</action>
5038 </input>
5039
5040 <fill color="%accent_color%">
5041 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5042 </fill>
5043
5044 <fill color="%text_fail_color%">
5045 <condition var1="tw_password_fail" var2="1"/>
5046 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5047 </fill>
5048
5049 <text style="text_m_fail">
5050 <condition var1="tw_password_fail" var2="1"/>
5051 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005052 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005053 </text>
5054
5055 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005056 <placement x="%col1_x_left%" y="%row4_y%"/>
5057 <text>{@sel_lang_btn=Select Language}</text>
5058 <action function="page">settings_language</action>
5059 </button>
5060
5061 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005062 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005063 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005064 <actions>
5065 <action function="set">tw_page_done=1</action>
5066 <action function="page">main</action>
5067 </actions>
5068 </button>
5069
5070 <template name="keyboardtemplate"/>
5071 </page>
5072
5073 <page name="decrypt_pattern">
5074 <template name="page"/>
5075
5076 <template name="statusbar"/>
5077
Aleksa Saraib25a1832015-12-31 17:36:00 +01005078 <action>
5079 <action function="set">tw_gui_pattern_grid_size=3</action>
5080 </action>
5081
z31s1g28f0a922015-11-07 18:50:22 +01005082 <text style="text_m">
5083 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005084 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005085 </text>
5086
5087 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005088 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005089 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005090 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005091 </text>
5092
Aleksa Saraib25a1832015-12-31 17:36:00 +01005093 <text style="text_m_fail">
5094 <condition var1="tw_password_fail" var2="1"/>
5095 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005096 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005097 </text>
5098
z31s1g28f0a922015-11-07 18:50:22 +01005099 <text style="text_m">
5100 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005101 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005102 </text>
5103
5104 <patternpassword>
5105 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005106 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5107 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5108 <data name="tw_crypto_password"/>
5109 <action function="page">trydecrypt</action>
5110 </patternpassword>
5111
5112 <fill color="#000000">
5113 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5114 </fill>
5115
5116 <button>
5117 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5118 <image resource="back"/>
5119 <condition var1="tw_busy" var2="0"/>
5120 <actions>
5121 <action function="set">tw_page_done=1</action>
5122 <action function="page">main</action>
5123 </actions>
5124 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005125
5126 <button>
5127 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5128 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5129 <image resource="grid_less"/>
5130 <action function="set">tw_gui_pattern_grid_size=3</action>
5131 </button>
5132
5133 <button>
5134 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5135 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5136 <image resource="grid_less"/>
5137 <action function="set">tw_gui_pattern_grid_size=3</action>
5138 </button>
5139
5140 <button>
5141 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5142 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5143 <image resource="grid_less"/>
5144 <action function="set">tw_gui_pattern_grid_size=4</action>
5145 </button>
5146
5147 <button>
5148 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5149 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5150 <image resource="grid_less"/>
5151 <action function="set">tw_gui_pattern_grid_size=5</action>
5152 </button>
5153
5154 <button>
5155 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5156 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5157 <image resource="grid_more"/>
5158 <action function="set">tw_gui_pattern_grid_size=4</action>
5159 </button>
5160
5161 <button>
5162 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5163 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5164 <image resource="grid_more"/>
5165 <action function="set">tw_gui_pattern_grid_size=5</action>
5166 </button>
5167
5168 <button>
5169 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5170 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5171 <image resource="grid_more"/>
5172 <action function="set">tw_gui_pattern_grid_size=6</action>
5173 </button>
5174
5175 <button>
5176 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5177 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5178 <image resource="grid_more"/>
5179 <action function="set">tw_gui_pattern_grid_size=6</action>
5180 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005181 </page>
5182
5183 <page name="trydecrypt">
5184 <template name="page"/>
5185
5186 <template name="statusbar"/>
5187
5188 <text style="text_m">
5189 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005190 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005191 </text>
5192
5193 <template name="console"/>
5194
5195 <template name="progress_bar"/>
5196
5197 <action>
5198 <action function="decrypt"/>
5199 </action>
5200
5201 <action>
5202 <conditions>
5203 <condition var1="tw_operation_state" var2="1"/>
5204 <condition var1="tw_operation_status" op="!=" var2="0"/>
5205 </conditions>
5206 <actions>
5207 <action function="set">tw_password_fail=1</action>
5208 <action function="page">decrypt</action>
5209 </actions>
5210 </action>
5211
5212 <action>
5213 <conditions>
5214 <condition var1="tw_operation_state" var2="1"/>
5215 <condition var1="tw_operation_status" op="=" var2="0"/>
5216 </conditions>
5217 <actions>
5218 <action function="set">tw_page_done=1</action>
5219 <action function="page">main</action>
5220 </actions>
5221 </action>
5222 </page>
5223
z31s1g28f0a922015-11-07 18:50:22 +01005224 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005225 <terminal>
5226 <condition var1="tw_hide_kb" var2="0"/>
5227 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5228 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005229
z31s1g56189522016-01-13 19:12:40 +01005230 <terminal>
5231 <condition var1="tw_hide_kb" var2="1"/>
5232 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5233 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005234
z31s1g56189522016-01-13 19:12:40 +01005235 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005236
5237 <template name="keyboardtemplate"/>
5238
z31s1g608d7ff2016-01-18 19:47:25 +01005239 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005240 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005241 </fill>
z31s1g56189522016-01-13 19:12:40 +01005242
z31s1g608d7ff2016-01-18 19:47:25 +01005243 <button>
z31s1g56189522016-01-13 19:12:40 +01005244 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5245 <image resource="back" />
5246 <condition var1="tw_busy" var2="0" />
5247 <actions>
5248 <action function="set">tw_hide_kb=0</action>
5249 <action function="key">back</action>
5250 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005251 </button>
z31s1g56189522016-01-13 19:12:40 +01005252
z31s1g608d7ff2016-01-18 19:47:25 +01005253 <button>
z31s1g56189522016-01-13 19:12:40 +01005254 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5255 <image resource="home" />
5256 <condition var1="tw_busy" var2="0" />
5257 <actions>
5258 <action function="set">tw_hide_kb=0</action>
5259 <action function="key">home</action>
5260 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005261 </button>
z31s1g56189522016-01-13 19:12:40 +01005262
z31s1g608d7ff2016-01-18 19:47:25 +01005263 <button>
z31s1g56189522016-01-13 19:12:40 +01005264 <condition var1="tw_hide_kb" var2="0"/>
5265 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5266 <image resource="kb_hide" />
5267 <condition var1="tw_busy" var2="0" />
5268 <actions>
5269 <action function="set">tw_hide_kb=1</action>
5270 <action function="page">terminalcommand</action>
5271 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005272 </button>
z31s1g56189522016-01-13 19:12:40 +01005273
z31s1g608d7ff2016-01-18 19:47:25 +01005274 <button>
z31s1g56189522016-01-13 19:12:40 +01005275 <condition var1="tw_hide_kb" var2="1"/>
5276 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5277 <image resource="kb_show" />
5278 <condition var1="tw_busy" var2="0" />
5279 <actions>
5280 <action function="set">tw_hide_kb=0</action>
5281 <action function="page">terminalcommand</action>
5282 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005283 </button>
z31s1g56189522016-01-13 19:12:40 +01005284
z31s1g28f0a922015-11-07 18:50:22 +01005285 <action>
5286 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005287 <actions>
5288 <action function="set">tw_hide_kb=0</action>
5289 <action function="page">main</action>
5290 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005291 </action>
5292
5293 <action>
5294 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005295 <actions>
5296 <action function="set">tw_hide_kb=0</action>
5297 <action function="page">advanced</action>
5298 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005299 </action>
z31s1g56189522016-01-13 19:12:40 +01005300
z31s1g608d7ff2016-01-18 19:47:25 +01005301 <action>
z31s1g56189522016-01-13 19:12:40 +01005302 <touch key="power+voldown" />
5303 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005304 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005305 </page>
5306
5307 <page name="sideload">
5308 <template name="page"/>
5309
5310 <template name="statusbar"/>
5311
5312 <text style="text_m">
5313 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005314 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005315 </text>
5316
5317 <text style="text_m_accent">
5318 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005319 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005320 </text>
5321
5322 <checkbox>
5323 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005324 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005325 <data variable="tw_wipe_dalvik"/>
5326 </checkbox>
5327
5328 <checkbox>
5329 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005330 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005331 <data variable="tw_wipe_cache"/>
5332 </checkbox>
5333
5334 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005335 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005336 <actions>
5337 <action function="set">tw_back=install_type</action>
5338 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005339 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5340 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5341 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005342 <action function="set">tw_has_cancel=1</action>
5343 <action function="set">tw_show_reboot=1</action>
5344 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5345 <action function="page">action_page</action>
5346 </actions>
5347 </slider>
5348
5349 <action>
5350 <touch key="home"/>
5351 <action function="page">main</action>
5352 </action>
5353
5354 <action>
5355 <touch key="back"/>
5356 <action function="page">install_type</action>
5357 </action>
5358 </page>
5359
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005360 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005361 <template name="page"/>
5362
5363 <template name="statusbar"/>
5364
5365 <text style="text_m">
5366 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005367 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005368 </text>
5369
5370 <text style="text_m_accent">
5371 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005372 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005373 </text>
5374
z31s1g28f0a922015-11-07 18:50:22 +01005375 <text style="text_m_fail">
5376 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005377 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005378 </text>
5379
5380 <text style="text_m_fail">
5381 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005382 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005383 </text>
5384
5385 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005386 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005387 <actions>
5388 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005389 <action function="set">tw_action=fixcontexts</action>
5390 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5391 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005392 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005393 <action function="set">tw_show_reboot=1</action>
5394 <action function="page">action_page</action>
5395 </actions>
5396 </slider>
5397
5398 <action>
5399 <touch key="home"/>
5400 <action function="page">main</action>
5401 </action>
5402
5403 <action>
5404 <touch key="back"/>
5405 <action function="page">advanced</action>
5406 </action>
5407 </page>
5408
z31s1g28f0a922015-11-07 18:50:22 +01005409 <page name="slideout">
5410 <fill color="%background_color%">
5411 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5412 </fill>
5413
5414 <console>
5415 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5416 </console>
5417
5418 <fill color="%fileselector_linecolor%">
5419 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5420 </fill>
5421
5422 <fill color="%fileselector_linecolor%">
5423 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5424 </fill>
5425
5426 <button>
5427 <fill color="%transparent%"/>
5428 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5429 <action function="overlay"/>
5430 </button>
5431
5432 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005433 <touch key="power"/>
5434 <action function="togglebacklight"/>
5435 </action>
5436
5437 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005438 <touch key="power+voldown"/>
5439 <action function="screenshot"/>
5440 </action>
5441 </page>
5442
5443 <page name="select_storage">
5444 <template name="page"/>
5445
5446 <template name="statusbar"/>
5447
5448 <text style="text_m">
5449 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5450 <text>%tw_storagetext%</text>
5451 </text>
5452
5453 <partitionlist style="partitionlist_headerless_rb">
5454 <data name="tw_storage_path"/>
5455 <listtype name="storage"/>
5456 </partitionlist>
5457
5458 <button>
5459 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5460 <highlight color="%highlight_color%"/>
5461 <image resource="q_btn_refresh"/>
5462 <actions>
5463 <action function="refreshsizes"/>
5464 <action function="page">select_storage</action>
5465 </actions>
5466 </button>
5467
5468 <button>
5469 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5470 <highlight color="%highlight_color%"/>
5471 <image resource="q_btn_accept"/>
5472 <actions>
5473 <action function="set">tw_clear_destination=%tw_back%</action>
5474 <action function="page">clear_vars</action>
5475 </actions>
5476 </button>
5477
5478 <action>
5479 <touch key="power+voldown"/>
5480 <action function="screenshot"/>
5481 </action>
5482 </page>
5483 </pages>
5484</recovery>