blob: 2ed266aaddbcffe6e9cb405508abf6d5e1963abf [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
71 <style name="console">
72 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
73 <font resource="fixed"/>
74 </style>
75
76 <style name="fileselector">
77 <highlight color="%fileselector_highlight_color%"/>
78 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
79 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
80 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
81 <sort name="tw_gui_sort_order"/>
82 <icon folder="folder" file="file"/>
83 <background color="%background_color%"/>
84 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
85 </style>
86
87 <style name="listbox">
88 <highlight color="%fileselector_highlight_color%"/>
89 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <icon selected="radio_true" unselected="radio_false"/>
92 <background color="%background_color%"/>
93 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
94 </style>
95
96 <style name="listbox_headerless">
97 <highlight color="%fileselector_highlight_color%"/>
98 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
99 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
100 <icon selected="radio_true" unselected="radio_false"/>
101 <background color="%background_color%"/>
102 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
103 </style>
104
105 <style name="listbox_options">
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
109 </style>
110
111 <style name="scrolllist">
112 <highlight color="%fileselector_highlight_color%"/>
113 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
114 <icon selected="checkbox_true" unselected="checkbox_false"/>
115 <background color="%background_color%"/>
116 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
117 </style>
118
119 <style name="partitionlist">
120 <highlight color="%fileselector_highlight_color%"/>
121 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
122 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
123 <icon selected="checkbox_true" unselected="checkbox_false"/>
124 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
127 </style>
128
129 <style name="partitionlist_summary">
130 <highlight color="%fileselector_highlight_color%"/>
131 <background color="%background_color%"/>
132 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
133 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
134 </style>
135
136 <style name="partitionlist_headerless_rb">
137 <highlight color="%fileselector_highlight_color%"/>
138 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
139 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
140 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
141 <icon selected="radio_true" unselected="radio_false"/>
142 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
143 <background color="%background_color%"/>
144 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
145 </style>
146
147 <style name="partitionlist_headerless_cb">
148 <highlight color="%fileselector_highlight_color%"/>
149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
150 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
151 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
152 <icon selected="checkbox_true" unselected="checkbox_false"/>
153 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
154 <background color="%background_color%"/>
155 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
156 </style>
157
158 <style name="slider">
159 <placement x="%center_x%" y="%slider_y%"/>
160 <font resource="font_l" color="%text_color%"/>
161 <resource base="slider" used="slider_used" touch="slider_touch"/>
162 </style>
163
164 <style name="slidervalue">
165 <resource handle="handle"/>
166 <font resource="font_m" color="%text_color%"/>
167 <colors line="%fileselector_linecolor%"/>
168 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
169 </style>
170 </styles>
171
172 <pages>
173 <page name="main">
174 <action>
175 <actions>
176 <action function="set">tw_clear_destination=main2</action>
177 <action function="page">clear_vars</action>
178 </actions>
179 </action>
180 </page>
181
182 <page name="main2">
183 <template name="page"/>
184
185 <button style="main_button">
186 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500187 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100188 <action function="page">install_type</action>
189 </button>
190
191 <button style="main_button">
192 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500193 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100194 <action function="page">wipe_type1</action>
195 </button>
196
197 <button style="main_button">
198 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500199 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100200 <actions>
201 <action function="set">tw_back=main</action>
202 <action function="page">backup_selectstorage</action>
203 </actions>
204 </button>
205
206 <button style="main_button">
207 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500208 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100209 <action function="page">restore</action>
210 </button>
211
212 <button style="main_button">
213 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500214 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100215 <action function="page">reboot</action>
216 </button>
217
218 <button>
219 <placement x="%btn4_col4_x%" y="%row11_y%"/>
220 <highlight color="%highlight_color%"/>
221 <image resource="q_btn_arrow_right"/>
222 <action function="page">main3</action>
223 </button>
224 </page>
225
226 <page name="main3">
227 <template name="page"/>
228
229 <button style="main_button">
230 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500231 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100232 <action function="page">mount</action>
233 </button>
234
235 <button style="main_button">
236 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500237 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100238 <action function="page">settings</action>
239 </button>
240
241 <button style="main_button">
242 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500243 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100244 <action function="page">filemanagerlist</action>
245 </button>
246
247 <button style="main_button">
248 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500249 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100250 <actions>
251 <action function="set">tw_back=main3</action>
252 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500253 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
254 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
255 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
256 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100257 <action function="page">confirm_action</action>
258 </actions>
259 </button>
260
261 <button style="main_button">
262 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <action function="page">advanced</action>
265 </button>
266
267 <button>
268 <placement x="%col1_x_left%" y="%row11_y%"/>
269 <highlight color="%highlight_color%"/>
270 <image resource="q_btn_arrow_left"/>
271 <action function="page">main2</action>
272 </button>
273
274 <action>
275 <touch key="back"/>
276 <action function="page">main2</action>
277 </action>
278
279 <action>
280 <touch key="home"/>
281 <action function="page">main</action>
282 </action>
283 </page>
284
285 <page name="install_type">
286 <template name="page"/>
287
288 <template name="statusbar"/>
289
290 <text style="text_m">
291 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500292 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100293 </text>
294
295 <button style="main_button_full_width">
296 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="queueclear"/>
300 <action function="set">tw_selectimage=0</action>
301 <action function="page">install</action>
302 </actions>
303 </button>
304
305 <button style="main_button_full_width">
306 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500307 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100308 <actions>
309 <action function="queueclear"/>
310 <action function="set">tw_selectimage=1</action>
311 <action function="page">install</action>
312 </actions>
313 </button>
314
315 <button style="main_button_full_width">
316 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500317 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100318 <action function="page">sideload</action>
319 </button>
320
321 <action>
322 <touch key="home"/>
323 <action function="page">main</action>
324 </action>
325
326 <action>
327 <touch key="back"/>
328 <action function="page">main</action>
329 </action>
330 </page>
331
332 <page name="install">
333 <template name="page"/>
334
335 <template name="statusbar"/>
336
337 <text style="text_m">
338 <condition var1="tw_selectimage" var2="0"/>
339 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 </text>
342
343 <text style="text_m">
344 <condition var1="tw_selectimage" var2="1"/>
345 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500346 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100347 </text>
348
349 <fileselector>
350 <condition var1="tw_selectimage" var2="0"/>
351 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
352 <text>%tw_zip_location%</text>
353 <filter extn=".zip" folders="1" files="1"/>
354 <path name="tw_zip_location" default="/sdcard"/>
355 <data name="tw_filename"/>
356 <selection name="tw_file"/>
357 </fileselector>
358
359 <fileselector>
360 <condition var1="tw_selectimage" var2="1"/>
361 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
362 <text>%tw_zip_location%</text>
363 <filter extn=".img" folders="1" files="1"/>
364 <path name="tw_zip_location" default="/sdcard"/>
365 <data name="tw_filename"/>
366 <selection name="tw_file"/>
367 </fileselector>
368
369 <button>
370 <placement x="%btn4_col4_x%" y="%row11_y%"/>
371 <highlight color="%highlight_color%"/>
372 <image resource="q_btn_storage"/>
373 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100375 <action function="set">tw_back=install</action>
376 <action function="page">select_storage</action>
377 </actions>
378 </button>
379
380 <action>
381 <conditions>
382 <condition var1="tw_selectimage" var2="0"/>
383 <condition var1="tw_filename" op="modified"/>
384 </conditions>
385 <actions>
386 <action function="queuezip"/>
387 <action function="page">flash_queue</action>
388 </actions>
389 </action>
390
391 <action>
392 <conditions>
393 <condition var1="tw_selectimage" var2="1"/>
394 <condition var1="tw_filename" op="modified"/>
395 </conditions>
396 <action function="page">flashimage_type</action>
397 </action>
398
399 <action>
400 <touch key="back"/>
401 <action function="page">install_type</action>
402 </action>
403
404 <action>
405 <touch key="home"/>
406 <action function="page">main</action>
407 </action>
408 </page>
409
410 <page name="flash_queue">
411 <template name="page"/>
412
413 <template name="statusbar"/>
414
415 <text style="text_m">
416 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m_accent">
421 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500422 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100423 </text>
424
425 <text style="text_m">
426 <placement x="%indent%" y="%row2_y%"/>
427 <text>%tw_file%</text>
428 </text>
429
430 <text style="text_m_accent">
431 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 </text>
434
435 <text style="text_m">
436 <placement x="%indent%" y="%row5_y%"/>
437 <text>%tw_zip_location%</text>
438 </text>
439
440 <text style="text_m">
441 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500442 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100443 </text>
444
445 <button>
446 <placement x="%col1_x_left%" y="%row11_y%"/>
447 <highlight color="%highlight_color%"/>
448 <image resource="q_btn_arrow_left"/>
449 <actions>
450 <action function="queueclear"/>
451 <action function="page">install</action>
452 </actions>
453 </button>
454
455 <button>
456 <placement x="%btn4_col2_x%" y="%row11_y%"/>
457 <highlight color="%highlight_color%"/>
458 <image resource="q_btn_addzip"/>
459 <action function="page">install</action>
460 </button>
461
462 <button>
463 <placement x="%btn4_col3_x%" y="%row11_y%"/>
464 <highlight color="%highlight_color%"/>
465 <image resource="q_btn_accept"/>
466 <action function="page">flash_confirm</action>
467 </button>
468
469 <button>
470 <placement x="%btn4_col4_x%" y="%row11_y%"/>
471 <highlight color="%highlight_color%"/>
472 <image resource="q_btn_arrow_right"/>
473 <action function="page">flash_options</action>
474 </button>
475
476 <action>
477 <touch key="back"/>
478 <actions>
479 <action function="queueclear"/>
480 <action function="page">install</action>
481 </actions>
482 </action>
483
484 <action>
485 <touch key="home"/>
486 <action function="page">main</action>
487 </action>
488 </page>
489
490 <page name="flash_options">
491 <template name="page"/>
492
493 <template name="statusbar"/>
494
495 <text style="text_m">
496 <condition var1="tw_selectimage" var2="0"/>
497 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500498 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100499 </text>
500
501 <checkbox>
502 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500503 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100504 <data variable="tw_signed_zip_verify"/>
505 </checkbox>
506
507 <checkbox>
508 <condition var1="tw_has_injecttwrp" var2="1"/>
509 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500510 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100511 <data variable="tw_inject_after_zip"/>
512 </checkbox>
513
514 <button>
515 <placement x="%col1_x_left%" y="%row11_y%"/>
516 <highlight color="%highlight_color%"/>
517 <image resource="q_btn_arrow_left"/>
518 <action function="page">flash_queue</action>
519 </button>
520
521 <button>
522 <placement x="%btn4_col4_x%" y="%row11_y%"/>
523 <highlight color="%highlight_color%"/>
524 <image resource="q_btn_accept_transp"/>
525 <action function="page">flash_confirm</action>
526 </button>
527
528 <action>
529 <touch key="back"/>
530 <action function="page">flash_queue</action>
531 </action>
532
533 <action>
534 <touch key="home"/>
535 <action function="page">main</action>
536 </action>
537 </page>
538
539 <page name="flash_confirm">
540 <template name="page"/>
541
542 <template name="statusbar"/>
543
544 <text style="text_m">
545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 </text>
548
549 <text style="text_m_accent">
550 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500551 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100552 </text>
553
554 <text style="text_m">
555 <placement x="%indent%" y="%row2_y%"/>
556 <text>%tw_file%</text>
557 </text>
558
559 <button>
560 <fill color="%transparent%"/>
561 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
562 <action function="page">flash_queue</action>
563 </button>
564
565 <text style="text_m_accent">
566 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500567 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100568 </text>
569
570 <text style="text_m">
571 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500572 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100573 </text>
574
575 <button>
576 <fill color="%transparent%"/>
577 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
578 <action function="page">flash_queue</action>
579 </button>
580
581 <listbox style="listbox_options">
582 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500583 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100584 <data variable="tw_signed_zip_verify"/>
585 </listitem>
586 </listbox>
587
588 <text style="text_m_accent">
589 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500590 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100591 </text>
592
593 <text style="text_m">
594 <condition var1="tw_has_injecttwrp" var2="1"/>
595 <condition var1="tw_inject_after_zip" var2="1"/>
596 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500597 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100598 </text>
599
600 <button>
601 <fill color="%transparent%"/>
602 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
603 <action function="page">flash_options</action>
604 </button>
605
606 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500607 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100608 <action function="flash">flash_zip</action>
609 </slider>
610
611 <action>
612 <touch key="back"/>
613 <actions>
614 <action function="cancelzip"/>
615 <action function="page">install</action>
616 </actions>
617 </action>
618
619 <action>
620 <touch key="home"/>
621 <action function="page">main</action>
622 </action>
623 </page>
624
625 <page name="flash_zip">
626 <template name="page"/>
627
628 <template name="statusbar"/>
629
630 <text style="text_m">
631 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500632 <text>{@installing_zip=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100633 </text>
634
635 <template name="console"/>
636
637 <template name="progress_bar"/>
638
639 <action>
640 <condition var1="tw_operation_state" var2="1"/>
641 <action function="page">flash_done</action>
642 </action>
643 </page>
644
645 <page name="flash_done">
646 <template name="page"/>
647
648 <template name="statusbar"/>
649
650 <text style="text_m_fail">
651 <condition var1="tw_operation_status" op="!=" var2="0"/>
652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500653 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100654 </text>
655
656 <text style="text_m">
657 <condition var1="tw_operation_status" var2="0"/>
658 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500659 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100660 </text>
661
662 <template name="console"/>
663
664 <button style="main_button_half_height">
665 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500666 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100667 <actions>
668 <action function="set">tw_back=flash_done</action>
669 <action function="set">tw_action=wipe</action>
670 <action function="set">tw_action_param=/cache</action>
671 <action function="set">tw_has_action2=1</action>
672 <action function="set">tw_action2=wipe</action>
673 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
675 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
676 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
677 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100678 <action function="page">confirm_action</action>
679 </actions>
680 </button>
681
682 <button style="main_button_half_height">
683 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500684 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100685 <actions>
686 <action function="set">tw_back=main2</action>
687 <action function="set">tw_action=reboot</action>
688 <action function="set">tw_action_param=system</action>
689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500690 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
691 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100692 <action function="set">tw_text3=</action>
693 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100695 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500696 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
697 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100698 <action function="page">rebootcheck</action>
699 </actions>
700 </button>
701
702 <action>
703 <touch key="back"/>
704 <actions>
705 <action function="set">tw_clear_destination=install_type</action>
706 <action function="page">clear_vars</action>
707 </actions>
708 </action>
709
710 <action>
711 <touch key="home"/>
712 <actions>
713 <action function="set">tw_clear_destination=main2</action>
714 <action function="page">clear_vars</action>
715 </actions>
716 </action>
717 </page>
718
719 <page name="flashimage_type">
720 <template name="page"/>
721
722 <template name="statusbar"/>
723
724 <text style="text_m">
725 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500726 <text>{@install_image_hdr=Install Image} &gt; {install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100727 </text>
728
729 <partitionlist style="partitionlist_headerless_rb">
730 <data name="tw_flash_partition"/>
731 <listtype name="flashimg"/>
732 </partitionlist>
733
734 <button>
735 <placement x="%col1_x_left%" y="%row11_y%"/>
736 <highlight color="%highlight_color%"/>
737 <image resource="q_btn_arrow_left"/>
738 <action function="page">install</action>
739 </button>
740
741 <button>
742 <placement x="%btn4_col4_x%" y="%row11_y%"/>
743 <highlight color="%highlight_color%"/>
744 <image resource="q_btn_accept_transp"/>
745 <action function="page">flashimage_confirm</action>
746 </button>
747
748 <action>
749 <touch key="back"/>
750 <action function="page">install</action>
751 </action>
752
753 <action>
754 <touch key="home"/>
755 <action function="page">main</action>
756 </action>
757 </page>
758
759 <page name="flashimage_confirm">
760 <template name="page"/>
761
762 <template name="statusbar"/>
763
764 <text style="text_m">
765 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500766 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100767 </text>
768
769 <text style="text_m_accent">
770 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500771 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100772 </text>
773
774 <text style="text_m">
775 <placement x="%indent%" y="%row2_y%"/>
776 <text>%tw_file%</text>
777 </text>
778
779 <button>
780 <fill color="%transparent%"/>
781 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
782 <action function="page">install</action>
783 </button>
784
785 <text style="text_m_accent">
786 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500787 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100788 </text>
789
790 <text style="text_m">
791 <placement x="%indent%" y="%row5_y%"/>
792 <text>%tw_flash_partition%</text>
793 </text>
794
795 <button>
796 <fill color="%transparent%"/>
797 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
798 <action function="page">flashimage_type</action>
799 </button>
800
801 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500802 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100803 <actions>
804 <action function="set">tw_back=flashimage_confirm</action>
805 <action function="set">tw_action=flashimage</action>
806 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500807 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100808 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500809 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100810 <action function="page">action_page</action>
811 </actions>
812 <action function="flashimage"/>
813 </slider>
814
815 <action>
816 <touch key="back"/>
817 <actions>
818 <action function="set">tw_clear_destination=install</action>
819 <action function="page">clear_vars</action>
820 </actions>
821 </action>
822
823 <action>
824 <touch key="home"/>
825 <actions>
826 <action function="set">tw_clear_destination=main2</action>
827 <action function="page">clear_vars</action>
828 </actions>
829 </action>
830 </page>
831
832 <page name="clear_vars">
833 <action>
834 <action function="set">tw_operation_state=0</action>
835 <action function="set">tw_text1=</action>
836 <action function="set">tw_text2=</action>
837 <action function="set">tw_text3=</action>
838 <action function="set">tw_text4=</action>
839 <action function="set">tw_action_text1=</action>
840 <action function="set">tw_action_text2=</action>
841 <action function="set">tw_action_param=</action>
842 <action function="set">tw_has_action2=0</action>
843 <action function="set">tw_action2=</action>
844 <action function="set">tw_action2_param=</action>
845 <action function="set">tw_has_cancel=0</action>
846 <action function="set">tw_cancel_action=</action>
847 <action function="set">tw_cancel_param=</action>
848 <action function="set">tw_show_exclamation=0</action>
849 <action function="set">tw_show_reboot=0</action>
850 <action function="page">%tw_clear_destination%</action>
851 </action>
852 </page>
853
854 <page name="confirm_action">
855 <template name="page"/>
856
857 <template name="statusbar"/>
858
859 <text style="text_m">
860 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500861 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100862 </text>
863
864 <text style="text_m_accent">
865 <placement x="%center_x%" y="%row2_y%" placement="5"/>
866 <text>%tw_text1%</text>
867 </text>
868
869 <text style="text_m_accent">
870 <placement x="%center_x%" y="%row3_y%" placement="5"/>
871 <text>%tw_text2%</text>
872 </text>
873
874 <text style="text_m">
875 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
876 <placement x="%center_x%" y="%row5_y%" placement="5"/>
877 <text>%tw_text3%</text>
878 </text>
879
880 <text style="text_m">
881 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
882 <placement x="%center_x%" y="%row6_y%" placement="5"/>
883 <text>%tw_text4%</text>
884 </text>
885
886 <text style="text_m_fail">
887 <condition var1="tw_action" var2="changefilesystem"/>
888 <placement x="%center_x%" y="%row5_y%" placement="5"/>
889 <text>%tw_text3%</text>
890 </text>
891
892 <text style="text_m_fail">
893 <condition var1="tw_action" var2="changefilesystem"/>
894 <placement x="%center_x%" y="%row6_y%" placement="5"/>
895 <text>%tw_text4%</text>
896 </text>
897
898 <text style="text_m">
899 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500900 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100901 </text>
902
903 <slider>
904 <text>%tw_slider_text%</text>
905 <action function="page">action_page</action>
906 </slider>
907
908 <action>
909 <touch key="back"/>
910 <actions>
911 <action function="set">tw_clear_destination=%tw_back%</action>
912 <action function="page">clear_vars</action>
913 </actions>
914 </action>
915
916 <action>
917 <touch key="home"/>
918 <action function="page">main</action>
919 </action>
920 </page>
921
922 <page name="action_page">
923 <template name="page"/>
924
925 <template name="statusbar"/>
926
927 <text style="text_m">
928 <placement x="%col1_x_left%" y="%row1_header_y%"/>
929 <text>%tw_action_text1% %tw_action_text2%</text>
930 </text>
931
932 <template name="console"/>
933
934 <template name="progress_bar"/>
935
936 <button style="main_button_half_height">
937 <condition var1="tw_has_cancel" var2="1"/>
938 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500939 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100940 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
941 </button>
942
943 <action>
944 <condition var1="tw_operation_state" var2="1"/>
945 <actions>
946 <action function="page">action_complete</action>
947 </actions>
948 </action>
949
950 <action>
951 <condition var1="tw_has_action2" var2="0"/>
952 <actions>
953 <action function="%tw_action%">%tw_action_param%</action>
954 </actions>
955 </action>
956
957 <action>
958 <condition var1="tw_has_action2" var2="1"/>
959 <actions>
960 <action function="%tw_action%">%tw_action_param%</action>
961 <action function="%tw_action2%">%tw_action2_param%</action>
962 </actions>
963 </action>
964 </page>
965
966 <page name="singleaction_page">
967 <template name="page"/>
968
969 <template name="statusbar"/>
970
971 <text style="text_m">
972 <placement x="%col1_x_left%" y="%row1_header_y%"/>
973 <text>%tw_action_text1% %tw_action_text2%</text>
974 </text>
975
976 <template name="console"/>
977
978 <template name="progress_bar"/>
979
980 <action>
981 <condition var1="tw_operation_state" var2="1"/>
982 <actions>
983 <action function="set">tw_page_done=1</action>
984 </actions>
985 </action>
986
987 <action>
988 <condition var1="tw_has_action2" var2="0"/>
989 <actions>
990 <action function="%tw_action%">%tw_action_param%</action>
991 </actions>
992 </action>
993
994 <action>
995 <condition var1="tw_has_action2" var2="1"/>
996 <actions>
997 <action function="%tw_action%">%tw_action_param%</action>
998 <action function="%tw_action2%">%tw_action2_param%</action>
999 </actions>
1000 </action>
1001 </page>
1002
1003 <page name="action_complete">
1004 <template name="page"/>
1005
1006 <template name="statusbar"/>
1007
1008 <text style="text_m_fail">
1009 <condition var1="tw_operation_status" op="!=" var2="0"/>
1010 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m">
1015 <condition var1="tw_operation_status" var2="0"/>
1016 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001017 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001018 </text>
1019
1020 <template name="console"/>
1021
1022 <button style="main_button_half_height">
1023 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001024 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001025 <actions>
1026 <action function="set">tw_clear_destination=%tw_back%</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </button>
1030
1031 <button style="main_button_half_height">
1032 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001033 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001034 <actions>
1035 <action function="set">tw_back=main2</action>
1036 <action function="set">tw_action=reboot</action>
1037 <action function="set">tw_action_param=system</action>
1038 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001039 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1040 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <action function="set">tw_text3=</action>
1042 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001044 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001045 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1046 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001047 <action function="page">rebootcheck</action>
1048 </actions>
1049 </button>
1050
1051 <action>
1052 <touch key="home"/>
1053 <actions>
1054 <action function="set">tw_clear_destination=main2</action>
1055 <action function="page">clear_vars</action>
1056 </actions>
1057 </action>
1058
1059 <action>
1060 <touch key="back"/>
1061 <actions>
1062 <action function="set">tw_clear_destination=%tw_back%</action>
1063 <action function="page">clear_vars</action>
1064 </actions>
1065 </action>
1066 </page>
1067
1068 <page name="filecheck">
1069 <action>
1070 <action function="fileexists">%tw_filecheck%</action>
1071 </action>
1072
1073 <action>
1074 <conditions>
1075 <condition var1="tw_operation_state" var2="1"/>
1076 <condition var1="tw_operation_status" var2="0"/>
1077 </conditions>
1078 <actions>
1079 <action function="set">tw_fileexists=1</action>
1080 <action function="page">%tw_existpage%</action>
1081 </actions>
1082 </action>
1083
1084 <action>
1085 <conditions>
1086 <condition var1="tw_operation_state" var2="1"/>
1087 <condition var1="tw_operation_status" var2="1"/>
1088 </conditions>
1089 <actions>
1090 <action function="set">tw_fileexists=0</action>
1091 <action function="page">%tw_notexistpage%</action>
1092 </actions>
1093 </action>
1094 </page>
1095
1096 <page name="rebootcheck">
1097 <action>
1098 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1099 <action function="reboot">%tw_action_param%</action>
1100 </action>
1101
1102 <action>
1103 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1104 <action function="page">confirm_action</action>
1105 </action>
1106 </page>
1107
1108 <page name="wipe_type1">
1109 <template name="page"/>
1110
1111 <template name="statusbar"/>
1112
1113 <text style="text_m">
1114 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001115 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001116 </text>
1117
1118 <button style="main_button_full_width">
1119 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">wipe</action>
1122 </button>
1123
1124 <button style="main_button_full_width">
1125 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001126 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001127 <actions>
1128 <action function="set">partitionlisterror=0</action>
1129 <action function="page">advancedwipe</action>
1130 </actions>
1131 </button>
1132
1133 <button>
1134 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1135 <highlight color="%highlight_color%"/>
1136 <image resource="q_btn_arrow_right"/>
1137 <action function="page">wipe_type2</action>
1138 </button>
1139
1140 <action>
1141 <touch key="home"/>
1142 <action function="page">main</action>
1143 </action>
1144
1145 <action>
1146 <touch key="back"/>
1147 <action function="page">main</action>
1148 </action>
1149 </page>
1150
1151 <page name="wipe_type2">
1152 <template name="page"/>
1153
1154 <template name="statusbar"/>
1155
1156 <text style="text_m">
1157 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 </text>
1160
1161 <button style="main_button_full_width">
1162 <condition var1="tw_has_data_media" var2="1"/>
1163 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001164 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001165 <action function="page">formatdata</action>
1166 </button>
1167
1168 <button style="main_button_full_width">
1169 <conditions>
1170 <condition var1="tw_is_encrypted" var2="1"/>
1171 <condition var1="tw_has_data_media" var2="0"/>
1172 </conditions>
1173 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 <actions>
1176 <action function="set">tw_back=wipe</action>
1177 <action function="set">tw_action=wipe</action>
1178 <action function="set">tw_action_param=DATAMEDIA</action>
1179 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001181 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001182 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1183 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1184 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001185 <action function="page">confirm_action</action>
1186 </actions>
1187 </button>
1188
1189 <button style="main_button_full_width">
1190 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001192 <action function="set">partitionlisterror=0</action>
1193 <action function="page">partitionoptions_select</action>
1194 </actions>
1195 </button>
1196
1197 <button>
1198 <placement x="%col1_x_left%" y="%row11_y%"/>
1199 <highlight color="%highlight_color%"/>
1200 <image resource="q_btn_arrow_left"/>
1201 <action function="page">wipe_type1</action>
1202 </button>
1203
1204 <action>
1205 <touch key="home"/>
1206 <action function="page">main</action>
1207 </action>
1208
1209 <action>
1210 <touch key="back"/>
1211 <action function="page">main</action>
1212 </action>
1213 </page>
1214
1215 <page name="wipe">
1216 <template name="page"/>
1217
1218 <template name="statusbar"/>
1219
1220 <text style="text_m">
1221 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 </text>
1224
1225 <text style="text_m_accent">
1226 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001227 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001228 </text>
1229
1230 <text style="text_m_accent">
1231 <condition var1="tw_has_data_media" var2="1"/>
1232 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001234 </text>
1235
1236 <text style="text_m_accent">
1237 <conditions>
1238 <condition var1="tw_has_android_secure" var2="1"/>
1239 <condition var1="fileexists" var2="/and-sec"/>
1240 </conditions>
1241 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001242 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001243 </text>
1244
1245 <text style="text_m_accent">
1246 <condition var1="tw_has_sdext_partition" var2="1"/>
1247 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001248 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001249 </text>
1250
1251 <text style="text_m">
1252 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <text style="text_m">
1257 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 </text>
1260
1261 <text style="text_m">
1262 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001264 </text>
1265
1266 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 <actions>
1269 <action function="set">tw_back=wipe</action>
1270 <action function="set">tw_action=wipe</action>
1271 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1273 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001274 <action function="page">action_page</action>
1275 </actions>
1276 </slider>
1277
1278 <action>
1279 <touch key="back"/>
1280 <action function="page">wipe_type1</action>
1281 </action>
1282
1283 <action>
1284 <touch key="home"/>
1285 <action function="page">main</action>
1286 </action>
1287 </page>
1288
1289 <page name="advancedwipe">
1290 <action>
1291 <action function="set">tw_wipe_list=</action>
1292 </action>
1293
1294 <template name="page"/>
1295
1296 <template name="statusbar"/>
1297
1298 <text style="text_m">
1299 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <partitionlist style="partitionlist_headerless_cb">
1304 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1305 <data name="tw_wipe_list"/>
1306 <listtype name="wipe"/>
1307 </partitionlist>
1308
1309 <fill color="%accent_color%">
1310 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1311 </fill>
1312
1313 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 <actions>
1316 <action function="set">tw_back=advancedwipe</action>
1317 <action function="set">tw_action=wipe</action>
1318 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1320 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1321 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="page">action_page</action>
1323 </actions>
1324 </slider>
1325
1326 <action>
1327 <touch key="home"/>
1328 <action function="page">main</action>
1329 </action>
1330
1331 <action>
1332 <touch key="back"/>
1333 <action function="page">wipe_type1</action>
1334 </action>
1335 </page>
1336
1337 <page name="formatdata">
1338 <template name="page"/>
1339
1340 <template name="statusbar"/>
1341
1342 <text style="text_m">
1343 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m_fail">
1348 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <text style="text_m_fail">
1353 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001354 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001355 </text>
1356
1357 <text style="text_m">
1358 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <input>
1363 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1364 <text>%tw_confirm_formatdata%</text>
1365 <data name="tw_confirm_formatdata"/>
1366 <restrict minlen="3" maxlen="3" allow="yes"/>
1367 <action function="page">formatdata_confirm</action>
1368 </input>
1369
1370 <fill color="%accent_color%">
1371 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1372 </fill>
1373
1374 <template name="keyboardtemplate"/>
1375
1376 <action>
1377 <touch key="home"/>
1378 <action function="page">main</action>
1379 </action>
1380
1381 <action>
1382 <touch key="back"/>
1383 <action function="page">wipe_type2</action>
1384 </action>
1385 </page>
1386
1387 <page name="formatdata_confirm">
1388 <action>
1389 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1390 <actions>
1391 <action function="set">tw_back=formatdata</action>
1392 <action function="set">tw_action=wipe</action>
1393 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1395 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <action function="page">action_page</action>
1397 </actions>
1398 </action>
1399
1400 <action>
1401 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1402 <action function="page">formatdata</action>
1403 </action>
1404 </page>
1405
1406 <page name="checkpartitionlist">
1407 <action>
1408 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1409 <actions>
1410 <action function="set">partitionlisterror=0</action>
1411 <action function="getpartitiondetails"/>
1412 <action function="page">partitionoptions</action>
1413 </actions>
1414 </action>
1415
1416 <action>
1417 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1418 <actions>
1419 <action function="set">partitionlisterror=1</action>
1420 <action function="set">tw_wipe_list=</action>
1421 <action function="page">partitionoptions_select</action>
1422 </actions>
1423 </action>
1424 </page>
1425
1426 <page name="partitionoptions_select">
1427 <action>
1428 <action function="set">tw_wipe_list=</action>
1429 </action>
1430
1431 <template name="page"/>
1432
1433 <template name="statusbar"/>
1434
1435 <text style="text_m">
1436 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <partitionlist style="partitionlist_headerless_cb">
1441 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1442 <data name="tw_wipe_list"/>
1443 <listtype name="wipe"/>
1444 </partitionlist>
1445
1446 <fill color="%accent_color%">
1447 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1448 </fill>
1449
z31s1g28f0a922015-11-07 18:50:22 +01001450 <text style="text_m_fail">
1451 <condition var1="partitionlisterror" var2="1"/>
1452 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001454 </text>
1455
1456 <button>
1457 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1458 <highlight color="%highlight_color%"/>
1459 <image resource="q_btn_arrow_right"/><actions>
1460 <action function="checkpartitionlist"/>
1461 <action function="page">checkpartitionlist</action>
1462 </actions>
1463 </button>
1464
1465 <action>
1466 <touch key="home"/>
1467 <action function="page">main</action>
1468 </action>
1469
1470 <action>
1471 <touch key="back"/>
1472 <action function="page">wipe_type2</action>
1473 </action>
1474 </page>
1475
1476 <page name="partitionoptions">
1477
1478 <template name="page"/>
1479
1480 <template name="statusbar"/>
1481
1482 <text style="text_m">
1483 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001485 </text>
1486
1487 <text style="text_m_accent">
1488 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001489 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001490 </text>
1491
1492 <text style="text_m_accent">
1493 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001494 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001495 </text>
1496
1497 <text style="text_m">
1498 <condition var1="tw_partition_is_present" var2="1"/>
1499 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m">
1504 <condition var1="tw_partition_is_present" var2="0"/>
1505 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m">
1510 <condition var1="tw_partition_removable" var2="1"/>
1511 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001512 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001513 </text>
1514
1515 <text style="text_m">
1516 <condition var1="tw_partition_removable" var2="0"/>
1517 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001518 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001519 </text>
1520
1521 <text style="text_m">
1522 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001524 </text>
1525
1526 <text style="text_m">
1527 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001529 </text>
1530
1531 <text style="text_m">
1532 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001533 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001534 </text>
1535
1536 <text style="text_m">
1537 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001539 </text>
1540
1541 <button style="main_button">
1542 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1543 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001544 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001545 <actions>
1546 <action function="set">tw_back=partitionoptions</action>
1547 <action function="set">tw_action=resize</action>
1548 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1549 <action function="set">tw_has_action2=1</action>
1550 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1554 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1555 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">confirm_action</action>
1557 </actions>
1558 </button>
1559
1560 <button style="main_button">
1561 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1562 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001563 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001564 <actions>
1565 <action function="set">tw_back=partitionoptions</action>
1566 <action function="set">tw_action=repair</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1572 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1573 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001574 <action function="page">confirm_action</action>
1575 </actions>
1576 </button>
1577
1578 <button>
1579 <placement x="%col1_x_left%" y="%row11_y%"/>
1580 <highlight color="%highlight_color%"/>
1581 <image resource="q_btn_arrow_left"/>
1582 <action function="page">partitionoptions_select</action>
1583 </button>
1584
1585 <button style="main_button">
1586 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001587 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001588 <action function="page">selectfilesystem</action>
1589 </button>
1590
1591 <action>
1592 <touch key="home"/>
1593 <action function="page">main</action>
1594 </action>
1595
1596 <action>
1597 <touch key="back"/>
1598 <action function="page">partitionoptions_select</action>
1599 </action>
1600 </page>
1601
1602 <page name="refreshfilesystem">
1603 <action>
1604 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1605 <actions>
1606 <action function="set">partitionlisterror=0</action>
1607 <action function="getpartitiondetails"/>
1608 <action function="page">selectfilesystem</action>
1609 </actions>
1610 </action>
1611
1612 <action>
1613 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1614 <actions>
1615 <action function="set">partitionlisterror=1</action>
1616 <action function="set">tw_wipe_list=</action>
1617 <action function="page">advancedwipe</action>
1618 </actions>
1619 </action>
1620 </page>
1621
1622 <page name="selectfilesystem">
1623 <template name="page"/>
1624
1625 <template name="statusbar"/>
1626
1627 <text style="text_m">
1628 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 </text>
1631
1632 <button style="main_button">
1633 <condition var1="tw_partition_ext" op="=" var2="1"/>
1634 <placement x="%col1_x_left%" y="%row1_y%"/>
1635 <text>EXT2</text>
1636 <actions>
1637 <action function="set">tw_back=refreshfilesystem</action>
1638 <action function="set">tw_action=changefilesystem</action>
1639 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1640 <action function="set">tw_action_new_file_system=ext2</action>
1641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1643 <action function="set">tw_text2=EXT2</action>
1644 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1645 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1646 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1647 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1648 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001649 <action function="page">confirm_action</action>
1650 </actions>
1651 </button>
1652
1653 <button style="main_button">
1654 <condition var1="tw_partition_ext" op="=" var2="1"/>
1655 <placement x="%col1_x_left%" y="%row6_y%"/>
1656 <text>EXT3</text>
1657 <actions>
1658 <action function="set">tw_back=refreshfilesystem</action>
1659 <action function="set">tw_action=changefilesystem</action>
1660 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1661 <action function="set">tw_action_new_file_system=ext3</action>
1662 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1664 <action function="set">tw_text2=EXT3</action>
1665 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1666 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1667 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1668 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1669 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001670 <action function="page">confirm_action</action>
1671 </actions>
1672 </button>
1673
1674 <button style="main_button">
1675 <condition var1="tw_partition_ext" op="=" var2="1"/>
1676 <placement x="%col1_x_left%" y="%row11_y%"/>
1677 <text>EXT4</text>
1678 <actions>
1679 <action function="set">tw_back=refreshfilesystem</action>
1680 <action function="set">tw_action=changefilesystem</action>
1681 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1682 <action function="set">tw_action_new_file_system=ext4</action>
1683 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1685 <action function="set">tw_text2=EXT4</action>
1686 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1687 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1688 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1689 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1690 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <action function="page">confirm_action</action>
1692 </actions>
1693 </button>
1694
1695 <button style="main_button">
1696 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1697 <placement x="%col1_x_right%" y="%row1_y%"/>
1698 <text>FAT</text>
1699 <actions>
1700 <action function="set">tw_back=refreshfilesystem</action>
1701 <action function="set">tw_action=changefilesystem</action>
1702 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1703 <action function="set">tw_action_new_file_system=vfat</action>
1704 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001705 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1706 <action function="set">tw_text2=FAT</action>
1707 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1708 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1709 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1710 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1711 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001712 <action function="page">confirm_action</action>
1713 </actions>
1714 </button>
1715
1716 <button style="main_button">
1717 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1718 <placement x="%col1_x_right%" y="%row6_y%"/>
1719 <text>exFAT</text>
1720 <actions>
1721 <action function="set">tw_back=refreshfilesystem</action>
1722 <action function="set">tw_action=changefilesystem</action>
1723 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1724 <action function="set">tw_action_new_file_system=exfat</action>
1725 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1727 <action function="set">tw_text2=exFAT</action>
1728 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1729 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1730 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1731 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1732 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001733 <action function="page">confirm_action</action>
1734 </actions>
1735 </button>
1736
1737 <button style="main_button">
1738 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1739 <placement x="%col1_x_right%" y="%row11_y%"/>
1740 <text>F2FS</text>
1741 <actions>
1742 <action function="set">tw_back=refreshfilesystem</action>
1743 <action function="set">tw_action=changefilesystem</action>
1744 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1745 <action function="set">tw_action_new_file_system=f2fs</action>
1746 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1748 <action function="set">tw_text2=F2FS</action>
1749 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1750 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1751 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1752 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1753 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <action function="page">confirm_action</action>
1755 </actions>
1756 </button>
1757
1758 <action>
1759 <touch key="home"/>
1760 <action function="page">main</action>
1761 </action>
1762
1763 <action>
1764 <touch key="back"/>
1765 <action function="page">partitionoptions</action>
1766 </action>
1767 </page>
1768
1769 <page name="backup_selectstorage">
1770 <template name="page"/>
1771
1772 <template name="statusbar"/>
1773
1774 <text style="text_m">
1775 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001776 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001777 </text>
1778
1779 <partitionlist style="partitionlist_headerless_rb">
1780 <data name="tw_storage_path"/>
1781 <listtype name="storage"/>
1782 </partitionlist>
1783
1784 <button>
1785 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1786 <highlight color="%highlight_color%"/>
1787 <image resource="q_btn_refresh"/>
1788 <actions>
1789 <action function="refreshsizes"/>
1790 <action function="page">backup_selectstorage</action>
1791 </actions>
1792 </button>
1793
1794 <button>
1795 <condition var1="tw_back" var2="backup_confirm"/>
1796 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1797 <highlight color="%highlight_color%"/>
1798 <image resource="q_btn_accept"/>
1799 <action function="page">backup_confirm</action>
1800 </button>
1801
1802 <button>
1803 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1804 <highlight color="%highlight_color%"/>
1805 <image resource="q_btn_arrow_right"/>
1806 <actions>
1807 <action function="set">tw_back=backup_selectstorage</action>
1808 <action function="page">backup_selectpartitions</action>
1809 </actions>
1810 </button>
1811
1812 <action>
1813 <touch key="home"/>
1814 <action function="page">main</action>
1815 </action>
1816
1817 <action>
1818 <touch key="back"/>
1819 <action function="page">%tw_back%</action>
1820 </action>
1821
1822 <action>
1823 <touch key="power+voldown"/>
1824 <action function="screenshot"/>
1825 </action>
1826 </page>
1827
1828 <page name="backup_selectpartitions">
1829 <template name="page"/>
1830
1831 <template name="statusbar"/>
1832
1833 <text style="text_m">
1834 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001835 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001836 </text>
1837
1838 <partitionlist style="partitionlist_headerless_cb">
1839 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1840 <data name="tw_backup_list"/>
1841 <listtype name="backup"/>
1842 </partitionlist>
1843
1844 <fill color="%accent_color%">
1845 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1846 </fill>
1847
1848 <button>
1849 <placement x="%col1_x_left%" y="%row11_y%"/>
1850 <highlight color="%highlight_color%"/>
1851 <image resource="q_btn_arrow_left"/>
1852 <action function="page">backup_selectstorage</action>
1853 </button>
1854
1855 <button>
1856 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1857 <highlight color="%highlight_color%"/>
1858 <image resource="q_btn_refresh"/>
1859 <action function="page">backup_selectpartitions</action>
1860 </button>
1861
1862 <button>
1863 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1864 <highlight color="%highlight_color%"/>
1865 <image resource="q_btn_accept"/>
1866 <action function="page">backup_confirm</action>
1867 </button>
1868
1869 <button>
1870 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1871 <highlight color="%highlight_color%"/>
1872 <image resource="q_btn_arrow_right"/>
1873 <actions>
1874 <action function="set">tw_back=backup_selectpartitions</action>
1875 <action function="page">backup_options</action>
1876 </actions>
1877 </button>
1878
1879 <action>
1880 <touch key="home"/>
1881 <action function="page">main</action>
1882 </action>
1883
1884 <action>
1885 <touch key="back"/>
1886 <action function="page">%tw_back%</action>
1887 </action>
1888
1889 <action>
1890 <touch key="power+voldown"/>
1891 <action function="screenshot"/>
1892 </action>
1893 </page>
1894
1895 <page name="backup_options">
1896 <template name="page"/>
1897
1898 <template name="statusbar"/>
1899
1900 <text style="text_m">
1901 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 </text>
1904
1905 <listbox style="scrolllist">
1906 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001907 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001908 <data variable="tw_use_compression"/>
1909 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001911 <data variable="tw_skip_md5_generate"/>
1912 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001913 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01001914 <data variable="tw_disable_free_space"/>
1915 </listitem>
1916 </listbox>
1917
1918 <button>
1919 <placement x="%col1_x_left%" y="%row11_y%"/>
1920 <highlight color="%highlight_color%"/>
1921 <image resource="q_btn_arrow_left"/>
1922 <action function="page">backup_selectpartitions</action>
1923 </button>
1924
1925 <button>
1926 <conditions>
1927 <condition var1="tw_include_encrypted_backup" var2="1"/>
1928 <condition var1="tw_encrypt_backup" var2="0"/>
1929 </conditions>
1930 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1931 <highlight color="%highlight_color%"/>
1932 <image resource="q_btn_encryption_dis"/>
1933 <actions>
1934 <action function="set">tw_password_not_match=0</action>
1935 <action function="set">tw_back=backup_options</action>
1936 <action function="page">backupencryption</action>
1937 </actions>
1938 </button>
1939
1940 <button>
1941 <conditions>
1942 <condition var1="tw_include_encrypted_backup" var2="1"/>
1943 <condition var1="tw_encrypt_backup" var2="1"/>
1944 </conditions>
1945 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1946 <highlight color="%highlight_color%"/>
1947 <image resource="q_btn_encryption_en"/>
1948 <actions>
1949 <action function="set">tw_password_not_match=0</action>
1950 <action function="set">tw_back=backup_options</action>
1951 <action function="page">backupencryption</action>
1952 </actions>
1953 </button>
1954
1955 <button>
1956 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1957 <highlight color="%highlight_color%"/>
1958 <image resource="q_btn_accept_transp"/>
1959 <actions>
1960 <action function="set">tw_back=backup_options</action>
1961 <action function="page">backup_confirm</action>
1962 </actions>
1963 </button>
1964
1965 <action>
1966 <touch key="home"/>
1967 <action function="page">main</action>
1968 </action>
1969
1970 <action>
1971 <touch key="back"/>
1972 <action function="page">%tw_back%</action>
1973 </action>
1974
1975 <action>
1976 <touch key="power+voldown"/>
1977 <action function="screenshot"/>
1978 </action>
1979 </page>
1980
1981 <page name="backup_confirm">
1982 <template name="page"/>
1983
1984 <template name="statusbar"/>
1985
1986 <text style="text_m">
1987 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001988 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup{</text>
z31s1g28f0a922015-11-07 18:50:22 +01001989 </text>
1990
1991 <text style="text_m_accent">
1992 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001993 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001994 </text>
1995
1996 <text style="text_m">
1997 <placement x="%col1_x_left%" y="%row2_y%"/>
1998 <text>%tw_backup_name%</text>
1999 </text>
2000
2001 <fill color="%accent_color%">
2002 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2003 </fill>
2004
2005 <button>
2006 <fill color="%transparent%"/>
2007 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2008 <actions>
2009 <action function="set">tw_back=backup_confirm</action>
2010 <action function="set">tw_fileexists=0</action>
2011 <action function="page">backup_name1</action>
2012 </actions>
2013 </button>
2014
2015 <fill color="%background_color%">
2016 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2017 </fill>
2018
2019 <text style="text_m_accent">
2020 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002021 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002022 </text>
2023
2024 <partitionlist style="partitionlist_summary">
2025 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2026 <data name="tw_backup_list"/>
2027 <listtype name="backup"/>
2028 </partitionlist>
2029
2030 <button>
2031 <fill color="%transparent%"/>
2032 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2033 <actions>
2034 <action function="set">tw_back=backup_confirm</action>
2035 <action function="page">backup_selectpartitions</action>
2036 </actions>
2037 </button>
2038
2039 <text style="text_m_accent">
2040 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <text style="text_m">
2045 <placement x="%col1_x_right%" y="%row2_y%"/>
2046 <text>%tw_storage_display_name%</text>
2047 </text>
2048
2049 <button>
2050 <fill color="%transparent%"/>
2051 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2052 <actions>
2053 <action function="set">tw_back=backup_confirm</action>
2054 <action function="page">backup_selectstorage</action>
2055 </actions>
2056 </button>
2057
2058 <text style="text_m_accent">
2059 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 </text>
2062
2063 <text style="text_m">
2064 <conditions>
2065 <condition var1="tw_include_encrypted_backup" var2="1"/>
2066 <condition var1="tw_encrypt_backup" var2="0"/>
2067 </conditions>
2068 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002069 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002070 </text>
2071
2072 <text style="text_m">
2073 <conditions>
2074 <condition var1="tw_include_encrypted_backup" var2="1"/>
2075 <condition var1="tw_encrypt_backup" var2="1"/>
2076 </conditions>
2077 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002078 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002079 </text>
2080
2081 <button>
2082 <fill color="%transparent%"/>
2083 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2084 <actions>
2085 <action function="set">tw_back=backup_confirm</action>
2086 <action function="page">backupencryption</action>
2087 </actions>
2088 </button>
2089
2090 <listbox style="listbox_options">
2091 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002093 <data variable="tw_use_compression"/>
2094 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002095 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002096 <data variable="tw_skip_md5_generate"/>
2097 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01002099 <data variable="tw_disable_free_space"/>
2100 </listitem>
2101 </listbox>
2102
2103 <text style="text_m_accent">
2104 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002106 </text>
2107
2108 <button>
2109 <fill color="%transparent%"/>
2110 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2111 <actions>
2112 <action function="set">tw_back=backup_confirm</action>
2113 <action function="page">backup_options</action>
2114 </actions>
2115 </button>
2116
2117 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002118 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002119 <action function="page">backup_run</action>
2120 </slider>
2121
2122 <action>
2123 <touch key="home"/>
2124 <action function="page">main</action>
2125 </action>
2126
2127 <action>
2128 <touch key="back"/>
2129 <action function="page">backup_selectstorage</action>
2130 </action>
2131 </page>
2132
2133 <page name="backup_name1">
2134 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002136 <action function="generatebackupname"/>
2137 </action>
2138
2139 <action>
2140 <action function="page">backup_name2</action>
2141 </action>
2142 </page>
2143
2144 <page name="backup_name2">
2145 <template name="page"/>
2146
2147 <template name="statusbar"/>
2148
2149 <text style="text_m">
2150 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002151 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002152 </text>
2153
2154 <text style="text_m_accent">
2155 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002156 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002157 </text>
2158
2159 <input>
2160 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2161 <text>%tw_backup_name%</text>
2162 <data name="tw_backup_name"/>
2163 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2164 <actions>
2165 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2166 <action function="set">tw_existpage=backup_name2</action>
2167 <action function="set">tw_notexistpage=backup_confirm</action>
2168 <action function="page">filecheck</action>
2169 </actions>
2170 </input>
2171
2172 <fill color="%accent_color%">
2173 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2174 </fill>
2175
2176 <fill color="%text_fail_color%">
2177 <condition var1="tw_fileexists" var2="1"/>
2178 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2179 </fill>
2180
2181 <text style="text_m_fail">
2182 <condition var1="tw_fileexists" var2="1"/>
2183 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002184 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002185 </text>
2186
2187 <button style="main_button_half_height">
2188 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002189 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002191 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002192 <action function="page">backup_confirm</action>
2193 </actions>
2194 </button>
2195
2196 <button style="main_button_half_height">
2197 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 <action function="appenddatetobackupname"/>
2200 </button>
2201
2202 <template name="keyboardtemplate"/>
2203
2204 <action>
2205 <touch key="home"/>
2206 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002208 <action function="page">main</action>
2209 </actions>
2210 </action>
2211
2212 <action>
2213 <touch key="back"/>
2214 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002216 <action function="page">backup_confirm</action>
2217 </actions>
2218 </action>
2219 </page>
2220
2221 <page name="backupencryption">
2222 <template name="page"/>
2223
2224 <template name="statusbar"/>
2225
2226 <text style="text_m">
2227 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <text style="text_m_accent">
2232 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002233 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002234 </text>
2235
2236 <input>
2237 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2238 <text>%tw_backup_encrypt_display%</text>
2239 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2240 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2241 <action function="page">backupencryption2</action>
2242 </input>
2243
2244 <fill color="%accent_color%">
2245 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2246 </fill>
2247
2248 <fill color="%text_fail_color%">
2249 <condition var1="tw_password_not_match" var2="1"/>
2250 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2251 </fill>
2252
2253 <text style="text_m_fail">
2254 <condition var1="tw_password_not_match" var2="1"/>
2255 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002256 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002257 </text>
2258
2259 <button style="main_button_half_height">
2260 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002261 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002262 <actions>
2263 <action function="set">tw_encrypt_backup=0</action>
2264 <action function="set">tw_backup_password=</action>
2265 <action function="set">tw_backup_password2=</action>
2266 <action function="set">tw_backup_encrypt_display=</action>
2267 <action function="set">tw_backup_encrypt_display2=</action>
2268 <action function="page">%tw_back%</action>
2269 </actions>
2270 </button>
2271
2272 <template name="keyboardtemplate"/>
2273
2274 <action>
2275 <touch key="home"/>
2276 <action function="page">main</action>
2277 </action>
2278
2279 <action>
2280 <touch key="back"/>
2281 <action function="page">%tw_back%</action>
2282 </action>
2283 </page>
2284
2285 <page name="backupencryption2">
2286 <template name="page"/>
2287
2288 <template name="statusbar"/>
2289
2290 <text style="text_m">
2291 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <text style="text_m_accent">
2296 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002297 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002298 </text>
2299
2300 <input>
2301 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2302 <text>%tw_backup_encrypt_display2%</text>
2303 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2304 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2305 <action function="page">checkbackuppassword</action>
2306 </input>
2307
2308 <fill color="%accent_color%">
2309 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2310 </fill>
2311
2312 <button style="main_button_half_height">
2313 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 <actions>
2316 <action function="set">tw_encrypt_backup=0</action>
2317 <action function="set">tw_backup_password=</action>
2318 <action function="set">tw_backup_password2=</action>
2319 <action function="set">tw_backup_encrypt_display=</action>
2320 <action function="set">tw_backup_encrypt_display2=</action>
2321 <action function="page">%tw_back%</action>
2322 </actions>
2323 </button>
2324
2325 <template name="keyboardtemplate"/>
2326
2327 <action>
2328 <touch key="home"/>
2329 <action function="page">main</action>
2330 </action>
2331
2332 <action>
2333 <touch key="back"/>
2334 <action function="page">%tw_back%</action>
2335 </action>
2336 </page>
2337
2338 <page name="checkbackuppassword">
2339 <action>
2340 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2341 <actions>
2342 <action function="set">tw_encrypt_backup=1</action>
2343 <action function="page">%tw_back%</action>
2344 </actions>
2345 </action>
2346
2347 <action>
2348 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2349 <actions>
2350 <action function="set">tw_encrypt_backup=0</action>
2351 <action function="set">tw_password_not_match=1</action>
2352 <action function="set">tw_backup_password=</action>
2353 <action function="set">tw_backup_password2=</action>
2354 <action function="set">tw_backup_encrypt_display=</action>
2355 <action function="set">tw_backup_encrypt_display2=</action>
2356 <action function="page">backupencryption</action>
2357 </actions>
2358 </action>
2359 </page>
2360
2361 <page name="backup_run">
2362 <template name="page"/>
2363
2364 <template name="statusbar"/>
2365
2366 <text style="text_m">
2367 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2368 <text>%tw_operation% %tw_partition%</text>
2369 </text>
2370
2371 <template name="console"/>
2372
2373 <template name="progress_bar"/>
2374
2375 <text style="text_m">
2376 <placement x="%indent%" y="%row13a_y%"/>
2377 <text>%tw_file_progress%</text>
2378 </text>
2379
2380 <text style="text_m">
2381 <placement x="%indent%" y="%row14a_y%"/>
2382 <text>%tw_size_progress%</text>
2383 </text>
2384
2385 <button style="main_button_half_height">
2386 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 <action function="cancelbackup"/>
2389 </button>
2390
2391 <action>
2392 <action function="nandroid">backup</action>
2393 </action>
2394
2395 <action>
2396 <condition var1="tw_operation_state" var2="1"/>
2397 <condition var1="tw_cancel_backup" var2="0"/>
2398 <actions>
2399 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002400 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002401 <action function="set">tw_show_reboot=1</action>
2402 <action function="page">action_complete</action>
2403 </actions>
2404 </action>
2405
2406 <action>
2407 <condition var1="tw_operation_state" var2="1"/>
2408 <condition var1="tw_cancel_backup" var2="1"/>
2409 <actions>
2410 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <action function="set">tw_show_reboot=1</action>
2413 <action function="page">action_complete</action>
2414 </actions>
2415 </action>
2416 </page>
2417
2418 <page name="restore">
2419 <template name="page"/>
2420
2421 <template name="statusbar"/>
2422
2423 <text style="text_m">
2424 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 </text>
2427
2428 <fileselector>
2429 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2430 <text>%tw_storage_display_name%</text>
2431 <filter folders="1" files="0" nav="0"/>
2432 <path name="tw_backups_folder"/>
2433 <data name="tw_restore" default=""/>
2434 <selection name="tw_restore_name"/>
2435 </fileselector>
2436
2437 <button>
2438 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2439 <highlight color="%highlight_color%"/>
2440 <image resource="q_btn_storage"/>
2441 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002443 <action function="set">tw_back=restore</action>
2444 <action function="page">select_storage</action>
2445 </actions>
2446 </button>
2447
2448 <action>
2449 <condition var1="tw_restore" op="modified"/>
2450 <actions>
2451 <action function="readBackup"/>
2452 <action function="set">tw_back=restore</action>
2453 <action function="page">restore_read</action>
2454 </actions>
2455 </action>
2456
2457 <action>
2458 <touch key="home"/>
2459 <action function="page">main</action>
2460 </action>
2461
2462 <action>
2463 <touch key="back"/>
2464 <action function="page">main</action>
2465 </action>
2466 </page>
2467
2468 <page name="restore_read">
2469 <action>
2470 <condition var1="tw_restore_encrypted" var2="1"/>
2471 <actions>
2472 <action function="set">tw_password_fail=0</action>
2473 <action function="page">restore_decrypt</action>
2474 </actions>
2475 </action>
2476
2477 <action>
2478 <condition var1="tw_restore_encrypted" var2="0"/>
2479 <actions>
2480 <action function="page">restore_select</action>
2481 </actions>
2482 </action>
2483 </page>
2484
2485 <page name="restore_decrypt">
2486 <template name="page"/>
2487
2488 <template name="statusbar"/>
2489
2490 <text style="text_m">
2491 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002492 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002493 </text>
2494
2495 <text style="text_m_accent">
2496 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 </text>
2499
2500 <input>
2501 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2502 <text>%tw_restore_display%</text>
2503 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2504 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2505 <action function="page">try_restore_decrypt</action>
2506 </input>
2507
2508 <fill color="%accent_color%">
2509 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2510 </fill>
2511
2512 <fill color="%text_fail_color%">
2513 <condition var1="tw_password_fail" var2="1"/>
2514 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2515 </fill>
2516
2517 <text style="text_m_fail">
2518 <condition var1="tw_password_fail" var2="1"/>
2519 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <button style="main_button_half_height">
2524 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <actions>
2527 <action function="set">tw_page_done=1</action>
2528 <action function="page">restore</action>
2529 </actions>
2530 </button>
2531
2532 <button style="main_button_half_height">
2533 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 <actions>
2536 <action function="set">tw_back=restore</action>
2537 <action function="set">tw_action=cmd</action>
2538 <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 -05002539 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2540 <action function="set">tw_text2=%tw_restore_name%</action>
2541 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2542 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2543 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2544 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <action function="page">confirm_action</action>
2546 </actions>
2547 </button>
2548
2549 <template name="keyboardtemplate"/>
2550
2551 <action>
2552 <touch key="home"/>
2553 <action function="page">main</action>
2554 </action>
2555
2556 <action>
2557 <touch key="back"/>
2558 <action function="page">restore</action>
2559 </action>
2560 </page>
2561
2562 <page name="try_restore_decrypt">
2563 <template name="page"/>
2564
2565 <template name="statusbar"/>
2566
2567 <text style="text_m">
2568 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 </text>
2571
2572 <template name="console"/>
2573
2574 <template name="progress_bar"/>
2575
2576 <action>
2577 <action function="decrypt_backup"/>
2578 </action>
2579
2580 <action>
2581 <conditions>
2582 <condition var1="tw_operation_state" var2="1"/>
2583 <condition var1="tw_operation_status" op="!=" var2="0"/>
2584 </conditions>
2585 <actions>
2586 <action function="set">tw_password_fail=1</action>
2587 <action function="page">restore_decrypt</action>
2588 </actions>
2589 </action>
2590
2591 <action>
2592 <conditions>
2593 <condition var1="tw_operation_state" var2="1"/>
2594 <condition var1="tw_operation_status" op="=" var2="0"/>
2595 </conditions>
2596 <actions>
2597 <action function="set">tw_page_done=1</action>
2598 <action function="page">restore_select</action>
2599 </actions>
2600 </action>
2601 </page>
2602
2603 <page name="restore_select">
2604 <template name="page"/>
2605
2606 <template name="statusbar"/>
2607
2608 <text style="text_m">
2609 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002610 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002611 </text>
2612
2613 <partitionlist style="partitionlist_headerless_cb">
2614 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2615 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2616 <listtype name="restore"/>
2617 </partitionlist>
2618
2619 <fill color="%accent_color%">
2620 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2621 </fill>
2622
2623 <button>
2624 <placement x="%col1_x_left%" y="%row11_y%"/>
2625 <highlight color="%highlight_color%"/>
2626 <image resource="q_btn_arrow_left"/>
2627 <action function="page">restore</action>
2628 </button>
2629
2630 <button>
2631 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2632 <highlight color="%highlight_color%"/>
2633 <image resource="q_btn_delete"/>
2634 <actions>
2635 <action function="set">tw_back=restore</action>
2636 <action function="set">tw_action=cmd</action>
2637 <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 -05002638 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2641 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2642 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2643 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002644 <action function="page">confirm_action</action>
2645 </actions>
2646 </button>
2647
2648 <button>
2649 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2650 <highlight color="%highlight_color%"/>
2651 <image resource="q_btn_accept"/>
2652 <action function="page">restore_confirm</action>
2653 </button>
2654
2655 <button>
2656 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2657 <highlight color="%highlight_color%"/>
2658 <image resource="q_btn_arrow_right"/>
2659 <actions>
2660 <action function="set">tw_back=restore_select</action>
2661 <action function="page">restore_options</action>
2662 </actions>
2663 </button>
2664
2665 <action>
2666 <touch key="home"/>
2667 <action function="page">main</action>
2668 </action>
2669
2670 <action>
2671 <touch key="back"/>
2672 <action function="page">%tw_back%</action>
2673 </action>
2674 </page>
2675
2676 <page name="restore_options">
2677 <template name="page"/>
2678
2679 <template name="statusbar"/>
2680
2681 <text style="text_m">
2682 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 </text>
2685
2686 <listbox style="scrolllist">
2687 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002688 <listitem name="{@retore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002689 <data variable="tw_skip_md5_check"/>
2690 </listitem>
2691 </listbox>
2692
2693 <button>
2694 <placement x="%col1_x_left%" y="%row11_y%"/>
2695 <highlight color="%highlight_color%"/>
2696 <image resource="q_btn_arrow_left"/>
2697 <action function="page">restore_select</action>
2698 </button>
2699
2700 <button>
2701 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2702 <highlight color="%highlight_color%"/>
2703 <image resource="q_btn_accept_transp"/>
2704 <actions>
2705 <action function="set">tw_back=restore_options</action>
2706 <action function="page">restore_confirm</action>
2707 </actions>
2708 </button>
2709
2710 <action>
2711 <touch key="home"/>
2712 <action function="page">main</action>
2713 </action>
2714
2715 <action>
2716 <touch key="back"/>
2717 <action function="page">%tw_back%</action>
2718 </action>
2719
2720 <action>
2721 <touch key="power+voldown"/>
2722 <action function="screenshot"/>
2723 </action>
2724 </page>
2725
2726 <page name="renamebackup">
2727 <template name="page"/>
2728
2729 <template name="statusbar"/>
2730
2731 <text style="text_m">
2732 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 </text>
2735
2736 <text style="text_m_accent">
2737 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002738 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002739 </text>
2740
2741 <input>
2742 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2743 <text>%tw_backup_rename%</text>
2744 <data name="tw_backup_rename"/>
2745 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2746 <actions>
2747 <action function="set">tw_back=restore</action>
2748 <action function="set">tw_action=cmd</action>
2749 <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 -05002750 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2751 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2752 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2753 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2754 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002755 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2756 <action function="set">tw_existpage=renamebackup</action>
2757 <action function="set">tw_notexistpage=confirm_action</action>
2758 <action function="page">filecheck</action>
2759 </actions>
2760 </input>
2761
2762 <fill color="%accent_color%">
2763 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2764 </fill>
2765
2766 <fill color="%text_fail_color%">
2767 <condition var1="tw_fileexists" var2="1"/>
2768 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2769 </fill>
2770
2771 <text style="text_m_fail">
2772 <condition var1="tw_fileexists" var2="1"/>
2773 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 </text>
2776
2777 <button style="main_button_half_height">
2778 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <action function="page">restore_confirm</action>
2781 </button>
2782
2783 <template name="keyboardtemplate"/>
2784
2785 <action>
2786 <touch key="home"/>
2787 <action function="page">main</action>
2788 </action>
2789
2790 <action>
2791 <touch key="back"/>
2792 <action function="page">restore_confirm</action>
2793 </action>
2794 </page>
2795
2796 <page name="restore_confirm">
2797 <template name="page"/>
2798
2799 <template name="statusbar"/>
2800
2801 <text style="text_m">
2802 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m_accent">
2807 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <text style="text_m">
2812 <placement x="%indent%" y="%row2_y%"/>
2813 <text>%tw_restore_name%</text>
2814 </text>
2815
2816 <fill color="%accent_color%">
2817 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2818 </fill>
2819
2820 <button>
2821 <fill color="%transparent%"/>
2822 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2823 <actions>
2824 <action function="set">tw_back=restore_confirm</action>
2825 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2826 <action function="set">tw_fileexists=0</action>
2827 <action function="page">renamebackup</action>
2828 </actions>
2829 </button>
2830
2831 <text style="text_m_accent">
2832 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002834 </text>
2835
2836 <partitionlist style="partitionlist_summary">
2837 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2838 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2839 <listtype name="restore"/>
2840 </partitionlist>
2841
2842 <button>
2843 <fill color="%transparent%"/>
2844 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2845 <actions>
2846 <action function="set">tw_back=restore_confirm</action>
2847 <action function="page">restore_select</action>
2848 </actions>
2849 </button>
2850
2851 <listbox style="listbox_options">
2852 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <listitem name="{@retore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002854 <data variable="tw_skip_md5_check"/>
2855 </listitem>
2856 </listbox>
2857
2858 <text style="text_m_accent">
2859 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 </text>
2862
2863 <button>
2864 <fill color="%transparent%"/>
2865 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2866 <actions>
2867 <action function="set">tw_back=restore_confirm</action>
2868 <action function="page">restore_options</action>
2869 </actions>
2870 </button>
2871
2872 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002873 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002874 <action function="page">restore_run</action>
2875 </slider>
2876
2877 <action>
2878 <touch key="home"/>
2879 <action function="page">main</action>
2880 </action>
2881
2882 <action>
2883 <touch key="back"/>
2884 <action function="page">restore_options</action>
2885 </action>
2886 </page>
2887
2888 <page name="restore_run">
2889 <template name="page"/>
2890
2891 <template name="statusbar"/>
2892
2893 <text style="text_m">
2894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2895 <text>%tw_operation% %tw_partition%</text>
2896 </text>
2897
2898 <template name="console"/>
2899
2900 <template name="progress_bar"/>
2901
2902 <text style="text_m">
2903 <placement x="%indent%" y="%row14a_y%"/>
2904 <text>%tw_size_progress%</text>
2905 </text>
2906
2907 <action>
2908 <condition var1="tw_operation_state" var2="1"/>
2909 <actions>
2910 <action function="set">tw_back=restore</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002912 <action function="set">tw_show_reboot=1</action>
2913 <action function="page">action_complete</action>
2914 </actions>
2915 </action>
2916
2917 <action>
2918 <action function="nandroid">restore</action>
2919 </action>
2920 </page>
2921
2922 <page name="mount">
2923 <template name="page"/>
2924
2925 <template name="statusbar"/>
2926
2927 <text style="text_m">
2928 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002929 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01002930 </text>
2931
2932 <partitionlist style="partitionlist_headerless_cb">
2933 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2934 <listtype name="mount"/>
2935 </partitionlist>
2936
2937 <fill color="%accent_color%">
2938 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2939 </fill>
2940
2941 <button style="checkbox">
2942 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2943 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 <image resource="checkbox_false"/>
2946 <action function="mountsystemtoggle">1</action>
2947 </button>
2948
2949 <button style="checkbox">
2950 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2951 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002952 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002953 <image resource="checkbox_true"/>
2954 <actions>
2955 <action function="set">tw_lifetime_writes=2</action>
2956 <action function="page">system_readonly_check</action>
2957 </actions>
2958 </button>
2959
2960 <button style="checkbox">
2961 <conditions>
2962 <condition var1="tw_has_mtp" var2="1"/>
2963 <condition var1="tw_mtp_enabled" var2="0"/>
2964 </conditions>
2965 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2966 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 <action function="startmtp"/>
2969 </button>
2970
2971 <button style="checkbox">
2972 <conditions>
2973 <condition var1="tw_has_mtp" var2="1"/>
2974 <condition var1="tw_mtp_enabled" var2="1"/>
2975 </conditions>
2976 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2977 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002979 <action function="stopmtp"/>
2980 </button>
2981
2982 <button>
2983 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2984 <highlight color="%highlight_color%"/>
2985 <image resource="q_btn_storage"/>
2986 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002987 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002988 <action function="set">tw_back=mount</action>
2989 <action function="page">select_storage</action>
2990 </actions>
2991 </button>
2992
2993 <button>
2994 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2995 <highlight color="%highlight_color%"/>
2996 <image resource="q_btn_arrow_right"/>
2997 <action function="page">mount_options</action>
2998 </button>
2999
3000 <action>
3001 <touch key="home"/>
3002 <action function="page">main</action>
3003 </action>
3004
3005 <action>
3006 <touch key="back"/>
3007 <action function="page">main</action>
3008 </action>
3009 </page>
3010
3011 <page name="mount_options">
3012 <template name="page"/>
3013
3014 <template name="statusbar"/>
3015
3016 <text style="text_m">
3017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <button style="main_button_full_width">
3022 <condition var1="tw_has_usb_storage" var2="1"/>
3023 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <action function="page">usb_mount</action>
3026 </button>
3027
3028 <button style="main_button_full_width">
3029 <conditions>
3030 <condition var1="tw_is_encrypted" var2="1"/>
3031 <condition var1="tw_is_decrypted" var2="0"/>
3032 </conditions>
3033 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <action function="page">decrypt</action>
3036 </button>
3037
3038 <button>
3039 <placement x="%col1_x_left%" y="%row11_y%"/>
3040 <highlight color="%highlight_color%"/>
3041 <image resource="q_btn_arrow_left"/>
3042 <action function="page">mount</action>
3043 </button>
3044
3045 <action>
3046 <touch key="home"/>
3047 <action function="page">main</action>
3048 </action>
3049
3050 <action>
3051 <touch key="back"/>
3052 <action function="page">mount</action>
3053 </action>
3054 </page>
3055
3056 <page name="usb_mount">
3057 <template name="page"/>
3058
3059 <template name="statusbar"/>
3060
3061 <text style="text_m">
3062 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <text>{@mount_hdr=Mount} &gt; {usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003064 </text>
3065
3066 <text style="text_m_accent">
3067 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </text>
3070
3071 <text style="text_m_fail">
3072 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </text>
3075
3076 <text style="text_m_fail">
3077 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 </text>
3080
3081 <button style="main_button">
3082 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 <action function="page">usb_umount</action>
3085 </button>
3086
3087 <action>
3088 <action function="mount">usb</action>
3089 <action function="set">tw_busy=1</action>
3090 </action>
3091 </page>
3092
3093 <page name="usb_umount">
3094 <action>
3095 <action function="unmount">usb</action>
3096 </action>
3097
3098 <action>
3099 <action function="page">mount_options</action>
3100 <action function="set">tw_busy=0</action>
3101 </action>
3102 </page>
3103
3104 <page name="system_readonly_check">
3105 <action>
3106 <action function="checkpartitionlifetimewrites">/system</action>
3107 </action>
3108
3109 <action>
3110 <condition var1="tw_lifetime_writes" var2="1"/>
3111 <actions>
3112 <action function="mountsystemtoggle">0</action>
3113 <action function="page">mount</action>
3114 </actions>
3115 </action>
3116
3117 <action>
3118 <condition var1="tw_lifetime_writes" var2="0"/>
3119 <actions>
3120 <action function="set">tw_back=mount</action>
3121 <action function="page">system_readonly</action>
3122 </actions>
3123 </action>
3124 </page>
3125
3126 <page name="reboot">
3127 <template name="page"/>
3128
3129 <template name="statusbar"/>
3130
3131 <text style="text_m">
3132 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <button style="main_button">
3137 <condition var1="tw_reboot_system" var2="1"/>
3138 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <actions>
3141 <action function="set">tw_back=reboot</action>
3142 <action function="set">tw_action=reboot</action>
3143 <action function="set">tw_action_param=system</action>
3144 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3146 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3147 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3148 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3149 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <action function="page">rebootcheck</action>
3151 </actions>
3152 </button>
3153
3154 <button style="main_button">
3155 <condition var1="tw_reboot_poweroff" var2="1"/>
3156 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 <actions>
3159 <action function="set">tw_back=reboot</action>
3160 <action function="set">tw_action=reboot</action>
3161 <action function="set">tw_action_param=poweroff</action>
3162 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3164 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3165 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3166 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3167 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003168 <action function="page">rebootcheck</action>
3169 </actions>
3170 </button>
3171
3172 <button style="main_button">
3173 <condition var1="tw_reboot_recovery" var2="1"/>
3174 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <actions>
3177 <action function="set">tw_back=reboot</action>
3178 <action function="set">tw_action=reboot</action>
3179 <action function="set">tw_action_param=recovery</action>
3180 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3182 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3183 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3184 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3185 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003186 <action function="page">rebootcheck</action>
3187 </actions>
3188 </button>
3189
3190 <button style="main_button">
3191 <condition var1="tw_reboot_bootloader" var2="1"/>
3192 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <actions>
3195 <action function="set">tw_back=reboot</action>
3196 <action function="set">tw_action=reboot</action>
3197 <action function="set">tw_action_param=bootloader</action>
3198 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3200 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3201 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3202 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3203 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <action function="page">rebootcheck</action>
3205 </actions>
3206 </button>
3207
3208 <button style="main_button">
3209 <condition var1="tw_download_mode" var2="1"/>
3210 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003211 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <actions>
3213 <action function="set">tw_back=reboot</action>
3214 <action function="set">tw_action=reboot</action>
3215 <action function="set">tw_action_param=download</action>
3216 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3218 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3219 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3220 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3221 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="page">rebootcheck</action>
3223 </actions>
3224 </button>
3225
3226 <action>
3227 <touch key="home"/>
3228 <action function="page">main</action>
3229 </action>
3230
3231 <action>
3232 <touch key="back"/>
3233 <action function="page">main</action>
3234 </action>
3235 </page>
3236
3237 <page name="system_readonly">
3238 <template name="page"/>
3239
3240 <template name="statusbar"/>
3241
3242 <text style="text_m">
3243 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 </text>
3246
3247 <text style="text_m_accent">
3248 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003250 </text>
3251
3252 <text style="text_m">
3253 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003255 </text>
3256
3257 <text style="text_m">
3258 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 </text>
3261
3262 <text style="text_m">
3263 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003265 </text>
3266
3267 <text style="text_m">
3268 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 </text>
3271
3272 <text style="text_m_fail">
3273 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003275 </text>
3276
3277 <text style="text_m_fail">
3278 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003279 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003280 </text>
3281
3282 <checkbox>
3283 <condition var1="tw_is_encrypted" var2="0"/>
3284 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 <data variable="tw_never_show_system_ro_page"/>
3287 </checkbox>
3288
3289 <button style="main_button_half_height">
3290 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <actions>
3293 <action function="mountsystemtoggle">1</action>
3294 <action function="set">tw_page_done=1</action>
3295 <action function="page">%tw_back%</action>
3296 </actions>
3297 </button>
3298
3299 <button style="main_button_half_height">
3300 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003302 <actions>
3303 <action function="mountsystemtoggle">0</action>
3304 <action function="set">tw_page_done=1</action>
3305 <action function="page">%tw_back%</action>
3306 </actions>
3307 </button>
3308 </page>
3309
3310 <page name="settings">
3311 <template name="page"/>
3312
3313 <template name="statusbar"/>
3314
3315 <text style="text_m">
3316 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </text>
3319
3320 <button style="main_button">
3321 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <action function="page">settings_general</action>
3324 </button>
3325
3326 <button style="main_button">
3327 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <action function="page">settings_timezone</action>
3330 </button>
3331
3332 <button style="main_button">
3333 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 <action function="page">settings_screen</action>
3336 </button>
3337
3338 <button style="main_button">
3339 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <action function="page">settings_vibration</action>
3342 </button>
3343
3344 <button style="main_button">
3345 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <action function="page">settings_language</action>
3348 </button>
3349
3350 <button>
3351 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3352 <highlight color="%highlight_color%"/>
3353 <image resource="q_btn_reset"/>
3354 <action function="restoredefaultsettings"/>
3355 </button>
3356
3357 <action>
3358 <touch key="home"/>
3359 <action function="page">main</action>
3360 </action>
3361
3362 <action>
3363 <touch key="back"/>
3364 <action function="page">main3</action>
3365 </action>
3366 </page>
3367
3368 <page name="settings_general">
3369 <template name="page"/>
3370
3371 <template name="statusbar"/>
3372
3373 <text style="text_m">
3374 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003376 </text>
3377
3378 <listbox style="scrolllist">
3379 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003381 <data variable="tw_signed_zip_verify"/>
3382 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003384 <data variable="tw_rm_rf"/>
3385 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003386 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003387 <data variable="tw_skip_md5_generate"/>
3388 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <listitem name="{@retore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003390 <data variable="tw_skip_md5_check"/>
3391 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003393 <data variable="tw_military_time"/>
3394 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003396 <data variable="tw_simulate_actions"/>
3397 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003399 <data variable="tw_simulate_fail"/>
3400 <condition var1="tw_simulate_actions" var2="1"/>
3401 </listitem>
3402 </listbox>
3403
3404 <action>
3405 <touch key="home"/>
3406 <action function="page">main</action>
3407 </action>
3408
3409 <action>
3410 <touch key="back"/>
3411 <action function="page">settings</action>
3412 </action>
3413 </page>
3414
3415 <page name="settings_timezone">
3416 <template name="page"/>
3417
3418 <template name="statusbar"/>
3419
3420 <text style="text_m">
3421 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003422 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003423 </text>
3424
3425 <text color="%text_color%">
3426 <font resource="font_m"/>
3427 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3428 <text>%tw_time%</text>
3429 </text>
3430
3431 <listbox style="listbox_headerless">
3432 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3433 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3435 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3436 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3437 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3438 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3439 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3440 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3441 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3442 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3443 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3444 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3445 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3446 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3447 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3448 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3449 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3450 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3451 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3452 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3453 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3454 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3455 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3456 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3457 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003458 </listbox>
3459
3460 <button>
3461 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3462 <highlight color="%highlight_color%"/>
3463 <image resource="q_btn_arrow_right"/>
3464 <actions>
3465 <action function="setguitimezone"/>
3466 <action function="page">settings_timezone2</action>
3467 </actions>
3468 </button>
3469
3470 <action>
3471 <condition var1="tw_time_zone_guisel" op="modified"/>
3472 <action function="setguitimezone"/>
3473 </action>
3474
3475 <action>
3476 <touch key="home"/>
3477 <actions>
3478 <action function="page">main</action>
3479 <action function="setguitimezone"/>
3480 </actions>
3481 </action>
3482
3483 <action>
3484 <touch key="back"/>
3485 <actions>
3486 <action function="page">settings</action>
3487 <action function="setguitimezone"/>
3488 </actions>
3489 </action>
3490
3491 <action>
3492 <touch key="power+voldown"/>
3493 <action function="screenshot"/>
3494 </action>
3495 </page>
3496
3497 <page name="settings_timezone2">
3498 <template name="page"/>
3499
3500 <template name="statusbar"/>
3501
3502 <text style="text_m">
3503 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003504 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003505 </text>
3506
3507 <text color="%text_color%">
3508 <font resource="font_m"/>
3509 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3510 <text>%tw_time%</text>
3511 </text>
3512
3513 <checkbox>
3514 <placement x="%col1_x_left%" y="%row1_y%"/>
3515 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003517 <data variable="tw_time_zone_guidst"/>
3518 <image checked="checkbox_true" unchecked="checkbox_false"/>
3519 </checkbox>
3520
3521 <text style="text_m_accent">
3522 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 </text>
3525
3526 <button style="main_button_quarter_width">
3527 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <actions>
3530 <action function="set">tw_time_zone_guioffset=0</action>
3531 <action function="setguitimezone"/>
3532 </actions>
3533 </button>
3534
3535 <button style="main_button_quarter_width">
3536 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <actions>
3539 <action function="set">tw_time_zone_guioffset=15</action>
3540 <action function="setguitimezone"/>
3541 </actions>
3542 </button>
3543
3544 <button style="main_button_quarter_width">
3545 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003546 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003547 <actions>
3548 <action function="set">tw_time_zone_guioffset=30</action>
3549 <action function="setguitimezone"/>
3550 </actions>
3551 </button>
3552
3553 <button style="main_button_quarter_width">
3554 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 <actions>
3557 <action function="set">tw_time_zone_guioffset=45</action>
3558 <action function="setguitimezone"/>
3559 </actions>
3560 </button>
3561
3562 <button>
3563 <placement x="%col1_x_left%" y="%row11_y%"/>
3564 <highlight color="%highlight_color%"/>
3565 <image resource="q_btn_arrow_left"/>
3566 <actions>
3567 <action function="setguitimezone"/>
3568 <action function="page">settings_timezone</action>
3569 </actions>
3570 </button>
3571
3572 <text style="text_m_accent">
3573 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 </text>
3576
3577 <text style="text_m">
3578 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3579 <text>%tw_time_zone%</text>
3580 </text>
3581
3582 <action>
3583 <condition var1="tw_time_zone_guidst" op="modified"/>
3584 <action function="setguitimezone"/>
3585 </action>
3586
3587 <action>
3588 <touch key="home"/>
3589 <actions>
3590 <action function="setguitimezone"/>
3591 <action function="page">main</action>
3592 </actions>
3593 </action>
3594
3595 <action>
3596 <touch key="back"/>
3597 <actions>
3598 <action function="setguitimezone"/>
3599 <action function="page">settings_timezone</action>
3600 </actions>
3601 </action>
3602 </page>
3603
3604 <page name="settings_screen">
3605 <template name="page"/>
3606
3607 <template name="statusbar"/>
3608
3609 <text style="text_m">
3610 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 </text>
3613
3614 <button style="checkbox">
3615 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3616 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3617 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 <image resource="checkbox_false"/>
3620 <action function="set">tw_screen_timeout_secs=60</action>
3621 </button>
3622
3623 <button style="checkbox">
3624 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3625 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3626 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <image resource="checkbox_true"/>
3629 <action function="set">tw_screen_timeout_secs=0</action>
3630 </button>
3631
3632 <slidervalue>
3633 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3634 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3637 </slidervalue>
3638
3639 <text style="text_m_fail">
3640 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3641 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 </text>
3644
3645 <button>
3646 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3647 <highlight color="%highlight_color%"/>
3648 <image resource="q_btn_arrow_right"/>
3649 <action function="page">settings_screen2</action>
3650 </button>
3651
3652 <action>
3653 <touch key="home"/>
3654 <action function="page">main</action>
3655 </action>
3656
3657 <action>
3658 <touch key="back"/>
3659 <action function="page">settings</action>
3660 </action>
3661 </page>
3662
3663 <page name="settings_screen2">
3664 <template name="page"/>
3665
3666 <template name="statusbar"/>
3667
3668 <text style="text_m">
3669 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </text>
3672
3673 <slidervalue>
3674 <condition var1="tw_has_brightnesss_file" var2="1"/>
3675 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003677 <data variable="tw_brightness_pct" min="10" max="100"/>
3678 <actions>
3679 <action function="set">tw_brightness=%tw_brightness_max%</action>
3680 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3681 <action function="compute">tw_brightness/100</action>
3682 <action function="setbrightness">%tw_brightness%</action>
3683 </actions>
3684 </slidervalue>
3685
3686 <text style="text_m_fail">
3687 <condition var1="tw_has_brightnesss_file" var2="0"/>
3688 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003690 </text>
3691
3692 <button>
3693 <placement x="%col1_x_left%" y="%row11_y%"/>
3694 <highlight color="%highlight_color%"/>
3695 <image resource="q_btn_arrow_left"/>
3696 <action function="page">settings_screen</action>
3697 </button>
3698
3699 <action>
3700 <touch key="home"/>
3701 <action function="page">main</action>
3702 </action>
3703
3704 <action>
3705 <touch key="back"/>
3706 <action function="page">settings</action>
3707 </action>
3708 </page>
3709
3710 <page name="settings_vibration">
3711 <template name="page"/>
3712
3713 <template name="statusbar"/>
3714
3715 <text style="text_m">
3716 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <slidervalue>
3721 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003723 <data variable="tw_button_vibrate" min="0" max="300"/>
3724 </slidervalue>
3725
3726 <button>
3727 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3728 <highlight color="%highlight_color%"/>
3729 <image resource="q_btn_arrow_right"/>
3730 <action function="page">settings_vibration2</action>
3731 </button>
3732
3733 <action>
3734 <touch key="home"/>
3735 <action function="page">main</action>
3736 </action>
3737
3738 <action>
3739 <touch key="back"/>
3740 <action function="page">settings</action>
3741 </action>
3742 </page>
3743
3744 <page name="settings_vibration2">
3745 <template name="page"/>
3746
3747 <template name="statusbar"/>
3748
3749 <text style="text_m">
3750 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </text>
3753
3754 <slidervalue>
3755 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003757 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3758 </slidervalue>
3759
3760 <button>
3761 <placement x="%col1_x_left%" y="%row11_y%"/>
3762 <highlight color="%highlight_color%"/>
3763 <image resource="q_btn_arrow_left"/>
3764 <action function="page">settings_vibration</action>
3765 </button>
3766
3767 <button>
3768 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3769 <highlight color="%highlight_color%"/>
3770 <image resource="q_btn_arrow_right"/>
3771 <action function="page">settings_vibration3</action>
3772 </button>
3773
3774 <action>
3775 <touch key="home"/>
3776 <action function="page">main</action>
3777 </action>
3778
3779 <action>
3780 <touch key="back"/>
3781 <action function="page">settings</action>
3782 </action>
3783 </page>
3784
3785 <page name="settings_vibration3">
3786 <template name="page"/>
3787
3788 <template name="statusbar"/>
3789
3790 <text style="text_m">
3791 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 </text>
3794
3795 <slidervalue>
3796 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 <data variable="tw_action_vibrate" min="0" max="500"/>
3799 </slidervalue>
3800
3801 <button>
3802 <placement x="%col1_x_left%" y="%row11_y%"/>
3803 <highlight color="%highlight_color%"/>
3804 <image resource="q_btn_arrow_left"/>
3805 <action function="page">settings_vibration2</action>
3806 </button>
3807
3808 <action>
3809 <touch key="home"/>
3810 <action function="page">main</action>
3811 </action>
3812
3813 <action>
3814 <touch key="back"/>
3815 <action function="page">settings</action>
3816 </action>
3817 </page>
3818
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <page name="settings_language">
3820 <template name="page"/>
3821
3822 <template name="statusbar"/>
3823
3824 <text style="text_m">
3825 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3826 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3827 </text>
3828
3829 <object type="listbox" style="scrolllist">
3830 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3831 <icon selected="radio_true" unselected="radio_false" />
3832 <data name="tw_language" />
3833 </object>
3834
3835 <button>
3836 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3837 <highlight color="%highlight_color%"/>
3838 <image resource="q_btn_folder"/>
3839 <action function="setlanguage"></action>
3840 </button>
3841
3842 <object type="action">
3843 <touch key="home" />
3844 <action function="page">main</action>
3845 </object>
3846
3847 <object type="action">
3848 <touch key="back" />
3849 <action function="page">settings</action>
3850 </object>
3851 </page>
3852
z31s1g28f0a922015-11-07 18:50:22 +01003853 <page name="advanced">
3854 <template name="page"/>
3855
3856 <template name="statusbar"/>
3857
3858 <text style="text_m">
3859 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <button style="main_button">
3864 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@terminal_btn=Terminal}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 <action function="page">terminalfolder</action>
3867 </button>
3868
3869 <button style="main_button">
3870 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@fix_perm_s_btn=Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 <action function="page">fixperms</action>
3873 </button>
3874
3875 <button style="main_button">
3876 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 <action function="reload"/>
3879 </button>
3880
3881 <button style="main_button">
3882 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3883 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <text>{@part_sd_s_btn=SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003885 <action function="page">partsdcard</action>
3886 </button>
3887
3888 <button style="main_button">
3889 <condition var1="tw_show_dumlock" var2="1"/>
3890 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 <action function="page">htcdumlock</action>
3893 </button>
3894
3895 <button style="main_button">
3896 <condition var1="tw_has_injecttwrp" var2="1"/>
3897 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 <actions>
3900 <action function="set">tw_back=advanced</action>
3901 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3903 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3904 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3905 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="page">confirm_action</action>
3907 </actions>
3908 </button>
3909
3910 <action>
3911 <touch key="home"/>
3912 <action function="page">main</action>
3913 </action>
3914
3915 <action>
3916 <touch key="back"/>
3917 <action function="page">main3</action>
3918 </action>
3919 </page>
3920
3921 <page name="partsdcard">
3922 <template name="page"/>
3923
3924 <template name="statusbar"/>
3925
3926 <text style="text_m">
3927 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003928 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003929 </text>
3930
3931 <text style="text_m_fail">
3932 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 </text>
3935
3936 <text style="text_m_fail">
3937 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003939 </text>
3940
3941 <text style="text_m_accent">
3942 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003944 </text>
3945
3946 <text style="text_m">
3947 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3948 <text>%tw_sdext_size%</text>
3949 </text>
3950
3951 <button style="main_button_quarter_width">
3952 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 <action function="addsubtract">tw_sdext_size-128</action>
3955 </button>
3956
3957 <button style="main_button_quarter_width">
3958 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <action function="addsubtract">tw_sdext_size+128</action>
3961 </button>
3962
3963 <button>
3964 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3965 <highlight color="%highlight_color%"/>
3966 <image resource="q_btn_arrow_right"/>
3967 <action function="page">partsdcard2</action>
3968 </button>
3969
3970 <action>
3971 <touch key="home"/>
3972 <action function="page">main</action>
3973 </action>
3974
3975 <action>
3976 <touch key="back"/>
3977 <action function="page">advanced</action>
3978 </action>
3979 </page>
3980
3981 <page name="partsdcard2">
3982 <template name="page"/>
3983
3984 <template name="statusbar"/>
3985
3986 <text style="text_m">
3987 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003988 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003989 </text>
3990
3991 <text style="text_m_fail">
3992 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003994 </text>
3995
3996 <text style="text_m_fail">
3997 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 </text>
4000
4001 <text style="text_m_accent">
4002 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004003 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004004 </text>
4005
4006 <text style="text_m">
4007 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4008 <text>%tw_swap_size%</text>
4009 </text>
4010
4011 <button style="main_button_quarter_width">
4012 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004013 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004014 <action function="addsubtract">tw_swap_size-32</action>
4015 </button>
4016
4017 <button style="main_button_quarter_width">
4018 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004019 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004020 <action function="addsubtract">tw_swap_size+32</action>
4021 </button>
4022
4023 <button>
4024 <placement x="%col1_x_left%" y="%row11_y%"/>
4025 <highlight color="%highlight_color%"/>
4026 <image resource="q_btn_arrow_left"/>
4027 <action function="page">partsdcard</action>
4028 </button>
4029
4030 <button>
4031 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4032 <highlight color="%highlight_color%"/>
4033 <image resource="q_btn_arrow_right"/>
4034 <action function="page">partsdcard3</action>
4035 </button>
4036
4037 <action>
4038 <touch key="home"/>
4039 <action function="page">main</action>
4040 </action>
4041
4042 <action>
4043 <touch key="back"/>
4044 <action function="page">advanced</action>
4045 </action>
4046 </page>
4047
4048 <page name="partsdcard3">
4049 <template name="page"/>
4050
4051 <template name="statusbar"/>
4052
4053 <text style="text_m">
4054 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004056 </text>
4057
4058 <text style="text_m_fail">
4059 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004061 </text>
4062
4063 <text style="text_m_fail">
4064 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004066 </text>
4067
4068 <text style="text_m_accent">
4069 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004071 </text>
4072
4073 <text style="text_m">
4074 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4075 <text>%tw_sdpart_file_system%</text>
4076 </text>
4077
4078 <button style="main_button_quarter_width">
4079 <placement x="%indent%" y="%row6_y%"/>
4080 <text>EXT3</text>
4081 <action function="set">tw_sdpart_file_system=ext3</action>
4082 </button>
4083
4084 <button style="main_button_quarter_width">
4085 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4086 <text>EXT4</text>
4087 <action function="set">tw_sdpart_file_system=ext4</action>
4088 </button>
4089
4090 <button>
4091 <placement x="%col1_x_left%" y="%row11_y%"/>
4092 <highlight color="%highlight_color%"/>
4093 <image resource="q_btn_arrow_left"/>
4094 <action function="page">partsdcard2</action>
4095 </button>
4096
4097 <button>
4098 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4099 <highlight color="%highlight_color%"/>
4100 <image resource="q_btn_arrow_right"/>
4101 <action function="page">partsdcard_confirm</action>
4102 </button>
4103
4104 <action>
4105 <touch key="home"/>
4106 <action function="page">main</action>
4107 </action>
4108
4109 <action>
4110 <touch key="back"/>
4111 <action function="page">advanced</action>
4112 </action>
4113 </page>
4114
4115 <page name="partsdcard_confirm">
4116 <template name="page"/>
4117
4118 <template name="statusbar"/>
4119
4120 <text style="text_m">
4121 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 </text>
4124
4125 <text style="text_m_fail">
4126 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004127 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004128 </text>
4129
4130 <text style="text_m_fail">
4131 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 </text>
4134
4135 <text style="text_m_accent">
4136 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 </text>
4139
4140 <text style="text_m_accent">
4141 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <text style="text_m_accent">
4146 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004148 </text>
4149
4150 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 <action function="page">partsdcardaction</action>
4153 <actions>
4154 <action function="set">tw_back=partsdcard</action>
4155 <action function="set">tw_action=partitionsd</action>
4156 <action function="set">tw_has_action2=1</action>
4157 <action function="set">tw_action2=set</action>
4158 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4160 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4161 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004162 <action function="page">action_page</action>
4163 </actions>
4164 </slider>
4165
4166 <action>
4167 <touch key="home"/>
4168 <action function="page">main</action>
4169 </action>
4170
4171 <action>
4172 <touch key="back"/>
4173 <action function="page">advanced</action>
4174 </action>
4175 </page>
4176
4177 <page name="htcdumlock">
4178 <template name="page"/>
4179
4180 <template name="statusbar"/>
4181
4182 <text style="text_m">
4183 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004184 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004185 </text>
4186
4187 <button style="main_button_full_width">
4188 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004189 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004190 <actions>
4191 <action function="set">tw_back=htcdumlock</action>
4192 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4194 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4195 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4196 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004197 <action function="page">confirm_action</action>
4198 </actions>
4199 </button>
4200
4201 <button style="main_button_full_width">
4202 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 <actions>
4205 <action function="set">tw_back=htcdumlock</action>
4206 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4208 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4209 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4210 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004211 <action function="page">confirm_action</action>
4212 </actions>
4213 </button>
4214
4215 <button style="main_button_full_width">
4216 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 <actions>
4219 <action function="set">tw_back=htcdumlock</action>
4220 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4222 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4223 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4224 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004225 <action function="page">confirm_action</action>
4226 </actions>
4227 </button>
4228
4229 <action>
4230 <touch key="home"/>
4231 <action function="page">main</action>
4232 </action>
4233
4234 <action>
4235 <touch key="back"/>
4236 <action function="page">advanced</action>
4237 </action>
4238 </page>
4239
4240 <page name="lock">
4241 <background color="%semi_transparent%"/>
4242
4243 <image>
4244 <image resource="unlock_icon"/>
4245 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4246 </image>
4247
4248 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004249 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004250 <action function="overlay"/>
4251 </slider>
4252 </page>
4253
4254 <page name="filemanagerlist">
4255 <template name="page"/>
4256
4257 <template name="statusbar"/>
4258
4259 <text style="text_m">
4260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004261 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004262 </text>
4263
4264 <fileselector>
4265 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4266 <text>%tw_file_location1%</text>
4267 <filter folders="1" files="1"/>
4268 <path name="tw_file_location1" default="/"/>
4269 <data name="tw_filename1"/>
4270 <selection name="tw_selection1"/>
4271 </fileselector>
4272
4273 <button>
4274 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4275 <highlight color="%highlight_color%"/>
4276 <image resource="q_btn_folder"/>
4277 <actions>
4278 <action function="set">tw_filename1=tw_file_location1</action>
4279 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004281 <action function="page">filemanageroptions</action>
4282 </actions>
4283 </button>
4284
4285 <action>
4286 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004287 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004288 <action function="set">tw_fm_isfolder=0</action>
4289 </actions>
4290 </action>
4291
4292 <action>
4293 <touch key="home"/>
4294 <action function="page">main</action>
4295 </action>
4296
4297 <action>
4298 <touch key="back"/>
4299 <action function="page">main3</action>
4300 </action>
4301
4302 <action>
4303 <condition var1="tw_filename1" op="modified"/>
4304 <action function="page">filemanageroptions</action>
4305 </action>
4306 </page>
4307
4308 <page name="filemanageroptions">
4309 <template name="page"/>
4310
4311 <template name="statusbar"/>
4312
4313 <text style="text_m">
4314 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 </text>
4317
4318 <button style="main_button">
4319 <condition var1="tw_fm_isfolder" var2="0"/>
4320 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004322 <actions>
4323 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004324 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004325 <action function="page">choosedestinationfolder</action>
4326 </actions>
4327 </button>
4328
4329 <button style="main_button">
4330 <condition var1="tw_fm_isfolder" var2="1"/>
4331 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004333 <actions>
4334 <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 -05004335 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004336 <action function="page">choosedestinationfolder</action>
4337 </actions>
4338 </button>
4339
4340 <button style="main_button">
4341 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004342 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004343 <actions>
4344 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004346 <action function="page">choosedestinationfolder</action>
4347 </actions>
4348 </button>
4349
4350 <button style="main_button">
4351 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004353 <actions>
4354 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <action function="set">tw_fm_text2=</action>
4357 <action function="set">tw_fm_text3=</action>
4358 <action function="set">tw_include_text3=0</action>
4359 <action function="set">tw_back=filemanageroptions</action>
4360 <action function="page">filemanagerconfirm</action>
4361 </actions>
4362 </button>
4363
4364 <button style="main_button">
4365 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 <actions>
4368 <action function="set">tw_filemanager_rename=0000</action>
4369 <action function="set">tw_fm_text2=</action>
4370 <action function="set">tw_fm_text3=</action>
4371 <action function="set">tw_include_text3=0</action>
4372 <action function="set">tw_back=filemanageroptions</action>
4373 <action function="page">filemanagerchmod</action>
4374 </actions>
4375 </button>
4376
4377 <button style="main_button">
4378 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 <actions>
4381 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004383 <action function="set">tw_fm_text2=</action>
4384 <action function="set">tw_fm_text3=</action>
4385 <action function="set">tw_include_text3=0</action>
4386 <action function="set">tw_back=filemanageroptions</action>
4387 <action function="page">filemanagerconfirm</action>
4388 </actions>
4389 </button>
4390
4391 <button style="main_button">
4392 <condition var1="tw_fm_isfolder" var2="0"/>
4393 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004394 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004395 <actions>
4396 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004397 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004398 <action function="set">tw_filemanager_command=mv</action>
4399 <action function="page">filemanagerrenamefile</action>
4400 </actions>
4401 </button>
4402
4403 <button style="main_button">
4404 <condition var1="tw_fm_isfolder" var2="1"/>
4405 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 <actions>
4408 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004410 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4411 <action function="page">filemanagerrenamefolder</action>
4412 </actions>
4413 </button>
4414
4415 <action>
4416 <touch key="home"/>
4417 <action function="page">main</action>
4418 </action>
4419
4420 <action>
4421 <touch key="back"/>
4422 <action function="page">filemanagerlist</action>
4423 </action>
4424 </page>
4425
4426 <page name="choosedestinationfolder">
4427 <template name="page"/>
4428
4429 <template name="statusbar"/>
4430
4431 <text style="text_m">
4432 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </text>
4435
4436 <fileselector>
4437 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4438 <text>%tw_file_location2%</text>
4439 <filter folders="1" files="0"/>
4440 <path name="tw_file_location2" default="/"/>
4441 <data name="tw_filename2"/>
4442 <selection name="tw_selection2"/>
4443 </fileselector>
4444
4445 <button>
4446 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4447 <highlight color="%highlight_color%"/>
4448 <image resource="q_btn_folder"/>
4449 <actions>
4450 <action function="set">tw_fm_text2=to</action>
4451 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4452 <action function="set">tw_include_text3=1</action>
4453 <action function="set">tw_back=filemanageroptions</action>
4454 <action function="page">filemanagerconfirm</action>
4455 </actions>
4456 </button>
4457
4458 <action>
4459 <touch key="home"/>
4460 <action function="page">main</action>
4461 </action>
4462
4463 <action>
4464 <touch key="back"/>
4465 <action function="page">filemanageroptions</action>
4466 </action>
4467 </page>
4468
4469 <page name="filemanagerrenamefile">
4470 <template name="page"/>
4471
4472 <template name="statusbar"/>
4473
4474 <text style="text_m">
4475 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </text>
4478
4479 <text style="text_m_accent">
4480 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 </text>
4483
4484 <input>
4485 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4486 <text>%tw_filemanager_rename%</text>
4487 <data name="tw_filemanager_rename"/>
4488 <restrict minlen="1" maxlen="128"/>
4489 <actions>
4490 <action function="set">tw_fm_text2=to</action>
4491 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4492 <action function="set">tw_include_text3=1</action>
4493 <action function="set">tw_back=filemanageroptions</action>
4494 <action function="page">filemanagerconfirm</action>
4495 </actions>
4496 </input>
4497
4498 <fill color="%accent_color%">
4499 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4500 </fill>
4501
4502 <button style="main_button_half_height">
4503 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004504 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004505 <action function="page">filemanageroptions</action>
4506 </button>
4507
4508 <template name="keyboardtemplate"/>
4509
4510 <action>
4511 <touch key="home"/>
4512 <action function="page">main</action>
4513 </action>
4514
4515 <action>
4516 <touch key="back"/>
4517 <action function="page">filemanageroptions</action>
4518 </action>
4519 </page>
4520
4521 <page name="filemanagerrenamefolder">
4522 <template name="page"/>
4523
4524 <template name="statusbar"/>
4525
4526 <text style="text_m">
4527 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 </text>
4530
4531 <text style="text_m_accent">
4532 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <input>
4537 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4538 <text>%tw_filemanager_rename%</text>
4539 <data name="tw_filemanager_rename"/>
4540 <restrict minlen="1" maxlen="128"/>
4541 <actions>
4542 <action function="set">tw_fm_text2=to</action>
4543 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4544 <action function="set">tw_include_text3=1</action>
4545 <action function="set">tw_back=filemanageroptions</action>
4546 <action function="page">filemanagerconfirm</action>
4547 </actions>
4548 </input>
4549
4550 <fill color="%accent_color%">
4551 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4552 </fill>
4553
4554 <button style="main_button_half_height">
4555 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004556 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004557 <action function="page">filemanageroptions</action>
4558 </button>
4559
4560 <template name="keyboardtemplate"/>
4561
4562 <action>
4563 <touch key="home"/>
4564 <action function="page">main</action>
4565 </action>
4566
4567 <action>
4568 <touch key="back"/>
4569 <action function="page">filemanageroptions</action>
4570 </action>
4571 </page>
4572
4573 <page name="filemanagerchmod">
4574 <template name="page"/>
4575
4576 <template name="statusbar"/>
4577
4578 <text style="text_m">
4579 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004580 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004581 </text>
4582
4583 <text style="text_m_accent">
4584 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004585 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </text>
4587
4588 <input>
4589 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4590 <text>%tw_filemanager_rename%</text>
4591 <data name="tw_filemanager_rename"/>
4592 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4593 <actions>
4594 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4595 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4596 <action function="set">tw_back=filemanageroptions</action>
4597 <action function="page">filemanagerconfirm</action>
4598 </actions>
4599 </input>
4600
4601 <fill color="%accent_color%">
4602 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4603 </fill>
4604
4605 <button style="main_button_half_height">
4606 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004607 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004608 <action function="page">filemanageroptions</action>
4609 </button>
4610
4611 <template name="keyboardtemplate"/>
4612
4613 <action>
4614 <touch key="home"/>
4615 <action function="page">main</action>
4616 </action>
4617
4618 <action>
4619 <touch key="back"/>
4620 <action function="page">filemanageroptions</action>
4621 </action>
4622 </page>
4623
4624 <page name="filemanagerconfirm">
4625 <template name="page"/>
4626
4627 <template name="statusbar"/>
4628
4629 <text style="text_m">
4630 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <text style="text_m_accent">
4635 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4636 <text>%tw_fm_text1%</text>
4637 </text>
4638
4639 <text style="text_m">
4640 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4641 <text>%tw_filename1%</text>
4642 </text>
4643
4644 <text style="text_m_accent">
4645 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4646 <text>%tw_fm_text2%</text>
4647 </text>
4648
4649 <text style="text_m">
4650 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4651 <text>%tw_fm_text3%</text>
4652 </text>
4653
4654 <text style="text_m">
4655 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004656 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004657 </text>
4658
4659 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004660 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 <action function="page">filemanageraction</action>
4662 </slider>
4663
4664 <action>
4665 <touch key="back"/>
4666 <action function="page">%tw_back%</action>
4667 </action>
4668
4669 <action>
4670 <touch key="home"/>
4671 <action function="page">main</action>
4672 </action>
4673 </page>
4674
4675 <page name="filemanageraction">
4676 <template name="page"/>
4677
4678 <template name="statusbar"/>
4679
4680 <text style="text_m">
4681 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <template name="console"/>
4686
4687 <template name="progress_bar"/>
4688
4689 <action>
4690 <conditions>
4691 <condition var1="tw_operation_state" var2="1"/>
4692 <condition var1="tw_operation_status" var2="0"/>
4693 </conditions>
4694 <actions>
4695 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004696 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004697 <action function="page">action_complete</action>
4698 </actions>
4699 </action>
4700
4701 <action>
4702 <conditions>
4703 <condition var1="tw_operation_state" var2="1"/>
4704 <condition var1="tw_operation_status" op="!=" var2="0"/>
4705 </conditions>
4706 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004708 <action function="page">action_complete</action>
4709 </actions>
4710 </action>
4711
4712 <action>
4713 <condition var1="tw_include_text3" var2="0"/>
4714 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4715 </action>
4716
4717 <action>
4718 <condition var1="tw_include_text3" var2="1"/>
4719 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4720 </action>
4721 </page>
4722
4723 <page name="decrypt">
4724 <template name="page"/>
4725
4726 <template name="statusbar"/>
4727
4728 <action>
4729 <condition var1="tw_crypto_pwtype" var2="2"/>
4730 <action function="page">decrypt_pattern</action>
4731 </action>
4732
4733 <text style="text_m">
4734 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004735 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004736 </text>
4737
4738 <text style="text_m_accent">
4739 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004740 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004741 </text>
4742
4743 <input>
4744 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4745 <text>%tw_crypto_display%</text>
4746 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4747 <restrict minlen="1" maxlen="254"/>
4748 <action function="page">trydecrypt</action>
4749 </input>
4750
4751 <fill color="%accent_color%">
4752 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4753 </fill>
4754
4755 <fill color="%text_fail_color%">
4756 <condition var1="tw_password_fail" var2="1"/>
4757 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4758 </fill>
4759
4760 <text style="text_m_fail">
4761 <condition var1="tw_password_fail" var2="1"/>
4762 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004763 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004764 </text>
4765
4766 <button style="main_button_half_height">
4767 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004768 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004769 <actions>
4770 <action function="set">tw_page_done=1</action>
4771 <action function="page">main</action>
4772 </actions>
4773 </button>
4774
4775 <template name="keyboardtemplate"/>
4776 </page>
4777
4778 <page name="decrypt_pattern">
4779 <template name="page"/>
4780
4781 <template name="statusbar"/>
4782
4783 <text style="text_m">
4784 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004785 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004786 </text>
4787
4788 <text style="text_m_accent">
4789 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004790 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004791 </text>
4792
4793 <text style="text_m">
4794 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004795 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004796 </text>
4797
4798 <patternpassword>
4799 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
4800 <size name="tw_pattern_grid_size" default="3"/>
4801 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4802 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4803 <data name="tw_crypto_password"/>
4804 <action function="page">trydecrypt</action>
4805 </patternpassword>
4806
4807 <fill color="#000000">
4808 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4809 </fill>
4810
4811 <button>
4812 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4813 <image resource="back"/>
4814 <condition var1="tw_busy" var2="0"/>
4815 <actions>
4816 <action function="set">tw_page_done=1</action>
4817 <action function="page">main</action>
4818 </actions>
4819 </button>
4820 </page>
4821
4822 <page name="trydecrypt">
4823 <template name="page"/>
4824
4825 <template name="statusbar"/>
4826
4827 <text style="text_m">
4828 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004829 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004830 </text>
4831
4832 <template name="console"/>
4833
4834 <template name="progress_bar"/>
4835
4836 <action>
4837 <action function="decrypt"/>
4838 </action>
4839
4840 <action>
4841 <conditions>
4842 <condition var1="tw_operation_state" var2="1"/>
4843 <condition var1="tw_operation_status" op="!=" var2="0"/>
4844 </conditions>
4845 <actions>
4846 <action function="set">tw_password_fail=1</action>
4847 <action function="page">decrypt</action>
4848 </actions>
4849 </action>
4850
4851 <action>
4852 <conditions>
4853 <condition var1="tw_operation_state" var2="1"/>
4854 <condition var1="tw_operation_status" op="=" var2="0"/>
4855 </conditions>
4856 <actions>
4857 <action function="set">tw_page_done=1</action>
4858 <action function="page">main</action>
4859 </actions>
4860 </action>
4861 </page>
4862
4863 <page name="terminalfolder">
4864 <template name="page"/>
4865
4866 <template name="statusbar"/>
4867
4868 <text style="text_m">
4869 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004870 <text>{@term_s_hdr=Terminal} &gt; {@term_sel_folder_hdr=Browse to Starting Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004871 </text>
4872
4873 <fileselector>
4874 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4875 <text>%tw_terminal_location%</text>
4876 <filter folders="1" files="0"/>
4877 <path name="tw_terminal_location" default="/"/>
4878 <data name="tw_terminal"/>
4879 <selection name="tw_terminal_selection"/>
4880 </fileselector>
4881
4882 <button>
4883 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4884 <highlight color="%highlight_color%"/>
4885 <image resource="q_btn_accept_transp"/>
4886 <action function="page">terminalcommand</action>
4887 </button>
4888
4889 <action>
4890 <touch key="home"/>
4891 <action function="page">main</action>
4892 </action>
4893
4894 <action>
4895 <touch key="back"/>
4896 <action function="page">advanced</action>
4897 </action>
4898 </page>
4899
4900 <page name="terminalcommand">
4901 <template name="page"/>
4902
4903 <template name="statusbar"/>
4904
4905 <text style="text_m">
4906 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004907 <text>{@term_s_hdr=Terminal} &gt; %tw_terminal_location%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004908 </text>
4909
4910 <template name="console_terminal"/>
4911
4912 <input>
4913 <placement x="%col1_x_left%" y="%row5a_y%" w="%input_line_console%" h="%input_height%"/>
4914 <text>%tw_terminal_command%</text>
4915 <data name="tw_terminal_command"/>
4916 <restrict minlen="1"/>
4917 <action function="terminalcommand">%tw_terminal_command%</action>
4918 </input>
4919
4920 <fill color="%accent_color%">
4921 <placement x="%col1_x_left%" y="row6a_input_y" w="%input_line_console%" h="input_line_width" placement="1"/>
4922 </fill>
4923
4924 <button>
4925 <condition var1="tw_terminal_state" var2="1"/>
4926 <highlight color="%highlight_color%"/>
4927 <placement x="%close_btn_x%" y="%row5_y%"/>
4928 <font resource="font_m" color="%text_button_color%"/>
4929 <image resource="close"/>
4930 <action function="killterminal"/>
4931 </button>
4932
4933 <template name="keyboardtemplate"/>
4934
4935 <action>
4936 <touch key="home"/>
4937 <action function="page">main</action>
4938 </action>
4939
4940 <action>
4941 <touch key="back"/>
4942 <action function="page">terminalfolder</action>
4943 </action>
4944 </page>
4945
4946 <page name="sideload">
4947 <template name="page"/>
4948
4949 <template name="statusbar"/>
4950
4951 <text style="text_m">
4952 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004953 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004954 </text>
4955
4956 <text style="text_m_accent">
4957 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004959 </text>
4960
4961 <checkbox>
4962 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004963 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004964 <data variable="tw_wipe_dalvik"/>
4965 </checkbox>
4966
4967 <checkbox>
4968 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004969 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004970 <data variable="tw_wipe_cache"/>
4971 </checkbox>
4972
4973 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004974 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004975 <action function="page">partsdcardaction</action>
4976 <actions>
4977 <action function="set">tw_back=install_type</action>
4978 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004979 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4980 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4981 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004982 <action function="set">tw_has_cancel=1</action>
4983 <action function="set">tw_show_reboot=1</action>
4984 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4985 <action function="page">action_page</action>
4986 </actions>
4987 </slider>
4988
4989 <action>
4990 <touch key="home"/>
4991 <action function="page">main</action>
4992 </action>
4993
4994 <action>
4995 <touch key="back"/>
4996 <action function="page">install_type</action>
4997 </action>
4998 </page>
4999
5000 <page name="fixperms">
5001 <template name="page"/>
5002
5003 <template name="statusbar"/>
5004
5005 <text style="text_m">
5006 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005007 <text>{@advanced_hdr=Advanced} &gt; {@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005008 </text>
5009
5010 <text style="text_m_accent">
5011 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005012 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005013 </text>
5014
5015 <checkbox>
5016 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005017 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005018 <data variable="tw_fixperms_restorecon"/>
5019 </checkbox>
5020
5021 <text style="text_m_fail">
5022 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005023 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005024 </text>
5025
5026 <text style="text_m_fail">
5027 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005028 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005029 </text>
5030
5031 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005032 <text>{@swipe_fix_perms= Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005033 <actions>
5034 <action function="set">tw_back=advanced</action>
5035 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005036 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
5037 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
5038 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005039 <action function="set">tw_show_reboot=1</action>
5040 <action function="page">action_page</action>
5041 </actions>
5042 </slider>
5043
5044 <action>
5045 <touch key="home"/>
5046 <action function="page">main</action>
5047 </action>
5048
5049 <action>
5050 <touch key="back"/>
5051 <action function="page">advanced</action>
5052 </action>
5053 </page>
5054
5055 <page name="installsu">
5056 <template name="page"/>
5057
5058 <template name="statusbar"/>
5059
5060 <text style="text_m">
5061 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005062 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005063 </text>
5064
5065 <text style="text_m_accent">
5066 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005067 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005068 </text>
5069
5070 <text style="text_m">
5071 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005072 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005073 </text>
5074
5075 <text style="text_m">
5076 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005077 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005078 </text>
5079
5080 <button style="main_button_full_width">
5081 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005082 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005083 <action function="set">tw_page_done=1</action>
5084 </button>
5085
5086 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005087 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005088 <actions>
5089 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005090 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005091 <action function="set">tw_action_text2=</action>
5092 <action function="page">singleaction_page</action>
5093 </actions>
5094 </slider>
5095 </page>
5096
5097 <page name="slideout">
5098 <fill color="%background_color%">
5099 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5100 </fill>
5101
5102 <console>
5103 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5104 </console>
5105
5106 <fill color="%fileselector_linecolor%">
5107 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5108 </fill>
5109
5110 <fill color="%fileselector_linecolor%">
5111 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5112 </fill>
5113
5114 <button>
5115 <fill color="%transparent%"/>
5116 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5117 <action function="overlay"/>
5118 </button>
5119
5120 <action>
5121 <touch key="power+voldown"/>
5122 <action function="screenshot"/>
5123 </action>
5124 </page>
5125
5126 <page name="select_storage">
5127 <template name="page"/>
5128
5129 <template name="statusbar"/>
5130
5131 <text style="text_m">
5132 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5133 <text>%tw_storagetext%</text>
5134 </text>
5135
5136 <partitionlist style="partitionlist_headerless_rb">
5137 <data name="tw_storage_path"/>
5138 <listtype name="storage"/>
5139 </partitionlist>
5140
5141 <button>
5142 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5143 <highlight color="%highlight_color%"/>
5144 <image resource="q_btn_refresh"/>
5145 <actions>
5146 <action function="refreshsizes"/>
5147 <action function="page">select_storage</action>
5148 </actions>
5149 </button>
5150
5151 <button>
5152 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5153 <highlight color="%highlight_color%"/>
5154 <image resource="q_btn_accept"/>
5155 <actions>
5156 <action function="set">tw_clear_destination=%tw_back%</action>
5157 <action function="page">clear_vars</action>
5158 </actions>
5159 </button>
5160
5161 <action>
5162 <touch key="power+voldown"/>
5163 <action function="screenshot"/>
5164 </action>
5165 </page>
5166 </pages>
5167</recovery>