blob: 7d343ddb92c96dfdf6834a37d87dcc702f4b9ce7 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="partitionlist">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
133 <icon selected="checkbox_true" unselected="checkbox_false"/>
134 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 </style>
138
139 <style name="partitionlist_summary">
140 <highlight color="%fileselector_highlight_color%"/>
141 <background color="%background_color%"/>
142 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
143 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
144 </style>
145
146 <style name="partitionlist_headerless_rb">
147 <highlight color="%fileselector_highlight_color%"/>
148 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
149 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
150 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
151 <icon selected="radio_true" unselected="radio_false"/>
152 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
153 <background color="%background_color%"/>
154 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
155 </style>
156
157 <style name="partitionlist_headerless_cb">
158 <highlight color="%fileselector_highlight_color%"/>
159 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="checkbox_true" unselected="checkbox_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
168 <style name="slider">
169 <placement x="%center_x%" y="%slider_y%"/>
170 <font resource="font_l" color="%text_color%"/>
171 <resource base="slider" used="slider_used" touch="slider_touch"/>
172 </style>
173
174 <style name="slidervalue">
175 <resource handle="handle"/>
176 <font resource="font_m" color="%text_color%"/>
177 <colors line="%fileselector_linecolor%"/>
178 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
179 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100180
181 <style name="patternpassword">
182 <size name="tw_gui_pattern_grid_size" default="3"/>
183 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100184 </styles>
185
186 <pages>
187 <page name="main">
188 <action>
189 <actions>
190 <action function="set">tw_clear_destination=main2</action>
191 <action function="page">clear_vars</action>
192 </actions>
193 </action>
194 </page>
195
196 <page name="main2">
197 <template name="page"/>
198
199 <button style="main_button">
200 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500201 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100202 <action function="page">install_type</action>
203 </button>
204
205 <button style="main_button">
206 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 <action function="page">wipe_type1</action>
209 </button>
210
211 <button style="main_button">
212 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500213 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100214 <actions>
215 <action function="set">tw_back=main</action>
216 <action function="page">backup_selectstorage</action>
217 </actions>
218 </button>
219
220 <button style="main_button">
221 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">restore</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231
232 <button>
233 <placement x="%btn4_col4_x%" y="%row11_y%"/>
234 <highlight color="%highlight_color%"/>
235 <image resource="q_btn_arrow_right"/>
236 <action function="page">main3</action>
237 </button>
238 </page>
239
240 <page name="main3">
241 <template name="page"/>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">filemanagerlist</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <actions>
265 <action function="set">tw_back=main3</action>
266 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500267 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
268 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
269 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
270 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100271 <action function="page">confirm_action</action>
272 </actions>
273 </button>
274
275 <button style="main_button">
276 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <action function="page">advanced</action>
279 </button>
280
281 <button>
282 <placement x="%col1_x_left%" y="%row11_y%"/>
283 <highlight color="%highlight_color%"/>
284 <image resource="q_btn_arrow_left"/>
285 <action function="page">main2</action>
286 </button>
287
288 <action>
289 <touch key="back"/>
290 <action function="page">main2</action>
291 </action>
292
293 <action>
294 <touch key="home"/>
295 <action function="page">main</action>
296 </action>
297 </page>
298
299 <page name="install_type">
300 <template name="page"/>
301
302 <template name="statusbar"/>
303
304 <text style="text_m">
305 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500306 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </text>
308
309 <button style="main_button_full_width">
310 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <actions>
313 <action function="queueclear"/>
314 <action function="set">tw_selectimage=0</action>
315 <action function="page">install</action>
316 </actions>
317 </button>
318
319 <button style="main_button_full_width">
320 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="queueclear"/>
324 <action function="set">tw_selectimage=1</action>
325 <action function="page">install</action>
326 </actions>
327 </button>
328
329 <button style="main_button_full_width">
330 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <action function="page">sideload</action>
333 </button>
334
335 <action>
336 <touch key="home"/>
337 <action function="page">main</action>
338 </action>
339
340 <action>
341 <touch key="back"/>
342 <action function="page">main</action>
343 </action>
344 </page>
345
346 <page name="install">
347 <template name="page"/>
348
349 <template name="statusbar"/>
350
351 <text style="text_m">
352 <condition var1="tw_selectimage" var2="0"/>
353 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <condition var1="tw_selectimage" var2="1"/>
359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <fileselector>
364 <condition var1="tw_selectimage" var2="0"/>
365 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
366 <text>%tw_zip_location%</text>
367 <filter extn=".zip" folders="1" files="1"/>
368 <path name="tw_zip_location" default="/sdcard"/>
369 <data name="tw_filename"/>
370 <selection name="tw_file"/>
371 </fileselector>
372
373 <fileselector>
374 <condition var1="tw_selectimage" var2="1"/>
375 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
376 <text>%tw_zip_location%</text>
377 <filter extn=".img" folders="1" files="1"/>
378 <path name="tw_zip_location" default="/sdcard"/>
379 <data name="tw_filename"/>
380 <selection name="tw_file"/>
381 </fileselector>
382
383 <button>
384 <placement x="%btn4_col4_x%" y="%row11_y%"/>
385 <highlight color="%highlight_color%"/>
386 <image resource="q_btn_storage"/>
387 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100389 <action function="set">tw_back=install</action>
390 <action function="page">select_storage</action>
391 </actions>
392 </button>
393
394 <action>
395 <conditions>
396 <condition var1="tw_selectimage" var2="0"/>
397 <condition var1="tw_filename" op="modified"/>
398 </conditions>
399 <actions>
400 <action function="queuezip"/>
401 <action function="page">flash_queue</action>
402 </actions>
403 </action>
404
405 <action>
406 <conditions>
407 <condition var1="tw_selectimage" var2="1"/>
408 <condition var1="tw_filename" op="modified"/>
409 </conditions>
410 <action function="page">flashimage_type</action>
411 </action>
412
413 <action>
414 <touch key="back"/>
415 <action function="page">install_type</action>
416 </action>
417
418 <action>
419 <touch key="home"/>
420 <action function="page">main</action>
421 </action>
422 </page>
423
424 <page name="flash_queue">
425 <template name="page"/>
426
427 <template name="statusbar"/>
428
429 <text style="text_m">
430 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500431 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100432 </text>
433
434 <text style="text_m_accent">
435 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500436 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100437 </text>
438
439 <text style="text_m">
440 <placement x="%indent%" y="%row2_y%"/>
441 <text>%tw_file%</text>
442 </text>
443
444 <text style="text_m_accent">
445 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500446 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100447 </text>
448
449 <text style="text_m">
450 <placement x="%indent%" y="%row5_y%"/>
451 <text>%tw_zip_location%</text>
452 </text>
453
454 <text style="text_m">
455 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500456 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100457 </text>
458
459 <button>
460 <placement x="%col1_x_left%" y="%row11_y%"/>
461 <highlight color="%highlight_color%"/>
462 <image resource="q_btn_arrow_left"/>
463 <actions>
464 <action function="queueclear"/>
465 <action function="page">install</action>
466 </actions>
467 </button>
468
469 <button>
470 <placement x="%btn4_col2_x%" y="%row11_y%"/>
471 <highlight color="%highlight_color%"/>
472 <image resource="q_btn_addzip"/>
473 <action function="page">install</action>
474 </button>
475
476 <button>
477 <placement x="%btn4_col3_x%" y="%row11_y%"/>
478 <highlight color="%highlight_color%"/>
479 <image resource="q_btn_accept"/>
480 <action function="page">flash_confirm</action>
481 </button>
482
483 <button>
484 <placement x="%btn4_col4_x%" y="%row11_y%"/>
485 <highlight color="%highlight_color%"/>
486 <image resource="q_btn_arrow_right"/>
487 <action function="page">flash_options</action>
488 </button>
489
490 <action>
491 <touch key="back"/>
492 <actions>
493 <action function="queueclear"/>
494 <action function="page">install</action>
495 </actions>
496 </action>
497
498 <action>
499 <touch key="home"/>
500 <action function="page">main</action>
501 </action>
502 </page>
503
504 <page name="flash_options">
505 <template name="page"/>
506
507 <template name="statusbar"/>
508
509 <text style="text_m">
510 <condition var1="tw_selectimage" var2="0"/>
511 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100513 </text>
514
515 <checkbox>
516 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 <data variable="tw_signed_zip_verify"/>
519 </checkbox>
520
521 <checkbox>
522 <condition var1="tw_has_injecttwrp" var2="1"/>
523 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 <data variable="tw_inject_after_zip"/>
526 </checkbox>
527
528 <button>
529 <placement x="%col1_x_left%" y="%row11_y%"/>
530 <highlight color="%highlight_color%"/>
531 <image resource="q_btn_arrow_left"/>
532 <action function="page">flash_queue</action>
533 </button>
534
535 <button>
536 <placement x="%btn4_col4_x%" y="%row11_y%"/>
537 <highlight color="%highlight_color%"/>
538 <image resource="q_btn_accept_transp"/>
539 <action function="page">flash_confirm</action>
540 </button>
541
542 <action>
543 <touch key="back"/>
544 <action function="page">flash_queue</action>
545 </action>
546
547 <action>
548 <touch key="home"/>
549 <action function="page">main</action>
550 </action>
551 </page>
552
553 <page name="flash_confirm">
554 <template name="page"/>
555
556 <template name="statusbar"/>
557
558 <text style="text_m">
559 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100561 </text>
562
563 <text style="text_m_accent">
564 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500565 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100566 </text>
567
568 <text style="text_m">
569 <placement x="%indent%" y="%row2_y%"/>
570 <text>%tw_file%</text>
571 </text>
572
573 <button>
574 <fill color="%transparent%"/>
575 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
576 <action function="page">flash_queue</action>
577 </button>
578
579 <text style="text_m_accent">
580 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500581 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </text>
583
584 <text style="text_m">
585 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500586 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100587 </text>
588
589 <button>
590 <fill color="%transparent%"/>
591 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
592 <action function="page">flash_queue</action>
593 </button>
594
595 <listbox style="listbox_options">
596 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500597 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100598 <data variable="tw_signed_zip_verify"/>
599 </listitem>
600 </listbox>
601
602 <text style="text_m_accent">
603 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500604 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100605 </text>
606
607 <text style="text_m">
608 <condition var1="tw_has_injecttwrp" var2="1"/>
609 <condition var1="tw_inject_after_zip" var2="1"/>
610 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500611 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100612 </text>
613
614 <button>
615 <fill color="%transparent%"/>
616 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
617 <action function="page">flash_options</action>
618 </button>
619
620 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 <action function="flash">flash_zip</action>
623 </slider>
624
625 <action>
626 <touch key="back"/>
627 <actions>
628 <action function="cancelzip"/>
629 <action function="page">install</action>
630 </actions>
631 </action>
632
633 <action>
634 <touch key="home"/>
635 <action function="page">main</action>
636 </action>
637 </page>
638
639 <page name="flash_zip">
640 <template name="page"/>
641
642 <template name="statusbar"/>
643
644 <text style="text_m">
645 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500646 <text>{@installing_zip=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100647 </text>
648
649 <template name="console"/>
650
651 <template name="progress_bar"/>
652
653 <action>
654 <condition var1="tw_operation_state" var2="1"/>
655 <action function="page">flash_done</action>
656 </action>
657 </page>
658
659 <page name="flash_done">
660 <template name="page"/>
661
662 <template name="statusbar"/>
663
664 <text style="text_m_fail">
665 <condition var1="tw_operation_status" op="!=" var2="0"/>
666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500667 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100668 </text>
669
670 <text style="text_m">
671 <condition var1="tw_operation_status" var2="0"/>
672 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 </text>
675
676 <template name="console"/>
677
678 <button style="main_button_half_height">
679 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500680 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100681 <actions>
682 <action function="set">tw_back=flash_done</action>
683 <action function="set">tw_action=wipe</action>
684 <action function="set">tw_action_param=/cache</action>
685 <action function="set">tw_has_action2=1</action>
686 <action function="set">tw_action2=wipe</action>
687 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500688 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
689 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
690 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
691 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100692 <action function="page">confirm_action</action>
693 </actions>
694 </button>
695
696 <button style="main_button_half_height">
697 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500698 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100699 <actions>
700 <action function="set">tw_back=main2</action>
701 <action function="set">tw_action=reboot</action>
702 <action function="set">tw_action_param=system</action>
703 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500704 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
705 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100706 <action function="set">tw_text3=</action>
707 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500708 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100709 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500710 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
711 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100712 <action function="page">rebootcheck</action>
713 </actions>
714 </button>
715
716 <action>
717 <touch key="back"/>
718 <actions>
719 <action function="set">tw_clear_destination=install_type</action>
720 <action function="page">clear_vars</action>
721 </actions>
722 </action>
723
724 <action>
725 <touch key="home"/>
726 <actions>
727 <action function="set">tw_clear_destination=main2</action>
728 <action function="page">clear_vars</action>
729 </actions>
730 </action>
731 </page>
732
733 <page name="flashimage_type">
734 <template name="page"/>
735
736 <template name="statusbar"/>
737
738 <text style="text_m">
739 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500740 <text>{@install_image_hdr=Install Image} &gt; {install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100741 </text>
742
743 <partitionlist style="partitionlist_headerless_rb">
744 <data name="tw_flash_partition"/>
745 <listtype name="flashimg"/>
746 </partitionlist>
747
748 <button>
749 <placement x="%col1_x_left%" y="%row11_y%"/>
750 <highlight color="%highlight_color%"/>
751 <image resource="q_btn_arrow_left"/>
752 <action function="page">install</action>
753 </button>
754
755 <button>
756 <placement x="%btn4_col4_x%" y="%row11_y%"/>
757 <highlight color="%highlight_color%"/>
758 <image resource="q_btn_accept_transp"/>
759 <action function="page">flashimage_confirm</action>
760 </button>
761
762 <action>
763 <touch key="back"/>
764 <action function="page">install</action>
765 </action>
766
767 <action>
768 <touch key="home"/>
769 <action function="page">main</action>
770 </action>
771 </page>
772
773 <page name="flashimage_confirm">
774 <template name="page"/>
775
776 <template name="statusbar"/>
777
778 <text style="text_m">
779 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500780 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100781 </text>
782
783 <text style="text_m_accent">
784 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500785 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100786 </text>
787
788 <text style="text_m">
789 <placement x="%indent%" y="%row2_y%"/>
790 <text>%tw_file%</text>
791 </text>
792
793 <button>
794 <fill color="%transparent%"/>
795 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
796 <action function="page">install</action>
797 </button>
798
799 <text style="text_m_accent">
800 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500801 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100802 </text>
803
804 <text style="text_m">
805 <placement x="%indent%" y="%row5_y%"/>
806 <text>%tw_flash_partition%</text>
807 </text>
808
809 <button>
810 <fill color="%transparent%"/>
811 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
812 <action function="page">flashimage_type</action>
813 </button>
814
815 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500816 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100817 <actions>
818 <action function="set">tw_back=flashimage_confirm</action>
819 <action function="set">tw_action=flashimage</action>
820 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500821 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100822 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500823 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100824 <action function="page">action_page</action>
825 </actions>
826 <action function="flashimage"/>
827 </slider>
828
829 <action>
830 <touch key="back"/>
831 <actions>
832 <action function="set">tw_clear_destination=install</action>
833 <action function="page">clear_vars</action>
834 </actions>
835 </action>
836
837 <action>
838 <touch key="home"/>
839 <actions>
840 <action function="set">tw_clear_destination=main2</action>
841 <action function="page">clear_vars</action>
842 </actions>
843 </action>
844 </page>
845
846 <page name="clear_vars">
847 <action>
848 <action function="set">tw_operation_state=0</action>
849 <action function="set">tw_text1=</action>
850 <action function="set">tw_text2=</action>
851 <action function="set">tw_text3=</action>
852 <action function="set">tw_text4=</action>
853 <action function="set">tw_action_text1=</action>
854 <action function="set">tw_action_text2=</action>
855 <action function="set">tw_action_param=</action>
856 <action function="set">tw_has_action2=0</action>
857 <action function="set">tw_action2=</action>
858 <action function="set">tw_action2_param=</action>
859 <action function="set">tw_has_cancel=0</action>
860 <action function="set">tw_cancel_action=</action>
861 <action function="set">tw_cancel_param=</action>
862 <action function="set">tw_show_exclamation=0</action>
863 <action function="set">tw_show_reboot=0</action>
864 <action function="page">%tw_clear_destination%</action>
865 </action>
866 </page>
867
868 <page name="confirm_action">
869 <template name="page"/>
870
871 <template name="statusbar"/>
872
873 <text style="text_m">
874 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500875 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </text>
877
878 <text style="text_m_accent">
879 <placement x="%center_x%" y="%row2_y%" placement="5"/>
880 <text>%tw_text1%</text>
881 </text>
882
883 <text style="text_m_accent">
884 <placement x="%center_x%" y="%row3_y%" placement="5"/>
885 <text>%tw_text2%</text>
886 </text>
887
888 <text style="text_m">
889 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
890 <placement x="%center_x%" y="%row5_y%" placement="5"/>
891 <text>%tw_text3%</text>
892 </text>
893
894 <text style="text_m">
895 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
896 <placement x="%center_x%" y="%row6_y%" placement="5"/>
897 <text>%tw_text4%</text>
898 </text>
899
900 <text style="text_m_fail">
901 <condition var1="tw_action" var2="changefilesystem"/>
902 <placement x="%center_x%" y="%row5_y%" placement="5"/>
903 <text>%tw_text3%</text>
904 </text>
905
906 <text style="text_m_fail">
907 <condition var1="tw_action" var2="changefilesystem"/>
908 <placement x="%center_x%" y="%row6_y%" placement="5"/>
909 <text>%tw_text4%</text>
910 </text>
911
912 <text style="text_m">
913 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 </text>
916
917 <slider>
918 <text>%tw_slider_text%</text>
919 <action function="page">action_page</action>
920 </slider>
921
922 <action>
923 <touch key="back"/>
924 <actions>
925 <action function="set">tw_clear_destination=%tw_back%</action>
926 <action function="page">clear_vars</action>
927 </actions>
928 </action>
929
930 <action>
931 <touch key="home"/>
932 <action function="page">main</action>
933 </action>
934 </page>
935
936 <page name="action_page">
937 <template name="page"/>
938
939 <template name="statusbar"/>
940
941 <text style="text_m">
942 <placement x="%col1_x_left%" y="%row1_header_y%"/>
943 <text>%tw_action_text1% %tw_action_text2%</text>
944 </text>
945
946 <template name="console"/>
947
948 <template name="progress_bar"/>
949
950 <button style="main_button_half_height">
951 <condition var1="tw_has_cancel" var2="1"/>
952 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100954 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
955 </button>
956
957 <action>
958 <condition var1="tw_operation_state" var2="1"/>
959 <actions>
960 <action function="page">action_complete</action>
961 </actions>
962 </action>
963
964 <action>
965 <condition var1="tw_has_action2" var2="0"/>
966 <actions>
967 <action function="%tw_action%">%tw_action_param%</action>
968 </actions>
969 </action>
970
971 <action>
972 <condition var1="tw_has_action2" var2="1"/>
973 <actions>
974 <action function="%tw_action%">%tw_action_param%</action>
975 <action function="%tw_action2%">%tw_action2_param%</action>
976 </actions>
977 </action>
978 </page>
979
980 <page name="singleaction_page">
981 <template name="page"/>
982
983 <template name="statusbar"/>
984
985 <text style="text_m">
986 <placement x="%col1_x_left%" y="%row1_header_y%"/>
987 <text>%tw_action_text1% %tw_action_text2%</text>
988 </text>
989
990 <template name="console"/>
991
992 <template name="progress_bar"/>
993
994 <action>
995 <condition var1="tw_operation_state" var2="1"/>
996 <actions>
997 <action function="set">tw_page_done=1</action>
998 </actions>
999 </action>
1000
1001 <action>
1002 <condition var1="tw_has_action2" var2="0"/>
1003 <actions>
1004 <action function="%tw_action%">%tw_action_param%</action>
1005 </actions>
1006 </action>
1007
1008 <action>
1009 <condition var1="tw_has_action2" var2="1"/>
1010 <actions>
1011 <action function="%tw_action%">%tw_action_param%</action>
1012 <action function="%tw_action2%">%tw_action2_param%</action>
1013 </actions>
1014 </action>
1015 </page>
1016
1017 <page name="action_complete">
1018 <template name="page"/>
1019
1020 <template name="statusbar"/>
1021
1022 <text style="text_m_fail">
1023 <condition var1="tw_operation_status" op="!=" var2="0"/>
1024 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <condition var1="tw_operation_status" var2="0"/>
1030 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001031 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001032 </text>
1033
1034 <template name="console"/>
1035
1036 <button style="main_button_half_height">
1037 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001039 <actions>
1040 <action function="set">tw_clear_destination=%tw_back%</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </button>
1044
1045 <button style="main_button_half_height">
1046 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 <actions>
1049 <action function="set">tw_back=main2</action>
1050 <action function="set">tw_action=reboot</action>
1051 <action function="set">tw_action_param=system</action>
1052 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1054 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001055 <action function="set">tw_text3=</action>
1056 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001058 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1060 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <action function="page">rebootcheck</action>
1062 </actions>
1063 </button>
1064
1065 <action>
1066 <touch key="home"/>
1067 <actions>
1068 <action function="set">tw_clear_destination=main2</action>
1069 <action function="page">clear_vars</action>
1070 </actions>
1071 </action>
1072
1073 <action>
1074 <touch key="back"/>
1075 <actions>
1076 <action function="set">tw_clear_destination=%tw_back%</action>
1077 <action function="page">clear_vars</action>
1078 </actions>
1079 </action>
1080 </page>
1081
1082 <page name="filecheck">
1083 <action>
1084 <action function="fileexists">%tw_filecheck%</action>
1085 </action>
1086
1087 <action>
1088 <conditions>
1089 <condition var1="tw_operation_state" var2="1"/>
1090 <condition var1="tw_operation_status" var2="0"/>
1091 </conditions>
1092 <actions>
1093 <action function="set">tw_fileexists=1</action>
1094 <action function="page">%tw_existpage%</action>
1095 </actions>
1096 </action>
1097
1098 <action>
1099 <conditions>
1100 <condition var1="tw_operation_state" var2="1"/>
1101 <condition var1="tw_operation_status" var2="1"/>
1102 </conditions>
1103 <actions>
1104 <action function="set">tw_fileexists=0</action>
1105 <action function="page">%tw_notexistpage%</action>
1106 </actions>
1107 </action>
1108 </page>
1109
1110 <page name="rebootcheck">
1111 <action>
1112 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1113 <action function="reboot">%tw_action_param%</action>
1114 </action>
1115
1116 <action>
1117 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1118 <action function="page">confirm_action</action>
1119 </action>
1120 </page>
1121
1122 <page name="wipe_type1">
1123 <template name="page"/>
1124
1125 <template name="statusbar"/>
1126
1127 <text style="text_m">
1128 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 </text>
1131
1132 <button style="main_button_full_width">
1133 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <action function="page">wipe</action>
1136 </button>
1137
1138 <button style="main_button_full_width">
1139 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <actions>
1142 <action function="set">partitionlisterror=0</action>
1143 <action function="page">advancedwipe</action>
1144 </actions>
1145 </button>
1146
1147 <button>
1148 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1149 <highlight color="%highlight_color%"/>
1150 <image resource="q_btn_arrow_right"/>
1151 <action function="page">wipe_type2</action>
1152 </button>
1153
1154 <action>
1155 <touch key="home"/>
1156 <action function="page">main</action>
1157 </action>
1158
1159 <action>
1160 <touch key="back"/>
1161 <action function="page">main</action>
1162 </action>
1163 </page>
1164
1165 <page name="wipe_type2">
1166 <template name="page"/>
1167
1168 <template name="statusbar"/>
1169
1170 <text style="text_m">
1171 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001173 </text>
1174
1175 <button style="main_button_full_width">
1176 <condition var1="tw_has_data_media" var2="1"/>
1177 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 <action function="page">formatdata</action>
1180 </button>
1181
1182 <button style="main_button_full_width">
1183 <conditions>
1184 <condition var1="tw_is_encrypted" var2="1"/>
1185 <condition var1="tw_has_data_media" var2="0"/>
1186 </conditions>
1187 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 <actions>
1190 <action function="set">tw_back=wipe</action>
1191 <action function="set">tw_action=wipe</action>
1192 <action function="set">tw_action_param=DATAMEDIA</action>
1193 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1197 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1198 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001199 <action function="page">confirm_action</action>
1200 </actions>
1201 </button>
1202
1203 <button style="main_button_full_width">
1204 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001205 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001206 <action function="set">partitionlisterror=0</action>
1207 <action function="page">partitionoptions_select</action>
1208 </actions>
1209 </button>
1210
1211 <button>
1212 <placement x="%col1_x_left%" y="%row11_y%"/>
1213 <highlight color="%highlight_color%"/>
1214 <image resource="q_btn_arrow_left"/>
1215 <action function="page">wipe_type1</action>
1216 </button>
1217
1218 <action>
1219 <touch key="home"/>
1220 <action function="page">main</action>
1221 </action>
1222
1223 <action>
1224 <touch key="back"/>
1225 <action function="page">main</action>
1226 </action>
1227 </page>
1228
1229 <page name="wipe">
1230 <template name="page"/>
1231
1232 <template name="statusbar"/>
1233
1234 <text style="text_m">
1235 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </text>
1238
1239 <text style="text_m_accent">
1240 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m_accent">
1245 <condition var1="tw_has_data_media" var2="1"/>
1246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m_accent">
1251 <conditions>
1252 <condition var1="tw_has_android_secure" var2="1"/>
1253 <condition var1="fileexists" var2="/and-sec"/>
1254 </conditions>
1255 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 </text>
1258
1259 <text style="text_m_accent">
1260 <condition var1="tw_has_sdext_partition" var2="1"/>
1261 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <text style="text_m">
1271 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <text style="text_m">
1276 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 </text>
1279
1280 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 <actions>
1283 <action function="set">tw_back=wipe</action>
1284 <action function="set">tw_action=wipe</action>
1285 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1287 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001288 <action function="page">action_page</action>
1289 </actions>
1290 </slider>
1291
1292 <action>
1293 <touch key="back"/>
1294 <action function="page">wipe_type1</action>
1295 </action>
1296
1297 <action>
1298 <touch key="home"/>
1299 <action function="page">main</action>
1300 </action>
1301 </page>
1302
1303 <page name="advancedwipe">
1304 <action>
1305 <action function="set">tw_wipe_list=</action>
1306 </action>
1307
1308 <template name="page"/>
1309
1310 <template name="statusbar"/>
1311
1312 <text style="text_m">
1313 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 </text>
1316
1317 <partitionlist style="partitionlist_headerless_cb">
1318 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1319 <data name="tw_wipe_list"/>
1320 <listtype name="wipe"/>
1321 </partitionlist>
1322
1323 <fill color="%accent_color%">
1324 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1325 </fill>
1326
1327 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001328 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001329 <actions>
1330 <action function="set">tw_back=advancedwipe</action>
1331 <action function="set">tw_action=wipe</action>
1332 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1334 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1335 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001336 <action function="page">action_page</action>
1337 </actions>
1338 </slider>
1339
1340 <action>
1341 <touch key="home"/>
1342 <action function="page">main</action>
1343 </action>
1344
1345 <action>
1346 <touch key="back"/>
1347 <action function="page">wipe_type1</action>
1348 </action>
1349 </page>
1350
1351 <page name="formatdata">
1352 <template name="page"/>
1353
1354 <template name="statusbar"/>
1355
1356 <text style="text_m">
1357 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <text style="text_m_fail">
1362 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m_fail">
1367 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <text style="text_m">
1372 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <input>
1377 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1378 <text>%tw_confirm_formatdata%</text>
1379 <data name="tw_confirm_formatdata"/>
1380 <restrict minlen="3" maxlen="3" allow="yes"/>
1381 <action function="page">formatdata_confirm</action>
1382 </input>
1383
1384 <fill color="%accent_color%">
1385 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1386 </fill>
1387
1388 <template name="keyboardtemplate"/>
1389
1390 <action>
1391 <touch key="home"/>
1392 <action function="page">main</action>
1393 </action>
1394
1395 <action>
1396 <touch key="back"/>
1397 <action function="page">wipe_type2</action>
1398 </action>
1399 </page>
1400
1401 <page name="formatdata_confirm">
1402 <action>
1403 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1404 <actions>
1405 <action function="set">tw_back=formatdata</action>
1406 <action function="set">tw_action=wipe</action>
1407 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1409 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="page">action_page</action>
1411 </actions>
1412 </action>
1413
1414 <action>
1415 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1416 <action function="page">formatdata</action>
1417 </action>
1418 </page>
1419
1420 <page name="checkpartitionlist">
1421 <action>
1422 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1423 <actions>
1424 <action function="set">partitionlisterror=0</action>
1425 <action function="getpartitiondetails"/>
1426 <action function="page">partitionoptions</action>
1427 </actions>
1428 </action>
1429
1430 <action>
1431 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1432 <actions>
1433 <action function="set">partitionlisterror=1</action>
1434 <action function="set">tw_wipe_list=</action>
1435 <action function="page">partitionoptions_select</action>
1436 </actions>
1437 </action>
1438 </page>
1439
1440 <page name="partitionoptions_select">
1441 <action>
1442 <action function="set">tw_wipe_list=</action>
1443 </action>
1444
1445 <template name="page"/>
1446
1447 <template name="statusbar"/>
1448
1449 <text style="text_m">
1450 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001451 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001452 </text>
1453
1454 <partitionlist style="partitionlist_headerless_cb">
1455 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1456 <data name="tw_wipe_list"/>
1457 <listtype name="wipe"/>
1458 </partitionlist>
1459
1460 <fill color="%accent_color%">
1461 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1462 </fill>
1463
z31s1g28f0a922015-11-07 18:50:22 +01001464 <text style="text_m_fail">
1465 <condition var1="partitionlisterror" var2="1"/>
1466 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001467 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001468 </text>
1469
1470 <button>
1471 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1472 <highlight color="%highlight_color%"/>
1473 <image resource="q_btn_arrow_right"/><actions>
1474 <action function="checkpartitionlist"/>
1475 <action function="page">checkpartitionlist</action>
1476 </actions>
1477 </button>
1478
1479 <action>
1480 <touch key="home"/>
1481 <action function="page">main</action>
1482 </action>
1483
1484 <action>
1485 <touch key="back"/>
1486 <action function="page">wipe_type2</action>
1487 </action>
1488 </page>
1489
1490 <page name="partitionoptions">
1491
1492 <template name="page"/>
1493
1494 <template name="statusbar"/>
1495
1496 <text style="text_m">
1497 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001499 </text>
1500
1501 <text style="text_m_accent">
1502 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001503 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001504 </text>
1505
1506 <text style="text_m_accent">
1507 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001509 </text>
1510
1511 <text style="text_m">
1512 <condition var1="tw_partition_is_present" var2="1"/>
1513 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m">
1518 <condition var1="tw_partition_is_present" var2="0"/>
1519 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001520 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001521 </text>
1522
1523 <text style="text_m">
1524 <condition var1="tw_partition_removable" var2="1"/>
1525 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001526 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001527 </text>
1528
1529 <text style="text_m">
1530 <condition var1="tw_partition_removable" var2="0"/>
1531 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001533 </text>
1534
1535 <text style="text_m">
1536 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001538 </text>
1539
1540 <text style="text_m">
1541 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001542 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001543 </text>
1544
1545 <text style="text_m">
1546 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 </text>
1549
1550 <text style="text_m">
1551 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001552 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001553 </text>
1554
1555 <button style="main_button">
1556 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1557 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001558 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001559 <actions>
1560 <action function="set">tw_back=partitionoptions</action>
1561 <action function="set">tw_action=resize</action>
1562 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1563 <action function="set">tw_has_action2=1</action>
1564 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001566 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001567 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1568 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1569 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="page">confirm_action</action>
1571 </actions>
1572 </button>
1573
1574 <button style="main_button">
1575 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1576 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001578 <actions>
1579 <action function="set">tw_back=partitionoptions</action>
1580 <action function="set">tw_action=repair</action>
1581 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1582 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001585 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1586 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1587 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001588 <action function="page">confirm_action</action>
1589 </actions>
1590 </button>
1591
1592 <button>
1593 <placement x="%col1_x_left%" y="%row11_y%"/>
1594 <highlight color="%highlight_color%"/>
1595 <image resource="q_btn_arrow_left"/>
1596 <action function="page">partitionoptions_select</action>
1597 </button>
1598
1599 <button style="main_button">
1600 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <action function="page">selectfilesystem</action>
1603 </button>
1604
1605 <action>
1606 <touch key="home"/>
1607 <action function="page">main</action>
1608 </action>
1609
1610 <action>
1611 <touch key="back"/>
1612 <action function="page">partitionoptions_select</action>
1613 </action>
1614 </page>
1615
1616 <page name="refreshfilesystem">
1617 <action>
1618 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1619 <actions>
1620 <action function="set">partitionlisterror=0</action>
1621 <action function="getpartitiondetails"/>
1622 <action function="page">selectfilesystem</action>
1623 </actions>
1624 </action>
1625
1626 <action>
1627 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1628 <actions>
1629 <action function="set">partitionlisterror=1</action>
1630 <action function="set">tw_wipe_list=</action>
1631 <action function="page">advancedwipe</action>
1632 </actions>
1633 </action>
1634 </page>
1635
1636 <page name="selectfilesystem">
1637 <template name="page"/>
1638
1639 <template name="statusbar"/>
1640
1641 <text style="text_m">
1642 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 </text>
1645
1646 <button style="main_button">
1647 <condition var1="tw_partition_ext" op="=" var2="1"/>
1648 <placement x="%col1_x_left%" y="%row1_y%"/>
1649 <text>EXT2</text>
1650 <actions>
1651 <action function="set">tw_back=refreshfilesystem</action>
1652 <action function="set">tw_action=changefilesystem</action>
1653 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1654 <action function="set">tw_action_new_file_system=ext2</action>
1655 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1657 <action function="set">tw_text2=EXT2</action>
1658 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1659 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1660 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1661 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1662 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <action function="page">confirm_action</action>
1664 </actions>
1665 </button>
1666
1667 <button style="main_button">
1668 <condition var1="tw_partition_ext" op="=" var2="1"/>
1669 <placement x="%col1_x_left%" y="%row6_y%"/>
1670 <text>EXT3</text>
1671 <actions>
1672 <action function="set">tw_back=refreshfilesystem</action>
1673 <action function="set">tw_action=changefilesystem</action>
1674 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1675 <action function="set">tw_action_new_file_system=ext3</action>
1676 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001677 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1678 <action function="set">tw_text2=EXT3</action>
1679 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1680 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1681 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1682 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1683 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <action function="page">confirm_action</action>
1685 </actions>
1686 </button>
1687
1688 <button style="main_button">
1689 <condition var1="tw_partition_ext" op="=" var2="1"/>
1690 <placement x="%col1_x_left%" y="%row11_y%"/>
1691 <text>EXT4</text>
1692 <actions>
1693 <action function="set">tw_back=refreshfilesystem</action>
1694 <action function="set">tw_action=changefilesystem</action>
1695 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1696 <action function="set">tw_action_new_file_system=ext4</action>
1697 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1699 <action function="set">tw_text2=EXT4</action>
1700 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1701 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1702 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1703 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1704 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001705 <action function="page">confirm_action</action>
1706 </actions>
1707 </button>
1708
1709 <button style="main_button">
1710 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1711 <placement x="%col1_x_right%" y="%row1_y%"/>
1712 <text>FAT</text>
1713 <actions>
1714 <action function="set">tw_back=refreshfilesystem</action>
1715 <action function="set">tw_action=changefilesystem</action>
1716 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1717 <action function="set">tw_action_new_file_system=vfat</action>
1718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001719 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1720 <action function="set">tw_text2=FAT</action>
1721 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1722 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1723 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1724 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1725 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001726 <action function="page">confirm_action</action>
1727 </actions>
1728 </button>
1729
1730 <button style="main_button">
1731 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1732 <placement x="%col1_x_right%" y="%row6_y%"/>
1733 <text>exFAT</text>
1734 <actions>
1735 <action function="set">tw_back=refreshfilesystem</action>
1736 <action function="set">tw_action=changefilesystem</action>
1737 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1738 <action function="set">tw_action_new_file_system=exfat</action>
1739 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1741 <action function="set">tw_text2=exFAT</action>
1742 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1743 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1744 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1745 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1746 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001747 <action function="page">confirm_action</action>
1748 </actions>
1749 </button>
1750
1751 <button style="main_button">
1752 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1753 <placement x="%col1_x_right%" y="%row11_y%"/>
1754 <text>F2FS</text>
1755 <actions>
1756 <action function="set">tw_back=refreshfilesystem</action>
1757 <action function="set">tw_action=changefilesystem</action>
1758 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1759 <action function="set">tw_action_new_file_system=f2fs</action>
1760 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1762 <action function="set">tw_text2=F2FS</action>
1763 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1764 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1765 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1766 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1767 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001768 <action function="page">confirm_action</action>
1769 </actions>
1770 </button>
1771
1772 <action>
1773 <touch key="home"/>
1774 <action function="page">main</action>
1775 </action>
1776
1777 <action>
1778 <touch key="back"/>
1779 <action function="page">partitionoptions</action>
1780 </action>
1781 </page>
1782
1783 <page name="backup_selectstorage">
1784 <template name="page"/>
1785
1786 <template name="statusbar"/>
1787
1788 <text style="text_m">
1789 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <partitionlist style="partitionlist_headerless_rb">
1794 <data name="tw_storage_path"/>
1795 <listtype name="storage"/>
1796 </partitionlist>
1797
1798 <button>
1799 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1800 <highlight color="%highlight_color%"/>
1801 <image resource="q_btn_refresh"/>
1802 <actions>
1803 <action function="refreshsizes"/>
1804 <action function="page">backup_selectstorage</action>
1805 </actions>
1806 </button>
1807
1808 <button>
1809 <condition var1="tw_back" var2="backup_confirm"/>
1810 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1811 <highlight color="%highlight_color%"/>
1812 <image resource="q_btn_accept"/>
1813 <action function="page">backup_confirm</action>
1814 </button>
1815
1816 <button>
1817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1818 <highlight color="%highlight_color%"/>
1819 <image resource="q_btn_arrow_right"/>
1820 <actions>
1821 <action function="set">tw_back=backup_selectstorage</action>
1822 <action function="page">backup_selectpartitions</action>
1823 </actions>
1824 </button>
1825
1826 <action>
1827 <touch key="home"/>
1828 <action function="page">main</action>
1829 </action>
1830
1831 <action>
1832 <touch key="back"/>
1833 <action function="page">%tw_back%</action>
1834 </action>
1835
1836 <action>
1837 <touch key="power+voldown"/>
1838 <action function="screenshot"/>
1839 </action>
1840 </page>
1841
1842 <page name="backup_selectpartitions">
1843 <template name="page"/>
1844
1845 <template name="statusbar"/>
1846
1847 <text style="text_m">
1848 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001850 </text>
1851
1852 <partitionlist style="partitionlist_headerless_cb">
1853 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1854 <data name="tw_backup_list"/>
1855 <listtype name="backup"/>
1856 </partitionlist>
1857
1858 <fill color="%accent_color%">
1859 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1860 </fill>
1861
1862 <button>
1863 <placement x="%col1_x_left%" y="%row11_y%"/>
1864 <highlight color="%highlight_color%"/>
1865 <image resource="q_btn_arrow_left"/>
1866 <action function="page">backup_selectstorage</action>
1867 </button>
1868
1869 <button>
1870 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1871 <highlight color="%highlight_color%"/>
1872 <image resource="q_btn_refresh"/>
1873 <action function="page">backup_selectpartitions</action>
1874 </button>
1875
1876 <button>
1877 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1878 <highlight color="%highlight_color%"/>
1879 <image resource="q_btn_accept"/>
1880 <action function="page">backup_confirm</action>
1881 </button>
1882
1883 <button>
1884 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1885 <highlight color="%highlight_color%"/>
1886 <image resource="q_btn_arrow_right"/>
1887 <actions>
1888 <action function="set">tw_back=backup_selectpartitions</action>
1889 <action function="page">backup_options</action>
1890 </actions>
1891 </button>
1892
1893 <action>
1894 <touch key="home"/>
1895 <action function="page">main</action>
1896 </action>
1897
1898 <action>
1899 <touch key="back"/>
1900 <action function="page">%tw_back%</action>
1901 </action>
1902
1903 <action>
1904 <touch key="power+voldown"/>
1905 <action function="screenshot"/>
1906 </action>
1907 </page>
1908
1909 <page name="backup_options">
1910 <template name="page"/>
1911
1912 <template name="statusbar"/>
1913
1914 <text style="text_m">
1915 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001916 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001917 </text>
1918
1919 <listbox style="scrolllist">
1920 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001921 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001922 <data variable="tw_use_compression"/>
1923 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001924 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001925 <data variable="tw_skip_md5_generate"/>
1926 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01001928 <data variable="tw_disable_free_space"/>
1929 </listitem>
1930 </listbox>
1931
1932 <button>
1933 <placement x="%col1_x_left%" y="%row11_y%"/>
1934 <highlight color="%highlight_color%"/>
1935 <image resource="q_btn_arrow_left"/>
1936 <action function="page">backup_selectpartitions</action>
1937 </button>
1938
1939 <button>
1940 <conditions>
1941 <condition var1="tw_include_encrypted_backup" var2="1"/>
1942 <condition var1="tw_encrypt_backup" var2="0"/>
1943 </conditions>
1944 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1945 <highlight color="%highlight_color%"/>
1946 <image resource="q_btn_encryption_dis"/>
1947 <actions>
1948 <action function="set">tw_password_not_match=0</action>
1949 <action function="set">tw_back=backup_options</action>
1950 <action function="page">backupencryption</action>
1951 </actions>
1952 </button>
1953
1954 <button>
1955 <conditions>
1956 <condition var1="tw_include_encrypted_backup" var2="1"/>
1957 <condition var1="tw_encrypt_backup" var2="1"/>
1958 </conditions>
1959 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1960 <highlight color="%highlight_color%"/>
1961 <image resource="q_btn_encryption_en"/>
1962 <actions>
1963 <action function="set">tw_password_not_match=0</action>
1964 <action function="set">tw_back=backup_options</action>
1965 <action function="page">backupencryption</action>
1966 </actions>
1967 </button>
1968
1969 <button>
1970 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1971 <highlight color="%highlight_color%"/>
1972 <image resource="q_btn_accept_transp"/>
1973 <actions>
1974 <action function="set">tw_back=backup_options</action>
1975 <action function="page">backup_confirm</action>
1976 </actions>
1977 </button>
1978
1979 <action>
1980 <touch key="home"/>
1981 <action function="page">main</action>
1982 </action>
1983
1984 <action>
1985 <touch key="back"/>
1986 <action function="page">%tw_back%</action>
1987 </action>
1988
1989 <action>
1990 <touch key="power+voldown"/>
1991 <action function="screenshot"/>
1992 </action>
1993 </page>
1994
1995 <page name="backup_confirm">
1996 <template name="page"/>
1997
1998 <template name="statusbar"/>
1999
2000 <text style="text_m">
2001 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup{</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 </text>
2004
2005 <text style="text_m_accent">
2006 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </text>
2009
2010 <text style="text_m">
2011 <placement x="%col1_x_left%" y="%row2_y%"/>
2012 <text>%tw_backup_name%</text>
2013 </text>
2014
2015 <fill color="%accent_color%">
2016 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2017 </fill>
2018
2019 <button>
2020 <fill color="%transparent%"/>
2021 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2022 <actions>
2023 <action function="set">tw_back=backup_confirm</action>
2024 <action function="set">tw_fileexists=0</action>
2025 <action function="page">backup_name1</action>
2026 </actions>
2027 </button>
2028
2029 <fill color="%background_color%">
2030 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2031 </fill>
2032
2033 <text style="text_m_accent">
2034 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 </text>
2037
2038 <partitionlist style="partitionlist_summary">
2039 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2040 <data name="tw_backup_list"/>
2041 <listtype name="backup"/>
2042 </partitionlist>
2043
2044 <button>
2045 <fill color="%transparent%"/>
2046 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2047 <actions>
2048 <action function="set">tw_back=backup_confirm</action>
2049 <action function="page">backup_selectpartitions</action>
2050 </actions>
2051 </button>
2052
2053 <text style="text_m_accent">
2054 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002055 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002056 </text>
2057
2058 <text style="text_m">
2059 <placement x="%col1_x_right%" y="%row2_y%"/>
2060 <text>%tw_storage_display_name%</text>
2061 </text>
2062
2063 <button>
2064 <fill color="%transparent%"/>
2065 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2066 <actions>
2067 <action function="set">tw_back=backup_confirm</action>
2068 <action function="page">backup_selectstorage</action>
2069 </actions>
2070 </button>
2071
2072 <text style="text_m_accent">
2073 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002074 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002075 </text>
2076
2077 <text style="text_m">
2078 <conditions>
2079 <condition var1="tw_include_encrypted_backup" var2="1"/>
2080 <condition var1="tw_encrypt_backup" var2="0"/>
2081 </conditions>
2082 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <conditions>
2088 <condition var1="tw_include_encrypted_backup" var2="1"/>
2089 <condition var1="tw_encrypt_backup" var2="1"/>
2090 </conditions>
2091 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <button>
2096 <fill color="%transparent%"/>
2097 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2098 <actions>
2099 <action function="set">tw_back=backup_confirm</action>
2100 <action function="page">backupencryption</action>
2101 </actions>
2102 </button>
2103
2104 <listbox style="listbox_options">
2105 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002107 <data variable="tw_use_compression"/>
2108 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002109 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002110 <data variable="tw_skip_md5_generate"/>
2111 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002112 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01002113 <data variable="tw_disable_free_space"/>
2114 </listitem>
2115 </listbox>
2116
2117 <text style="text_m_accent">
2118 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002119 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002120 </text>
2121
2122 <button>
2123 <fill color="%transparent%"/>
2124 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2125 <actions>
2126 <action function="set">tw_back=backup_confirm</action>
2127 <action function="page">backup_options</action>
2128 </actions>
2129 </button>
2130
2131 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002132 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002133 <action function="page">backup_run</action>
2134 </slider>
2135
2136 <action>
2137 <touch key="home"/>
2138 <action function="page">main</action>
2139 </action>
2140
2141 <action>
2142 <touch key="back"/>
2143 <action function="page">backup_selectstorage</action>
2144 </action>
2145 </page>
2146
2147 <page name="backup_name1">
2148 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002149 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002150 <action function="generatebackupname"/>
2151 </action>
2152
2153 <action>
2154 <action function="page">backup_name2</action>
2155 </action>
2156 </page>
2157
2158 <page name="backup_name2">
2159 <template name="page"/>
2160
2161 <template name="statusbar"/>
2162
2163 <text style="text_m">
2164 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </text>
2167
2168 <text style="text_m_accent">
2169 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002170 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002171 </text>
2172
2173 <input>
2174 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2175 <text>%tw_backup_name%</text>
2176 <data name="tw_backup_name"/>
2177 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2178 <actions>
2179 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2180 <action function="set">tw_existpage=backup_name2</action>
2181 <action function="set">tw_notexistpage=backup_confirm</action>
2182 <action function="page">filecheck</action>
2183 </actions>
2184 </input>
2185
2186 <fill color="%accent_color%">
2187 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2188 </fill>
2189
2190 <fill color="%text_fail_color%">
2191 <condition var1="tw_fileexists" var2="1"/>
2192 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2193 </fill>
2194
2195 <text style="text_m_fail">
2196 <condition var1="tw_fileexists" var2="1"/>
2197 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <button style="main_button_half_height">
2202 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002205 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002206 <action function="page">backup_confirm</action>
2207 </actions>
2208 </button>
2209
2210 <button style="main_button_half_height">
2211 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 <action function="appenddatetobackupname"/>
2214 </button>
2215
2216 <template name="keyboardtemplate"/>
2217
2218 <action>
2219 <touch key="home"/>
2220 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002222 <action function="page">main</action>
2223 </actions>
2224 </action>
2225
2226 <action>
2227 <touch key="back"/>
2228 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002230 <action function="page">backup_confirm</action>
2231 </actions>
2232 </action>
2233 </page>
2234
2235 <page name="backupencryption">
2236 <template name="page"/>
2237
2238 <template name="statusbar"/>
2239
2240 <text style="text_m">
2241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 </text>
2244
2245 <text style="text_m_accent">
2246 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002248 </text>
2249
2250 <input>
2251 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2252 <text>%tw_backup_encrypt_display%</text>
2253 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2254 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2255 <action function="page">backupencryption2</action>
2256 </input>
2257
2258 <fill color="%accent_color%">
2259 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2260 </fill>
2261
2262 <fill color="%text_fail_color%">
2263 <condition var1="tw_password_not_match" var2="1"/>
2264 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2265 </fill>
2266
2267 <text style="text_m_fail">
2268 <condition var1="tw_password_not_match" var2="1"/>
2269 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <button style="main_button_half_height">
2274 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <actions>
2277 <action function="set">tw_encrypt_backup=0</action>
2278 <action function="set">tw_backup_password=</action>
2279 <action function="set">tw_backup_password2=</action>
2280 <action function="set">tw_backup_encrypt_display=</action>
2281 <action function="set">tw_backup_encrypt_display2=</action>
2282 <action function="page">%tw_back%</action>
2283 </actions>
2284 </button>
2285
2286 <template name="keyboardtemplate"/>
2287
2288 <action>
2289 <touch key="home"/>
2290 <action function="page">main</action>
2291 </action>
2292
2293 <action>
2294 <touch key="back"/>
2295 <action function="page">%tw_back%</action>
2296 </action>
2297 </page>
2298
2299 <page name="backupencryption2">
2300 <template name="page"/>
2301
2302 <template name="statusbar"/>
2303
2304 <text style="text_m">
2305 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m_accent">
2310 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 </text>
2313
2314 <input>
2315 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2316 <text>%tw_backup_encrypt_display2%</text>
2317 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2318 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2319 <action function="page">checkbackuppassword</action>
2320 </input>
2321
2322 <fill color="%accent_color%">
2323 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2324 </fill>
2325
2326 <button style="main_button_half_height">
2327 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002328 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002329 <actions>
2330 <action function="set">tw_encrypt_backup=0</action>
2331 <action function="set">tw_backup_password=</action>
2332 <action function="set">tw_backup_password2=</action>
2333 <action function="set">tw_backup_encrypt_display=</action>
2334 <action function="set">tw_backup_encrypt_display2=</action>
2335 <action function="page">%tw_back%</action>
2336 </actions>
2337 </button>
2338
2339 <template name="keyboardtemplate"/>
2340
2341 <action>
2342 <touch key="home"/>
2343 <action function="page">main</action>
2344 </action>
2345
2346 <action>
2347 <touch key="back"/>
2348 <action function="page">%tw_back%</action>
2349 </action>
2350 </page>
2351
2352 <page name="checkbackuppassword">
2353 <action>
2354 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2355 <actions>
2356 <action function="set">tw_encrypt_backup=1</action>
2357 <action function="page">%tw_back%</action>
2358 </actions>
2359 </action>
2360
2361 <action>
2362 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2363 <actions>
2364 <action function="set">tw_encrypt_backup=0</action>
2365 <action function="set">tw_password_not_match=1</action>
2366 <action function="set">tw_backup_password=</action>
2367 <action function="set">tw_backup_password2=</action>
2368 <action function="set">tw_backup_encrypt_display=</action>
2369 <action function="set">tw_backup_encrypt_display2=</action>
2370 <action function="page">backupencryption</action>
2371 </actions>
2372 </action>
2373 </page>
2374
2375 <page name="backup_run">
2376 <template name="page"/>
2377
2378 <template name="statusbar"/>
2379
2380 <text style="text_m">
2381 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2382 <text>%tw_operation% %tw_partition%</text>
2383 </text>
2384
2385 <template name="console"/>
2386
2387 <template name="progress_bar"/>
2388
2389 <text style="text_m">
2390 <placement x="%indent%" y="%row13a_y%"/>
2391 <text>%tw_file_progress%</text>
2392 </text>
2393
2394 <text style="text_m">
2395 <placement x="%indent%" y="%row14a_y%"/>
2396 <text>%tw_size_progress%</text>
2397 </text>
2398
2399 <button style="main_button_half_height">
2400 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 <action function="cancelbackup"/>
2403 </button>
2404
2405 <action>
2406 <action function="nandroid">backup</action>
2407 </action>
2408
2409 <action>
2410 <condition var1="tw_operation_state" var2="1"/>
2411 <condition var1="tw_cancel_backup" var2="0"/>
2412 <actions>
2413 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002415 <action function="set">tw_show_reboot=1</action>
2416 <action function="page">action_complete</action>
2417 </actions>
2418 </action>
2419
2420 <action>
2421 <condition var1="tw_operation_state" var2="1"/>
2422 <condition var1="tw_cancel_backup" var2="1"/>
2423 <actions>
2424 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <action function="set">tw_show_reboot=1</action>
2427 <action function="page">action_complete</action>
2428 </actions>
2429 </action>
2430 </page>
2431
2432 <page name="restore">
2433 <template name="page"/>
2434
2435 <template name="statusbar"/>
2436
2437 <text style="text_m">
2438 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <fileselector>
2443 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2444 <text>%tw_storage_display_name%</text>
2445 <filter folders="1" files="0" nav="0"/>
2446 <path name="tw_backups_folder"/>
2447 <data name="tw_restore" default=""/>
2448 <selection name="tw_restore_name"/>
2449 </fileselector>
2450
2451 <button>
2452 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2453 <highlight color="%highlight_color%"/>
2454 <image resource="q_btn_storage"/>
2455 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002457 <action function="set">tw_back=restore</action>
2458 <action function="page">select_storage</action>
2459 </actions>
2460 </button>
2461
2462 <action>
2463 <condition var1="tw_restore" op="modified"/>
2464 <actions>
2465 <action function="readBackup"/>
2466 <action function="set">tw_back=restore</action>
2467 <action function="page">restore_read</action>
2468 </actions>
2469 </action>
2470
2471 <action>
2472 <touch key="home"/>
2473 <action function="page">main</action>
2474 </action>
2475
2476 <action>
2477 <touch key="back"/>
2478 <action function="page">main</action>
2479 </action>
2480 </page>
2481
2482 <page name="restore_read">
2483 <action>
2484 <condition var1="tw_restore_encrypted" var2="1"/>
2485 <actions>
2486 <action function="set">tw_password_fail=0</action>
2487 <action function="page">restore_decrypt</action>
2488 </actions>
2489 </action>
2490
2491 <action>
2492 <condition var1="tw_restore_encrypted" var2="0"/>
2493 <actions>
2494 <action function="page">restore_select</action>
2495 </actions>
2496 </action>
2497 </page>
2498
2499 <page name="restore_decrypt">
2500 <template name="page"/>
2501
2502 <template name="statusbar"/>
2503
2504 <text style="text_m">
2505 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002506 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <text style="text_m_accent">
2510 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002511 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002512 </text>
2513
2514 <input>
2515 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2516 <text>%tw_restore_display%</text>
2517 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2518 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2519 <action function="page">try_restore_decrypt</action>
2520 </input>
2521
2522 <fill color="%accent_color%">
2523 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2524 </fill>
2525
2526 <fill color="%text_fail_color%">
2527 <condition var1="tw_password_fail" var2="1"/>
2528 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2529 </fill>
2530
2531 <text style="text_m_fail">
2532 <condition var1="tw_password_fail" var2="1"/>
2533 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <button style="main_button_half_height">
2538 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <actions>
2541 <action function="set">tw_page_done=1</action>
2542 <action function="page">restore</action>
2543 </actions>
2544 </button>
2545
2546 <button style="main_button_half_height">
2547 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <actions>
2550 <action function="set">tw_back=restore</action>
2551 <action function="set">tw_action=cmd</action>
2552 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002553 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2554 <action function="set">tw_text2=%tw_restore_name%</action>
2555 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2556 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2557 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2558 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <action function="page">confirm_action</action>
2560 </actions>
2561 </button>
2562
2563 <template name="keyboardtemplate"/>
2564
2565 <action>
2566 <touch key="home"/>
2567 <action function="page">main</action>
2568 </action>
2569
2570 <action>
2571 <touch key="back"/>
2572 <action function="page">restore</action>
2573 </action>
2574 </page>
2575
2576 <page name="try_restore_decrypt">
2577 <template name="page"/>
2578
2579 <template name="statusbar"/>
2580
2581 <text style="text_m">
2582 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002583 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002584 </text>
2585
2586 <template name="console"/>
2587
2588 <template name="progress_bar"/>
2589
2590 <action>
2591 <action function="decrypt_backup"/>
2592 </action>
2593
2594 <action>
2595 <conditions>
2596 <condition var1="tw_operation_state" var2="1"/>
2597 <condition var1="tw_operation_status" op="!=" var2="0"/>
2598 </conditions>
2599 <actions>
2600 <action function="set">tw_password_fail=1</action>
2601 <action function="page">restore_decrypt</action>
2602 </actions>
2603 </action>
2604
2605 <action>
2606 <conditions>
2607 <condition var1="tw_operation_state" var2="1"/>
2608 <condition var1="tw_operation_status" op="=" var2="0"/>
2609 </conditions>
2610 <actions>
2611 <action function="set">tw_page_done=1</action>
2612 <action function="page">restore_select</action>
2613 </actions>
2614 </action>
2615 </page>
2616
2617 <page name="restore_select">
2618 <template name="page"/>
2619
2620 <template name="statusbar"/>
2621
2622 <text style="text_m">
2623 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <partitionlist style="partitionlist_headerless_cb">
2628 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2629 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2630 <listtype name="restore"/>
2631 </partitionlist>
2632
2633 <fill color="%accent_color%">
2634 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2635 </fill>
2636
2637 <button>
2638 <placement x="%col1_x_left%" y="%row11_y%"/>
2639 <highlight color="%highlight_color%"/>
2640 <image resource="q_btn_arrow_left"/>
2641 <action function="page">restore</action>
2642 </button>
2643
2644 <button>
2645 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2646 <highlight color="%highlight_color%"/>
2647 <image resource="q_btn_delete"/>
2648 <actions>
2649 <action function="set">tw_back=restore</action>
2650 <action function="set">tw_action=cmd</action>
2651 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002652 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2655 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2656 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2657 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002658 <action function="page">confirm_action</action>
2659 </actions>
2660 </button>
2661
2662 <button>
2663 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2664 <highlight color="%highlight_color%"/>
2665 <image resource="q_btn_accept"/>
2666 <action function="page">restore_confirm</action>
2667 </button>
2668
2669 <button>
2670 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2671 <highlight color="%highlight_color%"/>
2672 <image resource="q_btn_arrow_right"/>
2673 <actions>
2674 <action function="set">tw_back=restore_select</action>
2675 <action function="page">restore_options</action>
2676 </actions>
2677 </button>
2678
2679 <action>
2680 <touch key="home"/>
2681 <action function="page">main</action>
2682 </action>
2683
2684 <action>
2685 <touch key="back"/>
2686 <action function="page">%tw_back%</action>
2687 </action>
2688 </page>
2689
2690 <page name="restore_options">
2691 <template name="page"/>
2692
2693 <template name="statusbar"/>
2694
2695 <text style="text_m">
2696 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002697 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002698 </text>
2699
2700 <listbox style="scrolllist">
2701 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002702 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_skip_md5_check"/>
2704 </listitem>
2705 </listbox>
2706
2707 <button>
2708 <placement x="%col1_x_left%" y="%row11_y%"/>
2709 <highlight color="%highlight_color%"/>
2710 <image resource="q_btn_arrow_left"/>
2711 <action function="page">restore_select</action>
2712 </button>
2713
2714 <button>
2715 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2716 <highlight color="%highlight_color%"/>
2717 <image resource="q_btn_accept_transp"/>
2718 <actions>
2719 <action function="set">tw_back=restore_options</action>
2720 <action function="page">restore_confirm</action>
2721 </actions>
2722 </button>
2723
2724 <action>
2725 <touch key="home"/>
2726 <action function="page">main</action>
2727 </action>
2728
2729 <action>
2730 <touch key="back"/>
2731 <action function="page">%tw_back%</action>
2732 </action>
2733
2734 <action>
2735 <touch key="power+voldown"/>
2736 <action function="screenshot"/>
2737 </action>
2738 </page>
2739
2740 <page name="renamebackup">
2741 <template name="page"/>
2742
2743 <template name="statusbar"/>
2744
2745 <text style="text_m">
2746 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <text style="text_m_accent">
2751 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002752 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002753 </text>
2754
2755 <input>
2756 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2757 <text>%tw_backup_rename%</text>
2758 <data name="tw_backup_rename"/>
2759 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2760 <actions>
2761 <action function="set">tw_back=restore</action>
2762 <action function="set">tw_action=cmd</action>
2763 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002764 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2765 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2766 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2767 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2768 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2770 <action function="set">tw_existpage=renamebackup</action>
2771 <action function="set">tw_notexistpage=confirm_action</action>
2772 <action function="page">filecheck</action>
2773 </actions>
2774 </input>
2775
2776 <fill color="%accent_color%">
2777 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2778 </fill>
2779
2780 <fill color="%text_fail_color%">
2781 <condition var1="tw_fileexists" var2="1"/>
2782 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2783 </fill>
2784
2785 <text style="text_m_fail">
2786 <condition var1="tw_fileexists" var2="1"/>
2787 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002788 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002789 </text>
2790
2791 <button style="main_button_half_height">
2792 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002793 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <action function="page">restore_confirm</action>
2795 </button>
2796
2797 <template name="keyboardtemplate"/>
2798
2799 <action>
2800 <touch key="home"/>
2801 <action function="page">main</action>
2802 </action>
2803
2804 <action>
2805 <touch key="back"/>
2806 <action function="page">restore_confirm</action>
2807 </action>
2808 </page>
2809
2810 <page name="restore_confirm">
2811 <template name="page"/>
2812
2813 <template name="statusbar"/>
2814
2815 <text style="text_m">
2816 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002818 </text>
2819
2820 <text style="text_m_accent">
2821 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002822 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002823 </text>
2824
2825 <text style="text_m">
2826 <placement x="%indent%" y="%row2_y%"/>
2827 <text>%tw_restore_name%</text>
2828 </text>
2829
2830 <fill color="%accent_color%">
2831 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2832 </fill>
2833
2834 <button>
2835 <fill color="%transparent%"/>
2836 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2837 <actions>
2838 <action function="set">tw_back=restore_confirm</action>
2839 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2840 <action function="set">tw_fileexists=0</action>
2841 <action function="page">renamebackup</action>
2842 </actions>
2843 </button>
2844
2845 <text style="text_m_accent">
2846 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </text>
2849
2850 <partitionlist style="partitionlist_summary">
2851 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2852 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2853 <listtype name="restore"/>
2854 </partitionlist>
2855
2856 <button>
2857 <fill color="%transparent%"/>
2858 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2859 <actions>
2860 <action function="set">tw_back=restore_confirm</action>
2861 <action function="page">restore_select</action>
2862 </actions>
2863 </button>
2864
2865 <listbox style="listbox_options">
2866 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002867 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002868 <data variable="tw_skip_md5_check"/>
2869 </listitem>
2870 </listbox>
2871
2872 <text style="text_m_accent">
2873 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <button>
2878 <fill color="%transparent%"/>
2879 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2880 <actions>
2881 <action function="set">tw_back=restore_confirm</action>
2882 <action function="page">restore_options</action>
2883 </actions>
2884 </button>
2885
2886 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002887 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002888 <action function="page">restore_run</action>
2889 </slider>
2890
2891 <action>
2892 <touch key="home"/>
2893 <action function="page">main</action>
2894 </action>
2895
2896 <action>
2897 <touch key="back"/>
2898 <action function="page">restore_options</action>
2899 </action>
2900 </page>
2901
2902 <page name="restore_run">
2903 <template name="page"/>
2904
2905 <template name="statusbar"/>
2906
2907 <text style="text_m">
2908 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2909 <text>%tw_operation% %tw_partition%</text>
2910 </text>
2911
2912 <template name="console"/>
2913
2914 <template name="progress_bar"/>
2915
2916 <text style="text_m">
2917 <placement x="%indent%" y="%row14a_y%"/>
2918 <text>%tw_size_progress%</text>
2919 </text>
2920
2921 <action>
2922 <condition var1="tw_operation_state" var2="1"/>
2923 <actions>
2924 <action function="set">tw_back=restore</action>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002925 <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002926 <action function="set">tw_show_reboot=1</action>
2927 <action function="page">action_complete</action>
2928 </actions>
2929 </action>
2930
2931 <action>
2932 <action function="nandroid">restore</action>
2933 </action>
2934 </page>
2935
2936 <page name="mount">
2937 <template name="page"/>
2938
2939 <template name="statusbar"/>
2940
2941 <text style="text_m">
2942 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 </text>
2945
2946 <partitionlist style="partitionlist_headerless_cb">
2947 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2948 <listtype name="mount"/>
2949 </partitionlist>
2950
2951 <fill color="%accent_color%">
2952 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2953 </fill>
2954
2955 <button style="checkbox">
2956 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2957 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002958 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002959 <image resource="checkbox_false"/>
2960 <action function="mountsystemtoggle">1</action>
2961 </button>
2962
2963 <button style="checkbox">
2964 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2965 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <image resource="checkbox_true"/>
2968 <actions>
2969 <action function="set">tw_lifetime_writes=2</action>
2970 <action function="page">system_readonly_check</action>
2971 </actions>
2972 </button>
2973
2974 <button style="checkbox">
2975 <conditions>
2976 <condition var1="tw_has_mtp" var2="1"/>
2977 <condition var1="tw_mtp_enabled" var2="0"/>
2978 </conditions>
2979 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2980 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 <action function="startmtp"/>
2983 </button>
2984
2985 <button style="checkbox">
2986 <conditions>
2987 <condition var1="tw_has_mtp" var2="1"/>
2988 <condition var1="tw_mtp_enabled" var2="1"/>
2989 </conditions>
2990 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2991 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002992 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002993 <action function="stopmtp"/>
2994 </button>
2995
2996 <button>
2997 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2998 <highlight color="%highlight_color%"/>
2999 <image resource="q_btn_storage"/>
3000 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <action function="set">tw_back=mount</action>
3003 <action function="page">select_storage</action>
3004 </actions>
3005 </button>
3006
3007 <button>
3008 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3009 <highlight color="%highlight_color%"/>
3010 <image resource="q_btn_arrow_right"/>
3011 <action function="page">mount_options</action>
3012 </button>
3013
3014 <action>
3015 <touch key="home"/>
3016 <action function="page">main</action>
3017 </action>
3018
3019 <action>
3020 <touch key="back"/>
3021 <action function="page">main</action>
3022 </action>
3023 </page>
3024
3025 <page name="mount_options">
3026 <template name="page"/>
3027
3028 <template name="statusbar"/>
3029
3030 <text style="text_m">
3031 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 </text>
3034
3035 <button style="main_button_full_width">
3036 <condition var1="tw_has_usb_storage" var2="1"/>
3037 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <action function="page">usb_mount</action>
3040 </button>
3041
3042 <button style="main_button_full_width">
3043 <conditions>
3044 <condition var1="tw_is_encrypted" var2="1"/>
3045 <condition var1="tw_is_decrypted" var2="0"/>
3046 </conditions>
3047 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <action function="page">decrypt</action>
3050 </button>
3051
3052 <button>
3053 <placement x="%col1_x_left%" y="%row11_y%"/>
3054 <highlight color="%highlight_color%"/>
3055 <image resource="q_btn_arrow_left"/>
3056 <action function="page">mount</action>
3057 </button>
3058
3059 <action>
3060 <touch key="home"/>
3061 <action function="page">main</action>
3062 </action>
3063
3064 <action>
3065 <touch key="back"/>
3066 <action function="page">mount</action>
3067 </action>
3068 </page>
3069
3070 <page name="usb_mount">
3071 <template name="page"/>
3072
3073 <template name="statusbar"/>
3074
3075 <text style="text_m">
3076 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@mount_hdr=Mount} &gt; {usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 </text>
3079
3080 <text style="text_m_accent">
3081 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003083 </text>
3084
3085 <text style="text_m_fail">
3086 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003087 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003088 </text>
3089
3090 <text style="text_m_fail">
3091 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 </text>
3094
3095 <button style="main_button">
3096 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <action function="page">usb_umount</action>
3099 </button>
3100
3101 <action>
3102 <action function="mount">usb</action>
3103 <action function="set">tw_busy=1</action>
3104 </action>
3105 </page>
3106
3107 <page name="usb_umount">
3108 <action>
3109 <action function="unmount">usb</action>
3110 </action>
3111
3112 <action>
3113 <action function="page">mount_options</action>
3114 <action function="set">tw_busy=0</action>
3115 </action>
3116 </page>
3117
3118 <page name="system_readonly_check">
3119 <action>
3120 <action function="checkpartitionlifetimewrites">/system</action>
3121 </action>
3122
3123 <action>
3124 <condition var1="tw_lifetime_writes" var2="1"/>
3125 <actions>
3126 <action function="mountsystemtoggle">0</action>
3127 <action function="page">mount</action>
3128 </actions>
3129 </action>
3130
3131 <action>
3132 <condition var1="tw_lifetime_writes" var2="0"/>
3133 <actions>
3134 <action function="set">tw_back=mount</action>
3135 <action function="page">system_readonly</action>
3136 </actions>
3137 </action>
3138 </page>
3139
3140 <page name="reboot">
3141 <template name="page"/>
3142
3143 <template name="statusbar"/>
3144
3145 <text style="text_m">
3146 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 </text>
3149
3150 <button style="main_button">
3151 <condition var1="tw_reboot_system" var2="1"/>
3152 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 <actions>
3155 <action function="set">tw_back=reboot</action>
3156 <action function="set">tw_action=reboot</action>
3157 <action function="set">tw_action_param=system</action>
3158 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3160 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3161 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3162 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3163 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="page">rebootcheck</action>
3165 </actions>
3166 </button>
3167
3168 <button style="main_button">
3169 <condition var1="tw_reboot_poweroff" var2="1"/>
3170 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <actions>
3173 <action function="set">tw_back=reboot</action>
3174 <action function="set">tw_action=reboot</action>
3175 <action function="set">tw_action_param=poweroff</action>
3176 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3178 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3179 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3180 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3181 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <action function="page">rebootcheck</action>
3183 </actions>
3184 </button>
3185
3186 <button style="main_button">
3187 <condition var1="tw_reboot_recovery" var2="1"/>
3188 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <actions>
3191 <action function="set">tw_back=reboot</action>
3192 <action function="set">tw_action=reboot</action>
3193 <action function="set">tw_action_param=recovery</action>
3194 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3196 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3197 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3198 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3199 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="page">rebootcheck</action>
3201 </actions>
3202 </button>
3203
3204 <button style="main_button">
3205 <condition var1="tw_reboot_bootloader" var2="1"/>
3206 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <actions>
3209 <action function="set">tw_back=reboot</action>
3210 <action function="set">tw_action=reboot</action>
3211 <action function="set">tw_action_param=bootloader</action>
3212 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3214 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3215 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3216 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3217 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003218 <action function="page">rebootcheck</action>
3219 </actions>
3220 </button>
3221
3222 <button style="main_button">
3223 <condition var1="tw_download_mode" var2="1"/>
3224 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <actions>
3227 <action function="set">tw_back=reboot</action>
3228 <action function="set">tw_action=reboot</action>
3229 <action function="set">tw_action_param=download</action>
3230 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3232 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3233 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3234 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3235 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="page">rebootcheck</action>
3237 </actions>
3238 </button>
3239
3240 <action>
3241 <touch key="home"/>
3242 <action function="page">main</action>
3243 </action>
3244
3245 <action>
3246 <touch key="back"/>
3247 <action function="page">main</action>
3248 </action>
3249 </page>
3250
3251 <page name="system_readonly">
3252 <template name="page"/>
3253
3254 <template name="statusbar"/>
3255
3256 <text style="text_m">
3257 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003258 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003259 </text>
3260
3261 <text style="text_m_accent">
3262 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003263 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003264 </text>
3265
3266 <text style="text_m">
3267 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </text>
3270
3271 <text style="text_m">
3272 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 </text>
3275
3276 <text style="text_m">
3277 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003278 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003279 </text>
3280
3281 <text style="text_m">
3282 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </text>
3285
3286 <text style="text_m_fail">
3287 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m_fail">
3292 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <checkbox>
3297 <condition var1="tw_is_encrypted" var2="0"/>
3298 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003299 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003300 <data variable="tw_never_show_system_ro_page"/>
3301 </checkbox>
3302
3303 <button style="main_button_half_height">
3304 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <actions>
3307 <action function="mountsystemtoggle">1</action>
3308 <action function="set">tw_page_done=1</action>
3309 <action function="page">%tw_back%</action>
3310 </actions>
3311 </button>
3312
3313 <button style="main_button_half_height">
3314 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 <actions>
3317 <action function="mountsystemtoggle">0</action>
3318 <action function="set">tw_page_done=1</action>
3319 <action function="page">%tw_back%</action>
3320 </actions>
3321 </button>
3322 </page>
3323
3324 <page name="settings">
3325 <template name="page"/>
3326
3327 <template name="statusbar"/>
3328
3329 <text style="text_m">
3330 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <button style="main_button">
3335 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="page">settings_general</action>
3338 </button>
3339
3340 <button style="main_button">
3341 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <action function="page">settings_timezone</action>
3344 </button>
3345
3346 <button style="main_button">
3347 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <action function="page">settings_screen</action>
3350 </button>
3351
3352 <button style="main_button">
3353 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 <action function="page">settings_vibration</action>
3356 </button>
3357
3358 <button style="main_button">
3359 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <action function="page">settings_language</action>
3362 </button>
3363
3364 <button>
3365 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3366 <highlight color="%highlight_color%"/>
3367 <image resource="q_btn_reset"/>
3368 <action function="restoredefaultsettings"/>
3369 </button>
3370
3371 <action>
3372 <touch key="home"/>
3373 <action function="page">main</action>
3374 </action>
3375
3376 <action>
3377 <touch key="back"/>
3378 <action function="page">main3</action>
3379 </action>
3380 </page>
3381
3382 <page name="settings_general">
3383 <template name="page"/>
3384
3385 <template name="statusbar"/>
3386
3387 <text style="text_m">
3388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003390 </text>
3391
3392 <listbox style="scrolllist">
3393 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003395 <data variable="tw_signed_zip_verify"/>
3396 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003398 <data variable="tw_rm_rf"/>
3399 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003401 <data variable="tw_skip_md5_generate"/>
3402 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003403 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003404 <data variable="tw_skip_md5_check"/>
3405 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003407 <data variable="tw_military_time"/>
3408 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003410 <data variable="tw_simulate_actions"/>
3411 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003412 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003413 <data variable="tw_simulate_fail"/>
3414 <condition var1="tw_simulate_actions" var2="1"/>
3415 </listitem>
3416 </listbox>
3417
3418 <action>
3419 <touch key="home"/>
3420 <action function="page">main</action>
3421 </action>
3422
3423 <action>
3424 <touch key="back"/>
3425 <action function="page">settings</action>
3426 </action>
3427 </page>
3428
3429 <page name="settings_timezone">
3430 <template name="page"/>
3431
3432 <template name="statusbar"/>
3433
3434 <text style="text_m">
3435 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 </text>
3438
3439 <text color="%text_color%">
3440 <font resource="font_m"/>
3441 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3442 <text>%tw_time%</text>
3443 </text>
3444
3445 <listbox style="listbox_headerless">
3446 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3447 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3449 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3450 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3451 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3452 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3453 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3454 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3455 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3456 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3457 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3458 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3459 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3460 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3461 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3462 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3463 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3464 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3465 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3466 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3467 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3468 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3469 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3470 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3471 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003472 </listbox>
3473
3474 <button>
3475 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3476 <highlight color="%highlight_color%"/>
3477 <image resource="q_btn_arrow_right"/>
3478 <actions>
3479 <action function="setguitimezone"/>
3480 <action function="page">settings_timezone2</action>
3481 </actions>
3482 </button>
3483
3484 <action>
3485 <condition var1="tw_time_zone_guisel" op="modified"/>
3486 <action function="setguitimezone"/>
3487 </action>
3488
3489 <action>
3490 <touch key="home"/>
3491 <actions>
3492 <action function="page">main</action>
3493 <action function="setguitimezone"/>
3494 </actions>
3495 </action>
3496
3497 <action>
3498 <touch key="back"/>
3499 <actions>
3500 <action function="page">settings</action>
3501 <action function="setguitimezone"/>
3502 </actions>
3503 </action>
3504
3505 <action>
3506 <touch key="power+voldown"/>
3507 <action function="screenshot"/>
3508 </action>
3509 </page>
3510
3511 <page name="settings_timezone2">
3512 <template name="page"/>
3513
3514 <template name="statusbar"/>
3515
3516 <text style="text_m">
3517 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </text>
3520
3521 <text color="%text_color%">
3522 <font resource="font_m"/>
3523 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3524 <text>%tw_time%</text>
3525 </text>
3526
3527 <checkbox>
3528 <placement x="%col1_x_left%" y="%row1_y%"/>
3529 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003531 <data variable="tw_time_zone_guidst"/>
3532 <image checked="checkbox_true" unchecked="checkbox_false"/>
3533 </checkbox>
3534
3535 <text style="text_m_accent">
3536 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 </text>
3539
3540 <button style="main_button_quarter_width">
3541 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <actions>
3544 <action function="set">tw_time_zone_guioffset=0</action>
3545 <action function="setguitimezone"/>
3546 </actions>
3547 </button>
3548
3549 <button style="main_button_quarter_width">
3550 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <actions>
3553 <action function="set">tw_time_zone_guioffset=15</action>
3554 <action function="setguitimezone"/>
3555 </actions>
3556 </button>
3557
3558 <button style="main_button_quarter_width">
3559 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003561 <actions>
3562 <action function="set">tw_time_zone_guioffset=30</action>
3563 <action function="setguitimezone"/>
3564 </actions>
3565 </button>
3566
3567 <button style="main_button_quarter_width">
3568 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003570 <actions>
3571 <action function="set">tw_time_zone_guioffset=45</action>
3572 <action function="setguitimezone"/>
3573 </actions>
3574 </button>
3575
3576 <button>
3577 <placement x="%col1_x_left%" y="%row11_y%"/>
3578 <highlight color="%highlight_color%"/>
3579 <image resource="q_btn_arrow_left"/>
3580 <actions>
3581 <action function="setguitimezone"/>
3582 <action function="page">settings_timezone</action>
3583 </actions>
3584 </button>
3585
3586 <text style="text_m_accent">
3587 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </text>
3590
3591 <text style="text_m">
3592 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3593 <text>%tw_time_zone%</text>
3594 </text>
3595
3596 <action>
3597 <condition var1="tw_time_zone_guidst" op="modified"/>
3598 <action function="setguitimezone"/>
3599 </action>
3600
3601 <action>
3602 <touch key="home"/>
3603 <actions>
3604 <action function="setguitimezone"/>
3605 <action function="page">main</action>
3606 </actions>
3607 </action>
3608
3609 <action>
3610 <touch key="back"/>
3611 <actions>
3612 <action function="setguitimezone"/>
3613 <action function="page">settings_timezone</action>
3614 </actions>
3615 </action>
3616 </page>
3617
3618 <page name="settings_screen">
3619 <template name="page"/>
3620
3621 <template name="statusbar"/>
3622
3623 <text style="text_m">
3624 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003626 </text>
3627
3628 <button style="checkbox">
3629 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3630 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3631 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003633 <image resource="checkbox_false"/>
3634 <action function="set">tw_screen_timeout_secs=60</action>
3635 </button>
3636
3637 <button style="checkbox">
3638 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3639 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3640 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003642 <image resource="checkbox_true"/>
3643 <action function="set">tw_screen_timeout_secs=0</action>
3644 </button>
3645
3646 <slidervalue>
3647 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3648 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3651 </slidervalue>
3652
3653 <text style="text_m_fail">
3654 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3655 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 </text>
3658
3659 <button>
3660 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3661 <highlight color="%highlight_color%"/>
3662 <image resource="q_btn_arrow_right"/>
3663 <action function="page">settings_screen2</action>
3664 </button>
3665
3666 <action>
3667 <touch key="home"/>
3668 <action function="page">main</action>
3669 </action>
3670
3671 <action>
3672 <touch key="back"/>
3673 <action function="page">settings</action>
3674 </action>
3675 </page>
3676
3677 <page name="settings_screen2">
3678 <template name="page"/>
3679
3680 <template name="statusbar"/>
3681
3682 <text style="text_m">
3683 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 </text>
3686
3687 <slidervalue>
3688 <condition var1="tw_has_brightnesss_file" var2="1"/>
3689 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 <data variable="tw_brightness_pct" min="10" max="100"/>
3692 <actions>
3693 <action function="set">tw_brightness=%tw_brightness_max%</action>
3694 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3695 <action function="compute">tw_brightness/100</action>
3696 <action function="setbrightness">%tw_brightness%</action>
3697 </actions>
3698 </slidervalue>
3699
3700 <text style="text_m_fail">
3701 <condition var1="tw_has_brightnesss_file" var2="0"/>
3702 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </text>
3705
3706 <button>
3707 <placement x="%col1_x_left%" y="%row11_y%"/>
3708 <highlight color="%highlight_color%"/>
3709 <image resource="q_btn_arrow_left"/>
3710 <action function="page">settings_screen</action>
3711 </button>
3712
3713 <action>
3714 <touch key="home"/>
3715 <action function="page">main</action>
3716 </action>
3717
3718 <action>
3719 <touch key="back"/>
3720 <action function="page">settings</action>
3721 </action>
3722 </page>
3723
3724 <page name="settings_vibration">
3725 <template name="page"/>
3726
3727 <template name="statusbar"/>
3728
3729 <text style="text_m">
3730 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003732 </text>
3733
3734 <slidervalue>
3735 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003737 <data variable="tw_button_vibrate" min="0" max="300"/>
3738 </slidervalue>
3739
3740 <button>
3741 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3742 <highlight color="%highlight_color%"/>
3743 <image resource="q_btn_arrow_right"/>
3744 <action function="page">settings_vibration2</action>
3745 </button>
3746
3747 <action>
3748 <touch key="home"/>
3749 <action function="page">main</action>
3750 </action>
3751
3752 <action>
3753 <touch key="back"/>
3754 <action function="page">settings</action>
3755 </action>
3756 </page>
3757
3758 <page name="settings_vibration2">
3759 <template name="page"/>
3760
3761 <template name="statusbar"/>
3762
3763 <text style="text_m">
3764 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 </text>
3767
3768 <slidervalue>
3769 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003770 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003771 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3772 </slidervalue>
3773
3774 <button>
3775 <placement x="%col1_x_left%" y="%row11_y%"/>
3776 <highlight color="%highlight_color%"/>
3777 <image resource="q_btn_arrow_left"/>
3778 <action function="page">settings_vibration</action>
3779 </button>
3780
3781 <button>
3782 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3783 <highlight color="%highlight_color%"/>
3784 <image resource="q_btn_arrow_right"/>
3785 <action function="page">settings_vibration3</action>
3786 </button>
3787
3788 <action>
3789 <touch key="home"/>
3790 <action function="page">main</action>
3791 </action>
3792
3793 <action>
3794 <touch key="back"/>
3795 <action function="page">settings</action>
3796 </action>
3797 </page>
3798
3799 <page name="settings_vibration3">
3800 <template name="page"/>
3801
3802 <template name="statusbar"/>
3803
3804 <text style="text_m">
3805 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003807 </text>
3808
3809 <slidervalue>
3810 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003811 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003812 <data variable="tw_action_vibrate" min="0" max="500"/>
3813 </slidervalue>
3814
3815 <button>
3816 <placement x="%col1_x_left%" y="%row11_y%"/>
3817 <highlight color="%highlight_color%"/>
3818 <image resource="q_btn_arrow_left"/>
3819 <action function="page">settings_vibration2</action>
3820 </button>
3821
3822 <action>
3823 <touch key="home"/>
3824 <action function="page">main</action>
3825 </action>
3826
3827 <action>
3828 <touch key="back"/>
3829 <action function="page">settings</action>
3830 </action>
3831 </page>
3832
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <page name="settings_language">
3834 <template name="page"/>
3835
3836 <template name="statusbar"/>
3837
3838 <text style="text_m">
3839 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3840 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3841 </text>
3842
3843 <object type="listbox" style="scrolllist">
3844 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3845 <icon selected="radio_true" unselected="radio_false" />
3846 <data name="tw_language" />
3847 </object>
3848
3849 <button>
3850 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3851 <highlight color="%highlight_color%"/>
3852 <image resource="q_btn_folder"/>
3853 <action function="setlanguage"></action>
3854 </button>
3855
3856 <object type="action">
3857 <touch key="home" />
3858 <action function="page">main</action>
3859 </object>
3860
3861 <object type="action">
3862 <touch key="back" />
3863 <action function="page">settings</action>
3864 </object>
3865 </page>
3866
z31s1g28f0a922015-11-07 18:50:22 +01003867 <page name="advanced">
3868 <template name="page"/>
3869
3870 <template name="statusbar"/>
3871
3872 <text style="text_m">
3873 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <button style="main_button">
3878 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003880 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </button>
3882
3883 <button style="main_button">
3884 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@fix_perm_s_btn=Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <action function="page">fixperms</action>
3887 </button>
3888
3889 <button style="main_button">
3890 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 <action function="reload"/>
3893 </button>
3894
3895 <button style="main_button">
3896 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3897 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@part_sd_s_btn=SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 <action function="page">partsdcard</action>
3900 </button>
3901
3902 <button style="main_button">
3903 <condition var1="tw_show_dumlock" var2="1"/>
3904 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="page">htcdumlock</action>
3907 </button>
3908
3909 <button style="main_button">
3910 <condition var1="tw_has_injecttwrp" var2="1"/>
3911 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003913 <actions>
3914 <action function="set">tw_back=advanced</action>
3915 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003916 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3917 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3918 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3919 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003920 <action function="page">confirm_action</action>
3921 </actions>
3922 </button>
3923
3924 <action>
3925 <touch key="home"/>
3926 <action function="page">main</action>
3927 </action>
3928
3929 <action>
3930 <touch key="back"/>
3931 <action function="page">main3</action>
3932 </action>
3933 </page>
3934
3935 <page name="partsdcard">
3936 <template name="page"/>
3937
3938 <template name="statusbar"/>
3939
3940 <text style="text_m">
3941 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 </text>
3944
3945 <text style="text_m_fail">
3946 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </text>
3949
3950 <text style="text_m_fail">
3951 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003952 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003953 </text>
3954
3955 <text style="text_m_accent">
3956 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 </text>
3959
3960 <text style="text_m">
3961 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3962 <text>%tw_sdext_size%</text>
3963 </text>
3964
3965 <button style="main_button_quarter_width">
3966 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 <action function="addsubtract">tw_sdext_size-128</action>
3969 </button>
3970
3971 <button style="main_button_quarter_width">
3972 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003973 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003974 <action function="addsubtract">tw_sdext_size+128</action>
3975 </button>
3976
3977 <button>
3978 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3979 <highlight color="%highlight_color%"/>
3980 <image resource="q_btn_arrow_right"/>
3981 <action function="page">partsdcard2</action>
3982 </button>
3983
3984 <action>
3985 <touch key="home"/>
3986 <action function="page">main</action>
3987 </action>
3988
3989 <action>
3990 <touch key="back"/>
3991 <action function="page">advanced</action>
3992 </action>
3993 </page>
3994
3995 <page name="partsdcard2">
3996 <template name="page"/>
3997
3998 <template name="statusbar"/>
3999
4000 <text style="text_m">
4001 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004002 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004003 </text>
4004
4005 <text style="text_m_fail">
4006 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004008 </text>
4009
4010 <text style="text_m_fail">
4011 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <text style="text_m_accent">
4016 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m">
4021 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4022 <text>%tw_swap_size%</text>
4023 </text>
4024
4025 <button style="main_button_quarter_width">
4026 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 <action function="addsubtract">tw_swap_size-32</action>
4029 </button>
4030
4031 <button style="main_button_quarter_width">
4032 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 <action function="addsubtract">tw_swap_size+32</action>
4035 </button>
4036
4037 <button>
4038 <placement x="%col1_x_left%" y="%row11_y%"/>
4039 <highlight color="%highlight_color%"/>
4040 <image resource="q_btn_arrow_left"/>
4041 <action function="page">partsdcard</action>
4042 </button>
4043
4044 <button>
4045 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4046 <highlight color="%highlight_color%"/>
4047 <image resource="q_btn_arrow_right"/>
4048 <action function="page">partsdcard3</action>
4049 </button>
4050
4051 <action>
4052 <touch key="home"/>
4053 <action function="page">main</action>
4054 </action>
4055
4056 <action>
4057 <touch key="back"/>
4058 <action function="page">advanced</action>
4059 </action>
4060 </page>
4061
4062 <page name="partsdcard3">
4063 <template name="page"/>
4064
4065 <template name="statusbar"/>
4066
4067 <text style="text_m">
4068 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 </text>
4071
4072 <text style="text_m_fail">
4073 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 </text>
4076
4077 <text style="text_m_fail">
4078 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <text style="text_m_accent">
4083 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <text style="text_m">
4088 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4089 <text>%tw_sdpart_file_system%</text>
4090 </text>
4091
4092 <button style="main_button_quarter_width">
4093 <placement x="%indent%" y="%row6_y%"/>
4094 <text>EXT3</text>
4095 <action function="set">tw_sdpart_file_system=ext3</action>
4096 </button>
4097
4098 <button style="main_button_quarter_width">
4099 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4100 <text>EXT4</text>
4101 <action function="set">tw_sdpart_file_system=ext4</action>
4102 </button>
4103
4104 <button>
4105 <placement x="%col1_x_left%" y="%row11_y%"/>
4106 <highlight color="%highlight_color%"/>
4107 <image resource="q_btn_arrow_left"/>
4108 <action function="page">partsdcard2</action>
4109 </button>
4110
4111 <button>
4112 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4113 <highlight color="%highlight_color%"/>
4114 <image resource="q_btn_arrow_right"/>
4115 <action function="page">partsdcard_confirm</action>
4116 </button>
4117
4118 <action>
4119 <touch key="home"/>
4120 <action function="page">main</action>
4121 </action>
4122
4123 <action>
4124 <touch key="back"/>
4125 <action function="page">advanced</action>
4126 </action>
4127 </page>
4128
4129 <page name="partsdcard_confirm">
4130 <template name="page"/>
4131
4132 <template name="statusbar"/>
4133
4134 <text style="text_m">
4135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004136 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004137 </text>
4138
4139 <text style="text_m_fail">
4140 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004141 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </text>
4143
4144 <text style="text_m_fail">
4145 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004147 </text>
4148
4149 <text style="text_m_accent">
4150 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <text style="text_m_accent">
4155 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <text style="text_m_accent">
4160 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </text>
4163
4164 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004166 <action function="page">partsdcardaction</action>
4167 <actions>
4168 <action function="set">tw_back=partsdcard</action>
4169 <action function="set">tw_action=partitionsd</action>
4170 <action function="set">tw_has_action2=1</action>
4171 <action function="set">tw_action2=set</action>
4172 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4174 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4175 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004176 <action function="page">action_page</action>
4177 </actions>
4178 </slider>
4179
4180 <action>
4181 <touch key="home"/>
4182 <action function="page">main</action>
4183 </action>
4184
4185 <action>
4186 <touch key="back"/>
4187 <action function="page">advanced</action>
4188 </action>
4189 </page>
4190
4191 <page name="htcdumlock">
4192 <template name="page"/>
4193
4194 <template name="statusbar"/>
4195
4196 <text style="text_m">
4197 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004198 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004199 </text>
4200
4201 <button style="main_button_full_width">
4202 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 <actions>
4205 <action function="set">tw_back=htcdumlock</action>
4206 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4208 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4209 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original 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="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 <actions>
4219 <action function="set">tw_back=htcdumlock</action>
4220 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4222 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4223 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</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 <button style="main_button_full_width">
4230 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004231 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 <actions>
4233 <action function="set">tw_back=htcdumlock</action>
4234 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4236 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4237 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4238 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004239 <action function="page">confirm_action</action>
4240 </actions>
4241 </button>
4242
4243 <action>
4244 <touch key="home"/>
4245 <action function="page">main</action>
4246 </action>
4247
4248 <action>
4249 <touch key="back"/>
4250 <action function="page">advanced</action>
4251 </action>
4252 </page>
4253
4254 <page name="lock">
4255 <background color="%semi_transparent%"/>
4256
4257 <image>
4258 <image resource="unlock_icon"/>
4259 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4260 </image>
4261
4262 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <action function="overlay"/>
4265 </slider>
4266 </page>
4267
4268 <page name="filemanagerlist">
4269 <template name="page"/>
4270
4271 <template name="statusbar"/>
4272
4273 <text style="text_m">
4274 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </text>
4277
4278 <fileselector>
4279 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4280 <text>%tw_file_location1%</text>
4281 <filter folders="1" files="1"/>
4282 <path name="tw_file_location1" default="/"/>
4283 <data name="tw_filename1"/>
4284 <selection name="tw_selection1"/>
4285 </fileselector>
4286
4287 <button>
4288 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4289 <highlight color="%highlight_color%"/>
4290 <image resource="q_btn_folder"/>
4291 <actions>
4292 <action function="set">tw_filename1=tw_file_location1</action>
4293 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004295 <action function="page">filemanageroptions</action>
4296 </actions>
4297 </button>
4298
4299 <action>
4300 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004301 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004302 <action function="set">tw_fm_isfolder=0</action>
4303 </actions>
4304 </action>
4305
4306 <action>
4307 <touch key="home"/>
4308 <action function="page">main</action>
4309 </action>
4310
4311 <action>
4312 <touch key="back"/>
4313 <action function="page">main3</action>
4314 </action>
4315
4316 <action>
4317 <condition var1="tw_filename1" op="modified"/>
4318 <action function="page">filemanageroptions</action>
4319 </action>
4320 </page>
4321
4322 <page name="filemanageroptions">
4323 <template name="page"/>
4324
4325 <template name="statusbar"/>
4326
4327 <text style="text_m">
4328 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </text>
4331
4332 <button style="main_button">
4333 <condition var1="tw_fm_isfolder" var2="0"/>
4334 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004335 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004336 <actions>
4337 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004338 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004339 <action function="page">choosedestinationfolder</action>
4340 </actions>
4341 </button>
4342
4343 <button style="main_button">
4344 <condition var1="tw_fm_isfolder" var2="1"/>
4345 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004346 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004347 <actions>
4348 <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 -05004349 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004350 <action function="page">choosedestinationfolder</action>
4351 </actions>
4352 </button>
4353
4354 <button style="main_button">
4355 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 <actions>
4358 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004360 <action function="page">choosedestinationfolder</action>
4361 </actions>
4362 </button>
4363
4364 <button style="main_button">
4365 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 <actions>
4368 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004370 <action function="set">tw_fm_text2=</action>
4371 <action function="set">tw_fm_text3=</action>
4372 <action function="set">tw_include_text3=0</action>
4373 <action function="set">tw_back=filemanageroptions</action>
4374 <action function="page">filemanagerconfirm</action>
4375 </actions>
4376 </button>
4377
4378 <button style="main_button">
4379 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004380 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004381 <actions>
4382 <action function="set">tw_filemanager_rename=0000</action>
4383 <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">filemanagerchmod</action>
4388 </actions>
4389 </button>
4390
4391 <button style="main_button">
4392 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004393 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 <actions>
4395 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004397 <action function="set">tw_fm_text2=</action>
4398 <action function="set">tw_fm_text3=</action>
4399 <action function="set">tw_include_text3=0</action>
4400 <action function="set">tw_back=filemanageroptions</action>
4401 <action function="page">filemanagerconfirm</action>
4402 </actions>
4403 </button>
4404
4405 <button style="main_button">
4406 <condition var1="tw_fm_isfolder" var2="0"/>
4407 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004408 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004409 <actions>
4410 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004412 <action function="set">tw_filemanager_command=mv</action>
4413 <action function="page">filemanagerrenamefile</action>
4414 </actions>
4415 </button>
4416
4417 <button style="main_button">
4418 <condition var1="tw_fm_isfolder" var2="1"/>
4419 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004420 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004421 <actions>
4422 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004424 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4425 <action function="page">filemanagerrenamefolder</action>
4426 </actions>
4427 </button>
4428
4429 <action>
4430 <touch key="home"/>
4431 <action function="page">main</action>
4432 </action>
4433
4434 <action>
4435 <touch key="back"/>
4436 <action function="page">filemanagerlist</action>
4437 </action>
4438 </page>
4439
4440 <page name="choosedestinationfolder">
4441 <template name="page"/>
4442
4443 <template name="statusbar"/>
4444
4445 <text style="text_m">
4446 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004447 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004448 </text>
4449
4450 <fileselector>
4451 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4452 <text>%tw_file_location2%</text>
4453 <filter folders="1" files="0"/>
4454 <path name="tw_file_location2" default="/"/>
4455 <data name="tw_filename2"/>
4456 <selection name="tw_selection2"/>
4457 </fileselector>
4458
4459 <button>
4460 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4461 <highlight color="%highlight_color%"/>
4462 <image resource="q_btn_folder"/>
4463 <actions>
4464 <action function="set">tw_fm_text2=to</action>
4465 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4466 <action function="set">tw_include_text3=1</action>
4467 <action function="set">tw_back=filemanageroptions</action>
4468 <action function="page">filemanagerconfirm</action>
4469 </actions>
4470 </button>
4471
4472 <action>
4473 <touch key="home"/>
4474 <action function="page">main</action>
4475 </action>
4476
4477 <action>
4478 <touch key="back"/>
4479 <action function="page">filemanageroptions</action>
4480 </action>
4481 </page>
4482
4483 <page name="filemanagerrenamefile">
4484 <template name="page"/>
4485
4486 <template name="statusbar"/>
4487
4488 <text style="text_m">
4489 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004490 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </text>
4492
4493 <text style="text_m_accent">
4494 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 </text>
4497
4498 <input>
4499 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4500 <text>%tw_filemanager_rename%</text>
4501 <data name="tw_filemanager_rename"/>
4502 <restrict minlen="1" maxlen="128"/>
4503 <actions>
4504 <action function="set">tw_fm_text2=to</action>
4505 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4506 <action function="set">tw_include_text3=1</action>
4507 <action function="set">tw_back=filemanageroptions</action>
4508 <action function="page">filemanagerconfirm</action>
4509 </actions>
4510 </input>
4511
4512 <fill color="%accent_color%">
4513 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4514 </fill>
4515
4516 <button style="main_button_half_height">
4517 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004518 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004519 <action function="page">filemanageroptions</action>
4520 </button>
4521
4522 <template name="keyboardtemplate"/>
4523
4524 <action>
4525 <touch key="home"/>
4526 <action function="page">main</action>
4527 </action>
4528
4529 <action>
4530 <touch key="back"/>
4531 <action function="page">filemanageroptions</action>
4532 </action>
4533 </page>
4534
4535 <page name="filemanagerrenamefolder">
4536 <template name="page"/>
4537
4538 <template name="statusbar"/>
4539
4540 <text style="text_m">
4541 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </text>
4544
4545 <text style="text_m_accent">
4546 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <input>
4551 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4552 <text>%tw_filemanager_rename%</text>
4553 <data name="tw_filemanager_rename"/>
4554 <restrict minlen="1" maxlen="128"/>
4555 <actions>
4556 <action function="set">tw_fm_text2=to</action>
4557 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4558 <action function="set">tw_include_text3=1</action>
4559 <action function="set">tw_back=filemanageroptions</action>
4560 <action function="page">filemanagerconfirm</action>
4561 </actions>
4562 </input>
4563
4564 <fill color="%accent_color%">
4565 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4566 </fill>
4567
4568 <button style="main_button_half_height">
4569 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004570 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004571 <action function="page">filemanageroptions</action>
4572 </button>
4573
4574 <template name="keyboardtemplate"/>
4575
4576 <action>
4577 <touch key="home"/>
4578 <action function="page">main</action>
4579 </action>
4580
4581 <action>
4582 <touch key="back"/>
4583 <action function="page">filemanageroptions</action>
4584 </action>
4585 </page>
4586
4587 <page name="filemanagerchmod">
4588 <template name="page"/>
4589
4590 <template name="statusbar"/>
4591
4592 <text style="text_m">
4593 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004594 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004595 </text>
4596
4597 <text style="text_m_accent">
4598 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004599 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004600 </text>
4601
4602 <input>
4603 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4604 <text>%tw_filemanager_rename%</text>
4605 <data name="tw_filemanager_rename"/>
4606 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4607 <actions>
4608 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4609 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4610 <action function="set">tw_back=filemanageroptions</action>
4611 <action function="page">filemanagerconfirm</action>
4612 </actions>
4613 </input>
4614
4615 <fill color="%accent_color%">
4616 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4617 </fill>
4618
4619 <button style="main_button_half_height">
4620 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 <action function="page">filemanageroptions</action>
4623 </button>
4624
4625 <template name="keyboardtemplate"/>
4626
4627 <action>
4628 <touch key="home"/>
4629 <action function="page">main</action>
4630 </action>
4631
4632 <action>
4633 <touch key="back"/>
4634 <action function="page">filemanageroptions</action>
4635 </action>
4636 </page>
4637
4638 <page name="filemanagerconfirm">
4639 <template name="page"/>
4640
4641 <template name="statusbar"/>
4642
4643 <text style="text_m">
4644 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <text style="text_m_accent">
4649 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4650 <text>%tw_fm_text1%</text>
4651 </text>
4652
4653 <text style="text_m">
4654 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4655 <text>%tw_filename1%</text>
4656 </text>
4657
4658 <text style="text_m_accent">
4659 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4660 <text>%tw_fm_text2%</text>
4661 </text>
4662
4663 <text style="text_m">
4664 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4665 <text>%tw_fm_text3%</text>
4666 </text>
4667
4668 <text style="text_m">
4669 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004674 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 <action function="page">filemanageraction</action>
4676 </slider>
4677
4678 <action>
4679 <touch key="back"/>
4680 <action function="page">%tw_back%</action>
4681 </action>
4682
4683 <action>
4684 <touch key="home"/>
4685 <action function="page">main</action>
4686 </action>
4687 </page>
4688
4689 <page name="filemanageraction">
4690 <template name="page"/>
4691
4692 <template name="statusbar"/>
4693
4694 <text style="text_m">
4695 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004696 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 </text>
4698
4699 <template name="console"/>
4700
4701 <template name="progress_bar"/>
4702
4703 <action>
4704 <conditions>
4705 <condition var1="tw_operation_state" var2="1"/>
4706 <condition var1="tw_operation_status" var2="0"/>
4707 </conditions>
4708 <actions>
4709 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004710 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004711 <action function="page">action_complete</action>
4712 </actions>
4713 </action>
4714
4715 <action>
4716 <conditions>
4717 <condition var1="tw_operation_state" var2="1"/>
4718 <condition var1="tw_operation_status" op="!=" var2="0"/>
4719 </conditions>
4720 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004722 <action function="page">action_complete</action>
4723 </actions>
4724 </action>
4725
4726 <action>
4727 <condition var1="tw_include_text3" var2="0"/>
4728 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4729 </action>
4730
4731 <action>
4732 <condition var1="tw_include_text3" var2="1"/>
4733 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4734 </action>
4735 </page>
4736
4737 <page name="decrypt">
4738 <template name="page"/>
4739
4740 <template name="statusbar"/>
4741
4742 <action>
4743 <condition var1="tw_crypto_pwtype" var2="2"/>
4744 <action function="page">decrypt_pattern</action>
4745 </action>
4746
4747 <text style="text_m">
4748 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004749 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004750 </text>
4751
4752 <text style="text_m_accent">
4753 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004754 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004755 </text>
4756
4757 <input>
4758 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4759 <text>%tw_crypto_display%</text>
4760 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4761 <restrict minlen="1" maxlen="254"/>
4762 <action function="page">trydecrypt</action>
4763 </input>
4764
4765 <fill color="%accent_color%">
4766 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4767 </fill>
4768
4769 <fill color="%text_fail_color%">
4770 <condition var1="tw_password_fail" var2="1"/>
4771 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4772 </fill>
4773
4774 <text style="text_m_fail">
4775 <condition var1="tw_password_fail" var2="1"/>
4776 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004777 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004778 </text>
4779
4780 <button style="main_button_half_height">
4781 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004782 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004783 <actions>
4784 <action function="set">tw_page_done=1</action>
4785 <action function="page">main</action>
4786 </actions>
4787 </button>
4788
4789 <template name="keyboardtemplate"/>
4790 </page>
4791
4792 <page name="decrypt_pattern">
4793 <template name="page"/>
4794
4795 <template name="statusbar"/>
4796
Aleksa Saraib25a1832015-12-31 17:36:00 +01004797 <action>
4798 <action function="set">tw_gui_pattern_grid_size=3</action>
4799 </action>
4800
z31s1g28f0a922015-11-07 18:50:22 +01004801 <text style="text_m">
4802 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004803 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004804 </text>
4805
4806 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004807 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004808 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004809 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004810 </text>
4811
Aleksa Saraib25a1832015-12-31 17:36:00 +01004812 <text style="text_m_fail">
4813 <condition var1="tw_password_fail" var2="1"/>
4814 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4815 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4816 </text>
4817
z31s1g28f0a922015-11-07 18:50:22 +01004818 <text style="text_m">
4819 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004820 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004821 </text>
4822
4823 <patternpassword>
4824 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004825 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4826 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4827 <data name="tw_crypto_password"/>
4828 <action function="page">trydecrypt</action>
4829 </patternpassword>
4830
4831 <fill color="#000000">
4832 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4833 </fill>
4834
4835 <button>
4836 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4837 <image resource="back"/>
4838 <condition var1="tw_busy" var2="0"/>
4839 <actions>
4840 <action function="set">tw_page_done=1</action>
4841 <action function="page">main</action>
4842 </actions>
4843 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004844
4845 <button>
4846 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4847 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4848 <image resource="grid_less"/>
4849 <action function="set">tw_gui_pattern_grid_size=3</action>
4850 </button>
4851
4852 <button>
4853 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4854 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4855 <image resource="grid_less"/>
4856 <action function="set">tw_gui_pattern_grid_size=3</action>
4857 </button>
4858
4859 <button>
4860 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4861 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4862 <image resource="grid_less"/>
4863 <action function="set">tw_gui_pattern_grid_size=4</action>
4864 </button>
4865
4866 <button>
4867 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4868 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4869 <image resource="grid_less"/>
4870 <action function="set">tw_gui_pattern_grid_size=5</action>
4871 </button>
4872
4873 <button>
4874 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4875 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4876 <image resource="grid_more"/>
4877 <action function="set">tw_gui_pattern_grid_size=4</action>
4878 </button>
4879
4880 <button>
4881 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4882 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4883 <image resource="grid_more"/>
4884 <action function="set">tw_gui_pattern_grid_size=5</action>
4885 </button>
4886
4887 <button>
4888 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4889 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4890 <image resource="grid_more"/>
4891 <action function="set">tw_gui_pattern_grid_size=6</action>
4892 </button>
4893
4894 <button>
4895 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4896 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4897 <image resource="grid_more"/>
4898 <action function="set">tw_gui_pattern_grid_size=6</action>
4899 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004900 </page>
4901
4902 <page name="trydecrypt">
4903 <template name="page"/>
4904
4905 <template name="statusbar"/>
4906
4907 <text style="text_m">
4908 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004909 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004910 </text>
4911
4912 <template name="console"/>
4913
4914 <template name="progress_bar"/>
4915
4916 <action>
4917 <action function="decrypt"/>
4918 </action>
4919
4920 <action>
4921 <conditions>
4922 <condition var1="tw_operation_state" var2="1"/>
4923 <condition var1="tw_operation_status" op="!=" var2="0"/>
4924 </conditions>
4925 <actions>
4926 <action function="set">tw_password_fail=1</action>
4927 <action function="page">decrypt</action>
4928 </actions>
4929 </action>
4930
4931 <action>
4932 <conditions>
4933 <condition var1="tw_operation_state" var2="1"/>
4934 <condition var1="tw_operation_status" op="=" var2="0"/>
4935 </conditions>
4936 <actions>
4937 <action function="set">tw_page_done=1</action>
4938 <action function="page">main</action>
4939 </actions>
4940 </action>
4941 </page>
4942
z31s1g28f0a922015-11-07 18:50:22 +01004943 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01004944 <terminal>
4945 <condition var1="tw_hide_kb" var2="0"/>
4946 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
4947 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004948
z31s1g56189522016-01-13 19:12:40 +01004949 <terminal>
4950 <condition var1="tw_hide_kb" var2="1"/>
4951 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
4952 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004953
z31s1g56189522016-01-13 19:12:40 +01004954 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004955
4956 <template name="keyboardtemplate"/>
4957
z31s1g56189522016-01-13 19:12:40 +01004958 <object type="fill" color="#000000">
4959 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4960 </object>
4961
4962 <object type="button">
4963 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4964 <image resource="back" />
4965 <condition var1="tw_busy" var2="0" />
4966 <actions>
4967 <action function="set">tw_hide_kb=0</action>
4968 <action function="key">back</action>
4969 </actions>
4970 </object>
4971
4972 <object type="button">
4973 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4974 <image resource="home" />
4975 <condition var1="tw_busy" var2="0" />
4976 <actions>
4977 <action function="set">tw_hide_kb=0</action>
4978 <action function="key">home</action>
4979 </actions>
4980 </object>
4981
4982 <object type="button">
4983 <condition var1="tw_hide_kb" var2="0"/>
4984 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4985 <image resource="kb_hide" />
4986 <condition var1="tw_busy" var2="0" />
4987 <actions>
4988 <action function="set">tw_hide_kb=1</action>
4989 <action function="page">terminalcommand</action>
4990 </actions>
4991 </object>
4992
4993 <object type="button">
4994 <condition var1="tw_hide_kb" var2="1"/>
4995 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4996 <image resource="kb_show" />
4997 <condition var1="tw_busy" var2="0" />
4998 <actions>
4999 <action function="set">tw_hide_kb=0</action>
5000 <action function="page">terminalcommand</action>
5001 </actions>
5002 </object>
5003
z31s1g28f0a922015-11-07 18:50:22 +01005004 <action>
5005 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005006 <actions>
5007 <action function="set">tw_hide_kb=0</action>
5008 <action function="page">main</action>
5009 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005010 </action>
5011
5012 <action>
5013 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005014 <actions>
5015 <action function="set">tw_hide_kb=0</action>
5016 <action function="page">advanced</action>
5017 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005018 </action>
z31s1g56189522016-01-13 19:12:40 +01005019
5020 <object type="action">
5021 <touch key="power+voldown" />
5022 <action function="screenshot" />
5023 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005024 </page>
5025
5026 <page name="sideload">
5027 <template name="page"/>
5028
5029 <template name="statusbar"/>
5030
5031 <text style="text_m">
5032 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005033 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005034 </text>
5035
5036 <text style="text_m_accent">
5037 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005038 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005039 </text>
5040
5041 <checkbox>
5042 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005043 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005044 <data variable="tw_wipe_dalvik"/>
5045 </checkbox>
5046
5047 <checkbox>
5048 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005049 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005050 <data variable="tw_wipe_cache"/>
5051 </checkbox>
5052
5053 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005054 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005055 <action function="page">partsdcardaction</action>
5056 <actions>
5057 <action function="set">tw_back=install_type</action>
5058 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005059 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5060 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5061 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005062 <action function="set">tw_has_cancel=1</action>
5063 <action function="set">tw_show_reboot=1</action>
5064 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5065 <action function="page">action_page</action>
5066 </actions>
5067 </slider>
5068
5069 <action>
5070 <touch key="home"/>
5071 <action function="page">main</action>
5072 </action>
5073
5074 <action>
5075 <touch key="back"/>
5076 <action function="page">install_type</action>
5077 </action>
5078 </page>
5079
5080 <page name="fixperms">
5081 <template name="page"/>
5082
5083 <template name="statusbar"/>
5084
5085 <text style="text_m">
5086 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005087 <text>{@advanced_hdr=Advanced} &gt; {@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005088 </text>
5089
5090 <text style="text_m_accent">
5091 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005092 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005093 </text>
5094
5095 <checkbox>
5096 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005097 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005098 <data variable="tw_fixperms_restorecon"/>
5099 </checkbox>
5100
5101 <text style="text_m_fail">
5102 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005103 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005104 </text>
5105
5106 <text style="text_m_fail">
5107 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005108 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005109 </text>
5110
5111 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005112 <text>{@swipe_fix_perms= Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005113 <actions>
5114 <action function="set">tw_back=advanced</action>
5115 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005116 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
5117 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
5118 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005119 <action function="set">tw_show_reboot=1</action>
5120 <action function="page">action_page</action>
5121 </actions>
5122 </slider>
5123
5124 <action>
5125 <touch key="home"/>
5126 <action function="page">main</action>
5127 </action>
5128
5129 <action>
5130 <touch key="back"/>
5131 <action function="page">advanced</action>
5132 </action>
5133 </page>
5134
5135 <page name="installsu">
5136 <template name="page"/>
5137
5138 <template name="statusbar"/>
5139
5140 <text style="text_m">
5141 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005142 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005143 </text>
5144
5145 <text style="text_m_accent">
5146 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005147 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005148 </text>
5149
5150 <text style="text_m">
5151 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005152 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005153 </text>
5154
5155 <text style="text_m">
5156 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005157 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005158 </text>
5159
5160 <button style="main_button_full_width">
5161 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005162 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005163 <action function="set">tw_page_done=1</action>
5164 </button>
5165
5166 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005167 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005168 <actions>
5169 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005170 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005171 <action function="set">tw_action_text2=</action>
5172 <action function="page">singleaction_page</action>
5173 </actions>
5174 </slider>
5175 </page>
5176
5177 <page name="slideout">
5178 <fill color="%background_color%">
5179 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5180 </fill>
5181
5182 <console>
5183 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5184 </console>
5185
5186 <fill color="%fileselector_linecolor%">
5187 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5188 </fill>
5189
5190 <fill color="%fileselector_linecolor%">
5191 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5192 </fill>
5193
5194 <button>
5195 <fill color="%transparent%"/>
5196 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5197 <action function="overlay"/>
5198 </button>
5199
5200 <action>
5201 <touch key="power+voldown"/>
5202 <action function="screenshot"/>
5203 </action>
5204 </page>
5205
5206 <page name="select_storage">
5207 <template name="page"/>
5208
5209 <template name="statusbar"/>
5210
5211 <text style="text_m">
5212 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5213 <text>%tw_storagetext%</text>
5214 </text>
5215
5216 <partitionlist style="partitionlist_headerless_rb">
5217 <data name="tw_storage_path"/>
5218 <listtype name="storage"/>
5219 </partitionlist>
5220
5221 <button>
5222 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5223 <highlight color="%highlight_color%"/>
5224 <image resource="q_btn_refresh"/>
5225 <actions>
5226 <action function="refreshsizes"/>
5227 <action function="page">select_storage</action>
5228 </actions>
5229 </button>
5230
5231 <button>
5232 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5233 <highlight color="%highlight_color%"/>
5234 <image resource="q_btn_accept"/>
5235 <actions>
5236 <action function="set">tw_clear_destination=%tw_back%</action>
5237 <action function="page">clear_vars</action>
5238 </actions>
5239 </button>
5240
5241 <action>
5242 <touch key="power+voldown"/>
5243 <action function="screenshot"/>
5244 </action>
5245 </page>
5246 </pages>
5247</recovery>