blob: d5ef869721884e4290b2c1df0628196b84ab96c6 [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">
709 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500710 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100711 <actions>
712 <action function="set">tw_back=flash_done</action>
713 <action function="set">tw_action=wipe</action>
714 <action function="set">tw_action_param=/cache</action>
715 <action function="set">tw_has_action2=1</action>
716 <action function="set">tw_action2=wipe</action>
717 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500718 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
719 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
720 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
721 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100722 <action function="page">confirm_action</action>
723 </actions>
724 </button>
725
726 <button style="main_button_half_height">
727 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500728 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100729 <actions>
730 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500731 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100732 </actions>
733 </button>
734
735 <action>
736 <touch key="back"/>
737 <actions>
738 <action function="set">tw_clear_destination=install_type</action>
739 <action function="page">clear_vars</action>
740 </actions>
741 </action>
742
743 <action>
744 <touch key="home"/>
745 <actions>
746 <action function="set">tw_clear_destination=main2</action>
747 <action function="page">clear_vars</action>
748 </actions>
749 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500750
751 <action>
752 <conditions>
753 <condition var1="tw_install_reboot" var2="1"/>
754 <condition var1="tw_operation_status" var2="0"/>
755 <condition var1="tw_reboot_system" var2="1"/>
756 </conditions>
757 <actions>
758 <action function="set">tw_sleep=%tw_sleep_total%</action>
759 <action function="page">flash_sleep_and_reboot</action>
760 </actions>
761 </action>
762 </page>
763
764 <page name="flash_sleep_and_reboot">
765 <template name="page"/>
766
767 <template name="statusbar"/>
768
769 <text style="text_m">
770 <placement x="%col1_x_left%" y="%row1_header_y%"/>
771 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
772 </text>
773
774 <template name="console"/>
775
776 <template name="progress_bar"/>
777
778 <button style="main_button_half_height">
779 <condition var1="tw_sleep" op="&gt;" var2="0"/>
780 <placement x="%col1_x_right%" y="%row13_y%"/>
781 <text>{@cancel_btn=Cancel}</text>
782 <actions>
783 <action function="set">tw_install_reboot=0</action>
784 <action function="page">flash_done</action>
785 </actions>
786 </button>
787
788 <action>
789 <conditions>
790 <condition var1="tw_sleep" var2="tw_sleep_total"/>
791 <condition var1="tw_install_reboot" var2="1"/>
792 </conditions>
793 <action function="sleepcounter">%tw_sleep_total%</action>
794 </action>
795
796 <action>
797 <conditions>
798 <condition var1="tw_sleep" var2="0"/>
799 <condition var1="tw_install_reboot" var2="1"/>
800 </conditions>
801 <actions>
802 <action function="sleep">50000</action>
803 <action function="set">tw_back=main2</action>
804 <action function="page">reboot_system_routine</action>
805 </actions>
806 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100807 </page>
808
809 <page name="flashimage_type">
810 <template name="page"/>
811
812 <template name="statusbar"/>
813
814 <text style="text_m">
815 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600816 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100817 </text>
818
819 <partitionlist style="partitionlist_headerless_rb">
820 <data name="tw_flash_partition"/>
821 <listtype name="flashimg"/>
822 </partitionlist>
823
824 <button>
825 <placement x="%col1_x_left%" y="%row11_y%"/>
826 <highlight color="%highlight_color%"/>
827 <image resource="q_btn_arrow_left"/>
828 <action function="page">install</action>
829 </button>
830
831 <button>
832 <placement x="%btn4_col4_x%" y="%row11_y%"/>
833 <highlight color="%highlight_color%"/>
834 <image resource="q_btn_accept_transp"/>
835 <action function="page">flashimage_confirm</action>
836 </button>
837
838 <action>
839 <touch key="back"/>
840 <action function="page">install</action>
841 </action>
842
843 <action>
844 <touch key="home"/>
845 <action function="page">main</action>
846 </action>
847 </page>
848
849 <page name="flashimage_confirm">
850 <template name="page"/>
851
852 <template name="statusbar"/>
853
854 <text style="text_m">
855 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500856 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </text>
858
859 <text style="text_m_accent">
860 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500861 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100862 </text>
863
864 <text style="text_m">
865 <placement x="%indent%" y="%row2_y%"/>
866 <text>%tw_file%</text>
867 </text>
868
869 <button>
870 <fill color="%transparent%"/>
871 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
872 <action function="page">install</action>
873 </button>
874
875 <text style="text_m_accent">
876 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500877 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100878 </text>
879
880 <text style="text_m">
881 <placement x="%indent%" y="%row5_y%"/>
882 <text>%tw_flash_partition%</text>
883 </text>
884
885 <button>
886 <fill color="%transparent%"/>
887 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
888 <action function="page">flashimage_type</action>
889 </button>
890
891 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500892 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100893 <actions>
894 <action function="set">tw_back=flashimage_confirm</action>
895 <action function="set">tw_action=flashimage</action>
896 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500897 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100898 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100900 <action function="page">action_page</action>
901 </actions>
902 <action function="flashimage"/>
903 </slider>
904
905 <action>
906 <touch key="back"/>
907 <actions>
908 <action function="set">tw_clear_destination=install</action>
909 <action function="page">clear_vars</action>
910 </actions>
911 </action>
912
913 <action>
914 <touch key="home"/>
915 <actions>
916 <action function="set">tw_clear_destination=main2</action>
917 <action function="page">clear_vars</action>
918 </actions>
919 </action>
920 </page>
921
922 <page name="clear_vars">
923 <action>
924 <action function="set">tw_operation_state=0</action>
925 <action function="set">tw_text1=</action>
926 <action function="set">tw_text2=</action>
927 <action function="set">tw_text3=</action>
928 <action function="set">tw_text4=</action>
929 <action function="set">tw_action_text1=</action>
930 <action function="set">tw_action_text2=</action>
931 <action function="set">tw_action_param=</action>
932 <action function="set">tw_has_action2=0</action>
933 <action function="set">tw_action2=</action>
934 <action function="set">tw_action2_param=</action>
935 <action function="set">tw_has_cancel=0</action>
936 <action function="set">tw_cancel_action=</action>
937 <action function="set">tw_cancel_param=</action>
938 <action function="set">tw_show_exclamation=0</action>
939 <action function="set">tw_show_reboot=0</action>
940 <action function="page">%tw_clear_destination%</action>
941 </action>
942 </page>
943
Matt Mower908dd252016-05-25 02:26:50 -0500944 <page name="reboot_system_routine">
945 <action>
946 <action function="set">tw_back=main2</action>
947 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500948 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500949 <action function="set">tw_has_action2=0</action>
950 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
951 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
952 <action function="set">tw_text3=</action>
953 <action function="set">tw_text4=</action>
954 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
955 <action function="set">tw_action_text2=</action>
956 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
957 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
958 <action function="page">rebootcheck</action>
959 </action>
960 </page>
961
z31s1g28f0a922015-11-07 18:50:22 +0100962 <page name="confirm_action">
963 <template name="page"/>
964
965 <template name="statusbar"/>
966
967 <text style="text_m">
968 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m_accent">
973 <placement x="%center_x%" y="%row2_y%" placement="5"/>
974 <text>%tw_text1%</text>
975 </text>
976
977 <text style="text_m_accent">
978 <placement x="%center_x%" y="%row3_y%" placement="5"/>
979 <text>%tw_text2%</text>
980 </text>
981
982 <text style="text_m">
983 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
984 <placement x="%center_x%" y="%row5_y%" placement="5"/>
985 <text>%tw_text3%</text>
986 </text>
987
988 <text style="text_m">
989 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
990 <placement x="%center_x%" y="%row6_y%" placement="5"/>
991 <text>%tw_text4%</text>
992 </text>
993
994 <text style="text_m_fail">
995 <condition var1="tw_action" var2="changefilesystem"/>
996 <placement x="%center_x%" y="%row5_y%" placement="5"/>
997 <text>%tw_text3%</text>
998 </text>
999
1000 <text style="text_m_fail">
1001 <condition var1="tw_action" var2="changefilesystem"/>
1002 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1003 <text>%tw_text4%</text>
1004 </text>
1005
1006 <text style="text_m">
1007 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001008 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001009 </text>
1010
1011 <slider>
1012 <text>%tw_slider_text%</text>
1013 <action function="page">action_page</action>
1014 </slider>
1015
1016 <action>
1017 <touch key="back"/>
1018 <actions>
1019 <action function="set">tw_clear_destination=%tw_back%</action>
1020 <action function="page">clear_vars</action>
1021 </actions>
1022 </action>
1023
1024 <action>
1025 <touch key="home"/>
1026 <action function="page">main</action>
1027 </action>
1028 </page>
1029
1030 <page name="action_page">
1031 <template name="page"/>
1032
1033 <template name="statusbar"/>
1034
1035 <text style="text_m">
1036 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1037 <text>%tw_action_text1% %tw_action_text2%</text>
1038 </text>
1039
1040 <template name="console"/>
1041
1042 <template name="progress_bar"/>
1043
1044 <button style="main_button_half_height">
1045 <condition var1="tw_has_cancel" var2="1"/>
1046 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1049 </button>
1050
1051 <action>
1052 <condition var1="tw_operation_state" var2="1"/>
1053 <actions>
1054 <action function="page">action_complete</action>
1055 </actions>
1056 </action>
1057
1058 <action>
1059 <condition var1="tw_has_action2" var2="0"/>
1060 <actions>
1061 <action function="%tw_action%">%tw_action_param%</action>
1062 </actions>
1063 </action>
1064
1065 <action>
1066 <condition var1="tw_has_action2" var2="1"/>
1067 <actions>
1068 <action function="%tw_action%">%tw_action_param%</action>
1069 <action function="%tw_action2%">%tw_action2_param%</action>
1070 </actions>
1071 </action>
1072 </page>
1073
1074 <page name="singleaction_page">
1075 <template name="page"/>
1076
1077 <template name="statusbar"/>
1078
1079 <text style="text_m">
1080 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1081 <text>%tw_action_text1% %tw_action_text2%</text>
1082 </text>
1083
1084 <template name="console"/>
1085
1086 <template name="progress_bar"/>
1087
1088 <action>
1089 <condition var1="tw_operation_state" var2="1"/>
1090 <actions>
1091 <action function="set">tw_page_done=1</action>
1092 </actions>
1093 </action>
1094
1095 <action>
1096 <condition var1="tw_has_action2" var2="0"/>
1097 <actions>
1098 <action function="%tw_action%">%tw_action_param%</action>
1099 </actions>
1100 </action>
1101
1102 <action>
1103 <condition var1="tw_has_action2" var2="1"/>
1104 <actions>
1105 <action function="%tw_action%">%tw_action_param%</action>
1106 <action function="%tw_action2%">%tw_action2_param%</action>
1107 </actions>
1108 </action>
1109 </page>
1110
1111 <page name="action_complete">
1112 <template name="page"/>
1113
1114 <template name="statusbar"/>
1115
1116 <text style="text_m_fail">
1117 <condition var1="tw_operation_status" op="!=" var2="0"/>
1118 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 </text>
1121
1122 <text style="text_m">
1123 <condition var1="tw_operation_status" var2="0"/>
1124 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <template name="console"/>
1129
1130 <button style="main_button_half_height">
1131 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001132 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <actions>
1134 <action function="set">tw_clear_destination=%tw_back%</action>
1135 <action function="page">clear_vars</action>
1136 </actions>
1137 </button>
1138
1139 <button style="main_button_half_height">
1140 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001141 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001142 <actions>
1143 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001144 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001145 </actions>
1146 </button>
1147
1148 <action>
1149 <touch key="home"/>
1150 <actions>
1151 <action function="set">tw_clear_destination=main2</action>
1152 <action function="page">clear_vars</action>
1153 </actions>
1154 </action>
1155
1156 <action>
1157 <touch key="back"/>
1158 <actions>
1159 <action function="set">tw_clear_destination=%tw_back%</action>
1160 <action function="page">clear_vars</action>
1161 </actions>
1162 </action>
1163 </page>
1164
1165 <page name="filecheck">
1166 <action>
1167 <action function="fileexists">%tw_filecheck%</action>
1168 </action>
1169
1170 <action>
1171 <conditions>
1172 <condition var1="tw_operation_state" var2="1"/>
1173 <condition var1="tw_operation_status" var2="0"/>
1174 </conditions>
1175 <actions>
1176 <action function="set">tw_fileexists=1</action>
1177 <action function="page">%tw_existpage%</action>
1178 </actions>
1179 </action>
1180
1181 <action>
1182 <conditions>
1183 <condition var1="tw_operation_state" var2="1"/>
1184 <condition var1="tw_operation_status" var2="1"/>
1185 </conditions>
1186 <actions>
1187 <action function="set">tw_fileexists=0</action>
1188 <action function="page">%tw_notexistpage%</action>
1189 </actions>
1190 </action>
1191 </page>
1192
1193 <page name="rebootcheck">
1194 <action>
1195 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001196 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </action>
1198
1199 <action>
1200 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1201 <action function="page">confirm_action</action>
1202 </action>
1203 </page>
1204
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001205 <page name="appcheck">
1206 <action>
1207 <condition var1="tw_app_prompt" var2="1"/>
1208 <action function="checkforapp"></action>
1209 </action>
1210
1211 <action>
1212 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1213 <action function="reboot">%tw_reboot_param%</action>
1214 </action>
1215
1216 <action>
1217 <condition var1="tw_app_install_status" var2="1"/>
1218 <action function="page">rebootapp</action>
1219 </action>
1220
1221 <action>
1222 <condition var1="tw_app_install_status" var2="2"/>
1223 <action function="reboot">%tw_reboot_param%</action>
1224 </action>
1225 </page>
1226
z31s1g28f0a922015-11-07 18:50:22 +01001227 <page name="wipe_type1">
1228 <template name="page"/>
1229
1230 <template name="statusbar"/>
1231
1232 <text style="text_m">
1233 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </text>
1236
1237 <button style="main_button_full_width">
1238 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001239 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001240 <action function="page">wipe</action>
1241 </button>
1242
1243 <button style="main_button_full_width">
1244 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 <actions>
1247 <action function="set">partitionlisterror=0</action>
1248 <action function="page">advancedwipe</action>
1249 </actions>
1250 </button>
1251
1252 <button>
1253 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1254 <highlight color="%highlight_color%"/>
1255 <image resource="q_btn_arrow_right"/>
1256 <action function="page">wipe_type2</action>
1257 </button>
1258
1259 <action>
1260 <touch key="home"/>
1261 <action function="page">main</action>
1262 </action>
1263
1264 <action>
1265 <touch key="back"/>
1266 <action function="page">main</action>
1267 </action>
1268 </page>
1269
1270 <page name="wipe_type2">
1271 <template name="page"/>
1272
1273 <template name="statusbar"/>
1274
1275 <text style="text_m">
1276 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 </text>
1279
1280 <button style="main_button_full_width">
1281 <condition var1="tw_has_data_media" var2="1"/>
1282 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 <action function="page">formatdata</action>
1285 </button>
1286
1287 <button style="main_button_full_width">
1288 <conditions>
1289 <condition var1="tw_is_encrypted" var2="1"/>
1290 <condition var1="tw_has_data_media" var2="0"/>
1291 </conditions>
1292 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001293 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001294 <actions>
1295 <action function="set">tw_back=wipe</action>
1296 <action function="set">tw_action=wipe</action>
1297 <action function="set">tw_action_param=DATAMEDIA</action>
1298 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001300 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1302 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1303 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">confirm_action</action>
1305 </actions>
1306 </button>
1307
1308 <button style="main_button_full_width">
1309 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <action function="set">partitionlisterror=0</action>
1312 <action function="page">partitionoptions_select</action>
1313 </actions>
1314 </button>
1315
1316 <button>
1317 <placement x="%col1_x_left%" y="%row11_y%"/>
1318 <highlight color="%highlight_color%"/>
1319 <image resource="q_btn_arrow_left"/>
1320 <action function="page">wipe_type1</action>
1321 </button>
1322
1323 <action>
1324 <touch key="home"/>
1325 <action function="page">main</action>
1326 </action>
1327
1328 <action>
1329 <touch key="back"/>
1330 <action function="page">main</action>
1331 </action>
1332 </page>
1333
1334 <page name="wipe">
1335 <template name="page"/>
1336
1337 <template name="statusbar"/>
1338
1339 <text style="text_m">
1340 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001342 </text>
1343
1344 <text style="text_m_accent">
1345 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001347 </text>
1348
1349 <text style="text_m_accent">
1350 <condition var1="tw_has_data_media" var2="1"/>
1351 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m_accent">
1356 <conditions>
1357 <condition var1="tw_has_android_secure" var2="1"/>
1358 <condition var1="fileexists" var2="/and-sec"/>
1359 </conditions>
1360 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001361 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001362 </text>
1363
1364 <text style="text_m_accent">
1365 <condition var1="tw_has_sdext_partition" var2="1"/>
1366 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001372 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001373 </text>
1374
1375 <text style="text_m">
1376 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m">
1381 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001386 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001387 <actions>
1388 <action function="set">tw_back=wipe</action>
1389 <action function="set">tw_action=wipe</action>
1390 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1392 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">action_page</action>
1394 </actions>
1395 </slider>
1396
1397 <action>
1398 <touch key="back"/>
1399 <action function="page">wipe_type1</action>
1400 </action>
1401
1402 <action>
1403 <touch key="home"/>
1404 <action function="page">main</action>
1405 </action>
1406 </page>
1407
1408 <page name="advancedwipe">
1409 <action>
1410 <action function="set">tw_wipe_list=</action>
1411 </action>
1412
1413 <template name="page"/>
1414
1415 <template name="statusbar"/>
1416
1417 <text style="text_m">
1418 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 </text>
1421
1422 <partitionlist style="partitionlist_headerless_cb">
1423 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1424 <data name="tw_wipe_list"/>
1425 <listtype name="wipe"/>
1426 </partitionlist>
1427
1428 <fill color="%accent_color%">
1429 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1430 </fill>
1431
1432 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001434 <actions>
1435 <action function="set">tw_back=advancedwipe</action>
1436 <action function="set">tw_action=wipe</action>
1437 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1439 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1440 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001441 <action function="page">action_page</action>
1442 </actions>
1443 </slider>
1444
1445 <action>
1446 <touch key="home"/>
1447 <action function="page">main</action>
1448 </action>
1449
1450 <action>
1451 <touch key="back"/>
1452 <action function="page">wipe_type1</action>
1453 </action>
1454 </page>
1455
1456 <page name="formatdata">
1457 <template name="page"/>
1458
1459 <template name="statusbar"/>
1460
1461 <text style="text_m">
1462 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001464 </text>
1465
1466 <text style="text_m_fail">
1467 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001468 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001469 </text>
1470
1471 <text style="text_m_fail">
1472 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001473 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001474 </text>
1475
1476 <text style="text_m">
1477 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001478 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001479 </text>
1480
1481 <input>
1482 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1483 <text>%tw_confirm_formatdata%</text>
1484 <data name="tw_confirm_formatdata"/>
1485 <restrict minlen="3" maxlen="3" allow="yes"/>
1486 <action function="page">formatdata_confirm</action>
1487 </input>
1488
1489 <fill color="%accent_color%">
1490 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1491 </fill>
1492
1493 <template name="keyboardtemplate"/>
1494
1495 <action>
1496 <touch key="home"/>
1497 <action function="page">main</action>
1498 </action>
1499
1500 <action>
1501 <touch key="back"/>
1502 <action function="page">wipe_type2</action>
1503 </action>
1504 </page>
1505
1506 <page name="formatdata_confirm">
1507 <action>
1508 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1509 <actions>
1510 <action function="set">tw_back=formatdata</action>
1511 <action function="set">tw_action=wipe</action>
1512 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1514 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">action_page</action>
1516 </actions>
1517 </action>
1518
1519 <action>
1520 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1521 <action function="page">formatdata</action>
1522 </action>
1523 </page>
1524
1525 <page name="checkpartitionlist">
1526 <action>
1527 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1528 <actions>
1529 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001530 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001531 <action function="page">partitionoptions</action>
1532 </actions>
1533 </action>
1534
1535 <action>
1536 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1537 <actions>
1538 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001539 <action function="page">partitionoptions_select</action>
1540 </actions>
1541 </action>
1542 </page>
1543
1544 <page name="partitionoptions_select">
1545 <action>
1546 <action function="set">tw_wipe_list=</action>
1547 </action>
1548
1549 <template name="page"/>
1550
1551 <template name="statusbar"/>
1552
1553 <text style="text_m">
1554 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001555 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001556 </text>
1557
1558 <partitionlist style="partitionlist_headerless_cb">
1559 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1560 <data name="tw_wipe_list"/>
1561 <listtype name="wipe"/>
1562 </partitionlist>
1563
1564 <fill color="%accent_color%">
1565 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1566 </fill>
1567
z31s1g28f0a922015-11-07 18:50:22 +01001568 <text style="text_m_fail">
1569 <condition var1="partitionlisterror" var2="1"/>
1570 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 </text>
1573
1574 <button>
1575 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1576 <highlight color="%highlight_color%"/>
1577 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001578 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001579 <action function="page">checkpartitionlist</action>
1580 </actions>
1581 </button>
1582
1583 <action>
1584 <touch key="home"/>
1585 <action function="page">main</action>
1586 </action>
1587
1588 <action>
1589 <touch key="back"/>
1590 <action function="page">wipe_type2</action>
1591 </action>
1592 </page>
1593
1594 <page name="partitionoptions">
1595
1596 <template name="page"/>
1597
1598 <template name="statusbar"/>
1599
1600 <text style="text_m">
1601 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001602 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001603 </text>
1604
1605 <text style="text_m_accent">
1606 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 </text>
1609
1610 <text style="text_m_accent">
1611 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001612 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001613 </text>
1614
1615 <text style="text_m">
1616 <condition var1="tw_partition_is_present" var2="1"/>
1617 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </text>
1620
1621 <text style="text_m">
1622 <condition var1="tw_partition_is_present" var2="0"/>
1623 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 </text>
1626
1627 <text style="text_m">
1628 <condition var1="tw_partition_removable" var2="1"/>
1629 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <condition var1="tw_partition_removable" var2="0"/>
1635 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001636 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001637 </text>
1638
1639 <text style="text_m">
1640 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 </text>
1643
1644 <text style="text_m">
1645 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001647 </text>
1648
1649 <text style="text_m">
1650 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <text style="text_m">
1655 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <button style="main_button">
1660 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1661 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <actions>
1664 <action function="set">tw_back=partitionoptions</action>
1665 <action function="set">tw_action=resize</action>
1666 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1667 <action function="set">tw_has_action2=1</action>
1668 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001669 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001671 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001672 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1673 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1674 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001675 <action function="page">confirm_action</action>
1676 </actions>
1677 </button>
1678
1679 <button style="main_button">
1680 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1681 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 <actions>
1684 <action function="set">tw_back=partitionoptions</action>
1685 <action function="set">tw_action=repair</action>
1686 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1687 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001688 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001689 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1691 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1692 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <action function="page">confirm_action</action>
1694 </actions>
1695 </button>
1696
1697 <button>
1698 <placement x="%col1_x_left%" y="%row11_y%"/>
1699 <highlight color="%highlight_color%"/>
1700 <image resource="q_btn_arrow_left"/>
1701 <action function="page">partitionoptions_select</action>
1702 </button>
1703
1704 <button style="main_button">
1705 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 <action function="page">selectfilesystem</action>
1708 </button>
1709
1710 <action>
1711 <touch key="home"/>
1712 <action function="page">main</action>
1713 </action>
1714
1715 <action>
1716 <touch key="back"/>
1717 <action function="page">partitionoptions_select</action>
1718 </action>
1719 </page>
1720
1721 <page name="refreshfilesystem">
1722 <action>
1723 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1724 <actions>
1725 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001726 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="page">selectfilesystem</action>
1728 </actions>
1729 </action>
1730
1731 <action>
1732 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1733 <actions>
1734 <action function="set">partitionlisterror=1</action>
1735 <action function="set">tw_wipe_list=</action>
1736 <action function="page">advancedwipe</action>
1737 </actions>
1738 </action>
1739 </page>
1740
1741 <page name="selectfilesystem">
1742 <template name="page"/>
1743
1744 <template name="statusbar"/>
1745
1746 <text style="text_m">
1747 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 </text>
1750
1751 <button style="main_button">
1752 <condition var1="tw_partition_ext" op="=" var2="1"/>
1753 <placement x="%col1_x_left%" y="%row1_y%"/>
1754 <text>EXT2</text>
1755 <actions>
1756 <action function="set">tw_back=refreshfilesystem</action>
1757 <action function="set">tw_action=changefilesystem</action>
1758 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1759 <action function="set">tw_action_new_file_system=ext2</action>
1760 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1762 <action function="set">tw_text2=EXT2</action>
1763 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1764 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1765 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1766 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1767 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001768 <action function="page">confirm_action</action>
1769 </actions>
1770 </button>
1771
1772 <button style="main_button">
1773 <condition var1="tw_partition_ext" op="=" var2="1"/>
1774 <placement x="%col1_x_left%" y="%row6_y%"/>
1775 <text>EXT3</text>
1776 <actions>
1777 <action function="set">tw_back=refreshfilesystem</action>
1778 <action function="set">tw_action=changefilesystem</action>
1779 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1780 <action function="set">tw_action_new_file_system=ext3</action>
1781 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001782 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1783 <action function="set">tw_text2=EXT3</action>
1784 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1785 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1786 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1787 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1788 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001789 <action function="page">confirm_action</action>
1790 </actions>
1791 </button>
1792
1793 <button style="main_button">
1794 <condition var1="tw_partition_ext" op="=" var2="1"/>
1795 <placement x="%col1_x_left%" y="%row11_y%"/>
1796 <text>EXT4</text>
1797 <actions>
1798 <action function="set">tw_back=refreshfilesystem</action>
1799 <action function="set">tw_action=changefilesystem</action>
1800 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1801 <action function="set">tw_action_new_file_system=ext4</action>
1802 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1804 <action function="set">tw_text2=EXT4</action>
1805 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1806 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1807 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1808 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1809 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001810 <action function="page">confirm_action</action>
1811 </actions>
1812 </button>
1813
1814 <button style="main_button">
1815 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1816 <placement x="%col1_x_right%" y="%row1_y%"/>
1817 <text>FAT</text>
1818 <actions>
1819 <action function="set">tw_back=refreshfilesystem</action>
1820 <action function="set">tw_action=changefilesystem</action>
1821 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1822 <action function="set">tw_action_new_file_system=vfat</action>
1823 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001824 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1825 <action function="set">tw_text2=FAT</action>
1826 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1827 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1828 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1829 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1830 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001831 <action function="page">confirm_action</action>
1832 </actions>
1833 </button>
1834
1835 <button style="main_button">
1836 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1837 <placement x="%col1_x_right%" y="%row6_y%"/>
1838 <text>exFAT</text>
1839 <actions>
1840 <action function="set">tw_back=refreshfilesystem</action>
1841 <action function="set">tw_action=changefilesystem</action>
1842 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1843 <action function="set">tw_action_new_file_system=exfat</action>
1844 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001845 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1846 <action function="set">tw_text2=exFAT</action>
1847 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1848 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1849 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1850 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1851 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001852 <action function="page">confirm_action</action>
1853 </actions>
1854 </button>
1855
1856 <button style="main_button">
1857 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1858 <placement x="%col1_x_right%" y="%row11_y%"/>
1859 <text>F2FS</text>
1860 <actions>
1861 <action function="set">tw_back=refreshfilesystem</action>
1862 <action function="set">tw_action=changefilesystem</action>
1863 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1864 <action function="set">tw_action_new_file_system=f2fs</action>
1865 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001866 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1867 <action function="set">tw_text2=F2FS</action>
1868 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1869 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1870 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1871 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1872 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001873 <action function="page">confirm_action</action>
1874 </actions>
1875 </button>
1876
1877 <action>
1878 <touch key="home"/>
1879 <action function="page">main</action>
1880 </action>
1881
1882 <action>
1883 <touch key="back"/>
1884 <action function="page">partitionoptions</action>
1885 </action>
1886 </page>
1887
bigbiffce8f83c2015-12-12 18:30:21 -05001888 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001889 <template name="page"/>
1890
1891 <template name="statusbar"/>
1892
1893 <text style="text_m">
1894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 </text>
1897
1898 <partitionlist style="partitionlist_headerless_rb">
1899 <data name="tw_storage_path"/>
1900 <listtype name="storage"/>
1901 </partitionlist>
1902
1903 <button>
1904 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1905 <highlight color="%highlight_color%"/>
1906 <image resource="q_btn_refresh"/>
1907 <actions>
1908 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001909 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001910 </actions>
1911 </button>
1912
1913 <button>
1914 <condition var1="tw_back" var2="backup_confirm"/>
1915 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1916 <highlight color="%highlight_color%"/>
1917 <image resource="q_btn_accept"/>
1918 <action function="page">backup_confirm</action>
1919 </button>
1920
1921 <button>
1922 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1923 <highlight color="%highlight_color%"/>
1924 <image resource="q_btn_arrow_right"/>
1925 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001926 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 <action function="page">backup_selectpartitions</action>
1928 </actions>
1929 </button>
1930
1931 <action>
1932 <touch key="home"/>
1933 <action function="page">main</action>
1934 </action>
1935
1936 <action>
1937 <touch key="back"/>
1938 <action function="page">%tw_back%</action>
1939 </action>
1940
1941 <action>
1942 <touch key="power+voldown"/>
1943 <action function="screenshot"/>
1944 </action>
1945 </page>
1946
1947 <page name="backup_selectpartitions">
1948 <template name="page"/>
1949
1950 <template name="statusbar"/>
1951
1952 <text style="text_m">
1953 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001954 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001955 </text>
1956
1957 <partitionlist style="partitionlist_headerless_cb">
1958 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1959 <data name="tw_backup_list"/>
1960 <listtype name="backup"/>
1961 </partitionlist>
1962
1963 <fill color="%accent_color%">
1964 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1965 </fill>
1966
1967 <button>
1968 <placement x="%col1_x_left%" y="%row11_y%"/>
1969 <highlight color="%highlight_color%"/>
1970 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001971 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001972 </button>
1973
1974 <button>
1975 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1976 <highlight color="%highlight_color%"/>
1977 <image resource="q_btn_refresh"/>
1978 <action function="page">backup_selectpartitions</action>
1979 </button>
1980
1981 <button>
1982 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1983 <highlight color="%highlight_color%"/>
1984 <image resource="q_btn_accept"/>
1985 <action function="page">backup_confirm</action>
1986 </button>
1987
1988 <button>
1989 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1990 <highlight color="%highlight_color%"/>
1991 <image resource="q_btn_arrow_right"/>
1992 <actions>
1993 <action function="set">tw_back=backup_selectpartitions</action>
1994 <action function="page">backup_options</action>
1995 </actions>
1996 </button>
1997
1998 <action>
1999 <touch key="home"/>
2000 <action function="page">main</action>
2001 </action>
2002
2003 <action>
2004 <touch key="back"/>
2005 <action function="page">%tw_back%</action>
2006 </action>
2007
2008 <action>
2009 <touch key="power+voldown"/>
2010 <action function="screenshot"/>
2011 </action>
2012 </page>
2013
2014 <page name="backup_options">
2015 <template name="page"/>
2016
2017 <template name="statusbar"/>
2018
2019 <text style="text_m">
2020 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002021 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002022 </text>
2023
2024 <listbox style="scrolllist">
2025 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002027 <data variable="tw_use_compression"/>
2028 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002029 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2030 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002031 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002032 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002033 <data variable="tw_disable_free_space"/>
2034 </listitem>
2035 </listbox>
2036
2037 <button>
2038 <placement x="%col1_x_left%" y="%row11_y%"/>
2039 <highlight color="%highlight_color%"/>
2040 <image resource="q_btn_arrow_left"/>
2041 <action function="page">backup_selectpartitions</action>
2042 </button>
2043
2044 <button>
2045 <conditions>
2046 <condition var1="tw_include_encrypted_backup" var2="1"/>
2047 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002048 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002049 </conditions>
2050 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2051 <highlight color="%highlight_color%"/>
2052 <image resource="q_btn_encryption_dis"/>
2053 <actions>
2054 <action function="set">tw_password_not_match=0</action>
2055 <action function="set">tw_back=backup_options</action>
2056 <action function="page">backupencryption</action>
2057 </actions>
2058 </button>
2059
2060 <button>
2061 <conditions>
2062 <condition var1="tw_include_encrypted_backup" var2="1"/>
2063 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002064 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </conditions>
2066 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2067 <highlight color="%highlight_color%"/>
2068 <image resource="q_btn_encryption_en"/>
2069 <actions>
2070 <action function="set">tw_password_not_match=0</action>
2071 <action function="set">tw_back=backup_options</action>
2072 <action function="page">backupencryption</action>
2073 </actions>
2074 </button>
2075
2076 <button>
2077 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2078 <highlight color="%highlight_color%"/>
2079 <image resource="q_btn_accept_transp"/>
2080 <actions>
2081 <action function="set">tw_back=backup_options</action>
2082 <action function="page">backup_confirm</action>
2083 </actions>
2084 </button>
2085
2086 <action>
2087 <touch key="home"/>
2088 <action function="page">main</action>
2089 </action>
2090
2091 <action>
2092 <touch key="back"/>
2093 <action function="page">%tw_back%</action>
2094 </action>
2095
2096 <action>
2097 <touch key="power+voldown"/>
2098 <action function="screenshot"/>
2099 </action>
2100 </page>
2101
2102 <page name="backup_confirm">
2103 <template name="page"/>
2104
2105 <template name="statusbar"/>
2106
2107 <text style="text_m">
2108 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002109 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002110 </text>
2111
2112 <text style="text_m_accent">
2113 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002114 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002115 </text>
2116
2117 <text style="text_m">
2118 <placement x="%col1_x_left%" y="%row2_y%"/>
2119 <text>%tw_backup_name%</text>
2120 </text>
2121
2122 <fill color="%accent_color%">
2123 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2124 </fill>
2125
2126 <button>
2127 <fill color="%transparent%"/>
2128 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2129 <actions>
2130 <action function="set">tw_back=backup_confirm</action>
2131 <action function="set">tw_fileexists=0</action>
2132 <action function="page">backup_name1</action>
2133 </actions>
2134 </button>
2135
2136 <fill color="%background_color%">
2137 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2138 </fill>
2139
2140 <text style="text_m_accent">
2141 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002142 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002143 </text>
2144
2145 <partitionlist style="partitionlist_summary">
2146 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2147 <data name="tw_backup_list"/>
2148 <listtype name="backup"/>
2149 </partitionlist>
2150
2151 <button>
2152 <fill color="%transparent%"/>
2153 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2154 <actions>
2155 <action function="set">tw_back=backup_confirm</action>
2156 <action function="page">backup_selectpartitions</action>
2157 </actions>
2158 </button>
2159
2160 <text style="text_m_accent">
2161 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 </text>
2164
2165 <text style="text_m">
2166 <placement x="%col1_x_right%" y="%row2_y%"/>
2167 <text>%tw_storage_display_name%</text>
2168 </text>
2169
2170 <button>
2171 <fill color="%transparent%"/>
2172 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2173 <actions>
2174 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002175 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002176 </actions>
2177 </button>
2178
2179 <text style="text_m_accent">
2180 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002181 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002182 </text>
2183
2184 <text style="text_m">
2185 <conditions>
2186 <condition var1="tw_include_encrypted_backup" var2="1"/>
2187 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002188 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002189 </conditions>
2190 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002191 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002192 </text>
2193
2194 <text style="text_m">
2195 <conditions>
2196 <condition var1="tw_include_encrypted_backup" var2="1"/>
2197 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002198 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </conditions>
2200 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002201 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002202 </text>
2203
2204 <button>
2205 <fill color="%transparent%"/>
2206 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2207 <actions>
2208 <action function="set">tw_back=backup_confirm</action>
2209 <action function="page">backupencryption</action>
2210 </actions>
2211 </button>
2212
2213 <listbox style="listbox_options">
2214 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002216 <data variable="tw_use_compression"/>
2217 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002218 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2219 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002220 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002221 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002222 <data variable="tw_disable_free_space"/>
2223 </listitem>
2224 </listbox>
2225
2226 <text style="text_m_accent">
2227 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <button>
2232 <fill color="%transparent%"/>
2233 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2234 <actions>
2235 <action function="set">tw_back=backup_confirm</action>
2236 <action function="page">backup_options</action>
2237 </actions>
2238 </button>
2239
2240 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 <action function="page">backup_run</action>
2243 </slider>
2244
2245 <action>
2246 <touch key="home"/>
2247 <action function="page">main</action>
2248 </action>
2249
2250 <action>
2251 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002252 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </action>
2254 </page>
2255
2256 <page name="backup_name1">
2257 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002258 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <action function="generatebackupname"/>
2260 </action>
2261
2262 <action>
2263 <action function="page">backup_name2</action>
2264 </action>
2265 </page>
2266
2267 <page name="backup_name2">
2268 <template name="page"/>
2269
2270 <template name="statusbar"/>
2271
2272 <text style="text_m">
2273 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002274 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002275 </text>
2276
2277 <text style="text_m_accent">
2278 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </text>
2281
2282 <input>
2283 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2284 <text>%tw_backup_name%</text>
2285 <data name="tw_backup_name"/>
2286 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2287 <actions>
2288 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2289 <action function="set">tw_existpage=backup_name2</action>
2290 <action function="set">tw_notexistpage=backup_confirm</action>
2291 <action function="page">filecheck</action>
2292 </actions>
2293 </input>
2294
2295 <fill color="%accent_color%">
2296 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2297 </fill>
2298
2299 <fill color="%text_fail_color%">
2300 <condition var1="tw_fileexists" var2="1"/>
2301 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2302 </fill>
2303
2304 <text style="text_m_fail">
2305 <condition var1="tw_fileexists" var2="1"/>
2306 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002307 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002308 </text>
2309
2310 <button style="main_button_half_height">
2311 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002315 <action function="page">backup_confirm</action>
2316 </actions>
2317 </button>
2318
2319 <button style="main_button_half_height">
2320 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="appenddatetobackupname"/>
2323 </button>
2324
2325 <template name="keyboardtemplate"/>
2326
2327 <action>
2328 <touch key="home"/>
2329 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002331 <action function="page">main</action>
2332 </actions>
2333 </action>
2334
2335 <action>
2336 <touch key="back"/>
2337 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002338 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002339 <action function="page">backup_confirm</action>
2340 </actions>
2341 </action>
2342 </page>
2343
2344 <page name="backupencryption">
2345 <template name="page"/>
2346
2347 <template name="statusbar"/>
2348
2349 <text style="text_m">
2350 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 </text>
2353
2354 <text style="text_m_accent">
2355 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 </text>
2358
2359 <input>
2360 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2361 <text>%tw_backup_encrypt_display%</text>
2362 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2363 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2364 <action function="page">backupencryption2</action>
2365 </input>
2366
2367 <fill color="%accent_color%">
2368 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2369 </fill>
2370
2371 <fill color="%text_fail_color%">
2372 <condition var1="tw_password_not_match" var2="1"/>
2373 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2374 </fill>
2375
2376 <text style="text_m_fail">
2377 <condition var1="tw_password_not_match" var2="1"/>
2378 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002379 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002380 </text>
2381
2382 <button style="main_button_half_height">
2383 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002384 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002385 <actions>
2386 <action function="set">tw_encrypt_backup=0</action>
2387 <action function="set">tw_backup_password=</action>
2388 <action function="set">tw_backup_password2=</action>
2389 <action function="set">tw_backup_encrypt_display=</action>
2390 <action function="set">tw_backup_encrypt_display2=</action>
2391 <action function="page">%tw_back%</action>
2392 </actions>
2393 </button>
2394
2395 <template name="keyboardtemplate"/>
2396
2397 <action>
2398 <touch key="home"/>
2399 <action function="page">main</action>
2400 </action>
2401
2402 <action>
2403 <touch key="back"/>
2404 <action function="page">%tw_back%</action>
2405 </action>
2406 </page>
2407
2408 <page name="backupencryption2">
2409 <template name="page"/>
2410
2411 <template name="statusbar"/>
2412
2413 <text style="text_m">
2414 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 </text>
2417
2418 <text style="text_m_accent">
2419 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 </text>
2422
2423 <input>
2424 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2425 <text>%tw_backup_encrypt_display2%</text>
2426 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2427 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2428 <action function="page">checkbackuppassword</action>
2429 </input>
2430
2431 <fill color="%accent_color%">
2432 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2433 </fill>
2434
2435 <button style="main_button_half_height">
2436 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 <actions>
2439 <action function="set">tw_encrypt_backup=0</action>
2440 <action function="set">tw_backup_password=</action>
2441 <action function="set">tw_backup_password2=</action>
2442 <action function="set">tw_backup_encrypt_display=</action>
2443 <action function="set">tw_backup_encrypt_display2=</action>
2444 <action function="page">%tw_back%</action>
2445 </actions>
2446 </button>
2447
2448 <template name="keyboardtemplate"/>
2449
2450 <action>
2451 <touch key="home"/>
2452 <action function="page">main</action>
2453 </action>
2454
2455 <action>
2456 <touch key="back"/>
2457 <action function="page">%tw_back%</action>
2458 </action>
2459 </page>
2460
2461 <page name="checkbackuppassword">
2462 <action>
2463 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2464 <actions>
2465 <action function="set">tw_encrypt_backup=1</action>
2466 <action function="page">%tw_back%</action>
2467 </actions>
2468 </action>
2469
2470 <action>
2471 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2472 <actions>
2473 <action function="set">tw_encrypt_backup=0</action>
2474 <action function="set">tw_password_not_match=1</action>
2475 <action function="set">tw_backup_password=</action>
2476 <action function="set">tw_backup_password2=</action>
2477 <action function="set">tw_backup_encrypt_display=</action>
2478 <action function="set">tw_backup_encrypt_display2=</action>
2479 <action function="page">backupencryption</action>
2480 </actions>
2481 </action>
2482 </page>
2483
2484 <page name="backup_run">
2485 <template name="page"/>
2486
2487 <template name="statusbar"/>
2488
2489 <text style="text_m">
2490 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2491 <text>%tw_operation% %tw_partition%</text>
2492 </text>
2493
2494 <template name="console"/>
2495
2496 <template name="progress_bar"/>
2497
2498 <text style="text_m">
2499 <placement x="%indent%" y="%row13a_y%"/>
2500 <text>%tw_file_progress%</text>
2501 </text>
2502
2503 <text style="text_m">
2504 <placement x="%indent%" y="%row14a_y%"/>
2505 <text>%tw_size_progress%</text>
2506 </text>
2507
2508 <button style="main_button_half_height">
2509 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 <action function="cancelbackup"/>
2512 </button>
2513
2514 <action>
2515 <action function="nandroid">backup</action>
2516 </action>
2517
2518 <action>
2519 <condition var1="tw_operation_state" var2="1"/>
2520 <condition var1="tw_cancel_backup" var2="0"/>
2521 <actions>
2522 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002523 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002524 <action function="set">tw_show_reboot=1</action>
2525 <action function="page">action_complete</action>
2526 </actions>
2527 </action>
2528
2529 <action>
2530 <condition var1="tw_operation_state" var2="1"/>
2531 <condition var1="tw_cancel_backup" var2="1"/>
2532 <actions>
2533 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002535 <action function="set">tw_show_reboot=1</action>
2536 <action function="page">action_complete</action>
2537 </actions>
2538 </action>
2539 </page>
2540
2541 <page name="restore">
2542 <template name="page"/>
2543
2544 <template name="statusbar"/>
2545
2546 <text style="text_m">
2547 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </text>
2550
2551 <fileselector>
2552 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2553 <text>%tw_storage_display_name%</text>
2554 <filter folders="1" files="0" nav="0"/>
2555 <path name="tw_backups_folder"/>
2556 <data name="tw_restore" default=""/>
2557 <selection name="tw_restore_name"/>
2558 </fileselector>
2559
2560 <button>
2561 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2562 <highlight color="%highlight_color%"/>
2563 <image resource="q_btn_storage"/>
2564 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002566 <action function="set">tw_back=restore</action>
2567 <action function="page">select_storage</action>
2568 </actions>
2569 </button>
2570
2571 <action>
2572 <condition var1="tw_restore" op="modified"/>
2573 <actions>
2574 <action function="readBackup"/>
2575 <action function="set">tw_back=restore</action>
2576 <action function="page">restore_read</action>
2577 </actions>
2578 </action>
2579
2580 <action>
2581 <touch key="home"/>
2582 <action function="page">main</action>
2583 </action>
2584
2585 <action>
2586 <touch key="back"/>
2587 <action function="page">main</action>
2588 </action>
2589 </page>
2590
2591 <page name="restore_read">
2592 <action>
2593 <condition var1="tw_restore_encrypted" var2="1"/>
2594 <actions>
2595 <action function="set">tw_password_fail=0</action>
2596 <action function="page">restore_decrypt</action>
2597 </actions>
2598 </action>
2599
2600 <action>
2601 <condition var1="tw_restore_encrypted" var2="0"/>
2602 <actions>
2603 <action function="page">restore_select</action>
2604 </actions>
2605 </action>
2606 </page>
2607
2608 <page name="restore_decrypt">
2609 <template name="page"/>
2610
2611 <template name="statusbar"/>
2612
2613 <text style="text_m">
2614 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002615 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002616 </text>
2617
2618 <text style="text_m_accent">
2619 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002620 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002621 </text>
2622
2623 <input>
2624 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2625 <text>%tw_restore_display%</text>
2626 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2627 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2628 <action function="page">try_restore_decrypt</action>
2629 </input>
2630
2631 <fill color="%accent_color%">
2632 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2633 </fill>
2634
2635 <fill color="%text_fail_color%">
2636 <condition var1="tw_password_fail" var2="1"/>
2637 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2638 </fill>
2639
2640 <text style="text_m_fail">
2641 <condition var1="tw_password_fail" var2="1"/>
2642 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002643 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002644 </text>
2645
2646 <button style="main_button_half_height">
2647 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_page_done=1</action>
2651 <action function="page">restore</action>
2652 </actions>
2653 </button>
2654
2655 <button style="main_button_half_height">
2656 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002657 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002658 <actions>
2659 <action function="set">tw_back=restore</action>
2660 <action function="set">tw_action=cmd</action>
2661 <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 -05002662 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2663 <action function="set">tw_text2=%tw_restore_name%</action>
2664 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2665 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2666 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2667 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <action function="page">confirm_action</action>
2669 </actions>
2670 </button>
2671
2672 <template name="keyboardtemplate"/>
2673
2674 <action>
2675 <touch key="home"/>
2676 <action function="page">main</action>
2677 </action>
2678
2679 <action>
2680 <touch key="back"/>
2681 <action function="page">restore</action>
2682 </action>
2683 </page>
2684
2685 <page name="try_restore_decrypt">
2686 <template name="page"/>
2687
2688 <template name="statusbar"/>
2689
2690 <text style="text_m">
2691 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002693 </text>
2694
2695 <template name="console"/>
2696
2697 <template name="progress_bar"/>
2698
2699 <action>
2700 <action function="decrypt_backup"/>
2701 </action>
2702
2703 <action>
2704 <conditions>
2705 <condition var1="tw_operation_state" var2="1"/>
2706 <condition var1="tw_operation_status" op="!=" var2="0"/>
2707 </conditions>
2708 <actions>
2709 <action function="set">tw_password_fail=1</action>
2710 <action function="page">restore_decrypt</action>
2711 </actions>
2712 </action>
2713
2714 <action>
2715 <conditions>
2716 <condition var1="tw_operation_state" var2="1"/>
2717 <condition var1="tw_operation_status" op="=" var2="0"/>
2718 </conditions>
2719 <actions>
2720 <action function="set">tw_page_done=1</action>
2721 <action function="page">restore_select</action>
2722 </actions>
2723 </action>
2724 </page>
2725
2726 <page name="restore_select">
2727 <template name="page"/>
2728
2729 <template name="statusbar"/>
2730
2731 <text style="text_m">
2732 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 </text>
2735
2736 <partitionlist style="partitionlist_headerless_cb">
2737 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2738 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2739 <listtype name="restore"/>
2740 </partitionlist>
2741
2742 <fill color="%accent_color%">
2743 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2744 </fill>
2745
2746 <button>
2747 <placement x="%col1_x_left%" y="%row11_y%"/>
2748 <highlight color="%highlight_color%"/>
2749 <image resource="q_btn_arrow_left"/>
2750 <action function="page">restore</action>
2751 </button>
2752
2753 <button>
2754 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2755 <highlight color="%highlight_color%"/>
2756 <image resource="q_btn_delete"/>
2757 <actions>
2758 <action function="set">tw_back=restore</action>
2759 <action function="set">tw_action=cmd</action>
2760 <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 -05002761 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002762 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2764 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2765 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2766 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002767 <action function="page">confirm_action</action>
2768 </actions>
2769 </button>
2770
2771 <button>
2772 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2773 <highlight color="%highlight_color%"/>
2774 <image resource="q_btn_accept"/>
2775 <action function="page">restore_confirm</action>
2776 </button>
2777
2778 <button>
2779 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2780 <highlight color="%highlight_color%"/>
2781 <image resource="q_btn_arrow_right"/>
2782 <actions>
2783 <action function="set">tw_back=restore_select</action>
2784 <action function="page">restore_options</action>
2785 </actions>
2786 </button>
2787
2788 <action>
2789 <touch key="home"/>
2790 <action function="page">main</action>
2791 </action>
2792
2793 <action>
2794 <touch key="back"/>
2795 <action function="page">%tw_back%</action>
2796 </action>
2797 </page>
2798
2799 <page name="restore_options">
2800 <template name="page"/>
2801
2802 <template name="statusbar"/>
2803
2804 <text style="text_m">
2805 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002807 </text>
2808
2809 <listbox style="scrolllist">
2810 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002811 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2812 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002813 </listitem>
2814 </listbox>
2815
2816 <button>
2817 <placement x="%col1_x_left%" y="%row11_y%"/>
2818 <highlight color="%highlight_color%"/>
2819 <image resource="q_btn_arrow_left"/>
2820 <action function="page">restore_select</action>
2821 </button>
2822
2823 <button>
2824 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2825 <highlight color="%highlight_color%"/>
2826 <image resource="q_btn_accept_transp"/>
2827 <actions>
2828 <action function="set">tw_back=restore_options</action>
2829 <action function="page">restore_confirm</action>
2830 </actions>
2831 </button>
2832
2833 <action>
2834 <touch key="home"/>
2835 <action function="page">main</action>
2836 </action>
2837
2838 <action>
2839 <touch key="back"/>
2840 <action function="page">%tw_back%</action>
2841 </action>
2842
2843 <action>
2844 <touch key="power+voldown"/>
2845 <action function="screenshot"/>
2846 </action>
2847 </page>
2848
2849 <page name="renamebackup">
2850 <template name="page"/>
2851
2852 <template name="statusbar"/>
2853
2854 <text style="text_m">
2855 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002856 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002857 </text>
2858
2859 <text style="text_m_accent">
2860 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002861 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002862 </text>
2863
2864 <input>
2865 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2866 <text>%tw_backup_rename%</text>
2867 <data name="tw_backup_rename"/>
2868 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2869 <actions>
2870 <action function="set">tw_back=restore</action>
2871 <action function="set">tw_action=cmd</action>
2872 <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 -05002873 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2874 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2875 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2876 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2877 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002878 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2879 <action function="set">tw_existpage=renamebackup</action>
2880 <action function="set">tw_notexistpage=confirm_action</action>
2881 <action function="page">filecheck</action>
2882 </actions>
2883 </input>
2884
2885 <fill color="%accent_color%">
2886 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2887 </fill>
2888
2889 <fill color="%text_fail_color%">
2890 <condition var1="tw_fileexists" var2="1"/>
2891 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2892 </fill>
2893
2894 <text style="text_m_fail">
2895 <condition var1="tw_fileexists" var2="1"/>
2896 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 </text>
2899
2900 <button style="main_button_half_height">
2901 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002902 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002903 <action function="page">restore_confirm</action>
2904 </button>
2905
2906 <template name="keyboardtemplate"/>
2907
2908 <action>
2909 <touch key="home"/>
2910 <action function="page">main</action>
2911 </action>
2912
2913 <action>
2914 <touch key="back"/>
2915 <action function="page">restore_confirm</action>
2916 </action>
2917 </page>
2918
2919 <page name="restore_confirm">
2920 <template name="page"/>
2921
2922 <template name="statusbar"/>
2923
2924 <text style="text_m">
2925 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 </text>
2928
2929 <text style="text_m_accent">
2930 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </text>
2933
2934 <text style="text_m">
2935 <placement x="%indent%" y="%row2_y%"/>
2936 <text>%tw_restore_name%</text>
2937 </text>
2938
2939 <fill color="%accent_color%">
2940 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2941 </fill>
2942
2943 <button>
2944 <fill color="%transparent%"/>
2945 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2946 <actions>
2947 <action function="set">tw_back=restore_confirm</action>
2948 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2949 <action function="set">tw_fileexists=0</action>
2950 <action function="page">renamebackup</action>
2951 </actions>
2952 </button>
2953
2954 <text style="text_m_accent">
2955 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002956 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002957 </text>
2958
2959 <partitionlist style="partitionlist_summary">
2960 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2961 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2962 <listtype name="restore"/>
2963 </partitionlist>
2964
2965 <button>
2966 <fill color="%transparent%"/>
2967 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2968 <actions>
2969 <action function="set">tw_back=restore_confirm</action>
2970 <action function="page">restore_select</action>
2971 </actions>
2972 </button>
2973
2974 <listbox style="listbox_options">
2975 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002976 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2977 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002978 </listitem>
2979 </listbox>
2980
2981 <text style="text_m_accent">
2982 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002984 </text>
2985
2986 <button>
2987 <fill color="%transparent%"/>
2988 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2989 <actions>
2990 <action function="set">tw_back=restore_confirm</action>
2991 <action function="page">restore_options</action>
2992 </actions>
2993 </button>
2994
2995 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 <action function="page">restore_run</action>
2998 </slider>
2999
3000 <action>
3001 <touch key="home"/>
3002 <action function="page">main</action>
3003 </action>
3004
3005 <action>
3006 <touch key="back"/>
3007 <action function="page">restore_options</action>
3008 </action>
3009 </page>
3010
3011 <page name="restore_run">
3012 <template name="page"/>
3013
3014 <template name="statusbar"/>
3015
3016 <text style="text_m">
3017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3018 <text>%tw_operation% %tw_partition%</text>
3019 </text>
3020
3021 <template name="console"/>
3022
3023 <template name="progress_bar"/>
3024
3025 <text style="text_m">
3026 <placement x="%indent%" y="%row14a_y%"/>
3027 <text>%tw_size_progress%</text>
3028 </text>
3029
3030 <action>
3031 <condition var1="tw_operation_state" var2="1"/>
3032 <actions>
3033 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003034 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <action function="set">tw_show_reboot=1</action>
3036 <action function="page">action_complete</action>
3037 </actions>
3038 </action>
3039
3040 <action>
3041 <action function="nandroid">restore</action>
3042 </action>
3043 </page>
3044
3045 <page name="mount">
3046 <template name="page"/>
3047
3048 <template name="statusbar"/>
3049
3050 <text style="text_m">
3051 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 </text>
3054
3055 <partitionlist style="partitionlist_headerless_cb">
3056 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3057 <listtype name="mount"/>
3058 </partitionlist>
3059
3060 <fill color="%accent_color%">
3061 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3062 </fill>
3063
3064 <button style="checkbox">
3065 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3066 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 <image resource="checkbox_false"/>
3069 <action function="mountsystemtoggle">1</action>
3070 </button>
3071
3072 <button style="checkbox">
3073 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3074 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 <image resource="checkbox_true"/>
3077 <actions>
3078 <action function="set">tw_lifetime_writes=2</action>
3079 <action function="page">system_readonly_check</action>
3080 </actions>
3081 </button>
3082
3083 <button style="checkbox">
3084 <conditions>
3085 <condition var1="tw_has_mtp" var2="1"/>
3086 <condition var1="tw_mtp_enabled" var2="0"/>
3087 </conditions>
3088 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3089 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <action function="startmtp"/>
3092 </button>
3093
3094 <button style="checkbox">
3095 <conditions>
3096 <condition var1="tw_has_mtp" var2="1"/>
3097 <condition var1="tw_mtp_enabled" var2="1"/>
3098 </conditions>
3099 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3100 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003102 <action function="stopmtp"/>
3103 </button>
3104
3105 <button>
3106 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3107 <highlight color="%highlight_color%"/>
3108 <image resource="q_btn_storage"/>
3109 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003111 <action function="set">tw_back=mount</action>
3112 <action function="page">select_storage</action>
3113 </actions>
3114 </button>
3115
3116 <button>
3117 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3118 <highlight color="%highlight_color%"/>
3119 <image resource="q_btn_arrow_right"/>
3120 <action function="page">mount_options</action>
3121 </button>
3122
3123 <action>
3124 <touch key="home"/>
3125 <action function="page">main</action>
3126 </action>
3127
3128 <action>
3129 <touch key="back"/>
3130 <action function="page">main</action>
3131 </action>
3132 </page>
3133
3134 <page name="mount_options">
3135 <template name="page"/>
3136
3137 <template name="statusbar"/>
3138
3139 <text style="text_m">
3140 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003142 </text>
3143
3144 <button style="main_button_full_width">
3145 <condition var1="tw_has_usb_storage" var2="1"/>
3146 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <action function="page">usb_mount</action>
3149 </button>
3150
3151 <button style="main_button_full_width">
3152 <conditions>
3153 <condition var1="tw_is_encrypted" var2="1"/>
3154 <condition var1="tw_is_decrypted" var2="0"/>
3155 </conditions>
3156 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 <action function="page">decrypt</action>
3159 </button>
3160
3161 <button>
3162 <placement x="%col1_x_left%" y="%row11_y%"/>
3163 <highlight color="%highlight_color%"/>
3164 <image resource="q_btn_arrow_left"/>
3165 <action function="page">mount</action>
3166 </button>
3167
3168 <action>
3169 <touch key="home"/>
3170 <action function="page">main</action>
3171 </action>
3172
3173 <action>
3174 <touch key="back"/>
3175 <action function="page">mount</action>
3176 </action>
3177 </page>
3178
3179 <page name="usb_mount">
3180 <template name="page"/>
3181
3182 <template name="statusbar"/>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003186 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 </text>
3188
3189 <text style="text_m_accent">
3190 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003191 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003192 </text>
3193
3194 <text style="text_m_fail">
3195 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 </text>
3198
3199 <text style="text_m_fail">
3200 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 </text>
3203
3204 <button style="main_button">
3205 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003206 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003207 <action function="page">usb_umount</action>
3208 </button>
3209
3210 <action>
3211 <action function="mount">usb</action>
3212 <action function="set">tw_busy=1</action>
3213 </action>
3214 </page>
3215
3216 <page name="usb_umount">
3217 <action>
3218 <action function="unmount">usb</action>
3219 </action>
3220
3221 <action>
3222 <action function="page">mount_options</action>
3223 <action function="set">tw_busy=0</action>
3224 </action>
3225 </page>
3226
3227 <page name="system_readonly_check">
3228 <action>
3229 <action function="checkpartitionlifetimewrites">/system</action>
3230 </action>
3231
3232 <action>
3233 <condition var1="tw_lifetime_writes" var2="1"/>
3234 <actions>
3235 <action function="mountsystemtoggle">0</action>
3236 <action function="page">mount</action>
3237 </actions>
3238 </action>
3239
3240 <action>
3241 <condition var1="tw_lifetime_writes" var2="0"/>
3242 <actions>
3243 <action function="set">tw_back=mount</action>
3244 <action function="page">system_readonly</action>
3245 </actions>
3246 </action>
3247 </page>
3248
3249 <page name="reboot">
3250 <template name="page"/>
3251
3252 <template name="statusbar"/>
3253
3254 <text style="text_m">
3255 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003256 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 </text>
3258
3259 <button style="main_button">
3260 <condition var1="tw_reboot_system" var2="1"/>
3261 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 <actions>
3264 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003265 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </actions>
3267 </button>
3268
3269 <button style="main_button">
3270 <condition var1="tw_reboot_poweroff" var2="1"/>
3271 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <actions>
3274 <action function="set">tw_back=reboot</action>
3275 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003276 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003277 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003278 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003279 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3280 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3281 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3282 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3283 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <action function="page">rebootcheck</action>
3285 </actions>
3286 </button>
3287
3288 <button style="main_button">
3289 <condition var1="tw_reboot_recovery" var2="1"/>
3290 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <actions>
3293 <action function="set">tw_back=reboot</action>
3294 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003295 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003296 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003297 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3299 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3300 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3301 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3302 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <action function="page">rebootcheck</action>
3304 </actions>
3305 </button>
3306
3307 <button style="main_button">
3308 <condition var1="tw_reboot_bootloader" var2="1"/>
3309 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 <actions>
3312 <action function="set">tw_back=reboot</action>
3313 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003314 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003315 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003316 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3318 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3319 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3320 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3321 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <action function="page">rebootcheck</action>
3323 </actions>
3324 </button>
3325
3326 <button style="main_button">
3327 <condition var1="tw_download_mode" var2="1"/>
3328 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003330 <actions>
3331 <action function="set">tw_back=reboot</action>
3332 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003333 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003334 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003335 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3337 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3338 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3339 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3340 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <action function="page">rebootcheck</action>
3342 </actions>
3343 </button>
3344
3345 <action>
3346 <touch key="home"/>
3347 <action function="page">main</action>
3348 </action>
3349
3350 <action>
3351 <touch key="back"/>
3352 <action function="page">main</action>
3353 </action>
3354 </page>
3355
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003356 <page name="rebootapp">
3357 <template name="page"/>
3358
3359 <template name="statusbar"/>
3360
3361 <text style="text_m">
3362 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3363 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3364 </text>
3365
3366 <text style="text_m_accent">
3367 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3368 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3369 </text>
3370
3371 <text style="text_m">
3372 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3373 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3374 </text>
3375
3376 <checkbox>
3377 <placement x="%indent%" y="%row3_y%"/>
3378 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3379 <data variable="tw_app_prompt"/>
3380 </checkbox>
3381
3382 <checkbox>
3383 <condition var1="tw_mount_system_ro" var2="0"/>
3384 <placement x="%indent%" y="%row5_y%"/>
3385 <text>{@reboot_install_app_system=Install as a System App}</text>
3386 <data variable="tw_app_install_system"/>
3387 </checkbox>
3388
3389 <button style="main_button_half_height">
3390 <placement x="%indent%" y="%row7_y%"/>
3391 <text>{@su_cancel=Do not Install}</text>
3392 <action function="reboot">%tw_reboot_param%</action>
3393 </button>
3394
3395 <slider>
3396 <text>{@swipe_su_install= Install}</text>
3397 <actions>
3398 <action function="set">tw_back=reboot</action>
3399 <action function="set">tw_action=installapp</action>
3400 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3401 <action function="set">tw_action_text2=</action>
3402 <action function="set">tw_has_action2=1</action>
3403 <action function="set">tw_action2=reboot</action>
3404 <action function="set">tw_action2_param=%tw_reboot_param%</action>
3405 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3406 <action function="page">action_page</action>
3407 </actions>
3408 </slider>
3409
3410 <action>
3411 <touch key="home"/>
3412 <actions>
3413 <action function="set">tw_app_install_status=0</action>
3414 <action function="page">main</action>
3415 </actions>
3416 </action>
3417
3418 <action>
3419 <touch key="back"/>
3420 <actions>
3421 <action function="set">tw_app_install_status=0</action>
3422 <action function="page">reboot</action>
3423 </actions>
3424 </action>
3425 </page>
3426
z31s1g28f0a922015-11-07 18:50:22 +01003427 <page name="system_readonly">
3428 <template name="page"/>
3429
3430 <template name="statusbar"/>
3431
3432 <text style="text_m">
3433 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 </text>
3436
3437 <text style="text_m_accent">
3438 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <text style="text_m">
3443 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </text>
3446
3447 <text style="text_m">
3448 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 </text>
3451
3452 <text style="text_m">
3453 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 </text>
3456
3457 <text style="text_m">
3458 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003460 </text>
3461
3462 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003463 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003465 </text>
3466
3467 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003468 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 </text>
3471
z31s1g608d7ff2016-01-18 19:47:25 +01003472 <button style="main_button_half_height">
3473 <placement x="%col1_x_right%" y="%row8a_y%"/>
3474 <text>{@sel_lang_btn=Select Language}</text>
3475 <action function="page">settings_language</action>
3476 </button>
3477
z31s1g28f0a922015-11-07 18:50:22 +01003478 <checkbox>
3479 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003480 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 <data variable="tw_never_show_system_ro_page"/>
3483 </checkbox>
3484
3485 <button style="main_button_half_height">
3486 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003488 <actions>
3489 <action function="mountsystemtoggle">1</action>
3490 <action function="set">tw_page_done=1</action>
3491 <action function="page">%tw_back%</action>
3492 </actions>
3493 </button>
3494
3495 <button style="main_button_half_height">
3496 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <actions>
3499 <action function="mountsystemtoggle">0</action>
3500 <action function="set">tw_page_done=1</action>
3501 <action function="page">%tw_back%</action>
3502 </actions>
3503 </button>
3504 </page>
3505
3506 <page name="settings">
3507 <template name="page"/>
3508
3509 <template name="statusbar"/>
3510
3511 <text style="text_m">
3512 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 </text>
3515
3516 <button style="main_button">
3517 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <action function="page">settings_general</action>
3520 </button>
3521
3522 <button style="main_button">
3523 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <action function="page">settings_timezone</action>
3526 </button>
3527
3528 <button style="main_button">
3529 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003531 <action function="page">settings_screen</action>
3532 </button>
3533
3534 <button style="main_button">
3535 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003537 <action function="page">settings_vibration</action>
3538 </button>
3539
3540 <button style="main_button">
3541 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <action function="page">settings_language</action>
3544 </button>
3545
3546 <button>
3547 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3548 <highlight color="%highlight_color%"/>
3549 <image resource="q_btn_reset"/>
3550 <action function="restoredefaultsettings"/>
3551 </button>
3552
3553 <action>
3554 <touch key="home"/>
3555 <action function="page">main</action>
3556 </action>
3557
3558 <action>
3559 <touch key="back"/>
3560 <action function="page">main3</action>
3561 </action>
3562 </page>
3563
3564 <page name="settings_general">
3565 <template name="page"/>
3566
3567 <template name="statusbar"/>
3568
3569 <text style="text_m">
3570 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </text>
3573
3574 <listbox style="scrolllist">
3575 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003577 <data variable="tw_signed_zip_verify"/>
3578 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003579 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3580 <data variable="tw_install_reboot"/>
3581 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003583 <data variable="tw_rm_rf"/>
3584 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003585 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3586 <data variable="tw_disable_free_space"/>
3587 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003588 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3589 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003590 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003591 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3592 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003593 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003595 <data variable="tw_military_time"/>
3596 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003597 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3598 <data variable="tw_app_prompt"/>
3599 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003601 <data variable="tw_simulate_actions"/>
3602 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003604 <data variable="tw_simulate_fail"/>
3605 <condition var1="tw_simulate_actions" var2="1"/>
3606 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003607 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3608 <condition var1="tw_no_sha2" var2="0"/>
3609 <data variable="tw_use_sha2"/>
3610 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </listbox>
3612
3613 <action>
3614 <touch key="home"/>
3615 <action function="page">main</action>
3616 </action>
3617
3618 <action>
3619 <touch key="back"/>
3620 <action function="page">settings</action>
3621 </action>
3622 </page>
3623
3624 <page name="settings_timezone">
3625 <template name="page"/>
3626
3627 <template name="statusbar"/>
3628
3629 <text style="text_m">
3630 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </text>
3633
3634 <text color="%text_color%">
3635 <font resource="font_m"/>
3636 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3637 <text>%tw_time%</text>
3638 </text>
3639
3640 <listbox style="listbox_headerless">
3641 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3642 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3644 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3645 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3646 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3647 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3648 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3649 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3650 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3651 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3652 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3653 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3654 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3655 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3656 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3657 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3658 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3659 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3660 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3661 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3662 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3663 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3664 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3665 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3666 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003667 </listbox>
3668
3669 <button>
3670 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3671 <highlight color="%highlight_color%"/>
3672 <image resource="q_btn_arrow_right"/>
3673 <actions>
3674 <action function="setguitimezone"/>
3675 <action function="page">settings_timezone2</action>
3676 </actions>
3677 </button>
3678
3679 <action>
3680 <condition var1="tw_time_zone_guisel" op="modified"/>
3681 <action function="setguitimezone"/>
3682 </action>
3683
3684 <action>
3685 <touch key="home"/>
3686 <actions>
3687 <action function="page">main</action>
3688 <action function="setguitimezone"/>
3689 </actions>
3690 </action>
3691
3692 <action>
3693 <touch key="back"/>
3694 <actions>
3695 <action function="page">settings</action>
3696 <action function="setguitimezone"/>
3697 </actions>
3698 </action>
3699
3700 <action>
3701 <touch key="power+voldown"/>
3702 <action function="screenshot"/>
3703 </action>
3704 </page>
3705
3706 <page name="settings_timezone2">
3707 <template name="page"/>
3708
3709 <template name="statusbar"/>
3710
3711 <text style="text_m">
3712 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 </text>
3715
3716 <text color="%text_color%">
3717 <font resource="font_m"/>
3718 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3719 <text>%tw_time%</text>
3720 </text>
3721
3722 <checkbox>
3723 <placement x="%col1_x_left%" y="%row1_y%"/>
3724 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003726 <data variable="tw_time_zone_guidst"/>
3727 <image checked="checkbox_true" unchecked="checkbox_false"/>
3728 </checkbox>
3729
3730 <text style="text_m_accent">
3731 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 </text>
3734
3735 <button style="main_button_quarter_width">
3736 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <actions>
3739 <action function="set">tw_time_zone_guioffset=0</action>
3740 <action function="setguitimezone"/>
3741 </actions>
3742 </button>
3743
3744 <button style="main_button_quarter_width">
3745 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 <actions>
3748 <action function="set">tw_time_zone_guioffset=15</action>
3749 <action function="setguitimezone"/>
3750 </actions>
3751 </button>
3752
3753 <button style="main_button_quarter_width">
3754 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 <actions>
3757 <action function="set">tw_time_zone_guioffset=30</action>
3758 <action function="setguitimezone"/>
3759 </actions>
3760 </button>
3761
3762 <button style="main_button_quarter_width">
3763 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 <actions>
3766 <action function="set">tw_time_zone_guioffset=45</action>
3767 <action function="setguitimezone"/>
3768 </actions>
3769 </button>
3770
3771 <button>
3772 <placement x="%col1_x_left%" y="%row11_y%"/>
3773 <highlight color="%highlight_color%"/>
3774 <image resource="q_btn_arrow_left"/>
3775 <actions>
3776 <action function="setguitimezone"/>
3777 <action function="page">settings_timezone</action>
3778 </actions>
3779 </button>
3780
3781 <text style="text_m_accent">
3782 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 </text>
3785
3786 <text style="text_m">
3787 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3788 <text>%tw_time_zone%</text>
3789 </text>
3790
3791 <action>
3792 <condition var1="tw_time_zone_guidst" op="modified"/>
3793 <action function="setguitimezone"/>
3794 </action>
3795
3796 <action>
3797 <touch key="home"/>
3798 <actions>
3799 <action function="setguitimezone"/>
3800 <action function="page">main</action>
3801 </actions>
3802 </action>
3803
3804 <action>
3805 <touch key="back"/>
3806 <actions>
3807 <action function="setguitimezone"/>
3808 <action function="page">settings_timezone</action>
3809 </actions>
3810 </action>
3811 </page>
3812
3813 <page name="settings_screen">
3814 <template name="page"/>
3815
3816 <template name="statusbar"/>
3817
3818 <text style="text_m">
3819 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003821 </text>
3822
3823 <button style="checkbox">
3824 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3825 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3826 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 <image resource="checkbox_false"/>
3829 <action function="set">tw_screen_timeout_secs=60</action>
3830 </button>
3831
3832 <button style="checkbox">
3833 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3834 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3835 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003836 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003837 <image resource="checkbox_true"/>
3838 <action function="set">tw_screen_timeout_secs=0</action>
3839 </button>
3840
3841 <slidervalue>
3842 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3843 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3846 </slidervalue>
3847
3848 <text style="text_m_fail">
3849 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3850 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 </text>
3853
3854 <button>
3855 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3856 <highlight color="%highlight_color%"/>
3857 <image resource="q_btn_arrow_right"/>
3858 <action function="page">settings_screen2</action>
3859 </button>
3860
3861 <action>
3862 <touch key="home"/>
3863 <action function="page">main</action>
3864 </action>
3865
3866 <action>
3867 <touch key="back"/>
3868 <action function="page">settings</action>
3869 </action>
3870 </page>
3871
3872 <page name="settings_screen2">
3873 <template name="page"/>
3874
3875 <template name="statusbar"/>
3876
3877 <text style="text_m">
3878 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <slidervalue>
3883 <condition var1="tw_has_brightnesss_file" var2="1"/>
3884 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <data variable="tw_brightness_pct" min="10" max="100"/>
3887 <actions>
3888 <action function="set">tw_brightness=%tw_brightness_max%</action>
3889 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3890 <action function="compute">tw_brightness/100</action>
3891 <action function="setbrightness">%tw_brightness%</action>
3892 </actions>
3893 </slidervalue>
3894
3895 <text style="text_m_fail">
3896 <condition var1="tw_has_brightnesss_file" var2="0"/>
3897 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 </text>
3900
3901 <button>
3902 <placement x="%col1_x_left%" y="%row11_y%"/>
3903 <highlight color="%highlight_color%"/>
3904 <image resource="q_btn_arrow_left"/>
3905 <action function="page">settings_screen</action>
3906 </button>
3907
3908 <action>
3909 <touch key="home"/>
3910 <action function="page">main</action>
3911 </action>
3912
3913 <action>
3914 <touch key="back"/>
3915 <action function="page">settings</action>
3916 </action>
3917 </page>
3918
3919 <page name="settings_vibration">
3920 <template name="page"/>
3921
3922 <template name="statusbar"/>
3923
3924 <text style="text_m">
3925 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <slidervalue>
3930 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 <data variable="tw_button_vibrate" min="0" max="300"/>
3933 </slidervalue>
3934
3935 <button>
3936 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3937 <highlight color="%highlight_color%"/>
3938 <image resource="q_btn_arrow_right"/>
3939 <action function="page">settings_vibration2</action>
3940 </button>
3941
3942 <action>
3943 <touch key="home"/>
3944 <action function="page">main</action>
3945 </action>
3946
3947 <action>
3948 <touch key="back"/>
3949 <action function="page">settings</action>
3950 </action>
3951 </page>
3952
3953 <page name="settings_vibration2">
3954 <template name="page"/>
3955
3956 <template name="statusbar"/>
3957
3958 <text style="text_m">
3959 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003960 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003961 </text>
3962
3963 <slidervalue>
3964 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3967 </slidervalue>
3968
3969 <button>
3970 <placement x="%col1_x_left%" y="%row11_y%"/>
3971 <highlight color="%highlight_color%"/>
3972 <image resource="q_btn_arrow_left"/>
3973 <action function="page">settings_vibration</action>
3974 </button>
3975
3976 <button>
3977 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3978 <highlight color="%highlight_color%"/>
3979 <image resource="q_btn_arrow_right"/>
3980 <action function="page">settings_vibration3</action>
3981 </button>
3982
3983 <action>
3984 <touch key="home"/>
3985 <action function="page">main</action>
3986 </action>
3987
3988 <action>
3989 <touch key="back"/>
3990 <action function="page">settings</action>
3991 </action>
3992 </page>
3993
3994 <page name="settings_vibration3">
3995 <template name="page"/>
3996
3997 <template name="statusbar"/>
3998
3999 <text style="text_m">
4000 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004002 </text>
4003
4004 <slidervalue>
4005 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004006 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004007 <data variable="tw_action_vibrate" min="0" max="500"/>
4008 </slidervalue>
4009
4010 <button>
4011 <placement x="%col1_x_left%" y="%row11_y%"/>
4012 <highlight color="%highlight_color%"/>
4013 <image resource="q_btn_arrow_left"/>
4014 <action function="page">settings_vibration2</action>
4015 </button>
4016
4017 <action>
4018 <touch key="home"/>
4019 <action function="page">main</action>
4020 </action>
4021
4022 <action>
4023 <touch key="back"/>
4024 <action function="page">settings</action>
4025 </action>
4026 </page>
4027
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <page name="settings_language">
4029 <template name="page"/>
4030
4031 <template name="statusbar"/>
4032
4033 <text style="text_m">
4034 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4035 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4036 </text>
4037
z31s1g608d7ff2016-01-18 19:47:25 +01004038 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4040 <icon selected="radio_true" unselected="radio_false" />
4041 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004042 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004043
4044 <button>
4045 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4046 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004047 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <action function="setlanguage"></action>
4049 </button>
4050
z31s1g608d7ff2016-01-18 19:47:25 +01004051 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <touch key="home" />
4053 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004054 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055
z31s1g608d7ff2016-01-18 19:47:25 +01004056 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <touch key="back" />
4058 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004059 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 </page>
4061
z31s1g28f0a922015-11-07 18:50:22 +01004062 <page name="advanced">
4063 <template name="page"/>
4064
4065 <template name="statusbar"/>
4066
4067 <text style="text_m">
4068 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 </text>
4071
4072 <button style="main_button">
4073 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004075 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004076 </button>
4077
4078 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004079 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004081 <text>{@fix_context_btn=Fix Contexts}</text>
4082 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004083 </button>
4084
4085 <button style="main_button">
4086 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 <action function="reload"/>
4089 </button>
4090
4091 <button style="main_button">
4092 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4093 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004095 <actions>
4096 <action function="set">partitionlisterror=0</action>
4097 <action function="page">partsdcardsel</action>
4098 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004099 </button>
4100
4101 <button style="main_button">
4102 <condition var1="tw_show_dumlock" var2="1"/>
4103 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 <action function="page">htcdumlock</action>
4106 </button>
4107
4108 <button style="main_button">
4109 <condition var1="tw_has_injecttwrp" var2="1"/>
4110 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004112 <actions>
4113 <action function="set">tw_back=advanced</action>
4114 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4116 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4117 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4118 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004119 <action function="page">confirm_action</action>
4120 </actions>
4121 </button>
4122
4123 <action>
4124 <touch key="home"/>
4125 <action function="page">main</action>
4126 </action>
4127
4128 <action>
4129 <touch key="back"/>
4130 <action function="page">main3</action>
4131 </action>
4132 </page>
4133
Ethan Yonker483e9f42016-01-11 22:21:18 -06004134 <page name="partsdcardsel">
4135 <template name="page"/>
4136
4137 <template name="statusbar"/>
4138
4139 <text style="text_m">
4140 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4141 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4142 </text>
4143
4144 <partitionlist style="partitionlist_headerless_rb">
4145 <data name="tw_storage_path"/>
4146 <listtype name="storage"/>
4147 </partitionlist>
4148
4149 <text style="text_m_fail">
4150 <condition var1="partitionlisterror" var2="1"/>
4151 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4152 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4153 </text>
4154
4155 <button>
4156 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4157 <highlight color="%highlight_color%"/>
4158 <image resource="q_btn_refresh"/>
4159 <action function="refreshsizes"/>
4160 </button>
4161
4162 <button>
4163 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4164 <highlight color="%highlight_color%"/>
4165 <image resource="q_btn_accept"/>
4166 <actions>
4167 <action function="getpartitiondetails">tw_storage_path</action>
4168 <action function="page">partsdcardcheck</action>
4169 </actions>
4170 </button>
4171
4172 <action>
4173 <touch key="home"/>
4174 <action function="page">main</action>
4175 </action>
4176
4177 <action>
4178 <touch key="back"/>
4179 <action function="page">advanced</action>
4180 </action>
4181 </page>
4182
4183 <page name="partsdcardcheck">
4184 <action>
4185 <condition var1="tw_partition_removable" op="=" var2="1"/>
4186 <actions>
4187 <action function="set">partitionlisterror=0</action>
4188 <action function="page">partsdcard</action>
4189 </actions>
4190 </action>
4191
4192 <action>
4193 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4194 <actions>
4195 <action function="set">partitionlisterror=1</action>
4196 <action function="page">partsdcardsel</action>
4197 </actions>
4198 </action>
4199 </page>
4200
z31s1g28f0a922015-11-07 18:50:22 +01004201 <page name="partsdcard">
4202 <template name="page"/>
4203
4204 <template name="statusbar"/>
4205
4206 <text style="text_m">
4207 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </text>
4210
4211 <text style="text_m_fail">
4212 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </text>
4215
4216 <text style="text_m_fail">
4217 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004219 </text>
4220
4221 <text style="text_m_accent">
4222 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </text>
4225
4226 <text style="text_m">
4227 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4228 <text>%tw_sdext_size%</text>
4229 </text>
4230
4231 <button style="main_button_quarter_width">
4232 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004234 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004235 </button>
4236
4237 <button style="main_button_quarter_width">
4238 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004239 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004240 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </button>
4242
4243 <button>
4244 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4245 <highlight color="%highlight_color%"/>
4246 <image resource="q_btn_arrow_right"/>
4247 <action function="page">partsdcard2</action>
4248 </button>
4249
4250 <action>
4251 <touch key="home"/>
4252 <action function="page">main</action>
4253 </action>
4254
4255 <action>
4256 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004257 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004258 </action>
4259 </page>
4260
4261 <page name="partsdcard2">
4262 <template name="page"/>
4263
4264 <template name="statusbar"/>
4265
4266 <text style="text_m">
4267 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004269 </text>
4270
4271 <text style="text_m_fail">
4272 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004274 </text>
4275
4276 <text style="text_m_fail">
4277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004278 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004279 </text>
4280
4281 <text style="text_m_accent">
4282 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004284 </text>
4285
4286 <text style="text_m">
4287 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4288 <text>%tw_swap_size%</text>
4289 </text>
4290
4291 <button style="main_button_quarter_width">
4292 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004294 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004295 </button>
4296
4297 <button style="main_button_quarter_width">
4298 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004299 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004300 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </button>
4302
4303 <button>
4304 <placement x="%col1_x_left%" y="%row11_y%"/>
4305 <highlight color="%highlight_color%"/>
4306 <image resource="q_btn_arrow_left"/>
4307 <action function="page">partsdcard</action>
4308 </button>
4309
4310 <button>
4311 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4312 <highlight color="%highlight_color%"/>
4313 <image resource="q_btn_arrow_right"/>
4314 <action function="page">partsdcard3</action>
4315 </button>
4316
4317 <action>
4318 <touch key="home"/>
4319 <action function="page">main</action>
4320 </action>
4321
4322 <action>
4323 <touch key="back"/>
4324 <action function="page">advanced</action>
4325 </action>
4326 </page>
4327
4328 <page name="partsdcard3">
4329 <template name="page"/>
4330
4331 <template name="statusbar"/>
4332
4333 <text style="text_m">
4334 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004335 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004336 </text>
4337
4338 <text style="text_m_fail">
4339 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 </text>
4342
4343 <text style="text_m_fail">
4344 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 </text>
4347
4348 <text style="text_m_accent">
4349 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 </text>
4352
4353 <text style="text_m">
4354 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4355 <text>%tw_sdpart_file_system%</text>
4356 </text>
4357
4358 <button style="main_button_quarter_width">
4359 <placement x="%indent%" y="%row6_y%"/>
4360 <text>EXT3</text>
4361 <action function="set">tw_sdpart_file_system=ext3</action>
4362 </button>
4363
4364 <button style="main_button_quarter_width">
4365 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4366 <text>EXT4</text>
4367 <action function="set">tw_sdpart_file_system=ext4</action>
4368 </button>
4369
4370 <button>
4371 <placement x="%col1_x_left%" y="%row11_y%"/>
4372 <highlight color="%highlight_color%"/>
4373 <image resource="q_btn_arrow_left"/>
4374 <action function="page">partsdcard2</action>
4375 </button>
4376
4377 <button>
4378 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4379 <highlight color="%highlight_color%"/>
4380 <image resource="q_btn_arrow_right"/>
4381 <action function="page">partsdcard_confirm</action>
4382 </button>
4383
4384 <action>
4385 <touch key="home"/>
4386 <action function="page">main</action>
4387 </action>
4388
4389 <action>
4390 <touch key="back"/>
4391 <action function="page">advanced</action>
4392 </action>
4393 </page>
4394
4395 <page name="partsdcard_confirm">
4396 <template name="page"/>
4397
4398 <template name="statusbar"/>
4399
4400 <text style="text_m">
4401 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004402 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004403 </text>
4404
4405 <text style="text_m_fail">
4406 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004407 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004408 </text>
4409
4410 <text style="text_m_fail">
4411 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004412 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004413 </text>
4414
4415 <text style="text_m_accent">
4416 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004417 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004418 </text>
4419
4420 <text style="text_m_accent">
4421 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 </text>
4424
4425 <text style="text_m_accent">
4426 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004428 </text>
4429
4430 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 <action function="page">partsdcardaction</action>
4433 <actions>
4434 <action function="set">tw_back=partsdcard</action>
4435 <action function="set">tw_action=partitionsd</action>
4436 <action function="set">tw_has_action2=1</action>
4437 <action function="set">tw_action2=set</action>
4438 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4440 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4441 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004442 <action function="page">action_page</action>
4443 </actions>
4444 </slider>
4445
4446 <action>
4447 <touch key="home"/>
4448 <action function="page">main</action>
4449 </action>
4450
4451 <action>
4452 <touch key="back"/>
4453 <action function="page">advanced</action>
4454 </action>
4455 </page>
4456
4457 <page name="htcdumlock">
4458 <template name="page"/>
4459
4460 <template name="statusbar"/>
4461
4462 <text style="text_m">
4463 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004464 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004465 </text>
4466
4467 <button style="main_button_full_width">
4468 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004469 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 <actions>
4471 <action function="set">tw_back=htcdumlock</action>
4472 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4474 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4475 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4476 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004477 <action function="page">confirm_action</action>
4478 </actions>
4479 </button>
4480
4481 <button style="main_button_full_width">
4482 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 <actions>
4485 <action function="set">tw_back=htcdumlock</action>
4486 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4488 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4489 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4490 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004491 <action function="page">confirm_action</action>
4492 </actions>
4493 </button>
4494
4495 <button style="main_button_full_width">
4496 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004497 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004498 <actions>
4499 <action function="set">tw_back=htcdumlock</action>
4500 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4502 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4503 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4504 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004505 <action function="page">confirm_action</action>
4506 </actions>
4507 </button>
4508
4509 <action>
4510 <touch key="home"/>
4511 <action function="page">main</action>
4512 </action>
4513
4514 <action>
4515 <touch key="back"/>
4516 <action function="page">advanced</action>
4517 </action>
4518 </page>
4519
4520 <page name="lock">
4521 <background color="%semi_transparent%"/>
4522
4523 <image>
4524 <image resource="unlock_icon"/>
4525 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4526 </image>
4527
4528 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004529 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004530 <action function="overlay"/>
4531 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004532
4533 <action>
4534 <touch key="power"/>
4535 <action function="togglebacklight"/>
4536 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004537 </page>
4538
4539 <page name="filemanagerlist">
4540 <template name="page"/>
4541
4542 <template name="statusbar"/>
4543
4544 <text style="text_m">
4545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004547 </text>
4548
4549 <fileselector>
4550 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4551 <text>%tw_file_location1%</text>
4552 <filter folders="1" files="1"/>
4553 <path name="tw_file_location1" default="/"/>
4554 <data name="tw_filename1"/>
4555 <selection name="tw_selection1"/>
4556 </fileselector>
4557
4558 <button>
4559 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4560 <highlight color="%highlight_color%"/>
4561 <image resource="q_btn_folder"/>
4562 <actions>
4563 <action function="set">tw_filename1=tw_file_location1</action>
4564 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004565 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004566 <action function="page">filemanageroptions</action>
4567 </actions>
4568 </button>
4569
4570 <action>
4571 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004572 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004573 <action function="set">tw_fm_isfolder=0</action>
4574 </actions>
4575 </action>
4576
4577 <action>
4578 <touch key="home"/>
4579 <action function="page">main</action>
4580 </action>
4581
4582 <action>
4583 <touch key="back"/>
4584 <action function="page">main3</action>
4585 </action>
4586
4587 <action>
4588 <condition var1="tw_filename1" op="modified"/>
4589 <action function="page">filemanageroptions</action>
4590 </action>
4591 </page>
4592
4593 <page name="filemanageroptions">
4594 <template name="page"/>
4595
4596 <template name="statusbar"/>
4597
4598 <text style="text_m">
4599 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004600 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004601 </text>
4602
4603 <button style="main_button">
4604 <condition var1="tw_fm_isfolder" var2="0"/>
4605 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 <actions>
4608 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004610 <action function="page">choosedestinationfolder</action>
4611 </actions>
4612 </button>
4613
4614 <button style="main_button">
4615 <condition var1="tw_fm_isfolder" var2="1"/>
4616 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 <actions>
4619 <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 -05004620 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004621 <action function="page">choosedestinationfolder</action>
4622 </actions>
4623 </button>
4624
4625 <button style="main_button">
4626 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 <actions>
4629 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004631 <action function="page">choosedestinationfolder</action>
4632 </actions>
4633 </button>
4634
4635 <button style="main_button">
4636 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 <actions>
4639 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004641 <action function="set">tw_fm_text2=</action>
4642 <action function="set">tw_fm_text3=</action>
4643 <action function="set">tw_include_text3=0</action>
4644 <action function="set">tw_back=filemanageroptions</action>
4645 <action function="page">filemanagerconfirm</action>
4646 </actions>
4647 </button>
4648
4649 <button style="main_button">
4650 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <actions>
4653 <action function="set">tw_filemanager_rename=0000</action>
4654 <action function="set">tw_fm_text2=</action>
4655 <action function="set">tw_fm_text3=</action>
4656 <action function="set">tw_include_text3=0</action>
4657 <action function="set">tw_back=filemanageroptions</action>
4658 <action function="page">filemanagerchmod</action>
4659 </actions>
4660 </button>
4661
4662 <button style="main_button">
4663 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004664 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004665 <actions>
4666 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004667 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004668 <action function="set">tw_fm_text2=</action>
4669 <action function="set">tw_fm_text3=</action>
4670 <action function="set">tw_include_text3=0</action>
4671 <action function="set">tw_back=filemanageroptions</action>
4672 <action function="page">filemanagerconfirm</action>
4673 </actions>
4674 </button>
4675
4676 <button style="main_button">
4677 <condition var1="tw_fm_isfolder" var2="0"/>
4678 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <actions>
4681 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004683 <action function="set">tw_filemanager_command=mv</action>
4684 <action function="page">filemanagerrenamefile</action>
4685 </actions>
4686 </button>
4687
4688 <button style="main_button">
4689 <condition var1="tw_fm_isfolder" var2="1"/>
4690 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004691 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004692 <actions>
4693 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004694 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004695 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4696 <action function="page">filemanagerrenamefolder</action>
4697 </actions>
4698 </button>
4699
4700 <action>
4701 <touch key="home"/>
4702 <action function="page">main</action>
4703 </action>
4704
4705 <action>
4706 <touch key="back"/>
4707 <action function="page">filemanagerlist</action>
4708 </action>
4709 </page>
4710
4711 <page name="choosedestinationfolder">
4712 <template name="page"/>
4713
4714 <template name="statusbar"/>
4715
4716 <text style="text_m">
4717 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004718 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004719 </text>
4720
4721 <fileselector>
4722 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4723 <text>%tw_file_location2%</text>
4724 <filter folders="1" files="0"/>
4725 <path name="tw_file_location2" default="/"/>
4726 <data name="tw_filename2"/>
4727 <selection name="tw_selection2"/>
4728 </fileselector>
4729
4730 <button>
4731 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4732 <highlight color="%highlight_color%"/>
4733 <image resource="q_btn_folder"/>
4734 <actions>
4735 <action function="set">tw_fm_text2=to</action>
4736 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4737 <action function="set">tw_include_text3=1</action>
4738 <action function="set">tw_back=filemanageroptions</action>
4739 <action function="page">filemanagerconfirm</action>
4740 </actions>
4741 </button>
4742
4743 <action>
4744 <touch key="home"/>
4745 <action function="page">main</action>
4746 </action>
4747
4748 <action>
4749 <touch key="back"/>
4750 <action function="page">filemanageroptions</action>
4751 </action>
4752 </page>
4753
4754 <page name="filemanagerrenamefile">
4755 <template name="page"/>
4756
4757 <template name="statusbar"/>
4758
4759 <text style="text_m">
4760 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004761 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004762 </text>
4763
4764 <text style="text_m_accent">
4765 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004766 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004767 </text>
4768
4769 <input>
4770 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4771 <text>%tw_filemanager_rename%</text>
4772 <data name="tw_filemanager_rename"/>
4773 <restrict minlen="1" maxlen="128"/>
4774 <actions>
4775 <action function="set">tw_fm_text2=to</action>
4776 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4777 <action function="set">tw_include_text3=1</action>
4778 <action function="set">tw_back=filemanageroptions</action>
4779 <action function="page">filemanagerconfirm</action>
4780 </actions>
4781 </input>
4782
4783 <fill color="%accent_color%">
4784 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4785 </fill>
4786
4787 <button style="main_button_half_height">
4788 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004789 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004790 <action function="page">filemanageroptions</action>
4791 </button>
4792
4793 <template name="keyboardtemplate"/>
4794
4795 <action>
4796 <touch key="home"/>
4797 <action function="page">main</action>
4798 </action>
4799
4800 <action>
4801 <touch key="back"/>
4802 <action function="page">filemanageroptions</action>
4803 </action>
4804 </page>
4805
4806 <page name="filemanagerrenamefolder">
4807 <template name="page"/>
4808
4809 <template name="statusbar"/>
4810
4811 <text style="text_m">
4812 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004813 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004814 </text>
4815
4816 <text style="text_m_accent">
4817 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004818 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004819 </text>
4820
4821 <input>
4822 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4823 <text>%tw_filemanager_rename%</text>
4824 <data name="tw_filemanager_rename"/>
4825 <restrict minlen="1" maxlen="128"/>
4826 <actions>
4827 <action function="set">tw_fm_text2=to</action>
4828 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4829 <action function="set">tw_include_text3=1</action>
4830 <action function="set">tw_back=filemanageroptions</action>
4831 <action function="page">filemanagerconfirm</action>
4832 </actions>
4833 </input>
4834
4835 <fill color="%accent_color%">
4836 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4837 </fill>
4838
4839 <button style="main_button_half_height">
4840 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004841 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004842 <action function="page">filemanageroptions</action>
4843 </button>
4844
4845 <template name="keyboardtemplate"/>
4846
4847 <action>
4848 <touch key="home"/>
4849 <action function="page">main</action>
4850 </action>
4851
4852 <action>
4853 <touch key="back"/>
4854 <action function="page">filemanageroptions</action>
4855 </action>
4856 </page>
4857
4858 <page name="filemanagerchmod">
4859 <template name="page"/>
4860
4861 <template name="statusbar"/>
4862
4863 <text style="text_m">
4864 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004865 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004866 </text>
4867
4868 <text style="text_m_accent">
4869 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004870 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004871 </text>
4872
4873 <input>
4874 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4875 <text>%tw_filemanager_rename%</text>
4876 <data name="tw_filemanager_rename"/>
4877 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4878 <actions>
4879 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4880 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4881 <action function="set">tw_back=filemanageroptions</action>
4882 <action function="page">filemanagerconfirm</action>
4883 </actions>
4884 </input>
4885
4886 <fill color="%accent_color%">
4887 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4888 </fill>
4889
4890 <button style="main_button_half_height">
4891 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 <action function="page">filemanageroptions</action>
4894 </button>
4895
4896 <template name="keyboardtemplate"/>
4897
4898 <action>
4899 <touch key="home"/>
4900 <action function="page">main</action>
4901 </action>
4902
4903 <action>
4904 <touch key="back"/>
4905 <action function="page">filemanageroptions</action>
4906 </action>
4907 </page>
4908
4909 <page name="filemanagerconfirm">
4910 <template name="page"/>
4911
4912 <template name="statusbar"/>
4913
4914 <text style="text_m">
4915 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004916 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004917 </text>
4918
4919 <text style="text_m_accent">
4920 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4921 <text>%tw_fm_text1%</text>
4922 </text>
4923
4924 <text style="text_m">
4925 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4926 <text>%tw_filename1%</text>
4927 </text>
4928
4929 <text style="text_m_accent">
4930 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4931 <text>%tw_fm_text2%</text>
4932 </text>
4933
4934 <text style="text_m">
4935 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4936 <text>%tw_fm_text3%</text>
4937 </text>
4938
4939 <text style="text_m">
4940 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004941 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004942 </text>
4943
4944 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004945 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004946 <action function="page">filemanageraction</action>
4947 </slider>
4948
4949 <action>
4950 <touch key="back"/>
4951 <action function="page">%tw_back%</action>
4952 </action>
4953
4954 <action>
4955 <touch key="home"/>
4956 <action function="page">main</action>
4957 </action>
4958 </page>
4959
4960 <page name="filemanageraction">
4961 <template name="page"/>
4962
4963 <template name="statusbar"/>
4964
4965 <text style="text_m">
4966 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004968 </text>
4969
4970 <template name="console"/>
4971
4972 <template name="progress_bar"/>
4973
4974 <action>
4975 <conditions>
4976 <condition var1="tw_operation_state" var2="1"/>
4977 <condition var1="tw_operation_status" var2="0"/>
4978 </conditions>
4979 <actions>
4980 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004981 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004982 <action function="page">action_complete</action>
4983 </actions>
4984 </action>
4985
4986 <action>
4987 <conditions>
4988 <condition var1="tw_operation_state" var2="1"/>
4989 <condition var1="tw_operation_status" op="!=" var2="0"/>
4990 </conditions>
4991 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004992 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004993 <action function="page">action_complete</action>
4994 </actions>
4995 </action>
4996
4997 <action>
4998 <condition var1="tw_include_text3" var2="0"/>
4999 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5000 </action>
5001
5002 <action>
5003 <condition var1="tw_include_text3" var2="1"/>
5004 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5005 </action>
5006 </page>
5007
5008 <page name="decrypt">
5009 <template name="page"/>
5010
5011 <template name="statusbar"/>
5012
5013 <action>
5014 <condition var1="tw_crypto_pwtype" var2="2"/>
5015 <action function="page">decrypt_pattern</action>
5016 </action>
5017
5018 <text style="text_m">
5019 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005020 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005021 </text>
5022
5023 <text style="text_m_accent">
5024 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005025 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005026 </text>
5027
5028 <input>
5029 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5030 <text>%tw_crypto_display%</text>
5031 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5032 <restrict minlen="1" maxlen="254"/>
5033 <action function="page">trydecrypt</action>
5034 </input>
5035
5036 <fill color="%accent_color%">
5037 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5038 </fill>
5039
5040 <fill color="%text_fail_color%">
5041 <condition var1="tw_password_fail" var2="1"/>
5042 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5043 </fill>
5044
5045 <text style="text_m_fail">
5046 <condition var1="tw_password_fail" var2="1"/>
5047 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005048 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005049 </text>
5050
5051 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005052 <placement x="%col1_x_left%" y="%row4_y%"/>
5053 <text>{@sel_lang_btn=Select Language}</text>
5054 <action function="page">settings_language</action>
5055 </button>
5056
5057 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005058 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005059 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005060 <actions>
5061 <action function="set">tw_page_done=1</action>
5062 <action function="page">main</action>
5063 </actions>
5064 </button>
5065
5066 <template name="keyboardtemplate"/>
5067 </page>
5068
5069 <page name="decrypt_pattern">
5070 <template name="page"/>
5071
5072 <template name="statusbar"/>
5073
Aleksa Saraib25a1832015-12-31 17:36:00 +01005074 <action>
5075 <action function="set">tw_gui_pattern_grid_size=3</action>
5076 </action>
5077
z31s1g28f0a922015-11-07 18:50:22 +01005078 <text style="text_m">
5079 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005080 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005081 </text>
5082
5083 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005084 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005085 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005086 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005087 </text>
5088
Aleksa Saraib25a1832015-12-31 17:36:00 +01005089 <text style="text_m_fail">
5090 <condition var1="tw_password_fail" var2="1"/>
5091 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005092 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005093 </text>
5094
z31s1g28f0a922015-11-07 18:50:22 +01005095 <text style="text_m">
5096 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005097 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005098 </text>
5099
5100 <patternpassword>
5101 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005102 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5103 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5104 <data name="tw_crypto_password"/>
5105 <action function="page">trydecrypt</action>
5106 </patternpassword>
5107
5108 <fill color="#000000">
5109 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5110 </fill>
5111
5112 <button>
5113 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5114 <image resource="back"/>
5115 <condition var1="tw_busy" var2="0"/>
5116 <actions>
5117 <action function="set">tw_page_done=1</action>
5118 <action function="page">main</action>
5119 </actions>
5120 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005121
5122 <button>
5123 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5124 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5125 <image resource="grid_less"/>
5126 <action function="set">tw_gui_pattern_grid_size=3</action>
5127 </button>
5128
5129 <button>
5130 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5131 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5132 <image resource="grid_less"/>
5133 <action function="set">tw_gui_pattern_grid_size=3</action>
5134 </button>
5135
5136 <button>
5137 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5138 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5139 <image resource="grid_less"/>
5140 <action function="set">tw_gui_pattern_grid_size=4</action>
5141 </button>
5142
5143 <button>
5144 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5145 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5146 <image resource="grid_less"/>
5147 <action function="set">tw_gui_pattern_grid_size=5</action>
5148 </button>
5149
5150 <button>
5151 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5152 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5153 <image resource="grid_more"/>
5154 <action function="set">tw_gui_pattern_grid_size=4</action>
5155 </button>
5156
5157 <button>
5158 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5159 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5160 <image resource="grid_more"/>
5161 <action function="set">tw_gui_pattern_grid_size=5</action>
5162 </button>
5163
5164 <button>
5165 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5166 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5167 <image resource="grid_more"/>
5168 <action function="set">tw_gui_pattern_grid_size=6</action>
5169 </button>
5170
5171 <button>
5172 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5173 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5174 <image resource="grid_more"/>
5175 <action function="set">tw_gui_pattern_grid_size=6</action>
5176 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005177 </page>
5178
5179 <page name="trydecrypt">
5180 <template name="page"/>
5181
5182 <template name="statusbar"/>
5183
5184 <text style="text_m">
5185 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005186 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005187 </text>
5188
5189 <template name="console"/>
5190
5191 <template name="progress_bar"/>
5192
5193 <action>
5194 <action function="decrypt"/>
5195 </action>
5196
5197 <action>
5198 <conditions>
5199 <condition var1="tw_operation_state" var2="1"/>
5200 <condition var1="tw_operation_status" op="!=" var2="0"/>
5201 </conditions>
5202 <actions>
5203 <action function="set">tw_password_fail=1</action>
5204 <action function="page">decrypt</action>
5205 </actions>
5206 </action>
5207
5208 <action>
5209 <conditions>
5210 <condition var1="tw_operation_state" var2="1"/>
5211 <condition var1="tw_operation_status" op="=" var2="0"/>
5212 </conditions>
5213 <actions>
5214 <action function="set">tw_page_done=1</action>
5215 <action function="page">main</action>
5216 </actions>
5217 </action>
5218 </page>
5219
z31s1g28f0a922015-11-07 18:50:22 +01005220 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005221 <terminal>
5222 <condition var1="tw_hide_kb" var2="0"/>
5223 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5224 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005225
z31s1g56189522016-01-13 19:12:40 +01005226 <terminal>
5227 <condition var1="tw_hide_kb" var2="1"/>
5228 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5229 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005230
z31s1g56189522016-01-13 19:12:40 +01005231 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005232
5233 <template name="keyboardtemplate"/>
5234
z31s1g608d7ff2016-01-18 19:47:25 +01005235 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005236 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005237 </fill>
z31s1g56189522016-01-13 19:12:40 +01005238
z31s1g608d7ff2016-01-18 19:47:25 +01005239 <button>
z31s1g56189522016-01-13 19:12:40 +01005240 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5241 <image resource="back" />
5242 <condition var1="tw_busy" var2="0" />
5243 <actions>
5244 <action function="set">tw_hide_kb=0</action>
5245 <action function="key">back</action>
5246 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005247 </button>
z31s1g56189522016-01-13 19:12:40 +01005248
z31s1g608d7ff2016-01-18 19:47:25 +01005249 <button>
z31s1g56189522016-01-13 19:12:40 +01005250 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5251 <image resource="home" />
5252 <condition var1="tw_busy" var2="0" />
5253 <actions>
5254 <action function="set">tw_hide_kb=0</action>
5255 <action function="key">home</action>
5256 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005257 </button>
z31s1g56189522016-01-13 19:12:40 +01005258
z31s1g608d7ff2016-01-18 19:47:25 +01005259 <button>
z31s1g56189522016-01-13 19:12:40 +01005260 <condition var1="tw_hide_kb" var2="0"/>
5261 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5262 <image resource="kb_hide" />
5263 <condition var1="tw_busy" var2="0" />
5264 <actions>
5265 <action function="set">tw_hide_kb=1</action>
5266 <action function="page">terminalcommand</action>
5267 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005268 </button>
z31s1g56189522016-01-13 19:12:40 +01005269
z31s1g608d7ff2016-01-18 19:47:25 +01005270 <button>
z31s1g56189522016-01-13 19:12:40 +01005271 <condition var1="tw_hide_kb" var2="1"/>
5272 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5273 <image resource="kb_show" />
5274 <condition var1="tw_busy" var2="0" />
5275 <actions>
5276 <action function="set">tw_hide_kb=0</action>
5277 <action function="page">terminalcommand</action>
5278 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005279 </button>
z31s1g56189522016-01-13 19:12:40 +01005280
z31s1g28f0a922015-11-07 18:50:22 +01005281 <action>
5282 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005283 <actions>
5284 <action function="set">tw_hide_kb=0</action>
5285 <action function="page">main</action>
5286 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005287 </action>
5288
5289 <action>
5290 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005291 <actions>
5292 <action function="set">tw_hide_kb=0</action>
5293 <action function="page">advanced</action>
5294 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005295 </action>
z31s1g56189522016-01-13 19:12:40 +01005296
z31s1g608d7ff2016-01-18 19:47:25 +01005297 <action>
z31s1g56189522016-01-13 19:12:40 +01005298 <touch key="power+voldown" />
5299 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005300 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005301 </page>
5302
5303 <page name="sideload">
5304 <template name="page"/>
5305
5306 <template name="statusbar"/>
5307
5308 <text style="text_m">
5309 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005310 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005311 </text>
5312
5313 <text style="text_m_accent">
5314 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005315 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005316 </text>
5317
5318 <checkbox>
5319 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005320 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005321 <data variable="tw_wipe_dalvik"/>
5322 </checkbox>
5323
5324 <checkbox>
5325 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005326 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005327 <data variable="tw_wipe_cache"/>
5328 </checkbox>
5329
5330 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005331 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005332 <actions>
5333 <action function="set">tw_back=install_type</action>
5334 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005335 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5336 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5337 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005338 <action function="set">tw_has_cancel=1</action>
5339 <action function="set">tw_show_reboot=1</action>
5340 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5341 <action function="page">action_page</action>
5342 </actions>
5343 </slider>
5344
5345 <action>
5346 <touch key="home"/>
5347 <action function="page">main</action>
5348 </action>
5349
5350 <action>
5351 <touch key="back"/>
5352 <action function="page">install_type</action>
5353 </action>
5354 </page>
5355
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005356 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005357 <template name="page"/>
5358
5359 <template name="statusbar"/>
5360
5361 <text style="text_m">
5362 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005363 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005364 </text>
5365
5366 <text style="text_m_accent">
5367 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005368 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005369 </text>
5370
z31s1g28f0a922015-11-07 18:50:22 +01005371 <text style="text_m_fail">
5372 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005373 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005374 </text>
5375
5376 <text style="text_m_fail">
5377 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005378 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005379 </text>
5380
5381 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005382 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005383 <actions>
5384 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005385 <action function="set">tw_action=fixcontexts</action>
5386 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5387 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005388 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005389 <action function="set">tw_show_reboot=1</action>
5390 <action function="page">action_page</action>
5391 </actions>
5392 </slider>
5393
5394 <action>
5395 <touch key="home"/>
5396 <action function="page">main</action>
5397 </action>
5398
5399 <action>
5400 <touch key="back"/>
5401 <action function="page">advanced</action>
5402 </action>
5403 </page>
5404
5405 <page name="installsu">
5406 <template name="page"/>
5407
5408 <template name="statusbar"/>
5409
5410 <text style="text_m">
5411 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005412 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005413 </text>
5414
5415 <text style="text_m_accent">
5416 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005417 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005418 </text>
5419
5420 <text style="text_m">
5421 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005422 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005423 </text>
5424
5425 <text style="text_m">
5426 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005427 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005428 </text>
5429
5430 <button style="main_button_full_width">
5431 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005432 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005433 <action function="set">tw_page_done=1</action>
5434 </button>
5435
5436 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005437 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005438 <actions>
5439 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005440 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005441 <action function="set">tw_action_text2=</action>
5442 <action function="page">singleaction_page</action>
5443 </actions>
5444 </slider>
5445 </page>
5446
5447 <page name="slideout">
5448 <fill color="%background_color%">
5449 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5450 </fill>
5451
5452 <console>
5453 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5454 </console>
5455
5456 <fill color="%fileselector_linecolor%">
5457 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5458 </fill>
5459
5460 <fill color="%fileselector_linecolor%">
5461 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5462 </fill>
5463
5464 <button>
5465 <fill color="%transparent%"/>
5466 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5467 <action function="overlay"/>
5468 </button>
5469
5470 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005471 <touch key="power"/>
5472 <action function="togglebacklight"/>
5473 </action>
5474
5475 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005476 <touch key="power+voldown"/>
5477 <action function="screenshot"/>
5478 </action>
5479 </page>
5480
5481 <page name="select_storage">
5482 <template name="page"/>
5483
5484 <template name="statusbar"/>
5485
5486 <text style="text_m">
5487 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5488 <text>%tw_storagetext%</text>
5489 </text>
5490
5491 <partitionlist style="partitionlist_headerless_rb">
5492 <data name="tw_storage_path"/>
5493 <listtype name="storage"/>
5494 </partitionlist>
5495
5496 <button>
5497 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5498 <highlight color="%highlight_color%"/>
5499 <image resource="q_btn_refresh"/>
5500 <actions>
5501 <action function="refreshsizes"/>
5502 <action function="page">select_storage</action>
5503 </actions>
5504 </button>
5505
5506 <button>
5507 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5508 <highlight color="%highlight_color%"/>
5509 <image resource="q_btn_accept"/>
5510 <actions>
5511 <action function="set">tw_clear_destination=%tw_back%</action>
5512 <action function="page">clear_vars</action>
5513 </actions>
5514 </button>
5515
5516 <action>
5517 <touch key="power+voldown"/>
5518 <action function="screenshot"/>
5519 </action>
5520 </page>
5521 </pages>
5522</recovery>