blob: e840687c58729d2e87e34b781a4d50356e5e8774 [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 Yonker090751a2016-01-23 16:31:41 -06002002 <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">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003890 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003892 <text>{@fix_context_btn=Fix Contexts}</text>
3893 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003894 </button>
3895
3896 <button style="main_button">
3897 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 <action function="reload"/>
3900 </button>
3901
3902 <button style="main_button">
3903 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3904 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003906 <actions>
3907 <action function="set">partitionlisterror=0</action>
3908 <action function="page">partsdcardsel</action>
3909 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003910 </button>
3911
3912 <button style="main_button">
3913 <condition var1="tw_show_dumlock" var2="1"/>
3914 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 <action function="page">htcdumlock</action>
3917 </button>
3918
3919 <button style="main_button">
3920 <condition var1="tw_has_injecttwrp" var2="1"/>
3921 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003922 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003923 <actions>
3924 <action function="set">tw_back=advanced</action>
3925 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3927 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3928 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3929 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003930 <action function="page">confirm_action</action>
3931 </actions>
3932 </button>
3933
3934 <action>
3935 <touch key="home"/>
3936 <action function="page">main</action>
3937 </action>
3938
3939 <action>
3940 <touch key="back"/>
3941 <action function="page">main3</action>
3942 </action>
3943 </page>
3944
Ethan Yonker483e9f42016-01-11 22:21:18 -06003945 <page name="partsdcardsel">
3946 <template name="page"/>
3947
3948 <template name="statusbar"/>
3949
3950 <text style="text_m">
3951 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3952 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
3953 </text>
3954
3955 <partitionlist style="partitionlist_headerless_rb">
3956 <data name="tw_storage_path"/>
3957 <listtype name="storage"/>
3958 </partitionlist>
3959
3960 <text style="text_m_fail">
3961 <condition var1="partitionlisterror" var2="1"/>
3962 <placement x="%center_x%" y="%row9_y%" placement="5"/>
3963 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3964 </text>
3965
3966 <button>
3967 <placement x="%btn4_col2_x%" y="%row11_y%"/>
3968 <highlight color="%highlight_color%"/>
3969 <image resource="q_btn_refresh"/>
3970 <action function="refreshsizes"/>
3971 </button>
3972
3973 <button>
3974 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3975 <highlight color="%highlight_color%"/>
3976 <image resource="q_btn_accept"/>
3977 <actions>
3978 <action function="getpartitiondetails">tw_storage_path</action>
3979 <action function="page">partsdcardcheck</action>
3980 </actions>
3981 </button>
3982
3983 <action>
3984 <touch key="home"/>
3985 <action function="page">main</action>
3986 </action>
3987
3988 <action>
3989 <touch key="back"/>
3990 <action function="page">advanced</action>
3991 </action>
3992 </page>
3993
3994 <page name="partsdcardcheck">
3995 <action>
3996 <condition var1="tw_partition_removable" op="=" var2="1"/>
3997 <actions>
3998 <action function="set">partitionlisterror=0</action>
3999 <action function="page">partsdcard</action>
4000 </actions>
4001 </action>
4002
4003 <action>
4004 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4005 <actions>
4006 <action function="set">partitionlisterror=1</action>
4007 <action function="page">partsdcardsel</action>
4008 </actions>
4009 </action>
4010 </page>
4011
z31s1g28f0a922015-11-07 18:50:22 +01004012 <page name="partsdcard">
4013 <template name="page"/>
4014
4015 <template name="statusbar"/>
4016
4017 <text style="text_m">
4018 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004019 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004020 </text>
4021
4022 <text style="text_m_fail">
4023 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004024 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004025 </text>
4026
4027 <text style="text_m_fail">
4028 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004029 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004030 </text>
4031
4032 <text style="text_m_accent">
4033 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004034 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004035 </text>
4036
4037 <text style="text_m">
4038 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4039 <text>%tw_sdext_size%</text>
4040 </text>
4041
4042 <button style="main_button_quarter_width">
4043 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004045 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </button>
4047
4048 <button style="main_button_quarter_width">
4049 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004051 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004052 </button>
4053
4054 <button>
4055 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4056 <highlight color="%highlight_color%"/>
4057 <image resource="q_btn_arrow_right"/>
4058 <action function="page">partsdcard2</action>
4059 </button>
4060
4061 <action>
4062 <touch key="home"/>
4063 <action function="page">main</action>
4064 </action>
4065
4066 <action>
4067 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004068 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </action>
4070 </page>
4071
4072 <page name="partsdcard2">
4073 <template name="page"/>
4074
4075 <template name="statusbar"/>
4076
4077 <text style="text_m">
4078 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <text style="text_m_fail">
4083 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <text style="text_m_fail">
4088 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
4092 <text style="text_m_accent">
4093 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <text style="text_m">
4098 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4099 <text>%tw_swap_size%</text>
4100 </text>
4101
4102 <button style="main_button_quarter_width">
4103 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004105 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004106 </button>
4107
4108 <button style="main_button_quarter_width">
4109 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004110 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004111 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004112 </button>
4113
4114 <button>
4115 <placement x="%col1_x_left%" y="%row11_y%"/>
4116 <highlight color="%highlight_color%"/>
4117 <image resource="q_btn_arrow_left"/>
4118 <action function="page">partsdcard</action>
4119 </button>
4120
4121 <button>
4122 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4123 <highlight color="%highlight_color%"/>
4124 <image resource="q_btn_arrow_right"/>
4125 <action function="page">partsdcard3</action>
4126 </button>
4127
4128 <action>
4129 <touch key="home"/>
4130 <action function="page">main</action>
4131 </action>
4132
4133 <action>
4134 <touch key="back"/>
4135 <action function="page">advanced</action>
4136 </action>
4137 </page>
4138
4139 <page name="partsdcard3">
4140 <template name="page"/>
4141
4142 <template name="statusbar"/>
4143
4144 <text style="text_m">
4145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004147 </text>
4148
4149 <text style="text_m_fail">
4150 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <text style="text_m_fail">
4155 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <text style="text_m_accent">
4160 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </text>
4163
4164 <text style="text_m">
4165 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4166 <text>%tw_sdpart_file_system%</text>
4167 </text>
4168
4169 <button style="main_button_quarter_width">
4170 <placement x="%indent%" y="%row6_y%"/>
4171 <text>EXT3</text>
4172 <action function="set">tw_sdpart_file_system=ext3</action>
4173 </button>
4174
4175 <button style="main_button_quarter_width">
4176 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4177 <text>EXT4</text>
4178 <action function="set">tw_sdpart_file_system=ext4</action>
4179 </button>
4180
4181 <button>
4182 <placement x="%col1_x_left%" y="%row11_y%"/>
4183 <highlight color="%highlight_color%"/>
4184 <image resource="q_btn_arrow_left"/>
4185 <action function="page">partsdcard2</action>
4186 </button>
4187
4188 <button>
4189 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4190 <highlight color="%highlight_color%"/>
4191 <image resource="q_btn_arrow_right"/>
4192 <action function="page">partsdcard_confirm</action>
4193 </button>
4194
4195 <action>
4196 <touch key="home"/>
4197 <action function="page">main</action>
4198 </action>
4199
4200 <action>
4201 <touch key="back"/>
4202 <action function="page">advanced</action>
4203 </action>
4204 </page>
4205
4206 <page name="partsdcard_confirm">
4207 <template name="page"/>
4208
4209 <template name="statusbar"/>
4210
4211 <text style="text_m">
4212 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </text>
4215
4216 <text style="text_m_fail">
4217 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004219 </text>
4220
4221 <text style="text_m_fail">
4222 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </text>
4225
4226 <text style="text_m_accent">
4227 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004228 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004229 </text>
4230
4231 <text style="text_m_accent">
4232 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 </text>
4235
4236 <text style="text_m_accent">
4237 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004238 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004239 </text>
4240
4241 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004242 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004243 <action function="page">partsdcardaction</action>
4244 <actions>
4245 <action function="set">tw_back=partsdcard</action>
4246 <action function="set">tw_action=partitionsd</action>
4247 <action function="set">tw_has_action2=1</action>
4248 <action function="set">tw_action2=set</action>
4249 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004250 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4251 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4252 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004253 <action function="page">action_page</action>
4254 </actions>
4255 </slider>
4256
4257 <action>
4258 <touch key="home"/>
4259 <action function="page">main</action>
4260 </action>
4261
4262 <action>
4263 <touch key="back"/>
4264 <action function="page">advanced</action>
4265 </action>
4266 </page>
4267
4268 <page name="htcdumlock">
4269 <template name="page"/>
4270
4271 <template name="statusbar"/>
4272
4273 <text style="text_m">
4274 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </text>
4277
4278 <button style="main_button_full_width">
4279 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 <actions>
4282 <action function="set">tw_back=htcdumlock</action>
4283 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004284 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4285 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4286 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4287 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004288 <action function="page">confirm_action</action>
4289 </actions>
4290 </button>
4291
4292 <button style="main_button_full_width">
4293 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004295 <actions>
4296 <action function="set">tw_back=htcdumlock</action>
4297 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4299 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4300 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4301 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004302 <action function="page">confirm_action</action>
4303 </actions>
4304 </button>
4305
4306 <button style="main_button_full_width">
4307 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004308 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004309 <actions>
4310 <action function="set">tw_back=htcdumlock</action>
4311 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004312 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4313 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4314 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4315 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004316 <action function="page">confirm_action</action>
4317 </actions>
4318 </button>
4319
4320 <action>
4321 <touch key="home"/>
4322 <action function="page">main</action>
4323 </action>
4324
4325 <action>
4326 <touch key="back"/>
4327 <action function="page">advanced</action>
4328 </action>
4329 </page>
4330
4331 <page name="lock">
4332 <background color="%semi_transparent%"/>
4333
4334 <image>
4335 <image resource="unlock_icon"/>
4336 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4337 </image>
4338
4339 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 <action function="overlay"/>
4342 </slider>
4343 </page>
4344
4345 <page name="filemanagerlist">
4346 <template name="page"/>
4347
4348 <template name="statusbar"/>
4349
4350 <text style="text_m">
4351 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004353 </text>
4354
4355 <fileselector>
4356 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4357 <text>%tw_file_location1%</text>
4358 <filter folders="1" files="1"/>
4359 <path name="tw_file_location1" default="/"/>
4360 <data name="tw_filename1"/>
4361 <selection name="tw_selection1"/>
4362 </fileselector>
4363
4364 <button>
4365 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4366 <highlight color="%highlight_color%"/>
4367 <image resource="q_btn_folder"/>
4368 <actions>
4369 <action function="set">tw_filename1=tw_file_location1</action>
4370 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004371 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004372 <action function="page">filemanageroptions</action>
4373 </actions>
4374 </button>
4375
4376 <action>
4377 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004378 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004379 <action function="set">tw_fm_isfolder=0</action>
4380 </actions>
4381 </action>
4382
4383 <action>
4384 <touch key="home"/>
4385 <action function="page">main</action>
4386 </action>
4387
4388 <action>
4389 <touch key="back"/>
4390 <action function="page">main3</action>
4391 </action>
4392
4393 <action>
4394 <condition var1="tw_filename1" op="modified"/>
4395 <action function="page">filemanageroptions</action>
4396 </action>
4397 </page>
4398
4399 <page name="filemanageroptions">
4400 <template name="page"/>
4401
4402 <template name="statusbar"/>
4403
4404 <text style="text_m">
4405 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <button style="main_button">
4410 <condition var1="tw_fm_isfolder" var2="0"/>
4411 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004412 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004413 <actions>
4414 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004415 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004416 <action function="page">choosedestinationfolder</action>
4417 </actions>
4418 </button>
4419
4420 <button style="main_button">
4421 <condition var1="tw_fm_isfolder" var2="1"/>
4422 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 <actions>
4425 <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 -05004426 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004427 <action function="page">choosedestinationfolder</action>
4428 </actions>
4429 </button>
4430
4431 <button style="main_button">
4432 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 <actions>
4435 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004437 <action function="page">choosedestinationfolder</action>
4438 </actions>
4439 </button>
4440
4441 <button style="main_button">
4442 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004444 <actions>
4445 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004447 <action function="set">tw_fm_text2=</action>
4448 <action function="set">tw_fm_text3=</action>
4449 <action function="set">tw_include_text3=0</action>
4450 <action function="set">tw_back=filemanageroptions</action>
4451 <action function="page">filemanagerconfirm</action>
4452 </actions>
4453 </button>
4454
4455 <button style="main_button">
4456 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004458 <actions>
4459 <action function="set">tw_filemanager_rename=0000</action>
4460 <action function="set">tw_fm_text2=</action>
4461 <action function="set">tw_fm_text3=</action>
4462 <action function="set">tw_include_text3=0</action>
4463 <action function="set">tw_back=filemanageroptions</action>
4464 <action function="page">filemanagerchmod</action>
4465 </actions>
4466 </button>
4467
4468 <button style="main_button">
4469 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004470 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004471 <actions>
4472 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004474 <action function="set">tw_fm_text2=</action>
4475 <action function="set">tw_fm_text3=</action>
4476 <action function="set">tw_include_text3=0</action>
4477 <action function="set">tw_back=filemanageroptions</action>
4478 <action function="page">filemanagerconfirm</action>
4479 </actions>
4480 </button>
4481
4482 <button style="main_button">
4483 <condition var1="tw_fm_isfolder" var2="0"/>
4484 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004486 <actions>
4487 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004489 <action function="set">tw_filemanager_command=mv</action>
4490 <action function="page">filemanagerrenamefile</action>
4491 </actions>
4492 </button>
4493
4494 <button style="main_button">
4495 <condition var1="tw_fm_isfolder" var2="1"/>
4496 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004497 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004498 <actions>
4499 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004500 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004501 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4502 <action function="page">filemanagerrenamefolder</action>
4503 </actions>
4504 </button>
4505
4506 <action>
4507 <touch key="home"/>
4508 <action function="page">main</action>
4509 </action>
4510
4511 <action>
4512 <touch key="back"/>
4513 <action function="page">filemanagerlist</action>
4514 </action>
4515 </page>
4516
4517 <page name="choosedestinationfolder">
4518 <template name="page"/>
4519
4520 <template name="statusbar"/>
4521
4522 <text style="text_m">
4523 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004524 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004525 </text>
4526
4527 <fileselector>
4528 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4529 <text>%tw_file_location2%</text>
4530 <filter folders="1" files="0"/>
4531 <path name="tw_file_location2" default="/"/>
4532 <data name="tw_filename2"/>
4533 <selection name="tw_selection2"/>
4534 </fileselector>
4535
4536 <button>
4537 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4538 <highlight color="%highlight_color%"/>
4539 <image resource="q_btn_folder"/>
4540 <actions>
4541 <action function="set">tw_fm_text2=to</action>
4542 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4543 <action function="set">tw_include_text3=1</action>
4544 <action function="set">tw_back=filemanageroptions</action>
4545 <action function="page">filemanagerconfirm</action>
4546 </actions>
4547 </button>
4548
4549 <action>
4550 <touch key="home"/>
4551 <action function="page">main</action>
4552 </action>
4553
4554 <action>
4555 <touch key="back"/>
4556 <action function="page">filemanageroptions</action>
4557 </action>
4558 </page>
4559
4560 <page name="filemanagerrenamefile">
4561 <template name="page"/>
4562
4563 <template name="statusbar"/>
4564
4565 <text style="text_m">
4566 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004567 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004568 </text>
4569
4570 <text style="text_m_accent">
4571 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004572 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004573 </text>
4574
4575 <input>
4576 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4577 <text>%tw_filemanager_rename%</text>
4578 <data name="tw_filemanager_rename"/>
4579 <restrict minlen="1" maxlen="128"/>
4580 <actions>
4581 <action function="set">tw_fm_text2=to</action>
4582 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4583 <action function="set">tw_include_text3=1</action>
4584 <action function="set">tw_back=filemanageroptions</action>
4585 <action function="page">filemanagerconfirm</action>
4586 </actions>
4587 </input>
4588
4589 <fill color="%accent_color%">
4590 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4591 </fill>
4592
4593 <button style="main_button_half_height">
4594 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004595 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004596 <action function="page">filemanageroptions</action>
4597 </button>
4598
4599 <template name="keyboardtemplate"/>
4600
4601 <action>
4602 <touch key="home"/>
4603 <action function="page">main</action>
4604 </action>
4605
4606 <action>
4607 <touch key="back"/>
4608 <action function="page">filemanageroptions</action>
4609 </action>
4610 </page>
4611
4612 <page name="filemanagerrenamefolder">
4613 <template name="page"/>
4614
4615 <template name="statusbar"/>
4616
4617 <text style="text_m">
4618 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 </text>
4621
4622 <text style="text_m_accent">
4623 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004625 </text>
4626
4627 <input>
4628 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4629 <text>%tw_filemanager_rename%</text>
4630 <data name="tw_filemanager_rename"/>
4631 <restrict minlen="1" maxlen="128"/>
4632 <actions>
4633 <action function="set">tw_fm_text2=to</action>
4634 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4635 <action function="set">tw_include_text3=1</action>
4636 <action function="set">tw_back=filemanageroptions</action>
4637 <action function="page">filemanagerconfirm</action>
4638 </actions>
4639 </input>
4640
4641 <fill color="%accent_color%">
4642 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4643 </fill>
4644
4645 <button style="main_button_half_height">
4646 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004648 <action function="page">filemanageroptions</action>
4649 </button>
4650
4651 <template name="keyboardtemplate"/>
4652
4653 <action>
4654 <touch key="home"/>
4655 <action function="page">main</action>
4656 </action>
4657
4658 <action>
4659 <touch key="back"/>
4660 <action function="page">filemanageroptions</action>
4661 </action>
4662 </page>
4663
4664 <page name="filemanagerchmod">
4665 <template name="page"/>
4666
4667 <template name="statusbar"/>
4668
4669 <text style="text_m">
4670 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004671 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004672 </text>
4673
4674 <text style="text_m_accent">
4675 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004677 </text>
4678
4679 <input>
4680 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4681 <text>%tw_filemanager_rename%</text>
4682 <data name="tw_filemanager_rename"/>
4683 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4684 <actions>
4685 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4686 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4687 <action function="set">tw_back=filemanageroptions</action>
4688 <action function="page">filemanagerconfirm</action>
4689 </actions>
4690 </input>
4691
4692 <fill color="%accent_color%">
4693 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4694 </fill>
4695
4696 <button style="main_button_half_height">
4697 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004698 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004699 <action function="page">filemanageroptions</action>
4700 </button>
4701
4702 <template name="keyboardtemplate"/>
4703
4704 <action>
4705 <touch key="home"/>
4706 <action function="page">main</action>
4707 </action>
4708
4709 <action>
4710 <touch key="back"/>
4711 <action function="page">filemanageroptions</action>
4712 </action>
4713 </page>
4714
4715 <page name="filemanagerconfirm">
4716 <template name="page"/>
4717
4718 <template name="statusbar"/>
4719
4720 <text style="text_m">
4721 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004722 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004723 </text>
4724
4725 <text style="text_m_accent">
4726 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4727 <text>%tw_fm_text1%</text>
4728 </text>
4729
4730 <text style="text_m">
4731 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4732 <text>%tw_filename1%</text>
4733 </text>
4734
4735 <text style="text_m_accent">
4736 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4737 <text>%tw_fm_text2%</text>
4738 </text>
4739
4740 <text style="text_m">
4741 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4742 <text>%tw_fm_text3%</text>
4743 </text>
4744
4745 <text style="text_m">
4746 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004747 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004748 </text>
4749
4750 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004751 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004752 <action function="page">filemanageraction</action>
4753 </slider>
4754
4755 <action>
4756 <touch key="back"/>
4757 <action function="page">%tw_back%</action>
4758 </action>
4759
4760 <action>
4761 <touch key="home"/>
4762 <action function="page">main</action>
4763 </action>
4764 </page>
4765
4766 <page name="filemanageraction">
4767 <template name="page"/>
4768
4769 <template name="statusbar"/>
4770
4771 <text style="text_m">
4772 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004773 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004774 </text>
4775
4776 <template name="console"/>
4777
4778 <template name="progress_bar"/>
4779
4780 <action>
4781 <conditions>
4782 <condition var1="tw_operation_state" var2="1"/>
4783 <condition var1="tw_operation_status" var2="0"/>
4784 </conditions>
4785 <actions>
4786 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004787 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004788 <action function="page">action_complete</action>
4789 </actions>
4790 </action>
4791
4792 <action>
4793 <conditions>
4794 <condition var1="tw_operation_state" var2="1"/>
4795 <condition var1="tw_operation_status" op="!=" var2="0"/>
4796 </conditions>
4797 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004798 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004799 <action function="page">action_complete</action>
4800 </actions>
4801 </action>
4802
4803 <action>
4804 <condition var1="tw_include_text3" var2="0"/>
4805 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4806 </action>
4807
4808 <action>
4809 <condition var1="tw_include_text3" var2="1"/>
4810 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4811 </action>
4812 </page>
4813
4814 <page name="decrypt">
4815 <template name="page"/>
4816
4817 <template name="statusbar"/>
4818
4819 <action>
4820 <condition var1="tw_crypto_pwtype" var2="2"/>
4821 <action function="page">decrypt_pattern</action>
4822 </action>
4823
4824 <text style="text_m">
4825 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004826 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004827 </text>
4828
4829 <text style="text_m_accent">
4830 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004831 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004832 </text>
4833
4834 <input>
4835 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4836 <text>%tw_crypto_display%</text>
4837 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4838 <restrict minlen="1" maxlen="254"/>
4839 <action function="page">trydecrypt</action>
4840 </input>
4841
4842 <fill color="%accent_color%">
4843 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4844 </fill>
4845
4846 <fill color="%text_fail_color%">
4847 <condition var1="tw_password_fail" var2="1"/>
4848 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4849 </fill>
4850
4851 <text style="text_m_fail">
4852 <condition var1="tw_password_fail" var2="1"/>
4853 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004854 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004855 </text>
4856
4857 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004858 <placement x="%col1_x_left%" y="%row4_y%"/>
4859 <text>{@sel_lang_btn=Select Language}</text>
4860 <action function="page">settings_language</action>
4861 </button>
4862
4863 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004864 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004865 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004866 <actions>
4867 <action function="set">tw_page_done=1</action>
4868 <action function="page">main</action>
4869 </actions>
4870 </button>
4871
4872 <template name="keyboardtemplate"/>
4873 </page>
4874
4875 <page name="decrypt_pattern">
4876 <template name="page"/>
4877
4878 <template name="statusbar"/>
4879
Aleksa Saraib25a1832015-12-31 17:36:00 +01004880 <action>
4881 <action function="set">tw_gui_pattern_grid_size=3</action>
4882 </action>
4883
z31s1g28f0a922015-11-07 18:50:22 +01004884 <text style="text_m">
4885 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004886 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004887 </text>
4888
4889 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004890 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004891 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 </text>
4894
Aleksa Saraib25a1832015-12-31 17:36:00 +01004895 <text style="text_m_fail">
4896 <condition var1="tw_password_fail" var2="1"/>
4897 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004898 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004899 </text>
4900
z31s1g28f0a922015-11-07 18:50:22 +01004901 <text style="text_m">
4902 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004903 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004904 </text>
4905
4906 <patternpassword>
4907 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004908 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4909 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4910 <data name="tw_crypto_password"/>
4911 <action function="page">trydecrypt</action>
4912 </patternpassword>
4913
4914 <fill color="#000000">
4915 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4916 </fill>
4917
4918 <button>
4919 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4920 <image resource="back"/>
4921 <condition var1="tw_busy" var2="0"/>
4922 <actions>
4923 <action function="set">tw_page_done=1</action>
4924 <action function="page">main</action>
4925 </actions>
4926 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004927
4928 <button>
4929 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4930 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4931 <image resource="grid_less"/>
4932 <action function="set">tw_gui_pattern_grid_size=3</action>
4933 </button>
4934
4935 <button>
4936 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4937 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4938 <image resource="grid_less"/>
4939 <action function="set">tw_gui_pattern_grid_size=3</action>
4940 </button>
4941
4942 <button>
4943 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4944 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4945 <image resource="grid_less"/>
4946 <action function="set">tw_gui_pattern_grid_size=4</action>
4947 </button>
4948
4949 <button>
4950 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4951 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4952 <image resource="grid_less"/>
4953 <action function="set">tw_gui_pattern_grid_size=5</action>
4954 </button>
4955
4956 <button>
4957 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4958 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4959 <image resource="grid_more"/>
4960 <action function="set">tw_gui_pattern_grid_size=4</action>
4961 </button>
4962
4963 <button>
4964 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4965 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4966 <image resource="grid_more"/>
4967 <action function="set">tw_gui_pattern_grid_size=5</action>
4968 </button>
4969
4970 <button>
4971 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4972 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4973 <image resource="grid_more"/>
4974 <action function="set">tw_gui_pattern_grid_size=6</action>
4975 </button>
4976
4977 <button>
4978 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4979 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4980 <image resource="grid_more"/>
4981 <action function="set">tw_gui_pattern_grid_size=6</action>
4982 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004983 </page>
4984
4985 <page name="trydecrypt">
4986 <template name="page"/>
4987
4988 <template name="statusbar"/>
4989
4990 <text style="text_m">
4991 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004992 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004993 </text>
4994
4995 <template name="console"/>
4996
4997 <template name="progress_bar"/>
4998
4999 <action>
5000 <action function="decrypt"/>
5001 </action>
5002
5003 <action>
5004 <conditions>
5005 <condition var1="tw_operation_state" var2="1"/>
5006 <condition var1="tw_operation_status" op="!=" var2="0"/>
5007 </conditions>
5008 <actions>
5009 <action function="set">tw_password_fail=1</action>
5010 <action function="page">decrypt</action>
5011 </actions>
5012 </action>
5013
5014 <action>
5015 <conditions>
5016 <condition var1="tw_operation_state" var2="1"/>
5017 <condition var1="tw_operation_status" op="=" var2="0"/>
5018 </conditions>
5019 <actions>
5020 <action function="set">tw_page_done=1</action>
5021 <action function="page">main</action>
5022 </actions>
5023 </action>
5024 </page>
5025
z31s1g28f0a922015-11-07 18:50:22 +01005026 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005027 <terminal>
5028 <condition var1="tw_hide_kb" var2="0"/>
5029 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5030 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005031
z31s1g56189522016-01-13 19:12:40 +01005032 <terminal>
5033 <condition var1="tw_hide_kb" var2="1"/>
5034 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5035 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005036
z31s1g56189522016-01-13 19:12:40 +01005037 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005038
5039 <template name="keyboardtemplate"/>
5040
z31s1g608d7ff2016-01-18 19:47:25 +01005041 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005042 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005043 </fill>
z31s1g56189522016-01-13 19:12:40 +01005044
z31s1g608d7ff2016-01-18 19:47:25 +01005045 <button>
z31s1g56189522016-01-13 19:12:40 +01005046 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5047 <image resource="back" />
5048 <condition var1="tw_busy" var2="0" />
5049 <actions>
5050 <action function="set">tw_hide_kb=0</action>
5051 <action function="key">back</action>
5052 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005053 </button>
z31s1g56189522016-01-13 19:12:40 +01005054
z31s1g608d7ff2016-01-18 19:47:25 +01005055 <button>
z31s1g56189522016-01-13 19:12:40 +01005056 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5057 <image resource="home" />
5058 <condition var1="tw_busy" var2="0" />
5059 <actions>
5060 <action function="set">tw_hide_kb=0</action>
5061 <action function="key">home</action>
5062 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005063 </button>
z31s1g56189522016-01-13 19:12:40 +01005064
z31s1g608d7ff2016-01-18 19:47:25 +01005065 <button>
z31s1g56189522016-01-13 19:12:40 +01005066 <condition var1="tw_hide_kb" var2="0"/>
5067 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5068 <image resource="kb_hide" />
5069 <condition var1="tw_busy" var2="0" />
5070 <actions>
5071 <action function="set">tw_hide_kb=1</action>
5072 <action function="page">terminalcommand</action>
5073 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005074 </button>
z31s1g56189522016-01-13 19:12:40 +01005075
z31s1g608d7ff2016-01-18 19:47:25 +01005076 <button>
z31s1g56189522016-01-13 19:12:40 +01005077 <condition var1="tw_hide_kb" var2="1"/>
5078 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5079 <image resource="kb_show" />
5080 <condition var1="tw_busy" var2="0" />
5081 <actions>
5082 <action function="set">tw_hide_kb=0</action>
5083 <action function="page">terminalcommand</action>
5084 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005085 </button>
z31s1g56189522016-01-13 19:12:40 +01005086
z31s1g28f0a922015-11-07 18:50:22 +01005087 <action>
5088 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005089 <actions>
5090 <action function="set">tw_hide_kb=0</action>
5091 <action function="page">main</action>
5092 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005093 </action>
5094
5095 <action>
5096 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005097 <actions>
5098 <action function="set">tw_hide_kb=0</action>
5099 <action function="page">advanced</action>
5100 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005101 </action>
z31s1g56189522016-01-13 19:12:40 +01005102
z31s1g608d7ff2016-01-18 19:47:25 +01005103 <action>
z31s1g56189522016-01-13 19:12:40 +01005104 <touch key="power+voldown" />
5105 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005106 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005107 </page>
5108
5109 <page name="sideload">
5110 <template name="page"/>
5111
5112 <template name="statusbar"/>
5113
5114 <text style="text_m">
5115 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005116 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005117 </text>
5118
5119 <text style="text_m_accent">
5120 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005121 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005122 </text>
5123
5124 <checkbox>
5125 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005126 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005127 <data variable="tw_wipe_dalvik"/>
5128 </checkbox>
5129
5130 <checkbox>
5131 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005132 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005133 <data variable="tw_wipe_cache"/>
5134 </checkbox>
5135
5136 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005137 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005138 <actions>
5139 <action function="set">tw_back=install_type</action>
5140 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005141 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5142 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5143 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005144 <action function="set">tw_has_cancel=1</action>
5145 <action function="set">tw_show_reboot=1</action>
5146 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5147 <action function="page">action_page</action>
5148 </actions>
5149 </slider>
5150
5151 <action>
5152 <touch key="home"/>
5153 <action function="page">main</action>
5154 </action>
5155
5156 <action>
5157 <touch key="back"/>
5158 <action function="page">install_type</action>
5159 </action>
5160 </page>
5161
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005162 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005163 <template name="page"/>
5164
5165 <template name="statusbar"/>
5166
5167 <text style="text_m">
5168 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005169 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005170 </text>
5171
5172 <text style="text_m_accent">
5173 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005174 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005175 </text>
5176
z31s1g28f0a922015-11-07 18:50:22 +01005177 <text style="text_m_fail">
5178 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005179 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005180 </text>
5181
5182 <text style="text_m_fail">
5183 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005184 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005185 </text>
5186
5187 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005188 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005189 <actions>
5190 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005191 <action function="set">tw_action=fixcontexts</action>
5192 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5193 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005194 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005195 <action function="set">tw_show_reboot=1</action>
5196 <action function="page">action_page</action>
5197 </actions>
5198 </slider>
5199
5200 <action>
5201 <touch key="home"/>
5202 <action function="page">main</action>
5203 </action>
5204
5205 <action>
5206 <touch key="back"/>
5207 <action function="page">advanced</action>
5208 </action>
5209 </page>
5210
5211 <page name="installsu">
5212 <template name="page"/>
5213
5214 <template name="statusbar"/>
5215
5216 <text style="text_m">
5217 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005218 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005219 </text>
5220
5221 <text style="text_m_accent">
5222 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005223 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005224 </text>
5225
5226 <text style="text_m">
5227 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005228 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005229 </text>
5230
5231 <text style="text_m">
5232 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005234 </text>
5235
5236 <button style="main_button_full_width">
5237 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005238 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005239 <action function="set">tw_page_done=1</action>
5240 </button>
5241
5242 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005243 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005244 <actions>
5245 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005246 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005247 <action function="set">tw_action_text2=</action>
5248 <action function="page">singleaction_page</action>
5249 </actions>
5250 </slider>
5251 </page>
5252
5253 <page name="slideout">
5254 <fill color="%background_color%">
5255 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5256 </fill>
5257
5258 <console>
5259 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5260 </console>
5261
5262 <fill color="%fileselector_linecolor%">
5263 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5264 </fill>
5265
5266 <fill color="%fileselector_linecolor%">
5267 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5268 </fill>
5269
5270 <button>
5271 <fill color="%transparent%"/>
5272 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5273 <action function="overlay"/>
5274 </button>
5275
5276 <action>
5277 <touch key="power+voldown"/>
5278 <action function="screenshot"/>
5279 </action>
5280 </page>
5281
5282 <page name="select_storage">
5283 <template name="page"/>
5284
5285 <template name="statusbar"/>
5286
5287 <text style="text_m">
5288 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5289 <text>%tw_storagetext%</text>
5290 </text>
5291
5292 <partitionlist style="partitionlist_headerless_rb">
5293 <data name="tw_storage_path"/>
5294 <listtype name="storage"/>
5295 </partitionlist>
5296
5297 <button>
5298 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5299 <highlight color="%highlight_color%"/>
5300 <image resource="q_btn_refresh"/>
5301 <actions>
5302 <action function="refreshsizes"/>
5303 <action function="page">select_storage</action>
5304 </actions>
5305 </button>
5306
5307 <button>
5308 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5309 <highlight color="%highlight_color%"/>
5310 <image resource="q_btn_accept"/>
5311 <actions>
5312 <action function="set">tw_clear_destination=%tw_back%</action>
5313 <action function="page">clear_vars</action>
5314 </actions>
5315 </button>
5316
5317 <action>
5318 <touch key="power+voldown"/>
5319 <action function="screenshot"/>
5320 </action>
5321 </page>
5322 </pages>
5323</recovery>