blob: f1984091f72067570bcd5d7e6969e703b3635e23 [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%"/>
127 </style>
128
129 <style name="partitionlist">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
133 <icon selected="checkbox_true" unselected="checkbox_false"/>
134 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 </style>
138
139 <style name="partitionlist_summary">
140 <highlight color="%fileselector_highlight_color%"/>
141 <background color="%background_color%"/>
142 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
143 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
144 </style>
145
146 <style name="partitionlist_headerless_rb">
147 <highlight color="%fileselector_highlight_color%"/>
148 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
149 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
150 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
151 <icon selected="radio_true" unselected="radio_false"/>
152 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
153 <background color="%background_color%"/>
154 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
155 </style>
156
157 <style name="partitionlist_headerless_cb">
158 <highlight color="%fileselector_highlight_color%"/>
159 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="checkbox_true" unselected="checkbox_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
168 <style name="slider">
169 <placement x="%center_x%" y="%slider_y%"/>
170 <font resource="font_l" color="%text_color%"/>
171 <resource base="slider" used="slider_used" touch="slider_touch"/>
172 </style>
173
174 <style name="slidervalue">
175 <resource handle="handle"/>
176 <font resource="font_m" color="%text_color%"/>
177 <colors line="%fileselector_linecolor%"/>
178 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
179 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100180
181 <style name="patternpassword">
182 <size name="tw_gui_pattern_grid_size" default="3"/>
183 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100184 </styles>
185
186 <pages>
187 <page name="main">
188 <action>
189 <actions>
190 <action function="set">tw_clear_destination=main2</action>
191 <action function="page">clear_vars</action>
192 </actions>
193 </action>
194 </page>
195
196 <page name="main2">
197 <template name="page"/>
198
199 <button style="main_button">
200 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500201 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100202 <action function="page">install_type</action>
203 </button>
204
205 <button style="main_button">
206 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 <action function="page">wipe_type1</action>
209 </button>
210
211 <button style="main_button">
212 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500213 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100214 <actions>
215 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500216 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100217 </actions>
218 </button>
219
220 <button style="main_button">
221 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">restore</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231
232 <button>
233 <placement x="%btn4_col4_x%" y="%row11_y%"/>
234 <highlight color="%highlight_color%"/>
235 <image resource="q_btn_arrow_right"/>
236 <action function="page">main3</action>
237 </button>
238 </page>
239
240 <page name="main3">
241 <template name="page"/>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">filemanagerlist</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <actions>
265 <action function="set">tw_back=main3</action>
266 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500267 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
268 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
269 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
270 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100271 <action function="page">confirm_action</action>
272 </actions>
273 </button>
274
275 <button style="main_button">
276 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <action function="page">advanced</action>
279 </button>
280
281 <button>
282 <placement x="%col1_x_left%" y="%row11_y%"/>
283 <highlight color="%highlight_color%"/>
284 <image resource="q_btn_arrow_left"/>
285 <action function="page">main2</action>
286 </button>
287
288 <action>
289 <touch key="back"/>
290 <action function="page">main2</action>
291 </action>
292
293 <action>
294 <touch key="home"/>
295 <action function="page">main</action>
296 </action>
297 </page>
298
299 <page name="install_type">
300 <template name="page"/>
301
302 <template name="statusbar"/>
303
304 <text style="text_m">
305 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500306 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </text>
308
309 <button style="main_button_full_width">
310 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <actions>
313 <action function="queueclear"/>
314 <action function="set">tw_selectimage=0</action>
315 <action function="page">install</action>
316 </actions>
317 </button>
318
319 <button style="main_button_full_width">
320 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="queueclear"/>
324 <action function="set">tw_selectimage=1</action>
325 <action function="page">install</action>
326 </actions>
327 </button>
328
329 <button style="main_button_full_width">
330 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <action function="page">sideload</action>
333 </button>
334
335 <action>
336 <touch key="home"/>
337 <action function="page">main</action>
338 </action>
339
340 <action>
341 <touch key="back"/>
342 <action function="page">main</action>
343 </action>
344 </page>
345
346 <page name="install">
347 <template name="page"/>
348
349 <template name="statusbar"/>
350
351 <text style="text_m">
352 <condition var1="tw_selectimage" var2="0"/>
353 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <condition var1="tw_selectimage" var2="1"/>
359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <fileselector>
364 <condition var1="tw_selectimage" var2="0"/>
365 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
366 <text>%tw_zip_location%</text>
367 <filter extn=".zip" folders="1" files="1"/>
368 <path name="tw_zip_location" default="/sdcard"/>
369 <data name="tw_filename"/>
370 <selection name="tw_file"/>
371 </fileselector>
372
373 <fileselector>
374 <condition var1="tw_selectimage" var2="1"/>
375 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
376 <text>%tw_zip_location%</text>
377 <filter extn=".img" folders="1" files="1"/>
378 <path name="tw_zip_location" default="/sdcard"/>
379 <data name="tw_filename"/>
380 <selection name="tw_file"/>
381 </fileselector>
382
383 <button>
384 <placement x="%btn4_col4_x%" y="%row11_y%"/>
385 <highlight color="%highlight_color%"/>
386 <image resource="q_btn_storage"/>
387 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100389 <action function="set">tw_back=install</action>
390 <action function="page">select_storage</action>
391 </actions>
392 </button>
393
394 <action>
395 <conditions>
396 <condition var1="tw_selectimage" var2="0"/>
397 <condition var1="tw_filename" op="modified"/>
398 </conditions>
399 <actions>
400 <action function="queuezip"/>
401 <action function="page">flash_queue</action>
402 </actions>
403 </action>
404
405 <action>
406 <conditions>
407 <condition var1="tw_selectimage" var2="1"/>
408 <condition var1="tw_filename" op="modified"/>
409 </conditions>
410 <action function="page">flashimage_type</action>
411 </action>
412
413 <action>
414 <touch key="back"/>
415 <action function="page">install_type</action>
416 </action>
417
418 <action>
419 <touch key="home"/>
420 <action function="page">main</action>
421 </action>
422 </page>
423
424 <page name="flash_queue">
425 <template name="page"/>
426
427 <template name="statusbar"/>
428
429 <text style="text_m">
430 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500431 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100432 </text>
433
434 <text style="text_m_accent">
435 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500436 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100437 </text>
438
439 <text style="text_m">
440 <placement x="%indent%" y="%row2_y%"/>
441 <text>%tw_file%</text>
442 </text>
443
444 <text style="text_m_accent">
445 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500446 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100447 </text>
448
449 <text style="text_m">
450 <placement x="%indent%" y="%row5_y%"/>
451 <text>%tw_zip_location%</text>
452 </text>
453
454 <text style="text_m">
455 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500456 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100457 </text>
458
459 <button>
460 <placement x="%col1_x_left%" y="%row11_y%"/>
461 <highlight color="%highlight_color%"/>
462 <image resource="q_btn_arrow_left"/>
463 <actions>
464 <action function="queueclear"/>
465 <action function="page">install</action>
466 </actions>
467 </button>
468
469 <button>
470 <placement x="%btn4_col2_x%" y="%row11_y%"/>
471 <highlight color="%highlight_color%"/>
472 <image resource="q_btn_addzip"/>
473 <action function="page">install</action>
474 </button>
475
476 <button>
477 <placement x="%btn4_col3_x%" y="%row11_y%"/>
478 <highlight color="%highlight_color%"/>
479 <image resource="q_btn_accept"/>
480 <action function="page">flash_confirm</action>
481 </button>
482
483 <button>
484 <placement x="%btn4_col4_x%" y="%row11_y%"/>
485 <highlight color="%highlight_color%"/>
486 <image resource="q_btn_arrow_right"/>
487 <action function="page">flash_options</action>
488 </button>
489
490 <action>
491 <touch key="back"/>
492 <actions>
493 <action function="queueclear"/>
494 <action function="page">install</action>
495 </actions>
496 </action>
497
498 <action>
499 <touch key="home"/>
500 <action function="page">main</action>
501 </action>
502 </page>
503
504 <page name="flash_options">
505 <template name="page"/>
506
507 <template name="statusbar"/>
508
509 <text style="text_m">
510 <condition var1="tw_selectimage" var2="0"/>
511 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100513 </text>
514
515 <checkbox>
516 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 <data variable="tw_signed_zip_verify"/>
519 </checkbox>
520
521 <checkbox>
522 <condition var1="tw_has_injecttwrp" var2="1"/>
523 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 <data variable="tw_inject_after_zip"/>
526 </checkbox>
527
bigbiffa869fc72016-03-01 19:40:36 -0500528 <checkbox>
Matt Mower908dd252016-05-25 02:26:50 -0500529 <placement x="%indent%" y="%row4_y%" />
bigbiffa869fc72016-03-01 19:40:36 -0500530 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower908dd252016-05-25 02:26:50 -0500531 <data variable="tw_install_reboot" />
bigbiffa869fc72016-03-01 19:40:36 -0500532 </checkbox>
533
z31s1g28f0a922015-11-07 18:50:22 +0100534 <button>
535 <placement x="%col1_x_left%" y="%row11_y%"/>
536 <highlight color="%highlight_color%"/>
537 <image resource="q_btn_arrow_left"/>
538 <action function="page">flash_queue</action>
539 </button>
540
541 <button>
542 <placement x="%btn4_col4_x%" y="%row11_y%"/>
543 <highlight color="%highlight_color%"/>
544 <image resource="q_btn_accept_transp"/>
545 <action function="page">flash_confirm</action>
546 </button>
547
548 <action>
549 <touch key="back"/>
550 <action function="page">flash_queue</action>
551 </action>
552
553 <action>
554 <touch key="home"/>
555 <action function="page">main</action>
556 </action>
557 </page>
558
559 <page name="flash_confirm">
560 <template name="page"/>
561
562 <template name="statusbar"/>
563
564 <text style="text_m">
565 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500566 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100567 </text>
568
569 <text style="text_m_accent">
570 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 </text>
573
574 <text style="text_m">
575 <placement x="%indent%" y="%row2_y%"/>
576 <text>%tw_file%</text>
577 </text>
578
579 <button>
580 <fill color="%transparent%"/>
581 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
582 <action function="page">flash_queue</action>
583 </button>
584
585 <text style="text_m_accent">
586 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500587 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100588 </text>
589
590 <text style="text_m">
591 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500592 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </text>
594
595 <button>
596 <fill color="%transparent%"/>
597 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
598 <action function="page">flash_queue</action>
599 </button>
600
601 <listbox style="listbox_options">
602 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500603 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100604 <data variable="tw_signed_zip_verify"/>
605 </listitem>
606 </listbox>
607
608 <text style="text_m_accent">
609 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500610 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100611 </text>
612
613 <text style="text_m">
614 <condition var1="tw_has_injecttwrp" var2="1"/>
615 <condition var1="tw_inject_after_zip" var2="1"/>
616 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <button>
621 <fill color="%transparent%"/>
622 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
623 <action function="page">flash_options</action>
624 </button>
625
626 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 <action function="flash">flash_zip</action>
629 </slider>
630
631 <action>
632 <touch key="back"/>
633 <actions>
634 <action function="cancelzip"/>
635 <action function="page">install</action>
636 </actions>
637 </action>
638
639 <action>
640 <touch key="home"/>
641 <action function="page">main</action>
642 </action>
643 </page>
644
645 <page name="flash_zip">
646 <template name="page"/>
647
648 <template name="statusbar"/>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600652 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100653 </text>
654
655 <template name="console"/>
656
657 <template name="progress_bar"/>
658
659 <action>
660 <condition var1="tw_operation_state" var2="1"/>
661 <action function="page">flash_done</action>
662 </action>
663 </page>
664
665 <page name="flash_done">
666 <template name="page"/>
667
668 <template name="statusbar"/>
669
670 <text style="text_m_fail">
671 <condition var1="tw_operation_status" op="!=" var2="0"/>
672 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 </text>
675
676 <text style="text_m">
677 <condition var1="tw_operation_status" var2="0"/>
678 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100680 </text>
681
682 <template name="console"/>
683
684 <button style="main_button_half_height">
685 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500686 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 <actions>
688 <action function="set">tw_back=flash_done</action>
689 <action function="set">tw_action=wipe</action>
690 <action function="set">tw_action_param=/cache</action>
691 <action function="set">tw_has_action2=1</action>
692 <action function="set">tw_action2=wipe</action>
693 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
695 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
696 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
697 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100698 <action function="page">confirm_action</action>
699 </actions>
700 </button>
701
702 <button style="main_button_half_height">
703 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500704 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100705 <actions>
706 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500707 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100708 </actions>
709 </button>
710
711 <action>
712 <touch key="back"/>
713 <actions>
714 <action function="set">tw_clear_destination=install_type</action>
715 <action function="page">clear_vars</action>
716 </actions>
717 </action>
718
719 <action>
720 <touch key="home"/>
721 <actions>
722 <action function="set">tw_clear_destination=main2</action>
723 <action function="page">clear_vars</action>
724 </actions>
725 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500726
727 <action>
728 <conditions>
729 <condition var1="tw_install_reboot" var2="1"/>
730 <condition var1="tw_operation_status" var2="0"/>
731 <condition var1="tw_reboot_system" var2="1"/>
732 </conditions>
733 <actions>
734 <action function="set">tw_sleep=%tw_sleep_total%</action>
735 <action function="page">flash_sleep_and_reboot</action>
736 </actions>
737 </action>
738 </page>
739
740 <page name="flash_sleep_and_reboot">
741 <template name="page"/>
742
743 <template name="statusbar"/>
744
745 <text style="text_m">
746 <placement x="%col1_x_left%" y="%row1_header_y%"/>
747 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
748 </text>
749
750 <template name="console"/>
751
752 <template name="progress_bar"/>
753
754 <button style="main_button_half_height">
755 <condition var1="tw_sleep" op="&gt;" var2="0"/>
756 <placement x="%col1_x_right%" y="%row13_y%"/>
757 <text>{@cancel_btn=Cancel}</text>
758 <actions>
759 <action function="set">tw_install_reboot=0</action>
760 <action function="page">flash_done</action>
761 </actions>
762 </button>
763
764 <action>
765 <conditions>
766 <condition var1="tw_sleep" var2="tw_sleep_total"/>
767 <condition var1="tw_install_reboot" var2="1"/>
768 </conditions>
769 <action function="sleepcounter">%tw_sleep_total%</action>
770 </action>
771
772 <action>
773 <conditions>
774 <condition var1="tw_sleep" var2="0"/>
775 <condition var1="tw_install_reboot" var2="1"/>
776 </conditions>
777 <actions>
778 <action function="sleep">50000</action>
779 <action function="set">tw_back=main2</action>
780 <action function="page">reboot_system_routine</action>
781 </actions>
782 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100783 </page>
784
785 <page name="flashimage_type">
786 <template name="page"/>
787
788 <template name="statusbar"/>
789
790 <text style="text_m">
791 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600792 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100793 </text>
794
795 <partitionlist style="partitionlist_headerless_rb">
796 <data name="tw_flash_partition"/>
797 <listtype name="flashimg"/>
798 </partitionlist>
799
800 <button>
801 <placement x="%col1_x_left%" y="%row11_y%"/>
802 <highlight color="%highlight_color%"/>
803 <image resource="q_btn_arrow_left"/>
804 <action function="page">install</action>
805 </button>
806
807 <button>
808 <placement x="%btn4_col4_x%" y="%row11_y%"/>
809 <highlight color="%highlight_color%"/>
810 <image resource="q_btn_accept_transp"/>
811 <action function="page">flashimage_confirm</action>
812 </button>
813
814 <action>
815 <touch key="back"/>
816 <action function="page">install</action>
817 </action>
818
819 <action>
820 <touch key="home"/>
821 <action function="page">main</action>
822 </action>
823 </page>
824
825 <page name="flashimage_confirm">
826 <template name="page"/>
827
828 <template name="statusbar"/>
829
830 <text style="text_m">
831 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500832 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100833 </text>
834
835 <text style="text_m_accent">
836 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500837 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100838 </text>
839
840 <text style="text_m">
841 <placement x="%indent%" y="%row2_y%"/>
842 <text>%tw_file%</text>
843 </text>
844
845 <button>
846 <fill color="%transparent%"/>
847 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
848 <action function="page">install</action>
849 </button>
850
851 <text style="text_m_accent">
852 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500853 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100854 </text>
855
856 <text style="text_m">
857 <placement x="%indent%" y="%row5_y%"/>
858 <text>%tw_flash_partition%</text>
859 </text>
860
861 <button>
862 <fill color="%transparent%"/>
863 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
864 <action function="page">flashimage_type</action>
865 </button>
866
867 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500868 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100869 <actions>
870 <action function="set">tw_back=flashimage_confirm</action>
871 <action function="set">tw_action=flashimage</action>
872 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500873 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100874 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500875 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100876 <action function="page">action_page</action>
877 </actions>
878 <action function="flashimage"/>
879 </slider>
880
881 <action>
882 <touch key="back"/>
883 <actions>
884 <action function="set">tw_clear_destination=install</action>
885 <action function="page">clear_vars</action>
886 </actions>
887 </action>
888
889 <action>
890 <touch key="home"/>
891 <actions>
892 <action function="set">tw_clear_destination=main2</action>
893 <action function="page">clear_vars</action>
894 </actions>
895 </action>
896 </page>
897
898 <page name="clear_vars">
899 <action>
900 <action function="set">tw_operation_state=0</action>
901 <action function="set">tw_text1=</action>
902 <action function="set">tw_text2=</action>
903 <action function="set">tw_text3=</action>
904 <action function="set">tw_text4=</action>
905 <action function="set">tw_action_text1=</action>
906 <action function="set">tw_action_text2=</action>
907 <action function="set">tw_action_param=</action>
908 <action function="set">tw_has_action2=0</action>
909 <action function="set">tw_action2=</action>
910 <action function="set">tw_action2_param=</action>
911 <action function="set">tw_has_cancel=0</action>
912 <action function="set">tw_cancel_action=</action>
913 <action function="set">tw_cancel_param=</action>
914 <action function="set">tw_show_exclamation=0</action>
915 <action function="set">tw_show_reboot=0</action>
916 <action function="page">%tw_clear_destination%</action>
917 </action>
918 </page>
919
Matt Mower908dd252016-05-25 02:26:50 -0500920 <page name="reboot_system_routine">
921 <action>
922 <action function="set">tw_back=main2</action>
923 <action function="set">tw_action=reboot</action>
924 <action function="set">tw_action_param=system</action>
925 <action function="set">tw_has_action2=0</action>
926 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
927 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
928 <action function="set">tw_text3=</action>
929 <action function="set">tw_text4=</action>
930 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
931 <action function="set">tw_action_text2=</action>
932 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
933 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
934 <action function="page">rebootcheck</action>
935 </action>
936 </page>
937
z31s1g28f0a922015-11-07 18:50:22 +0100938 <page name="confirm_action">
939 <template name="page"/>
940
941 <template name="statusbar"/>
942
943 <text style="text_m">
944 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500945 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100946 </text>
947
948 <text style="text_m_accent">
949 <placement x="%center_x%" y="%row2_y%" placement="5"/>
950 <text>%tw_text1%</text>
951 </text>
952
953 <text style="text_m_accent">
954 <placement x="%center_x%" y="%row3_y%" placement="5"/>
955 <text>%tw_text2%</text>
956 </text>
957
958 <text style="text_m">
959 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
960 <placement x="%center_x%" y="%row5_y%" placement="5"/>
961 <text>%tw_text3%</text>
962 </text>
963
964 <text style="text_m">
965 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
966 <placement x="%center_x%" y="%row6_y%" placement="5"/>
967 <text>%tw_text4%</text>
968 </text>
969
970 <text style="text_m_fail">
971 <condition var1="tw_action" var2="changefilesystem"/>
972 <placement x="%center_x%" y="%row5_y%" placement="5"/>
973 <text>%tw_text3%</text>
974 </text>
975
976 <text style="text_m_fail">
977 <condition var1="tw_action" var2="changefilesystem"/>
978 <placement x="%center_x%" y="%row6_y%" placement="5"/>
979 <text>%tw_text4%</text>
980 </text>
981
982 <text style="text_m">
983 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500984 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100985 </text>
986
987 <slider>
988 <text>%tw_slider_text%</text>
989 <action function="page">action_page</action>
990 </slider>
991
992 <action>
993 <touch key="back"/>
994 <actions>
995 <action function="set">tw_clear_destination=%tw_back%</action>
996 <action function="page">clear_vars</action>
997 </actions>
998 </action>
999
1000 <action>
1001 <touch key="home"/>
1002 <action function="page">main</action>
1003 </action>
1004 </page>
1005
1006 <page name="action_page">
1007 <template name="page"/>
1008
1009 <template name="statusbar"/>
1010
1011 <text style="text_m">
1012 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1013 <text>%tw_action_text1% %tw_action_text2%</text>
1014 </text>
1015
1016 <template name="console"/>
1017
1018 <template name="progress_bar"/>
1019
1020 <button style="main_button_half_height">
1021 <condition var1="tw_has_cancel" var2="1"/>
1022 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001023 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001024 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1025 </button>
1026
1027 <action>
1028 <condition var1="tw_operation_state" var2="1"/>
1029 <actions>
1030 <action function="page">action_complete</action>
1031 </actions>
1032 </action>
1033
1034 <action>
1035 <condition var1="tw_has_action2" var2="0"/>
1036 <actions>
1037 <action function="%tw_action%">%tw_action_param%</action>
1038 </actions>
1039 </action>
1040
1041 <action>
1042 <condition var1="tw_has_action2" var2="1"/>
1043 <actions>
1044 <action function="%tw_action%">%tw_action_param%</action>
1045 <action function="%tw_action2%">%tw_action2_param%</action>
1046 </actions>
1047 </action>
1048 </page>
1049
1050 <page name="singleaction_page">
1051 <template name="page"/>
1052
1053 <template name="statusbar"/>
1054
1055 <text style="text_m">
1056 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1057 <text>%tw_action_text1% %tw_action_text2%</text>
1058 </text>
1059
1060 <template name="console"/>
1061
1062 <template name="progress_bar"/>
1063
1064 <action>
1065 <condition var1="tw_operation_state" var2="1"/>
1066 <actions>
1067 <action function="set">tw_page_done=1</action>
1068 </actions>
1069 </action>
1070
1071 <action>
1072 <condition var1="tw_has_action2" var2="0"/>
1073 <actions>
1074 <action function="%tw_action%">%tw_action_param%</action>
1075 </actions>
1076 </action>
1077
1078 <action>
1079 <condition var1="tw_has_action2" var2="1"/>
1080 <actions>
1081 <action function="%tw_action%">%tw_action_param%</action>
1082 <action function="%tw_action2%">%tw_action2_param%</action>
1083 </actions>
1084 </action>
1085 </page>
1086
1087 <page name="action_complete">
1088 <template name="page"/>
1089
1090 <template name="statusbar"/>
1091
1092 <text style="text_m_fail">
1093 <condition var1="tw_operation_status" op="!=" var2="0"/>
1094 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001096 </text>
1097
1098 <text style="text_m">
1099 <condition var1="tw_operation_status" var2="0"/>
1100 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001101 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001102 </text>
1103
1104 <template name="console"/>
1105
1106 <button style="main_button_half_height">
1107 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001108 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001109 <actions>
1110 <action function="set">tw_clear_destination=%tw_back%</action>
1111 <action function="page">clear_vars</action>
1112 </actions>
1113 </button>
1114
1115 <button style="main_button_half_height">
1116 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <actions>
1119 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001120 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001121 </actions>
1122 </button>
1123
1124 <action>
1125 <touch key="home"/>
1126 <actions>
1127 <action function="set">tw_clear_destination=main2</action>
1128 <action function="page">clear_vars</action>
1129 </actions>
1130 </action>
1131
1132 <action>
1133 <touch key="back"/>
1134 <actions>
1135 <action function="set">tw_clear_destination=%tw_back%</action>
1136 <action function="page">clear_vars</action>
1137 </actions>
1138 </action>
1139 </page>
1140
1141 <page name="filecheck">
1142 <action>
1143 <action function="fileexists">%tw_filecheck%</action>
1144 </action>
1145
1146 <action>
1147 <conditions>
1148 <condition var1="tw_operation_state" var2="1"/>
1149 <condition var1="tw_operation_status" var2="0"/>
1150 </conditions>
1151 <actions>
1152 <action function="set">tw_fileexists=1</action>
1153 <action function="page">%tw_existpage%</action>
1154 </actions>
1155 </action>
1156
1157 <action>
1158 <conditions>
1159 <condition var1="tw_operation_state" var2="1"/>
1160 <condition var1="tw_operation_status" var2="1"/>
1161 </conditions>
1162 <actions>
1163 <action function="set">tw_fileexists=0</action>
1164 <action function="page">%tw_notexistpage%</action>
1165 </actions>
1166 </action>
1167 </page>
1168
1169 <page name="rebootcheck">
1170 <action>
1171 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1172 <action function="reboot">%tw_action_param%</action>
1173 </action>
1174
1175 <action>
1176 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1177 <action function="page">confirm_action</action>
1178 </action>
1179 </page>
1180
1181 <page name="wipe_type1">
1182 <template name="page"/>
1183
1184 <template name="statusbar"/>
1185
1186 <text style="text_m">
1187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <button style="main_button_full_width">
1192 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001194 <action function="page">wipe</action>
1195 </button>
1196
1197 <button style="main_button_full_width">
1198 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001199 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001200 <actions>
1201 <action function="set">partitionlisterror=0</action>
1202 <action function="page">advancedwipe</action>
1203 </actions>
1204 </button>
1205
1206 <button>
1207 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1208 <highlight color="%highlight_color%"/>
1209 <image resource="q_btn_arrow_right"/>
1210 <action function="page">wipe_type2</action>
1211 </button>
1212
1213 <action>
1214 <touch key="home"/>
1215 <action function="page">main</action>
1216 </action>
1217
1218 <action>
1219 <touch key="back"/>
1220 <action function="page">main</action>
1221 </action>
1222 </page>
1223
1224 <page name="wipe_type2">
1225 <template name="page"/>
1226
1227 <template name="statusbar"/>
1228
1229 <text style="text_m">
1230 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001232 </text>
1233
1234 <button style="main_button_full_width">
1235 <condition var1="tw_has_data_media" var2="1"/>
1236 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="page">formatdata</action>
1239 </button>
1240
1241 <button style="main_button_full_width">
1242 <conditions>
1243 <condition var1="tw_is_encrypted" var2="1"/>
1244 <condition var1="tw_has_data_media" var2="0"/>
1245 </conditions>
1246 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 <actions>
1249 <action function="set">tw_back=wipe</action>
1250 <action function="set">tw_action=wipe</action>
1251 <action function="set">tw_action_param=DATAMEDIA</action>
1252 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1256 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1257 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001258 <action function="page">confirm_action</action>
1259 </actions>
1260 </button>
1261
1262 <button style="main_button_full_width">
1263 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001265 <action function="set">partitionlisterror=0</action>
1266 <action function="page">partitionoptions_select</action>
1267 </actions>
1268 </button>
1269
1270 <button>
1271 <placement x="%col1_x_left%" y="%row11_y%"/>
1272 <highlight color="%highlight_color%"/>
1273 <image resource="q_btn_arrow_left"/>
1274 <action function="page">wipe_type1</action>
1275 </button>
1276
1277 <action>
1278 <touch key="home"/>
1279 <action function="page">main</action>
1280 </action>
1281
1282 <action>
1283 <touch key="back"/>
1284 <action function="page">main</action>
1285 </action>
1286 </page>
1287
1288 <page name="wipe">
1289 <template name="page"/>
1290
1291 <template name="statusbar"/>
1292
1293 <text style="text_m">
1294 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m_accent">
1299 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m_accent">
1304 <condition var1="tw_has_data_media" var2="1"/>
1305 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m_accent">
1310 <conditions>
1311 <condition var1="tw_has_android_secure" var2="1"/>
1312 <condition var1="fileexists" var2="/and-sec"/>
1313 </conditions>
1314 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <text style="text_m_accent">
1319 <condition var1="tw_has_sdext_partition" var2="1"/>
1320 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m">
1325 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001327 </text>
1328
1329 <text style="text_m">
1330 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 </text>
1333
1334 <text style="text_m">
1335 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001336 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001337 </text>
1338
1339 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <actions>
1342 <action function="set">tw_back=wipe</action>
1343 <action function="set">tw_action=wipe</action>
1344 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1346 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="page">action_page</action>
1348 </actions>
1349 </slider>
1350
1351 <action>
1352 <touch key="back"/>
1353 <action function="page">wipe_type1</action>
1354 </action>
1355
1356 <action>
1357 <touch key="home"/>
1358 <action function="page">main</action>
1359 </action>
1360 </page>
1361
1362 <page name="advancedwipe">
1363 <action>
1364 <action function="set">tw_wipe_list=</action>
1365 </action>
1366
1367 <template name="page"/>
1368
1369 <template name="statusbar"/>
1370
1371 <text style="text_m">
1372 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <partitionlist style="partitionlist_headerless_cb">
1377 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1378 <data name="tw_wipe_list"/>
1379 <listtype name="wipe"/>
1380 </partitionlist>
1381
1382 <fill color="%accent_color%">
1383 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1384 </fill>
1385
1386 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 <actions>
1389 <action function="set">tw_back=advancedwipe</action>
1390 <action function="set">tw_action=wipe</action>
1391 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1393 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1394 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001395 <action function="page">action_page</action>
1396 </actions>
1397 </slider>
1398
1399 <action>
1400 <touch key="home"/>
1401 <action function="page">main</action>
1402 </action>
1403
1404 <action>
1405 <touch key="back"/>
1406 <action function="page">wipe_type1</action>
1407 </action>
1408 </page>
1409
1410 <page name="formatdata">
1411 <template name="page"/>
1412
1413 <template name="statusbar"/>
1414
1415 <text style="text_m">
1416 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001418 </text>
1419
1420 <text style="text_m_fail">
1421 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001422 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001423 </text>
1424
1425 <text style="text_m_fail">
1426 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m">
1431 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <input>
1436 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1437 <text>%tw_confirm_formatdata%</text>
1438 <data name="tw_confirm_formatdata"/>
1439 <restrict minlen="3" maxlen="3" allow="yes"/>
1440 <action function="page">formatdata_confirm</action>
1441 </input>
1442
1443 <fill color="%accent_color%">
1444 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1445 </fill>
1446
1447 <template name="keyboardtemplate"/>
1448
1449 <action>
1450 <touch key="home"/>
1451 <action function="page">main</action>
1452 </action>
1453
1454 <action>
1455 <touch key="back"/>
1456 <action function="page">wipe_type2</action>
1457 </action>
1458 </page>
1459
1460 <page name="formatdata_confirm">
1461 <action>
1462 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1463 <actions>
1464 <action function="set">tw_back=formatdata</action>
1465 <action function="set">tw_action=wipe</action>
1466 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001467 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1468 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001469 <action function="page">action_page</action>
1470 </actions>
1471 </action>
1472
1473 <action>
1474 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1475 <action function="page">formatdata</action>
1476 </action>
1477 </page>
1478
1479 <page name="checkpartitionlist">
1480 <action>
1481 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1482 <actions>
1483 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001484 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001485 <action function="page">partitionoptions</action>
1486 </actions>
1487 </action>
1488
1489 <action>
1490 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1491 <actions>
1492 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <action function="page">partitionoptions_select</action>
1494 </actions>
1495 </action>
1496 </page>
1497
1498 <page name="partitionoptions_select">
1499 <action>
1500 <action function="set">tw_wipe_list=</action>
1501 </action>
1502
1503 <template name="page"/>
1504
1505 <template name="statusbar"/>
1506
1507 <text style="text_m">
1508 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001510 </text>
1511
1512 <partitionlist style="partitionlist_headerless_cb">
1513 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1514 <data name="tw_wipe_list"/>
1515 <listtype name="wipe"/>
1516 </partitionlist>
1517
1518 <fill color="%accent_color%">
1519 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1520 </fill>
1521
z31s1g28f0a922015-11-07 18:50:22 +01001522 <text style="text_m_fail">
1523 <condition var1="partitionlisterror" var2="1"/>
1524 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <button>
1529 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1530 <highlight color="%highlight_color%"/>
1531 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001532 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <action function="page">checkpartitionlist</action>
1534 </actions>
1535 </button>
1536
1537 <action>
1538 <touch key="home"/>
1539 <action function="page">main</action>
1540 </action>
1541
1542 <action>
1543 <touch key="back"/>
1544 <action function="page">wipe_type2</action>
1545 </action>
1546 </page>
1547
1548 <page name="partitionoptions">
1549
1550 <template name="page"/>
1551
1552 <template name="statusbar"/>
1553
1554 <text style="text_m">
1555 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001556 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001557 </text>
1558
1559 <text style="text_m_accent">
1560 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001561 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001562 </text>
1563
1564 <text style="text_m_accent">
1565 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001566 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001567 </text>
1568
1569 <text style="text_m">
1570 <condition var1="tw_partition_is_present" var2="1"/>
1571 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001572 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001573 </text>
1574
1575 <text style="text_m">
1576 <condition var1="tw_partition_is_present" var2="0"/>
1577 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 </text>
1580
1581 <text style="text_m">
1582 <condition var1="tw_partition_removable" var2="1"/>
1583 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 </text>
1586
1587 <text style="text_m">
1588 <condition var1="tw_partition_removable" var2="0"/>
1589 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <text style="text_m">
1594 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <text style="text_m">
1599 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 </text>
1602
1603 <text style="text_m">
1604 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001605 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001606 </text>
1607
1608 <text style="text_m">
1609 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001610 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001611 </text>
1612
1613 <button style="main_button">
1614 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1615 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001616 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001617 <actions>
1618 <action function="set">tw_back=partitionoptions</action>
1619 <action function="set">tw_action=resize</action>
1620 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1621 <action function="set">tw_has_action2=1</action>
1622 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001623 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001626 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1627 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1628 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001629 <action function="page">confirm_action</action>
1630 </actions>
1631 </button>
1632
1633 <button style="main_button">
1634 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1635 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001636 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001637 <actions>
1638 <action function="set">tw_back=partitionoptions</action>
1639 <action function="set">tw_action=repair</action>
1640 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001644 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1645 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1646 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001647 <action function="page">confirm_action</action>
1648 </actions>
1649 </button>
1650
1651 <button>
1652 <placement x="%col1_x_left%" y="%row11_y%"/>
1653 <highlight color="%highlight_color%"/>
1654 <image resource="q_btn_arrow_left"/>
1655 <action function="page">partitionoptions_select</action>
1656 </button>
1657
1658 <button style="main_button">
1659 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 <action function="page">selectfilesystem</action>
1662 </button>
1663
1664 <action>
1665 <touch key="home"/>
1666 <action function="page">main</action>
1667 </action>
1668
1669 <action>
1670 <touch key="back"/>
1671 <action function="page">partitionoptions_select</action>
1672 </action>
1673 </page>
1674
1675 <page name="refreshfilesystem">
1676 <action>
1677 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1678 <actions>
1679 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001680 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001681 <action function="page">selectfilesystem</action>
1682 </actions>
1683 </action>
1684
1685 <action>
1686 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1687 <actions>
1688 <action function="set">partitionlisterror=1</action>
1689 <action function="set">tw_wipe_list=</action>
1690 <action function="page">advancedwipe</action>
1691 </actions>
1692 </action>
1693 </page>
1694
1695 <page name="selectfilesystem">
1696 <template name="page"/>
1697
1698 <template name="statusbar"/>
1699
1700 <text style="text_m">
1701 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001702 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001703 </text>
1704
1705 <button style="main_button">
1706 <condition var1="tw_partition_ext" op="=" var2="1"/>
1707 <placement x="%col1_x_left%" y="%row1_y%"/>
1708 <text>EXT2</text>
1709 <actions>
1710 <action function="set">tw_back=refreshfilesystem</action>
1711 <action function="set">tw_action=changefilesystem</action>
1712 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1713 <action function="set">tw_action_new_file_system=ext2</action>
1714 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1716 <action function="set">tw_text2=EXT2</action>
1717 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1718 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1719 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1720 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1721 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001722 <action function="page">confirm_action</action>
1723 </actions>
1724 </button>
1725
1726 <button style="main_button">
1727 <condition var1="tw_partition_ext" op="=" var2="1"/>
1728 <placement x="%col1_x_left%" y="%row6_y%"/>
1729 <text>EXT3</text>
1730 <actions>
1731 <action function="set">tw_back=refreshfilesystem</action>
1732 <action function="set">tw_action=changefilesystem</action>
1733 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1734 <action function="set">tw_action_new_file_system=ext3</action>
1735 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001736 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1737 <action function="set">tw_text2=EXT3</action>
1738 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1739 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1740 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1741 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1742 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <action function="page">confirm_action</action>
1744 </actions>
1745 </button>
1746
1747 <button style="main_button">
1748 <condition var1="tw_partition_ext" op="=" var2="1"/>
1749 <placement x="%col1_x_left%" y="%row11_y%"/>
1750 <text>EXT4</text>
1751 <actions>
1752 <action function="set">tw_back=refreshfilesystem</action>
1753 <action function="set">tw_action=changefilesystem</action>
1754 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1755 <action function="set">tw_action_new_file_system=ext4</action>
1756 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001757 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1758 <action function="set">tw_text2=EXT4</action>
1759 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1760 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1761 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1762 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1763 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <action function="page">confirm_action</action>
1765 </actions>
1766 </button>
1767
1768 <button style="main_button">
1769 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1770 <placement x="%col1_x_right%" y="%row1_y%"/>
1771 <text>FAT</text>
1772 <actions>
1773 <action function="set">tw_back=refreshfilesystem</action>
1774 <action function="set">tw_action=changefilesystem</action>
1775 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1776 <action function="set">tw_action_new_file_system=vfat</action>
1777 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1779 <action function="set">tw_text2=FAT</action>
1780 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1781 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1782 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1783 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1784 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <action function="page">confirm_action</action>
1786 </actions>
1787 </button>
1788
1789 <button style="main_button">
1790 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1791 <placement x="%col1_x_right%" y="%row6_y%"/>
1792 <text>exFAT</text>
1793 <actions>
1794 <action function="set">tw_back=refreshfilesystem</action>
1795 <action function="set">tw_action=changefilesystem</action>
1796 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1797 <action function="set">tw_action_new_file_system=exfat</action>
1798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001799 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1800 <action function="set">tw_text2=exFAT</action>
1801 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1802 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1803 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1804 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1805 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001806 <action function="page">confirm_action</action>
1807 </actions>
1808 </button>
1809
1810 <button style="main_button">
1811 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1812 <placement x="%col1_x_right%" y="%row11_y%"/>
1813 <text>F2FS</text>
1814 <actions>
1815 <action function="set">tw_back=refreshfilesystem</action>
1816 <action function="set">tw_action=changefilesystem</action>
1817 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1818 <action function="set">tw_action_new_file_system=f2fs</action>
1819 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1821 <action function="set">tw_text2=F2FS</action>
1822 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1823 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1824 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1825 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1826 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">confirm_action</action>
1828 </actions>
1829 </button>
1830
1831 <action>
1832 <touch key="home"/>
1833 <action function="page">main</action>
1834 </action>
1835
1836 <action>
1837 <touch key="back"/>
1838 <action function="page">partitionoptions</action>
1839 </action>
1840 </page>
1841
bigbiffce8f83c2015-12-12 18:30:21 -05001842 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001843 <template name="page"/>
1844
1845 <template name="statusbar"/>
1846
1847 <text style="text_m">
1848 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001850 </text>
1851
1852 <partitionlist style="partitionlist_headerless_rb">
1853 <data name="tw_storage_path"/>
1854 <listtype name="storage"/>
1855 </partitionlist>
1856
1857 <button>
1858 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1859 <highlight color="%highlight_color%"/>
1860 <image resource="q_btn_refresh"/>
1861 <actions>
1862 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001863 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001864 </actions>
1865 </button>
1866
1867 <button>
1868 <condition var1="tw_back" var2="backup_confirm"/>
1869 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1870 <highlight color="%highlight_color%"/>
1871 <image resource="q_btn_accept"/>
1872 <action function="page">backup_confirm</action>
1873 </button>
1874
1875 <button>
1876 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1877 <highlight color="%highlight_color%"/>
1878 <image resource="q_btn_arrow_right"/>
1879 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001880 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001881 <action function="page">backup_selectpartitions</action>
1882 </actions>
1883 </button>
1884
1885 <action>
1886 <touch key="home"/>
1887 <action function="page">main</action>
1888 </action>
1889
1890 <action>
1891 <touch key="back"/>
1892 <action function="page">%tw_back%</action>
1893 </action>
1894
1895 <action>
1896 <touch key="power+voldown"/>
1897 <action function="screenshot"/>
1898 </action>
1899 </page>
1900
1901 <page name="backup_selectpartitions">
1902 <template name="page"/>
1903
1904 <template name="statusbar"/>
1905
1906 <text style="text_m">
1907 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001908 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001909 </text>
1910
1911 <partitionlist style="partitionlist_headerless_cb">
1912 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1913 <data name="tw_backup_list"/>
1914 <listtype name="backup"/>
1915 </partitionlist>
1916
1917 <fill color="%accent_color%">
1918 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1919 </fill>
1920
1921 <button>
1922 <placement x="%col1_x_left%" y="%row11_y%"/>
1923 <highlight color="%highlight_color%"/>
1924 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001925 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001926 </button>
1927
1928 <button>
1929 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1930 <highlight color="%highlight_color%"/>
1931 <image resource="q_btn_refresh"/>
1932 <action function="page">backup_selectpartitions</action>
1933 </button>
1934
1935 <button>
1936 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1937 <highlight color="%highlight_color%"/>
1938 <image resource="q_btn_accept"/>
1939 <action function="page">backup_confirm</action>
1940 </button>
1941
1942 <button>
1943 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1944 <highlight color="%highlight_color%"/>
1945 <image resource="q_btn_arrow_right"/>
1946 <actions>
1947 <action function="set">tw_back=backup_selectpartitions</action>
1948 <action function="page">backup_options</action>
1949 </actions>
1950 </button>
1951
1952 <action>
1953 <touch key="home"/>
1954 <action function="page">main</action>
1955 </action>
1956
1957 <action>
1958 <touch key="back"/>
1959 <action function="page">%tw_back%</action>
1960 </action>
1961
1962 <action>
1963 <touch key="power+voldown"/>
1964 <action function="screenshot"/>
1965 </action>
1966 </page>
1967
1968 <page name="backup_options">
1969 <template name="page"/>
1970
1971 <template name="statusbar"/>
1972
1973 <text style="text_m">
1974 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001975 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001976 </text>
1977
1978 <listbox style="scrolllist">
1979 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001980 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001981 <data variable="tw_use_compression"/>
1982 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001983 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001984 <data variable="tw_skip_md5_generate"/>
1985 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001986 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001987 <data variable="tw_disable_free_space"/>
1988 </listitem>
1989 </listbox>
1990
1991 <button>
1992 <placement x="%col1_x_left%" y="%row11_y%"/>
1993 <highlight color="%highlight_color%"/>
1994 <image resource="q_btn_arrow_left"/>
1995 <action function="page">backup_selectpartitions</action>
1996 </button>
1997
1998 <button>
1999 <conditions>
2000 <condition var1="tw_include_encrypted_backup" var2="1"/>
2001 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002002 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002003 </conditions>
2004 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2005 <highlight color="%highlight_color%"/>
2006 <image resource="q_btn_encryption_dis"/>
2007 <actions>
2008 <action function="set">tw_password_not_match=0</action>
2009 <action function="set">tw_back=backup_options</action>
2010 <action function="page">backupencryption</action>
2011 </actions>
2012 </button>
2013
2014 <button>
2015 <conditions>
2016 <condition var1="tw_include_encrypted_backup" var2="1"/>
2017 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002018 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </conditions>
2020 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2021 <highlight color="%highlight_color%"/>
2022 <image resource="q_btn_encryption_en"/>
2023 <actions>
2024 <action function="set">tw_password_not_match=0</action>
2025 <action function="set">tw_back=backup_options</action>
2026 <action function="page">backupencryption</action>
2027 </actions>
2028 </button>
2029
2030 <button>
2031 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2032 <highlight color="%highlight_color%"/>
2033 <image resource="q_btn_accept_transp"/>
2034 <actions>
2035 <action function="set">tw_back=backup_options</action>
2036 <action function="page">backup_confirm</action>
2037 </actions>
2038 </button>
2039
2040 <action>
2041 <touch key="home"/>
2042 <action function="page">main</action>
2043 </action>
2044
2045 <action>
2046 <touch key="back"/>
2047 <action function="page">%tw_back%</action>
2048 </action>
2049
2050 <action>
2051 <touch key="power+voldown"/>
2052 <action function="screenshot"/>
2053 </action>
2054 </page>
2055
2056 <page name="backup_confirm">
2057 <template name="page"/>
2058
2059 <template name="statusbar"/>
2060
2061 <text style="text_m">
2062 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002063 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002064 </text>
2065
2066 <text style="text_m_accent">
2067 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002068 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002069 </text>
2070
2071 <text style="text_m">
2072 <placement x="%col1_x_left%" y="%row2_y%"/>
2073 <text>%tw_backup_name%</text>
2074 </text>
2075
2076 <fill color="%accent_color%">
2077 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2078 </fill>
2079
2080 <button>
2081 <fill color="%transparent%"/>
2082 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2083 <actions>
2084 <action function="set">tw_back=backup_confirm</action>
2085 <action function="set">tw_fileexists=0</action>
2086 <action function="page">backup_name1</action>
2087 </actions>
2088 </button>
2089
2090 <fill color="%background_color%">
2091 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2092 </fill>
2093
2094 <text style="text_m_accent">
2095 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002096 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002097 </text>
2098
2099 <partitionlist style="partitionlist_summary">
2100 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2101 <data name="tw_backup_list"/>
2102 <listtype name="backup"/>
2103 </partitionlist>
2104
2105 <button>
2106 <fill color="%transparent%"/>
2107 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2108 <actions>
2109 <action function="set">tw_back=backup_confirm</action>
2110 <action function="page">backup_selectpartitions</action>
2111 </actions>
2112 </button>
2113
2114 <text style="text_m_accent">
2115 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002117 </text>
2118
2119 <text style="text_m">
2120 <placement x="%col1_x_right%" y="%row2_y%"/>
2121 <text>%tw_storage_display_name%</text>
2122 </text>
2123
2124 <button>
2125 <fill color="%transparent%"/>
2126 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2127 <actions>
2128 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002129 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002130 </actions>
2131 </button>
2132
2133 <text style="text_m_accent">
2134 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002136 </text>
2137
2138 <text style="text_m">
2139 <conditions>
2140 <condition var1="tw_include_encrypted_backup" var2="1"/>
2141 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002142 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002143 </conditions>
2144 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002145 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </text>
2147
2148 <text style="text_m">
2149 <conditions>
2150 <condition var1="tw_include_encrypted_backup" var2="1"/>
2151 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002152 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002153 </conditions>
2154 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002155 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002156 </text>
2157
2158 <button>
2159 <fill color="%transparent%"/>
2160 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2161 <actions>
2162 <action function="set">tw_back=backup_confirm</action>
2163 <action function="page">backupencryption</action>
2164 </actions>
2165 </button>
2166
2167 <listbox style="listbox_options">
2168 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002170 <data variable="tw_use_compression"/>
2171 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002173 <data variable="tw_skip_md5_generate"/>
2174 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002175 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002176 <data variable="tw_disable_free_space"/>
2177 </listitem>
2178 </listbox>
2179
2180 <text style="text_m_accent">
2181 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002182 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002183 </text>
2184
2185 <button>
2186 <fill color="%transparent%"/>
2187 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2188 <actions>
2189 <action function="set">tw_back=backup_confirm</action>
2190 <action function="page">backup_options</action>
2191 </actions>
2192 </button>
2193
2194 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002195 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002196 <action function="page">backup_run</action>
2197 </slider>
2198
2199 <action>
2200 <touch key="home"/>
2201 <action function="page">main</action>
2202 </action>
2203
2204 <action>
2205 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002206 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002207 </action>
2208 </page>
2209
2210 <page name="backup_name1">
2211 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002213 <action function="generatebackupname"/>
2214 </action>
2215
2216 <action>
2217 <action function="page">backup_name2</action>
2218 </action>
2219 </page>
2220
2221 <page name="backup_name2">
2222 <template name="page"/>
2223
2224 <template name="statusbar"/>
2225
2226 <text style="text_m">
2227 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <text style="text_m_accent">
2232 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002233 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002234 </text>
2235
2236 <input>
2237 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2238 <text>%tw_backup_name%</text>
2239 <data name="tw_backup_name"/>
2240 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2241 <actions>
2242 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2243 <action function="set">tw_existpage=backup_name2</action>
2244 <action function="set">tw_notexistpage=backup_confirm</action>
2245 <action function="page">filecheck</action>
2246 </actions>
2247 </input>
2248
2249 <fill color="%accent_color%">
2250 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2251 </fill>
2252
2253 <fill color="%text_fail_color%">
2254 <condition var1="tw_fileexists" var2="1"/>
2255 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2256 </fill>
2257
2258 <text style="text_m_fail">
2259 <condition var1="tw_fileexists" var2="1"/>
2260 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002261 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002262 </text>
2263
2264 <button style="main_button_half_height">
2265 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002267 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002269 <action function="page">backup_confirm</action>
2270 </actions>
2271 </button>
2272
2273 <button style="main_button_half_height">
2274 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <action function="appenddatetobackupname"/>
2277 </button>
2278
2279 <template name="keyboardtemplate"/>
2280
2281 <action>
2282 <touch key="home"/>
2283 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002284 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002285 <action function="page">main</action>
2286 </actions>
2287 </action>
2288
2289 <action>
2290 <touch key="back"/>
2291 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002293 <action function="page">backup_confirm</action>
2294 </actions>
2295 </action>
2296 </page>
2297
2298 <page name="backupencryption">
2299 <template name="page"/>
2300
2301 <template name="statusbar"/>
2302
2303 <text style="text_m">
2304 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <text style="text_m_accent">
2309 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 </text>
2312
2313 <input>
2314 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2315 <text>%tw_backup_encrypt_display%</text>
2316 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2317 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2318 <action function="page">backupencryption2</action>
2319 </input>
2320
2321 <fill color="%accent_color%">
2322 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2323 </fill>
2324
2325 <fill color="%text_fail_color%">
2326 <condition var1="tw_password_not_match" var2="1"/>
2327 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2328 </fill>
2329
2330 <text style="text_m_fail">
2331 <condition var1="tw_password_not_match" var2="1"/>
2332 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002333 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002334 </text>
2335
2336 <button style="main_button_half_height">
2337 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002338 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002339 <actions>
2340 <action function="set">tw_encrypt_backup=0</action>
2341 <action function="set">tw_backup_password=</action>
2342 <action function="set">tw_backup_password2=</action>
2343 <action function="set">tw_backup_encrypt_display=</action>
2344 <action function="set">tw_backup_encrypt_display2=</action>
2345 <action function="page">%tw_back%</action>
2346 </actions>
2347 </button>
2348
2349 <template name="keyboardtemplate"/>
2350
2351 <action>
2352 <touch key="home"/>
2353 <action function="page">main</action>
2354 </action>
2355
2356 <action>
2357 <touch key="back"/>
2358 <action function="page">%tw_back%</action>
2359 </action>
2360 </page>
2361
2362 <page name="backupencryption2">
2363 <template name="page"/>
2364
2365 <template name="statusbar"/>
2366
2367 <text style="text_m">
2368 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 </text>
2371
2372 <text style="text_m_accent">
2373 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002374 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002375 </text>
2376
2377 <input>
2378 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2379 <text>%tw_backup_encrypt_display2%</text>
2380 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2381 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2382 <action function="page">checkbackuppassword</action>
2383 </input>
2384
2385 <fill color="%accent_color%">
2386 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2387 </fill>
2388
2389 <button style="main_button_half_height">
2390 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 <actions>
2393 <action function="set">tw_encrypt_backup=0</action>
2394 <action function="set">tw_backup_password=</action>
2395 <action function="set">tw_backup_password2=</action>
2396 <action function="set">tw_backup_encrypt_display=</action>
2397 <action function="set">tw_backup_encrypt_display2=</action>
2398 <action function="page">%tw_back%</action>
2399 </actions>
2400 </button>
2401
2402 <template name="keyboardtemplate"/>
2403
2404 <action>
2405 <touch key="home"/>
2406 <action function="page">main</action>
2407 </action>
2408
2409 <action>
2410 <touch key="back"/>
2411 <action function="page">%tw_back%</action>
2412 </action>
2413 </page>
2414
2415 <page name="checkbackuppassword">
2416 <action>
2417 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2418 <actions>
2419 <action function="set">tw_encrypt_backup=1</action>
2420 <action function="page">%tw_back%</action>
2421 </actions>
2422 </action>
2423
2424 <action>
2425 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2426 <actions>
2427 <action function="set">tw_encrypt_backup=0</action>
2428 <action function="set">tw_password_not_match=1</action>
2429 <action function="set">tw_backup_password=</action>
2430 <action function="set">tw_backup_password2=</action>
2431 <action function="set">tw_backup_encrypt_display=</action>
2432 <action function="set">tw_backup_encrypt_display2=</action>
2433 <action function="page">backupencryption</action>
2434 </actions>
2435 </action>
2436 </page>
2437
2438 <page name="backup_run">
2439 <template name="page"/>
2440
2441 <template name="statusbar"/>
2442
2443 <text style="text_m">
2444 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2445 <text>%tw_operation% %tw_partition%</text>
2446 </text>
2447
2448 <template name="console"/>
2449
2450 <template name="progress_bar"/>
2451
2452 <text style="text_m">
2453 <placement x="%indent%" y="%row13a_y%"/>
2454 <text>%tw_file_progress%</text>
2455 </text>
2456
2457 <text style="text_m">
2458 <placement x="%indent%" y="%row14a_y%"/>
2459 <text>%tw_size_progress%</text>
2460 </text>
2461
2462 <button style="main_button_half_height">
2463 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002465 <action function="cancelbackup"/>
2466 </button>
2467
2468 <action>
2469 <action function="nandroid">backup</action>
2470 </action>
2471
2472 <action>
2473 <condition var1="tw_operation_state" var2="1"/>
2474 <condition var1="tw_cancel_backup" var2="0"/>
2475 <actions>
2476 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002477 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002478 <action function="set">tw_show_reboot=1</action>
2479 <action function="page">action_complete</action>
2480 </actions>
2481 </action>
2482
2483 <action>
2484 <condition var1="tw_operation_state" var2="1"/>
2485 <condition var1="tw_cancel_backup" var2="1"/>
2486 <actions>
2487 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002488 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002489 <action function="set">tw_show_reboot=1</action>
2490 <action function="page">action_complete</action>
2491 </actions>
2492 </action>
2493 </page>
2494
2495 <page name="restore">
2496 <template name="page"/>
2497
2498 <template name="statusbar"/>
2499
2500 <text style="text_m">
2501 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 </text>
2504
2505 <fileselector>
2506 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2507 <text>%tw_storage_display_name%</text>
2508 <filter folders="1" files="0" nav="0"/>
2509 <path name="tw_backups_folder"/>
2510 <data name="tw_restore" default=""/>
2511 <selection name="tw_restore_name"/>
2512 </fileselector>
2513
2514 <button>
2515 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2516 <highlight color="%highlight_color%"/>
2517 <image resource="q_btn_storage"/>
2518 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002519 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002520 <action function="set">tw_back=restore</action>
2521 <action function="page">select_storage</action>
2522 </actions>
2523 </button>
2524
2525 <action>
2526 <condition var1="tw_restore" op="modified"/>
2527 <actions>
2528 <action function="readBackup"/>
2529 <action function="set">tw_back=restore</action>
2530 <action function="page">restore_read</action>
2531 </actions>
2532 </action>
2533
2534 <action>
2535 <touch key="home"/>
2536 <action function="page">main</action>
2537 </action>
2538
2539 <action>
2540 <touch key="back"/>
2541 <action function="page">main</action>
2542 </action>
2543 </page>
2544
2545 <page name="restore_read">
2546 <action>
2547 <condition var1="tw_restore_encrypted" var2="1"/>
2548 <actions>
2549 <action function="set">tw_password_fail=0</action>
2550 <action function="page">restore_decrypt</action>
2551 </actions>
2552 </action>
2553
2554 <action>
2555 <condition var1="tw_restore_encrypted" var2="0"/>
2556 <actions>
2557 <action function="page">restore_select</action>
2558 </actions>
2559 </action>
2560 </page>
2561
2562 <page name="restore_decrypt">
2563 <template name="page"/>
2564
2565 <template name="statusbar"/>
2566
2567 <text style="text_m">
2568 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 </text>
2571
2572 <text style="text_m_accent">
2573 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002574 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002575 </text>
2576
2577 <input>
2578 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2579 <text>%tw_restore_display%</text>
2580 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2581 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2582 <action function="page">try_restore_decrypt</action>
2583 </input>
2584
2585 <fill color="%accent_color%">
2586 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2587 </fill>
2588
2589 <fill color="%text_fail_color%">
2590 <condition var1="tw_password_fail" var2="1"/>
2591 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2592 </fill>
2593
2594 <text style="text_m_fail">
2595 <condition var1="tw_password_fail" var2="1"/>
2596 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002597 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002598 </text>
2599
2600 <button style="main_button_half_height">
2601 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002602 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002603 <actions>
2604 <action function="set">tw_page_done=1</action>
2605 <action function="page">restore</action>
2606 </actions>
2607 </button>
2608
2609 <button style="main_button_half_height">
2610 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002611 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002612 <actions>
2613 <action function="set">tw_back=restore</action>
2614 <action function="set">tw_action=cmd</action>
2615 <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 -05002616 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2617 <action function="set">tw_text2=%tw_restore_name%</action>
2618 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2619 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2620 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2621 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002622 <action function="page">confirm_action</action>
2623 </actions>
2624 </button>
2625
2626 <template name="keyboardtemplate"/>
2627
2628 <action>
2629 <touch key="home"/>
2630 <action function="page">main</action>
2631 </action>
2632
2633 <action>
2634 <touch key="back"/>
2635 <action function="page">restore</action>
2636 </action>
2637 </page>
2638
2639 <page name="try_restore_decrypt">
2640 <template name="page"/>
2641
2642 <template name="statusbar"/>
2643
2644 <text style="text_m">
2645 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002646 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002647 </text>
2648
2649 <template name="console"/>
2650
2651 <template name="progress_bar"/>
2652
2653 <action>
2654 <action function="decrypt_backup"/>
2655 </action>
2656
2657 <action>
2658 <conditions>
2659 <condition var1="tw_operation_state" var2="1"/>
2660 <condition var1="tw_operation_status" op="!=" var2="0"/>
2661 </conditions>
2662 <actions>
2663 <action function="set">tw_password_fail=1</action>
2664 <action function="page">restore_decrypt</action>
2665 </actions>
2666 </action>
2667
2668 <action>
2669 <conditions>
2670 <condition var1="tw_operation_state" var2="1"/>
2671 <condition var1="tw_operation_status" op="=" var2="0"/>
2672 </conditions>
2673 <actions>
2674 <action function="set">tw_page_done=1</action>
2675 <action function="page">restore_select</action>
2676 </actions>
2677 </action>
2678 </page>
2679
2680 <page name="restore_select">
2681 <template name="page"/>
2682
2683 <template name="statusbar"/>
2684
2685 <text style="text_m">
2686 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002688 </text>
2689
2690 <partitionlist style="partitionlist_headerless_cb">
2691 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2692 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2693 <listtype name="restore"/>
2694 </partitionlist>
2695
2696 <fill color="%accent_color%">
2697 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2698 </fill>
2699
2700 <button>
2701 <placement x="%col1_x_left%" y="%row11_y%"/>
2702 <highlight color="%highlight_color%"/>
2703 <image resource="q_btn_arrow_left"/>
2704 <action function="page">restore</action>
2705 </button>
2706
2707 <button>
2708 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2709 <highlight color="%highlight_color%"/>
2710 <image resource="q_btn_delete"/>
2711 <actions>
2712 <action function="set">tw_back=restore</action>
2713 <action function="set">tw_action=cmd</action>
2714 <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 -05002715 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002716 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002717 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2718 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2719 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2720 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002721 <action function="page">confirm_action</action>
2722 </actions>
2723 </button>
2724
2725 <button>
2726 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2727 <highlight color="%highlight_color%"/>
2728 <image resource="q_btn_accept"/>
2729 <action function="page">restore_confirm</action>
2730 </button>
2731
2732 <button>
2733 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2734 <highlight color="%highlight_color%"/>
2735 <image resource="q_btn_arrow_right"/>
2736 <actions>
2737 <action function="set">tw_back=restore_select</action>
2738 <action function="page">restore_options</action>
2739 </actions>
2740 </button>
2741
2742 <action>
2743 <touch key="home"/>
2744 <action function="page">main</action>
2745 </action>
2746
2747 <action>
2748 <touch key="back"/>
2749 <action function="page">%tw_back%</action>
2750 </action>
2751 </page>
2752
2753 <page name="restore_options">
2754 <template name="page"/>
2755
2756 <template name="statusbar"/>
2757
2758 <text style="text_m">
2759 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002760 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002761 </text>
2762
2763 <listbox style="scrolllist">
2764 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002765 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002766 <data variable="tw_skip_md5_check"/>
2767 </listitem>
2768 </listbox>
2769
2770 <button>
2771 <placement x="%col1_x_left%" y="%row11_y%"/>
2772 <highlight color="%highlight_color%"/>
2773 <image resource="q_btn_arrow_left"/>
2774 <action function="page">restore_select</action>
2775 </button>
2776
2777 <button>
2778 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2779 <highlight color="%highlight_color%"/>
2780 <image resource="q_btn_accept_transp"/>
2781 <actions>
2782 <action function="set">tw_back=restore_options</action>
2783 <action function="page">restore_confirm</action>
2784 </actions>
2785 </button>
2786
2787 <action>
2788 <touch key="home"/>
2789 <action function="page">main</action>
2790 </action>
2791
2792 <action>
2793 <touch key="back"/>
2794 <action function="page">%tw_back%</action>
2795 </action>
2796
2797 <action>
2798 <touch key="power+voldown"/>
2799 <action function="screenshot"/>
2800 </action>
2801 </page>
2802
2803 <page name="renamebackup">
2804 <template name="page"/>
2805
2806 <template name="statusbar"/>
2807
2808 <text style="text_m">
2809 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002810 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002811 </text>
2812
2813 <text style="text_m_accent">
2814 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002815 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002816 </text>
2817
2818 <input>
2819 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2820 <text>%tw_backup_rename%</text>
2821 <data name="tw_backup_rename"/>
2822 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2823 <actions>
2824 <action function="set">tw_back=restore</action>
2825 <action function="set">tw_action=cmd</action>
2826 <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 -05002827 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2828 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2829 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2830 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2831 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002832 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2833 <action function="set">tw_existpage=renamebackup</action>
2834 <action function="set">tw_notexistpage=confirm_action</action>
2835 <action function="page">filecheck</action>
2836 </actions>
2837 </input>
2838
2839 <fill color="%accent_color%">
2840 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2841 </fill>
2842
2843 <fill color="%text_fail_color%">
2844 <condition var1="tw_fileexists" var2="1"/>
2845 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2846 </fill>
2847
2848 <text style="text_m_fail">
2849 <condition var1="tw_fileexists" var2="1"/>
2850 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002851 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002852 </text>
2853
2854 <button style="main_button_half_height">
2855 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002856 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002857 <action function="page">restore_confirm</action>
2858 </button>
2859
2860 <template name="keyboardtemplate"/>
2861
2862 <action>
2863 <touch key="home"/>
2864 <action function="page">main</action>
2865 </action>
2866
2867 <action>
2868 <touch key="back"/>
2869 <action function="page">restore_confirm</action>
2870 </action>
2871 </page>
2872
2873 <page name="restore_confirm">
2874 <template name="page"/>
2875
2876 <template name="statusbar"/>
2877
2878 <text style="text_m">
2879 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002880 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002881 </text>
2882
2883 <text style="text_m_accent">
2884 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002886 </text>
2887
2888 <text style="text_m">
2889 <placement x="%indent%" y="%row2_y%"/>
2890 <text>%tw_restore_name%</text>
2891 </text>
2892
2893 <fill color="%accent_color%">
2894 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2895 </fill>
2896
2897 <button>
2898 <fill color="%transparent%"/>
2899 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2900 <actions>
2901 <action function="set">tw_back=restore_confirm</action>
2902 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2903 <action function="set">tw_fileexists=0</action>
2904 <action function="page">renamebackup</action>
2905 </actions>
2906 </button>
2907
2908 <text style="text_m_accent">
2909 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002910 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002911 </text>
2912
2913 <partitionlist style="partitionlist_summary">
2914 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2915 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2916 <listtype name="restore"/>
2917 </partitionlist>
2918
2919 <button>
2920 <fill color="%transparent%"/>
2921 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2922 <actions>
2923 <action function="set">tw_back=restore_confirm</action>
2924 <action function="page">restore_select</action>
2925 </actions>
2926 </button>
2927
2928 <listbox style="listbox_options">
2929 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002930 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002931 <data variable="tw_skip_md5_check"/>
2932 </listitem>
2933 </listbox>
2934
2935 <text style="text_m_accent">
2936 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 </text>
2939
2940 <button>
2941 <fill color="%transparent%"/>
2942 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2943 <actions>
2944 <action function="set">tw_back=restore_confirm</action>
2945 <action function="page">restore_options</action>
2946 </actions>
2947 </button>
2948
2949 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 <action function="page">restore_run</action>
2952 </slider>
2953
2954 <action>
2955 <touch key="home"/>
2956 <action function="page">main</action>
2957 </action>
2958
2959 <action>
2960 <touch key="back"/>
2961 <action function="page">restore_options</action>
2962 </action>
2963 </page>
2964
2965 <page name="restore_run">
2966 <template name="page"/>
2967
2968 <template name="statusbar"/>
2969
2970 <text style="text_m">
2971 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2972 <text>%tw_operation% %tw_partition%</text>
2973 </text>
2974
2975 <template name="console"/>
2976
2977 <template name="progress_bar"/>
2978
2979 <text style="text_m">
2980 <placement x="%indent%" y="%row14a_y%"/>
2981 <text>%tw_size_progress%</text>
2982 </text>
2983
2984 <action>
2985 <condition var1="tw_operation_state" var2="1"/>
2986 <actions>
2987 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06002988 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <action function="set">tw_show_reboot=1</action>
2990 <action function="page">action_complete</action>
2991 </actions>
2992 </action>
2993
2994 <action>
2995 <action function="nandroid">restore</action>
2996 </action>
2997 </page>
2998
2999 <page name="mount">
3000 <template name="page"/>
3001
3002 <template name="statusbar"/>
3003
3004 <text style="text_m">
3005 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003007 </text>
3008
3009 <partitionlist style="partitionlist_headerless_cb">
3010 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3011 <listtype name="mount"/>
3012 </partitionlist>
3013
3014 <fill color="%accent_color%">
3015 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3016 </fill>
3017
3018 <button style="checkbox">
3019 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3020 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003021 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003022 <image resource="checkbox_false"/>
3023 <action function="mountsystemtoggle">1</action>
3024 </button>
3025
3026 <button style="checkbox">
3027 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3028 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <image resource="checkbox_true"/>
3031 <actions>
3032 <action function="set">tw_lifetime_writes=2</action>
3033 <action function="page">system_readonly_check</action>
3034 </actions>
3035 </button>
3036
3037 <button style="checkbox">
3038 <conditions>
3039 <condition var1="tw_has_mtp" var2="1"/>
3040 <condition var1="tw_mtp_enabled" var2="0"/>
3041 </conditions>
3042 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3043 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003044 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003045 <action function="startmtp"/>
3046 </button>
3047
3048 <button style="checkbox">
3049 <conditions>
3050 <condition var1="tw_has_mtp" var2="1"/>
3051 <condition var1="tw_mtp_enabled" var2="1"/>
3052 </conditions>
3053 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3054 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 <action function="stopmtp"/>
3057 </button>
3058
3059 <button>
3060 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3061 <highlight color="%highlight_color%"/>
3062 <image resource="q_btn_storage"/>
3063 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003064 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003065 <action function="set">tw_back=mount</action>
3066 <action function="page">select_storage</action>
3067 </actions>
3068 </button>
3069
3070 <button>
3071 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3072 <highlight color="%highlight_color%"/>
3073 <image resource="q_btn_arrow_right"/>
3074 <action function="page">mount_options</action>
3075 </button>
3076
3077 <action>
3078 <touch key="home"/>
3079 <action function="page">main</action>
3080 </action>
3081
3082 <action>
3083 <touch key="back"/>
3084 <action function="page">main</action>
3085 </action>
3086 </page>
3087
3088 <page name="mount_options">
3089 <template name="page"/>
3090
3091 <template name="statusbar"/>
3092
3093 <text style="text_m">
3094 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003096 </text>
3097
3098 <button style="main_button_full_width">
3099 <condition var1="tw_has_usb_storage" var2="1"/>
3100 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003102 <action function="page">usb_mount</action>
3103 </button>
3104
3105 <button style="main_button_full_width">
3106 <conditions>
3107 <condition var1="tw_is_encrypted" var2="1"/>
3108 <condition var1="tw_is_decrypted" var2="0"/>
3109 </conditions>
3110 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <action function="page">decrypt</action>
3113 </button>
3114
3115 <button>
3116 <placement x="%col1_x_left%" y="%row11_y%"/>
3117 <highlight color="%highlight_color%"/>
3118 <image resource="q_btn_arrow_left"/>
3119 <action function="page">mount</action>
3120 </button>
3121
3122 <action>
3123 <touch key="home"/>
3124 <action function="page">main</action>
3125 </action>
3126
3127 <action>
3128 <touch key="back"/>
3129 <action function="page">mount</action>
3130 </action>
3131 </page>
3132
3133 <page name="usb_mount">
3134 <template name="page"/>
3135
3136 <template name="statusbar"/>
3137
3138 <text style="text_m">
3139 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003140 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 </text>
3142
3143 <text style="text_m_accent">
3144 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 </text>
3147
3148 <text style="text_m_fail">
3149 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 </text>
3152
3153 <text style="text_m_fail">
3154 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 </text>
3157
3158 <button style="main_button">
3159 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <action function="page">usb_umount</action>
3162 </button>
3163
3164 <action>
3165 <action function="mount">usb</action>
3166 <action function="set">tw_busy=1</action>
3167 </action>
3168 </page>
3169
3170 <page name="usb_umount">
3171 <action>
3172 <action function="unmount">usb</action>
3173 </action>
3174
3175 <action>
3176 <action function="page">mount_options</action>
3177 <action function="set">tw_busy=0</action>
3178 </action>
3179 </page>
3180
3181 <page name="system_readonly_check">
3182 <action>
3183 <action function="checkpartitionlifetimewrites">/system</action>
3184 </action>
3185
3186 <action>
3187 <condition var1="tw_lifetime_writes" var2="1"/>
3188 <actions>
3189 <action function="mountsystemtoggle">0</action>
3190 <action function="page">mount</action>
3191 </actions>
3192 </action>
3193
3194 <action>
3195 <condition var1="tw_lifetime_writes" var2="0"/>
3196 <actions>
3197 <action function="set">tw_back=mount</action>
3198 <action function="page">system_readonly</action>
3199 </actions>
3200 </action>
3201 </page>
3202
3203 <page name="reboot">
3204 <template name="page"/>
3205
3206 <template name="statusbar"/>
3207
3208 <text style="text_m">
3209 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003210 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 </text>
3212
3213 <button style="main_button">
3214 <condition var1="tw_reboot_system" var2="1"/>
3215 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003217 <actions>
3218 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003219 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </actions>
3221 </button>
3222
3223 <button style="main_button">
3224 <condition var1="tw_reboot_poweroff" var2="1"/>
3225 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003227 <actions>
3228 <action function="set">tw_back=reboot</action>
3229 <action function="set">tw_action=reboot</action>
3230 <action function="set">tw_action_param=poweroff</action>
3231 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3233 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3234 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3235 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3236 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003237 <action function="page">rebootcheck</action>
3238 </actions>
3239 </button>
3240
3241 <button style="main_button">
3242 <condition var1="tw_reboot_recovery" var2="1"/>
3243 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 <actions>
3246 <action function="set">tw_back=reboot</action>
3247 <action function="set">tw_action=reboot</action>
3248 <action function="set">tw_action_param=recovery</action>
3249 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3251 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3252 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3253 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3254 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003255 <action function="page">rebootcheck</action>
3256 </actions>
3257 </button>
3258
3259 <button style="main_button">
3260 <condition var1="tw_reboot_bootloader" var2="1"/>
3261 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 <actions>
3264 <action function="set">tw_back=reboot</action>
3265 <action function="set">tw_action=reboot</action>
3266 <action function="set">tw_action_param=bootloader</action>
3267 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3269 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3270 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3271 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3272 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <action function="page">rebootcheck</action>
3274 </actions>
3275 </button>
3276
3277 <button style="main_button">
3278 <condition var1="tw_download_mode" var2="1"/>
3279 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 <actions>
3282 <action function="set">tw_back=reboot</action>
3283 <action function="set">tw_action=reboot</action>
3284 <action function="set">tw_action_param=download</action>
3285 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3287 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3288 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3289 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3290 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <action function="page">rebootcheck</action>
3292 </actions>
3293 </button>
3294
3295 <action>
3296 <touch key="home"/>
3297 <action function="page">main</action>
3298 </action>
3299
3300 <action>
3301 <touch key="back"/>
3302 <action function="page">main</action>
3303 </action>
3304 </page>
3305
3306 <page name="system_readonly">
3307 <template name="page"/>
3308
3309 <template name="statusbar"/>
3310
3311 <text style="text_m">
3312 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 </text>
3315
3316 <text style="text_m_accent">
3317 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 </text>
3320
3321 <text style="text_m">
3322 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <text style="text_m">
3327 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </text>
3330
3331 <text style="text_m">
3332 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 </text>
3335
3336 <text style="text_m">
3337 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 </text>
3340
3341 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003342 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003343 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003344 </text>
3345
3346 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003347 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </text>
3350
z31s1g608d7ff2016-01-18 19:47:25 +01003351 <button style="main_button_half_height">
3352 <placement x="%col1_x_right%" y="%row8a_y%"/>
3353 <text>{@sel_lang_btn=Select Language}</text>
3354 <action function="page">settings_language</action>
3355 </button>
3356
z31s1g28f0a922015-11-07 18:50:22 +01003357 <checkbox>
3358 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003359 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <data variable="tw_never_show_system_ro_page"/>
3362 </checkbox>
3363
3364 <button style="main_button_half_height">
3365 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <actions>
3368 <action function="mountsystemtoggle">1</action>
3369 <action function="set">tw_page_done=1</action>
3370 <action function="page">%tw_back%</action>
3371 </actions>
3372 </button>
3373
3374 <button style="main_button_half_height">
3375 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 <actions>
3378 <action function="mountsystemtoggle">0</action>
3379 <action function="set">tw_page_done=1</action>
3380 <action function="page">%tw_back%</action>
3381 </actions>
3382 </button>
3383 </page>
3384
3385 <page name="settings">
3386 <template name="page"/>
3387
3388 <template name="statusbar"/>
3389
3390 <text style="text_m">
3391 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003393 </text>
3394
3395 <button style="main_button">
3396 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003398 <action function="page">settings_general</action>
3399 </button>
3400
3401 <button style="main_button">
3402 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003404 <action function="page">settings_timezone</action>
3405 </button>
3406
3407 <button style="main_button">
3408 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 <action function="page">settings_screen</action>
3411 </button>
3412
3413 <button style="main_button">
3414 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003416 <action function="page">settings_vibration</action>
3417 </button>
3418
3419 <button style="main_button">
3420 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 <action function="page">settings_language</action>
3423 </button>
3424
3425 <button>
3426 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3427 <highlight color="%highlight_color%"/>
3428 <image resource="q_btn_reset"/>
3429 <action function="restoredefaultsettings"/>
3430 </button>
3431
3432 <action>
3433 <touch key="home"/>
3434 <action function="page">main</action>
3435 </action>
3436
3437 <action>
3438 <touch key="back"/>
3439 <action function="page">main3</action>
3440 </action>
3441 </page>
3442
3443 <page name="settings_general">
3444 <template name="page"/>
3445
3446 <template name="statusbar"/>
3447
3448 <text style="text_m">
3449 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003451 </text>
3452
3453 <listbox style="scrolllist">
3454 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003456 <data variable="tw_signed_zip_verify"/>
3457 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003458 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3459 <data variable="tw_install_reboot"/>
3460 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003462 <data variable="tw_rm_rf"/>
3463 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003464 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3465 <data variable="tw_disable_free_space"/>
3466 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003468 <data variable="tw_skip_md5_generate"/>
3469 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003470 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003471 <data variable="tw_skip_md5_check"/>
3472 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003474 <data variable="tw_military_time"/>
3475 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003477 <data variable="tw_simulate_actions"/>
3478 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003480 <data variable="tw_simulate_fail"/>
3481 <condition var1="tw_simulate_actions" var2="1"/>
3482 </listitem>
3483 </listbox>
3484
3485 <action>
3486 <touch key="home"/>
3487 <action function="page">main</action>
3488 </action>
3489
3490 <action>
3491 <touch key="back"/>
3492 <action function="page">settings</action>
3493 </action>
3494 </page>
3495
3496 <page name="settings_timezone">
3497 <template name="page"/>
3498
3499 <template name="statusbar"/>
3500
3501 <text style="text_m">
3502 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 </text>
3505
3506 <text color="%text_color%">
3507 <font resource="font_m"/>
3508 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3509 <text>%tw_time%</text>
3510 </text>
3511
3512 <listbox style="listbox_headerless">
3513 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3514 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3516 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3517 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3518 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3519 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3520 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3521 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3522 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3523 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3524 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3525 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3526 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3527 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3528 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3529 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3530 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3531 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3532 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3533 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3534 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3535 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3536 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3537 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3538 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003539 </listbox>
3540
3541 <button>
3542 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3543 <highlight color="%highlight_color%"/>
3544 <image resource="q_btn_arrow_right"/>
3545 <actions>
3546 <action function="setguitimezone"/>
3547 <action function="page">settings_timezone2</action>
3548 </actions>
3549 </button>
3550
3551 <action>
3552 <condition var1="tw_time_zone_guisel" op="modified"/>
3553 <action function="setguitimezone"/>
3554 </action>
3555
3556 <action>
3557 <touch key="home"/>
3558 <actions>
3559 <action function="page">main</action>
3560 <action function="setguitimezone"/>
3561 </actions>
3562 </action>
3563
3564 <action>
3565 <touch key="back"/>
3566 <actions>
3567 <action function="page">settings</action>
3568 <action function="setguitimezone"/>
3569 </actions>
3570 </action>
3571
3572 <action>
3573 <touch key="power+voldown"/>
3574 <action function="screenshot"/>
3575 </action>
3576 </page>
3577
3578 <page name="settings_timezone2">
3579 <template name="page"/>
3580
3581 <template name="statusbar"/>
3582
3583 <text style="text_m">
3584 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 </text>
3587
3588 <text color="%text_color%">
3589 <font resource="font_m"/>
3590 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3591 <text>%tw_time%</text>
3592 </text>
3593
3594 <checkbox>
3595 <placement x="%col1_x_left%" y="%row1_y%"/>
3596 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 <data variable="tw_time_zone_guidst"/>
3599 <image checked="checkbox_true" unchecked="checkbox_false"/>
3600 </checkbox>
3601
3602 <text style="text_m_accent">
3603 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </text>
3606
3607 <button style="main_button_quarter_width">
3608 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <actions>
3611 <action function="set">tw_time_zone_guioffset=0</action>
3612 <action function="setguitimezone"/>
3613 </actions>
3614 </button>
3615
3616 <button style="main_button_quarter_width">
3617 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 <actions>
3620 <action function="set">tw_time_zone_guioffset=15</action>
3621 <action function="setguitimezone"/>
3622 </actions>
3623 </button>
3624
3625 <button style="main_button_quarter_width">
3626 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="set">tw_time_zone_guioffset=30</action>
3630 <action function="setguitimezone"/>
3631 </actions>
3632 </button>
3633
3634 <button style="main_button_quarter_width">
3635 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <actions>
3638 <action function="set">tw_time_zone_guioffset=45</action>
3639 <action function="setguitimezone"/>
3640 </actions>
3641 </button>
3642
3643 <button>
3644 <placement x="%col1_x_left%" y="%row11_y%"/>
3645 <highlight color="%highlight_color%"/>
3646 <image resource="q_btn_arrow_left"/>
3647 <actions>
3648 <action function="setguitimezone"/>
3649 <action function="page">settings_timezone</action>
3650 </actions>
3651 </button>
3652
3653 <text style="text_m_accent">
3654 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 </text>
3657
3658 <text style="text_m">
3659 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3660 <text>%tw_time_zone%</text>
3661 </text>
3662
3663 <action>
3664 <condition var1="tw_time_zone_guidst" op="modified"/>
3665 <action function="setguitimezone"/>
3666 </action>
3667
3668 <action>
3669 <touch key="home"/>
3670 <actions>
3671 <action function="setguitimezone"/>
3672 <action function="page">main</action>
3673 </actions>
3674 </action>
3675
3676 <action>
3677 <touch key="back"/>
3678 <actions>
3679 <action function="setguitimezone"/>
3680 <action function="page">settings_timezone</action>
3681 </actions>
3682 </action>
3683 </page>
3684
3685 <page name="settings_screen">
3686 <template name="page"/>
3687
3688 <template name="statusbar"/>
3689
3690 <text style="text_m">
3691 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 </text>
3694
3695 <button style="checkbox">
3696 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3697 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3698 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003700 <image resource="checkbox_false"/>
3701 <action function="set">tw_screen_timeout_secs=60</action>
3702 </button>
3703
3704 <button style="checkbox">
3705 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3706 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3707 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 <image resource="checkbox_true"/>
3710 <action function="set">tw_screen_timeout_secs=0</action>
3711 </button>
3712
3713 <slidervalue>
3714 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3715 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003717 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3718 </slidervalue>
3719
3720 <text style="text_m_fail">
3721 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3722 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </text>
3725
3726 <button>
3727 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3728 <highlight color="%highlight_color%"/>
3729 <image resource="q_btn_arrow_right"/>
3730 <action function="page">settings_screen2</action>
3731 </button>
3732
3733 <action>
3734 <touch key="home"/>
3735 <action function="page">main</action>
3736 </action>
3737
3738 <action>
3739 <touch key="back"/>
3740 <action function="page">settings</action>
3741 </action>
3742 </page>
3743
3744 <page name="settings_screen2">
3745 <template name="page"/>
3746
3747 <template name="statusbar"/>
3748
3749 <text style="text_m">
3750 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </text>
3753
3754 <slidervalue>
3755 <condition var1="tw_has_brightnesss_file" var2="1"/>
3756 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003758 <data variable="tw_brightness_pct" min="10" max="100"/>
3759 <actions>
3760 <action function="set">tw_brightness=%tw_brightness_max%</action>
3761 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3762 <action function="compute">tw_brightness/100</action>
3763 <action function="setbrightness">%tw_brightness%</action>
3764 </actions>
3765 </slidervalue>
3766
3767 <text style="text_m_fail">
3768 <condition var1="tw_has_brightnesss_file" var2="0"/>
3769 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003770 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003771 </text>
3772
3773 <button>
3774 <placement x="%col1_x_left%" y="%row11_y%"/>
3775 <highlight color="%highlight_color%"/>
3776 <image resource="q_btn_arrow_left"/>
3777 <action function="page">settings_screen</action>
3778 </button>
3779
3780 <action>
3781 <touch key="home"/>
3782 <action function="page">main</action>
3783 </action>
3784
3785 <action>
3786 <touch key="back"/>
3787 <action function="page">settings</action>
3788 </action>
3789 </page>
3790
3791 <page name="settings_vibration">
3792 <template name="page"/>
3793
3794 <template name="statusbar"/>
3795
3796 <text style="text_m">
3797 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 </text>
3800
3801 <slidervalue>
3802 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 <data variable="tw_button_vibrate" min="0" max="300"/>
3805 </slidervalue>
3806
3807 <button>
3808 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3809 <highlight color="%highlight_color%"/>
3810 <image resource="q_btn_arrow_right"/>
3811 <action function="page">settings_vibration2</action>
3812 </button>
3813
3814 <action>
3815 <touch key="home"/>
3816 <action function="page">main</action>
3817 </action>
3818
3819 <action>
3820 <touch key="back"/>
3821 <action function="page">settings</action>
3822 </action>
3823 </page>
3824
3825 <page name="settings_vibration2">
3826 <template name="page"/>
3827
3828 <template name="statusbar"/>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <slidervalue>
3836 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003837 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003838 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3839 </slidervalue>
3840
3841 <button>
3842 <placement x="%col1_x_left%" y="%row11_y%"/>
3843 <highlight color="%highlight_color%"/>
3844 <image resource="q_btn_arrow_left"/>
3845 <action function="page">settings_vibration</action>
3846 </button>
3847
3848 <button>
3849 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3850 <highlight color="%highlight_color%"/>
3851 <image resource="q_btn_arrow_right"/>
3852 <action function="page">settings_vibration3</action>
3853 </button>
3854
3855 <action>
3856 <touch key="home"/>
3857 <action function="page">main</action>
3858 </action>
3859
3860 <action>
3861 <touch key="back"/>
3862 <action function="page">settings</action>
3863 </action>
3864 </page>
3865
3866 <page name="settings_vibration3">
3867 <template name="page"/>
3868
3869 <template name="statusbar"/>
3870
3871 <text style="text_m">
3872 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 </text>
3875
3876 <slidervalue>
3877 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <data variable="tw_action_vibrate" min="0" max="500"/>
3880 </slidervalue>
3881
3882 <button>
3883 <placement x="%col1_x_left%" y="%row11_y%"/>
3884 <highlight color="%highlight_color%"/>
3885 <image resource="q_btn_arrow_left"/>
3886 <action function="page">settings_vibration2</action>
3887 </button>
3888
3889 <action>
3890 <touch key="home"/>
3891 <action function="page">main</action>
3892 </action>
3893
3894 <action>
3895 <touch key="back"/>
3896 <action function="page">settings</action>
3897 </action>
3898 </page>
3899
Ethan Yonker74db1572015-10-28 12:44:49 -05003900 <page name="settings_language">
3901 <template name="page"/>
3902
3903 <template name="statusbar"/>
3904
3905 <text style="text_m">
3906 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3907 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3908 </text>
3909
z31s1g608d7ff2016-01-18 19:47:25 +01003910 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3912 <icon selected="radio_true" unselected="radio_false" />
3913 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01003914 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915
3916 <button>
3917 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3918 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003919 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <action function="setlanguage"></action>
3921 </button>
3922
z31s1g608d7ff2016-01-18 19:47:25 +01003923 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <touch key="home" />
3925 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003926 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927
z31s1g608d7ff2016-01-18 19:47:25 +01003928 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <touch key="back" />
3930 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003931 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 </page>
3933
z31s1g28f0a922015-11-07 18:50:22 +01003934 <page name="advanced">
3935 <template name="page"/>
3936
3937 <template name="statusbar"/>
3938
3939 <text style="text_m">
3940 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 </text>
3943
3944 <button style="main_button">
3945 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003947 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </button>
3949
3950 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003951 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003952 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003953 <text>{@fix_context_btn=Fix Contexts}</text>
3954 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003955 </button>
3956
3957 <button style="main_button">
3958 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <action function="reload"/>
3961 </button>
3962
3963 <button style="main_button">
3964 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3965 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003967 <actions>
3968 <action function="set">partitionlisterror=0</action>
3969 <action function="page">partsdcardsel</action>
3970 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </button>
3972
3973 <button style="main_button">
3974 <condition var1="tw_show_dumlock" var2="1"/>
3975 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 <action function="page">htcdumlock</action>
3978 </button>
3979
3980 <button style="main_button">
3981 <condition var1="tw_has_injecttwrp" var2="1"/>
3982 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <actions>
3985 <action function="set">tw_back=advanced</action>
3986 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003987 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3988 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3989 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3990 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003991 <action function="page">confirm_action</action>
3992 </actions>
3993 </button>
3994
3995 <action>
3996 <touch key="home"/>
3997 <action function="page">main</action>
3998 </action>
3999
4000 <action>
4001 <touch key="back"/>
4002 <action function="page">main3</action>
4003 </action>
4004 </page>
4005
Ethan Yonker483e9f42016-01-11 22:21:18 -06004006 <page name="partsdcardsel">
4007 <template name="page"/>
4008
4009 <template name="statusbar"/>
4010
4011 <text style="text_m">
4012 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4013 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4014 </text>
4015
4016 <partitionlist style="partitionlist_headerless_rb">
4017 <data name="tw_storage_path"/>
4018 <listtype name="storage"/>
4019 </partitionlist>
4020
4021 <text style="text_m_fail">
4022 <condition var1="partitionlisterror" var2="1"/>
4023 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4024 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4025 </text>
4026
4027 <button>
4028 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4029 <highlight color="%highlight_color%"/>
4030 <image resource="q_btn_refresh"/>
4031 <action function="refreshsizes"/>
4032 </button>
4033
4034 <button>
4035 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4036 <highlight color="%highlight_color%"/>
4037 <image resource="q_btn_accept"/>
4038 <actions>
4039 <action function="getpartitiondetails">tw_storage_path</action>
4040 <action function="page">partsdcardcheck</action>
4041 </actions>
4042 </button>
4043
4044 <action>
4045 <touch key="home"/>
4046 <action function="page">main</action>
4047 </action>
4048
4049 <action>
4050 <touch key="back"/>
4051 <action function="page">advanced</action>
4052 </action>
4053 </page>
4054
4055 <page name="partsdcardcheck">
4056 <action>
4057 <condition var1="tw_partition_removable" op="=" var2="1"/>
4058 <actions>
4059 <action function="set">partitionlisterror=0</action>
4060 <action function="page">partsdcard</action>
4061 </actions>
4062 </action>
4063
4064 <action>
4065 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4066 <actions>
4067 <action function="set">partitionlisterror=1</action>
4068 <action function="page">partsdcardsel</action>
4069 </actions>
4070 </action>
4071 </page>
4072
z31s1g28f0a922015-11-07 18:50:22 +01004073 <page name="partsdcard">
4074 <template name="page"/>
4075
4076 <template name="statusbar"/>
4077
4078 <text style="text_m">
4079 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 </text>
4082
4083 <text style="text_m_fail">
4084 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004086 </text>
4087
4088 <text style="text_m_fail">
4089 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 </text>
4092
4093 <text style="text_m_accent">
4094 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004096 </text>
4097
4098 <text style="text_m">
4099 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4100 <text>%tw_sdext_size%</text>
4101 </text>
4102
4103 <button style="main_button_quarter_width">
4104 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004105 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004106 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004107 </button>
4108
4109 <button style="main_button_quarter_width">
4110 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004112 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004113 </button>
4114
4115 <button>
4116 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4117 <highlight color="%highlight_color%"/>
4118 <image resource="q_btn_arrow_right"/>
4119 <action function="page">partsdcard2</action>
4120 </button>
4121
4122 <action>
4123 <touch key="home"/>
4124 <action function="page">main</action>
4125 </action>
4126
4127 <action>
4128 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004129 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004130 </action>
4131 </page>
4132
4133 <page name="partsdcard2">
4134 <template name="page"/>
4135
4136 <template name="statusbar"/>
4137
4138 <text style="text_m">
4139 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004140 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004141 </text>
4142
4143 <text style="text_m_fail">
4144 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m_fail">
4149 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m_accent">
4154 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <text style="text_m">
4159 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4160 <text>%tw_swap_size%</text>
4161 </text>
4162
4163 <button style="main_button_quarter_width">
4164 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004166 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004167 </button>
4168
4169 <button style="main_button_quarter_width">
4170 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004172 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004173 </button>
4174
4175 <button>
4176 <placement x="%col1_x_left%" y="%row11_y%"/>
4177 <highlight color="%highlight_color%"/>
4178 <image resource="q_btn_arrow_left"/>
4179 <action function="page">partsdcard</action>
4180 </button>
4181
4182 <button>
4183 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4184 <highlight color="%highlight_color%"/>
4185 <image resource="q_btn_arrow_right"/>
4186 <action function="page">partsdcard3</action>
4187 </button>
4188
4189 <action>
4190 <touch key="home"/>
4191 <action function="page">main</action>
4192 </action>
4193
4194 <action>
4195 <touch key="back"/>
4196 <action function="page">advanced</action>
4197 </action>
4198 </page>
4199
4200 <page name="partsdcard3">
4201 <template name="page"/>
4202
4203 <template name="statusbar"/>
4204
4205 <text style="text_m">
4206 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004208 </text>
4209
4210 <text style="text_m_fail">
4211 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004212 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004213 </text>
4214
4215 <text style="text_m_fail">
4216 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
4220 <text style="text_m_accent">
4221 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004222 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </text>
4224
4225 <text style="text_m">
4226 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4227 <text>%tw_sdpart_file_system%</text>
4228 </text>
4229
4230 <button style="main_button_quarter_width">
4231 <placement x="%indent%" y="%row6_y%"/>
4232 <text>EXT3</text>
4233 <action function="set">tw_sdpart_file_system=ext3</action>
4234 </button>
4235
4236 <button style="main_button_quarter_width">
4237 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4238 <text>EXT4</text>
4239 <action function="set">tw_sdpart_file_system=ext4</action>
4240 </button>
4241
4242 <button>
4243 <placement x="%col1_x_left%" y="%row11_y%"/>
4244 <highlight color="%highlight_color%"/>
4245 <image resource="q_btn_arrow_left"/>
4246 <action function="page">partsdcard2</action>
4247 </button>
4248
4249 <button>
4250 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4251 <highlight color="%highlight_color%"/>
4252 <image resource="q_btn_arrow_right"/>
4253 <action function="page">partsdcard_confirm</action>
4254 </button>
4255
4256 <action>
4257 <touch key="home"/>
4258 <action function="page">main</action>
4259 </action>
4260
4261 <action>
4262 <touch key="back"/>
4263 <action function="page">advanced</action>
4264 </action>
4265 </page>
4266
4267 <page name="partsdcard_confirm">
4268 <template name="page"/>
4269
4270 <template name="statusbar"/>
4271
4272 <text style="text_m">
4273 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004274 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004275 </text>
4276
4277 <text style="text_m_fail">
4278 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004279 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004280 </text>
4281
4282 <text style="text_m_fail">
4283 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004284 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004285 </text>
4286
4287 <text style="text_m_accent">
4288 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004289 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004290 </text>
4291
4292 <text style="text_m_accent">
4293 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004295 </text>
4296
4297 <text style="text_m_accent">
4298 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004299 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004300 </text>
4301
4302 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004303 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004304 <action function="page">partsdcardaction</action>
4305 <actions>
4306 <action function="set">tw_back=partsdcard</action>
4307 <action function="set">tw_action=partitionsd</action>
4308 <action function="set">tw_has_action2=1</action>
4309 <action function="set">tw_action2=set</action>
4310 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4312 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4313 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004314 <action function="page">action_page</action>
4315 </actions>
4316 </slider>
4317
4318 <action>
4319 <touch key="home"/>
4320 <action function="page">main</action>
4321 </action>
4322
4323 <action>
4324 <touch key="back"/>
4325 <action function="page">advanced</action>
4326 </action>
4327 </page>
4328
4329 <page name="htcdumlock">
4330 <template name="page"/>
4331
4332 <template name="statusbar"/>
4333
4334 <text style="text_m">
4335 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004336 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004337 </text>
4338
4339 <button style="main_button_full_width">
4340 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004341 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004342 <actions>
4343 <action function="set">tw_back=htcdumlock</action>
4344 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4346 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4347 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4348 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004349 <action function="page">confirm_action</action>
4350 </actions>
4351 </button>
4352
4353 <button style="main_button_full_width">
4354 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <actions>
4357 <action function="set">tw_back=htcdumlock</action>
4358 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4360 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4361 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4362 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004363 <action function="page">confirm_action</action>
4364 </actions>
4365 </button>
4366
4367 <button style="main_button_full_width">
4368 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 <actions>
4371 <action function="set">tw_back=htcdumlock</action>
4372 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4374 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4375 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4376 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004377 <action function="page">confirm_action</action>
4378 </actions>
4379 </button>
4380
4381 <action>
4382 <touch key="home"/>
4383 <action function="page">main</action>
4384 </action>
4385
4386 <action>
4387 <touch key="back"/>
4388 <action function="page">advanced</action>
4389 </action>
4390 </page>
4391
4392 <page name="lock">
4393 <background color="%semi_transparent%"/>
4394
4395 <image>
4396 <image resource="unlock_icon"/>
4397 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4398 </image>
4399
4400 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 <action function="overlay"/>
4403 </slider>
4404 </page>
4405
4406 <page name="filemanagerlist">
4407 <template name="page"/>
4408
4409 <template name="statusbar"/>
4410
4411 <text style="text_m">
4412 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004413 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004414 </text>
4415
4416 <fileselector>
4417 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4418 <text>%tw_file_location1%</text>
4419 <filter folders="1" files="1"/>
4420 <path name="tw_file_location1" default="/"/>
4421 <data name="tw_filename1"/>
4422 <selection name="tw_selection1"/>
4423 </fileselector>
4424
4425 <button>
4426 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4427 <highlight color="%highlight_color%"/>
4428 <image resource="q_btn_folder"/>
4429 <actions>
4430 <action function="set">tw_filename1=tw_file_location1</action>
4431 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004433 <action function="page">filemanageroptions</action>
4434 </actions>
4435 </button>
4436
4437 <action>
4438 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004440 <action function="set">tw_fm_isfolder=0</action>
4441 </actions>
4442 </action>
4443
4444 <action>
4445 <touch key="home"/>
4446 <action function="page">main</action>
4447 </action>
4448
4449 <action>
4450 <touch key="back"/>
4451 <action function="page">main3</action>
4452 </action>
4453
4454 <action>
4455 <condition var1="tw_filename1" op="modified"/>
4456 <action function="page">filemanageroptions</action>
4457 </action>
4458 </page>
4459
4460 <page name="filemanageroptions">
4461 <template name="page"/>
4462
4463 <template name="statusbar"/>
4464
4465 <text style="text_m">
4466 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004467 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004468 </text>
4469
4470 <button style="main_button">
4471 <condition var1="tw_fm_isfolder" var2="0"/>
4472 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 <actions>
4475 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004477 <action function="page">choosedestinationfolder</action>
4478 </actions>
4479 </button>
4480
4481 <button style="main_button">
4482 <condition var1="tw_fm_isfolder" var2="1"/>
4483 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 <actions>
4486 <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 -05004487 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <action function="page">choosedestinationfolder</action>
4489 </actions>
4490 </button>
4491
4492 <button style="main_button">
4493 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004494 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 <actions>
4496 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004497 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004498 <action function="page">choosedestinationfolder</action>
4499 </actions>
4500 </button>
4501
4502 <button style="main_button">
4503 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004504 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004505 <actions>
4506 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004508 <action function="set">tw_fm_text2=</action>
4509 <action function="set">tw_fm_text3=</action>
4510 <action function="set">tw_include_text3=0</action>
4511 <action function="set">tw_back=filemanageroptions</action>
4512 <action function="page">filemanagerconfirm</action>
4513 </actions>
4514 </button>
4515
4516 <button style="main_button">
4517 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004518 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004519 <actions>
4520 <action function="set">tw_filemanager_rename=0000</action>
4521 <action function="set">tw_fm_text2=</action>
4522 <action function="set">tw_fm_text3=</action>
4523 <action function="set">tw_include_text3=0</action>
4524 <action function="set">tw_back=filemanageroptions</action>
4525 <action function="page">filemanagerchmod</action>
4526 </actions>
4527 </button>
4528
4529 <button style="main_button">
4530 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004531 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004532 <actions>
4533 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <action function="set">tw_fm_text2=</action>
4536 <action function="set">tw_fm_text3=</action>
4537 <action function="set">tw_include_text3=0</action>
4538 <action function="set">tw_back=filemanageroptions</action>
4539 <action function="page">filemanagerconfirm</action>
4540 </actions>
4541 </button>
4542
4543 <button style="main_button">
4544 <condition var1="tw_fm_isfolder" var2="0"/>
4545 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004547 <actions>
4548 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004549 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004550 <action function="set">tw_filemanager_command=mv</action>
4551 <action function="page">filemanagerrenamefile</action>
4552 </actions>
4553 </button>
4554
4555 <button style="main_button">
4556 <condition var1="tw_fm_isfolder" var2="1"/>
4557 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 <actions>
4560 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004562 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4563 <action function="page">filemanagerrenamefolder</action>
4564 </actions>
4565 </button>
4566
4567 <action>
4568 <touch key="home"/>
4569 <action function="page">main</action>
4570 </action>
4571
4572 <action>
4573 <touch key="back"/>
4574 <action function="page">filemanagerlist</action>
4575 </action>
4576 </page>
4577
4578 <page name="choosedestinationfolder">
4579 <template name="page"/>
4580
4581 <template name="statusbar"/>
4582
4583 <text style="text_m">
4584 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004585 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </text>
4587
4588 <fileselector>
4589 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4590 <text>%tw_file_location2%</text>
4591 <filter folders="1" files="0"/>
4592 <path name="tw_file_location2" default="/"/>
4593 <data name="tw_filename2"/>
4594 <selection name="tw_selection2"/>
4595 </fileselector>
4596
4597 <button>
4598 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4599 <highlight color="%highlight_color%"/>
4600 <image resource="q_btn_folder"/>
4601 <actions>
4602 <action function="set">tw_fm_text2=to</action>
4603 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4604 <action function="set">tw_include_text3=1</action>
4605 <action function="set">tw_back=filemanageroptions</action>
4606 <action function="page">filemanagerconfirm</action>
4607 </actions>
4608 </button>
4609
4610 <action>
4611 <touch key="home"/>
4612 <action function="page">main</action>
4613 </action>
4614
4615 <action>
4616 <touch key="back"/>
4617 <action function="page">filemanageroptions</action>
4618 </action>
4619 </page>
4620
4621 <page name="filemanagerrenamefile">
4622 <template name="page"/>
4623
4624 <template name="statusbar"/>
4625
4626 <text style="text_m">
4627 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 </text>
4630
4631 <text style="text_m_accent">
4632 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004633 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 </text>
4635
4636 <input>
4637 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4638 <text>%tw_filemanager_rename%</text>
4639 <data name="tw_filemanager_rename"/>
4640 <restrict minlen="1" maxlen="128"/>
4641 <actions>
4642 <action function="set">tw_fm_text2=to</action>
4643 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4644 <action function="set">tw_include_text3=1</action>
4645 <action function="set">tw_back=filemanageroptions</action>
4646 <action function="page">filemanagerconfirm</action>
4647 </actions>
4648 </input>
4649
4650 <fill color="%accent_color%">
4651 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4652 </fill>
4653
4654 <button style="main_button_half_height">
4655 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004656 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004657 <action function="page">filemanageroptions</action>
4658 </button>
4659
4660 <template name="keyboardtemplate"/>
4661
4662 <action>
4663 <touch key="home"/>
4664 <action function="page">main</action>
4665 </action>
4666
4667 <action>
4668 <touch key="back"/>
4669 <action function="page">filemanageroptions</action>
4670 </action>
4671 </page>
4672
4673 <page name="filemanagerrenamefolder">
4674 <template name="page"/>
4675
4676 <template name="statusbar"/>
4677
4678 <text style="text_m">
4679 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004680 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004681 </text>
4682
4683 <text style="text_m_accent">
4684 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004685 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004686 </text>
4687
4688 <input>
4689 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4690 <text>%tw_filemanager_rename%</text>
4691 <data name="tw_filemanager_rename"/>
4692 <restrict minlen="1" maxlen="128"/>
4693 <actions>
4694 <action function="set">tw_fm_text2=to</action>
4695 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4696 <action function="set">tw_include_text3=1</action>
4697 <action function="set">tw_back=filemanageroptions</action>
4698 <action function="page">filemanagerconfirm</action>
4699 </actions>
4700 </input>
4701
4702 <fill color="%accent_color%">
4703 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4704 </fill>
4705
4706 <button style="main_button_half_height">
4707 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004708 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004709 <action function="page">filemanageroptions</action>
4710 </button>
4711
4712 <template name="keyboardtemplate"/>
4713
4714 <action>
4715 <touch key="home"/>
4716 <action function="page">main</action>
4717 </action>
4718
4719 <action>
4720 <touch key="back"/>
4721 <action function="page">filemanageroptions</action>
4722 </action>
4723 </page>
4724
4725 <page name="filemanagerchmod">
4726 <template name="page"/>
4727
4728 <template name="statusbar"/>
4729
4730 <text style="text_m">
4731 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004732 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 </text>
4734
4735 <text style="text_m_accent">
4736 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004737 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004738 </text>
4739
4740 <input>
4741 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4742 <text>%tw_filemanager_rename%</text>
4743 <data name="tw_filemanager_rename"/>
4744 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4745 <actions>
4746 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4747 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4748 <action function="set">tw_back=filemanageroptions</action>
4749 <action function="page">filemanagerconfirm</action>
4750 </actions>
4751 </input>
4752
4753 <fill color="%accent_color%">
4754 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4755 </fill>
4756
4757 <button style="main_button_half_height">
4758 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004759 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004760 <action function="page">filemanageroptions</action>
4761 </button>
4762
4763 <template name="keyboardtemplate"/>
4764
4765 <action>
4766 <touch key="home"/>
4767 <action function="page">main</action>
4768 </action>
4769
4770 <action>
4771 <touch key="back"/>
4772 <action function="page">filemanageroptions</action>
4773 </action>
4774 </page>
4775
4776 <page name="filemanagerconfirm">
4777 <template name="page"/>
4778
4779 <template name="statusbar"/>
4780
4781 <text style="text_m">
4782 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004783 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004784 </text>
4785
4786 <text style="text_m_accent">
4787 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4788 <text>%tw_fm_text1%</text>
4789 </text>
4790
4791 <text style="text_m">
4792 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4793 <text>%tw_filename1%</text>
4794 </text>
4795
4796 <text style="text_m_accent">
4797 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4798 <text>%tw_fm_text2%</text>
4799 </text>
4800
4801 <text style="text_m">
4802 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4803 <text>%tw_fm_text3%</text>
4804 </text>
4805
4806 <text style="text_m">
4807 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004808 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004809 </text>
4810
4811 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004812 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004813 <action function="page">filemanageraction</action>
4814 </slider>
4815
4816 <action>
4817 <touch key="back"/>
4818 <action function="page">%tw_back%</action>
4819 </action>
4820
4821 <action>
4822 <touch key="home"/>
4823 <action function="page">main</action>
4824 </action>
4825 </page>
4826
4827 <page name="filemanageraction">
4828 <template name="page"/>
4829
4830 <template name="statusbar"/>
4831
4832 <text style="text_m">
4833 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004834 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004835 </text>
4836
4837 <template name="console"/>
4838
4839 <template name="progress_bar"/>
4840
4841 <action>
4842 <conditions>
4843 <condition var1="tw_operation_state" var2="1"/>
4844 <condition var1="tw_operation_status" var2="0"/>
4845 </conditions>
4846 <actions>
4847 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004848 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004849 <action function="page">action_complete</action>
4850 </actions>
4851 </action>
4852
4853 <action>
4854 <conditions>
4855 <condition var1="tw_operation_state" var2="1"/>
4856 <condition var1="tw_operation_status" op="!=" var2="0"/>
4857 </conditions>
4858 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004859 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004860 <action function="page">action_complete</action>
4861 </actions>
4862 </action>
4863
4864 <action>
4865 <condition var1="tw_include_text3" var2="0"/>
4866 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4867 </action>
4868
4869 <action>
4870 <condition var1="tw_include_text3" var2="1"/>
4871 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4872 </action>
4873 </page>
4874
4875 <page name="decrypt">
4876 <template name="page"/>
4877
4878 <template name="statusbar"/>
4879
4880 <action>
4881 <condition var1="tw_crypto_pwtype" var2="2"/>
4882 <action function="page">decrypt_pattern</action>
4883 </action>
4884
4885 <text style="text_m">
4886 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004887 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004888 </text>
4889
4890 <text style="text_m_accent">
4891 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 </text>
4894
4895 <input>
4896 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4897 <text>%tw_crypto_display%</text>
4898 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4899 <restrict minlen="1" maxlen="254"/>
4900 <action function="page">trydecrypt</action>
4901 </input>
4902
4903 <fill color="%accent_color%">
4904 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4905 </fill>
4906
4907 <fill color="%text_fail_color%">
4908 <condition var1="tw_password_fail" var2="1"/>
4909 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4910 </fill>
4911
4912 <text style="text_m_fail">
4913 <condition var1="tw_password_fail" var2="1"/>
4914 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004915 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004916 </text>
4917
4918 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004919 <placement x="%col1_x_left%" y="%row4_y%"/>
4920 <text>{@sel_lang_btn=Select Language}</text>
4921 <action function="page">settings_language</action>
4922 </button>
4923
4924 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004925 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004926 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004927 <actions>
4928 <action function="set">tw_page_done=1</action>
4929 <action function="page">main</action>
4930 </actions>
4931 </button>
4932
4933 <template name="keyboardtemplate"/>
4934 </page>
4935
4936 <page name="decrypt_pattern">
4937 <template name="page"/>
4938
4939 <template name="statusbar"/>
4940
Aleksa Saraib25a1832015-12-31 17:36:00 +01004941 <action>
4942 <action function="set">tw_gui_pattern_grid_size=3</action>
4943 </action>
4944
z31s1g28f0a922015-11-07 18:50:22 +01004945 <text style="text_m">
4946 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004947 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004948 </text>
4949
4950 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004951 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004952 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004953 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004954 </text>
4955
Aleksa Saraib25a1832015-12-31 17:36:00 +01004956 <text style="text_m_fail">
4957 <condition var1="tw_password_fail" var2="1"/>
4958 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004959 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004960 </text>
4961
z31s1g28f0a922015-11-07 18:50:22 +01004962 <text style="text_m">
4963 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004964 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004965 </text>
4966
4967 <patternpassword>
4968 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004969 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4970 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4971 <data name="tw_crypto_password"/>
4972 <action function="page">trydecrypt</action>
4973 </patternpassword>
4974
4975 <fill color="#000000">
4976 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4977 </fill>
4978
4979 <button>
4980 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4981 <image resource="back"/>
4982 <condition var1="tw_busy" var2="0"/>
4983 <actions>
4984 <action function="set">tw_page_done=1</action>
4985 <action function="page">main</action>
4986 </actions>
4987 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004988
4989 <button>
4990 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4991 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4992 <image resource="grid_less"/>
4993 <action function="set">tw_gui_pattern_grid_size=3</action>
4994 </button>
4995
4996 <button>
4997 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4998 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4999 <image resource="grid_less"/>
5000 <action function="set">tw_gui_pattern_grid_size=3</action>
5001 </button>
5002
5003 <button>
5004 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5005 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5006 <image resource="grid_less"/>
5007 <action function="set">tw_gui_pattern_grid_size=4</action>
5008 </button>
5009
5010 <button>
5011 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5012 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5013 <image resource="grid_less"/>
5014 <action function="set">tw_gui_pattern_grid_size=5</action>
5015 </button>
5016
5017 <button>
5018 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5019 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5020 <image resource="grid_more"/>
5021 <action function="set">tw_gui_pattern_grid_size=4</action>
5022 </button>
5023
5024 <button>
5025 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5026 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5027 <image resource="grid_more"/>
5028 <action function="set">tw_gui_pattern_grid_size=5</action>
5029 </button>
5030
5031 <button>
5032 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5033 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5034 <image resource="grid_more"/>
5035 <action function="set">tw_gui_pattern_grid_size=6</action>
5036 </button>
5037
5038 <button>
5039 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5040 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5041 <image resource="grid_more"/>
5042 <action function="set">tw_gui_pattern_grid_size=6</action>
5043 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005044 </page>
5045
5046 <page name="trydecrypt">
5047 <template name="page"/>
5048
5049 <template name="statusbar"/>
5050
5051 <text style="text_m">
5052 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005053 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005054 </text>
5055
5056 <template name="console"/>
5057
5058 <template name="progress_bar"/>
5059
5060 <action>
5061 <action function="decrypt"/>
5062 </action>
5063
5064 <action>
5065 <conditions>
5066 <condition var1="tw_operation_state" var2="1"/>
5067 <condition var1="tw_operation_status" op="!=" var2="0"/>
5068 </conditions>
5069 <actions>
5070 <action function="set">tw_password_fail=1</action>
5071 <action function="page">decrypt</action>
5072 </actions>
5073 </action>
5074
5075 <action>
5076 <conditions>
5077 <condition var1="tw_operation_state" var2="1"/>
5078 <condition var1="tw_operation_status" op="=" var2="0"/>
5079 </conditions>
5080 <actions>
5081 <action function="set">tw_page_done=1</action>
5082 <action function="page">main</action>
5083 </actions>
5084 </action>
5085 </page>
5086
z31s1g28f0a922015-11-07 18:50:22 +01005087 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005088 <terminal>
5089 <condition var1="tw_hide_kb" var2="0"/>
5090 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5091 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005092
z31s1g56189522016-01-13 19:12:40 +01005093 <terminal>
5094 <condition var1="tw_hide_kb" var2="1"/>
5095 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5096 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005097
z31s1g56189522016-01-13 19:12:40 +01005098 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005099
5100 <template name="keyboardtemplate"/>
5101
z31s1g608d7ff2016-01-18 19:47:25 +01005102 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005103 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005104 </fill>
z31s1g56189522016-01-13 19:12:40 +01005105
z31s1g608d7ff2016-01-18 19:47:25 +01005106 <button>
z31s1g56189522016-01-13 19:12:40 +01005107 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5108 <image resource="back" />
5109 <condition var1="tw_busy" var2="0" />
5110 <actions>
5111 <action function="set">tw_hide_kb=0</action>
5112 <action function="key">back</action>
5113 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005114 </button>
z31s1g56189522016-01-13 19:12:40 +01005115
z31s1g608d7ff2016-01-18 19:47:25 +01005116 <button>
z31s1g56189522016-01-13 19:12:40 +01005117 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5118 <image resource="home" />
5119 <condition var1="tw_busy" var2="0" />
5120 <actions>
5121 <action function="set">tw_hide_kb=0</action>
5122 <action function="key">home</action>
5123 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005124 </button>
z31s1g56189522016-01-13 19:12:40 +01005125
z31s1g608d7ff2016-01-18 19:47:25 +01005126 <button>
z31s1g56189522016-01-13 19:12:40 +01005127 <condition var1="tw_hide_kb" var2="0"/>
5128 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5129 <image resource="kb_hide" />
5130 <condition var1="tw_busy" var2="0" />
5131 <actions>
5132 <action function="set">tw_hide_kb=1</action>
5133 <action function="page">terminalcommand</action>
5134 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005135 </button>
z31s1g56189522016-01-13 19:12:40 +01005136
z31s1g608d7ff2016-01-18 19:47:25 +01005137 <button>
z31s1g56189522016-01-13 19:12:40 +01005138 <condition var1="tw_hide_kb" var2="1"/>
5139 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5140 <image resource="kb_show" />
5141 <condition var1="tw_busy" var2="0" />
5142 <actions>
5143 <action function="set">tw_hide_kb=0</action>
5144 <action function="page">terminalcommand</action>
5145 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005146 </button>
z31s1g56189522016-01-13 19:12:40 +01005147
z31s1g28f0a922015-11-07 18:50:22 +01005148 <action>
5149 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005150 <actions>
5151 <action function="set">tw_hide_kb=0</action>
5152 <action function="page">main</action>
5153 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005154 </action>
5155
5156 <action>
5157 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005158 <actions>
5159 <action function="set">tw_hide_kb=0</action>
5160 <action function="page">advanced</action>
5161 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005162 </action>
z31s1g56189522016-01-13 19:12:40 +01005163
z31s1g608d7ff2016-01-18 19:47:25 +01005164 <action>
z31s1g56189522016-01-13 19:12:40 +01005165 <touch key="power+voldown" />
5166 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005167 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005168 </page>
5169
5170 <page name="sideload">
5171 <template name="page"/>
5172
5173 <template name="statusbar"/>
5174
5175 <text style="text_m">
5176 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005177 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005178 </text>
5179
5180 <text style="text_m_accent">
5181 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005182 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005183 </text>
5184
5185 <checkbox>
5186 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005187 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005188 <data variable="tw_wipe_dalvik"/>
5189 </checkbox>
5190
5191 <checkbox>
5192 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005193 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005194 <data variable="tw_wipe_cache"/>
5195 </checkbox>
5196
5197 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005198 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005199 <actions>
5200 <action function="set">tw_back=install_type</action>
5201 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005202 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5203 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5204 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005205 <action function="set">tw_has_cancel=1</action>
5206 <action function="set">tw_show_reboot=1</action>
5207 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5208 <action function="page">action_page</action>
5209 </actions>
5210 </slider>
5211
5212 <action>
5213 <touch key="home"/>
5214 <action function="page">main</action>
5215 </action>
5216
5217 <action>
5218 <touch key="back"/>
5219 <action function="page">install_type</action>
5220 </action>
5221 </page>
5222
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005223 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005224 <template name="page"/>
5225
5226 <template name="statusbar"/>
5227
5228 <text style="text_m">
5229 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005230 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005231 </text>
5232
5233 <text style="text_m_accent">
5234 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005235 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005236 </text>
5237
z31s1g28f0a922015-11-07 18:50:22 +01005238 <text style="text_m_fail">
5239 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005240 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005241 </text>
5242
5243 <text style="text_m_fail">
5244 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005245 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005246 </text>
5247
5248 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005249 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005250 <actions>
5251 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005252 <action function="set">tw_action=fixcontexts</action>
5253 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5254 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005255 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005256 <action function="set">tw_show_reboot=1</action>
5257 <action function="page">action_page</action>
5258 </actions>
5259 </slider>
5260
5261 <action>
5262 <touch key="home"/>
5263 <action function="page">main</action>
5264 </action>
5265
5266 <action>
5267 <touch key="back"/>
5268 <action function="page">advanced</action>
5269 </action>
5270 </page>
5271
5272 <page name="installsu">
5273 <template name="page"/>
5274
5275 <template name="statusbar"/>
5276
5277 <text style="text_m">
5278 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005279 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005280 </text>
5281
5282 <text style="text_m_accent">
5283 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005284 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005285 </text>
5286
5287 <text style="text_m">
5288 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005289 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005290 </text>
5291
5292 <text style="text_m">
5293 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005294 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005295 </text>
5296
5297 <button style="main_button_full_width">
5298 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005299 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005300 <action function="set">tw_page_done=1</action>
5301 </button>
5302
5303 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005304 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005305 <actions>
5306 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005307 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005308 <action function="set">tw_action_text2=</action>
5309 <action function="page">singleaction_page</action>
5310 </actions>
5311 </slider>
5312 </page>
5313
5314 <page name="slideout">
5315 <fill color="%background_color%">
5316 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5317 </fill>
5318
5319 <console>
5320 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5321 </console>
5322
5323 <fill color="%fileselector_linecolor%">
5324 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5325 </fill>
5326
5327 <fill color="%fileselector_linecolor%">
5328 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5329 </fill>
5330
5331 <button>
5332 <fill color="%transparent%"/>
5333 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5334 <action function="overlay"/>
5335 </button>
5336
5337 <action>
5338 <touch key="power+voldown"/>
5339 <action function="screenshot"/>
5340 </action>
5341 </page>
5342
5343 <page name="select_storage">
5344 <template name="page"/>
5345
5346 <template name="statusbar"/>
5347
5348 <text style="text_m">
5349 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5350 <text>%tw_storagetext%</text>
5351 </text>
5352
5353 <partitionlist style="partitionlist_headerless_rb">
5354 <data name="tw_storage_path"/>
5355 <listtype name="storage"/>
5356 </partitionlist>
5357
5358 <button>
5359 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5360 <highlight color="%highlight_color%"/>
5361 <image resource="q_btn_refresh"/>
5362 <actions>
5363 <action function="refreshsizes"/>
5364 <action function="page">select_storage</action>
5365 </actions>
5366 </button>
5367
5368 <button>
5369 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5370 <highlight color="%highlight_color%"/>
5371 <image resource="q_btn_accept"/>
5372 <actions>
5373 <action function="set">tw_clear_destination=%tw_back%</action>
5374 <action function="page">clear_vars</action>
5375 </actions>
5376 </button>
5377
5378 <action>
5379 <touch key="power+voldown"/>
5380 <action function="screenshot"/>
5381 </action>
5382 </page>
5383 </pages>
5384</recovery>