blob: 38a2a238f74218b8eeb12e352d5d7d2fd173ad17 [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>
529 <placement x="%indent%" y="%row4_y%" />
530 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
531 <data variable="tw_install_reboot" />
532 </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>
707 <action function="set">tw_action=reboot</action>
708 <action function="set">tw_action_param=system</action>
709 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500710 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
711 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100712 <action function="set">tw_text3=</action>
713 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500714 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100715 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500716 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
717 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100718 <action function="page">rebootcheck</action>
719 </actions>
720 </button>
721
722 <action>
723 <touch key="back"/>
724 <actions>
725 <action function="set">tw_clear_destination=install_type</action>
726 <action function="page">clear_vars</action>
727 </actions>
728 </action>
729
730 <action>
731 <touch key="home"/>
732 <actions>
733 <action function="set">tw_clear_destination=main2</action>
734 <action function="page">clear_vars</action>
735 </actions>
736 </action>
737 </page>
738
739 <page name="flashimage_type">
740 <template name="page"/>
741
742 <template name="statusbar"/>
743
744 <text style="text_m">
745 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600746 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100747 </text>
748
749 <partitionlist style="partitionlist_headerless_rb">
750 <data name="tw_flash_partition"/>
751 <listtype name="flashimg"/>
752 </partitionlist>
753
754 <button>
755 <placement x="%col1_x_left%" y="%row11_y%"/>
756 <highlight color="%highlight_color%"/>
757 <image resource="q_btn_arrow_left"/>
758 <action function="page">install</action>
759 </button>
760
761 <button>
762 <placement x="%btn4_col4_x%" y="%row11_y%"/>
763 <highlight color="%highlight_color%"/>
764 <image resource="q_btn_accept_transp"/>
765 <action function="page">flashimage_confirm</action>
766 </button>
767
768 <action>
769 <touch key="back"/>
770 <action function="page">install</action>
771 </action>
772
773 <action>
774 <touch key="home"/>
775 <action function="page">main</action>
776 </action>
777 </page>
778
779 <page name="flashimage_confirm">
780 <template name="page"/>
781
782 <template name="statusbar"/>
783
784 <text style="text_m">
785 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500786 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100787 </text>
788
789 <text style="text_m_accent">
790 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500791 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100792 </text>
793
794 <text style="text_m">
795 <placement x="%indent%" y="%row2_y%"/>
796 <text>%tw_file%</text>
797 </text>
798
799 <button>
800 <fill color="%transparent%"/>
801 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
802 <action function="page">install</action>
803 </button>
804
805 <text style="text_m_accent">
806 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500807 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100808 </text>
809
810 <text style="text_m">
811 <placement x="%indent%" y="%row5_y%"/>
812 <text>%tw_flash_partition%</text>
813 </text>
814
815 <button>
816 <fill color="%transparent%"/>
817 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
818 <action function="page">flashimage_type</action>
819 </button>
820
821 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500822 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100823 <actions>
824 <action function="set">tw_back=flashimage_confirm</action>
825 <action function="set">tw_action=flashimage</action>
826 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500827 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100828 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500829 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100830 <action function="page">action_page</action>
831 </actions>
832 <action function="flashimage"/>
833 </slider>
834
835 <action>
836 <touch key="back"/>
837 <actions>
838 <action function="set">tw_clear_destination=install</action>
839 <action function="page">clear_vars</action>
840 </actions>
841 </action>
842
843 <action>
844 <touch key="home"/>
845 <actions>
846 <action function="set">tw_clear_destination=main2</action>
847 <action function="page">clear_vars</action>
848 </actions>
849 </action>
850 </page>
851
852 <page name="clear_vars">
853 <action>
854 <action function="set">tw_operation_state=0</action>
855 <action function="set">tw_text1=</action>
856 <action function="set">tw_text2=</action>
857 <action function="set">tw_text3=</action>
858 <action function="set">tw_text4=</action>
859 <action function="set">tw_action_text1=</action>
860 <action function="set">tw_action_text2=</action>
861 <action function="set">tw_action_param=</action>
862 <action function="set">tw_has_action2=0</action>
863 <action function="set">tw_action2=</action>
864 <action function="set">tw_action2_param=</action>
865 <action function="set">tw_has_cancel=0</action>
866 <action function="set">tw_cancel_action=</action>
867 <action function="set">tw_cancel_param=</action>
868 <action function="set">tw_show_exclamation=0</action>
869 <action function="set">tw_show_reboot=0</action>
870 <action function="page">%tw_clear_destination%</action>
871 </action>
872 </page>
873
874 <page name="confirm_action">
875 <template name="page"/>
876
877 <template name="statusbar"/>
878
879 <text style="text_m">
880 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500881 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100882 </text>
883
884 <text style="text_m_accent">
885 <placement x="%center_x%" y="%row2_y%" placement="5"/>
886 <text>%tw_text1%</text>
887 </text>
888
889 <text style="text_m_accent">
890 <placement x="%center_x%" y="%row3_y%" placement="5"/>
891 <text>%tw_text2%</text>
892 </text>
893
894 <text style="text_m">
895 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
896 <placement x="%center_x%" y="%row5_y%" placement="5"/>
897 <text>%tw_text3%</text>
898 </text>
899
900 <text style="text_m">
901 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
902 <placement x="%center_x%" y="%row6_y%" placement="5"/>
903 <text>%tw_text4%</text>
904 </text>
905
906 <text style="text_m_fail">
907 <condition var1="tw_action" var2="changefilesystem"/>
908 <placement x="%center_x%" y="%row5_y%" placement="5"/>
909 <text>%tw_text3%</text>
910 </text>
911
912 <text style="text_m_fail">
913 <condition var1="tw_action" var2="changefilesystem"/>
914 <placement x="%center_x%" y="%row6_y%" placement="5"/>
915 <text>%tw_text4%</text>
916 </text>
917
918 <text style="text_m">
919 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 </text>
922
923 <slider>
924 <text>%tw_slider_text%</text>
925 <action function="page">action_page</action>
926 </slider>
927
928 <action>
929 <touch key="back"/>
930 <actions>
931 <action function="set">tw_clear_destination=%tw_back%</action>
932 <action function="page">clear_vars</action>
933 </actions>
934 </action>
935
936 <action>
937 <touch key="home"/>
938 <action function="page">main</action>
939 </action>
940 </page>
941
942 <page name="action_page">
943 <template name="page"/>
944
945 <template name="statusbar"/>
946
947 <text style="text_m">
948 <placement x="%col1_x_left%" y="%row1_header_y%"/>
949 <text>%tw_action_text1% %tw_action_text2%</text>
950 </text>
951
952 <template name="console"/>
953
954 <template name="progress_bar"/>
955
956 <button style="main_button_half_height">
957 <condition var1="tw_has_cancel" var2="1"/>
958 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100960 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
961 </button>
962
963 <action>
964 <condition var1="tw_operation_state" var2="1"/>
965 <actions>
966 <action function="page">action_complete</action>
967 </actions>
968 </action>
969
970 <action>
971 <condition var1="tw_has_action2" var2="0"/>
972 <actions>
973 <action function="%tw_action%">%tw_action_param%</action>
974 </actions>
975 </action>
976
977 <action>
978 <condition var1="tw_has_action2" var2="1"/>
979 <actions>
980 <action function="%tw_action%">%tw_action_param%</action>
981 <action function="%tw_action2%">%tw_action2_param%</action>
982 </actions>
983 </action>
984 </page>
985
986 <page name="singleaction_page">
987 <template name="page"/>
988
989 <template name="statusbar"/>
990
991 <text style="text_m">
992 <placement x="%col1_x_left%" y="%row1_header_y%"/>
993 <text>%tw_action_text1% %tw_action_text2%</text>
994 </text>
995
996 <template name="console"/>
997
998 <template name="progress_bar"/>
999
1000 <action>
1001 <condition var1="tw_operation_state" var2="1"/>
1002 <actions>
1003 <action function="set">tw_page_done=1</action>
1004 </actions>
1005 </action>
1006
1007 <action>
1008 <condition var1="tw_has_action2" var2="0"/>
1009 <actions>
1010 <action function="%tw_action%">%tw_action_param%</action>
1011 </actions>
1012 </action>
1013
1014 <action>
1015 <condition var1="tw_has_action2" var2="1"/>
1016 <actions>
1017 <action function="%tw_action%">%tw_action_param%</action>
1018 <action function="%tw_action2%">%tw_action2_param%</action>
1019 </actions>
1020 </action>
1021 </page>
1022
1023 <page name="action_complete">
1024 <template name="page"/>
1025
1026 <template name="statusbar"/>
1027
1028 <text style="text_m_fail">
1029 <condition var1="tw_operation_status" op="!=" var2="0"/>
1030 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001031 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001032 </text>
1033
1034 <text style="text_m">
1035 <condition var1="tw_operation_status" var2="0"/>
1036 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001037 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001038 </text>
1039
1040 <template name="console"/>
1041
1042 <button style="main_button_half_height">
1043 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001044 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001045 <actions>
1046 <action function="set">tw_clear_destination=%tw_back%</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </button>
1050
1051 <button style="main_button_half_height">
1052 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001054 <actions>
1055 <action function="set">tw_back=main2</action>
1056 <action function="set">tw_action=reboot</action>
1057 <action function="set">tw_action_param=system</action>
1058 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1060 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <action function="set">tw_text3=</action>
1062 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001064 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1066 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001067 <action function="page">rebootcheck</action>
1068 </actions>
1069 </button>
1070
1071 <action>
1072 <touch key="home"/>
1073 <actions>
1074 <action function="set">tw_clear_destination=main2</action>
1075 <action function="page">clear_vars</action>
1076 </actions>
1077 </action>
1078
1079 <action>
1080 <touch key="back"/>
1081 <actions>
1082 <action function="set">tw_clear_destination=%tw_back%</action>
1083 <action function="page">clear_vars</action>
1084 </actions>
1085 </action>
1086 </page>
1087
1088 <page name="filecheck">
1089 <action>
1090 <action function="fileexists">%tw_filecheck%</action>
1091 </action>
1092
1093 <action>
1094 <conditions>
1095 <condition var1="tw_operation_state" var2="1"/>
1096 <condition var1="tw_operation_status" var2="0"/>
1097 </conditions>
1098 <actions>
1099 <action function="set">tw_fileexists=1</action>
1100 <action function="page">%tw_existpage%</action>
1101 </actions>
1102 </action>
1103
1104 <action>
1105 <conditions>
1106 <condition var1="tw_operation_state" var2="1"/>
1107 <condition var1="tw_operation_status" var2="1"/>
1108 </conditions>
1109 <actions>
1110 <action function="set">tw_fileexists=0</action>
1111 <action function="page">%tw_notexistpage%</action>
1112 </actions>
1113 </action>
1114 </page>
1115
1116 <page name="rebootcheck">
1117 <action>
1118 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1119 <action function="reboot">%tw_action_param%</action>
1120 </action>
1121
1122 <action>
1123 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1124 <action function="page">confirm_action</action>
1125 </action>
1126 </page>
1127
1128 <page name="wipe_type1">
1129 <template name="page"/>
1130
1131 <template name="statusbar"/>
1132
1133 <text style="text_m">
1134 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001136 </text>
1137
1138 <button style="main_button_full_width">
1139 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <action function="page">wipe</action>
1142 </button>
1143
1144 <button style="main_button_full_width">
1145 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 <actions>
1148 <action function="set">partitionlisterror=0</action>
1149 <action function="page">advancedwipe</action>
1150 </actions>
1151 </button>
1152
1153 <button>
1154 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1155 <highlight color="%highlight_color%"/>
1156 <image resource="q_btn_arrow_right"/>
1157 <action function="page">wipe_type2</action>
1158 </button>
1159
1160 <action>
1161 <touch key="home"/>
1162 <action function="page">main</action>
1163 </action>
1164
1165 <action>
1166 <touch key="back"/>
1167 <action function="page">main</action>
1168 </action>
1169 </page>
1170
1171 <page name="wipe_type2">
1172 <template name="page"/>
1173
1174 <template name="statusbar"/>
1175
1176 <text style="text_m">
1177 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 </text>
1180
1181 <button style="main_button_full_width">
1182 <condition var1="tw_has_data_media" var2="1"/>
1183 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001184 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001185 <action function="page">formatdata</action>
1186 </button>
1187
1188 <button style="main_button_full_width">
1189 <conditions>
1190 <condition var1="tw_is_encrypted" var2="1"/>
1191 <condition var1="tw_has_data_media" var2="0"/>
1192 </conditions>
1193 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <actions>
1196 <action function="set">tw_back=wipe</action>
1197 <action function="set">tw_action=wipe</action>
1198 <action function="set">tw_action_param=DATAMEDIA</action>
1199 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001200 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001201 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1203 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1204 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001205 <action function="page">confirm_action</action>
1206 </actions>
1207 </button>
1208
1209 <button style="main_button_full_width">
1210 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001212 <action function="set">partitionlisterror=0</action>
1213 <action function="page">partitionoptions_select</action>
1214 </actions>
1215 </button>
1216
1217 <button>
1218 <placement x="%col1_x_left%" y="%row11_y%"/>
1219 <highlight color="%highlight_color%"/>
1220 <image resource="q_btn_arrow_left"/>
1221 <action function="page">wipe_type1</action>
1222 </button>
1223
1224 <action>
1225 <touch key="home"/>
1226 <action function="page">main</action>
1227 </action>
1228
1229 <action>
1230 <touch key="back"/>
1231 <action function="page">main</action>
1232 </action>
1233 </page>
1234
1235 <page name="wipe">
1236 <template name="page"/>
1237
1238 <template name="statusbar"/>
1239
1240 <text style="text_m">
1241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001242 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001243 </text>
1244
1245 <text style="text_m_accent">
1246 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m_accent">
1251 <condition var1="tw_has_data_media" var2="1"/>
1252 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <text style="text_m_accent">
1257 <conditions>
1258 <condition var1="tw_has_android_secure" var2="1"/>
1259 <condition var1="fileexists" var2="/and-sec"/>
1260 </conditions>
1261 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m_accent">
1266 <condition var1="tw_has_sdext_partition" var2="1"/>
1267 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m">
1277 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m">
1282 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 <actions>
1289 <action function="set">tw_back=wipe</action>
1290 <action function="set">tw_action=wipe</action>
1291 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1293 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001294 <action function="page">action_page</action>
1295 </actions>
1296 </slider>
1297
1298 <action>
1299 <touch key="back"/>
1300 <action function="page">wipe_type1</action>
1301 </action>
1302
1303 <action>
1304 <touch key="home"/>
1305 <action function="page">main</action>
1306 </action>
1307 </page>
1308
1309 <page name="advancedwipe">
1310 <action>
1311 <action function="set">tw_wipe_list=</action>
1312 </action>
1313
1314 <template name="page"/>
1315
1316 <template name="statusbar"/>
1317
1318 <text style="text_m">
1319 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 </text>
1322
1323 <partitionlist style="partitionlist_headerless_cb">
1324 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1325 <data name="tw_wipe_list"/>
1326 <listtype name="wipe"/>
1327 </partitionlist>
1328
1329 <fill color="%accent_color%">
1330 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1331 </fill>
1332
1333 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 <actions>
1336 <action function="set">tw_back=advancedwipe</action>
1337 <action function="set">tw_action=wipe</action>
1338 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1340 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1341 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="page">action_page</action>
1343 </actions>
1344 </slider>
1345
1346 <action>
1347 <touch key="home"/>
1348 <action function="page">main</action>
1349 </action>
1350
1351 <action>
1352 <touch key="back"/>
1353 <action function="page">wipe_type1</action>
1354 </action>
1355 </page>
1356
1357 <page name="formatdata">
1358 <template name="page"/>
1359
1360 <template name="statusbar"/>
1361
1362 <text style="text_m">
1363 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001365 </text>
1366
1367 <text style="text_m_fail">
1368 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001370 </text>
1371
1372 <text style="text_m_fail">
1373 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 </text>
1376
1377 <text style="text_m">
1378 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <input>
1383 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1384 <text>%tw_confirm_formatdata%</text>
1385 <data name="tw_confirm_formatdata"/>
1386 <restrict minlen="3" maxlen="3" allow="yes"/>
1387 <action function="page">formatdata_confirm</action>
1388 </input>
1389
1390 <fill color="%accent_color%">
1391 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1392 </fill>
1393
1394 <template name="keyboardtemplate"/>
1395
1396 <action>
1397 <touch key="home"/>
1398 <action function="page">main</action>
1399 </action>
1400
1401 <action>
1402 <touch key="back"/>
1403 <action function="page">wipe_type2</action>
1404 </action>
1405 </page>
1406
1407 <page name="formatdata_confirm">
1408 <action>
1409 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1410 <actions>
1411 <action function="set">tw_back=formatdata</action>
1412 <action function="set">tw_action=wipe</action>
1413 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1415 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001416 <action function="page">action_page</action>
1417 </actions>
1418 </action>
1419
1420 <action>
1421 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1422 <action function="page">formatdata</action>
1423 </action>
1424 </page>
1425
1426 <page name="checkpartitionlist">
1427 <action>
1428 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1429 <actions>
1430 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001431 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001432 <action function="page">partitionoptions</action>
1433 </actions>
1434 </action>
1435
1436 <action>
1437 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1438 <actions>
1439 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001440 <action function="page">partitionoptions_select</action>
1441 </actions>
1442 </action>
1443 </page>
1444
1445 <page name="partitionoptions_select">
1446 <action>
1447 <action function="set">tw_wipe_list=</action>
1448 </action>
1449
1450 <template name="page"/>
1451
1452 <template name="statusbar"/>
1453
1454 <text style="text_m">
1455 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001456 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001457 </text>
1458
1459 <partitionlist style="partitionlist_headerless_cb">
1460 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1461 <data name="tw_wipe_list"/>
1462 <listtype name="wipe"/>
1463 </partitionlist>
1464
1465 <fill color="%accent_color%">
1466 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1467 </fill>
1468
z31s1g28f0a922015-11-07 18:50:22 +01001469 <text style="text_m_fail">
1470 <condition var1="partitionlisterror" var2="1"/>
1471 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001473 </text>
1474
1475 <button>
1476 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1477 <highlight color="%highlight_color%"/>
1478 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001479 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001480 <action function="page">checkpartitionlist</action>
1481 </actions>
1482 </button>
1483
1484 <action>
1485 <touch key="home"/>
1486 <action function="page">main</action>
1487 </action>
1488
1489 <action>
1490 <touch key="back"/>
1491 <action function="page">wipe_type2</action>
1492 </action>
1493 </page>
1494
1495 <page name="partitionoptions">
1496
1497 <template name="page"/>
1498
1499 <template name="statusbar"/>
1500
1501 <text style="text_m">
1502 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001503 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001504 </text>
1505
1506 <text style="text_m_accent">
1507 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001509 </text>
1510
1511 <text style="text_m_accent">
1512 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001514 </text>
1515
1516 <text style="text_m">
1517 <condition var1="tw_partition_is_present" var2="1"/>
1518 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 </text>
1521
1522 <text style="text_m">
1523 <condition var1="tw_partition_is_present" var2="0"/>
1524 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <condition var1="tw_partition_removable" var2="1"/>
1530 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001532 </text>
1533
1534 <text style="text_m">
1535 <condition var1="tw_partition_removable" var2="0"/>
1536 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001538 </text>
1539
1540 <text style="text_m">
1541 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001542 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001543 </text>
1544
1545 <text style="text_m">
1546 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 </text>
1549
1550 <text style="text_m">
1551 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001552 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001553 </text>
1554
1555 <text style="text_m">
1556 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001557 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001558 </text>
1559
1560 <button style="main_button">
1561 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1562 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001563 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001564 <actions>
1565 <action function="set">tw_back=partitionoptions</action>
1566 <action function="set">tw_action=resize</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_has_action2=1</action>
1569 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001570 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001572 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1574 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1575 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001576 <action function="page">confirm_action</action>
1577 </actions>
1578 </button>
1579
1580 <button style="main_button">
1581 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1582 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <actions>
1585 <action function="set">tw_back=partitionoptions</action>
1586 <action function="set">tw_action=repair</action>
1587 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1588 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001591 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1592 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1593 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001594 <action function="page">confirm_action</action>
1595 </actions>
1596 </button>
1597
1598 <button>
1599 <placement x="%col1_x_left%" y="%row11_y%"/>
1600 <highlight color="%highlight_color%"/>
1601 <image resource="q_btn_arrow_left"/>
1602 <action function="page">partitionoptions_select</action>
1603 </button>
1604
1605 <button style="main_button">
1606 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 <action function="page">selectfilesystem</action>
1609 </button>
1610
1611 <action>
1612 <touch key="home"/>
1613 <action function="page">main</action>
1614 </action>
1615
1616 <action>
1617 <touch key="back"/>
1618 <action function="page">partitionoptions_select</action>
1619 </action>
1620 </page>
1621
1622 <page name="refreshfilesystem">
1623 <action>
1624 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1625 <actions>
1626 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001627 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001628 <action function="page">selectfilesystem</action>
1629 </actions>
1630 </action>
1631
1632 <action>
1633 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1634 <actions>
1635 <action function="set">partitionlisterror=1</action>
1636 <action function="set">tw_wipe_list=</action>
1637 <action function="page">advancedwipe</action>
1638 </actions>
1639 </action>
1640 </page>
1641
1642 <page name="selectfilesystem">
1643 <template name="page"/>
1644
1645 <template name="statusbar"/>
1646
1647 <text style="text_m">
1648 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001649 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001650 </text>
1651
1652 <button style="main_button">
1653 <condition var1="tw_partition_ext" op="=" var2="1"/>
1654 <placement x="%col1_x_left%" y="%row1_y%"/>
1655 <text>EXT2</text>
1656 <actions>
1657 <action function="set">tw_back=refreshfilesystem</action>
1658 <action function="set">tw_action=changefilesystem</action>
1659 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1660 <action function="set">tw_action_new_file_system=ext2</action>
1661 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1663 <action function="set">tw_text2=EXT2</action>
1664 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1665 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1666 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1667 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1668 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001669 <action function="page">confirm_action</action>
1670 </actions>
1671 </button>
1672
1673 <button style="main_button">
1674 <condition var1="tw_partition_ext" op="=" var2="1"/>
1675 <placement x="%col1_x_left%" y="%row6_y%"/>
1676 <text>EXT3</text>
1677 <actions>
1678 <action function="set">tw_back=refreshfilesystem</action>
1679 <action function="set">tw_action=changefilesystem</action>
1680 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1681 <action function="set">tw_action_new_file_system=ext3</action>
1682 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1684 <action function="set">tw_text2=EXT3</action>
1685 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1686 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1687 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1688 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1689 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001690 <action function="page">confirm_action</action>
1691 </actions>
1692 </button>
1693
1694 <button style="main_button">
1695 <condition var1="tw_partition_ext" op="=" var2="1"/>
1696 <placement x="%col1_x_left%" y="%row11_y%"/>
1697 <text>EXT4</text>
1698 <actions>
1699 <action function="set">tw_back=refreshfilesystem</action>
1700 <action function="set">tw_action=changefilesystem</action>
1701 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1702 <action function="set">tw_action_new_file_system=ext4</action>
1703 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1705 <action function="set">tw_text2=EXT4</action>
1706 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1707 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1708 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1709 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1710 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001711 <action function="page">confirm_action</action>
1712 </actions>
1713 </button>
1714
1715 <button style="main_button">
1716 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1717 <placement x="%col1_x_right%" y="%row1_y%"/>
1718 <text>FAT</text>
1719 <actions>
1720 <action function="set">tw_back=refreshfilesystem</action>
1721 <action function="set">tw_action=changefilesystem</action>
1722 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1723 <action function="set">tw_action_new_file_system=vfat</action>
1724 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001725 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1726 <action function="set">tw_text2=FAT</action>
1727 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1728 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1729 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1730 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1731 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001732 <action function="page">confirm_action</action>
1733 </actions>
1734 </button>
1735
1736 <button style="main_button">
1737 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1738 <placement x="%col1_x_right%" y="%row6_y%"/>
1739 <text>exFAT</text>
1740 <actions>
1741 <action function="set">tw_back=refreshfilesystem</action>
1742 <action function="set">tw_action=changefilesystem</action>
1743 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1744 <action function="set">tw_action_new_file_system=exfat</action>
1745 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001746 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1747 <action function="set">tw_text2=exFAT</action>
1748 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1749 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1750 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1751 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1752 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <action function="page">confirm_action</action>
1754 </actions>
1755 </button>
1756
1757 <button style="main_button">
1758 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1759 <placement x="%col1_x_right%" y="%row11_y%"/>
1760 <text>F2FS</text>
1761 <actions>
1762 <action function="set">tw_back=refreshfilesystem</action>
1763 <action function="set">tw_action=changefilesystem</action>
1764 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1765 <action function="set">tw_action_new_file_system=f2fs</action>
1766 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001767 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1768 <action function="set">tw_text2=F2FS</action>
1769 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1770 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1771 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1772 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1773 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001774 <action function="page">confirm_action</action>
1775 </actions>
1776 </button>
1777
1778 <action>
1779 <touch key="home"/>
1780 <action function="page">main</action>
1781 </action>
1782
1783 <action>
1784 <touch key="back"/>
1785 <action function="page">partitionoptions</action>
1786 </action>
1787 </page>
1788
bigbiffce8f83c2015-12-12 18:30:21 -05001789 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001790 <template name="page"/>
1791
1792 <template name="statusbar"/>
1793
1794 <text style="text_m">
1795 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001796 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001797 </text>
1798
1799 <partitionlist style="partitionlist_headerless_rb">
1800 <data name="tw_storage_path"/>
1801 <listtype name="storage"/>
1802 </partitionlist>
1803
1804 <button>
1805 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1806 <highlight color="%highlight_color%"/>
1807 <image resource="q_btn_refresh"/>
1808 <actions>
1809 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001810 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001811 </actions>
1812 </button>
1813
1814 <button>
1815 <condition var1="tw_back" var2="backup_confirm"/>
1816 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1817 <highlight color="%highlight_color%"/>
1818 <image resource="q_btn_accept"/>
1819 <action function="page">backup_confirm</action>
1820 </button>
1821
1822 <button>
1823 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1824 <highlight color="%highlight_color%"/>
1825 <image resource="q_btn_arrow_right"/>
1826 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001827 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <action function="page">backup_selectpartitions</action>
1829 </actions>
1830 </button>
1831
1832 <action>
1833 <touch key="home"/>
1834 <action function="page">main</action>
1835 </action>
1836
1837 <action>
1838 <touch key="back"/>
1839 <action function="page">%tw_back%</action>
1840 </action>
1841
1842 <action>
1843 <touch key="power+voldown"/>
1844 <action function="screenshot"/>
1845 </action>
1846 </page>
1847
1848 <page name="backup_selectpartitions">
1849 <template name="page"/>
1850
1851 <template name="statusbar"/>
1852
1853 <text style="text_m">
1854 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001856 </text>
1857
1858 <partitionlist style="partitionlist_headerless_cb">
1859 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1860 <data name="tw_backup_list"/>
1861 <listtype name="backup"/>
1862 </partitionlist>
1863
1864 <fill color="%accent_color%">
1865 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1866 </fill>
1867
1868 <button>
1869 <placement x="%col1_x_left%" y="%row11_y%"/>
1870 <highlight color="%highlight_color%"/>
1871 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001872 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001873 </button>
1874
1875 <button>
1876 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1877 <highlight color="%highlight_color%"/>
1878 <image resource="q_btn_refresh"/>
1879 <action function="page">backup_selectpartitions</action>
1880 </button>
1881
1882 <button>
1883 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1884 <highlight color="%highlight_color%"/>
1885 <image resource="q_btn_accept"/>
1886 <action function="page">backup_confirm</action>
1887 </button>
1888
1889 <button>
1890 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1891 <highlight color="%highlight_color%"/>
1892 <image resource="q_btn_arrow_right"/>
1893 <actions>
1894 <action function="set">tw_back=backup_selectpartitions</action>
1895 <action function="page">backup_options</action>
1896 </actions>
1897 </button>
1898
1899 <action>
1900 <touch key="home"/>
1901 <action function="page">main</action>
1902 </action>
1903
1904 <action>
1905 <touch key="back"/>
1906 <action function="page">%tw_back%</action>
1907 </action>
1908
1909 <action>
1910 <touch key="power+voldown"/>
1911 <action function="screenshot"/>
1912 </action>
1913 </page>
1914
1915 <page name="backup_options">
1916 <template name="page"/>
1917
1918 <template name="statusbar"/>
1919
1920 <text style="text_m">
1921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001923 </text>
1924
1925 <listbox style="scrolllist">
1926 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001928 <data variable="tw_use_compression"/>
1929 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001930 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001931 <data variable="tw_skip_md5_generate"/>
1932 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01001934 <data variable="tw_disable_free_space"/>
1935 </listitem>
1936 </listbox>
1937
1938 <button>
1939 <placement x="%col1_x_left%" y="%row11_y%"/>
1940 <highlight color="%highlight_color%"/>
1941 <image resource="q_btn_arrow_left"/>
1942 <action function="page">backup_selectpartitions</action>
1943 </button>
1944
1945 <button>
1946 <conditions>
1947 <condition var1="tw_include_encrypted_backup" var2="1"/>
1948 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001949 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001950 </conditions>
1951 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1952 <highlight color="%highlight_color%"/>
1953 <image resource="q_btn_encryption_dis"/>
1954 <actions>
1955 <action function="set">tw_password_not_match=0</action>
1956 <action function="set">tw_back=backup_options</action>
1957 <action function="page">backupencryption</action>
1958 </actions>
1959 </button>
1960
1961 <button>
1962 <conditions>
1963 <condition var1="tw_include_encrypted_backup" var2="1"/>
1964 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001965 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001966 </conditions>
1967 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1968 <highlight color="%highlight_color%"/>
1969 <image resource="q_btn_encryption_en"/>
1970 <actions>
1971 <action function="set">tw_password_not_match=0</action>
1972 <action function="set">tw_back=backup_options</action>
1973 <action function="page">backupencryption</action>
1974 </actions>
1975 </button>
1976
1977 <button>
1978 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1979 <highlight color="%highlight_color%"/>
1980 <image resource="q_btn_accept_transp"/>
1981 <actions>
1982 <action function="set">tw_back=backup_options</action>
1983 <action function="page">backup_confirm</action>
1984 </actions>
1985 </button>
1986
1987 <action>
1988 <touch key="home"/>
1989 <action function="page">main</action>
1990 </action>
1991
1992 <action>
1993 <touch key="back"/>
1994 <action function="page">%tw_back%</action>
1995 </action>
1996
1997 <action>
1998 <touch key="power+voldown"/>
1999 <action function="screenshot"/>
2000 </action>
2001 </page>
2002
2003 <page name="backup_confirm">
2004 <template name="page"/>
2005
2006 <template name="statusbar"/>
2007
2008 <text style="text_m">
2009 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002010 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002011 </text>
2012
2013 <text style="text_m_accent">
2014 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002015 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002016 </text>
2017
2018 <text style="text_m">
2019 <placement x="%col1_x_left%" y="%row2_y%"/>
2020 <text>%tw_backup_name%</text>
2021 </text>
2022
2023 <fill color="%accent_color%">
2024 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2025 </fill>
2026
2027 <button>
2028 <fill color="%transparent%"/>
2029 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2030 <actions>
2031 <action function="set">tw_back=backup_confirm</action>
2032 <action function="set">tw_fileexists=0</action>
2033 <action function="page">backup_name1</action>
2034 </actions>
2035 </button>
2036
2037 <fill color="%background_color%">
2038 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2039 </fill>
2040
2041 <text style="text_m_accent">
2042 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002043 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002044 </text>
2045
2046 <partitionlist style="partitionlist_summary">
2047 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2048 <data name="tw_backup_list"/>
2049 <listtype name="backup"/>
2050 </partitionlist>
2051
2052 <button>
2053 <fill color="%transparent%"/>
2054 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2055 <actions>
2056 <action function="set">tw_back=backup_confirm</action>
2057 <action function="page">backup_selectpartitions</action>
2058 </actions>
2059 </button>
2060
2061 <text style="text_m_accent">
2062 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002063 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002064 </text>
2065
2066 <text style="text_m">
2067 <placement x="%col1_x_right%" y="%row2_y%"/>
2068 <text>%tw_storage_display_name%</text>
2069 </text>
2070
2071 <button>
2072 <fill color="%transparent%"/>
2073 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2074 <actions>
2075 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002076 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002077 </actions>
2078 </button>
2079
2080 <text style="text_m_accent">
2081 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002082 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002083 </text>
2084
2085 <text style="text_m">
2086 <conditions>
2087 <condition var1="tw_include_encrypted_backup" var2="1"/>
2088 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002089 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002090 </conditions>
2091 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <text style="text_m">
2096 <conditions>
2097 <condition var1="tw_include_encrypted_backup" var2="1"/>
2098 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002099 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002100 </conditions>
2101 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002102 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002103 </text>
2104
2105 <button>
2106 <fill color="%transparent%"/>
2107 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2108 <actions>
2109 <action function="set">tw_back=backup_confirm</action>
2110 <action function="page">backupencryption</action>
2111 </actions>
2112 </button>
2113
2114 <listbox style="listbox_options">
2115 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002117 <data variable="tw_use_compression"/>
2118 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002119 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002120 <data variable="tw_skip_md5_generate"/>
2121 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002122 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01002123 <data variable="tw_disable_free_space"/>
2124 </listitem>
2125 </listbox>
2126
2127 <text style="text_m_accent">
2128 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002129 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002130 </text>
2131
2132 <button>
2133 <fill color="%transparent%"/>
2134 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2135 <actions>
2136 <action function="set">tw_back=backup_confirm</action>
2137 <action function="page">backup_options</action>
2138 </actions>
2139 </button>
2140
2141 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002142 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002143 <action function="page">backup_run</action>
2144 </slider>
2145
2146 <action>
2147 <touch key="home"/>
2148 <action function="page">main</action>
2149 </action>
2150
2151 <action>
2152 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002153 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002154 </action>
2155 </page>
2156
2157 <page name="backup_name1">
2158 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002160 <action function="generatebackupname"/>
2161 </action>
2162
2163 <action>
2164 <action function="page">backup_name2</action>
2165 </action>
2166 </page>
2167
2168 <page name="backup_name2">
2169 <template name="page"/>
2170
2171 <template name="statusbar"/>
2172
2173 <text style="text_m">
2174 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002176 </text>
2177
2178 <text style="text_m_accent">
2179 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002181 </text>
2182
2183 <input>
2184 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2185 <text>%tw_backup_name%</text>
2186 <data name="tw_backup_name"/>
2187 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2188 <actions>
2189 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2190 <action function="set">tw_existpage=backup_name2</action>
2191 <action function="set">tw_notexistpage=backup_confirm</action>
2192 <action function="page">filecheck</action>
2193 </actions>
2194 </input>
2195
2196 <fill color="%accent_color%">
2197 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2198 </fill>
2199
2200 <fill color="%text_fail_color%">
2201 <condition var1="tw_fileexists" var2="1"/>
2202 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2203 </fill>
2204
2205 <text style="text_m_fail">
2206 <condition var1="tw_fileexists" var2="1"/>
2207 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <button style="main_button_half_height">
2212 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002213 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002214 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002216 <action function="page">backup_confirm</action>
2217 </actions>
2218 </button>
2219
2220 <button style="main_button_half_height">
2221 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002222 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002223 <action function="appenddatetobackupname"/>
2224 </button>
2225
2226 <template name="keyboardtemplate"/>
2227
2228 <action>
2229 <touch key="home"/>
2230 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002231 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002232 <action function="page">main</action>
2233 </actions>
2234 </action>
2235
2236 <action>
2237 <touch key="back"/>
2238 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002240 <action function="page">backup_confirm</action>
2241 </actions>
2242 </action>
2243 </page>
2244
2245 <page name="backupencryption">
2246 <template name="page"/>
2247
2248 <template name="statusbar"/>
2249
2250 <text style="text_m">
2251 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002252 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </text>
2254
2255 <text style="text_m_accent">
2256 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <input>
2261 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2262 <text>%tw_backup_encrypt_display%</text>
2263 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2264 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2265 <action function="page">backupencryption2</action>
2266 </input>
2267
2268 <fill color="%accent_color%">
2269 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2270 </fill>
2271
2272 <fill color="%text_fail_color%">
2273 <condition var1="tw_password_not_match" var2="1"/>
2274 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2275 </fill>
2276
2277 <text style="text_m_fail">
2278 <condition var1="tw_password_not_match" var2="1"/>
2279 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 </text>
2282
2283 <button style="main_button_half_height">
2284 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002285 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002286 <actions>
2287 <action function="set">tw_encrypt_backup=0</action>
2288 <action function="set">tw_backup_password=</action>
2289 <action function="set">tw_backup_password2=</action>
2290 <action function="set">tw_backup_encrypt_display=</action>
2291 <action function="set">tw_backup_encrypt_display2=</action>
2292 <action function="page">%tw_back%</action>
2293 </actions>
2294 </button>
2295
2296 <template name="keyboardtemplate"/>
2297
2298 <action>
2299 <touch key="home"/>
2300 <action function="page">main</action>
2301 </action>
2302
2303 <action>
2304 <touch key="back"/>
2305 <action function="page">%tw_back%</action>
2306 </action>
2307 </page>
2308
2309 <page name="backupencryption2">
2310 <template name="page"/>
2311
2312 <template name="statusbar"/>
2313
2314 <text style="text_m">
2315 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002316 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002317 </text>
2318
2319 <text style="text_m_accent">
2320 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 </text>
2323
2324 <input>
2325 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2326 <text>%tw_backup_encrypt_display2%</text>
2327 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2328 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2329 <action function="page">checkbackuppassword</action>
2330 </input>
2331
2332 <fill color="%accent_color%">
2333 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2334 </fill>
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="checkbackuppassword">
2363 <action>
2364 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2365 <actions>
2366 <action function="set">tw_encrypt_backup=1</action>
2367 <action function="page">%tw_back%</action>
2368 </actions>
2369 </action>
2370
2371 <action>
2372 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2373 <actions>
2374 <action function="set">tw_encrypt_backup=0</action>
2375 <action function="set">tw_password_not_match=1</action>
2376 <action function="set">tw_backup_password=</action>
2377 <action function="set">tw_backup_password2=</action>
2378 <action function="set">tw_backup_encrypt_display=</action>
2379 <action function="set">tw_backup_encrypt_display2=</action>
2380 <action function="page">backupencryption</action>
2381 </actions>
2382 </action>
2383 </page>
2384
2385 <page name="backup_run">
2386 <template name="page"/>
2387
2388 <template name="statusbar"/>
2389
2390 <text style="text_m">
2391 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2392 <text>%tw_operation% %tw_partition%</text>
2393 </text>
2394
2395 <template name="console"/>
2396
2397 <template name="progress_bar"/>
2398
2399 <text style="text_m">
2400 <placement x="%indent%" y="%row13a_y%"/>
2401 <text>%tw_file_progress%</text>
2402 </text>
2403
2404 <text style="text_m">
2405 <placement x="%indent%" y="%row14a_y%"/>
2406 <text>%tw_size_progress%</text>
2407 </text>
2408
2409 <button style="main_button_half_height">
2410 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <action function="cancelbackup"/>
2413 </button>
2414
2415 <action>
2416 <action function="nandroid">backup</action>
2417 </action>
2418
2419 <action>
2420 <condition var1="tw_operation_state" var2="1"/>
2421 <condition var1="tw_cancel_backup" var2="0"/>
2422 <actions>
2423 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002424 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002425 <action function="set">tw_show_reboot=1</action>
2426 <action function="page">action_complete</action>
2427 </actions>
2428 </action>
2429
2430 <action>
2431 <condition var1="tw_operation_state" var2="1"/>
2432 <condition var1="tw_cancel_backup" var2="1"/>
2433 <actions>
2434 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002436 <action function="set">tw_show_reboot=1</action>
2437 <action function="page">action_complete</action>
2438 </actions>
2439 </action>
2440 </page>
2441
2442 <page name="restore">
2443 <template name="page"/>
2444
2445 <template name="statusbar"/>
2446
2447 <text style="text_m">
2448 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 </text>
2451
2452 <fileselector>
2453 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2454 <text>%tw_storage_display_name%</text>
2455 <filter folders="1" files="0" nav="0"/>
2456 <path name="tw_backups_folder"/>
2457 <data name="tw_restore" default=""/>
2458 <selection name="tw_restore_name"/>
2459 </fileselector>
2460
2461 <button>
2462 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2463 <highlight color="%highlight_color%"/>
2464 <image resource="q_btn_storage"/>
2465 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002467 <action function="set">tw_back=restore</action>
2468 <action function="page">select_storage</action>
2469 </actions>
2470 </button>
2471
2472 <action>
2473 <condition var1="tw_restore" op="modified"/>
2474 <actions>
2475 <action function="readBackup"/>
2476 <action function="set">tw_back=restore</action>
2477 <action function="page">restore_read</action>
2478 </actions>
2479 </action>
2480
2481 <action>
2482 <touch key="home"/>
2483 <action function="page">main</action>
2484 </action>
2485
2486 <action>
2487 <touch key="back"/>
2488 <action function="page">main</action>
2489 </action>
2490 </page>
2491
2492 <page name="restore_read">
2493 <action>
2494 <condition var1="tw_restore_encrypted" var2="1"/>
2495 <actions>
2496 <action function="set">tw_password_fail=0</action>
2497 <action function="page">restore_decrypt</action>
2498 </actions>
2499 </action>
2500
2501 <action>
2502 <condition var1="tw_restore_encrypted" var2="0"/>
2503 <actions>
2504 <action function="page">restore_select</action>
2505 </actions>
2506 </action>
2507 </page>
2508
2509 <page name="restore_decrypt">
2510 <template name="page"/>
2511
2512 <template name="statusbar"/>
2513
2514 <text style="text_m">
2515 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002516 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002517 </text>
2518
2519 <text style="text_m_accent">
2520 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002521 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002522 </text>
2523
2524 <input>
2525 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2526 <text>%tw_restore_display%</text>
2527 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2528 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2529 <action function="page">try_restore_decrypt</action>
2530 </input>
2531
2532 <fill color="%accent_color%">
2533 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2534 </fill>
2535
2536 <fill color="%text_fail_color%">
2537 <condition var1="tw_password_fail" var2="1"/>
2538 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2539 </fill>
2540
2541 <text style="text_m_fail">
2542 <condition var1="tw_password_fail" var2="1"/>
2543 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 </text>
2546
2547 <button style="main_button_half_height">
2548 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 <actions>
2551 <action function="set">tw_page_done=1</action>
2552 <action function="page">restore</action>
2553 </actions>
2554 </button>
2555
2556 <button style="main_button_half_height">
2557 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002558 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <actions>
2560 <action function="set">tw_back=restore</action>
2561 <action function="set">tw_action=cmd</action>
2562 <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 -05002563 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2564 <action function="set">tw_text2=%tw_restore_name%</action>
2565 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2566 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2567 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2568 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002569 <action function="page">confirm_action</action>
2570 </actions>
2571 </button>
2572
2573 <template name="keyboardtemplate"/>
2574
2575 <action>
2576 <touch key="home"/>
2577 <action function="page">main</action>
2578 </action>
2579
2580 <action>
2581 <touch key="back"/>
2582 <action function="page">restore</action>
2583 </action>
2584 </page>
2585
2586 <page name="try_restore_decrypt">
2587 <template name="page"/>
2588
2589 <template name="statusbar"/>
2590
2591 <text style="text_m">
2592 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002593 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002594 </text>
2595
2596 <template name="console"/>
2597
2598 <template name="progress_bar"/>
2599
2600 <action>
2601 <action function="decrypt_backup"/>
2602 </action>
2603
2604 <action>
2605 <conditions>
2606 <condition var1="tw_operation_state" var2="1"/>
2607 <condition var1="tw_operation_status" op="!=" var2="0"/>
2608 </conditions>
2609 <actions>
2610 <action function="set">tw_password_fail=1</action>
2611 <action function="page">restore_decrypt</action>
2612 </actions>
2613 </action>
2614
2615 <action>
2616 <conditions>
2617 <condition var1="tw_operation_state" var2="1"/>
2618 <condition var1="tw_operation_status" op="=" var2="0"/>
2619 </conditions>
2620 <actions>
2621 <action function="set">tw_page_done=1</action>
2622 <action function="page">restore_select</action>
2623 </actions>
2624 </action>
2625 </page>
2626
2627 <page name="restore_select">
2628 <template name="page"/>
2629
2630 <template name="statusbar"/>
2631
2632 <text style="text_m">
2633 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 </text>
2636
2637 <partitionlist style="partitionlist_headerless_cb">
2638 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2639 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2640 <listtype name="restore"/>
2641 </partitionlist>
2642
2643 <fill color="%accent_color%">
2644 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2645 </fill>
2646
2647 <button>
2648 <placement x="%col1_x_left%" y="%row11_y%"/>
2649 <highlight color="%highlight_color%"/>
2650 <image resource="q_btn_arrow_left"/>
2651 <action function="page">restore</action>
2652 </button>
2653
2654 <button>
2655 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2656 <highlight color="%highlight_color%"/>
2657 <image resource="q_btn_delete"/>
2658 <actions>
2659 <action function="set">tw_back=restore</action>
2660 <action function="set">tw_action=cmd</action>
2661 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002663 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2665 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2666 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2667 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <action function="page">confirm_action</action>
2669 </actions>
2670 </button>
2671
2672 <button>
2673 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2674 <highlight color="%highlight_color%"/>
2675 <image resource="q_btn_accept"/>
2676 <action function="page">restore_confirm</action>
2677 </button>
2678
2679 <button>
2680 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2681 <highlight color="%highlight_color%"/>
2682 <image resource="q_btn_arrow_right"/>
2683 <actions>
2684 <action function="set">tw_back=restore_select</action>
2685 <action function="page">restore_options</action>
2686 </actions>
2687 </button>
2688
2689 <action>
2690 <touch key="home"/>
2691 <action function="page">main</action>
2692 </action>
2693
2694 <action>
2695 <touch key="back"/>
2696 <action function="page">%tw_back%</action>
2697 </action>
2698 </page>
2699
2700 <page name="restore_options">
2701 <template name="page"/>
2702
2703 <template name="statusbar"/>
2704
2705 <text style="text_m">
2706 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002707 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002708 </text>
2709
2710 <listbox style="scrolllist">
2711 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002712 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002713 <data variable="tw_skip_md5_check"/>
2714 </listitem>
2715 </listbox>
2716
2717 <button>
2718 <placement x="%col1_x_left%" y="%row11_y%"/>
2719 <highlight color="%highlight_color%"/>
2720 <image resource="q_btn_arrow_left"/>
2721 <action function="page">restore_select</action>
2722 </button>
2723
2724 <button>
2725 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2726 <highlight color="%highlight_color%"/>
2727 <image resource="q_btn_accept_transp"/>
2728 <actions>
2729 <action function="set">tw_back=restore_options</action>
2730 <action function="page">restore_confirm</action>
2731 </actions>
2732 </button>
2733
2734 <action>
2735 <touch key="home"/>
2736 <action function="page">main</action>
2737 </action>
2738
2739 <action>
2740 <touch key="back"/>
2741 <action function="page">%tw_back%</action>
2742 </action>
2743
2744 <action>
2745 <touch key="power+voldown"/>
2746 <action function="screenshot"/>
2747 </action>
2748 </page>
2749
2750 <page name="renamebackup">
2751 <template name="page"/>
2752
2753 <template name="statusbar"/>
2754
2755 <text style="text_m">
2756 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <text style="text_m_accent">
2761 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <input>
2766 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2767 <text>%tw_backup_rename%</text>
2768 <data name="tw_backup_rename"/>
2769 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2770 <actions>
2771 <action function="set">tw_back=restore</action>
2772 <action function="set">tw_action=cmd</action>
2773 <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 -05002774 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2775 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2776 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2777 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2778 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002779 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2780 <action function="set">tw_existpage=renamebackup</action>
2781 <action function="set">tw_notexistpage=confirm_action</action>
2782 <action function="page">filecheck</action>
2783 </actions>
2784 </input>
2785
2786 <fill color="%accent_color%">
2787 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2788 </fill>
2789
2790 <fill color="%text_fail_color%">
2791 <condition var1="tw_fileexists" var2="1"/>
2792 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2793 </fill>
2794
2795 <text style="text_m_fail">
2796 <condition var1="tw_fileexists" var2="1"/>
2797 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 </text>
2800
2801 <button style="main_button_half_height">
2802 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 <action function="page">restore_confirm</action>
2805 </button>
2806
2807 <template name="keyboardtemplate"/>
2808
2809 <action>
2810 <touch key="home"/>
2811 <action function="page">main</action>
2812 </action>
2813
2814 <action>
2815 <touch key="back"/>
2816 <action function="page">restore_confirm</action>
2817 </action>
2818 </page>
2819
2820 <page name="restore_confirm">
2821 <template name="page"/>
2822
2823 <template name="statusbar"/>
2824
2825 <text style="text_m">
2826 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002828 </text>
2829
2830 <text style="text_m_accent">
2831 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002833 </text>
2834
2835 <text style="text_m">
2836 <placement x="%indent%" y="%row2_y%"/>
2837 <text>%tw_restore_name%</text>
2838 </text>
2839
2840 <fill color="%accent_color%">
2841 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2842 </fill>
2843
2844 <button>
2845 <fill color="%transparent%"/>
2846 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2847 <actions>
2848 <action function="set">tw_back=restore_confirm</action>
2849 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2850 <action function="set">tw_fileexists=0</action>
2851 <action function="page">renamebackup</action>
2852 </actions>
2853 </button>
2854
2855 <text style="text_m_accent">
2856 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002857 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002858 </text>
2859
2860 <partitionlist style="partitionlist_summary">
2861 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2862 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2863 <listtype name="restore"/>
2864 </partitionlist>
2865
2866 <button>
2867 <fill color="%transparent%"/>
2868 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2869 <actions>
2870 <action function="set">tw_back=restore_confirm</action>
2871 <action function="page">restore_select</action>
2872 </actions>
2873 </button>
2874
2875 <listbox style="listbox_options">
2876 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002877 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002878 <data variable="tw_skip_md5_check"/>
2879 </listitem>
2880 </listbox>
2881
2882 <text style="text_m_accent">
2883 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <button>
2888 <fill color="%transparent%"/>
2889 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2890 <actions>
2891 <action function="set">tw_back=restore_confirm</action>
2892 <action function="page">restore_options</action>
2893 </actions>
2894 </button>
2895
2896 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 <action function="page">restore_run</action>
2899 </slider>
2900
2901 <action>
2902 <touch key="home"/>
2903 <action function="page">main</action>
2904 </action>
2905
2906 <action>
2907 <touch key="back"/>
2908 <action function="page">restore_options</action>
2909 </action>
2910 </page>
2911
2912 <page name="restore_run">
2913 <template name="page"/>
2914
2915 <template name="statusbar"/>
2916
2917 <text style="text_m">
2918 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2919 <text>%tw_operation% %tw_partition%</text>
2920 </text>
2921
2922 <template name="console"/>
2923
2924 <template name="progress_bar"/>
2925
2926 <text style="text_m">
2927 <placement x="%indent%" y="%row14a_y%"/>
2928 <text>%tw_size_progress%</text>
2929 </text>
2930
2931 <action>
2932 <condition var1="tw_operation_state" var2="1"/>
2933 <actions>
2934 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06002935 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002936 <action function="set">tw_show_reboot=1</action>
2937 <action function="page">action_complete</action>
2938 </actions>
2939 </action>
2940
2941 <action>
2942 <action function="nandroid">restore</action>
2943 </action>
2944 </page>
2945
2946 <page name="mount">
2947 <template name="page"/>
2948
2949 <template name="statusbar"/>
2950
2951 <text style="text_m">
2952 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 </text>
2955
2956 <partitionlist style="partitionlist_headerless_cb">
2957 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2958 <listtype name="mount"/>
2959 </partitionlist>
2960
2961 <fill color="%accent_color%">
2962 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2963 </fill>
2964
2965 <button style="checkbox">
2966 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2967 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002969 <image resource="checkbox_false"/>
2970 <action function="mountsystemtoggle">1</action>
2971 </button>
2972
2973 <button style="checkbox">
2974 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2975 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 <image resource="checkbox_true"/>
2978 <actions>
2979 <action function="set">tw_lifetime_writes=2</action>
2980 <action function="page">system_readonly_check</action>
2981 </actions>
2982 </button>
2983
2984 <button style="checkbox">
2985 <conditions>
2986 <condition var1="tw_has_mtp" var2="1"/>
2987 <condition var1="tw_mtp_enabled" var2="0"/>
2988 </conditions>
2989 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2990 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 <action function="startmtp"/>
2993 </button>
2994
2995 <button style="checkbox">
2996 <conditions>
2997 <condition var1="tw_has_mtp" var2="1"/>
2998 <condition var1="tw_mtp_enabled" var2="1"/>
2999 </conditions>
3000 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3001 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003003 <action function="stopmtp"/>
3004 </button>
3005
3006 <button>
3007 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3008 <highlight color="%highlight_color%"/>
3009 <image resource="q_btn_storage"/>
3010 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003012 <action function="set">tw_back=mount</action>
3013 <action function="page">select_storage</action>
3014 </actions>
3015 </button>
3016
3017 <button>
3018 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3019 <highlight color="%highlight_color%"/>
3020 <image resource="q_btn_arrow_right"/>
3021 <action function="page">mount_options</action>
3022 </button>
3023
3024 <action>
3025 <touch key="home"/>
3026 <action function="page">main</action>
3027 </action>
3028
3029 <action>
3030 <touch key="back"/>
3031 <action function="page">main</action>
3032 </action>
3033 </page>
3034
3035 <page name="mount_options">
3036 <template name="page"/>
3037
3038 <template name="statusbar"/>
3039
3040 <text style="text_m">
3041 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 </text>
3044
3045 <button style="main_button_full_width">
3046 <condition var1="tw_has_usb_storage" var2="1"/>
3047 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <action function="page">usb_mount</action>
3050 </button>
3051
3052 <button style="main_button_full_width">
3053 <conditions>
3054 <condition var1="tw_is_encrypted" var2="1"/>
3055 <condition var1="tw_is_decrypted" var2="0"/>
3056 </conditions>
3057 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003059 <action function="page">decrypt</action>
3060 </button>
3061
3062 <button>
3063 <placement x="%col1_x_left%" y="%row11_y%"/>
3064 <highlight color="%highlight_color%"/>
3065 <image resource="q_btn_arrow_left"/>
3066 <action function="page">mount</action>
3067 </button>
3068
3069 <action>
3070 <touch key="home"/>
3071 <action function="page">main</action>
3072 </action>
3073
3074 <action>
3075 <touch key="back"/>
3076 <action function="page">mount</action>
3077 </action>
3078 </page>
3079
3080 <page name="usb_mount">
3081 <template name="page"/>
3082
3083 <template name="statusbar"/>
3084
3085 <text style="text_m">
3086 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003087 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003088 </text>
3089
3090 <text style="text_m_accent">
3091 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 </text>
3094
3095 <text style="text_m_fail">
3096 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 </text>
3099
3100 <text style="text_m_fail">
3101 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 </text>
3104
3105 <button style="main_button">
3106 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <action function="page">usb_umount</action>
3109 </button>
3110
3111 <action>
3112 <action function="mount">usb</action>
3113 <action function="set">tw_busy=1</action>
3114 </action>
3115 </page>
3116
3117 <page name="usb_umount">
3118 <action>
3119 <action function="unmount">usb</action>
3120 </action>
3121
3122 <action>
3123 <action function="page">mount_options</action>
3124 <action function="set">tw_busy=0</action>
3125 </action>
3126 </page>
3127
3128 <page name="system_readonly_check">
3129 <action>
3130 <action function="checkpartitionlifetimewrites">/system</action>
3131 </action>
3132
3133 <action>
3134 <condition var1="tw_lifetime_writes" var2="1"/>
3135 <actions>
3136 <action function="mountsystemtoggle">0</action>
3137 <action function="page">mount</action>
3138 </actions>
3139 </action>
3140
3141 <action>
3142 <condition var1="tw_lifetime_writes" var2="0"/>
3143 <actions>
3144 <action function="set">tw_back=mount</action>
3145 <action function="page">system_readonly</action>
3146 </actions>
3147 </action>
3148 </page>
3149
3150 <page name="reboot">
3151 <template name="page"/>
3152
3153 <template name="statusbar"/>
3154
3155 <text style="text_m">
3156 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003157 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 </text>
3159
3160 <button style="main_button">
3161 <condition var1="tw_reboot_system" var2="1"/>
3162 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <actions>
3165 <action function="set">tw_back=reboot</action>
3166 <action function="set">tw_action=reboot</action>
3167 <action function="set">tw_action_param=system</action>
3168 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3170 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3171 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3172 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3173 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003174 <action function="page">rebootcheck</action>
3175 </actions>
3176 </button>
3177
3178 <button style="main_button">
3179 <condition var1="tw_reboot_poweroff" var2="1"/>
3180 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <actions>
3183 <action function="set">tw_back=reboot</action>
3184 <action function="set">tw_action=reboot</action>
3185 <action function="set">tw_action_param=poweroff</action>
3186 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3188 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3189 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3190 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3191 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003192 <action function="page">rebootcheck</action>
3193 </actions>
3194 </button>
3195
3196 <button style="main_button">
3197 <condition var1="tw_reboot_recovery" var2="1"/>
3198 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <actions>
3201 <action function="set">tw_back=reboot</action>
3202 <action function="set">tw_action=reboot</action>
3203 <action function="set">tw_action_param=recovery</action>
3204 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3206 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3207 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3208 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3209 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <action function="page">rebootcheck</action>
3211 </actions>
3212 </button>
3213
3214 <button style="main_button">
3215 <condition var1="tw_reboot_bootloader" var2="1"/>
3216 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003218 <actions>
3219 <action function="set">tw_back=reboot</action>
3220 <action function="set">tw_action=reboot</action>
3221 <action function="set">tw_action_param=bootloader</action>
3222 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3224 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3225 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3226 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3227 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <action function="page">rebootcheck</action>
3229 </actions>
3230 </button>
3231
3232 <button style="main_button">
3233 <condition var1="tw_download_mode" var2="1"/>
3234 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <actions>
3237 <action function="set">tw_back=reboot</action>
3238 <action function="set">tw_action=reboot</action>
3239 <action function="set">tw_action_param=download</action>
3240 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3242 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3243 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3244 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3245 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <action function="page">rebootcheck</action>
3247 </actions>
3248 </button>
3249
3250 <action>
3251 <touch key="home"/>
3252 <action function="page">main</action>
3253 </action>
3254
3255 <action>
3256 <touch key="back"/>
3257 <action function="page">main</action>
3258 </action>
3259 </page>
3260
3261 <page name="system_readonly">
3262 <template name="page"/>
3263
3264 <template name="statusbar"/>
3265
3266 <text style="text_m">
3267 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </text>
3270
3271 <text style="text_m_accent">
3272 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 </text>
3275
3276 <text style="text_m">
3277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003278 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003279 </text>
3280
3281 <text style="text_m">
3282 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </text>
3285
3286 <text style="text_m">
3287 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m">
3292 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003297 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003302 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 </text>
3305
z31s1g608d7ff2016-01-18 19:47:25 +01003306 <button style="main_button_half_height">
3307 <placement x="%col1_x_right%" y="%row8a_y%"/>
3308 <text>{@sel_lang_btn=Select Language}</text>
3309 <action function="page">settings_language</action>
3310 </button>
3311
z31s1g28f0a922015-11-07 18:50:22 +01003312 <checkbox>
3313 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003314 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 <data variable="tw_never_show_system_ro_page"/>
3317 </checkbox>
3318
3319 <button style="main_button_half_height">
3320 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <actions>
3323 <action function="mountsystemtoggle">1</action>
3324 <action function="set">tw_page_done=1</action>
3325 <action function="page">%tw_back%</action>
3326 </actions>
3327 </button>
3328
3329 <button style="main_button_half_height">
3330 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 <actions>
3333 <action function="mountsystemtoggle">0</action>
3334 <action function="set">tw_page_done=1</action>
3335 <action function="page">%tw_back%</action>
3336 </actions>
3337 </button>
3338 </page>
3339
3340 <page name="settings">
3341 <template name="page"/>
3342
3343 <template name="statusbar"/>
3344
3345 <text style="text_m">
3346 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </text>
3349
3350 <button style="main_button">
3351 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003352 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003353 <action function="page">settings_general</action>
3354 </button>
3355
3356 <button style="main_button">
3357 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003359 <action function="page">settings_timezone</action>
3360 </button>
3361
3362 <button style="main_button">
3363 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003365 <action function="page">settings_screen</action>
3366 </button>
3367
3368 <button style="main_button">
3369 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003370 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003371 <action function="page">settings_vibration</action>
3372 </button>
3373
3374 <button style="main_button">
3375 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 <action function="page">settings_language</action>
3378 </button>
3379
3380 <button>
3381 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3382 <highlight color="%highlight_color%"/>
3383 <image resource="q_btn_reset"/>
3384 <action function="restoredefaultsettings"/>
3385 </button>
3386
3387 <action>
3388 <touch key="home"/>
3389 <action function="page">main</action>
3390 </action>
3391
3392 <action>
3393 <touch key="back"/>
3394 <action function="page">main3</action>
3395 </action>
3396 </page>
3397
3398 <page name="settings_general">
3399 <template name="page"/>
3400
3401 <template name="statusbar"/>
3402
3403 <text style="text_m">
3404 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 </text>
3407
3408 <listbox style="scrolllist">
3409 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003410 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003411 <data variable="tw_signed_zip_verify"/>
3412 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003414 <data variable="tw_rm_rf"/>
3415 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003417 <data variable="tw_skip_md5_generate"/>
3418 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003419 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003420 <data variable="tw_skip_md5_check"/>
3421 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003422 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003423 <data variable="tw_military_time"/>
3424 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003425 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003426 <data variable="tw_simulate_actions"/>
3427 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003429 <data variable="tw_simulate_fail"/>
3430 <condition var1="tw_simulate_actions" var2="1"/>
3431 </listitem>
3432 </listbox>
3433
3434 <action>
3435 <touch key="home"/>
3436 <action function="page">main</action>
3437 </action>
3438
3439 <action>
3440 <touch key="back"/>
3441 <action function="page">settings</action>
3442 </action>
3443 </page>
3444
3445 <page name="settings_timezone">
3446 <template name="page"/>
3447
3448 <template name="statusbar"/>
3449
3450 <text style="text_m">
3451 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <text color="%text_color%">
3456 <font resource="font_m"/>
3457 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3458 <text>%tw_time%</text>
3459 </text>
3460
3461 <listbox style="listbox_headerless">
3462 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3463 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3465 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3466 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3467 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3468 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3469 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3470 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3471 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3472 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3473 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3474 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3475 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3476 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3477 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3478 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3479 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3480 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3481 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3482 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3483 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3484 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3485 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3486 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3487 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </listbox>
3489
3490 <button>
3491 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3492 <highlight color="%highlight_color%"/>
3493 <image resource="q_btn_arrow_right"/>
3494 <actions>
3495 <action function="setguitimezone"/>
3496 <action function="page">settings_timezone2</action>
3497 </actions>
3498 </button>
3499
3500 <action>
3501 <condition var1="tw_time_zone_guisel" op="modified"/>
3502 <action function="setguitimezone"/>
3503 </action>
3504
3505 <action>
3506 <touch key="home"/>
3507 <actions>
3508 <action function="page">main</action>
3509 <action function="setguitimezone"/>
3510 </actions>
3511 </action>
3512
3513 <action>
3514 <touch key="back"/>
3515 <actions>
3516 <action function="page">settings</action>
3517 <action function="setguitimezone"/>
3518 </actions>
3519 </action>
3520
3521 <action>
3522 <touch key="power+voldown"/>
3523 <action function="screenshot"/>
3524 </action>
3525 </page>
3526
3527 <page name="settings_timezone2">
3528 <template name="page"/>
3529
3530 <template name="statusbar"/>
3531
3532 <text style="text_m">
3533 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 </text>
3536
3537 <text color="%text_color%">
3538 <font resource="font_m"/>
3539 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3540 <text>%tw_time%</text>
3541 </text>
3542
3543 <checkbox>
3544 <placement x="%col1_x_left%" y="%row1_y%"/>
3545 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003546 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003547 <data variable="tw_time_zone_guidst"/>
3548 <image checked="checkbox_true" unchecked="checkbox_false"/>
3549 </checkbox>
3550
3551 <text style="text_m_accent">
3552 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003553 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003554 </text>
3555
3556 <button style="main_button_quarter_width">
3557 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <actions>
3560 <action function="set">tw_time_zone_guioffset=0</action>
3561 <action function="setguitimezone"/>
3562 </actions>
3563 </button>
3564
3565 <button style="main_button_quarter_width">
3566 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 <actions>
3569 <action function="set">tw_time_zone_guioffset=15</action>
3570 <action function="setguitimezone"/>
3571 </actions>
3572 </button>
3573
3574 <button style="main_button_quarter_width">
3575 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003577 <actions>
3578 <action function="set">tw_time_zone_guioffset=30</action>
3579 <action function="setguitimezone"/>
3580 </actions>
3581 </button>
3582
3583 <button style="main_button_quarter_width">
3584 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <actions>
3587 <action function="set">tw_time_zone_guioffset=45</action>
3588 <action function="setguitimezone"/>
3589 </actions>
3590 </button>
3591
3592 <button>
3593 <placement x="%col1_x_left%" y="%row11_y%"/>
3594 <highlight color="%highlight_color%"/>
3595 <image resource="q_btn_arrow_left"/>
3596 <actions>
3597 <action function="setguitimezone"/>
3598 <action function="page">settings_timezone</action>
3599 </actions>
3600 </button>
3601
3602 <text style="text_m_accent">
3603 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </text>
3606
3607 <text style="text_m">
3608 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3609 <text>%tw_time_zone%</text>
3610 </text>
3611
3612 <action>
3613 <condition var1="tw_time_zone_guidst" op="modified"/>
3614 <action function="setguitimezone"/>
3615 </action>
3616
3617 <action>
3618 <touch key="home"/>
3619 <actions>
3620 <action function="setguitimezone"/>
3621 <action function="page">main</action>
3622 </actions>
3623 </action>
3624
3625 <action>
3626 <touch key="back"/>
3627 <actions>
3628 <action function="setguitimezone"/>
3629 <action function="page">settings_timezone</action>
3630 </actions>
3631 </action>
3632 </page>
3633
3634 <page name="settings_screen">
3635 <template name="page"/>
3636
3637 <template name="statusbar"/>
3638
3639 <text style="text_m">
3640 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003642 </text>
3643
3644 <button style="checkbox">
3645 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3646 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3647 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <image resource="checkbox_false"/>
3650 <action function="set">tw_screen_timeout_secs=60</action>
3651 </button>
3652
3653 <button style="checkbox">
3654 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3655 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3656 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 <image resource="checkbox_true"/>
3659 <action function="set">tw_screen_timeout_secs=0</action>
3660 </button>
3661
3662 <slidervalue>
3663 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3664 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003666 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3667 </slidervalue>
3668
3669 <text style="text_m_fail">
3670 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3671 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 </text>
3674
3675 <button>
3676 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3677 <highlight color="%highlight_color%"/>
3678 <image resource="q_btn_arrow_right"/>
3679 <action function="page">settings_screen2</action>
3680 </button>
3681
3682 <action>
3683 <touch key="home"/>
3684 <action function="page">main</action>
3685 </action>
3686
3687 <action>
3688 <touch key="back"/>
3689 <action function="page">settings</action>
3690 </action>
3691 </page>
3692
3693 <page name="settings_screen2">
3694 <template name="page"/>
3695
3696 <template name="statusbar"/>
3697
3698 <text style="text_m">
3699 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003700 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003701 </text>
3702
3703 <slidervalue>
3704 <condition var1="tw_has_brightnesss_file" var2="1"/>
3705 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 <data variable="tw_brightness_pct" min="10" max="100"/>
3708 <actions>
3709 <action function="set">tw_brightness=%tw_brightness_max%</action>
3710 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3711 <action function="compute">tw_brightness/100</action>
3712 <action function="setbrightness">%tw_brightness%</action>
3713 </actions>
3714 </slidervalue>
3715
3716 <text style="text_m_fail">
3717 <condition var1="tw_has_brightnesss_file" var2="0"/>
3718 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 </text>
3721
3722 <button>
3723 <placement x="%col1_x_left%" y="%row11_y%"/>
3724 <highlight color="%highlight_color%"/>
3725 <image resource="q_btn_arrow_left"/>
3726 <action function="page">settings_screen</action>
3727 </button>
3728
3729 <action>
3730 <touch key="home"/>
3731 <action function="page">main</action>
3732 </action>
3733
3734 <action>
3735 <touch key="back"/>
3736 <action function="page">settings</action>
3737 </action>
3738 </page>
3739
3740 <page name="settings_vibration">
3741 <template name="page"/>
3742
3743 <template name="statusbar"/>
3744
3745 <text style="text_m">
3746 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 </text>
3749
3750 <slidervalue>
3751 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003753 <data variable="tw_button_vibrate" min="0" max="300"/>
3754 </slidervalue>
3755
3756 <button>
3757 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3758 <highlight color="%highlight_color%"/>
3759 <image resource="q_btn_arrow_right"/>
3760 <action function="page">settings_vibration2</action>
3761 </button>
3762
3763 <action>
3764 <touch key="home"/>
3765 <action function="page">main</action>
3766 </action>
3767
3768 <action>
3769 <touch key="back"/>
3770 <action function="page">settings</action>
3771 </action>
3772 </page>
3773
3774 <page name="settings_vibration2">
3775 <template name="page"/>
3776
3777 <template name="statusbar"/>
3778
3779 <text style="text_m">
3780 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 </text>
3783
3784 <slidervalue>
3785 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3788 </slidervalue>
3789
3790 <button>
3791 <placement x="%col1_x_left%" y="%row11_y%"/>
3792 <highlight color="%highlight_color%"/>
3793 <image resource="q_btn_arrow_left"/>
3794 <action function="page">settings_vibration</action>
3795 </button>
3796
3797 <button>
3798 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3799 <highlight color="%highlight_color%"/>
3800 <image resource="q_btn_arrow_right"/>
3801 <action function="page">settings_vibration3</action>
3802 </button>
3803
3804 <action>
3805 <touch key="home"/>
3806 <action function="page">main</action>
3807 </action>
3808
3809 <action>
3810 <touch key="back"/>
3811 <action function="page">settings</action>
3812 </action>
3813 </page>
3814
3815 <page name="settings_vibration3">
3816 <template name="page"/>
3817
3818 <template name="statusbar"/>
3819
3820 <text style="text_m">
3821 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003823 </text>
3824
3825 <slidervalue>
3826 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 <data variable="tw_action_vibrate" min="0" max="500"/>
3829 </slidervalue>
3830
3831 <button>
3832 <placement x="%col1_x_left%" y="%row11_y%"/>
3833 <highlight color="%highlight_color%"/>
3834 <image resource="q_btn_arrow_left"/>
3835 <action function="page">settings_vibration2</action>
3836 </button>
3837
3838 <action>
3839 <touch key="home"/>
3840 <action function="page">main</action>
3841 </action>
3842
3843 <action>
3844 <touch key="back"/>
3845 <action function="page">settings</action>
3846 </action>
3847 </page>
3848
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <page name="settings_language">
3850 <template name="page"/>
3851
3852 <template name="statusbar"/>
3853
3854 <text style="text_m">
3855 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3856 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3857 </text>
3858
z31s1g608d7ff2016-01-18 19:47:25 +01003859 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3861 <icon selected="radio_true" unselected="radio_false" />
3862 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01003863 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864
3865 <button>
3866 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3867 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003868 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <action function="setlanguage"></action>
3870 </button>
3871
z31s1g608d7ff2016-01-18 19:47:25 +01003872 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <touch key="home" />
3874 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003875 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876
z31s1g608d7ff2016-01-18 19:47:25 +01003877 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <touch key="back" />
3879 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003880 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 </page>
3882
z31s1g28f0a922015-11-07 18:50:22 +01003883 <page name="advanced">
3884 <template name="page"/>
3885
3886 <template name="statusbar"/>
3887
3888 <text style="text_m">
3889 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 </text>
3892
3893 <button style="main_button">
3894 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003896 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003897 </button>
3898
3899 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003900 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003902 <text>{@fix_context_btn=Fix Contexts}</text>
3903 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003904 </button>
3905
3906 <button style="main_button">
3907 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003909 <action function="reload"/>
3910 </button>
3911
3912 <button style="main_button">
3913 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3914 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003916 <actions>
3917 <action function="set">partitionlisterror=0</action>
3918 <action function="page">partsdcardsel</action>
3919 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003920 </button>
3921
3922 <button style="main_button">
3923 <condition var1="tw_show_dumlock" var2="1"/>
3924 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003926 <action function="page">htcdumlock</action>
3927 </button>
3928
3929 <button style="main_button">
3930 <condition var1="tw_has_injecttwrp" var2="1"/>
3931 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 <actions>
3934 <action function="set">tw_back=advanced</action>
3935 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3937 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3938 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3939 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003940 <action function="page">confirm_action</action>
3941 </actions>
3942 </button>
3943
3944 <action>
3945 <touch key="home"/>
3946 <action function="page">main</action>
3947 </action>
3948
3949 <action>
3950 <touch key="back"/>
3951 <action function="page">main3</action>
3952 </action>
3953 </page>
3954
Ethan Yonker483e9f42016-01-11 22:21:18 -06003955 <page name="partsdcardsel">
3956 <template name="page"/>
3957
3958 <template name="statusbar"/>
3959
3960 <text style="text_m">
3961 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3962 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
3963 </text>
3964
3965 <partitionlist style="partitionlist_headerless_rb">
3966 <data name="tw_storage_path"/>
3967 <listtype name="storage"/>
3968 </partitionlist>
3969
3970 <text style="text_m_fail">
3971 <condition var1="partitionlisterror" var2="1"/>
3972 <placement x="%center_x%" y="%row9_y%" placement="5"/>
3973 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3974 </text>
3975
3976 <button>
3977 <placement x="%btn4_col2_x%" y="%row11_y%"/>
3978 <highlight color="%highlight_color%"/>
3979 <image resource="q_btn_refresh"/>
3980 <action function="refreshsizes"/>
3981 </button>
3982
3983 <button>
3984 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3985 <highlight color="%highlight_color%"/>
3986 <image resource="q_btn_accept"/>
3987 <actions>
3988 <action function="getpartitiondetails">tw_storage_path</action>
3989 <action function="page">partsdcardcheck</action>
3990 </actions>
3991 </button>
3992
3993 <action>
3994 <touch key="home"/>
3995 <action function="page">main</action>
3996 </action>
3997
3998 <action>
3999 <touch key="back"/>
4000 <action function="page">advanced</action>
4001 </action>
4002 </page>
4003
4004 <page name="partsdcardcheck">
4005 <action>
4006 <condition var1="tw_partition_removable" op="=" var2="1"/>
4007 <actions>
4008 <action function="set">partitionlisterror=0</action>
4009 <action function="page">partsdcard</action>
4010 </actions>
4011 </action>
4012
4013 <action>
4014 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4015 <actions>
4016 <action function="set">partitionlisterror=1</action>
4017 <action function="page">partsdcardsel</action>
4018 </actions>
4019 </action>
4020 </page>
4021
z31s1g28f0a922015-11-07 18:50:22 +01004022 <page name="partsdcard">
4023 <template name="page"/>
4024
4025 <template name="statusbar"/>
4026
4027 <text style="text_m">
4028 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004029 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004030 </text>
4031
4032 <text style="text_m_fail">
4033 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004034 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004035 </text>
4036
4037 <text style="text_m_fail">
4038 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <text style="text_m_accent">
4043 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 </text>
4046
4047 <text style="text_m">
4048 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4049 <text>%tw_sdext_size%</text>
4050 </text>
4051
4052 <button style="main_button_quarter_width">
4053 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004054 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004055 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004056 </button>
4057
4058 <button style="main_button_quarter_width">
4059 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004061 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004062 </button>
4063
4064 <button>
4065 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4066 <highlight color="%highlight_color%"/>
4067 <image resource="q_btn_arrow_right"/>
4068 <action function="page">partsdcard2</action>
4069 </button>
4070
4071 <action>
4072 <touch key="home"/>
4073 <action function="page">main</action>
4074 </action>
4075
4076 <action>
4077 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004078 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </action>
4080 </page>
4081
4082 <page name="partsdcard2">
4083 <template name="page"/>
4084
4085 <template name="statusbar"/>
4086
4087 <text style="text_m">
4088 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
4092 <text style="text_m_fail">
4093 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <text style="text_m_fail">
4098 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004099 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004100 </text>
4101
4102 <text style="text_m_accent">
4103 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <text style="text_m">
4108 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4109 <text>%tw_swap_size%</text>
4110 </text>
4111
4112 <button style="main_button_quarter_width">
4113 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004115 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004116 </button>
4117
4118 <button style="main_button_quarter_width">
4119 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004121 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </button>
4123
4124 <button>
4125 <placement x="%col1_x_left%" y="%row11_y%"/>
4126 <highlight color="%highlight_color%"/>
4127 <image resource="q_btn_arrow_left"/>
4128 <action function="page">partsdcard</action>
4129 </button>
4130
4131 <button>
4132 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4133 <highlight color="%highlight_color%"/>
4134 <image resource="q_btn_arrow_right"/>
4135 <action function="page">partsdcard3</action>
4136 </button>
4137
4138 <action>
4139 <touch key="home"/>
4140 <action function="page">main</action>
4141 </action>
4142
4143 <action>
4144 <touch key="back"/>
4145 <action function="page">advanced</action>
4146 </action>
4147 </page>
4148
4149 <page name="partsdcard3">
4150 <template name="page"/>
4151
4152 <template name="statusbar"/>
4153
4154 <text style="text_m">
4155 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <text style="text_m_fail">
4160 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </text>
4163
4164 <text style="text_m_fail">
4165 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004166 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004167 </text>
4168
4169 <text style="text_m_accent">
4170 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004172 </text>
4173
4174 <text style="text_m">
4175 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4176 <text>%tw_sdpart_file_system%</text>
4177 </text>
4178
4179 <button style="main_button_quarter_width">
4180 <placement x="%indent%" y="%row6_y%"/>
4181 <text>EXT3</text>
4182 <action function="set">tw_sdpart_file_system=ext3</action>
4183 </button>
4184
4185 <button style="main_button_quarter_width">
4186 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4187 <text>EXT4</text>
4188 <action function="set">tw_sdpart_file_system=ext4</action>
4189 </button>
4190
4191 <button>
4192 <placement x="%col1_x_left%" y="%row11_y%"/>
4193 <highlight color="%highlight_color%"/>
4194 <image resource="q_btn_arrow_left"/>
4195 <action function="page">partsdcard2</action>
4196 </button>
4197
4198 <button>
4199 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4200 <highlight color="%highlight_color%"/>
4201 <image resource="q_btn_arrow_right"/>
4202 <action function="page">partsdcard_confirm</action>
4203 </button>
4204
4205 <action>
4206 <touch key="home"/>
4207 <action function="page">main</action>
4208 </action>
4209
4210 <action>
4211 <touch key="back"/>
4212 <action function="page">advanced</action>
4213 </action>
4214 </page>
4215
4216 <page name="partsdcard_confirm">
4217 <template name="page"/>
4218
4219 <template name="statusbar"/>
4220
4221 <text style="text_m">
4222 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </text>
4225
4226 <text style="text_m_fail">
4227 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004228 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004229 </text>
4230
4231 <text style="text_m_fail">
4232 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 </text>
4235
4236 <text style="text_m_accent">
4237 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004238 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004239 </text>
4240
4241 <text style="text_m_accent">
4242 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004243 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004244 </text>
4245
4246 <text style="text_m_accent">
4247 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004248 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004249 </text>
4250
4251 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004252 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004253 <action function="page">partsdcardaction</action>
4254 <actions>
4255 <action function="set">tw_back=partsdcard</action>
4256 <action function="set">tw_action=partitionsd</action>
4257 <action function="set">tw_has_action2=1</action>
4258 <action function="set">tw_action2=set</action>
4259 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4261 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4262 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004263 <action function="page">action_page</action>
4264 </actions>
4265 </slider>
4266
4267 <action>
4268 <touch key="home"/>
4269 <action function="page">main</action>
4270 </action>
4271
4272 <action>
4273 <touch key="back"/>
4274 <action function="page">advanced</action>
4275 </action>
4276 </page>
4277
4278 <page name="htcdumlock">
4279 <template name="page"/>
4280
4281 <template name="statusbar"/>
4282
4283 <text style="text_m">
4284 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 </text>
4287
4288 <button style="main_button_full_width">
4289 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 <actions>
4292 <action function="set">tw_back=htcdumlock</action>
4293 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4295 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4296 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4297 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004298 <action function="page">confirm_action</action>
4299 </actions>
4300 </button>
4301
4302 <button style="main_button_full_width">
4303 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004304 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004305 <actions>
4306 <action function="set">tw_back=htcdumlock</action>
4307 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004308 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4309 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4310 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4311 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004312 <action function="page">confirm_action</action>
4313 </actions>
4314 </button>
4315
4316 <button style="main_button_full_width">
4317 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004318 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004319 <actions>
4320 <action function="set">tw_back=htcdumlock</action>
4321 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4323 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4324 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4325 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004326 <action function="page">confirm_action</action>
4327 </actions>
4328 </button>
4329
4330 <action>
4331 <touch key="home"/>
4332 <action function="page">main</action>
4333 </action>
4334
4335 <action>
4336 <touch key="back"/>
4337 <action function="page">advanced</action>
4338 </action>
4339 </page>
4340
4341 <page name="lock">
4342 <background color="%semi_transparent%"/>
4343
4344 <image>
4345 <image resource="unlock_icon"/>
4346 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4347 </image>
4348
4349 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 <action function="overlay"/>
4352 </slider>
4353 </page>
4354
4355 <page name="filemanagerlist">
4356 <template name="page"/>
4357
4358 <template name="statusbar"/>
4359
4360 <text style="text_m">
4361 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004362 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004363 </text>
4364
4365 <fileselector>
4366 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4367 <text>%tw_file_location1%</text>
4368 <filter folders="1" files="1"/>
4369 <path name="tw_file_location1" default="/"/>
4370 <data name="tw_filename1"/>
4371 <selection name="tw_selection1"/>
4372 </fileselector>
4373
4374 <button>
4375 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4376 <highlight color="%highlight_color%"/>
4377 <image resource="q_btn_folder"/>
4378 <actions>
4379 <action function="set">tw_filename1=tw_file_location1</action>
4380 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004381 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004382 <action function="page">filemanageroptions</action>
4383 </actions>
4384 </button>
4385
4386 <action>
4387 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004388 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004389 <action function="set">tw_fm_isfolder=0</action>
4390 </actions>
4391 </action>
4392
4393 <action>
4394 <touch key="home"/>
4395 <action function="page">main</action>
4396 </action>
4397
4398 <action>
4399 <touch key="back"/>
4400 <action function="page">main3</action>
4401 </action>
4402
4403 <action>
4404 <condition var1="tw_filename1" op="modified"/>
4405 <action function="page">filemanageroptions</action>
4406 </action>
4407 </page>
4408
4409 <page name="filemanageroptions">
4410 <template name="page"/>
4411
4412 <template name="statusbar"/>
4413
4414 <text style="text_m">
4415 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </text>
4418
4419 <button style="main_button">
4420 <condition var1="tw_fm_isfolder" var2="0"/>
4421 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 <actions>
4424 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004426 <action function="page">choosedestinationfolder</action>
4427 </actions>
4428 </button>
4429
4430 <button style="main_button">
4431 <condition var1="tw_fm_isfolder" var2="1"/>
4432 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 <actions>
4435 <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 -05004436 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004437 <action function="page">choosedestinationfolder</action>
4438 </actions>
4439 </button>
4440
4441 <button style="main_button">
4442 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004444 <actions>
4445 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004447 <action function="page">choosedestinationfolder</action>
4448 </actions>
4449 </button>
4450
4451 <button style="main_button">
4452 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <actions>
4455 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004457 <action function="set">tw_fm_text2=</action>
4458 <action function="set">tw_fm_text3=</action>
4459 <action function="set">tw_include_text3=0</action>
4460 <action function="set">tw_back=filemanageroptions</action>
4461 <action function="page">filemanagerconfirm</action>
4462 </actions>
4463 </button>
4464
4465 <button style="main_button">
4466 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004467 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004468 <actions>
4469 <action function="set">tw_filemanager_rename=0000</action>
4470 <action function="set">tw_fm_text2=</action>
4471 <action function="set">tw_fm_text3=</action>
4472 <action function="set">tw_include_text3=0</action>
4473 <action function="set">tw_back=filemanageroptions</action>
4474 <action function="page">filemanagerchmod</action>
4475 </actions>
4476 </button>
4477
4478 <button style="main_button">
4479 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004480 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004481 <actions>
4482 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004484 <action function="set">tw_fm_text2=</action>
4485 <action function="set">tw_fm_text3=</action>
4486 <action function="set">tw_include_text3=0</action>
4487 <action function="set">tw_back=filemanageroptions</action>
4488 <action function="page">filemanagerconfirm</action>
4489 </actions>
4490 </button>
4491
4492 <button style="main_button">
4493 <condition var1="tw_fm_isfolder" var2="0"/>
4494 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 <actions>
4497 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004499 <action function="set">tw_filemanager_command=mv</action>
4500 <action function="page">filemanagerrenamefile</action>
4501 </actions>
4502 </button>
4503
4504 <button style="main_button">
4505 <condition var1="tw_fm_isfolder" var2="1"/>
4506 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 <actions>
4509 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004510 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004511 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4512 <action function="page">filemanagerrenamefolder</action>
4513 </actions>
4514 </button>
4515
4516 <action>
4517 <touch key="home"/>
4518 <action function="page">main</action>
4519 </action>
4520
4521 <action>
4522 <touch key="back"/>
4523 <action function="page">filemanagerlist</action>
4524 </action>
4525 </page>
4526
4527 <page name="choosedestinationfolder">
4528 <template name="page"/>
4529
4530 <template name="statusbar"/>
4531
4532 <text style="text_m">
4533 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004535 </text>
4536
4537 <fileselector>
4538 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4539 <text>%tw_file_location2%</text>
4540 <filter folders="1" files="0"/>
4541 <path name="tw_file_location2" default="/"/>
4542 <data name="tw_filename2"/>
4543 <selection name="tw_selection2"/>
4544 </fileselector>
4545
4546 <button>
4547 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4548 <highlight color="%highlight_color%"/>
4549 <image resource="q_btn_folder"/>
4550 <actions>
4551 <action function="set">tw_fm_text2=to</action>
4552 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4553 <action function="set">tw_include_text3=1</action>
4554 <action function="set">tw_back=filemanageroptions</action>
4555 <action function="page">filemanagerconfirm</action>
4556 </actions>
4557 </button>
4558
4559 <action>
4560 <touch key="home"/>
4561 <action function="page">main</action>
4562 </action>
4563
4564 <action>
4565 <touch key="back"/>
4566 <action function="page">filemanageroptions</action>
4567 </action>
4568 </page>
4569
4570 <page name="filemanagerrenamefile">
4571 <template name="page"/>
4572
4573 <template name="statusbar"/>
4574
4575 <text style="text_m">
4576 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004577 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004578 </text>
4579
4580 <text style="text_m_accent">
4581 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004582 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004583 </text>
4584
4585 <input>
4586 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4587 <text>%tw_filemanager_rename%</text>
4588 <data name="tw_filemanager_rename"/>
4589 <restrict minlen="1" maxlen="128"/>
4590 <actions>
4591 <action function="set">tw_fm_text2=to</action>
4592 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4593 <action function="set">tw_include_text3=1</action>
4594 <action function="set">tw_back=filemanageroptions</action>
4595 <action function="page">filemanagerconfirm</action>
4596 </actions>
4597 </input>
4598
4599 <fill color="%accent_color%">
4600 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4601 </fill>
4602
4603 <button style="main_button_half_height">
4604 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004605 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004606 <action function="page">filemanageroptions</action>
4607 </button>
4608
4609 <template name="keyboardtemplate"/>
4610
4611 <action>
4612 <touch key="home"/>
4613 <action function="page">main</action>
4614 </action>
4615
4616 <action>
4617 <touch key="back"/>
4618 <action function="page">filemanageroptions</action>
4619 </action>
4620 </page>
4621
4622 <page name="filemanagerrenamefolder">
4623 <template name="page"/>
4624
4625 <template name="statusbar"/>
4626
4627 <text style="text_m">
4628 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 </text>
4631
4632 <text style="text_m_accent">
4633 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </text>
4636
4637 <input>
4638 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4639 <text>%tw_filemanager_rename%</text>
4640 <data name="tw_filemanager_rename"/>
4641 <restrict minlen="1" maxlen="128"/>
4642 <actions>
4643 <action function="set">tw_fm_text2=to</action>
4644 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4645 <action function="set">tw_include_text3=1</action>
4646 <action function="set">tw_back=filemanageroptions</action>
4647 <action function="page">filemanagerconfirm</action>
4648 </actions>
4649 </input>
4650
4651 <fill color="%accent_color%">
4652 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4653 </fill>
4654
4655 <button style="main_button_half_height">
4656 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004657 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004658 <action function="page">filemanageroptions</action>
4659 </button>
4660
4661 <template name="keyboardtemplate"/>
4662
4663 <action>
4664 <touch key="home"/>
4665 <action function="page">main</action>
4666 </action>
4667
4668 <action>
4669 <touch key="back"/>
4670 <action function="page">filemanageroptions</action>
4671 </action>
4672 </page>
4673
4674 <page name="filemanagerchmod">
4675 <template name="page"/>
4676
4677 <template name="statusbar"/>
4678
4679 <text style="text_m">
4680 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004681 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 </text>
4683
4684 <text style="text_m_accent">
4685 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004686 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 </text>
4688
4689 <input>
4690 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4691 <text>%tw_filemanager_rename%</text>
4692 <data name="tw_filemanager_rename"/>
4693 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4694 <actions>
4695 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4696 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</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="filemanagerconfirm">
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; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 </text>
4734
4735 <text style="text_m_accent">
4736 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4737 <text>%tw_fm_text1%</text>
4738 </text>
4739
4740 <text style="text_m">
4741 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4742 <text>%tw_filename1%</text>
4743 </text>
4744
4745 <text style="text_m_accent">
4746 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4747 <text>%tw_fm_text2%</text>
4748 </text>
4749
4750 <text style="text_m">
4751 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4752 <text>%tw_fm_text3%</text>
4753 </text>
4754
4755 <text style="text_m">
4756 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004757 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004758 </text>
4759
4760 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004761 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004762 <action function="page">filemanageraction</action>
4763 </slider>
4764
4765 <action>
4766 <touch key="back"/>
4767 <action function="page">%tw_back%</action>
4768 </action>
4769
4770 <action>
4771 <touch key="home"/>
4772 <action function="page">main</action>
4773 </action>
4774 </page>
4775
4776 <page name="filemanageraction">
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; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004784 </text>
4785
4786 <template name="console"/>
4787
4788 <template name="progress_bar"/>
4789
4790 <action>
4791 <conditions>
4792 <condition var1="tw_operation_state" var2="1"/>
4793 <condition var1="tw_operation_status" var2="0"/>
4794 </conditions>
4795 <actions>
4796 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004797 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004798 <action function="page">action_complete</action>
4799 </actions>
4800 </action>
4801
4802 <action>
4803 <conditions>
4804 <condition var1="tw_operation_state" var2="1"/>
4805 <condition var1="tw_operation_status" op="!=" var2="0"/>
4806 </conditions>
4807 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004808 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004809 <action function="page">action_complete</action>
4810 </actions>
4811 </action>
4812
4813 <action>
4814 <condition var1="tw_include_text3" var2="0"/>
4815 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4816 </action>
4817
4818 <action>
4819 <condition var1="tw_include_text3" var2="1"/>
4820 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4821 </action>
4822 </page>
4823
4824 <page name="decrypt">
4825 <template name="page"/>
4826
4827 <template name="statusbar"/>
4828
4829 <action>
4830 <condition var1="tw_crypto_pwtype" var2="2"/>
4831 <action function="page">decrypt_pattern</action>
4832 </action>
4833
4834 <text style="text_m">
4835 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004836 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004837 </text>
4838
4839 <text style="text_m_accent">
4840 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004841 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004842 </text>
4843
4844 <input>
4845 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4846 <text>%tw_crypto_display%</text>
4847 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4848 <restrict minlen="1" maxlen="254"/>
4849 <action function="page">trydecrypt</action>
4850 </input>
4851
4852 <fill color="%accent_color%">
4853 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4854 </fill>
4855
4856 <fill color="%text_fail_color%">
4857 <condition var1="tw_password_fail" var2="1"/>
4858 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4859 </fill>
4860
4861 <text style="text_m_fail">
4862 <condition var1="tw_password_fail" var2="1"/>
4863 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004864 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004865 </text>
4866
4867 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004868 <placement x="%col1_x_left%" y="%row4_y%"/>
4869 <text>{@sel_lang_btn=Select Language}</text>
4870 <action function="page">settings_language</action>
4871 </button>
4872
4873 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004874 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004875 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004876 <actions>
4877 <action function="set">tw_page_done=1</action>
4878 <action function="page">main</action>
4879 </actions>
4880 </button>
4881
4882 <template name="keyboardtemplate"/>
4883 </page>
4884
4885 <page name="decrypt_pattern">
4886 <template name="page"/>
4887
4888 <template name="statusbar"/>
4889
Aleksa Saraib25a1832015-12-31 17:36:00 +01004890 <action>
4891 <action function="set">tw_gui_pattern_grid_size=3</action>
4892 </action>
4893
z31s1g28f0a922015-11-07 18:50:22 +01004894 <text style="text_m">
4895 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004896 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004897 </text>
4898
4899 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004900 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004901 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004902 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004903 </text>
4904
Aleksa Saraib25a1832015-12-31 17:36:00 +01004905 <text style="text_m_fail">
4906 <condition var1="tw_password_fail" var2="1"/>
4907 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004908 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004909 </text>
4910
z31s1g28f0a922015-11-07 18:50:22 +01004911 <text style="text_m">
4912 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004913 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004914 </text>
4915
4916 <patternpassword>
4917 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004918 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4919 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4920 <data name="tw_crypto_password"/>
4921 <action function="page">trydecrypt</action>
4922 </patternpassword>
4923
4924 <fill color="#000000">
4925 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4926 </fill>
4927
4928 <button>
4929 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4930 <image resource="back"/>
4931 <condition var1="tw_busy" var2="0"/>
4932 <actions>
4933 <action function="set">tw_page_done=1</action>
4934 <action function="page">main</action>
4935 </actions>
4936 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004937
4938 <button>
4939 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4940 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4941 <image resource="grid_less"/>
4942 <action function="set">tw_gui_pattern_grid_size=3</action>
4943 </button>
4944
4945 <button>
4946 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4947 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4948 <image resource="grid_less"/>
4949 <action function="set">tw_gui_pattern_grid_size=3</action>
4950 </button>
4951
4952 <button>
4953 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4954 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4955 <image resource="grid_less"/>
4956 <action function="set">tw_gui_pattern_grid_size=4</action>
4957 </button>
4958
4959 <button>
4960 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4961 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4962 <image resource="grid_less"/>
4963 <action function="set">tw_gui_pattern_grid_size=5</action>
4964 </button>
4965
4966 <button>
4967 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4968 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4969 <image resource="grid_more"/>
4970 <action function="set">tw_gui_pattern_grid_size=4</action>
4971 </button>
4972
4973 <button>
4974 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4975 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4976 <image resource="grid_more"/>
4977 <action function="set">tw_gui_pattern_grid_size=5</action>
4978 </button>
4979
4980 <button>
4981 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4982 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4983 <image resource="grid_more"/>
4984 <action function="set">tw_gui_pattern_grid_size=6</action>
4985 </button>
4986
4987 <button>
4988 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4989 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4990 <image resource="grid_more"/>
4991 <action function="set">tw_gui_pattern_grid_size=6</action>
4992 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004993 </page>
4994
4995 <page name="trydecrypt">
4996 <template name="page"/>
4997
4998 <template name="statusbar"/>
4999
5000 <text style="text_m">
5001 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005002 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005003 </text>
5004
5005 <template name="console"/>
5006
5007 <template name="progress_bar"/>
5008
5009 <action>
5010 <action function="decrypt"/>
5011 </action>
5012
5013 <action>
5014 <conditions>
5015 <condition var1="tw_operation_state" var2="1"/>
5016 <condition var1="tw_operation_status" op="!=" var2="0"/>
5017 </conditions>
5018 <actions>
5019 <action function="set">tw_password_fail=1</action>
5020 <action function="page">decrypt</action>
5021 </actions>
5022 </action>
5023
5024 <action>
5025 <conditions>
5026 <condition var1="tw_operation_state" var2="1"/>
5027 <condition var1="tw_operation_status" op="=" var2="0"/>
5028 </conditions>
5029 <actions>
5030 <action function="set">tw_page_done=1</action>
5031 <action function="page">main</action>
5032 </actions>
5033 </action>
5034 </page>
5035
z31s1g28f0a922015-11-07 18:50:22 +01005036 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005037 <terminal>
5038 <condition var1="tw_hide_kb" var2="0"/>
5039 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5040 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005041
z31s1g56189522016-01-13 19:12:40 +01005042 <terminal>
5043 <condition var1="tw_hide_kb" var2="1"/>
5044 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5045 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005046
z31s1g56189522016-01-13 19:12:40 +01005047 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005048
5049 <template name="keyboardtemplate"/>
5050
z31s1g608d7ff2016-01-18 19:47:25 +01005051 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005052 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005053 </fill>
z31s1g56189522016-01-13 19:12:40 +01005054
z31s1g608d7ff2016-01-18 19:47:25 +01005055 <button>
z31s1g56189522016-01-13 19:12:40 +01005056 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5057 <image resource="back" />
5058 <condition var1="tw_busy" var2="0" />
5059 <actions>
5060 <action function="set">tw_hide_kb=0</action>
5061 <action function="key">back</action>
5062 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005063 </button>
z31s1g56189522016-01-13 19:12:40 +01005064
z31s1g608d7ff2016-01-18 19:47:25 +01005065 <button>
z31s1g56189522016-01-13 19:12:40 +01005066 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5067 <image resource="home" />
5068 <condition var1="tw_busy" var2="0" />
5069 <actions>
5070 <action function="set">tw_hide_kb=0</action>
5071 <action function="key">home</action>
5072 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005073 </button>
z31s1g56189522016-01-13 19:12:40 +01005074
z31s1g608d7ff2016-01-18 19:47:25 +01005075 <button>
z31s1g56189522016-01-13 19:12:40 +01005076 <condition var1="tw_hide_kb" var2="0"/>
5077 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5078 <image resource="kb_hide" />
5079 <condition var1="tw_busy" var2="0" />
5080 <actions>
5081 <action function="set">tw_hide_kb=1</action>
5082 <action function="page">terminalcommand</action>
5083 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005084 </button>
z31s1g56189522016-01-13 19:12:40 +01005085
z31s1g608d7ff2016-01-18 19:47:25 +01005086 <button>
z31s1g56189522016-01-13 19:12:40 +01005087 <condition var1="tw_hide_kb" var2="1"/>
5088 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5089 <image resource="kb_show" />
5090 <condition var1="tw_busy" var2="0" />
5091 <actions>
5092 <action function="set">tw_hide_kb=0</action>
5093 <action function="page">terminalcommand</action>
5094 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005095 </button>
z31s1g56189522016-01-13 19:12:40 +01005096
z31s1g28f0a922015-11-07 18:50:22 +01005097 <action>
5098 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005099 <actions>
5100 <action function="set">tw_hide_kb=0</action>
5101 <action function="page">main</action>
5102 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005103 </action>
5104
5105 <action>
5106 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005107 <actions>
5108 <action function="set">tw_hide_kb=0</action>
5109 <action function="page">advanced</action>
5110 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005111 </action>
z31s1g56189522016-01-13 19:12:40 +01005112
z31s1g608d7ff2016-01-18 19:47:25 +01005113 <action>
z31s1g56189522016-01-13 19:12:40 +01005114 <touch key="power+voldown" />
5115 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005116 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005117 </page>
5118
5119 <page name="sideload">
5120 <template name="page"/>
5121
5122 <template name="statusbar"/>
5123
5124 <text style="text_m">
5125 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005126 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005127 </text>
5128
5129 <text style="text_m_accent">
5130 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005131 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005132 </text>
5133
5134 <checkbox>
5135 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005136 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005137 <data variable="tw_wipe_dalvik"/>
5138 </checkbox>
5139
5140 <checkbox>
5141 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005142 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005143 <data variable="tw_wipe_cache"/>
5144 </checkbox>
5145
5146 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005147 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005148 <actions>
5149 <action function="set">tw_back=install_type</action>
5150 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005151 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5152 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5153 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005154 <action function="set">tw_has_cancel=1</action>
5155 <action function="set">tw_show_reboot=1</action>
5156 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5157 <action function="page">action_page</action>
5158 </actions>
5159 </slider>
5160
5161 <action>
5162 <touch key="home"/>
5163 <action function="page">main</action>
5164 </action>
5165
5166 <action>
5167 <touch key="back"/>
5168 <action function="page">install_type</action>
5169 </action>
5170 </page>
5171
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005172 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005173 <template name="page"/>
5174
5175 <template name="statusbar"/>
5176
5177 <text style="text_m">
5178 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005179 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005180 </text>
5181
5182 <text style="text_m_accent">
5183 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005184 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005185 </text>
5186
z31s1g28f0a922015-11-07 18:50:22 +01005187 <text style="text_m_fail">
5188 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005189 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005190 </text>
5191
5192 <text style="text_m_fail">
5193 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005194 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005195 </text>
5196
5197 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005198 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005199 <actions>
5200 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005201 <action function="set">tw_action=fixcontexts</action>
5202 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5203 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005204 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005205 <action function="set">tw_show_reboot=1</action>
5206 <action function="page">action_page</action>
5207 </actions>
5208 </slider>
5209
5210 <action>
5211 <touch key="home"/>
5212 <action function="page">main</action>
5213 </action>
5214
5215 <action>
5216 <touch key="back"/>
5217 <action function="page">advanced</action>
5218 </action>
5219 </page>
5220
5221 <page name="installsu">
5222 <template name="page"/>
5223
5224 <template name="statusbar"/>
5225
5226 <text style="text_m">
5227 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005228 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005229 </text>
5230
5231 <text style="text_m_accent">
5232 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005234 </text>
5235
5236 <text style="text_m">
5237 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005238 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005239 </text>
5240
5241 <text style="text_m">
5242 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005243 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005244 </text>
5245
5246 <button style="main_button_full_width">
5247 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005248 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005249 <action function="set">tw_page_done=1</action>
5250 </button>
5251
5252 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005253 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005254 <actions>
5255 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005256 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005257 <action function="set">tw_action_text2=</action>
5258 <action function="page">singleaction_page</action>
5259 </actions>
5260 </slider>
5261 </page>
5262
5263 <page name="slideout">
5264 <fill color="%background_color%">
5265 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5266 </fill>
5267
5268 <console>
5269 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5270 </console>
5271
5272 <fill color="%fileselector_linecolor%">
5273 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5274 </fill>
5275
5276 <fill color="%fileselector_linecolor%">
5277 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5278 </fill>
5279
5280 <button>
5281 <fill color="%transparent%"/>
5282 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5283 <action function="overlay"/>
5284 </button>
5285
5286 <action>
5287 <touch key="power+voldown"/>
5288 <action function="screenshot"/>
5289 </action>
5290 </page>
5291
5292 <page name="select_storage">
5293 <template name="page"/>
5294
5295 <template name="statusbar"/>
5296
5297 <text style="text_m">
5298 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5299 <text>%tw_storagetext%</text>
5300 </text>
5301
5302 <partitionlist style="partitionlist_headerless_rb">
5303 <data name="tw_storage_path"/>
5304 <listtype name="storage"/>
5305 </partitionlist>
5306
5307 <button>
5308 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5309 <highlight color="%highlight_color%"/>
5310 <image resource="q_btn_refresh"/>
5311 <actions>
5312 <action function="refreshsizes"/>
5313 <action function="page">select_storage</action>
5314 </actions>
5315 </button>
5316
5317 <button>
5318 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5319 <highlight color="%highlight_color%"/>
5320 <image resource="q_btn_accept"/>
5321 <actions>
5322 <action function="set">tw_clear_destination=%tw_back%</action>
5323 <action function="page">clear_vars</action>
5324 </actions>
5325 </button>
5326
5327 <action>
5328 <touch key="power+voldown"/>
5329 <action function="screenshot"/>
5330 </action>
5331 </page>
5332 </pages>
5333</recovery>