blob: 4a4c1c65f8b2fed8d10e9641eadd43d9e784f57c [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>
216 <action function="page">backup_selectstorage</action>
217 </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
528 <button>
529 <placement x="%col1_x_left%" y="%row11_y%"/>
530 <highlight color="%highlight_color%"/>
531 <image resource="q_btn_arrow_left"/>
532 <action function="page">flash_queue</action>
533 </button>
534
535 <button>
536 <placement x="%btn4_col4_x%" y="%row11_y%"/>
537 <highlight color="%highlight_color%"/>
538 <image resource="q_btn_accept_transp"/>
539 <action function="page">flash_confirm</action>
540 </button>
541
542 <action>
543 <touch key="back"/>
544 <action function="page">flash_queue</action>
545 </action>
546
547 <action>
548 <touch key="home"/>
549 <action function="page">main</action>
550 </action>
551 </page>
552
553 <page name="flash_confirm">
554 <template name="page"/>
555
556 <template name="statusbar"/>
557
558 <text style="text_m">
559 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100561 </text>
562
563 <text style="text_m_accent">
564 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500565 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100566 </text>
567
568 <text style="text_m">
569 <placement x="%indent%" y="%row2_y%"/>
570 <text>%tw_file%</text>
571 </text>
572
573 <button>
574 <fill color="%transparent%"/>
575 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
576 <action function="page">flash_queue</action>
577 </button>
578
579 <text style="text_m_accent">
580 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500581 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </text>
583
584 <text style="text_m">
585 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500586 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100587 </text>
588
589 <button>
590 <fill color="%transparent%"/>
591 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
592 <action function="page">flash_queue</action>
593 </button>
594
595 <listbox style="listbox_options">
596 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500597 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100598 <data variable="tw_signed_zip_verify"/>
599 </listitem>
600 </listbox>
601
602 <text style="text_m_accent">
603 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500604 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100605 </text>
606
607 <text style="text_m">
608 <condition var1="tw_has_injecttwrp" var2="1"/>
609 <condition var1="tw_inject_after_zip" var2="1"/>
610 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500611 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100612 </text>
613
614 <button>
615 <fill color="%transparent%"/>
616 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
617 <action function="page">flash_options</action>
618 </button>
619
620 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 <action function="flash">flash_zip</action>
623 </slider>
624
625 <action>
626 <touch key="back"/>
627 <actions>
628 <action function="cancelzip"/>
629 <action function="page">install</action>
630 </actions>
631 </action>
632
633 <action>
634 <touch key="home"/>
635 <action function="page">main</action>
636 </action>
637 </page>
638
639 <page name="flash_zip">
640 <template name="page"/>
641
642 <template name="statusbar"/>
643
644 <text style="text_m">
645 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600646 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100647 </text>
648
649 <template name="console"/>
650
651 <template name="progress_bar"/>
652
653 <action>
654 <condition var1="tw_operation_state" var2="1"/>
655 <action function="page">flash_done</action>
656 </action>
657 </page>
658
659 <page name="flash_done">
660 <template name="page"/>
661
662 <template name="statusbar"/>
663
664 <text style="text_m_fail">
665 <condition var1="tw_operation_status" op="!=" var2="0"/>
666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500667 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100668 </text>
669
670 <text style="text_m">
671 <condition var1="tw_operation_status" var2="0"/>
672 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 </text>
675
676 <template name="console"/>
677
678 <button style="main_button_half_height">
679 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500680 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100681 <actions>
682 <action function="set">tw_back=flash_done</action>
683 <action function="set">tw_action=wipe</action>
684 <action function="set">tw_action_param=/cache</action>
685 <action function="set">tw_has_action2=1</action>
686 <action function="set">tw_action2=wipe</action>
687 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500688 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
689 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
690 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
691 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100692 <action function="page">confirm_action</action>
693 </actions>
694 </button>
695
696 <button style="main_button_half_height">
697 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500698 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100699 <actions>
700 <action function="set">tw_back=main2</action>
701 <action function="set">tw_action=reboot</action>
702 <action function="set">tw_action_param=system</action>
703 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500704 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
705 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100706 <action function="set">tw_text3=</action>
707 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500708 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100709 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500710 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
711 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100712 <action function="page">rebootcheck</action>
713 </actions>
714 </button>
715
716 <action>
717 <touch key="back"/>
718 <actions>
719 <action function="set">tw_clear_destination=install_type</action>
720 <action function="page">clear_vars</action>
721 </actions>
722 </action>
723
724 <action>
725 <touch key="home"/>
726 <actions>
727 <action function="set">tw_clear_destination=main2</action>
728 <action function="page">clear_vars</action>
729 </actions>
730 </action>
731 </page>
732
733 <page name="flashimage_type">
734 <template name="page"/>
735
736 <template name="statusbar"/>
737
738 <text style="text_m">
739 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600740 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100741 </text>
742
743 <partitionlist style="partitionlist_headerless_rb">
744 <data name="tw_flash_partition"/>
745 <listtype name="flashimg"/>
746 </partitionlist>
747
748 <button>
749 <placement x="%col1_x_left%" y="%row11_y%"/>
750 <highlight color="%highlight_color%"/>
751 <image resource="q_btn_arrow_left"/>
752 <action function="page">install</action>
753 </button>
754
755 <button>
756 <placement x="%btn4_col4_x%" y="%row11_y%"/>
757 <highlight color="%highlight_color%"/>
758 <image resource="q_btn_accept_transp"/>
759 <action function="page">flashimage_confirm</action>
760 </button>
761
762 <action>
763 <touch key="back"/>
764 <action function="page">install</action>
765 </action>
766
767 <action>
768 <touch key="home"/>
769 <action function="page">main</action>
770 </action>
771 </page>
772
773 <page name="flashimage_confirm">
774 <template name="page"/>
775
776 <template name="statusbar"/>
777
778 <text style="text_m">
779 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500780 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100781 </text>
782
783 <text style="text_m_accent">
784 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500785 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100786 </text>
787
788 <text style="text_m">
789 <placement x="%indent%" y="%row2_y%"/>
790 <text>%tw_file%</text>
791 </text>
792
793 <button>
794 <fill color="%transparent%"/>
795 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
796 <action function="page">install</action>
797 </button>
798
799 <text style="text_m_accent">
800 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500801 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100802 </text>
803
804 <text style="text_m">
805 <placement x="%indent%" y="%row5_y%"/>
806 <text>%tw_flash_partition%</text>
807 </text>
808
809 <button>
810 <fill color="%transparent%"/>
811 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
812 <action function="page">flashimage_type</action>
813 </button>
814
815 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500816 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100817 <actions>
818 <action function="set">tw_back=flashimage_confirm</action>
819 <action function="set">tw_action=flashimage</action>
820 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500821 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100822 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500823 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100824 <action function="page">action_page</action>
825 </actions>
826 <action function="flashimage"/>
827 </slider>
828
829 <action>
830 <touch key="back"/>
831 <actions>
832 <action function="set">tw_clear_destination=install</action>
833 <action function="page">clear_vars</action>
834 </actions>
835 </action>
836
837 <action>
838 <touch key="home"/>
839 <actions>
840 <action function="set">tw_clear_destination=main2</action>
841 <action function="page">clear_vars</action>
842 </actions>
843 </action>
844 </page>
845
846 <page name="clear_vars">
847 <action>
848 <action function="set">tw_operation_state=0</action>
849 <action function="set">tw_text1=</action>
850 <action function="set">tw_text2=</action>
851 <action function="set">tw_text3=</action>
852 <action function="set">tw_text4=</action>
853 <action function="set">tw_action_text1=</action>
854 <action function="set">tw_action_text2=</action>
855 <action function="set">tw_action_param=</action>
856 <action function="set">tw_has_action2=0</action>
857 <action function="set">tw_action2=</action>
858 <action function="set">tw_action2_param=</action>
859 <action function="set">tw_has_cancel=0</action>
860 <action function="set">tw_cancel_action=</action>
861 <action function="set">tw_cancel_param=</action>
862 <action function="set">tw_show_exclamation=0</action>
863 <action function="set">tw_show_reboot=0</action>
864 <action function="page">%tw_clear_destination%</action>
865 </action>
866 </page>
867
868 <page name="confirm_action">
869 <template name="page"/>
870
871 <template name="statusbar"/>
872
873 <text style="text_m">
874 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500875 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </text>
877
878 <text style="text_m_accent">
879 <placement x="%center_x%" y="%row2_y%" placement="5"/>
880 <text>%tw_text1%</text>
881 </text>
882
883 <text style="text_m_accent">
884 <placement x="%center_x%" y="%row3_y%" placement="5"/>
885 <text>%tw_text2%</text>
886 </text>
887
888 <text style="text_m">
889 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
890 <placement x="%center_x%" y="%row5_y%" placement="5"/>
891 <text>%tw_text3%</text>
892 </text>
893
894 <text style="text_m">
895 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
896 <placement x="%center_x%" y="%row6_y%" placement="5"/>
897 <text>%tw_text4%</text>
898 </text>
899
900 <text style="text_m_fail">
901 <condition var1="tw_action" var2="changefilesystem"/>
902 <placement x="%center_x%" y="%row5_y%" placement="5"/>
903 <text>%tw_text3%</text>
904 </text>
905
906 <text style="text_m_fail">
907 <condition var1="tw_action" var2="changefilesystem"/>
908 <placement x="%center_x%" y="%row6_y%" placement="5"/>
909 <text>%tw_text4%</text>
910 </text>
911
912 <text style="text_m">
913 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 </text>
916
917 <slider>
918 <text>%tw_slider_text%</text>
919 <action function="page">action_page</action>
920 </slider>
921
922 <action>
923 <touch key="back"/>
924 <actions>
925 <action function="set">tw_clear_destination=%tw_back%</action>
926 <action function="page">clear_vars</action>
927 </actions>
928 </action>
929
930 <action>
931 <touch key="home"/>
932 <action function="page">main</action>
933 </action>
934 </page>
935
936 <page name="action_page">
937 <template name="page"/>
938
939 <template name="statusbar"/>
940
941 <text style="text_m">
942 <placement x="%col1_x_left%" y="%row1_header_y%"/>
943 <text>%tw_action_text1% %tw_action_text2%</text>
944 </text>
945
946 <template name="console"/>
947
948 <template name="progress_bar"/>
949
950 <button style="main_button_half_height">
951 <condition var1="tw_has_cancel" var2="1"/>
952 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100954 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
955 </button>
956
957 <action>
958 <condition var1="tw_operation_state" var2="1"/>
959 <actions>
960 <action function="page">action_complete</action>
961 </actions>
962 </action>
963
964 <action>
965 <condition var1="tw_has_action2" var2="0"/>
966 <actions>
967 <action function="%tw_action%">%tw_action_param%</action>
968 </actions>
969 </action>
970
971 <action>
972 <condition var1="tw_has_action2" var2="1"/>
973 <actions>
974 <action function="%tw_action%">%tw_action_param%</action>
975 <action function="%tw_action2%">%tw_action2_param%</action>
976 </actions>
977 </action>
978 </page>
979
980 <page name="singleaction_page">
981 <template name="page"/>
982
983 <template name="statusbar"/>
984
985 <text style="text_m">
986 <placement x="%col1_x_left%" y="%row1_header_y%"/>
987 <text>%tw_action_text1% %tw_action_text2%</text>
988 </text>
989
990 <template name="console"/>
991
992 <template name="progress_bar"/>
993
994 <action>
995 <condition var1="tw_operation_state" var2="1"/>
996 <actions>
997 <action function="set">tw_page_done=1</action>
998 </actions>
999 </action>
1000
1001 <action>
1002 <condition var1="tw_has_action2" var2="0"/>
1003 <actions>
1004 <action function="%tw_action%">%tw_action_param%</action>
1005 </actions>
1006 </action>
1007
1008 <action>
1009 <condition var1="tw_has_action2" var2="1"/>
1010 <actions>
1011 <action function="%tw_action%">%tw_action_param%</action>
1012 <action function="%tw_action2%">%tw_action2_param%</action>
1013 </actions>
1014 </action>
1015 </page>
1016
1017 <page name="action_complete">
1018 <template name="page"/>
1019
1020 <template name="statusbar"/>
1021
1022 <text style="text_m_fail">
1023 <condition var1="tw_operation_status" op="!=" var2="0"/>
1024 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <condition var1="tw_operation_status" var2="0"/>
1030 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001031 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001032 </text>
1033
1034 <template name="console"/>
1035
1036 <button style="main_button_half_height">
1037 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001039 <actions>
1040 <action function="set">tw_clear_destination=%tw_back%</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </button>
1044
1045 <button style="main_button_half_height">
1046 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 <actions>
1049 <action function="set">tw_back=main2</action>
1050 <action function="set">tw_action=reboot</action>
1051 <action function="set">tw_action_param=system</action>
1052 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1054 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001055 <action function="set">tw_text3=</action>
1056 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001058 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1060 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <action function="page">rebootcheck</action>
1062 </actions>
1063 </button>
1064
1065 <action>
1066 <touch key="home"/>
1067 <actions>
1068 <action function="set">tw_clear_destination=main2</action>
1069 <action function="page">clear_vars</action>
1070 </actions>
1071 </action>
1072
1073 <action>
1074 <touch key="back"/>
1075 <actions>
1076 <action function="set">tw_clear_destination=%tw_back%</action>
1077 <action function="page">clear_vars</action>
1078 </actions>
1079 </action>
1080 </page>
1081
1082 <page name="filecheck">
1083 <action>
1084 <action function="fileexists">%tw_filecheck%</action>
1085 </action>
1086
1087 <action>
1088 <conditions>
1089 <condition var1="tw_operation_state" var2="1"/>
1090 <condition var1="tw_operation_status" var2="0"/>
1091 </conditions>
1092 <actions>
1093 <action function="set">tw_fileexists=1</action>
1094 <action function="page">%tw_existpage%</action>
1095 </actions>
1096 </action>
1097
1098 <action>
1099 <conditions>
1100 <condition var1="tw_operation_state" var2="1"/>
1101 <condition var1="tw_operation_status" var2="1"/>
1102 </conditions>
1103 <actions>
1104 <action function="set">tw_fileexists=0</action>
1105 <action function="page">%tw_notexistpage%</action>
1106 </actions>
1107 </action>
1108 </page>
1109
1110 <page name="rebootcheck">
1111 <action>
1112 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1113 <action function="reboot">%tw_action_param%</action>
1114 </action>
1115
1116 <action>
1117 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1118 <action function="page">confirm_action</action>
1119 </action>
1120 </page>
1121
1122 <page name="wipe_type1">
1123 <template name="page"/>
1124
1125 <template name="statusbar"/>
1126
1127 <text style="text_m">
1128 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 </text>
1131
1132 <button style="main_button_full_width">
1133 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <action function="page">wipe</action>
1136 </button>
1137
1138 <button style="main_button_full_width">
1139 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <actions>
1142 <action function="set">partitionlisterror=0</action>
1143 <action function="page">advancedwipe</action>
1144 </actions>
1145 </button>
1146
1147 <button>
1148 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1149 <highlight color="%highlight_color%"/>
1150 <image resource="q_btn_arrow_right"/>
1151 <action function="page">wipe_type2</action>
1152 </button>
1153
1154 <action>
1155 <touch key="home"/>
1156 <action function="page">main</action>
1157 </action>
1158
1159 <action>
1160 <touch key="back"/>
1161 <action function="page">main</action>
1162 </action>
1163 </page>
1164
1165 <page name="wipe_type2">
1166 <template name="page"/>
1167
1168 <template name="statusbar"/>
1169
1170 <text style="text_m">
1171 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001173 </text>
1174
1175 <button style="main_button_full_width">
1176 <condition var1="tw_has_data_media" var2="1"/>
1177 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 <action function="page">formatdata</action>
1180 </button>
1181
1182 <button style="main_button_full_width">
1183 <conditions>
1184 <condition var1="tw_is_encrypted" var2="1"/>
1185 <condition var1="tw_has_data_media" var2="0"/>
1186 </conditions>
1187 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 <actions>
1190 <action function="set">tw_back=wipe</action>
1191 <action function="set">tw_action=wipe</action>
1192 <action function="set">tw_action_param=DATAMEDIA</action>
1193 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1197 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1198 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001199 <action function="page">confirm_action</action>
1200 </actions>
1201 </button>
1202
1203 <button style="main_button_full_width">
1204 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001205 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001206 <action function="set">partitionlisterror=0</action>
1207 <action function="page">partitionoptions_select</action>
1208 </actions>
1209 </button>
1210
1211 <button>
1212 <placement x="%col1_x_left%" y="%row11_y%"/>
1213 <highlight color="%highlight_color%"/>
1214 <image resource="q_btn_arrow_left"/>
1215 <action function="page">wipe_type1</action>
1216 </button>
1217
1218 <action>
1219 <touch key="home"/>
1220 <action function="page">main</action>
1221 </action>
1222
1223 <action>
1224 <touch key="back"/>
1225 <action function="page">main</action>
1226 </action>
1227 </page>
1228
1229 <page name="wipe">
1230 <template name="page"/>
1231
1232 <template name="statusbar"/>
1233
1234 <text style="text_m">
1235 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </text>
1238
1239 <text style="text_m_accent">
1240 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m_accent">
1245 <condition var1="tw_has_data_media" var2="1"/>
1246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m_accent">
1251 <conditions>
1252 <condition var1="tw_has_android_secure" var2="1"/>
1253 <condition var1="fileexists" var2="/and-sec"/>
1254 </conditions>
1255 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 </text>
1258
1259 <text style="text_m_accent">
1260 <condition var1="tw_has_sdext_partition" var2="1"/>
1261 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <text style="text_m">
1271 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <text style="text_m">
1276 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 </text>
1279
1280 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 <actions>
1283 <action function="set">tw_back=wipe</action>
1284 <action function="set">tw_action=wipe</action>
1285 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1287 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001288 <action function="page">action_page</action>
1289 </actions>
1290 </slider>
1291
1292 <action>
1293 <touch key="back"/>
1294 <action function="page">wipe_type1</action>
1295 </action>
1296
1297 <action>
1298 <touch key="home"/>
1299 <action function="page">main</action>
1300 </action>
1301 </page>
1302
1303 <page name="advancedwipe">
1304 <action>
1305 <action function="set">tw_wipe_list=</action>
1306 </action>
1307
1308 <template name="page"/>
1309
1310 <template name="statusbar"/>
1311
1312 <text style="text_m">
1313 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 </text>
1316
1317 <partitionlist style="partitionlist_headerless_cb">
1318 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1319 <data name="tw_wipe_list"/>
1320 <listtype name="wipe"/>
1321 </partitionlist>
1322
1323 <fill color="%accent_color%">
1324 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1325 </fill>
1326
1327 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001328 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001329 <actions>
1330 <action function="set">tw_back=advancedwipe</action>
1331 <action function="set">tw_action=wipe</action>
1332 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1334 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1335 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001336 <action function="page">action_page</action>
1337 </actions>
1338 </slider>
1339
1340 <action>
1341 <touch key="home"/>
1342 <action function="page">main</action>
1343 </action>
1344
1345 <action>
1346 <touch key="back"/>
1347 <action function="page">wipe_type1</action>
1348 </action>
1349 </page>
1350
1351 <page name="formatdata">
1352 <template name="page"/>
1353
1354 <template name="statusbar"/>
1355
1356 <text style="text_m">
1357 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <text style="text_m_fail">
1362 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m_fail">
1367 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <text style="text_m">
1372 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <input>
1377 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1378 <text>%tw_confirm_formatdata%</text>
1379 <data name="tw_confirm_formatdata"/>
1380 <restrict minlen="3" maxlen="3" allow="yes"/>
1381 <action function="page">formatdata_confirm</action>
1382 </input>
1383
1384 <fill color="%accent_color%">
1385 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1386 </fill>
1387
1388 <template name="keyboardtemplate"/>
1389
1390 <action>
1391 <touch key="home"/>
1392 <action function="page">main</action>
1393 </action>
1394
1395 <action>
1396 <touch key="back"/>
1397 <action function="page">wipe_type2</action>
1398 </action>
1399 </page>
1400
1401 <page name="formatdata_confirm">
1402 <action>
1403 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1404 <actions>
1405 <action function="set">tw_back=formatdata</action>
1406 <action function="set">tw_action=wipe</action>
1407 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1409 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="page">action_page</action>
1411 </actions>
1412 </action>
1413
1414 <action>
1415 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1416 <action function="page">formatdata</action>
1417 </action>
1418 </page>
1419
1420 <page name="checkpartitionlist">
1421 <action>
1422 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1423 <actions>
1424 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001425 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001426 <action function="page">partitionoptions</action>
1427 </actions>
1428 </action>
1429
1430 <action>
1431 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1432 <actions>
1433 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001434 <action function="page">partitionoptions_select</action>
1435 </actions>
1436 </action>
1437 </page>
1438
1439 <page name="partitionoptions_select">
1440 <action>
1441 <action function="set">tw_wipe_list=</action>
1442 </action>
1443
1444 <template name="page"/>
1445
1446 <template name="statusbar"/>
1447
1448 <text style="text_m">
1449 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001450 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001451 </text>
1452
1453 <partitionlist style="partitionlist_headerless_cb">
1454 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1455 <data name="tw_wipe_list"/>
1456 <listtype name="wipe"/>
1457 </partitionlist>
1458
1459 <fill color="%accent_color%">
1460 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1461 </fill>
1462
z31s1g28f0a922015-11-07 18:50:22 +01001463 <text style="text_m_fail">
1464 <condition var1="partitionlisterror" var2="1"/>
1465 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001466 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001467 </text>
1468
1469 <button>
1470 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1471 <highlight color="%highlight_color%"/>
1472 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001473 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001474 <action function="page">checkpartitionlist</action>
1475 </actions>
1476 </button>
1477
1478 <action>
1479 <touch key="home"/>
1480 <action function="page">main</action>
1481 </action>
1482
1483 <action>
1484 <touch key="back"/>
1485 <action function="page">wipe_type2</action>
1486 </action>
1487 </page>
1488
1489 <page name="partitionoptions">
1490
1491 <template name="page"/>
1492
1493 <template name="statusbar"/>
1494
1495 <text style="text_m">
1496 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001498 </text>
1499
1500 <text style="text_m_accent">
1501 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <text style="text_m_accent">
1506 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001507 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001508 </text>
1509
1510 <text style="text_m">
1511 <condition var1="tw_partition_is_present" var2="1"/>
1512 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001514 </text>
1515
1516 <text style="text_m">
1517 <condition var1="tw_partition_is_present" var2="0"/>
1518 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 </text>
1521
1522 <text style="text_m">
1523 <condition var1="tw_partition_removable" var2="1"/>
1524 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <condition var1="tw_partition_removable" var2="0"/>
1530 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001532 </text>
1533
1534 <text style="text_m">
1535 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001536 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001537 </text>
1538
1539 <text style="text_m">
1540 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 </text>
1543
1544 <text style="text_m">
1545 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001547 </text>
1548
1549 <text style="text_m">
1550 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001552 </text>
1553
1554 <button style="main_button">
1555 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1556 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001557 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001558 <actions>
1559 <action function="set">tw_back=partitionoptions</action>
1560 <action function="set">tw_action=resize</action>
1561 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1562 <action function="set">tw_has_action2=1</action>
1563 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001564 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001566 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001567 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1568 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1569 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="page">confirm_action</action>
1571 </actions>
1572 </button>
1573
1574 <button style="main_button">
1575 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1576 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001578 <actions>
1579 <action function="set">tw_back=partitionoptions</action>
1580 <action function="set">tw_action=repair</action>
1581 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1582 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001585 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1586 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1587 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001588 <action function="page">confirm_action</action>
1589 </actions>
1590 </button>
1591
1592 <button>
1593 <placement x="%col1_x_left%" y="%row11_y%"/>
1594 <highlight color="%highlight_color%"/>
1595 <image resource="q_btn_arrow_left"/>
1596 <action function="page">partitionoptions_select</action>
1597 </button>
1598
1599 <button style="main_button">
1600 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <action function="page">selectfilesystem</action>
1603 </button>
1604
1605 <action>
1606 <touch key="home"/>
1607 <action function="page">main</action>
1608 </action>
1609
1610 <action>
1611 <touch key="back"/>
1612 <action function="page">partitionoptions_select</action>
1613 </action>
1614 </page>
1615
1616 <page name="refreshfilesystem">
1617 <action>
1618 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1619 <actions>
1620 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001621 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001622 <action function="page">selectfilesystem</action>
1623 </actions>
1624 </action>
1625
1626 <action>
1627 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1628 <actions>
1629 <action function="set">partitionlisterror=1</action>
1630 <action function="set">tw_wipe_list=</action>
1631 <action function="page">advancedwipe</action>
1632 </actions>
1633 </action>
1634 </page>
1635
1636 <page name="selectfilesystem">
1637 <template name="page"/>
1638
1639 <template name="statusbar"/>
1640
1641 <text style="text_m">
1642 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 </text>
1645
1646 <button style="main_button">
1647 <condition var1="tw_partition_ext" op="=" var2="1"/>
1648 <placement x="%col1_x_left%" y="%row1_y%"/>
1649 <text>EXT2</text>
1650 <actions>
1651 <action function="set">tw_back=refreshfilesystem</action>
1652 <action function="set">tw_action=changefilesystem</action>
1653 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1654 <action function="set">tw_action_new_file_system=ext2</action>
1655 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1657 <action function="set">tw_text2=EXT2</action>
1658 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1659 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1660 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1661 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1662 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <action function="page">confirm_action</action>
1664 </actions>
1665 </button>
1666
1667 <button style="main_button">
1668 <condition var1="tw_partition_ext" op="=" var2="1"/>
1669 <placement x="%col1_x_left%" y="%row6_y%"/>
1670 <text>EXT3</text>
1671 <actions>
1672 <action function="set">tw_back=refreshfilesystem</action>
1673 <action function="set">tw_action=changefilesystem</action>
1674 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1675 <action function="set">tw_action_new_file_system=ext3</action>
1676 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001677 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1678 <action function="set">tw_text2=EXT3</action>
1679 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1680 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1681 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1682 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1683 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <action function="page">confirm_action</action>
1685 </actions>
1686 </button>
1687
1688 <button style="main_button">
1689 <condition var1="tw_partition_ext" op="=" var2="1"/>
1690 <placement x="%col1_x_left%" y="%row11_y%"/>
1691 <text>EXT4</text>
1692 <actions>
1693 <action function="set">tw_back=refreshfilesystem</action>
1694 <action function="set">tw_action=changefilesystem</action>
1695 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1696 <action function="set">tw_action_new_file_system=ext4</action>
1697 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1699 <action function="set">tw_text2=EXT4</action>
1700 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1701 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1702 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1703 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1704 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001705 <action function="page">confirm_action</action>
1706 </actions>
1707 </button>
1708
1709 <button style="main_button">
1710 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1711 <placement x="%col1_x_right%" y="%row1_y%"/>
1712 <text>FAT</text>
1713 <actions>
1714 <action function="set">tw_back=refreshfilesystem</action>
1715 <action function="set">tw_action=changefilesystem</action>
1716 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1717 <action function="set">tw_action_new_file_system=vfat</action>
1718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001719 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1720 <action function="set">tw_text2=FAT</action>
1721 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1722 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1723 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1724 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1725 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001726 <action function="page">confirm_action</action>
1727 </actions>
1728 </button>
1729
1730 <button style="main_button">
1731 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1732 <placement x="%col1_x_right%" y="%row6_y%"/>
1733 <text>exFAT</text>
1734 <actions>
1735 <action function="set">tw_back=refreshfilesystem</action>
1736 <action function="set">tw_action=changefilesystem</action>
1737 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1738 <action function="set">tw_action_new_file_system=exfat</action>
1739 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1741 <action function="set">tw_text2=exFAT</action>
1742 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1743 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1744 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1745 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1746 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001747 <action function="page">confirm_action</action>
1748 </actions>
1749 </button>
1750
1751 <button style="main_button">
1752 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1753 <placement x="%col1_x_right%" y="%row11_y%"/>
1754 <text>F2FS</text>
1755 <actions>
1756 <action function="set">tw_back=refreshfilesystem</action>
1757 <action function="set">tw_action=changefilesystem</action>
1758 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1759 <action function="set">tw_action_new_file_system=f2fs</action>
1760 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1762 <action function="set">tw_text2=F2FS</action>
1763 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1764 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1765 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1766 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1767 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001768 <action function="page">confirm_action</action>
1769 </actions>
1770 </button>
1771
1772 <action>
1773 <touch key="home"/>
1774 <action function="page">main</action>
1775 </action>
1776
1777 <action>
1778 <touch key="back"/>
1779 <action function="page">partitionoptions</action>
1780 </action>
1781 </page>
1782
1783 <page name="backup_selectstorage">
1784 <template name="page"/>
1785
1786 <template name="statusbar"/>
1787
1788 <text style="text_m">
1789 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <partitionlist style="partitionlist_headerless_rb">
1794 <data name="tw_storage_path"/>
1795 <listtype name="storage"/>
1796 </partitionlist>
1797
1798 <button>
1799 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1800 <highlight color="%highlight_color%"/>
1801 <image resource="q_btn_refresh"/>
1802 <actions>
1803 <action function="refreshsizes"/>
1804 <action function="page">backup_selectstorage</action>
1805 </actions>
1806 </button>
1807
1808 <button>
1809 <condition var1="tw_back" var2="backup_confirm"/>
1810 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1811 <highlight color="%highlight_color%"/>
1812 <image resource="q_btn_accept"/>
1813 <action function="page">backup_confirm</action>
1814 </button>
1815
1816 <button>
1817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1818 <highlight color="%highlight_color%"/>
1819 <image resource="q_btn_arrow_right"/>
1820 <actions>
1821 <action function="set">tw_back=backup_selectstorage</action>
1822 <action function="page">backup_selectpartitions</action>
1823 </actions>
1824 </button>
1825
1826 <action>
1827 <touch key="home"/>
1828 <action function="page">main</action>
1829 </action>
1830
1831 <action>
1832 <touch key="back"/>
1833 <action function="page">%tw_back%</action>
1834 </action>
1835
1836 <action>
1837 <touch key="power+voldown"/>
1838 <action function="screenshot"/>
1839 </action>
1840 </page>
1841
1842 <page name="backup_selectpartitions">
1843 <template name="page"/>
1844
1845 <template name="statusbar"/>
1846
1847 <text style="text_m">
1848 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001850 </text>
1851
1852 <partitionlist style="partitionlist_headerless_cb">
1853 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1854 <data name="tw_backup_list"/>
1855 <listtype name="backup"/>
1856 </partitionlist>
1857
1858 <fill color="%accent_color%">
1859 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1860 </fill>
1861
1862 <button>
1863 <placement x="%col1_x_left%" y="%row11_y%"/>
1864 <highlight color="%highlight_color%"/>
1865 <image resource="q_btn_arrow_left"/>
1866 <action function="page">backup_selectstorage</action>
1867 </button>
1868
1869 <button>
1870 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1871 <highlight color="%highlight_color%"/>
1872 <image resource="q_btn_refresh"/>
1873 <action function="page">backup_selectpartitions</action>
1874 </button>
1875
1876 <button>
1877 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1878 <highlight color="%highlight_color%"/>
1879 <image resource="q_btn_accept"/>
1880 <action function="page">backup_confirm</action>
1881 </button>
1882
1883 <button>
1884 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1885 <highlight color="%highlight_color%"/>
1886 <image resource="q_btn_arrow_right"/>
1887 <actions>
1888 <action function="set">tw_back=backup_selectpartitions</action>
1889 <action function="page">backup_options</action>
1890 </actions>
1891 </button>
1892
1893 <action>
1894 <touch key="home"/>
1895 <action function="page">main</action>
1896 </action>
1897
1898 <action>
1899 <touch key="back"/>
1900 <action function="page">%tw_back%</action>
1901 </action>
1902
1903 <action>
1904 <touch key="power+voldown"/>
1905 <action function="screenshot"/>
1906 </action>
1907 </page>
1908
1909 <page name="backup_options">
1910 <template name="page"/>
1911
1912 <template name="statusbar"/>
1913
1914 <text style="text_m">
1915 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001916 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001917 </text>
1918
1919 <listbox style="scrolllist">
1920 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001921 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001922 <data variable="tw_use_compression"/>
1923 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001924 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001925 <data variable="tw_skip_md5_generate"/>
1926 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01001928 <data variable="tw_disable_free_space"/>
1929 </listitem>
1930 </listbox>
1931
1932 <button>
1933 <placement x="%col1_x_left%" y="%row11_y%"/>
1934 <highlight color="%highlight_color%"/>
1935 <image resource="q_btn_arrow_left"/>
1936 <action function="page">backup_selectpartitions</action>
1937 </button>
1938
1939 <button>
1940 <conditions>
1941 <condition var1="tw_include_encrypted_backup" var2="1"/>
1942 <condition var1="tw_encrypt_backup" var2="0"/>
1943 </conditions>
1944 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1945 <highlight color="%highlight_color%"/>
1946 <image resource="q_btn_encryption_dis"/>
1947 <actions>
1948 <action function="set">tw_password_not_match=0</action>
1949 <action function="set">tw_back=backup_options</action>
1950 <action function="page">backupencryption</action>
1951 </actions>
1952 </button>
1953
1954 <button>
1955 <conditions>
1956 <condition var1="tw_include_encrypted_backup" var2="1"/>
1957 <condition var1="tw_encrypt_backup" var2="1"/>
1958 </conditions>
1959 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1960 <highlight color="%highlight_color%"/>
1961 <image resource="q_btn_encryption_en"/>
1962 <actions>
1963 <action function="set">tw_password_not_match=0</action>
1964 <action function="set">tw_back=backup_options</action>
1965 <action function="page">backupencryption</action>
1966 </actions>
1967 </button>
1968
1969 <button>
1970 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1971 <highlight color="%highlight_color%"/>
1972 <image resource="q_btn_accept_transp"/>
1973 <actions>
1974 <action function="set">tw_back=backup_options</action>
1975 <action function="page">backup_confirm</action>
1976 </actions>
1977 </button>
1978
1979 <action>
1980 <touch key="home"/>
1981 <action function="page">main</action>
1982 </action>
1983
1984 <action>
1985 <touch key="back"/>
1986 <action function="page">%tw_back%</action>
1987 </action>
1988
1989 <action>
1990 <touch key="power+voldown"/>
1991 <action function="screenshot"/>
1992 </action>
1993 </page>
1994
1995 <page name="backup_confirm">
1996 <template name="page"/>
1997
1998 <template name="statusbar"/>
1999
2000 <text style="text_m">
2001 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup{</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 </text>
2004
2005 <text style="text_m_accent">
2006 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </text>
2009
2010 <text style="text_m">
2011 <placement x="%col1_x_left%" y="%row2_y%"/>
2012 <text>%tw_backup_name%</text>
2013 </text>
2014
2015 <fill color="%accent_color%">
2016 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2017 </fill>
2018
2019 <button>
2020 <fill color="%transparent%"/>
2021 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2022 <actions>
2023 <action function="set">tw_back=backup_confirm</action>
2024 <action function="set">tw_fileexists=0</action>
2025 <action function="page">backup_name1</action>
2026 </actions>
2027 </button>
2028
2029 <fill color="%background_color%">
2030 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2031 </fill>
2032
2033 <text style="text_m_accent">
2034 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 </text>
2037
2038 <partitionlist style="partitionlist_summary">
2039 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2040 <data name="tw_backup_list"/>
2041 <listtype name="backup"/>
2042 </partitionlist>
2043
2044 <button>
2045 <fill color="%transparent%"/>
2046 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2047 <actions>
2048 <action function="set">tw_back=backup_confirm</action>
2049 <action function="page">backup_selectpartitions</action>
2050 </actions>
2051 </button>
2052
2053 <text style="text_m_accent">
2054 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002055 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002056 </text>
2057
2058 <text style="text_m">
2059 <placement x="%col1_x_right%" y="%row2_y%"/>
2060 <text>%tw_storage_display_name%</text>
2061 </text>
2062
2063 <button>
2064 <fill color="%transparent%"/>
2065 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2066 <actions>
2067 <action function="set">tw_back=backup_confirm</action>
2068 <action function="page">backup_selectstorage</action>
2069 </actions>
2070 </button>
2071
2072 <text style="text_m_accent">
2073 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002074 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002075 </text>
2076
2077 <text style="text_m">
2078 <conditions>
2079 <condition var1="tw_include_encrypted_backup" var2="1"/>
2080 <condition var1="tw_encrypt_backup" var2="0"/>
2081 </conditions>
2082 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <conditions>
2088 <condition var1="tw_include_encrypted_backup" var2="1"/>
2089 <condition var1="tw_encrypt_backup" var2="1"/>
2090 </conditions>
2091 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <button>
2096 <fill color="%transparent%"/>
2097 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2098 <actions>
2099 <action function="set">tw_back=backup_confirm</action>
2100 <action function="page">backupencryption</action>
2101 </actions>
2102 </button>
2103
2104 <listbox style="listbox_options">
2105 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002107 <data variable="tw_use_compression"/>
2108 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002109 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002110 <data variable="tw_skip_md5_generate"/>
2111 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002112 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01002113 <data variable="tw_disable_free_space"/>
2114 </listitem>
2115 </listbox>
2116
2117 <text style="text_m_accent">
2118 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002119 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002120 </text>
2121
2122 <button>
2123 <fill color="%transparent%"/>
2124 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2125 <actions>
2126 <action function="set">tw_back=backup_confirm</action>
2127 <action function="page">backup_options</action>
2128 </actions>
2129 </button>
2130
2131 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002132 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002133 <action function="page">backup_run</action>
2134 </slider>
2135
2136 <action>
2137 <touch key="home"/>
2138 <action function="page">main</action>
2139 </action>
2140
2141 <action>
2142 <touch key="back"/>
2143 <action function="page">backup_selectstorage</action>
2144 </action>
2145 </page>
2146
2147 <page name="backup_name1">
2148 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002149 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002150 <action function="generatebackupname"/>
2151 </action>
2152
2153 <action>
2154 <action function="page">backup_name2</action>
2155 </action>
2156 </page>
2157
2158 <page name="backup_name2">
2159 <template name="page"/>
2160
2161 <template name="statusbar"/>
2162
2163 <text style="text_m">
2164 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </text>
2167
2168 <text style="text_m_accent">
2169 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002170 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002171 </text>
2172
2173 <input>
2174 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2175 <text>%tw_backup_name%</text>
2176 <data name="tw_backup_name"/>
2177 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2178 <actions>
2179 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2180 <action function="set">tw_existpage=backup_name2</action>
2181 <action function="set">tw_notexistpage=backup_confirm</action>
2182 <action function="page">filecheck</action>
2183 </actions>
2184 </input>
2185
2186 <fill color="%accent_color%">
2187 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2188 </fill>
2189
2190 <fill color="%text_fail_color%">
2191 <condition var1="tw_fileexists" var2="1"/>
2192 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2193 </fill>
2194
2195 <text style="text_m_fail">
2196 <condition var1="tw_fileexists" var2="1"/>
2197 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <button style="main_button_half_height">
2202 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002205 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002206 <action function="page">backup_confirm</action>
2207 </actions>
2208 </button>
2209
2210 <button style="main_button_half_height">
2211 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 <action function="appenddatetobackupname"/>
2214 </button>
2215
2216 <template name="keyboardtemplate"/>
2217
2218 <action>
2219 <touch key="home"/>
2220 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002222 <action function="page">main</action>
2223 </actions>
2224 </action>
2225
2226 <action>
2227 <touch key="back"/>
2228 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002230 <action function="page">backup_confirm</action>
2231 </actions>
2232 </action>
2233 </page>
2234
2235 <page name="backupencryption">
2236 <template name="page"/>
2237
2238 <template name="statusbar"/>
2239
2240 <text style="text_m">
2241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 </text>
2244
2245 <text style="text_m_accent">
2246 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002248 </text>
2249
2250 <input>
2251 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2252 <text>%tw_backup_encrypt_display%</text>
2253 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2254 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2255 <action function="page">backupencryption2</action>
2256 </input>
2257
2258 <fill color="%accent_color%">
2259 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2260 </fill>
2261
2262 <fill color="%text_fail_color%">
2263 <condition var1="tw_password_not_match" var2="1"/>
2264 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2265 </fill>
2266
2267 <text style="text_m_fail">
2268 <condition var1="tw_password_not_match" var2="1"/>
2269 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <button style="main_button_half_height">
2274 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <actions>
2277 <action function="set">tw_encrypt_backup=0</action>
2278 <action function="set">tw_backup_password=</action>
2279 <action function="set">tw_backup_password2=</action>
2280 <action function="set">tw_backup_encrypt_display=</action>
2281 <action function="set">tw_backup_encrypt_display2=</action>
2282 <action function="page">%tw_back%</action>
2283 </actions>
2284 </button>
2285
2286 <template name="keyboardtemplate"/>
2287
2288 <action>
2289 <touch key="home"/>
2290 <action function="page">main</action>
2291 </action>
2292
2293 <action>
2294 <touch key="back"/>
2295 <action function="page">%tw_back%</action>
2296 </action>
2297 </page>
2298
2299 <page name="backupencryption2">
2300 <template name="page"/>
2301
2302 <template name="statusbar"/>
2303
2304 <text style="text_m">
2305 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m_accent">
2310 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 </text>
2313
2314 <input>
2315 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2316 <text>%tw_backup_encrypt_display2%</text>
2317 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2318 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2319 <action function="page">checkbackuppassword</action>
2320 </input>
2321
2322 <fill color="%accent_color%">
2323 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2324 </fill>
2325
2326 <button style="main_button_half_height">
2327 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002328 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002329 <actions>
2330 <action function="set">tw_encrypt_backup=0</action>
2331 <action function="set">tw_backup_password=</action>
2332 <action function="set">tw_backup_password2=</action>
2333 <action function="set">tw_backup_encrypt_display=</action>
2334 <action function="set">tw_backup_encrypt_display2=</action>
2335 <action function="page">%tw_back%</action>
2336 </actions>
2337 </button>
2338
2339 <template name="keyboardtemplate"/>
2340
2341 <action>
2342 <touch key="home"/>
2343 <action function="page">main</action>
2344 </action>
2345
2346 <action>
2347 <touch key="back"/>
2348 <action function="page">%tw_back%</action>
2349 </action>
2350 </page>
2351
2352 <page name="checkbackuppassword">
2353 <action>
2354 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2355 <actions>
2356 <action function="set">tw_encrypt_backup=1</action>
2357 <action function="page">%tw_back%</action>
2358 </actions>
2359 </action>
2360
2361 <action>
2362 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2363 <actions>
2364 <action function="set">tw_encrypt_backup=0</action>
2365 <action function="set">tw_password_not_match=1</action>
2366 <action function="set">tw_backup_password=</action>
2367 <action function="set">tw_backup_password2=</action>
2368 <action function="set">tw_backup_encrypt_display=</action>
2369 <action function="set">tw_backup_encrypt_display2=</action>
2370 <action function="page">backupencryption</action>
2371 </actions>
2372 </action>
2373 </page>
2374
2375 <page name="backup_run">
2376 <template name="page"/>
2377
2378 <template name="statusbar"/>
2379
2380 <text style="text_m">
2381 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2382 <text>%tw_operation% %tw_partition%</text>
2383 </text>
2384
2385 <template name="console"/>
2386
2387 <template name="progress_bar"/>
2388
2389 <text style="text_m">
2390 <placement x="%indent%" y="%row13a_y%"/>
2391 <text>%tw_file_progress%</text>
2392 </text>
2393
2394 <text style="text_m">
2395 <placement x="%indent%" y="%row14a_y%"/>
2396 <text>%tw_size_progress%</text>
2397 </text>
2398
2399 <button style="main_button_half_height">
2400 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 <action function="cancelbackup"/>
2403 </button>
2404
2405 <action>
2406 <action function="nandroid">backup</action>
2407 </action>
2408
2409 <action>
2410 <condition var1="tw_operation_state" var2="1"/>
2411 <condition var1="tw_cancel_backup" var2="0"/>
2412 <actions>
2413 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002415 <action function="set">tw_show_reboot=1</action>
2416 <action function="page">action_complete</action>
2417 </actions>
2418 </action>
2419
2420 <action>
2421 <condition var1="tw_operation_state" var2="1"/>
2422 <condition var1="tw_cancel_backup" var2="1"/>
2423 <actions>
2424 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <action function="set">tw_show_reboot=1</action>
2427 <action function="page">action_complete</action>
2428 </actions>
2429 </action>
2430 </page>
2431
2432 <page name="restore">
2433 <template name="page"/>
2434
2435 <template name="statusbar"/>
2436
2437 <text style="text_m">
2438 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <fileselector>
2443 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2444 <text>%tw_storage_display_name%</text>
2445 <filter folders="1" files="0" nav="0"/>
2446 <path name="tw_backups_folder"/>
2447 <data name="tw_restore" default=""/>
2448 <selection name="tw_restore_name"/>
2449 </fileselector>
2450
2451 <button>
2452 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2453 <highlight color="%highlight_color%"/>
2454 <image resource="q_btn_storage"/>
2455 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002457 <action function="set">tw_back=restore</action>
2458 <action function="page">select_storage</action>
2459 </actions>
2460 </button>
2461
2462 <action>
2463 <condition var1="tw_restore" op="modified"/>
2464 <actions>
2465 <action function="readBackup"/>
2466 <action function="set">tw_back=restore</action>
2467 <action function="page">restore_read</action>
2468 </actions>
2469 </action>
2470
2471 <action>
2472 <touch key="home"/>
2473 <action function="page">main</action>
2474 </action>
2475
2476 <action>
2477 <touch key="back"/>
2478 <action function="page">main</action>
2479 </action>
2480 </page>
2481
2482 <page name="restore_read">
2483 <action>
2484 <condition var1="tw_restore_encrypted" var2="1"/>
2485 <actions>
2486 <action function="set">tw_password_fail=0</action>
2487 <action function="page">restore_decrypt</action>
2488 </actions>
2489 </action>
2490
2491 <action>
2492 <condition var1="tw_restore_encrypted" var2="0"/>
2493 <actions>
2494 <action function="page">restore_select</action>
2495 </actions>
2496 </action>
2497 </page>
2498
2499 <page name="restore_decrypt">
2500 <template name="page"/>
2501
2502 <template name="statusbar"/>
2503
2504 <text style="text_m">
2505 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002506 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <text style="text_m_accent">
2510 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002511 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002512 </text>
2513
2514 <input>
2515 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2516 <text>%tw_restore_display%</text>
2517 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2518 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2519 <action function="page">try_restore_decrypt</action>
2520 </input>
2521
2522 <fill color="%accent_color%">
2523 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2524 </fill>
2525
2526 <fill color="%text_fail_color%">
2527 <condition var1="tw_password_fail" var2="1"/>
2528 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2529 </fill>
2530
2531 <text style="text_m_fail">
2532 <condition var1="tw_password_fail" var2="1"/>
2533 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <button style="main_button_half_height">
2538 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <actions>
2541 <action function="set">tw_page_done=1</action>
2542 <action function="page">restore</action>
2543 </actions>
2544 </button>
2545
2546 <button style="main_button_half_height">
2547 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <actions>
2550 <action function="set">tw_back=restore</action>
2551 <action function="set">tw_action=cmd</action>
2552 <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 -05002553 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2554 <action function="set">tw_text2=%tw_restore_name%</action>
2555 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2556 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2557 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2558 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <action function="page">confirm_action</action>
2560 </actions>
2561 </button>
2562
2563 <template name="keyboardtemplate"/>
2564
2565 <action>
2566 <touch key="home"/>
2567 <action function="page">main</action>
2568 </action>
2569
2570 <action>
2571 <touch key="back"/>
2572 <action function="page">restore</action>
2573 </action>
2574 </page>
2575
2576 <page name="try_restore_decrypt">
2577 <template name="page"/>
2578
2579 <template name="statusbar"/>
2580
2581 <text style="text_m">
2582 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002583 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002584 </text>
2585
2586 <template name="console"/>
2587
2588 <template name="progress_bar"/>
2589
2590 <action>
2591 <action function="decrypt_backup"/>
2592 </action>
2593
2594 <action>
2595 <conditions>
2596 <condition var1="tw_operation_state" var2="1"/>
2597 <condition var1="tw_operation_status" op="!=" var2="0"/>
2598 </conditions>
2599 <actions>
2600 <action function="set">tw_password_fail=1</action>
2601 <action function="page">restore_decrypt</action>
2602 </actions>
2603 </action>
2604
2605 <action>
2606 <conditions>
2607 <condition var1="tw_operation_state" var2="1"/>
2608 <condition var1="tw_operation_status" op="=" var2="0"/>
2609 </conditions>
2610 <actions>
2611 <action function="set">tw_page_done=1</action>
2612 <action function="page">restore_select</action>
2613 </actions>
2614 </action>
2615 </page>
2616
2617 <page name="restore_select">
2618 <template name="page"/>
2619
2620 <template name="statusbar"/>
2621
2622 <text style="text_m">
2623 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <partitionlist style="partitionlist_headerless_cb">
2628 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2629 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2630 <listtype name="restore"/>
2631 </partitionlist>
2632
2633 <fill color="%accent_color%">
2634 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2635 </fill>
2636
2637 <button>
2638 <placement x="%col1_x_left%" y="%row11_y%"/>
2639 <highlight color="%highlight_color%"/>
2640 <image resource="q_btn_arrow_left"/>
2641 <action function="page">restore</action>
2642 </button>
2643
2644 <button>
2645 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2646 <highlight color="%highlight_color%"/>
2647 <image resource="q_btn_delete"/>
2648 <actions>
2649 <action function="set">tw_back=restore</action>
2650 <action function="set">tw_action=cmd</action>
2651 <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 -05002652 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2655 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2656 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2657 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002658 <action function="page">confirm_action</action>
2659 </actions>
2660 </button>
2661
2662 <button>
2663 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2664 <highlight color="%highlight_color%"/>
2665 <image resource="q_btn_accept"/>
2666 <action function="page">restore_confirm</action>
2667 </button>
2668
2669 <button>
2670 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2671 <highlight color="%highlight_color%"/>
2672 <image resource="q_btn_arrow_right"/>
2673 <actions>
2674 <action function="set">tw_back=restore_select</action>
2675 <action function="page">restore_options</action>
2676 </actions>
2677 </button>
2678
2679 <action>
2680 <touch key="home"/>
2681 <action function="page">main</action>
2682 </action>
2683
2684 <action>
2685 <touch key="back"/>
2686 <action function="page">%tw_back%</action>
2687 </action>
2688 </page>
2689
2690 <page name="restore_options">
2691 <template name="page"/>
2692
2693 <template name="statusbar"/>
2694
2695 <text style="text_m">
2696 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002697 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002698 </text>
2699
2700 <listbox style="scrolllist">
2701 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002702 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_skip_md5_check"/>
2704 </listitem>
2705 </listbox>
2706
2707 <button>
2708 <placement x="%col1_x_left%" y="%row11_y%"/>
2709 <highlight color="%highlight_color%"/>
2710 <image resource="q_btn_arrow_left"/>
2711 <action function="page">restore_select</action>
2712 </button>
2713
2714 <button>
2715 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2716 <highlight color="%highlight_color%"/>
2717 <image resource="q_btn_accept_transp"/>
2718 <actions>
2719 <action function="set">tw_back=restore_options</action>
2720 <action function="page">restore_confirm</action>
2721 </actions>
2722 </button>
2723
2724 <action>
2725 <touch key="home"/>
2726 <action function="page">main</action>
2727 </action>
2728
2729 <action>
2730 <touch key="back"/>
2731 <action function="page">%tw_back%</action>
2732 </action>
2733
2734 <action>
2735 <touch key="power+voldown"/>
2736 <action function="screenshot"/>
2737 </action>
2738 </page>
2739
2740 <page name="renamebackup">
2741 <template name="page"/>
2742
2743 <template name="statusbar"/>
2744
2745 <text style="text_m">
2746 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <text style="text_m_accent">
2751 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002752 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002753 </text>
2754
2755 <input>
2756 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2757 <text>%tw_backup_rename%</text>
2758 <data name="tw_backup_rename"/>
2759 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2760 <actions>
2761 <action function="set">tw_back=restore</action>
2762 <action function="set">tw_action=cmd</action>
2763 <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 -05002764 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2765 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2766 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2767 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2768 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2770 <action function="set">tw_existpage=renamebackup</action>
2771 <action function="set">tw_notexistpage=confirm_action</action>
2772 <action function="page">filecheck</action>
2773 </actions>
2774 </input>
2775
2776 <fill color="%accent_color%">
2777 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2778 </fill>
2779
2780 <fill color="%text_fail_color%">
2781 <condition var1="tw_fileexists" var2="1"/>
2782 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2783 </fill>
2784
2785 <text style="text_m_fail">
2786 <condition var1="tw_fileexists" var2="1"/>
2787 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002788 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002789 </text>
2790
2791 <button style="main_button_half_height">
2792 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002793 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <action function="page">restore_confirm</action>
2795 </button>
2796
2797 <template name="keyboardtemplate"/>
2798
2799 <action>
2800 <touch key="home"/>
2801 <action function="page">main</action>
2802 </action>
2803
2804 <action>
2805 <touch key="back"/>
2806 <action function="page">restore_confirm</action>
2807 </action>
2808 </page>
2809
2810 <page name="restore_confirm">
2811 <template name="page"/>
2812
2813 <template name="statusbar"/>
2814
2815 <text style="text_m">
2816 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002818 </text>
2819
2820 <text style="text_m_accent">
2821 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002822 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002823 </text>
2824
2825 <text style="text_m">
2826 <placement x="%indent%" y="%row2_y%"/>
2827 <text>%tw_restore_name%</text>
2828 </text>
2829
2830 <fill color="%accent_color%">
2831 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2832 </fill>
2833
2834 <button>
2835 <fill color="%transparent%"/>
2836 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2837 <actions>
2838 <action function="set">tw_back=restore_confirm</action>
2839 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2840 <action function="set">tw_fileexists=0</action>
2841 <action function="page">renamebackup</action>
2842 </actions>
2843 </button>
2844
2845 <text style="text_m_accent">
2846 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </text>
2849
2850 <partitionlist style="partitionlist_summary">
2851 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2852 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2853 <listtype name="restore"/>
2854 </partitionlist>
2855
2856 <button>
2857 <fill color="%transparent%"/>
2858 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2859 <actions>
2860 <action function="set">tw_back=restore_confirm</action>
2861 <action function="page">restore_select</action>
2862 </actions>
2863 </button>
2864
2865 <listbox style="listbox_options">
2866 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002867 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002868 <data variable="tw_skip_md5_check"/>
2869 </listitem>
2870 </listbox>
2871
2872 <text style="text_m_accent">
2873 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <button>
2878 <fill color="%transparent%"/>
2879 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2880 <actions>
2881 <action function="set">tw_back=restore_confirm</action>
2882 <action function="page">restore_options</action>
2883 </actions>
2884 </button>
2885
2886 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002887 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002888 <action function="page">restore_run</action>
2889 </slider>
2890
2891 <action>
2892 <touch key="home"/>
2893 <action function="page">main</action>
2894 </action>
2895
2896 <action>
2897 <touch key="back"/>
2898 <action function="page">restore_options</action>
2899 </action>
2900 </page>
2901
2902 <page name="restore_run">
2903 <template name="page"/>
2904
2905 <template name="statusbar"/>
2906
2907 <text style="text_m">
2908 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2909 <text>%tw_operation% %tw_partition%</text>
2910 </text>
2911
2912 <template name="console"/>
2913
2914 <template name="progress_bar"/>
2915
2916 <text style="text_m">
2917 <placement x="%indent%" y="%row14a_y%"/>
2918 <text>%tw_size_progress%</text>
2919 </text>
2920
2921 <action>
2922 <condition var1="tw_operation_state" var2="1"/>
2923 <actions>
2924 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06002925 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002926 <action function="set">tw_show_reboot=1</action>
2927 <action function="page">action_complete</action>
2928 </actions>
2929 </action>
2930
2931 <action>
2932 <action function="nandroid">restore</action>
2933 </action>
2934 </page>
2935
2936 <page name="mount">
2937 <template name="page"/>
2938
2939 <template name="statusbar"/>
2940
2941 <text style="text_m">
2942 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 </text>
2945
2946 <partitionlist style="partitionlist_headerless_cb">
2947 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2948 <listtype name="mount"/>
2949 </partitionlist>
2950
2951 <fill color="%accent_color%">
2952 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2953 </fill>
2954
2955 <button style="checkbox">
2956 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2957 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002958 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002959 <image resource="checkbox_false"/>
2960 <action function="mountsystemtoggle">1</action>
2961 </button>
2962
2963 <button style="checkbox">
2964 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2965 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <image resource="checkbox_true"/>
2968 <actions>
2969 <action function="set">tw_lifetime_writes=2</action>
2970 <action function="page">system_readonly_check</action>
2971 </actions>
2972 </button>
2973
2974 <button style="checkbox">
2975 <conditions>
2976 <condition var1="tw_has_mtp" var2="1"/>
2977 <condition var1="tw_mtp_enabled" var2="0"/>
2978 </conditions>
2979 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2980 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 <action function="startmtp"/>
2983 </button>
2984
2985 <button style="checkbox">
2986 <conditions>
2987 <condition var1="tw_has_mtp" var2="1"/>
2988 <condition var1="tw_mtp_enabled" var2="1"/>
2989 </conditions>
2990 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2991 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002992 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002993 <action function="stopmtp"/>
2994 </button>
2995
2996 <button>
2997 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2998 <highlight color="%highlight_color%"/>
2999 <image resource="q_btn_storage"/>
3000 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <action function="set">tw_back=mount</action>
3003 <action function="page">select_storage</action>
3004 </actions>
3005 </button>
3006
3007 <button>
3008 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3009 <highlight color="%highlight_color%"/>
3010 <image resource="q_btn_arrow_right"/>
3011 <action function="page">mount_options</action>
3012 </button>
3013
3014 <action>
3015 <touch key="home"/>
3016 <action function="page">main</action>
3017 </action>
3018
3019 <action>
3020 <touch key="back"/>
3021 <action function="page">main</action>
3022 </action>
3023 </page>
3024
3025 <page name="mount_options">
3026 <template name="page"/>
3027
3028 <template name="statusbar"/>
3029
3030 <text style="text_m">
3031 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 </text>
3034
3035 <button style="main_button_full_width">
3036 <condition var1="tw_has_usb_storage" var2="1"/>
3037 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <action function="page">usb_mount</action>
3040 </button>
3041
3042 <button style="main_button_full_width">
3043 <conditions>
3044 <condition var1="tw_is_encrypted" var2="1"/>
3045 <condition var1="tw_is_decrypted" var2="0"/>
3046 </conditions>
3047 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <action function="page">decrypt</action>
3050 </button>
3051
3052 <button>
3053 <placement x="%col1_x_left%" y="%row11_y%"/>
3054 <highlight color="%highlight_color%"/>
3055 <image resource="q_btn_arrow_left"/>
3056 <action function="page">mount</action>
3057 </button>
3058
3059 <action>
3060 <touch key="home"/>
3061 <action function="page">main</action>
3062 </action>
3063
3064 <action>
3065 <touch key="back"/>
3066 <action function="page">mount</action>
3067 </action>
3068 </page>
3069
3070 <page name="usb_mount">
3071 <template name="page"/>
3072
3073 <template name="statusbar"/>
3074
3075 <text style="text_m">
3076 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003077 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 </text>
3079
3080 <text style="text_m_accent">
3081 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003083 </text>
3084
3085 <text style="text_m_fail">
3086 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003087 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003088 </text>
3089
3090 <text style="text_m_fail">
3091 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 </text>
3094
3095 <button style="main_button">
3096 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <action function="page">usb_umount</action>
3099 </button>
3100
3101 <action>
3102 <action function="mount">usb</action>
3103 <action function="set">tw_busy=1</action>
3104 </action>
3105 </page>
3106
3107 <page name="usb_umount">
3108 <action>
3109 <action function="unmount">usb</action>
3110 </action>
3111
3112 <action>
3113 <action function="page">mount_options</action>
3114 <action function="set">tw_busy=0</action>
3115 </action>
3116 </page>
3117
3118 <page name="system_readonly_check">
3119 <action>
3120 <action function="checkpartitionlifetimewrites">/system</action>
3121 </action>
3122
3123 <action>
3124 <condition var1="tw_lifetime_writes" var2="1"/>
3125 <actions>
3126 <action function="mountsystemtoggle">0</action>
3127 <action function="page">mount</action>
3128 </actions>
3129 </action>
3130
3131 <action>
3132 <condition var1="tw_lifetime_writes" var2="0"/>
3133 <actions>
3134 <action function="set">tw_back=mount</action>
3135 <action function="page">system_readonly</action>
3136 </actions>
3137 </action>
3138 </page>
3139
3140 <page name="reboot">
3141 <template name="page"/>
3142
3143 <template name="statusbar"/>
3144
3145 <text style="text_m">
3146 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003147 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 </text>
3149
3150 <button style="main_button">
3151 <condition var1="tw_reboot_system" var2="1"/>
3152 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 <actions>
3155 <action function="set">tw_back=reboot</action>
3156 <action function="set">tw_action=reboot</action>
3157 <action function="set">tw_action_param=system</action>
3158 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3160 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3161 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3162 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3163 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="page">rebootcheck</action>
3165 </actions>
3166 </button>
3167
3168 <button style="main_button">
3169 <condition var1="tw_reboot_poweroff" var2="1"/>
3170 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <actions>
3173 <action function="set">tw_back=reboot</action>
3174 <action function="set">tw_action=reboot</action>
3175 <action function="set">tw_action_param=poweroff</action>
3176 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3178 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3179 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3180 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3181 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <action function="page">rebootcheck</action>
3183 </actions>
3184 </button>
3185
3186 <button style="main_button">
3187 <condition var1="tw_reboot_recovery" var2="1"/>
3188 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <actions>
3191 <action function="set">tw_back=reboot</action>
3192 <action function="set">tw_action=reboot</action>
3193 <action function="set">tw_action_param=recovery</action>
3194 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3196 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3197 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3198 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3199 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="page">rebootcheck</action>
3201 </actions>
3202 </button>
3203
3204 <button style="main_button">
3205 <condition var1="tw_reboot_bootloader" var2="1"/>
3206 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <actions>
3209 <action function="set">tw_back=reboot</action>
3210 <action function="set">tw_action=reboot</action>
3211 <action function="set">tw_action_param=bootloader</action>
3212 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3214 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3215 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3216 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3217 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003218 <action function="page">rebootcheck</action>
3219 </actions>
3220 </button>
3221
3222 <button style="main_button">
3223 <condition var1="tw_download_mode" var2="1"/>
3224 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <actions>
3227 <action function="set">tw_back=reboot</action>
3228 <action function="set">tw_action=reboot</action>
3229 <action function="set">tw_action_param=download</action>
3230 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3232 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3233 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3234 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3235 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="page">rebootcheck</action>
3237 </actions>
3238 </button>
3239
3240 <action>
3241 <touch key="home"/>
3242 <action function="page">main</action>
3243 </action>
3244
3245 <action>
3246 <touch key="back"/>
3247 <action function="page">main</action>
3248 </action>
3249 </page>
3250
3251 <page name="system_readonly">
3252 <template name="page"/>
3253
3254 <template name="statusbar"/>
3255
3256 <text style="text_m">
3257 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003258 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003259 </text>
3260
3261 <text style="text_m_accent">
3262 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003263 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003264 </text>
3265
3266 <text style="text_m">
3267 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </text>
3270
3271 <text style="text_m">
3272 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 </text>
3275
3276 <text style="text_m">
3277 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003278 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003279 </text>
3280
3281 <text style="text_m">
3282 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </text>
3285
3286 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003287 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003292 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
z31s1g608d7ff2016-01-18 19:47:25 +01003296 <button style="main_button_half_height">
3297 <placement x="%col1_x_right%" y="%row8a_y%"/>
3298 <text>{@sel_lang_btn=Select Language}</text>
3299 <action function="page">settings_language</action>
3300 </button>
3301
z31s1g28f0a922015-11-07 18:50:22 +01003302 <checkbox>
3303 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003304 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <data variable="tw_never_show_system_ro_page"/>
3307 </checkbox>
3308
3309 <button style="main_button_half_height">
3310 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003312 <actions>
3313 <action function="mountsystemtoggle">1</action>
3314 <action function="set">tw_page_done=1</action>
3315 <action function="page">%tw_back%</action>
3316 </actions>
3317 </button>
3318
3319 <button style="main_button_half_height">
3320 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <actions>
3323 <action function="mountsystemtoggle">0</action>
3324 <action function="set">tw_page_done=1</action>
3325 <action function="page">%tw_back%</action>
3326 </actions>
3327 </button>
3328 </page>
3329
3330 <page name="settings">
3331 <template name="page"/>
3332
3333 <template name="statusbar"/>
3334
3335 <text style="text_m">
3336 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003338 </text>
3339
3340 <button style="main_button">
3341 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <action function="page">settings_general</action>
3344 </button>
3345
3346 <button style="main_button">
3347 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <action function="page">settings_timezone</action>
3350 </button>
3351
3352 <button style="main_button">
3353 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 <action function="page">settings_screen</action>
3356 </button>
3357
3358 <button style="main_button">
3359 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <action function="page">settings_vibration</action>
3362 </button>
3363
3364 <button style="main_button">
3365 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <action function="page">settings_language</action>
3368 </button>
3369
3370 <button>
3371 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3372 <highlight color="%highlight_color%"/>
3373 <image resource="q_btn_reset"/>
3374 <action function="restoredefaultsettings"/>
3375 </button>
3376
3377 <action>
3378 <touch key="home"/>
3379 <action function="page">main</action>
3380 </action>
3381
3382 <action>
3383 <touch key="back"/>
3384 <action function="page">main3</action>
3385 </action>
3386 </page>
3387
3388 <page name="settings_general">
3389 <template name="page"/>
3390
3391 <template name="statusbar"/>
3392
3393 <text style="text_m">
3394 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 </text>
3397
3398 <listbox style="scrolllist">
3399 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003401 <data variable="tw_signed_zip_verify"/>
3402 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003404 <data variable="tw_rm_rf"/>
3405 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003407 <data variable="tw_skip_md5_generate"/>
3408 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003409 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003410 <data variable="tw_skip_md5_check"/>
3411 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003412 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003413 <data variable="tw_military_time"/>
3414 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003416 <data variable="tw_simulate_actions"/>
3417 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003418 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003419 <data variable="tw_simulate_fail"/>
3420 <condition var1="tw_simulate_actions" var2="1"/>
3421 </listitem>
3422 </listbox>
3423
3424 <action>
3425 <touch key="home"/>
3426 <action function="page">main</action>
3427 </action>
3428
3429 <action>
3430 <touch key="back"/>
3431 <action function="page">settings</action>
3432 </action>
3433 </page>
3434
3435 <page name="settings_timezone">
3436 <template name="page"/>
3437
3438 <template name="statusbar"/>
3439
3440 <text style="text_m">
3441 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 </text>
3444
3445 <text color="%text_color%">
3446 <font resource="font_m"/>
3447 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3448 <text>%tw_time%</text>
3449 </text>
3450
3451 <listbox style="listbox_headerless">
3452 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3453 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3455 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3456 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3457 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3458 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3459 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3460 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3461 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3462 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3463 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3464 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3465 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3466 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3467 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3468 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3469 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3470 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3471 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3472 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3473 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3474 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3475 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3476 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3477 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003478 </listbox>
3479
3480 <button>
3481 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3482 <highlight color="%highlight_color%"/>
3483 <image resource="q_btn_arrow_right"/>
3484 <actions>
3485 <action function="setguitimezone"/>
3486 <action function="page">settings_timezone2</action>
3487 </actions>
3488 </button>
3489
3490 <action>
3491 <condition var1="tw_time_zone_guisel" op="modified"/>
3492 <action function="setguitimezone"/>
3493 </action>
3494
3495 <action>
3496 <touch key="home"/>
3497 <actions>
3498 <action function="page">main</action>
3499 <action function="setguitimezone"/>
3500 </actions>
3501 </action>
3502
3503 <action>
3504 <touch key="back"/>
3505 <actions>
3506 <action function="page">settings</action>
3507 <action function="setguitimezone"/>
3508 </actions>
3509 </action>
3510
3511 <action>
3512 <touch key="power+voldown"/>
3513 <action function="screenshot"/>
3514 </action>
3515 </page>
3516
3517 <page name="settings_timezone2">
3518 <template name="page"/>
3519
3520 <template name="statusbar"/>
3521
3522 <text style="text_m">
3523 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 </text>
3526
3527 <text color="%text_color%">
3528 <font resource="font_m"/>
3529 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3530 <text>%tw_time%</text>
3531 </text>
3532
3533 <checkbox>
3534 <placement x="%col1_x_left%" y="%row1_y%"/>
3535 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003537 <data variable="tw_time_zone_guidst"/>
3538 <image checked="checkbox_true" unchecked="checkbox_false"/>
3539 </checkbox>
3540
3541 <text style="text_m_accent">
3542 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003544 </text>
3545
3546 <button style="main_button_quarter_width">
3547 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <actions>
3550 <action function="set">tw_time_zone_guioffset=0</action>
3551 <action function="setguitimezone"/>
3552 </actions>
3553 </button>
3554
3555 <button style="main_button_quarter_width">
3556 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <actions>
3559 <action function="set">tw_time_zone_guioffset=15</action>
3560 <action function="setguitimezone"/>
3561 </actions>
3562 </button>
3563
3564 <button style="main_button_quarter_width">
3565 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <actions>
3568 <action function="set">tw_time_zone_guioffset=30</action>
3569 <action function="setguitimezone"/>
3570 </actions>
3571 </button>
3572
3573 <button style="main_button_quarter_width">
3574 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 <actions>
3577 <action function="set">tw_time_zone_guioffset=45</action>
3578 <action function="setguitimezone"/>
3579 </actions>
3580 </button>
3581
3582 <button>
3583 <placement x="%col1_x_left%" y="%row11_y%"/>
3584 <highlight color="%highlight_color%"/>
3585 <image resource="q_btn_arrow_left"/>
3586 <actions>
3587 <action function="setguitimezone"/>
3588 <action function="page">settings_timezone</action>
3589 </actions>
3590 </button>
3591
3592 <text style="text_m_accent">
3593 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003595 </text>
3596
3597 <text style="text_m">
3598 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3599 <text>%tw_time_zone%</text>
3600 </text>
3601
3602 <action>
3603 <condition var1="tw_time_zone_guidst" op="modified"/>
3604 <action function="setguitimezone"/>
3605 </action>
3606
3607 <action>
3608 <touch key="home"/>
3609 <actions>
3610 <action function="setguitimezone"/>
3611 <action function="page">main</action>
3612 </actions>
3613 </action>
3614
3615 <action>
3616 <touch key="back"/>
3617 <actions>
3618 <action function="setguitimezone"/>
3619 <action function="page">settings_timezone</action>
3620 </actions>
3621 </action>
3622 </page>
3623
3624 <page name="settings_screen">
3625 <template name="page"/>
3626
3627 <template name="statusbar"/>
3628
3629 <text style="text_m">
3630 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </text>
3633
3634 <button style="checkbox">
3635 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3636 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3637 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003639 <image resource="checkbox_false"/>
3640 <action function="set">tw_screen_timeout_secs=60</action>
3641 </button>
3642
3643 <button style="checkbox">
3644 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3645 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3646 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003648 <image resource="checkbox_true"/>
3649 <action function="set">tw_screen_timeout_secs=0</action>
3650 </button>
3651
3652 <slidervalue>
3653 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3654 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3657 </slidervalue>
3658
3659 <text style="text_m_fail">
3660 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3661 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 </text>
3664
3665 <button>
3666 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3667 <highlight color="%highlight_color%"/>
3668 <image resource="q_btn_arrow_right"/>
3669 <action function="page">settings_screen2</action>
3670 </button>
3671
3672 <action>
3673 <touch key="home"/>
3674 <action function="page">main</action>
3675 </action>
3676
3677 <action>
3678 <touch key="back"/>
3679 <action function="page">settings</action>
3680 </action>
3681 </page>
3682
3683 <page name="settings_screen2">
3684 <template name="page"/>
3685
3686 <template name="statusbar"/>
3687
3688 <text style="text_m">
3689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <slidervalue>
3694 <condition var1="tw_has_brightnesss_file" var2="1"/>
3695 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 <data variable="tw_brightness_pct" min="10" max="100"/>
3698 <actions>
3699 <action function="set">tw_brightness=%tw_brightness_max%</action>
3700 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3701 <action function="compute">tw_brightness/100</action>
3702 <action function="setbrightness">%tw_brightness%</action>
3703 </actions>
3704 </slidervalue>
3705
3706 <text style="text_m_fail">
3707 <condition var1="tw_has_brightnesss_file" var2="0"/>
3708 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003709 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003710 </text>
3711
3712 <button>
3713 <placement x="%col1_x_left%" y="%row11_y%"/>
3714 <highlight color="%highlight_color%"/>
3715 <image resource="q_btn_arrow_left"/>
3716 <action function="page">settings_screen</action>
3717 </button>
3718
3719 <action>
3720 <touch key="home"/>
3721 <action function="page">main</action>
3722 </action>
3723
3724 <action>
3725 <touch key="back"/>
3726 <action function="page">settings</action>
3727 </action>
3728 </page>
3729
3730 <page name="settings_vibration">
3731 <template name="page"/>
3732
3733 <template name="statusbar"/>
3734
3735 <text style="text_m">
3736 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 </text>
3739
3740 <slidervalue>
3741 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003743 <data variable="tw_button_vibrate" min="0" max="300"/>
3744 </slidervalue>
3745
3746 <button>
3747 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3748 <highlight color="%highlight_color%"/>
3749 <image resource="q_btn_arrow_right"/>
3750 <action function="page">settings_vibration2</action>
3751 </button>
3752
3753 <action>
3754 <touch key="home"/>
3755 <action function="page">main</action>
3756 </action>
3757
3758 <action>
3759 <touch key="back"/>
3760 <action function="page">settings</action>
3761 </action>
3762 </page>
3763
3764 <page name="settings_vibration2">
3765 <template name="page"/>
3766
3767 <template name="statusbar"/>
3768
3769 <text style="text_m">
3770 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 </text>
3773
3774 <slidervalue>
3775 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3778 </slidervalue>
3779
3780 <button>
3781 <placement x="%col1_x_left%" y="%row11_y%"/>
3782 <highlight color="%highlight_color%"/>
3783 <image resource="q_btn_arrow_left"/>
3784 <action function="page">settings_vibration</action>
3785 </button>
3786
3787 <button>
3788 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3789 <highlight color="%highlight_color%"/>
3790 <image resource="q_btn_arrow_right"/>
3791 <action function="page">settings_vibration3</action>
3792 </button>
3793
3794 <action>
3795 <touch key="home"/>
3796 <action function="page">main</action>
3797 </action>
3798
3799 <action>
3800 <touch key="back"/>
3801 <action function="page">settings</action>
3802 </action>
3803 </page>
3804
3805 <page name="settings_vibration3">
3806 <template name="page"/>
3807
3808 <template name="statusbar"/>
3809
3810 <text style="text_m">
3811 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003812 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003813 </text>
3814
3815 <slidervalue>
3816 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003818 <data variable="tw_action_vibrate" min="0" max="500"/>
3819 </slidervalue>
3820
3821 <button>
3822 <placement x="%col1_x_left%" y="%row11_y%"/>
3823 <highlight color="%highlight_color%"/>
3824 <image resource="q_btn_arrow_left"/>
3825 <action function="page">settings_vibration2</action>
3826 </button>
3827
3828 <action>
3829 <touch key="home"/>
3830 <action function="page">main</action>
3831 </action>
3832
3833 <action>
3834 <touch key="back"/>
3835 <action function="page">settings</action>
3836 </action>
3837 </page>
3838
Ethan Yonker74db1572015-10-28 12:44:49 -05003839 <page name="settings_language">
3840 <template name="page"/>
3841
3842 <template name="statusbar"/>
3843
3844 <text style="text_m">
3845 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3846 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3847 </text>
3848
z31s1g608d7ff2016-01-18 19:47:25 +01003849 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05003850 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3851 <icon selected="radio_true" unselected="radio_false" />
3852 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01003853 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854
3855 <button>
3856 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3857 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003858 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <action function="setlanguage"></action>
3860 </button>
3861
z31s1g608d7ff2016-01-18 19:47:25 +01003862 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <touch key="home" />
3864 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003865 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866
z31s1g608d7ff2016-01-18 19:47:25 +01003867 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <touch key="back" />
3869 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003870 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 </page>
3872
z31s1g28f0a922015-11-07 18:50:22 +01003873 <page name="advanced">
3874 <template name="page"/>
3875
3876 <template name="statusbar"/>
3877
3878 <text style="text_m">
3879 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </text>
3882
3883 <button style="main_button">
3884 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003886 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </button>
3888
3889 <button style="main_button">
3890 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@fix_perm_s_btn=Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 <action function="page">fixperms</action>
3893 </button>
3894
3895 <button style="main_button">
3896 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 <action function="reload"/>
3899 </button>
3900
3901 <button style="main_button">
3902 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3903 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003904 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003905 <actions>
3906 <action function="set">partitionlisterror=0</action>
3907 <action function="page">partsdcardsel</action>
3908 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003909 </button>
3910
3911 <button style="main_button">
3912 <condition var1="tw_show_dumlock" var2="1"/>
3913 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003915 <action function="page">htcdumlock</action>
3916 </button>
3917
3918 <button style="main_button">
3919 <condition var1="tw_has_injecttwrp" var2="1"/>
3920 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 <actions>
3923 <action function="set">tw_back=advanced</action>
3924 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3926 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3927 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3928 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003929 <action function="page">confirm_action</action>
3930 </actions>
3931 </button>
3932
3933 <action>
3934 <touch key="home"/>
3935 <action function="page">main</action>
3936 </action>
3937
3938 <action>
3939 <touch key="back"/>
3940 <action function="page">main3</action>
3941 </action>
3942 </page>
3943
Ethan Yonker483e9f42016-01-11 22:21:18 -06003944 <page name="partsdcardsel">
3945 <template name="page"/>
3946
3947 <template name="statusbar"/>
3948
3949 <text style="text_m">
3950 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3951 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
3952 </text>
3953
3954 <partitionlist style="partitionlist_headerless_rb">
3955 <data name="tw_storage_path"/>
3956 <listtype name="storage"/>
3957 </partitionlist>
3958
3959 <text style="text_m_fail">
3960 <condition var1="partitionlisterror" var2="1"/>
3961 <placement x="%center_x%" y="%row9_y%" placement="5"/>
3962 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3963 </text>
3964
3965 <button>
3966 <placement x="%btn4_col2_x%" y="%row11_y%"/>
3967 <highlight color="%highlight_color%"/>
3968 <image resource="q_btn_refresh"/>
3969 <action function="refreshsizes"/>
3970 </button>
3971
3972 <button>
3973 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3974 <highlight color="%highlight_color%"/>
3975 <image resource="q_btn_accept"/>
3976 <actions>
3977 <action function="getpartitiondetails">tw_storage_path</action>
3978 <action function="page">partsdcardcheck</action>
3979 </actions>
3980 </button>
3981
3982 <action>
3983 <touch key="home"/>
3984 <action function="page">main</action>
3985 </action>
3986
3987 <action>
3988 <touch key="back"/>
3989 <action function="page">advanced</action>
3990 </action>
3991 </page>
3992
3993 <page name="partsdcardcheck">
3994 <action>
3995 <condition var1="tw_partition_removable" op="=" var2="1"/>
3996 <actions>
3997 <action function="set">partitionlisterror=0</action>
3998 <action function="page">partsdcard</action>
3999 </actions>
4000 </action>
4001
4002 <action>
4003 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4004 <actions>
4005 <action function="set">partitionlisterror=1</action>
4006 <action function="page">partsdcardsel</action>
4007 </actions>
4008 </action>
4009 </page>
4010
z31s1g28f0a922015-11-07 18:50:22 +01004011 <page name="partsdcard">
4012 <template name="page"/>
4013
4014 <template name="statusbar"/>
4015
4016 <text style="text_m">
4017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004019 </text>
4020
4021 <text style="text_m_fail">
4022 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 </text>
4025
4026 <text style="text_m_fail">
4027 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004029 </text>
4030
4031 <text style="text_m_accent">
4032 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 </text>
4035
4036 <text style="text_m">
4037 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4038 <text>%tw_sdext_size%</text>
4039 </text>
4040
4041 <button style="main_button_quarter_width">
4042 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004043 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004044 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004045 </button>
4046
4047 <button style="main_button_quarter_width">
4048 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004049 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004050 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004051 </button>
4052
4053 <button>
4054 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4055 <highlight color="%highlight_color%"/>
4056 <image resource="q_btn_arrow_right"/>
4057 <action function="page">partsdcard2</action>
4058 </button>
4059
4060 <action>
4061 <touch key="home"/>
4062 <action function="page">main</action>
4063 </action>
4064
4065 <action>
4066 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004067 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004068 </action>
4069 </page>
4070
4071 <page name="partsdcard2">
4072 <template name="page"/>
4073
4074 <template name="statusbar"/>
4075
4076 <text style="text_m">
4077 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </text>
4080
4081 <text style="text_m_fail">
4082 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004084 </text>
4085
4086 <text style="text_m_fail">
4087 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
4091 <text style="text_m_accent">
4092 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004094 </text>
4095
4096 <text style="text_m">
4097 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4098 <text>%tw_swap_size%</text>
4099 </text>
4100
4101 <button style="main_button_quarter_width">
4102 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004103 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004104 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </button>
4106
4107 <button style="main_button_quarter_width">
4108 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004110 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004111 </button>
4112
4113 <button>
4114 <placement x="%col1_x_left%" y="%row11_y%"/>
4115 <highlight color="%highlight_color%"/>
4116 <image resource="q_btn_arrow_left"/>
4117 <action function="page">partsdcard</action>
4118 </button>
4119
4120 <button>
4121 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4122 <highlight color="%highlight_color%"/>
4123 <image resource="q_btn_arrow_right"/>
4124 <action function="page">partsdcard3</action>
4125 </button>
4126
4127 <action>
4128 <touch key="home"/>
4129 <action function="page">main</action>
4130 </action>
4131
4132 <action>
4133 <touch key="back"/>
4134 <action function="page">advanced</action>
4135 </action>
4136 </page>
4137
4138 <page name="partsdcard3">
4139 <template name="page"/>
4140
4141 <template name="statusbar"/>
4142
4143 <text style="text_m">
4144 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m_fail">
4149 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m_fail">
4154 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <text style="text_m_accent">
4159 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 </text>
4162
4163 <text style="text_m">
4164 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4165 <text>%tw_sdpart_file_system%</text>
4166 </text>
4167
4168 <button style="main_button_quarter_width">
4169 <placement x="%indent%" y="%row6_y%"/>
4170 <text>EXT3</text>
4171 <action function="set">tw_sdpart_file_system=ext3</action>
4172 </button>
4173
4174 <button style="main_button_quarter_width">
4175 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4176 <text>EXT4</text>
4177 <action function="set">tw_sdpart_file_system=ext4</action>
4178 </button>
4179
4180 <button>
4181 <placement x="%col1_x_left%" y="%row11_y%"/>
4182 <highlight color="%highlight_color%"/>
4183 <image resource="q_btn_arrow_left"/>
4184 <action function="page">partsdcard2</action>
4185 </button>
4186
4187 <button>
4188 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4189 <highlight color="%highlight_color%"/>
4190 <image resource="q_btn_arrow_right"/>
4191 <action function="page">partsdcard_confirm</action>
4192 </button>
4193
4194 <action>
4195 <touch key="home"/>
4196 <action function="page">main</action>
4197 </action>
4198
4199 <action>
4200 <touch key="back"/>
4201 <action function="page">advanced</action>
4202 </action>
4203 </page>
4204
4205 <page name="partsdcard_confirm">
4206 <template name="page"/>
4207
4208 <template name="statusbar"/>
4209
4210 <text style="text_m">
4211 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004212 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004213 </text>
4214
4215 <text style="text_m_fail">
4216 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
4220 <text style="text_m_fail">
4221 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004222 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </text>
4224
4225 <text style="text_m_accent">
4226 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </text>
4229
4230 <text style="text_m_accent">
4231 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m_accent">
4236 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004238 </text>
4239
4240 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004241 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004242 <action function="page">partsdcardaction</action>
4243 <actions>
4244 <action function="set">tw_back=partsdcard</action>
4245 <action function="set">tw_action=partitionsd</action>
4246 <action function="set">tw_has_action2=1</action>
4247 <action function="set">tw_action2=set</action>
4248 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004249 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4250 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4251 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004252 <action function="page">action_page</action>
4253 </actions>
4254 </slider>
4255
4256 <action>
4257 <touch key="home"/>
4258 <action function="page">main</action>
4259 </action>
4260
4261 <action>
4262 <touch key="back"/>
4263 <action function="page">advanced</action>
4264 </action>
4265 </page>
4266
4267 <page name="htcdumlock">
4268 <template name="page"/>
4269
4270 <template name="statusbar"/>
4271
4272 <text style="text_m">
4273 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004274 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004275 </text>
4276
4277 <button style="main_button_full_width">
4278 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004279 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004280 <actions>
4281 <action function="set">tw_back=htcdumlock</action>
4282 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4284 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4285 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4286 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004287 <action function="page">confirm_action</action>
4288 </actions>
4289 </button>
4290
4291 <button style="main_button_full_width">
4292 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004294 <actions>
4295 <action function="set">tw_back=htcdumlock</action>
4296 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4298 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4299 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4300 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004301 <action function="page">confirm_action</action>
4302 </actions>
4303 </button>
4304
4305 <button style="main_button_full_width">
4306 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004307 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004308 <actions>
4309 <action function="set">tw_back=htcdumlock</action>
4310 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4312 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4313 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4314 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004315 <action function="page">confirm_action</action>
4316 </actions>
4317 </button>
4318
4319 <action>
4320 <touch key="home"/>
4321 <action function="page">main</action>
4322 </action>
4323
4324 <action>
4325 <touch key="back"/>
4326 <action function="page">advanced</action>
4327 </action>
4328 </page>
4329
4330 <page name="lock">
4331 <background color="%semi_transparent%"/>
4332
4333 <image>
4334 <image resource="unlock_icon"/>
4335 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4336 </image>
4337
4338 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 <action function="overlay"/>
4341 </slider>
4342 </page>
4343
4344 <page name="filemanagerlist">
4345 <template name="page"/>
4346
4347 <template name="statusbar"/>
4348
4349 <text style="text_m">
4350 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004351 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004352 </text>
4353
4354 <fileselector>
4355 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4356 <text>%tw_file_location1%</text>
4357 <filter folders="1" files="1"/>
4358 <path name="tw_file_location1" default="/"/>
4359 <data name="tw_filename1"/>
4360 <selection name="tw_selection1"/>
4361 </fileselector>
4362
4363 <button>
4364 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4365 <highlight color="%highlight_color%"/>
4366 <image resource="q_btn_folder"/>
4367 <actions>
4368 <action function="set">tw_filename1=tw_file_location1</action>
4369 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004370 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004371 <action function="page">filemanageroptions</action>
4372 </actions>
4373 </button>
4374
4375 <action>
4376 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004378 <action function="set">tw_fm_isfolder=0</action>
4379 </actions>
4380 </action>
4381
4382 <action>
4383 <touch key="home"/>
4384 <action function="page">main</action>
4385 </action>
4386
4387 <action>
4388 <touch key="back"/>
4389 <action function="page">main3</action>
4390 </action>
4391
4392 <action>
4393 <condition var1="tw_filename1" op="modified"/>
4394 <action function="page">filemanageroptions</action>
4395 </action>
4396 </page>
4397
4398 <page name="filemanageroptions">
4399 <template name="page"/>
4400
4401 <template name="statusbar"/>
4402
4403 <text style="text_m">
4404 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004406 </text>
4407
4408 <button style="main_button">
4409 <condition var1="tw_fm_isfolder" var2="0"/>
4410 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 <actions>
4413 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004415 <action function="page">choosedestinationfolder</action>
4416 </actions>
4417 </button>
4418
4419 <button style="main_button">
4420 <condition var1="tw_fm_isfolder" var2="1"/>
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=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; cp -R</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 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 <actions>
4434 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004435 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004436 <action function="page">choosedestinationfolder</action>
4437 </actions>
4438 </button>
4439
4440 <button style="main_button">
4441 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004442 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004443 <actions>
4444 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004446 <action function="set">tw_fm_text2=</action>
4447 <action function="set">tw_fm_text3=</action>
4448 <action function="set">tw_include_text3=0</action>
4449 <action function="set">tw_back=filemanageroptions</action>
4450 <action function="page">filemanagerconfirm</action>
4451 </actions>
4452 </button>
4453
4454 <button style="main_button">
4455 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 <actions>
4458 <action function="set">tw_filemanager_rename=0000</action>
4459 <action function="set">tw_fm_text2=</action>
4460 <action function="set">tw_fm_text3=</action>
4461 <action function="set">tw_include_text3=0</action>
4462 <action function="set">tw_back=filemanageroptions</action>
4463 <action function="page">filemanagerchmod</action>
4464 </actions>
4465 </button>
4466
4467 <button style="main_button">
4468 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004469 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 <actions>
4471 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004472 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004473 <action function="set">tw_fm_text2=</action>
4474 <action function="set">tw_fm_text3=</action>
4475 <action function="set">tw_include_text3=0</action>
4476 <action function="set">tw_back=filemanageroptions</action>
4477 <action function="page">filemanagerconfirm</action>
4478 </actions>
4479 </button>
4480
4481 <button style="main_button">
4482 <condition var1="tw_fm_isfolder" var2="0"/>
4483 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 <actions>
4486 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <action function="set">tw_filemanager_command=mv</action>
4489 <action function="page">filemanagerrenamefile</action>
4490 </actions>
4491 </button>
4492
4493 <button style="main_button">
4494 <condition var1="tw_fm_isfolder" var2="1"/>
4495 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 <actions>
4498 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004499 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004500 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4501 <action function="page">filemanagerrenamefolder</action>
4502 </actions>
4503 </button>
4504
4505 <action>
4506 <touch key="home"/>
4507 <action function="page">main</action>
4508 </action>
4509
4510 <action>
4511 <touch key="back"/>
4512 <action function="page">filemanagerlist</action>
4513 </action>
4514 </page>
4515
4516 <page name="choosedestinationfolder">
4517 <template name="page"/>
4518
4519 <template name="statusbar"/>
4520
4521 <text style="text_m">
4522 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004524 </text>
4525
4526 <fileselector>
4527 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4528 <text>%tw_file_location2%</text>
4529 <filter folders="1" files="0"/>
4530 <path name="tw_file_location2" default="/"/>
4531 <data name="tw_filename2"/>
4532 <selection name="tw_selection2"/>
4533 </fileselector>
4534
4535 <button>
4536 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4537 <highlight color="%highlight_color%"/>
4538 <image resource="q_btn_folder"/>
4539 <actions>
4540 <action function="set">tw_fm_text2=to</action>
4541 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4542 <action function="set">tw_include_text3=1</action>
4543 <action function="set">tw_back=filemanageroptions</action>
4544 <action function="page">filemanagerconfirm</action>
4545 </actions>
4546 </button>
4547
4548 <action>
4549 <touch key="home"/>
4550 <action function="page">main</action>
4551 </action>
4552
4553 <action>
4554 <touch key="back"/>
4555 <action function="page">filemanageroptions</action>
4556 </action>
4557 </page>
4558
4559 <page name="filemanagerrenamefile">
4560 <template name="page"/>
4561
4562 <template name="statusbar"/>
4563
4564 <text style="text_m">
4565 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004566 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004567 </text>
4568
4569 <text style="text_m_accent">
4570 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004571 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 </text>
4573
4574 <input>
4575 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4576 <text>%tw_filemanager_rename%</text>
4577 <data name="tw_filemanager_rename"/>
4578 <restrict minlen="1" maxlen="128"/>
4579 <actions>
4580 <action function="set">tw_fm_text2=to</action>
4581 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4582 <action function="set">tw_include_text3=1</action>
4583 <action function="set">tw_back=filemanageroptions</action>
4584 <action function="page">filemanagerconfirm</action>
4585 </actions>
4586 </input>
4587
4588 <fill color="%accent_color%">
4589 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4590 </fill>
4591
4592 <button style="main_button_half_height">
4593 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004594 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004595 <action function="page">filemanageroptions</action>
4596 </button>
4597
4598 <template name="keyboardtemplate"/>
4599
4600 <action>
4601 <touch key="home"/>
4602 <action function="page">main</action>
4603 </action>
4604
4605 <action>
4606 <touch key="back"/>
4607 <action function="page">filemanageroptions</action>
4608 </action>
4609 </page>
4610
4611 <page name="filemanagerrenamefolder">
4612 <template name="page"/>
4613
4614 <template name="statusbar"/>
4615
4616 <text style="text_m">
4617 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004618 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </text>
4620
4621 <text style="text_m_accent">
4622 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <input>
4627 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4628 <text>%tw_filemanager_rename%</text>
4629 <data name="tw_filemanager_rename"/>
4630 <restrict minlen="1" maxlen="128"/>
4631 <actions>
4632 <action function="set">tw_fm_text2=to</action>
4633 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4634 <action function="set">tw_include_text3=1</action>
4635 <action function="set">tw_back=filemanageroptions</action>
4636 <action function="page">filemanagerconfirm</action>
4637 </actions>
4638 </input>
4639
4640 <fill color="%accent_color%">
4641 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4642 </fill>
4643
4644 <button style="main_button_half_height">
4645 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 <action function="page">filemanageroptions</action>
4648 </button>
4649
4650 <template name="keyboardtemplate"/>
4651
4652 <action>
4653 <touch key="home"/>
4654 <action function="page">main</action>
4655 </action>
4656
4657 <action>
4658 <touch key="back"/>
4659 <action function="page">filemanageroptions</action>
4660 </action>
4661 </page>
4662
4663 <page name="filemanagerchmod">
4664 <template name="page"/>
4665
4666 <template name="statusbar"/>
4667
4668 <text style="text_m">
4669 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <text style="text_m_accent">
4674 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 </text>
4677
4678 <input>
4679 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4680 <text>%tw_filemanager_rename%</text>
4681 <data name="tw_filemanager_rename"/>
4682 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4683 <actions>
4684 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4685 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4686 <action function="set">tw_back=filemanageroptions</action>
4687 <action function="page">filemanagerconfirm</action>
4688 </actions>
4689 </input>
4690
4691 <fill color="%accent_color%">
4692 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4693 </fill>
4694
4695 <button style="main_button_half_height">
4696 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004697 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 <action function="page">filemanageroptions</action>
4699 </button>
4700
4701 <template name="keyboardtemplate"/>
4702
4703 <action>
4704 <touch key="home"/>
4705 <action function="page">main</action>
4706 </action>
4707
4708 <action>
4709 <touch key="back"/>
4710 <action function="page">filemanageroptions</action>
4711 </action>
4712 </page>
4713
4714 <page name="filemanagerconfirm">
4715 <template name="page"/>
4716
4717 <template name="statusbar"/>
4718
4719 <text style="text_m">
4720 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004722 </text>
4723
4724 <text style="text_m_accent">
4725 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4726 <text>%tw_fm_text1%</text>
4727 </text>
4728
4729 <text style="text_m">
4730 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4731 <text>%tw_filename1%</text>
4732 </text>
4733
4734 <text style="text_m_accent">
4735 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4736 <text>%tw_fm_text2%</text>
4737 </text>
4738
4739 <text style="text_m">
4740 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4741 <text>%tw_fm_text3%</text>
4742 </text>
4743
4744 <text style="text_m">
4745 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004746 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004747 </text>
4748
4749 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004750 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004751 <action function="page">filemanageraction</action>
4752 </slider>
4753
4754 <action>
4755 <touch key="back"/>
4756 <action function="page">%tw_back%</action>
4757 </action>
4758
4759 <action>
4760 <touch key="home"/>
4761 <action function="page">main</action>
4762 </action>
4763 </page>
4764
4765 <page name="filemanageraction">
4766 <template name="page"/>
4767
4768 <template name="statusbar"/>
4769
4770 <text style="text_m">
4771 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004772 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004773 </text>
4774
4775 <template name="console"/>
4776
4777 <template name="progress_bar"/>
4778
4779 <action>
4780 <conditions>
4781 <condition var1="tw_operation_state" var2="1"/>
4782 <condition var1="tw_operation_status" var2="0"/>
4783 </conditions>
4784 <actions>
4785 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004786 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004787 <action function="page">action_complete</action>
4788 </actions>
4789 </action>
4790
4791 <action>
4792 <conditions>
4793 <condition var1="tw_operation_state" var2="1"/>
4794 <condition var1="tw_operation_status" op="!=" var2="0"/>
4795 </conditions>
4796 <actions>
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 <condition var1="tw_include_text3" var2="0"/>
4804 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4805 </action>
4806
4807 <action>
4808 <condition var1="tw_include_text3" var2="1"/>
4809 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4810 </action>
4811 </page>
4812
4813 <page name="decrypt">
4814 <template name="page"/>
4815
4816 <template name="statusbar"/>
4817
4818 <action>
4819 <condition var1="tw_crypto_pwtype" var2="2"/>
4820 <action function="page">decrypt_pattern</action>
4821 </action>
4822
4823 <text style="text_m">
4824 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004825 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004826 </text>
4827
4828 <text style="text_m_accent">
4829 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004830 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004831 </text>
4832
4833 <input>
4834 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4835 <text>%tw_crypto_display%</text>
4836 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4837 <restrict minlen="1" maxlen="254"/>
4838 <action function="page">trydecrypt</action>
4839 </input>
4840
4841 <fill color="%accent_color%">
4842 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4843 </fill>
4844
4845 <fill color="%text_fail_color%">
4846 <condition var1="tw_password_fail" var2="1"/>
4847 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4848 </fill>
4849
4850 <text style="text_m_fail">
4851 <condition var1="tw_password_fail" var2="1"/>
4852 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004853 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004854 </text>
4855
4856 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004857 <placement x="%col1_x_left%" y="%row4_y%"/>
4858 <text>{@sel_lang_btn=Select Language}</text>
4859 <action function="page">settings_language</action>
4860 </button>
4861
4862 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004863 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004864 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004865 <actions>
4866 <action function="set">tw_page_done=1</action>
4867 <action function="page">main</action>
4868 </actions>
4869 </button>
4870
4871 <template name="keyboardtemplate"/>
4872 </page>
4873
4874 <page name="decrypt_pattern">
4875 <template name="page"/>
4876
4877 <template name="statusbar"/>
4878
Aleksa Saraib25a1832015-12-31 17:36:00 +01004879 <action>
4880 <action function="set">tw_gui_pattern_grid_size=3</action>
4881 </action>
4882
z31s1g28f0a922015-11-07 18:50:22 +01004883 <text style="text_m">
4884 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004885 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004886 </text>
4887
4888 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004889 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004890 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004891 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004892 </text>
4893
Aleksa Saraib25a1832015-12-31 17:36:00 +01004894 <text style="text_m_fail">
4895 <condition var1="tw_password_fail" var2="1"/>
4896 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4897 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4898 </text>
4899
z31s1g28f0a922015-11-07 18:50:22 +01004900 <text style="text_m">
4901 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004902 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004903 </text>
4904
4905 <patternpassword>
4906 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004907 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4908 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4909 <data name="tw_crypto_password"/>
4910 <action function="page">trydecrypt</action>
4911 </patternpassword>
4912
4913 <fill color="#000000">
4914 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4915 </fill>
4916
4917 <button>
4918 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4919 <image resource="back"/>
4920 <condition var1="tw_busy" var2="0"/>
4921 <actions>
4922 <action function="set">tw_page_done=1</action>
4923 <action function="page">main</action>
4924 </actions>
4925 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004926
4927 <button>
4928 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4929 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4930 <image resource="grid_less"/>
4931 <action function="set">tw_gui_pattern_grid_size=3</action>
4932 </button>
4933
4934 <button>
4935 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4936 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4937 <image resource="grid_less"/>
4938 <action function="set">tw_gui_pattern_grid_size=3</action>
4939 </button>
4940
4941 <button>
4942 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4943 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4944 <image resource="grid_less"/>
4945 <action function="set">tw_gui_pattern_grid_size=4</action>
4946 </button>
4947
4948 <button>
4949 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4950 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4951 <image resource="grid_less"/>
4952 <action function="set">tw_gui_pattern_grid_size=5</action>
4953 </button>
4954
4955 <button>
4956 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4957 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4958 <image resource="grid_more"/>
4959 <action function="set">tw_gui_pattern_grid_size=4</action>
4960 </button>
4961
4962 <button>
4963 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4964 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4965 <image resource="grid_more"/>
4966 <action function="set">tw_gui_pattern_grid_size=5</action>
4967 </button>
4968
4969 <button>
4970 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4971 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4972 <image resource="grid_more"/>
4973 <action function="set">tw_gui_pattern_grid_size=6</action>
4974 </button>
4975
4976 <button>
4977 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4978 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4979 <image resource="grid_more"/>
4980 <action function="set">tw_gui_pattern_grid_size=6</action>
4981 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004982 </page>
4983
4984 <page name="trydecrypt">
4985 <template name="page"/>
4986
4987 <template name="statusbar"/>
4988
4989 <text style="text_m">
4990 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004991 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004992 </text>
4993
4994 <template name="console"/>
4995
4996 <template name="progress_bar"/>
4997
4998 <action>
4999 <action function="decrypt"/>
5000 </action>
5001
5002 <action>
5003 <conditions>
5004 <condition var1="tw_operation_state" var2="1"/>
5005 <condition var1="tw_operation_status" op="!=" var2="0"/>
5006 </conditions>
5007 <actions>
5008 <action function="set">tw_password_fail=1</action>
5009 <action function="page">decrypt</action>
5010 </actions>
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_page_done=1</action>
5020 <action function="page">main</action>
5021 </actions>
5022 </action>
5023 </page>
5024
z31s1g28f0a922015-11-07 18:50:22 +01005025 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005026 <terminal>
5027 <condition var1="tw_hide_kb" var2="0"/>
5028 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5029 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005030
z31s1g56189522016-01-13 19:12:40 +01005031 <terminal>
5032 <condition var1="tw_hide_kb" var2="1"/>
5033 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5034 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005035
z31s1g56189522016-01-13 19:12:40 +01005036 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005037
5038 <template name="keyboardtemplate"/>
5039
z31s1g608d7ff2016-01-18 19:47:25 +01005040 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005041 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005042 </fill>
z31s1g56189522016-01-13 19:12:40 +01005043
z31s1g608d7ff2016-01-18 19:47:25 +01005044 <button>
z31s1g56189522016-01-13 19:12:40 +01005045 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5046 <image resource="back" />
5047 <condition var1="tw_busy" var2="0" />
5048 <actions>
5049 <action function="set">tw_hide_kb=0</action>
5050 <action function="key">back</action>
5051 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005052 </button>
z31s1g56189522016-01-13 19:12:40 +01005053
z31s1g608d7ff2016-01-18 19:47:25 +01005054 <button>
z31s1g56189522016-01-13 19:12:40 +01005055 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5056 <image resource="home" />
5057 <condition var1="tw_busy" var2="0" />
5058 <actions>
5059 <action function="set">tw_hide_kb=0</action>
5060 <action function="key">home</action>
5061 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005062 </button>
z31s1g56189522016-01-13 19:12:40 +01005063
z31s1g608d7ff2016-01-18 19:47:25 +01005064 <button>
z31s1g56189522016-01-13 19:12:40 +01005065 <condition var1="tw_hide_kb" var2="0"/>
5066 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5067 <image resource="kb_hide" />
5068 <condition var1="tw_busy" var2="0" />
5069 <actions>
5070 <action function="set">tw_hide_kb=1</action>
5071 <action function="page">terminalcommand</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="1"/>
5077 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5078 <image resource="kb_show" />
5079 <condition var1="tw_busy" var2="0" />
5080 <actions>
5081 <action function="set">tw_hide_kb=0</action>
5082 <action function="page">terminalcommand</action>
5083 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005084 </button>
z31s1g56189522016-01-13 19:12:40 +01005085
z31s1g28f0a922015-11-07 18:50:22 +01005086 <action>
5087 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005088 <actions>
5089 <action function="set">tw_hide_kb=0</action>
5090 <action function="page">main</action>
5091 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </action>
5093
5094 <action>
5095 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005096 <actions>
5097 <action function="set">tw_hide_kb=0</action>
5098 <action function="page">advanced</action>
5099 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005100 </action>
z31s1g56189522016-01-13 19:12:40 +01005101
z31s1g608d7ff2016-01-18 19:47:25 +01005102 <action>
z31s1g56189522016-01-13 19:12:40 +01005103 <touch key="power+voldown" />
5104 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005105 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005106 </page>
5107
5108 <page name="sideload">
5109 <template name="page"/>
5110
5111 <template name="statusbar"/>
5112
5113 <text style="text_m">
5114 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005115 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005116 </text>
5117
5118 <text style="text_m_accent">
5119 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005120 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005121 </text>
5122
5123 <checkbox>
5124 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005125 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005126 <data variable="tw_wipe_dalvik"/>
5127 </checkbox>
5128
5129 <checkbox>
5130 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005131 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005132 <data variable="tw_wipe_cache"/>
5133 </checkbox>
5134
5135 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005136 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005137 <actions>
5138 <action function="set">tw_back=install_type</action>
5139 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005140 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5141 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5142 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005143 <action function="set">tw_has_cancel=1</action>
5144 <action function="set">tw_show_reboot=1</action>
5145 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5146 <action function="page">action_page</action>
5147 </actions>
5148 </slider>
5149
5150 <action>
5151 <touch key="home"/>
5152 <action function="page">main</action>
5153 </action>
5154
5155 <action>
5156 <touch key="back"/>
5157 <action function="page">install_type</action>
5158 </action>
5159 </page>
5160
5161 <page name="fixperms">
5162 <template name="page"/>
5163
5164 <template name="statusbar"/>
5165
5166 <text style="text_m">
5167 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005168 <text>{@advanced_hdr=Advanced} &gt; {@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005169 </text>
5170
5171 <text style="text_m_accent">
5172 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005173 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005174 </text>
5175
5176 <checkbox>
5177 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005178 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005179 <data variable="tw_fixperms_restorecon"/>
5180 </checkbox>
5181
5182 <text style="text_m_fail">
5183 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005184 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005185 </text>
5186
5187 <text style="text_m_fail">
5188 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005189 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005190 </text>
5191
5192 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005193 <text>{@swipe_fix_perms= Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005194 <actions>
5195 <action function="set">tw_back=advanced</action>
5196 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005197 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
5198 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
5199 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005200 <action function="set">tw_show_reboot=1</action>
5201 <action function="page">action_page</action>
5202 </actions>
5203 </slider>
5204
5205 <action>
5206 <touch key="home"/>
5207 <action function="page">main</action>
5208 </action>
5209
5210 <action>
5211 <touch key="back"/>
5212 <action function="page">advanced</action>
5213 </action>
5214 </page>
5215
5216 <page name="installsu">
5217 <template name="page"/>
5218
5219 <template name="statusbar"/>
5220
5221 <text style="text_m">
5222 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005223 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005224 </text>
5225
5226 <text style="text_m_accent">
5227 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005228 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005229 </text>
5230
5231 <text style="text_m">
5232 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005234 </text>
5235
5236 <text style="text_m">
5237 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005238 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005239 </text>
5240
5241 <button style="main_button_full_width">
5242 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005243 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005244 <action function="set">tw_page_done=1</action>
5245 </button>
5246
5247 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005248 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005249 <actions>
5250 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005251 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005252 <action function="set">tw_action_text2=</action>
5253 <action function="page">singleaction_page</action>
5254 </actions>
5255 </slider>
5256 </page>
5257
5258 <page name="slideout">
5259 <fill color="%background_color%">
5260 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5261 </fill>
5262
5263 <console>
5264 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5265 </console>
5266
5267 <fill color="%fileselector_linecolor%">
5268 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5269 </fill>
5270
5271 <fill color="%fileselector_linecolor%">
5272 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5273 </fill>
5274
5275 <button>
5276 <fill color="%transparent%"/>
5277 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5278 <action function="overlay"/>
5279 </button>
5280
5281 <action>
5282 <touch key="power+voldown"/>
5283 <action function="screenshot"/>
5284 </action>
5285 </page>
5286
5287 <page name="select_storage">
5288 <template name="page"/>
5289
5290 <template name="statusbar"/>
5291
5292 <text style="text_m">
5293 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5294 <text>%tw_storagetext%</text>
5295 </text>
5296
5297 <partitionlist style="partitionlist_headerless_rb">
5298 <data name="tw_storage_path"/>
5299 <listtype name="storage"/>
5300 </partitionlist>
5301
5302 <button>
5303 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5304 <highlight color="%highlight_color%"/>
5305 <image resource="q_btn_refresh"/>
5306 <actions>
5307 <action function="refreshsizes"/>
5308 <action function="page">select_storage</action>
5309 </actions>
5310 </button>
5311
5312 <button>
5313 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5314 <highlight color="%highlight_color%"/>
5315 <image resource="q_btn_accept"/>
5316 <actions>
5317 <action function="set">tw_clear_destination=%tw_back%</action>
5318 <action function="page">clear_vars</action>
5319 </actions>
5320 </button>
5321
5322 <action>
5323 <touch key="power+voldown"/>
5324 <action function="screenshot"/>
5325 </action>
5326 </page>
5327 </pages>
5328</recovery>