blob: b61d3eff6681f2c1b376f2588055cfccc328e771 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="partitionlist">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
133 <icon selected="checkbox_true" unselected="checkbox_false"/>
134 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 </style>
138
139 <style name="partitionlist_summary">
140 <highlight color="%fileselector_highlight_color%"/>
141 <background color="%background_color%"/>
142 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
143 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
144 </style>
145
146 <style name="partitionlist_headerless_rb">
147 <highlight color="%fileselector_highlight_color%"/>
148 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
149 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
150 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
151 <icon selected="radio_true" unselected="radio_false"/>
152 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
153 <background color="%background_color%"/>
154 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
155 </style>
156
157 <style name="partitionlist_headerless_cb">
158 <highlight color="%fileselector_highlight_color%"/>
159 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="checkbox_true" unselected="checkbox_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
168 <style name="slider">
169 <placement x="%center_x%" y="%slider_y%"/>
170 <font resource="font_l" color="%text_color%"/>
171 <resource base="slider" used="slider_used" touch="slider_touch"/>
172 </style>
173
174 <style name="slidervalue">
175 <resource handle="handle"/>
176 <font resource="font_m" color="%text_color%"/>
177 <colors line="%fileselector_linecolor%"/>
178 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
179 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100180
181 <style name="patternpassword">
182 <size name="tw_gui_pattern_grid_size" default="3"/>
183 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100184 </styles>
185
186 <pages>
187 <page name="main">
188 <action>
189 <actions>
190 <action function="set">tw_clear_destination=main2</action>
191 <action function="page">clear_vars</action>
192 </actions>
193 </action>
194 </page>
195
196 <page name="main2">
197 <template name="page"/>
198
199 <button style="main_button">
200 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500201 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100202 <action function="page">install_type</action>
203 </button>
204
205 <button style="main_button">
206 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 <action function="page">wipe_type1</action>
209 </button>
210
211 <button style="main_button">
212 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500213 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100214 <actions>
215 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500216 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100217 </actions>
218 </button>
219
220 <button style="main_button">
221 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">restore</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231
232 <button>
233 <placement x="%btn4_col4_x%" y="%row11_y%"/>
234 <highlight color="%highlight_color%"/>
235 <image resource="q_btn_arrow_right"/>
236 <action function="page">main3</action>
237 </button>
238 </page>
239
240 <page name="main3">
241 <template name="page"/>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">filemanagerlist</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <actions>
265 <action function="set">tw_back=main3</action>
266 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500267 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
268 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
269 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
270 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100271 <action function="page">confirm_action</action>
272 </actions>
273 </button>
274
275 <button style="main_button">
276 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <action function="page">advanced</action>
279 </button>
280
281 <button>
282 <placement x="%col1_x_left%" y="%row11_y%"/>
283 <highlight color="%highlight_color%"/>
284 <image resource="q_btn_arrow_left"/>
285 <action function="page">main2</action>
286 </button>
287
288 <action>
289 <touch key="back"/>
290 <action function="page">main2</action>
291 </action>
292
293 <action>
294 <touch key="home"/>
295 <action function="page">main</action>
296 </action>
297 </page>
298
299 <page name="install_type">
300 <template name="page"/>
301
302 <template name="statusbar"/>
303
304 <text style="text_m">
305 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500306 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </text>
308
309 <button style="main_button_full_width">
310 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <actions>
313 <action function="queueclear"/>
314 <action function="set">tw_selectimage=0</action>
315 <action function="page">install</action>
316 </actions>
317 </button>
318
319 <button style="main_button_full_width">
320 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="queueclear"/>
324 <action function="set">tw_selectimage=1</action>
325 <action function="page">install</action>
326 </actions>
327 </button>
328
329 <button style="main_button_full_width">
330 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <action function="page">sideload</action>
333 </button>
334
335 <action>
336 <touch key="home"/>
337 <action function="page">main</action>
338 </action>
339
340 <action>
341 <touch key="back"/>
342 <action function="page">main</action>
343 </action>
344 </page>
345
346 <page name="install">
347 <template name="page"/>
348
349 <template name="statusbar"/>
350
351 <text style="text_m">
352 <condition var1="tw_selectimage" var2="0"/>
353 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <condition var1="tw_selectimage" var2="1"/>
359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <fileselector>
364 <condition var1="tw_selectimage" var2="0"/>
365 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
366 <text>%tw_zip_location%</text>
367 <filter extn=".zip" folders="1" files="1"/>
368 <path name="tw_zip_location" default="/sdcard"/>
369 <data name="tw_filename"/>
370 <selection name="tw_file"/>
371 </fileselector>
372
373 <fileselector>
374 <condition var1="tw_selectimage" var2="1"/>
375 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
376 <text>%tw_zip_location%</text>
377 <filter extn=".img" folders="1" files="1"/>
378 <path name="tw_zip_location" default="/sdcard"/>
379 <data name="tw_filename"/>
380 <selection name="tw_file"/>
381 </fileselector>
382
383 <button>
384 <placement x="%btn4_col4_x%" y="%row11_y%"/>
385 <highlight color="%highlight_color%"/>
386 <image resource="q_btn_storage"/>
387 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100389 <action function="set">tw_back=install</action>
390 <action function="page">select_storage</action>
391 </actions>
392 </button>
393
394 <action>
395 <conditions>
396 <condition var1="tw_selectimage" var2="0"/>
397 <condition var1="tw_filename" op="modified"/>
398 </conditions>
399 <actions>
400 <action function="queuezip"/>
401 <action function="page">flash_queue</action>
402 </actions>
403 </action>
404
405 <action>
406 <conditions>
407 <condition var1="tw_selectimage" var2="1"/>
408 <condition var1="tw_filename" op="modified"/>
409 </conditions>
410 <action function="page">flashimage_type</action>
411 </action>
412
413 <action>
414 <touch key="back"/>
415 <action function="page">install_type</action>
416 </action>
417
418 <action>
419 <touch key="home"/>
420 <action function="page">main</action>
421 </action>
422 </page>
423
424 <page name="flash_queue">
425 <template name="page"/>
426
427 <template name="statusbar"/>
428
429 <text style="text_m">
430 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500431 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100432 </text>
433
434 <text style="text_m_accent">
435 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500436 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100437 </text>
438
439 <text style="text_m">
440 <placement x="%indent%" y="%row2_y%"/>
441 <text>%tw_file%</text>
442 </text>
443
444 <text style="text_m_accent">
445 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500446 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100447 </text>
448
449 <text style="text_m">
450 <placement x="%indent%" y="%row5_y%"/>
451 <text>%tw_zip_location%</text>
452 </text>
453
454 <text style="text_m">
455 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500456 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100457 </text>
458
459 <button>
460 <placement x="%col1_x_left%" y="%row11_y%"/>
461 <highlight color="%highlight_color%"/>
462 <image resource="q_btn_arrow_left"/>
463 <actions>
464 <action function="queueclear"/>
465 <action function="page">install</action>
466 </actions>
467 </button>
468
469 <button>
470 <placement x="%btn4_col2_x%" y="%row11_y%"/>
471 <highlight color="%highlight_color%"/>
472 <image resource="q_btn_addzip"/>
473 <action function="page">install</action>
474 </button>
475
476 <button>
477 <placement x="%btn4_col3_x%" y="%row11_y%"/>
478 <highlight color="%highlight_color%"/>
479 <image resource="q_btn_accept"/>
480 <action function="page">flash_confirm</action>
481 </button>
482
483 <button>
484 <placement x="%btn4_col4_x%" y="%row11_y%"/>
485 <highlight color="%highlight_color%"/>
486 <image resource="q_btn_arrow_right"/>
487 <action function="page">flash_options</action>
488 </button>
489
490 <action>
491 <touch key="back"/>
492 <actions>
493 <action function="queueclear"/>
494 <action function="page">install</action>
495 </actions>
496 </action>
497
498 <action>
499 <touch key="home"/>
500 <action function="page">main</action>
501 </action>
502 </page>
503
504 <page name="flash_options">
505 <template name="page"/>
506
507 <template name="statusbar"/>
508
509 <text style="text_m">
510 <condition var1="tw_selectimage" var2="0"/>
511 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100513 </text>
514
515 <checkbox>
516 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 <data variable="tw_signed_zip_verify"/>
519 </checkbox>
520
521 <checkbox>
522 <condition var1="tw_has_injecttwrp" var2="1"/>
523 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 <data variable="tw_inject_after_zip"/>
526 </checkbox>
527
bigbiffa869fc72016-03-01 19:40:36 -0500528 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500529 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500530 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500531 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500532 </checkbox>
533
z31s1g28f0a922015-11-07 18:50:22 +0100534 <button>
535 <placement x="%col1_x_left%" y="%row11_y%"/>
536 <highlight color="%highlight_color%"/>
537 <image resource="q_btn_arrow_left"/>
538 <action function="page">flash_queue</action>
539 </button>
540
541 <button>
542 <placement x="%btn4_col4_x%" y="%row11_y%"/>
543 <highlight color="%highlight_color%"/>
544 <image resource="q_btn_accept_transp"/>
545 <action function="page">flash_confirm</action>
546 </button>
547
548 <action>
549 <touch key="back"/>
550 <action function="page">flash_queue</action>
551 </action>
552
553 <action>
554 <touch key="home"/>
555 <action function="page">main</action>
556 </action>
557 </page>
558
559 <page name="flash_confirm">
560 <template name="page"/>
561
562 <template name="statusbar"/>
563
564 <text style="text_m">
565 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500566 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100567 </text>
568
569 <text style="text_m_accent">
570 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 </text>
573
574 <text style="text_m">
575 <placement x="%indent%" y="%row2_y%"/>
576 <text>%tw_file%</text>
577 </text>
578
579 <button>
580 <fill color="%transparent%"/>
581 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
582 <action function="page">flash_queue</action>
583 </button>
584
585 <text style="text_m_accent">
586 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500587 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100588 </text>
589
590 <text style="text_m">
591 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500592 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </text>
594
595 <button>
596 <fill color="%transparent%"/>
597 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
598 <action function="page">flash_queue</action>
599 </button>
600
601 <listbox style="listbox_options">
602 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500603 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100604 <data variable="tw_signed_zip_verify"/>
605 </listitem>
606 </listbox>
607
608 <text style="text_m_accent">
609 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500610 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100611 </text>
612
613 <text style="text_m">
614 <condition var1="tw_has_injecttwrp" var2="1"/>
615 <condition var1="tw_inject_after_zip" var2="1"/>
616 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <button>
621 <fill color="%transparent%"/>
622 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
623 <action function="page">flash_options</action>
624 </button>
625
626 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 <action function="flash">flash_zip</action>
629 </slider>
630
631 <action>
632 <touch key="back"/>
633 <actions>
634 <action function="cancelzip"/>
635 <action function="page">install</action>
636 </actions>
637 </action>
638
639 <action>
640 <touch key="home"/>
641 <action function="page">main</action>
642 </action>
643 </page>
644
645 <page name="flash_zip">
646 <template name="page"/>
647
648 <template name="statusbar"/>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600652 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100653 </text>
654
655 <template name="console"/>
656
657 <template name="progress_bar"/>
658
659 <action>
660 <condition var1="tw_operation_state" var2="1"/>
661 <action function="page">flash_done</action>
662 </action>
663 </page>
664
665 <page name="flash_done">
666 <template name="page"/>
667
668 <template name="statusbar"/>
669
670 <text style="text_m_fail">
671 <condition var1="tw_operation_status" op="!=" var2="0"/>
672 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 </text>
675
676 <text style="text_m">
677 <condition var1="tw_operation_status" var2="0"/>
678 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100680 </text>
681
682 <template name="console"/>
683
684 <button style="main_button_half_height">
685 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500686 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 <actions>
688 <action function="set">tw_back=flash_done</action>
689 <action function="set">tw_action=wipe</action>
690 <action function="set">tw_action_param=/cache</action>
691 <action function="set">tw_has_action2=1</action>
692 <action function="set">tw_action2=wipe</action>
693 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
695 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
696 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
697 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100698 <action function="page">confirm_action</action>
699 </actions>
700 </button>
701
702 <button style="main_button_half_height">
703 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500704 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100705 <actions>
706 <action function="set">tw_back=main2</action>
707 <action function="set">tw_action=reboot</action>
708 <action function="set">tw_action_param=system</action>
709 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500710 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
711 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100712 <action function="set">tw_text3=</action>
713 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500714 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100715 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500716 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
717 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100718 <action function="page">rebootcheck</action>
719 </actions>
720 </button>
721
722 <action>
723 <touch key="back"/>
724 <actions>
725 <action function="set">tw_clear_destination=install_type</action>
726 <action function="page">clear_vars</action>
727 </actions>
728 </action>
729
730 <action>
731 <touch key="home"/>
732 <actions>
733 <action function="set">tw_clear_destination=main2</action>
734 <action function="page">clear_vars</action>
735 </actions>
736 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500737
738 <action>
739 <conditions>
740 <condition var1="tw_install_reboot" var2="1"/>
741 <condition var1="tw_operation_status" var2="0"/>
742 <condition var1="tw_reboot_system" var2="1"/>
743 </conditions>
744 <actions>
745 <action function="set">tw_sleep=%tw_sleep_total%</action>
746 <action function="page">flash_sleep_and_reboot</action>
747 </actions>
748 </action>
749 </page>
750
751 <page name="flash_sleep_and_reboot">
752 <template name="page"/>
753
754 <template name="statusbar"/>
755
756 <text style="text_m">
757 <placement x="%col1_x_left%" y="%row1_header_y%"/>
758 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
759 </text>
760
761 <template name="console"/>
762
763 <template name="progress_bar"/>
764
765 <button style="main_button_half_height">
766 <condition var1="tw_sleep" op="&gt;" var2="0"/>
767 <placement x="%col1_x_right%" y="%row13_y%"/>
768 <text>{@cancel_btn=Cancel}</text>
769 <actions>
770 <action function="set">tw_install_reboot=0</action>
771 <action function="page">flash_done</action>
772 </actions>
773 </button>
774
775 <action>
776 <conditions>
777 <condition var1="tw_sleep" var2="tw_sleep_total"/>
778 <condition var1="tw_install_reboot" var2="1"/>
779 </conditions>
780 <action function="sleepcounter">%tw_sleep_total%</action>
781 </action>
782
783 <action>
784 <conditions>
785 <condition var1="tw_sleep" var2="0"/>
786 <condition var1="tw_install_reboot" var2="1"/>
787 </conditions>
788 <actions>
789 <action function="sleep">50000</action>
790 <action function="set">tw_back=main2</action>
791 <action function="page">reboot_system_routine</action>
792 </actions>
793 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100794 </page>
795
796 <page name="flashimage_type">
797 <template name="page"/>
798
799 <template name="statusbar"/>
800
801 <text style="text_m">
802 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600803 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100804 </text>
805
806 <partitionlist style="partitionlist_headerless_rb">
807 <data name="tw_flash_partition"/>
808 <listtype name="flashimg"/>
809 </partitionlist>
810
811 <button>
812 <placement x="%col1_x_left%" y="%row11_y%"/>
813 <highlight color="%highlight_color%"/>
814 <image resource="q_btn_arrow_left"/>
815 <action function="page">install</action>
816 </button>
817
818 <button>
819 <placement x="%btn4_col4_x%" y="%row11_y%"/>
820 <highlight color="%highlight_color%"/>
821 <image resource="q_btn_accept_transp"/>
822 <action function="page">flashimage_confirm</action>
823 </button>
824
825 <action>
826 <touch key="back"/>
827 <action function="page">install</action>
828 </action>
829
830 <action>
831 <touch key="home"/>
832 <action function="page">main</action>
833 </action>
834 </page>
835
836 <page name="flashimage_confirm">
837 <template name="page"/>
838
839 <template name="statusbar"/>
840
841 <text style="text_m">
842 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500843 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100844 </text>
845
846 <text style="text_m_accent">
847 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100849 </text>
850
851 <text style="text_m">
852 <placement x="%indent%" y="%row2_y%"/>
853 <text>%tw_file%</text>
854 </text>
855
856 <button>
857 <fill color="%transparent%"/>
858 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
859 <action function="page">install</action>
860 </button>
861
862 <text style="text_m_accent">
863 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100865 </text>
866
867 <text style="text_m">
868 <placement x="%indent%" y="%row5_y%"/>
869 <text>%tw_flash_partition%</text>
870 </text>
871
872 <button>
873 <fill color="%transparent%"/>
874 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
875 <action function="page">flashimage_type</action>
876 </button>
877
878 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500879 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100880 <actions>
881 <action function="set">tw_back=flashimage_confirm</action>
882 <action function="set">tw_action=flashimage</action>
883 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500884 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100885 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500886 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100887 <action function="page">action_page</action>
888 </actions>
889 <action function="flashimage"/>
890 </slider>
891
892 <action>
893 <touch key="back"/>
894 <actions>
895 <action function="set">tw_clear_destination=install</action>
896 <action function="page">clear_vars</action>
897 </actions>
898 </action>
899
900 <action>
901 <touch key="home"/>
902 <actions>
903 <action function="set">tw_clear_destination=main2</action>
904 <action function="page">clear_vars</action>
905 </actions>
906 </action>
907 </page>
908
909 <page name="clear_vars">
910 <action>
911 <action function="set">tw_operation_state=0</action>
912 <action function="set">tw_text1=</action>
913 <action function="set">tw_text2=</action>
914 <action function="set">tw_text3=</action>
915 <action function="set">tw_text4=</action>
916 <action function="set">tw_action_text1=</action>
917 <action function="set">tw_action_text2=</action>
918 <action function="set">tw_action_param=</action>
919 <action function="set">tw_has_action2=0</action>
920 <action function="set">tw_action2=</action>
921 <action function="set">tw_action2_param=</action>
922 <action function="set">tw_has_cancel=0</action>
923 <action function="set">tw_cancel_action=</action>
924 <action function="set">tw_cancel_param=</action>
925 <action function="set">tw_show_exclamation=0</action>
926 <action function="set">tw_show_reboot=0</action>
927 <action function="page">%tw_clear_destination%</action>
928 </action>
929 </page>
930
931 <page name="confirm_action">
932 <template name="page"/>
933
934 <template name="statusbar"/>
935
936 <text style="text_m">
937 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 </text>
940
941 <text style="text_m_accent">
942 <placement x="%center_x%" y="%row2_y%" placement="5"/>
943 <text>%tw_text1%</text>
944 </text>
945
946 <text style="text_m_accent">
947 <placement x="%center_x%" y="%row3_y%" placement="5"/>
948 <text>%tw_text2%</text>
949 </text>
950
951 <text style="text_m">
952 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
953 <placement x="%center_x%" y="%row5_y%" placement="5"/>
954 <text>%tw_text3%</text>
955 </text>
956
957 <text style="text_m">
958 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
959 <placement x="%center_x%" y="%row6_y%" placement="5"/>
960 <text>%tw_text4%</text>
961 </text>
962
963 <text style="text_m_fail">
964 <condition var1="tw_action" var2="changefilesystem"/>
965 <placement x="%center_x%" y="%row5_y%" placement="5"/>
966 <text>%tw_text3%</text>
967 </text>
968
969 <text style="text_m_fail">
970 <condition var1="tw_action" var2="changefilesystem"/>
971 <placement x="%center_x%" y="%row6_y%" placement="5"/>
972 <text>%tw_text4%</text>
973 </text>
974
975 <text style="text_m">
976 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <slider>
981 <text>%tw_slider_text%</text>
982 <action function="page">action_page</action>
983 </slider>
984
985 <action>
986 <touch key="back"/>
987 <actions>
988 <action function="set">tw_clear_destination=%tw_back%</action>
989 <action function="page">clear_vars</action>
990 </actions>
991 </action>
992
993 <action>
994 <touch key="home"/>
995 <action function="page">main</action>
996 </action>
997 </page>
998
999 <page name="action_page">
1000 <template name="page"/>
1001
1002 <template name="statusbar"/>
1003
1004 <text style="text_m">
1005 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1006 <text>%tw_action_text1% %tw_action_text2%</text>
1007 </text>
1008
1009 <template name="console"/>
1010
1011 <template name="progress_bar"/>
1012
1013 <button style="main_button_half_height">
1014 <condition var1="tw_has_cancel" var2="1"/>
1015 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1018 </button>
1019
1020 <action>
1021 <condition var1="tw_operation_state" var2="1"/>
1022 <actions>
1023 <action function="page">action_complete</action>
1024 </actions>
1025 </action>
1026
1027 <action>
1028 <condition var1="tw_has_action2" var2="0"/>
1029 <actions>
1030 <action function="%tw_action%">%tw_action_param%</action>
1031 </actions>
1032 </action>
1033
1034 <action>
1035 <condition var1="tw_has_action2" var2="1"/>
1036 <actions>
1037 <action function="%tw_action%">%tw_action_param%</action>
1038 <action function="%tw_action2%">%tw_action2_param%</action>
1039 </actions>
1040 </action>
1041 </page>
1042
1043 <page name="singleaction_page">
1044 <template name="page"/>
1045
1046 <template name="statusbar"/>
1047
1048 <text style="text_m">
1049 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1050 <text>%tw_action_text1% %tw_action_text2%</text>
1051 </text>
1052
1053 <template name="console"/>
1054
1055 <template name="progress_bar"/>
1056
1057 <action>
1058 <condition var1="tw_operation_state" var2="1"/>
1059 <actions>
1060 <action function="set">tw_page_done=1</action>
1061 </actions>
1062 </action>
1063
1064 <action>
1065 <condition var1="tw_has_action2" var2="0"/>
1066 <actions>
1067 <action function="%tw_action%">%tw_action_param%</action>
1068 </actions>
1069 </action>
1070
1071 <action>
1072 <condition var1="tw_has_action2" var2="1"/>
1073 <actions>
1074 <action function="%tw_action%">%tw_action_param%</action>
1075 <action function="%tw_action2%">%tw_action2_param%</action>
1076 </actions>
1077 </action>
1078 </page>
1079
1080 <page name="action_complete">
1081 <template name="page"/>
1082
1083 <template name="statusbar"/>
1084
1085 <text style="text_m_fail">
1086 <condition var1="tw_operation_status" op="!=" var2="0"/>
1087 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001089 </text>
1090
1091 <text style="text_m">
1092 <condition var1="tw_operation_status" var2="0"/>
1093 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001094 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001095 </text>
1096
1097 <template name="console"/>
1098
1099 <button style="main_button_half_height">
1100 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001101 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001102 <actions>
1103 <action function="set">tw_clear_destination=%tw_back%</action>
1104 <action function="page">clear_vars</action>
1105 </actions>
1106 </button>
1107
1108 <button style="main_button_half_height">
1109 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 <actions>
1112 <action function="set">tw_back=main2</action>
1113 <action function="set">tw_action=reboot</action>
1114 <action function="set">tw_action_param=system</action>
1115 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1117 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <action function="set">tw_text3=</action>
1119 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1123 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001124 <action function="page">rebootcheck</action>
1125 </actions>
1126 </button>
1127
1128 <action>
1129 <touch key="home"/>
1130 <actions>
1131 <action function="set">tw_clear_destination=main2</action>
1132 <action function="page">clear_vars</action>
1133 </actions>
1134 </action>
1135
1136 <action>
1137 <touch key="back"/>
1138 <actions>
1139 <action function="set">tw_clear_destination=%tw_back%</action>
1140 <action function="page">clear_vars</action>
1141 </actions>
1142 </action>
1143 </page>
1144
1145 <page name="filecheck">
1146 <action>
1147 <action function="fileexists">%tw_filecheck%</action>
1148 </action>
1149
1150 <action>
1151 <conditions>
1152 <condition var1="tw_operation_state" var2="1"/>
1153 <condition var1="tw_operation_status" var2="0"/>
1154 </conditions>
1155 <actions>
1156 <action function="set">tw_fileexists=1</action>
1157 <action function="page">%tw_existpage%</action>
1158 </actions>
1159 </action>
1160
1161 <action>
1162 <conditions>
1163 <condition var1="tw_operation_state" var2="1"/>
1164 <condition var1="tw_operation_status" var2="1"/>
1165 </conditions>
1166 <actions>
1167 <action function="set">tw_fileexists=0</action>
1168 <action function="page">%tw_notexistpage%</action>
1169 </actions>
1170 </action>
1171 </page>
1172
1173 <page name="rebootcheck">
1174 <action>
1175 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1176 <action function="reboot">%tw_action_param%</action>
1177 </action>
1178
1179 <action>
1180 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1181 <action function="page">confirm_action</action>
1182 </action>
1183 </page>
1184
1185 <page name="wipe_type1">
1186 <template name="page"/>
1187
1188 <template name="statusbar"/>
1189
1190 <text style="text_m">
1191 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <button style="main_button_full_width">
1196 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 <action function="page">wipe</action>
1199 </button>
1200
1201 <button style="main_button_full_width">
1202 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 <actions>
1205 <action function="set">partitionlisterror=0</action>
1206 <action function="page">advancedwipe</action>
1207 </actions>
1208 </button>
1209
1210 <button>
1211 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1212 <highlight color="%highlight_color%"/>
1213 <image resource="q_btn_arrow_right"/>
1214 <action function="page">wipe_type2</action>
1215 </button>
1216
1217 <action>
1218 <touch key="home"/>
1219 <action function="page">main</action>
1220 </action>
1221
1222 <action>
1223 <touch key="back"/>
1224 <action function="page">main</action>
1225 </action>
1226 </page>
1227
1228 <page name="wipe_type2">
1229 <template name="page"/>
1230
1231 <template name="statusbar"/>
1232
1233 <text style="text_m">
1234 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <button style="main_button_full_width">
1239 <condition var1="tw_has_data_media" var2="1"/>
1240 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 <action function="page">formatdata</action>
1243 </button>
1244
1245 <button style="main_button_full_width">
1246 <conditions>
1247 <condition var1="tw_is_encrypted" var2="1"/>
1248 <condition var1="tw_has_data_media" var2="0"/>
1249 </conditions>
1250 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 <actions>
1253 <action function="set">tw_back=wipe</action>
1254 <action function="set">tw_action=wipe</action>
1255 <action function="set">tw_action_param=DATAMEDIA</action>
1256 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001258 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001259 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1260 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1261 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <action function="page">confirm_action</action>
1263 </actions>
1264 </button>
1265
1266 <button style="main_button_full_width">
1267 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001269 <action function="set">partitionlisterror=0</action>
1270 <action function="page">partitionoptions_select</action>
1271 </actions>
1272 </button>
1273
1274 <button>
1275 <placement x="%col1_x_left%" y="%row11_y%"/>
1276 <highlight color="%highlight_color%"/>
1277 <image resource="q_btn_arrow_left"/>
1278 <action function="page">wipe_type1</action>
1279 </button>
1280
1281 <action>
1282 <touch key="home"/>
1283 <action function="page">main</action>
1284 </action>
1285
1286 <action>
1287 <touch key="back"/>
1288 <action function="page">main</action>
1289 </action>
1290 </page>
1291
1292 <page name="wipe">
1293 <template name="page"/>
1294
1295 <template name="statusbar"/>
1296
1297 <text style="text_m">
1298 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001300 </text>
1301
1302 <text style="text_m_accent">
1303 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <text style="text_m_accent">
1308 <condition var1="tw_has_data_media" var2="1"/>
1309 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 </text>
1312
1313 <text style="text_m_accent">
1314 <conditions>
1315 <condition var1="tw_has_android_secure" var2="1"/>
1316 <condition var1="fileexists" var2="/and-sec"/>
1317 </conditions>
1318 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001320 </text>
1321
1322 <text style="text_m_accent">
1323 <condition var1="tw_has_sdext_partition" var2="1"/>
1324 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001325 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001326 </text>
1327
1328 <text style="text_m">
1329 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 </text>
1332
1333 <text style="text_m">
1334 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001335 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001336 </text>
1337
1338 <text style="text_m">
1339 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 </text>
1342
1343 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 <actions>
1346 <action function="set">tw_back=wipe</action>
1347 <action function="set">tw_action=wipe</action>
1348 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1350 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">action_page</action>
1352 </actions>
1353 </slider>
1354
1355 <action>
1356 <touch key="back"/>
1357 <action function="page">wipe_type1</action>
1358 </action>
1359
1360 <action>
1361 <touch key="home"/>
1362 <action function="page">main</action>
1363 </action>
1364 </page>
1365
1366 <page name="advancedwipe">
1367 <action>
1368 <action function="set">tw_wipe_list=</action>
1369 </action>
1370
1371 <template name="page"/>
1372
1373 <template name="statusbar"/>
1374
1375 <text style="text_m">
1376 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <partitionlist style="partitionlist_headerless_cb">
1381 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1382 <data name="tw_wipe_list"/>
1383 <listtype name="wipe"/>
1384 </partitionlist>
1385
1386 <fill color="%accent_color%">
1387 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1388 </fill>
1389
1390 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001392 <actions>
1393 <action function="set">tw_back=advancedwipe</action>
1394 <action function="set">tw_action=wipe</action>
1395 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1397 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1398 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001399 <action function="page">action_page</action>
1400 </actions>
1401 </slider>
1402
1403 <action>
1404 <touch key="home"/>
1405 <action function="page">main</action>
1406 </action>
1407
1408 <action>
1409 <touch key="back"/>
1410 <action function="page">wipe_type1</action>
1411 </action>
1412 </page>
1413
1414 <page name="formatdata">
1415 <template name="page"/>
1416
1417 <template name="statusbar"/>
1418
1419 <text style="text_m">
1420 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001421 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001422 </text>
1423
1424 <text style="text_m_fail">
1425 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001426 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001427 </text>
1428
1429 <text style="text_m_fail">
1430 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001431 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001432 </text>
1433
1434 <text style="text_m">
1435 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001436 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001437 </text>
1438
1439 <input>
1440 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1441 <text>%tw_confirm_formatdata%</text>
1442 <data name="tw_confirm_formatdata"/>
1443 <restrict minlen="3" maxlen="3" allow="yes"/>
1444 <action function="page">formatdata_confirm</action>
1445 </input>
1446
1447 <fill color="%accent_color%">
1448 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1449 </fill>
1450
1451 <template name="keyboardtemplate"/>
1452
1453 <action>
1454 <touch key="home"/>
1455 <action function="page">main</action>
1456 </action>
1457
1458 <action>
1459 <touch key="back"/>
1460 <action function="page">wipe_type2</action>
1461 </action>
1462 </page>
1463
1464 <page name="formatdata_confirm">
1465 <action>
1466 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1467 <actions>
1468 <action function="set">tw_back=formatdata</action>
1469 <action function="set">tw_action=wipe</action>
1470 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1472 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001473 <action function="page">action_page</action>
1474 </actions>
1475 </action>
1476
1477 <action>
1478 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1479 <action function="page">formatdata</action>
1480 </action>
1481 </page>
1482
1483 <page name="checkpartitionlist">
1484 <action>
1485 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1486 <actions>
1487 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001488 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001489 <action function="page">partitionoptions</action>
1490 </actions>
1491 </action>
1492
1493 <action>
1494 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1495 <actions>
1496 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001497 <action function="page">partitionoptions_select</action>
1498 </actions>
1499 </action>
1500 </page>
1501
1502 <page name="partitionoptions_select">
1503 <action>
1504 <action function="set">tw_wipe_list=</action>
1505 </action>
1506
1507 <template name="page"/>
1508
1509 <template name="statusbar"/>
1510
1511 <text style="text_m">
1512 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001514 </text>
1515
1516 <partitionlist style="partitionlist_headerless_cb">
1517 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1518 <data name="tw_wipe_list"/>
1519 <listtype name="wipe"/>
1520 </partitionlist>
1521
1522 <fill color="%accent_color%">
1523 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1524 </fill>
1525
z31s1g28f0a922015-11-07 18:50:22 +01001526 <text style="text_m_fail">
1527 <condition var1="partitionlisterror" var2="1"/>
1528 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001530 </text>
1531
1532 <button>
1533 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1534 <highlight color="%highlight_color%"/>
1535 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001536 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001537 <action function="page">checkpartitionlist</action>
1538 </actions>
1539 </button>
1540
1541 <action>
1542 <touch key="home"/>
1543 <action function="page">main</action>
1544 </action>
1545
1546 <action>
1547 <touch key="back"/>
1548 <action function="page">wipe_type2</action>
1549 </action>
1550 </page>
1551
1552 <page name="partitionoptions">
1553
1554 <template name="page"/>
1555
1556 <template name="statusbar"/>
1557
1558 <text style="text_m">
1559 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001560 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001561 </text>
1562
1563 <text style="text_m_accent">
1564 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001566 </text>
1567
1568 <text style="text_m_accent">
1569 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001570 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001571 </text>
1572
1573 <text style="text_m">
1574 <condition var1="tw_partition_is_present" var2="1"/>
1575 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001576 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001577 </text>
1578
1579 <text style="text_m">
1580 <condition var1="tw_partition_is_present" var2="0"/>
1581 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 </text>
1584
1585 <text style="text_m">
1586 <condition var1="tw_partition_removable" var2="1"/>
1587 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 </text>
1590
1591 <text style="text_m">
1592 <condition var1="tw_partition_removable" var2="0"/>
1593 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 </text>
1596
1597 <text style="text_m">
1598 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001599 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001600 </text>
1601
1602 <text style="text_m">
1603 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001604 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001605 </text>
1606
1607 <text style="text_m">
1608 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 </text>
1611
1612 <text style="text_m">
1613 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001614 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001615 </text>
1616
1617 <button style="main_button">
1618 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1619 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001620 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001621 <actions>
1622 <action function="set">tw_back=partitionoptions</action>
1623 <action function="set">tw_action=resize</action>
1624 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1625 <action function="set">tw_has_action2=1</action>
1626 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001627 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001629 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1631 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1632 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001633 <action function="page">confirm_action</action>
1634 </actions>
1635 </button>
1636
1637 <button style="main_button">
1638 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1639 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 <actions>
1642 <action function="set">tw_back=partitionoptions</action>
1643 <action function="set">tw_action=repair</action>
1644 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1645 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001647 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1649 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1650 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001651 <action function="page">confirm_action</action>
1652 </actions>
1653 </button>
1654
1655 <button>
1656 <placement x="%col1_x_left%" y="%row11_y%"/>
1657 <highlight color="%highlight_color%"/>
1658 <image resource="q_btn_arrow_left"/>
1659 <action function="page">partitionoptions_select</action>
1660 </button>
1661
1662 <button style="main_button">
1663 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 <action function="page">selectfilesystem</action>
1666 </button>
1667
1668 <action>
1669 <touch key="home"/>
1670 <action function="page">main</action>
1671 </action>
1672
1673 <action>
1674 <touch key="back"/>
1675 <action function="page">partitionoptions_select</action>
1676 </action>
1677 </page>
1678
1679 <page name="refreshfilesystem">
1680 <action>
1681 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1682 <actions>
1683 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001684 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <action function="page">selectfilesystem</action>
1686 </actions>
1687 </action>
1688
1689 <action>
1690 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1691 <actions>
1692 <action function="set">partitionlisterror=1</action>
1693 <action function="set">tw_wipe_list=</action>
1694 <action function="page">advancedwipe</action>
1695 </actions>
1696 </action>
1697 </page>
1698
1699 <page name="selectfilesystem">
1700 <template name="page"/>
1701
1702 <template name="statusbar"/>
1703
1704 <text style="text_m">
1705 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <button style="main_button">
1710 <condition var1="tw_partition_ext" op="=" var2="1"/>
1711 <placement x="%col1_x_left%" y="%row1_y%"/>
1712 <text>EXT2</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=ext2</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=EXT2</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_ext" op="=" var2="1"/>
1732 <placement x="%col1_x_left%" y="%row6_y%"/>
1733 <text>EXT3</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=ext3</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=EXT3</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_ext" op="=" var2="1"/>
1753 <placement x="%col1_x_left%" y="%row11_y%"/>
1754 <text>EXT4</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=ext4</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=EXT4</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 <button style="main_button">
1773 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1774 <placement x="%col1_x_right%" y="%row1_y%"/>
1775 <text>FAT</text>
1776 <actions>
1777 <action function="set">tw_back=refreshfilesystem</action>
1778 <action function="set">tw_action=changefilesystem</action>
1779 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1780 <action function="set">tw_action_new_file_system=vfat</action>
1781 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001782 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1783 <action function="set">tw_text2=FAT</action>
1784 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1785 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1786 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1787 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1788 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001789 <action function="page">confirm_action</action>
1790 </actions>
1791 </button>
1792
1793 <button style="main_button">
1794 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1795 <placement x="%col1_x_right%" y="%row6_y%"/>
1796 <text>exFAT</text>
1797 <actions>
1798 <action function="set">tw_back=refreshfilesystem</action>
1799 <action function="set">tw_action=changefilesystem</action>
1800 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1801 <action function="set">tw_action_new_file_system=exfat</action>
1802 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1804 <action function="set">tw_text2=exFAT</action>
1805 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1806 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1807 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1808 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1809 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001810 <action function="page">confirm_action</action>
1811 </actions>
1812 </button>
1813
1814 <button style="main_button">
1815 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1816 <placement x="%col1_x_right%" y="%row11_y%"/>
1817 <text>F2FS</text>
1818 <actions>
1819 <action function="set">tw_back=refreshfilesystem</action>
1820 <action function="set">tw_action=changefilesystem</action>
1821 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1822 <action function="set">tw_action_new_file_system=f2fs</action>
1823 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001824 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1825 <action function="set">tw_text2=F2FS</action>
1826 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1827 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1828 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1829 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1830 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001831 <action function="page">confirm_action</action>
1832 </actions>
1833 </button>
1834
1835 <action>
1836 <touch key="home"/>
1837 <action function="page">main</action>
1838 </action>
1839
1840 <action>
1841 <touch key="back"/>
1842 <action function="page">partitionoptions</action>
1843 </action>
1844 </page>
1845
bigbiffce8f83c2015-12-12 18:30:21 -05001846 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001847 <template name="page"/>
1848
1849 <template name="statusbar"/>
1850
1851 <text style="text_m">
1852 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <partitionlist style="partitionlist_headerless_rb">
1857 <data name="tw_storage_path"/>
1858 <listtype name="storage"/>
1859 </partitionlist>
1860
1861 <button>
1862 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1863 <highlight color="%highlight_color%"/>
1864 <image resource="q_btn_refresh"/>
1865 <actions>
1866 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001867 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001868 </actions>
1869 </button>
1870
1871 <button>
1872 <condition var1="tw_back" var2="backup_confirm"/>
1873 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1874 <highlight color="%highlight_color%"/>
1875 <image resource="q_btn_accept"/>
1876 <action function="page">backup_confirm</action>
1877 </button>
1878
1879 <button>
1880 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1881 <highlight color="%highlight_color%"/>
1882 <image resource="q_btn_arrow_right"/>
1883 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001884 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001885 <action function="page">backup_selectpartitions</action>
1886 </actions>
1887 </button>
1888
1889 <action>
1890 <touch key="home"/>
1891 <action function="page">main</action>
1892 </action>
1893
1894 <action>
1895 <touch key="back"/>
1896 <action function="page">%tw_back%</action>
1897 </action>
1898
1899 <action>
1900 <touch key="power+voldown"/>
1901 <action function="screenshot"/>
1902 </action>
1903 </page>
1904
1905 <page name="backup_selectpartitions">
1906 <template name="page"/>
1907
1908 <template name="statusbar"/>
1909
1910 <text style="text_m">
1911 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </text>
1914
1915 <partitionlist style="partitionlist_headerless_cb">
1916 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1917 <data name="tw_backup_list"/>
1918 <listtype name="backup"/>
1919 </partitionlist>
1920
1921 <fill color="%accent_color%">
1922 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1923 </fill>
1924
1925 <button>
1926 <placement x="%col1_x_left%" y="%row11_y%"/>
1927 <highlight color="%highlight_color%"/>
1928 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001929 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001930 </button>
1931
1932 <button>
1933 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1934 <highlight color="%highlight_color%"/>
1935 <image resource="q_btn_refresh"/>
1936 <action function="page">backup_selectpartitions</action>
1937 </button>
1938
1939 <button>
1940 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1941 <highlight color="%highlight_color%"/>
1942 <image resource="q_btn_accept"/>
1943 <action function="page">backup_confirm</action>
1944 </button>
1945
1946 <button>
1947 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1948 <highlight color="%highlight_color%"/>
1949 <image resource="q_btn_arrow_right"/>
1950 <actions>
1951 <action function="set">tw_back=backup_selectpartitions</action>
1952 <action function="page">backup_options</action>
1953 </actions>
1954 </button>
1955
1956 <action>
1957 <touch key="home"/>
1958 <action function="page">main</action>
1959 </action>
1960
1961 <action>
1962 <touch key="back"/>
1963 <action function="page">%tw_back%</action>
1964 </action>
1965
1966 <action>
1967 <touch key="power+voldown"/>
1968 <action function="screenshot"/>
1969 </action>
1970 </page>
1971
1972 <page name="backup_options">
1973 <template name="page"/>
1974
1975 <template name="statusbar"/>
1976
1977 <text style="text_m">
1978 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 </text>
1981
1982 <listbox style="scrolllist">
1983 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001984 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001985 <data variable="tw_use_compression"/>
1986 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001987 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001988 <data variable="tw_skip_md5_generate"/>
1989 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001990 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001991 <data variable="tw_disable_free_space"/>
1992 </listitem>
1993 </listbox>
1994
1995 <button>
1996 <placement x="%col1_x_left%" y="%row11_y%"/>
1997 <highlight color="%highlight_color%"/>
1998 <image resource="q_btn_arrow_left"/>
1999 <action function="page">backup_selectpartitions</action>
2000 </button>
2001
2002 <button>
2003 <conditions>
2004 <condition var1="tw_include_encrypted_backup" var2="1"/>
2005 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002006 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002007 </conditions>
2008 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2009 <highlight color="%highlight_color%"/>
2010 <image resource="q_btn_encryption_dis"/>
2011 <actions>
2012 <action function="set">tw_password_not_match=0</action>
2013 <action function="set">tw_back=backup_options</action>
2014 <action function="page">backupencryption</action>
2015 </actions>
2016 </button>
2017
2018 <button>
2019 <conditions>
2020 <condition var1="tw_include_encrypted_backup" var2="1"/>
2021 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002022 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002023 </conditions>
2024 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2025 <highlight color="%highlight_color%"/>
2026 <image resource="q_btn_encryption_en"/>
2027 <actions>
2028 <action function="set">tw_password_not_match=0</action>
2029 <action function="set">tw_back=backup_options</action>
2030 <action function="page">backupencryption</action>
2031 </actions>
2032 </button>
2033
2034 <button>
2035 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2036 <highlight color="%highlight_color%"/>
2037 <image resource="q_btn_accept_transp"/>
2038 <actions>
2039 <action function="set">tw_back=backup_options</action>
2040 <action function="page">backup_confirm</action>
2041 </actions>
2042 </button>
2043
2044 <action>
2045 <touch key="home"/>
2046 <action function="page">main</action>
2047 </action>
2048
2049 <action>
2050 <touch key="back"/>
2051 <action function="page">%tw_back%</action>
2052 </action>
2053
2054 <action>
2055 <touch key="power+voldown"/>
2056 <action function="screenshot"/>
2057 </action>
2058 </page>
2059
2060 <page name="backup_confirm">
2061 <template name="page"/>
2062
2063 <template name="statusbar"/>
2064
2065 <text style="text_m">
2066 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002067 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002068 </text>
2069
2070 <text style="text_m_accent">
2071 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002072 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002073 </text>
2074
2075 <text style="text_m">
2076 <placement x="%col1_x_left%" y="%row2_y%"/>
2077 <text>%tw_backup_name%</text>
2078 </text>
2079
2080 <fill color="%accent_color%">
2081 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2082 </fill>
2083
2084 <button>
2085 <fill color="%transparent%"/>
2086 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2087 <actions>
2088 <action function="set">tw_back=backup_confirm</action>
2089 <action function="set">tw_fileexists=0</action>
2090 <action function="page">backup_name1</action>
2091 </actions>
2092 </button>
2093
2094 <fill color="%background_color%">
2095 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2096 </fill>
2097
2098 <text style="text_m_accent">
2099 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002100 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002101 </text>
2102
2103 <partitionlist style="partitionlist_summary">
2104 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2105 <data name="tw_backup_list"/>
2106 <listtype name="backup"/>
2107 </partitionlist>
2108
2109 <button>
2110 <fill color="%transparent%"/>
2111 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2112 <actions>
2113 <action function="set">tw_back=backup_confirm</action>
2114 <action function="page">backup_selectpartitions</action>
2115 </actions>
2116 </button>
2117
2118 <text style="text_m_accent">
2119 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002120 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002121 </text>
2122
2123 <text style="text_m">
2124 <placement x="%col1_x_right%" y="%row2_y%"/>
2125 <text>%tw_storage_display_name%</text>
2126 </text>
2127
2128 <button>
2129 <fill color="%transparent%"/>
2130 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2131 <actions>
2132 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002133 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </actions>
2135 </button>
2136
2137 <text style="text_m_accent">
2138 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <text style="text_m">
2143 <conditions>
2144 <condition var1="tw_include_encrypted_backup" var2="1"/>
2145 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002146 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002147 </conditions>
2148 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002149 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002150 </text>
2151
2152 <text style="text_m">
2153 <conditions>
2154 <condition var1="tw_include_encrypted_backup" var2="1"/>
2155 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002156 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002157 </conditions>
2158 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 </text>
2161
2162 <button>
2163 <fill color="%transparent%"/>
2164 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2165 <actions>
2166 <action function="set">tw_back=backup_confirm</action>
2167 <action function="page">backupencryption</action>
2168 </actions>
2169 </button>
2170
2171 <listbox style="listbox_options">
2172 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002173 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002174 <data variable="tw_use_compression"/>
2175 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002176 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002177 <data variable="tw_skip_md5_generate"/>
2178 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002179 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002180 <data variable="tw_disable_free_space"/>
2181 </listitem>
2182 </listbox>
2183
2184 <text style="text_m_accent">
2185 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 </text>
2188
2189 <button>
2190 <fill color="%transparent%"/>
2191 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2192 <actions>
2193 <action function="set">tw_back=backup_confirm</action>
2194 <action function="page">backup_options</action>
2195 </actions>
2196 </button>
2197
2198 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <action function="page">backup_run</action>
2201 </slider>
2202
2203 <action>
2204 <touch key="home"/>
2205 <action function="page">main</action>
2206 </action>
2207
2208 <action>
2209 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002210 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002211 </action>
2212 </page>
2213
2214 <page name="backup_name1">
2215 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002216 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002217 <action function="generatebackupname"/>
2218 </action>
2219
2220 <action>
2221 <action function="page">backup_name2</action>
2222 </action>
2223 </page>
2224
2225 <page name="backup_name2">
2226 <template name="page"/>
2227
2228 <template name="statusbar"/>
2229
2230 <text style="text_m">
2231 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002232 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002233 </text>
2234
2235 <text style="text_m_accent">
2236 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002237 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002238 </text>
2239
2240 <input>
2241 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2242 <text>%tw_backup_name%</text>
2243 <data name="tw_backup_name"/>
2244 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2245 <actions>
2246 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2247 <action function="set">tw_existpage=backup_name2</action>
2248 <action function="set">tw_notexistpage=backup_confirm</action>
2249 <action function="page">filecheck</action>
2250 </actions>
2251 </input>
2252
2253 <fill color="%accent_color%">
2254 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2255 </fill>
2256
2257 <fill color="%text_fail_color%">
2258 <condition var1="tw_fileexists" var2="1"/>
2259 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2260 </fill>
2261
2262 <text style="text_m_fail">
2263 <condition var1="tw_fileexists" var2="1"/>
2264 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002265 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002266 </text>
2267
2268 <button style="main_button_half_height">
2269 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002273 <action function="page">backup_confirm</action>
2274 </actions>
2275 </button>
2276
2277 <button style="main_button_half_height">
2278 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 <action function="appenddatetobackupname"/>
2281 </button>
2282
2283 <template name="keyboardtemplate"/>
2284
2285 <action>
2286 <touch key="home"/>
2287 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <action function="page">main</action>
2290 </actions>
2291 </action>
2292
2293 <action>
2294 <touch key="back"/>
2295 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002297 <action function="page">backup_confirm</action>
2298 </actions>
2299 </action>
2300 </page>
2301
2302 <page name="backupencryption">
2303 <template name="page"/>
2304
2305 <template name="statusbar"/>
2306
2307 <text style="text_m">
2308 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002309 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002310 </text>
2311
2312 <text style="text_m_accent">
2313 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 </text>
2316
2317 <input>
2318 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2319 <text>%tw_backup_encrypt_display%</text>
2320 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2321 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2322 <action function="page">backupencryption2</action>
2323 </input>
2324
2325 <fill color="%accent_color%">
2326 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2327 </fill>
2328
2329 <fill color="%text_fail_color%">
2330 <condition var1="tw_password_not_match" var2="1"/>
2331 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2332 </fill>
2333
2334 <text style="text_m_fail">
2335 <condition var1="tw_password_not_match" var2="1"/>
2336 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002337 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002338 </text>
2339
2340 <button style="main_button_half_height">
2341 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002342 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002343 <actions>
2344 <action function="set">tw_encrypt_backup=0</action>
2345 <action function="set">tw_backup_password=</action>
2346 <action function="set">tw_backup_password2=</action>
2347 <action function="set">tw_backup_encrypt_display=</action>
2348 <action function="set">tw_backup_encrypt_display2=</action>
2349 <action function="page">%tw_back%</action>
2350 </actions>
2351 </button>
2352
2353 <template name="keyboardtemplate"/>
2354
2355 <action>
2356 <touch key="home"/>
2357 <action function="page">main</action>
2358 </action>
2359
2360 <action>
2361 <touch key="back"/>
2362 <action function="page">%tw_back%</action>
2363 </action>
2364 </page>
2365
2366 <page name="backupencryption2">
2367 <template name="page"/>
2368
2369 <template name="statusbar"/>
2370
2371 <text style="text_m">
2372 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002374 </text>
2375
2376 <text style="text_m_accent">
2377 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 </text>
2380
2381 <input>
2382 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2383 <text>%tw_backup_encrypt_display2%</text>
2384 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2385 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2386 <action function="page">checkbackuppassword</action>
2387 </input>
2388
2389 <fill color="%accent_color%">
2390 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2391 </fill>
2392
2393 <button style="main_button_half_height">
2394 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002395 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002396 <actions>
2397 <action function="set">tw_encrypt_backup=0</action>
2398 <action function="set">tw_backup_password=</action>
2399 <action function="set">tw_backup_password2=</action>
2400 <action function="set">tw_backup_encrypt_display=</action>
2401 <action function="set">tw_backup_encrypt_display2=</action>
2402 <action function="page">%tw_back%</action>
2403 </actions>
2404 </button>
2405
2406 <template name="keyboardtemplate"/>
2407
2408 <action>
2409 <touch key="home"/>
2410 <action function="page">main</action>
2411 </action>
2412
2413 <action>
2414 <touch key="back"/>
2415 <action function="page">%tw_back%</action>
2416 </action>
2417 </page>
2418
2419 <page name="checkbackuppassword">
2420 <action>
2421 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2422 <actions>
2423 <action function="set">tw_encrypt_backup=1</action>
2424 <action function="page">%tw_back%</action>
2425 </actions>
2426 </action>
2427
2428 <action>
2429 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2430 <actions>
2431 <action function="set">tw_encrypt_backup=0</action>
2432 <action function="set">tw_password_not_match=1</action>
2433 <action function="set">tw_backup_password=</action>
2434 <action function="set">tw_backup_password2=</action>
2435 <action function="set">tw_backup_encrypt_display=</action>
2436 <action function="set">tw_backup_encrypt_display2=</action>
2437 <action function="page">backupencryption</action>
2438 </actions>
2439 </action>
2440 </page>
2441
2442 <page name="backup_run">
2443 <template name="page"/>
2444
2445 <template name="statusbar"/>
2446
2447 <text style="text_m">
2448 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2449 <text>%tw_operation% %tw_partition%</text>
2450 </text>
2451
2452 <template name="console"/>
2453
2454 <template name="progress_bar"/>
2455
2456 <text style="text_m">
2457 <placement x="%indent%" y="%row13a_y%"/>
2458 <text>%tw_file_progress%</text>
2459 </text>
2460
2461 <text style="text_m">
2462 <placement x="%indent%" y="%row14a_y%"/>
2463 <text>%tw_size_progress%</text>
2464 </text>
2465
2466 <button style="main_button_half_height">
2467 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <action function="cancelbackup"/>
2470 </button>
2471
2472 <action>
2473 <action function="nandroid">backup</action>
2474 </action>
2475
2476 <action>
2477 <condition var1="tw_operation_state" var2="1"/>
2478 <condition var1="tw_cancel_backup" var2="0"/>
2479 <actions>
2480 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002481 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002482 <action function="set">tw_show_reboot=1</action>
2483 <action function="page">action_complete</action>
2484 </actions>
2485 </action>
2486
2487 <action>
2488 <condition var1="tw_operation_state" var2="1"/>
2489 <condition var1="tw_cancel_backup" var2="1"/>
2490 <actions>
2491 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002492 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002493 <action function="set">tw_show_reboot=1</action>
2494 <action function="page">action_complete</action>
2495 </actions>
2496 </action>
2497 </page>
2498
2499 <page name="restore">
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; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <fileselector>
2510 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2511 <text>%tw_storage_display_name%</text>
2512 <filter folders="1" files="0" nav="0"/>
2513 <path name="tw_backups_folder"/>
2514 <data name="tw_restore" default=""/>
2515 <selection name="tw_restore_name"/>
2516 </fileselector>
2517
2518 <button>
2519 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2520 <highlight color="%highlight_color%"/>
2521 <image resource="q_btn_storage"/>
2522 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002523 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002524 <action function="set">tw_back=restore</action>
2525 <action function="page">select_storage</action>
2526 </actions>
2527 </button>
2528
2529 <action>
2530 <condition var1="tw_restore" op="modified"/>
2531 <actions>
2532 <action function="readBackup"/>
2533 <action function="set">tw_back=restore</action>
2534 <action function="page">restore_read</action>
2535 </actions>
2536 </action>
2537
2538 <action>
2539 <touch key="home"/>
2540 <action function="page">main</action>
2541 </action>
2542
2543 <action>
2544 <touch key="back"/>
2545 <action function="page">main</action>
2546 </action>
2547 </page>
2548
2549 <page name="restore_read">
2550 <action>
2551 <condition var1="tw_restore_encrypted" var2="1"/>
2552 <actions>
2553 <action function="set">tw_password_fail=0</action>
2554 <action function="page">restore_decrypt</action>
2555 </actions>
2556 </action>
2557
2558 <action>
2559 <condition var1="tw_restore_encrypted" var2="0"/>
2560 <actions>
2561 <action function="page">restore_select</action>
2562 </actions>
2563 </action>
2564 </page>
2565
2566 <page name="restore_decrypt">
2567 <template name="page"/>
2568
2569 <template name="statusbar"/>
2570
2571 <text style="text_m">
2572 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002573 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002574 </text>
2575
2576 <text style="text_m_accent">
2577 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002578 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002579 </text>
2580
2581 <input>
2582 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2583 <text>%tw_restore_display%</text>
2584 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2585 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2586 <action function="page">try_restore_decrypt</action>
2587 </input>
2588
2589 <fill color="%accent_color%">
2590 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2591 </fill>
2592
2593 <fill color="%text_fail_color%">
2594 <condition var1="tw_password_fail" var2="1"/>
2595 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2596 </fill>
2597
2598 <text style="text_m_fail">
2599 <condition var1="tw_password_fail" var2="1"/>
2600 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002601 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002602 </text>
2603
2604 <button style="main_button_half_height">
2605 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <actions>
2608 <action function="set">tw_page_done=1</action>
2609 <action function="page">restore</action>
2610 </actions>
2611 </button>
2612
2613 <button style="main_button_half_height">
2614 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002615 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002616 <actions>
2617 <action function="set">tw_back=restore</action>
2618 <action function="set">tw_action=cmd</action>
2619 <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 -05002620 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2621 <action function="set">tw_text2=%tw_restore_name%</action>
2622 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2623 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2624 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2625 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="page">confirm_action</action>
2627 </actions>
2628 </button>
2629
2630 <template name="keyboardtemplate"/>
2631
2632 <action>
2633 <touch key="home"/>
2634 <action function="page">main</action>
2635 </action>
2636
2637 <action>
2638 <touch key="back"/>
2639 <action function="page">restore</action>
2640 </action>
2641 </page>
2642
2643 <page name="try_restore_decrypt">
2644 <template name="page"/>
2645
2646 <template name="statusbar"/>
2647
2648 <text style="text_m">
2649 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 </text>
2652
2653 <template name="console"/>
2654
2655 <template name="progress_bar"/>
2656
2657 <action>
2658 <action function="decrypt_backup"/>
2659 </action>
2660
2661 <action>
2662 <conditions>
2663 <condition var1="tw_operation_state" var2="1"/>
2664 <condition var1="tw_operation_status" op="!=" var2="0"/>
2665 </conditions>
2666 <actions>
2667 <action function="set">tw_password_fail=1</action>
2668 <action function="page">restore_decrypt</action>
2669 </actions>
2670 </action>
2671
2672 <action>
2673 <conditions>
2674 <condition var1="tw_operation_state" var2="1"/>
2675 <condition var1="tw_operation_status" op="=" var2="0"/>
2676 </conditions>
2677 <actions>
2678 <action function="set">tw_page_done=1</action>
2679 <action function="page">restore_select</action>
2680 </actions>
2681 </action>
2682 </page>
2683
2684 <page name="restore_select">
2685 <template name="page"/>
2686
2687 <template name="statusbar"/>
2688
2689 <text style="text_m">
2690 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002691 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002692 </text>
2693
2694 <partitionlist style="partitionlist_headerless_cb">
2695 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2696 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2697 <listtype name="restore"/>
2698 </partitionlist>
2699
2700 <fill color="%accent_color%">
2701 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2702 </fill>
2703
2704 <button>
2705 <placement x="%col1_x_left%" y="%row11_y%"/>
2706 <highlight color="%highlight_color%"/>
2707 <image resource="q_btn_arrow_left"/>
2708 <action function="page">restore</action>
2709 </button>
2710
2711 <button>
2712 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2713 <highlight color="%highlight_color%"/>
2714 <image resource="q_btn_delete"/>
2715 <actions>
2716 <action function="set">tw_back=restore</action>
2717 <action function="set">tw_action=cmd</action>
2718 <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 -05002719 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002720 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002721 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2722 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2723 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2724 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002725 <action function="page">confirm_action</action>
2726 </actions>
2727 </button>
2728
2729 <button>
2730 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2731 <highlight color="%highlight_color%"/>
2732 <image resource="q_btn_accept"/>
2733 <action function="page">restore_confirm</action>
2734 </button>
2735
2736 <button>
2737 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2738 <highlight color="%highlight_color%"/>
2739 <image resource="q_btn_arrow_right"/>
2740 <actions>
2741 <action function="set">tw_back=restore_select</action>
2742 <action function="page">restore_options</action>
2743 </actions>
2744 </button>
2745
2746 <action>
2747 <touch key="home"/>
2748 <action function="page">main</action>
2749 </action>
2750
2751 <action>
2752 <touch key="back"/>
2753 <action function="page">%tw_back%</action>
2754 </action>
2755 </page>
2756
2757 <page name="restore_options">
2758 <template name="page"/>
2759
2760 <template name="statusbar"/>
2761
2762 <text style="text_m">
2763 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002764 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002765 </text>
2766
2767 <listbox style="scrolllist">
2768 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002769 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002770 <data variable="tw_skip_md5_check"/>
2771 </listitem>
2772 </listbox>
2773
2774 <button>
2775 <placement x="%col1_x_left%" y="%row11_y%"/>
2776 <highlight color="%highlight_color%"/>
2777 <image resource="q_btn_arrow_left"/>
2778 <action function="page">restore_select</action>
2779 </button>
2780
2781 <button>
2782 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2783 <highlight color="%highlight_color%"/>
2784 <image resource="q_btn_accept_transp"/>
2785 <actions>
2786 <action function="set">tw_back=restore_options</action>
2787 <action function="page">restore_confirm</action>
2788 </actions>
2789 </button>
2790
2791 <action>
2792 <touch key="home"/>
2793 <action function="page">main</action>
2794 </action>
2795
2796 <action>
2797 <touch key="back"/>
2798 <action function="page">%tw_back%</action>
2799 </action>
2800
2801 <action>
2802 <touch key="power+voldown"/>
2803 <action function="screenshot"/>
2804 </action>
2805 </page>
2806
2807 <page name="renamebackup">
2808 <template name="page"/>
2809
2810 <template name="statusbar"/>
2811
2812 <text style="text_m">
2813 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002815 </text>
2816
2817 <text style="text_m_accent">
2818 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </text>
2821
2822 <input>
2823 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2824 <text>%tw_backup_rename%</text>
2825 <data name="tw_backup_rename"/>
2826 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2827 <actions>
2828 <action function="set">tw_back=restore</action>
2829 <action function="set">tw_action=cmd</action>
2830 <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 -05002831 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2832 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2833 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2834 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2835 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002836 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2837 <action function="set">tw_existpage=renamebackup</action>
2838 <action function="set">tw_notexistpage=confirm_action</action>
2839 <action function="page">filecheck</action>
2840 </actions>
2841 </input>
2842
2843 <fill color="%accent_color%">
2844 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2845 </fill>
2846
2847 <fill color="%text_fail_color%">
2848 <condition var1="tw_fileexists" var2="1"/>
2849 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2850 </fill>
2851
2852 <text style="text_m_fail">
2853 <condition var1="tw_fileexists" var2="1"/>
2854 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002855 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002856 </text>
2857
2858 <button style="main_button_half_height">
2859 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 <action function="page">restore_confirm</action>
2862 </button>
2863
2864 <template name="keyboardtemplate"/>
2865
2866 <action>
2867 <touch key="home"/>
2868 <action function="page">main</action>
2869 </action>
2870
2871 <action>
2872 <touch key="back"/>
2873 <action function="page">restore_confirm</action>
2874 </action>
2875 </page>
2876
2877 <page name="restore_confirm">
2878 <template name="page"/>
2879
2880 <template name="statusbar"/>
2881
2882 <text style="text_m">
2883 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <text style="text_m_accent">
2888 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </text>
2891
2892 <text style="text_m">
2893 <placement x="%indent%" y="%row2_y%"/>
2894 <text>%tw_restore_name%</text>
2895 </text>
2896
2897 <fill color="%accent_color%">
2898 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2899 </fill>
2900
2901 <button>
2902 <fill color="%transparent%"/>
2903 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2904 <actions>
2905 <action function="set">tw_back=restore_confirm</action>
2906 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2907 <action function="set">tw_fileexists=0</action>
2908 <action function="page">renamebackup</action>
2909 </actions>
2910 </button>
2911
2912 <text style="text_m_accent">
2913 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 </text>
2916
2917 <partitionlist style="partitionlist_summary">
2918 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2919 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2920 <listtype name="restore"/>
2921 </partitionlist>
2922
2923 <button>
2924 <fill color="%transparent%"/>
2925 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2926 <actions>
2927 <action function="set">tw_back=restore_confirm</action>
2928 <action function="page">restore_select</action>
2929 </actions>
2930 </button>
2931
2932 <listbox style="listbox_options">
2933 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002934 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002935 <data variable="tw_skip_md5_check"/>
2936 </listitem>
2937 </listbox>
2938
2939 <text style="text_m_accent">
2940 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 </text>
2943
2944 <button>
2945 <fill color="%transparent%"/>
2946 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2947 <actions>
2948 <action function="set">tw_back=restore_confirm</action>
2949 <action function="page">restore_options</action>
2950 </actions>
2951 </button>
2952
2953 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <action function="page">restore_run</action>
2956 </slider>
2957
2958 <action>
2959 <touch key="home"/>
2960 <action function="page">main</action>
2961 </action>
2962
2963 <action>
2964 <touch key="back"/>
2965 <action function="page">restore_options</action>
2966 </action>
2967 </page>
2968
2969 <page name="restore_run">
2970 <template name="page"/>
2971
2972 <template name="statusbar"/>
2973
2974 <text style="text_m">
2975 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2976 <text>%tw_operation% %tw_partition%</text>
2977 </text>
2978
2979 <template name="console"/>
2980
2981 <template name="progress_bar"/>
2982
2983 <text style="text_m">
2984 <placement x="%indent%" y="%row14a_y%"/>
2985 <text>%tw_size_progress%</text>
2986 </text>
2987
2988 <action>
2989 <condition var1="tw_operation_state" var2="1"/>
2990 <actions>
2991 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06002992 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002993 <action function="set">tw_show_reboot=1</action>
2994 <action function="page">action_complete</action>
2995 </actions>
2996 </action>
2997
2998 <action>
2999 <action function="nandroid">restore</action>
3000 </action>
3001 </page>
3002
3003 <page name="mount">
3004 <template name="page"/>
3005
3006 <template name="statusbar"/>
3007
3008 <text style="text_m">
3009 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003010 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003011 </text>
3012
3013 <partitionlist style="partitionlist_headerless_cb">
3014 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3015 <listtype name="mount"/>
3016 </partitionlist>
3017
3018 <fill color="%accent_color%">
3019 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3020 </fill>
3021
3022 <button style="checkbox">
3023 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3024 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 <image resource="checkbox_false"/>
3027 <action function="mountsystemtoggle">1</action>
3028 </button>
3029
3030 <button style="checkbox">
3031 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3032 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003033 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003034 <image resource="checkbox_true"/>
3035 <actions>
3036 <action function="set">tw_lifetime_writes=2</action>
3037 <action function="page">system_readonly_check</action>
3038 </actions>
3039 </button>
3040
3041 <button style="checkbox">
3042 <conditions>
3043 <condition var1="tw_has_mtp" var2="1"/>
3044 <condition var1="tw_mtp_enabled" var2="0"/>
3045 </conditions>
3046 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3047 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <action function="startmtp"/>
3050 </button>
3051
3052 <button style="checkbox">
3053 <conditions>
3054 <condition var1="tw_has_mtp" var2="1"/>
3055 <condition var1="tw_mtp_enabled" var2="1"/>
3056 </conditions>
3057 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3058 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 <action function="stopmtp"/>
3061 </button>
3062
3063 <button>
3064 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3065 <highlight color="%highlight_color%"/>
3066 <image resource="q_btn_storage"/>
3067 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <action function="set">tw_back=mount</action>
3070 <action function="page">select_storage</action>
3071 </actions>
3072 </button>
3073
3074 <button>
3075 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3076 <highlight color="%highlight_color%"/>
3077 <image resource="q_btn_arrow_right"/>
3078 <action function="page">mount_options</action>
3079 </button>
3080
3081 <action>
3082 <touch key="home"/>
3083 <action function="page">main</action>
3084 </action>
3085
3086 <action>
3087 <touch key="back"/>
3088 <action function="page">main</action>
3089 </action>
3090 </page>
3091
3092 <page name="mount_options">
3093 <template name="page"/>
3094
3095 <template name="statusbar"/>
3096
3097 <text style="text_m">
3098 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 </text>
3101
3102 <button style="main_button_full_width">
3103 <condition var1="tw_has_usb_storage" var2="1"/>
3104 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 <action function="page">usb_mount</action>
3107 </button>
3108
3109 <button style="main_button_full_width">
3110 <conditions>
3111 <condition var1="tw_is_encrypted" var2="1"/>
3112 <condition var1="tw_is_decrypted" var2="0"/>
3113 </conditions>
3114 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 <action function="page">decrypt</action>
3117 </button>
3118
3119 <button>
3120 <placement x="%col1_x_left%" y="%row11_y%"/>
3121 <highlight color="%highlight_color%"/>
3122 <image resource="q_btn_arrow_left"/>
3123 <action function="page">mount</action>
3124 </button>
3125
3126 <action>
3127 <touch key="home"/>
3128 <action function="page">main</action>
3129 </action>
3130
3131 <action>
3132 <touch key="back"/>
3133 <action function="page">mount</action>
3134 </action>
3135 </page>
3136
3137 <page name="usb_mount">
3138 <template name="page"/>
3139
3140 <template name="statusbar"/>
3141
3142 <text style="text_m">
3143 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003144 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </text>
3146
3147 <text style="text_m_accent">
3148 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 </text>
3151
3152 <text style="text_m_fail">
3153 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003155 </text>
3156
3157 <text style="text_m_fail">
3158 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 </text>
3161
3162 <button style="main_button">
3163 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003164 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003165 <action function="page">usb_umount</action>
3166 </button>
3167
3168 <action>
3169 <action function="mount">usb</action>
3170 <action function="set">tw_busy=1</action>
3171 </action>
3172 </page>
3173
3174 <page name="usb_umount">
3175 <action>
3176 <action function="unmount">usb</action>
3177 </action>
3178
3179 <action>
3180 <action function="page">mount_options</action>
3181 <action function="set">tw_busy=0</action>
3182 </action>
3183 </page>
3184
3185 <page name="system_readonly_check">
3186 <action>
3187 <action function="checkpartitionlifetimewrites">/system</action>
3188 </action>
3189
3190 <action>
3191 <condition var1="tw_lifetime_writes" var2="1"/>
3192 <actions>
3193 <action function="mountsystemtoggle">0</action>
3194 <action function="page">mount</action>
3195 </actions>
3196 </action>
3197
3198 <action>
3199 <condition var1="tw_lifetime_writes" var2="0"/>
3200 <actions>
3201 <action function="set">tw_back=mount</action>
3202 <action function="page">system_readonly</action>
3203 </actions>
3204 </action>
3205 </page>
3206
3207 <page name="reboot">
3208 <template name="page"/>
3209
3210 <template name="statusbar"/>
3211
3212 <text style="text_m">
3213 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003214 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <button style="main_button">
3218 <condition var1="tw_reboot_system" var2="1"/>
3219 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003221 <actions>
3222 <action function="set">tw_back=reboot</action>
3223 <action function="set">tw_action=reboot</action>
3224 <action function="set">tw_action_param=system</action>
3225 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3227 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3228 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3229 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3230 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003231 <action function="page">rebootcheck</action>
3232 </actions>
3233 </button>
3234
3235 <button style="main_button">
3236 <condition var1="tw_reboot_poweroff" var2="1"/>
3237 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 <actions>
3240 <action function="set">tw_back=reboot</action>
3241 <action function="set">tw_action=reboot</action>
3242 <action function="set">tw_action_param=poweroff</action>
3243 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3245 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3246 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3247 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3248 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003249 <action function="page">rebootcheck</action>
3250 </actions>
3251 </button>
3252
3253 <button style="main_button">
3254 <condition var1="tw_reboot_recovery" var2="1"/>
3255 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 <actions>
3258 <action function="set">tw_back=reboot</action>
3259 <action function="set">tw_action=reboot</action>
3260 <action function="set">tw_action_param=recovery</action>
3261 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3263 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3264 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3265 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3266 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003267 <action function="page">rebootcheck</action>
3268 </actions>
3269 </button>
3270
3271 <button style="main_button">
3272 <condition var1="tw_reboot_bootloader" var2="1"/>
3273 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003275 <actions>
3276 <action function="set">tw_back=reboot</action>
3277 <action function="set">tw_action=reboot</action>
3278 <action function="set">tw_action_param=bootloader</action>
3279 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3281 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3282 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3283 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3284 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003285 <action function="page">rebootcheck</action>
3286 </actions>
3287 </button>
3288
3289 <button style="main_button">
3290 <condition var1="tw_download_mode" var2="1"/>
3291 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <actions>
3294 <action function="set">tw_back=reboot</action>
3295 <action function="set">tw_action=reboot</action>
3296 <action function="set">tw_action_param=download</action>
3297 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3299 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3300 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3301 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3302 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <action function="page">rebootcheck</action>
3304 </actions>
3305 </button>
3306
3307 <action>
3308 <touch key="home"/>
3309 <action function="page">main</action>
3310 </action>
3311
3312 <action>
3313 <touch key="back"/>
3314 <action function="page">main</action>
3315 </action>
3316 </page>
3317
3318 <page name="system_readonly">
3319 <template name="page"/>
3320
3321 <template name="statusbar"/>
3322
3323 <text style="text_m">
3324 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <text style="text_m_accent">
3329 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 </text>
3332
3333 <text style="text_m">
3334 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003336 </text>
3337
3338 <text style="text_m">
3339 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 </text>
3342
3343 <text style="text_m">
3344 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </text>
3347
3348 <text style="text_m">
3349 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </text>
3352
3353 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003354 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 </text>
3357
3358 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003359 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 </text>
3362
z31s1g608d7ff2016-01-18 19:47:25 +01003363 <button style="main_button_half_height">
3364 <placement x="%col1_x_right%" y="%row8a_y%"/>
3365 <text>{@sel_lang_btn=Select Language}</text>
3366 <action function="page">settings_language</action>
3367 </button>
3368
z31s1g28f0a922015-11-07 18:50:22 +01003369 <checkbox>
3370 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003371 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <data variable="tw_never_show_system_ro_page"/>
3374 </checkbox>
3375
3376 <button style="main_button_half_height">
3377 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <actions>
3380 <action function="mountsystemtoggle">1</action>
3381 <action function="set">tw_page_done=1</action>
3382 <action function="page">%tw_back%</action>
3383 </actions>
3384 </button>
3385
3386 <button style="main_button_half_height">
3387 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003389 <actions>
3390 <action function="mountsystemtoggle">0</action>
3391 <action function="set">tw_page_done=1</action>
3392 <action function="page">%tw_back%</action>
3393 </actions>
3394 </button>
3395 </page>
3396
3397 <page name="settings">
3398 <template name="page"/>
3399
3400 <template name="statusbar"/>
3401
3402 <text style="text_m">
3403 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003405 </text>
3406
3407 <button style="main_button">
3408 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 <action function="page">settings_general</action>
3411 </button>
3412
3413 <button style="main_button">
3414 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003416 <action function="page">settings_timezone</action>
3417 </button>
3418
3419 <button style="main_button">
3420 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 <action function="page">settings_screen</action>
3423 </button>
3424
3425 <button style="main_button">
3426 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003428 <action function="page">settings_vibration</action>
3429 </button>
3430
3431 <button style="main_button">
3432 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <action function="page">settings_language</action>
3435 </button>
3436
3437 <button>
3438 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3439 <highlight color="%highlight_color%"/>
3440 <image resource="q_btn_reset"/>
3441 <action function="restoredefaultsettings"/>
3442 </button>
3443
3444 <action>
3445 <touch key="home"/>
3446 <action function="page">main</action>
3447 </action>
3448
3449 <action>
3450 <touch key="back"/>
3451 <action function="page">main3</action>
3452 </action>
3453 </page>
3454
3455 <page name="settings_general">
3456 <template name="page"/>
3457
3458 <template name="statusbar"/>
3459
3460 <text style="text_m">
3461 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 </text>
3464
3465 <listbox style="scrolllist">
3466 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003468 <data variable="tw_signed_zip_verify"/>
3469 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003470 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3471 <data variable="tw_install_reboot"/>
3472 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003474 <data variable="tw_rm_rf"/>
3475 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003476 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3477 <data variable="tw_disable_free_space"/>
3478 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003480 <data variable="tw_skip_md5_generate"/>
3481 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003482 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003483 <data variable="tw_skip_md5_check"/>
3484 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003486 <data variable="tw_military_time"/>
3487 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003488 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003489 <data variable="tw_simulate_actions"/>
3490 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003492 <data variable="tw_simulate_fail"/>
3493 <condition var1="tw_simulate_actions" var2="1"/>
3494 </listitem>
3495 </listbox>
3496
3497 <action>
3498 <touch key="home"/>
3499 <action function="page">main</action>
3500 </action>
3501
3502 <action>
3503 <touch key="back"/>
3504 <action function="page">settings</action>
3505 </action>
3506 </page>
3507
3508 <page name="settings_timezone">
3509 <template name="page"/>
3510
3511 <template name="statusbar"/>
3512
3513 <text style="text_m">
3514 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </text>
3517
3518 <text color="%text_color%">
3519 <font resource="font_m"/>
3520 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3521 <text>%tw_time%</text>
3522 </text>
3523
3524 <listbox style="listbox_headerless">
3525 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3526 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3528 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3529 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3530 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3531 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3532 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3533 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3534 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3535 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3536 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3537 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3538 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3539 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3540 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3541 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3542 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3543 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3544 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3545 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3546 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3547 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3548 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3549 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3550 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003551 </listbox>
3552
3553 <button>
3554 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3555 <highlight color="%highlight_color%"/>
3556 <image resource="q_btn_arrow_right"/>
3557 <actions>
3558 <action function="setguitimezone"/>
3559 <action function="page">settings_timezone2</action>
3560 </actions>
3561 </button>
3562
3563 <action>
3564 <condition var1="tw_time_zone_guisel" op="modified"/>
3565 <action function="setguitimezone"/>
3566 </action>
3567
3568 <action>
3569 <touch key="home"/>
3570 <actions>
3571 <action function="page">main</action>
3572 <action function="setguitimezone"/>
3573 </actions>
3574 </action>
3575
3576 <action>
3577 <touch key="back"/>
3578 <actions>
3579 <action function="page">settings</action>
3580 <action function="setguitimezone"/>
3581 </actions>
3582 </action>
3583
3584 <action>
3585 <touch key="power+voldown"/>
3586 <action function="screenshot"/>
3587 </action>
3588 </page>
3589
3590 <page name="settings_timezone2">
3591 <template name="page"/>
3592
3593 <template name="statusbar"/>
3594
3595 <text style="text_m">
3596 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 </text>
3599
3600 <text color="%text_color%">
3601 <font resource="font_m"/>
3602 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3603 <text>%tw_time%</text>
3604 </text>
3605
3606 <checkbox>
3607 <placement x="%col1_x_left%" y="%row1_y%"/>
3608 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <data variable="tw_time_zone_guidst"/>
3611 <image checked="checkbox_true" unchecked="checkbox_false"/>
3612 </checkbox>
3613
3614 <text style="text_m_accent">
3615 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003616 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003617 </text>
3618
3619 <button style="main_button_quarter_width">
3620 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003621 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003622 <actions>
3623 <action function="set">tw_time_zone_guioffset=0</action>
3624 <action function="setguitimezone"/>
3625 </actions>
3626 </button>
3627
3628 <button style="main_button_quarter_width">
3629 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <actions>
3632 <action function="set">tw_time_zone_guioffset=15</action>
3633 <action function="setguitimezone"/>
3634 </actions>
3635 </button>
3636
3637 <button style="main_button_quarter_width">
3638 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 <actions>
3641 <action function="set">tw_time_zone_guioffset=30</action>
3642 <action function="setguitimezone"/>
3643 </actions>
3644 </button>
3645
3646 <button style="main_button_quarter_width">
3647 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <actions>
3650 <action function="set">tw_time_zone_guioffset=45</action>
3651 <action function="setguitimezone"/>
3652 </actions>
3653 </button>
3654
3655 <button>
3656 <placement x="%col1_x_left%" y="%row11_y%"/>
3657 <highlight color="%highlight_color%"/>
3658 <image resource="q_btn_arrow_left"/>
3659 <actions>
3660 <action function="setguitimezone"/>
3661 <action function="page">settings_timezone</action>
3662 </actions>
3663 </button>
3664
3665 <text style="text_m_accent">
3666 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </text>
3669
3670 <text style="text_m">
3671 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3672 <text>%tw_time_zone%</text>
3673 </text>
3674
3675 <action>
3676 <condition var1="tw_time_zone_guidst" op="modified"/>
3677 <action function="setguitimezone"/>
3678 </action>
3679
3680 <action>
3681 <touch key="home"/>
3682 <actions>
3683 <action function="setguitimezone"/>
3684 <action function="page">main</action>
3685 </actions>
3686 </action>
3687
3688 <action>
3689 <touch key="back"/>
3690 <actions>
3691 <action function="setguitimezone"/>
3692 <action function="page">settings_timezone</action>
3693 </actions>
3694 </action>
3695 </page>
3696
3697 <page name="settings_screen">
3698 <template name="page"/>
3699
3700 <template name="statusbar"/>
3701
3702 <text style="text_m">
3703 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003704 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003705 </text>
3706
3707 <button style="checkbox">
3708 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3709 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3710 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003711 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003712 <image resource="checkbox_false"/>
3713 <action function="set">tw_screen_timeout_secs=60</action>
3714 </button>
3715
3716 <button style="checkbox">
3717 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3718 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3719 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <image resource="checkbox_true"/>
3722 <action function="set">tw_screen_timeout_secs=0</action>
3723 </button>
3724
3725 <slidervalue>
3726 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3727 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3730 </slidervalue>
3731
3732 <text style="text_m_fail">
3733 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3734 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </text>
3737
3738 <button>
3739 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3740 <highlight color="%highlight_color%"/>
3741 <image resource="q_btn_arrow_right"/>
3742 <action function="page">settings_screen2</action>
3743 </button>
3744
3745 <action>
3746 <touch key="home"/>
3747 <action function="page">main</action>
3748 </action>
3749
3750 <action>
3751 <touch key="back"/>
3752 <action function="page">settings</action>
3753 </action>
3754 </page>
3755
3756 <page name="settings_screen2">
3757 <template name="page"/>
3758
3759 <template name="statusbar"/>
3760
3761 <text style="text_m">
3762 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003763 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003764 </text>
3765
3766 <slidervalue>
3767 <condition var1="tw_has_brightnesss_file" var2="1"/>
3768 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003770 <data variable="tw_brightness_pct" min="10" max="100"/>
3771 <actions>
3772 <action function="set">tw_brightness=%tw_brightness_max%</action>
3773 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3774 <action function="compute">tw_brightness/100</action>
3775 <action function="setbrightness">%tw_brightness%</action>
3776 </actions>
3777 </slidervalue>
3778
3779 <text style="text_m_fail">
3780 <condition var1="tw_has_brightnesss_file" var2="0"/>
3781 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003782 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003783 </text>
3784
3785 <button>
3786 <placement x="%col1_x_left%" y="%row11_y%"/>
3787 <highlight color="%highlight_color%"/>
3788 <image resource="q_btn_arrow_left"/>
3789 <action function="page">settings_screen</action>
3790 </button>
3791
3792 <action>
3793 <touch key="home"/>
3794 <action function="page">main</action>
3795 </action>
3796
3797 <action>
3798 <touch key="back"/>
3799 <action function="page">settings</action>
3800 </action>
3801 </page>
3802
3803 <page name="settings_vibration">
3804 <template name="page"/>
3805
3806 <template name="statusbar"/>
3807
3808 <text style="text_m">
3809 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003810 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003811 </text>
3812
3813 <slidervalue>
3814 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003815 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003816 <data variable="tw_button_vibrate" min="0" max="300"/>
3817 </slidervalue>
3818
3819 <button>
3820 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3821 <highlight color="%highlight_color%"/>
3822 <image resource="q_btn_arrow_right"/>
3823 <action function="page">settings_vibration2</action>
3824 </button>
3825
3826 <action>
3827 <touch key="home"/>
3828 <action function="page">main</action>
3829 </action>
3830
3831 <action>
3832 <touch key="back"/>
3833 <action function="page">settings</action>
3834 </action>
3835 </page>
3836
3837 <page name="settings_vibration2">
3838 <template name="page"/>
3839
3840 <template name="statusbar"/>
3841
3842 <text style="text_m">
3843 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 </text>
3846
3847 <slidervalue>
3848 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3851 </slidervalue>
3852
3853 <button>
3854 <placement x="%col1_x_left%" y="%row11_y%"/>
3855 <highlight color="%highlight_color%"/>
3856 <image resource="q_btn_arrow_left"/>
3857 <action function="page">settings_vibration</action>
3858 </button>
3859
3860 <button>
3861 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3862 <highlight color="%highlight_color%"/>
3863 <image resource="q_btn_arrow_right"/>
3864 <action function="page">settings_vibration3</action>
3865 </button>
3866
3867 <action>
3868 <touch key="home"/>
3869 <action function="page">main</action>
3870 </action>
3871
3872 <action>
3873 <touch key="back"/>
3874 <action function="page">settings</action>
3875 </action>
3876 </page>
3877
3878 <page name="settings_vibration3">
3879 <template name="page"/>
3880
3881 <template name="statusbar"/>
3882
3883 <text style="text_m">
3884 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 </text>
3887
3888 <slidervalue>
3889 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <data variable="tw_action_vibrate" min="0" max="500"/>
3892 </slidervalue>
3893
3894 <button>
3895 <placement x="%col1_x_left%" y="%row11_y%"/>
3896 <highlight color="%highlight_color%"/>
3897 <image resource="q_btn_arrow_left"/>
3898 <action function="page">settings_vibration2</action>
3899 </button>
3900
3901 <action>
3902 <touch key="home"/>
3903 <action function="page">main</action>
3904 </action>
3905
3906 <action>
3907 <touch key="back"/>
3908 <action function="page">settings</action>
3909 </action>
3910 </page>
3911
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <page name="settings_language">
3913 <template name="page"/>
3914
3915 <template name="statusbar"/>
3916
3917 <text style="text_m">
3918 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3919 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3920 </text>
3921
z31s1g608d7ff2016-01-18 19:47:25 +01003922 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05003923 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3924 <icon selected="radio_true" unselected="radio_false" />
3925 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01003926 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927
3928 <button>
3929 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3930 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003931 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <action function="setlanguage"></action>
3933 </button>
3934
z31s1g608d7ff2016-01-18 19:47:25 +01003935 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <touch key="home" />
3937 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003938 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939
z31s1g608d7ff2016-01-18 19:47:25 +01003940 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <touch key="back" />
3942 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003943 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 </page>
3945
z31s1g28f0a922015-11-07 18:50:22 +01003946 <page name="advanced">
3947 <template name="page"/>
3948
3949 <template name="statusbar"/>
3950
3951 <text style="text_m">
3952 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 </text>
3955
3956 <button style="main_button">
3957 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003959 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003960 </button>
3961
3962 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003963 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003965 <text>{@fix_context_btn=Fix Contexts}</text>
3966 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003967 </button>
3968
3969 <button style="main_button">
3970 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <action function="reload"/>
3973 </button>
3974
3975 <button style="main_button">
3976 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3977 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003979 <actions>
3980 <action function="set">partitionlisterror=0</action>
3981 <action function="page">partsdcardsel</action>
3982 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </button>
3984
3985 <button style="main_button">
3986 <condition var1="tw_show_dumlock" var2="1"/>
3987 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003988 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003989 <action function="page">htcdumlock</action>
3990 </button>
3991
3992 <button style="main_button">
3993 <condition var1="tw_has_injecttwrp" var2="1"/>
3994 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 <actions>
3997 <action function="set">tw_back=advanced</action>
3998 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4000 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4001 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4002 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004003 <action function="page">confirm_action</action>
4004 </actions>
4005 </button>
4006
4007 <action>
4008 <touch key="home"/>
4009 <action function="page">main</action>
4010 </action>
4011
4012 <action>
4013 <touch key="back"/>
4014 <action function="page">main3</action>
4015 </action>
4016 </page>
4017
Ethan Yonker483e9f42016-01-11 22:21:18 -06004018 <page name="partsdcardsel">
4019 <template name="page"/>
4020
4021 <template name="statusbar"/>
4022
4023 <text style="text_m">
4024 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4025 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4026 </text>
4027
4028 <partitionlist style="partitionlist_headerless_rb">
4029 <data name="tw_storage_path"/>
4030 <listtype name="storage"/>
4031 </partitionlist>
4032
4033 <text style="text_m_fail">
4034 <condition var1="partitionlisterror" var2="1"/>
4035 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4036 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4037 </text>
4038
4039 <button>
4040 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4041 <highlight color="%highlight_color%"/>
4042 <image resource="q_btn_refresh"/>
4043 <action function="refreshsizes"/>
4044 </button>
4045
4046 <button>
4047 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4048 <highlight color="%highlight_color%"/>
4049 <image resource="q_btn_accept"/>
4050 <actions>
4051 <action function="getpartitiondetails">tw_storage_path</action>
4052 <action function="page">partsdcardcheck</action>
4053 </actions>
4054 </button>
4055
4056 <action>
4057 <touch key="home"/>
4058 <action function="page">main</action>
4059 </action>
4060
4061 <action>
4062 <touch key="back"/>
4063 <action function="page">advanced</action>
4064 </action>
4065 </page>
4066
4067 <page name="partsdcardcheck">
4068 <action>
4069 <condition var1="tw_partition_removable" op="=" var2="1"/>
4070 <actions>
4071 <action function="set">partitionlisterror=0</action>
4072 <action function="page">partsdcard</action>
4073 </actions>
4074 </action>
4075
4076 <action>
4077 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4078 <actions>
4079 <action function="set">partitionlisterror=1</action>
4080 <action function="page">partsdcardsel</action>
4081 </actions>
4082 </action>
4083 </page>
4084
z31s1g28f0a922015-11-07 18:50:22 +01004085 <page name="partsdcard">
4086 <template name="page"/>
4087
4088 <template name="statusbar"/>
4089
4090 <text style="text_m">
4091 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 </text>
4094
4095 <text style="text_m_fail">
4096 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004097 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004098 </text>
4099
4100 <text style="text_m_fail">
4101 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004102 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004103 </text>
4104
4105 <text style="text_m_accent">
4106 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 </text>
4109
4110 <text style="text_m">
4111 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4112 <text>%tw_sdext_size%</text>
4113 </text>
4114
4115 <button style="main_button_quarter_width">
4116 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004117 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004118 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004119 </button>
4120
4121 <button style="main_button_quarter_width">
4122 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004124 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004125 </button>
4126
4127 <button>
4128 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4129 <highlight color="%highlight_color%"/>
4130 <image resource="q_btn_arrow_right"/>
4131 <action function="page">partsdcard2</action>
4132 </button>
4133
4134 <action>
4135 <touch key="home"/>
4136 <action function="page">main</action>
4137 </action>
4138
4139 <action>
4140 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004141 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </action>
4143 </page>
4144
4145 <page name="partsdcard2">
4146 <template name="page"/>
4147
4148 <template name="statusbar"/>
4149
4150 <text style="text_m">
4151 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004153 </text>
4154
4155 <text style="text_m_fail">
4156 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004158 </text>
4159
4160 <text style="text_m_fail">
4161 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004163 </text>
4164
4165 <text style="text_m_accent">
4166 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004167 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004168 </text>
4169
4170 <text style="text_m">
4171 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4172 <text>%tw_swap_size%</text>
4173 </text>
4174
4175 <button style="main_button_quarter_width">
4176 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004178 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004179 </button>
4180
4181 <button style="main_button_quarter_width">
4182 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004184 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004185 </button>
4186
4187 <button>
4188 <placement x="%col1_x_left%" y="%row11_y%"/>
4189 <highlight color="%highlight_color%"/>
4190 <image resource="q_btn_arrow_left"/>
4191 <action function="page">partsdcard</action>
4192 </button>
4193
4194 <button>
4195 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4196 <highlight color="%highlight_color%"/>
4197 <image resource="q_btn_arrow_right"/>
4198 <action function="page">partsdcard3</action>
4199 </button>
4200
4201 <action>
4202 <touch key="home"/>
4203 <action function="page">main</action>
4204 </action>
4205
4206 <action>
4207 <touch key="back"/>
4208 <action function="page">advanced</action>
4209 </action>
4210 </page>
4211
4212 <page name="partsdcard3">
4213 <template name="page"/>
4214
4215 <template name="statusbar"/>
4216
4217 <text style="text_m">
4218 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004219 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004220 </text>
4221
4222 <text style="text_m_fail">
4223 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004224 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004225 </text>
4226
4227 <text style="text_m_fail">
4228 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004230 </text>
4231
4232 <text style="text_m_accent">
4233 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004234 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004235 </text>
4236
4237 <text style="text_m">
4238 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4239 <text>%tw_sdpart_file_system%</text>
4240 </text>
4241
4242 <button style="main_button_quarter_width">
4243 <placement x="%indent%" y="%row6_y%"/>
4244 <text>EXT3</text>
4245 <action function="set">tw_sdpart_file_system=ext3</action>
4246 </button>
4247
4248 <button style="main_button_quarter_width">
4249 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4250 <text>EXT4</text>
4251 <action function="set">tw_sdpart_file_system=ext4</action>
4252 </button>
4253
4254 <button>
4255 <placement x="%col1_x_left%" y="%row11_y%"/>
4256 <highlight color="%highlight_color%"/>
4257 <image resource="q_btn_arrow_left"/>
4258 <action function="page">partsdcard2</action>
4259 </button>
4260
4261 <button>
4262 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4263 <highlight color="%highlight_color%"/>
4264 <image resource="q_btn_arrow_right"/>
4265 <action function="page">partsdcard_confirm</action>
4266 </button>
4267
4268 <action>
4269 <touch key="home"/>
4270 <action function="page">main</action>
4271 </action>
4272
4273 <action>
4274 <touch key="back"/>
4275 <action function="page">advanced</action>
4276 </action>
4277 </page>
4278
4279 <page name="partsdcard_confirm">
4280 <template name="page"/>
4281
4282 <template name="statusbar"/>
4283
4284 <text style="text_m">
4285 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004286 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004287 </text>
4288
4289 <text style="text_m_fail">
4290 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004291 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004292 </text>
4293
4294 <text style="text_m_fail">
4295 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004296 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004297 </text>
4298
4299 <text style="text_m_accent">
4300 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004301 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004302 </text>
4303
4304 <text style="text_m_accent">
4305 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004306 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </text>
4308
4309 <text style="text_m_accent">
4310 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004312 </text>
4313
4314 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 <action function="page">partsdcardaction</action>
4317 <actions>
4318 <action function="set">tw_back=partsdcard</action>
4319 <action function="set">tw_action=partitionsd</action>
4320 <action function="set">tw_has_action2=1</action>
4321 <action function="set">tw_action2=set</action>
4322 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004323 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4324 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4325 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004326 <action function="page">action_page</action>
4327 </actions>
4328 </slider>
4329
4330 <action>
4331 <touch key="home"/>
4332 <action function="page">main</action>
4333 </action>
4334
4335 <action>
4336 <touch key="back"/>
4337 <action function="page">advanced</action>
4338 </action>
4339 </page>
4340
4341 <page name="htcdumlock">
4342 <template name="page"/>
4343
4344 <template name="statusbar"/>
4345
4346 <text style="text_m">
4347 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 </text>
4350
4351 <button style="main_button_full_width">
4352 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 <actions>
4355 <action function="set">tw_back=htcdumlock</action>
4356 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004357 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4358 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4359 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4360 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004361 <action function="page">confirm_action</action>
4362 </actions>
4363 </button>
4364
4365 <button style="main_button_full_width">
4366 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004367 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004368 <actions>
4369 <action function="set">tw_back=htcdumlock</action>
4370 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004371 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4372 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4373 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4374 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004375 <action function="page">confirm_action</action>
4376 </actions>
4377 </button>
4378
4379 <button style="main_button_full_width">
4380 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004381 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004382 <actions>
4383 <action function="set">tw_back=htcdumlock</action>
4384 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004385 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4386 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4387 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4388 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004389 <action function="page">confirm_action</action>
4390 </actions>
4391 </button>
4392
4393 <action>
4394 <touch key="home"/>
4395 <action function="page">main</action>
4396 </action>
4397
4398 <action>
4399 <touch key="back"/>
4400 <action function="page">advanced</action>
4401 </action>
4402 </page>
4403
4404 <page name="lock">
4405 <background color="%semi_transparent%"/>
4406
4407 <image>
4408 <image resource="unlock_icon"/>
4409 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4410 </image>
4411
4412 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004413 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004414 <action function="overlay"/>
4415 </slider>
4416 </page>
4417
4418 <page name="filemanagerlist">
4419 <template name="page"/>
4420
4421 <template name="statusbar"/>
4422
4423 <text style="text_m">
4424 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 </text>
4427
4428 <fileselector>
4429 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4430 <text>%tw_file_location1%</text>
4431 <filter folders="1" files="1"/>
4432 <path name="tw_file_location1" default="/"/>
4433 <data name="tw_filename1"/>
4434 <selection name="tw_selection1"/>
4435 </fileselector>
4436
4437 <button>
4438 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4439 <highlight color="%highlight_color%"/>
4440 <image resource="q_btn_folder"/>
4441 <actions>
4442 <action function="set">tw_filename1=tw_file_location1</action>
4443 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004445 <action function="page">filemanageroptions</action>
4446 </actions>
4447 </button>
4448
4449 <action>
4450 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004452 <action function="set">tw_fm_isfolder=0</action>
4453 </actions>
4454 </action>
4455
4456 <action>
4457 <touch key="home"/>
4458 <action function="page">main</action>
4459 </action>
4460
4461 <action>
4462 <touch key="back"/>
4463 <action function="page">main3</action>
4464 </action>
4465
4466 <action>
4467 <condition var1="tw_filename1" op="modified"/>
4468 <action function="page">filemanageroptions</action>
4469 </action>
4470 </page>
4471
4472 <page name="filemanageroptions">
4473 <template name="page"/>
4474
4475 <template name="statusbar"/>
4476
4477 <text style="text_m">
4478 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </text>
4481
4482 <button style="main_button">
4483 <condition var1="tw_fm_isfolder" var2="0"/>
4484 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004486 <actions>
4487 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004489 <action function="page">choosedestinationfolder</action>
4490 </actions>
4491 </button>
4492
4493 <button style="main_button">
4494 <condition var1="tw_fm_isfolder" var2="1"/>
4495 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 <actions>
4498 <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 -05004499 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004500 <action function="page">choosedestinationfolder</action>
4501 </actions>
4502 </button>
4503
4504 <button style="main_button">
4505 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 <actions>
4508 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004510 <action function="page">choosedestinationfolder</action>
4511 </actions>
4512 </button>
4513
4514 <button style="main_button">
4515 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 <actions>
4518 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004520 <action function="set">tw_fm_text2=</action>
4521 <action function="set">tw_fm_text3=</action>
4522 <action function="set">tw_include_text3=0</action>
4523 <action function="set">tw_back=filemanageroptions</action>
4524 <action function="page">filemanagerconfirm</action>
4525 </actions>
4526 </button>
4527
4528 <button style="main_button">
4529 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004530 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004531 <actions>
4532 <action function="set">tw_filemanager_rename=0000</action>
4533 <action function="set">tw_fm_text2=</action>
4534 <action function="set">tw_fm_text3=</action>
4535 <action function="set">tw_include_text3=0</action>
4536 <action function="set">tw_back=filemanageroptions</action>
4537 <action function="page">filemanagerchmod</action>
4538 </actions>
4539 </button>
4540
4541 <button style="main_button">
4542 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 <actions>
4545 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004547 <action function="set">tw_fm_text2=</action>
4548 <action function="set">tw_fm_text3=</action>
4549 <action function="set">tw_include_text3=0</action>
4550 <action function="set">tw_back=filemanageroptions</action>
4551 <action function="page">filemanagerconfirm</action>
4552 </actions>
4553 </button>
4554
4555 <button style="main_button">
4556 <condition var1="tw_fm_isfolder" var2="0"/>
4557 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 <actions>
4560 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004562 <action function="set">tw_filemanager_command=mv</action>
4563 <action function="page">filemanagerrenamefile</action>
4564 </actions>
4565 </button>
4566
4567 <button style="main_button">
4568 <condition var1="tw_fm_isfolder" var2="1"/>
4569 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004570 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004571 <actions>
4572 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004573 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004574 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4575 <action function="page">filemanagerrenamefolder</action>
4576 </actions>
4577 </button>
4578
4579 <action>
4580 <touch key="home"/>
4581 <action function="page">main</action>
4582 </action>
4583
4584 <action>
4585 <touch key="back"/>
4586 <action function="page">filemanagerlist</action>
4587 </action>
4588 </page>
4589
4590 <page name="choosedestinationfolder">
4591 <template name="page"/>
4592
4593 <template name="statusbar"/>
4594
4595 <text style="text_m">
4596 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004597 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004598 </text>
4599
4600 <fileselector>
4601 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4602 <text>%tw_file_location2%</text>
4603 <filter folders="1" files="0"/>
4604 <path name="tw_file_location2" default="/"/>
4605 <data name="tw_filename2"/>
4606 <selection name="tw_selection2"/>
4607 </fileselector>
4608
4609 <button>
4610 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4611 <highlight color="%highlight_color%"/>
4612 <image resource="q_btn_folder"/>
4613 <actions>
4614 <action function="set">tw_fm_text2=to</action>
4615 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4616 <action function="set">tw_include_text3=1</action>
4617 <action function="set">tw_back=filemanageroptions</action>
4618 <action function="page">filemanagerconfirm</action>
4619 </actions>
4620 </button>
4621
4622 <action>
4623 <touch key="home"/>
4624 <action function="page">main</action>
4625 </action>
4626
4627 <action>
4628 <touch key="back"/>
4629 <action function="page">filemanageroptions</action>
4630 </action>
4631 </page>
4632
4633 <page name="filemanagerrenamefile">
4634 <template name="page"/>
4635
4636 <template name="statusbar"/>
4637
4638 <text style="text_m">
4639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004641 </text>
4642
4643 <text style="text_m_accent">
4644 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <input>
4649 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4650 <text>%tw_filemanager_rename%</text>
4651 <data name="tw_filemanager_rename"/>
4652 <restrict minlen="1" maxlen="128"/>
4653 <actions>
4654 <action function="set">tw_fm_text2=to</action>
4655 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4656 <action function="set">tw_include_text3=1</action>
4657 <action function="set">tw_back=filemanageroptions</action>
4658 <action function="page">filemanagerconfirm</action>
4659 </actions>
4660 </input>
4661
4662 <fill color="%accent_color%">
4663 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4664 </fill>
4665
4666 <button style="main_button_half_height">
4667 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <action function="page">filemanageroptions</action>
4670 </button>
4671
4672 <template name="keyboardtemplate"/>
4673
4674 <action>
4675 <touch key="home"/>
4676 <action function="page">main</action>
4677 </action>
4678
4679 <action>
4680 <touch key="back"/>
4681 <action function="page">filemanageroptions</action>
4682 </action>
4683 </page>
4684
4685 <page name="filemanagerrenamefolder">
4686 <template name="page"/>
4687
4688 <template name="statusbar"/>
4689
4690 <text style="text_m">
4691 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004692 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 </text>
4694
4695 <text style="text_m_accent">
4696 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004697 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 </text>
4699
4700 <input>
4701 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4702 <text>%tw_filemanager_rename%</text>
4703 <data name="tw_filemanager_rename"/>
4704 <restrict minlen="1" maxlen="128"/>
4705 <actions>
4706 <action function="set">tw_fm_text2=to</action>
4707 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4708 <action function="set">tw_include_text3=1</action>
4709 <action function="set">tw_back=filemanageroptions</action>
4710 <action function="page">filemanagerconfirm</action>
4711 </actions>
4712 </input>
4713
4714 <fill color="%accent_color%">
4715 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4716 </fill>
4717
4718 <button style="main_button_half_height">
4719 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004720 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004721 <action function="page">filemanageroptions</action>
4722 </button>
4723
4724 <template name="keyboardtemplate"/>
4725
4726 <action>
4727 <touch key="home"/>
4728 <action function="page">main</action>
4729 </action>
4730
4731 <action>
4732 <touch key="back"/>
4733 <action function="page">filemanageroptions</action>
4734 </action>
4735 </page>
4736
4737 <page name="filemanagerchmod">
4738 <template name="page"/>
4739
4740 <template name="statusbar"/>
4741
4742 <text style="text_m">
4743 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004745 </text>
4746
4747 <text style="text_m_accent">
4748 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004749 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004750 </text>
4751
4752 <input>
4753 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4754 <text>%tw_filemanager_rename%</text>
4755 <data name="tw_filemanager_rename"/>
4756 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4757 <actions>
4758 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4759 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4760 <action function="set">tw_back=filemanageroptions</action>
4761 <action function="page">filemanagerconfirm</action>
4762 </actions>
4763 </input>
4764
4765 <fill color="%accent_color%">
4766 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4767 </fill>
4768
4769 <button style="main_button_half_height">
4770 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004771 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004772 <action function="page">filemanageroptions</action>
4773 </button>
4774
4775 <template name="keyboardtemplate"/>
4776
4777 <action>
4778 <touch key="home"/>
4779 <action function="page">main</action>
4780 </action>
4781
4782 <action>
4783 <touch key="back"/>
4784 <action function="page">filemanageroptions</action>
4785 </action>
4786 </page>
4787
4788 <page name="filemanagerconfirm">
4789 <template name="page"/>
4790
4791 <template name="statusbar"/>
4792
4793 <text style="text_m">
4794 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004795 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004796 </text>
4797
4798 <text style="text_m_accent">
4799 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4800 <text>%tw_fm_text1%</text>
4801 </text>
4802
4803 <text style="text_m">
4804 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4805 <text>%tw_filename1%</text>
4806 </text>
4807
4808 <text style="text_m_accent">
4809 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4810 <text>%tw_fm_text2%</text>
4811 </text>
4812
4813 <text style="text_m">
4814 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4815 <text>%tw_fm_text3%</text>
4816 </text>
4817
4818 <text style="text_m">
4819 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004820 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004821 </text>
4822
4823 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004824 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004825 <action function="page">filemanageraction</action>
4826 </slider>
4827
4828 <action>
4829 <touch key="back"/>
4830 <action function="page">%tw_back%</action>
4831 </action>
4832
4833 <action>
4834 <touch key="home"/>
4835 <action function="page">main</action>
4836 </action>
4837 </page>
4838
4839 <page name="filemanageraction">
4840 <template name="page"/>
4841
4842 <template name="statusbar"/>
4843
4844 <text style="text_m">
4845 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004846 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004847 </text>
4848
4849 <template name="console"/>
4850
4851 <template name="progress_bar"/>
4852
4853 <action>
4854 <conditions>
4855 <condition var1="tw_operation_state" var2="1"/>
4856 <condition var1="tw_operation_status" var2="0"/>
4857 </conditions>
4858 <actions>
4859 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004860 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004861 <action function="page">action_complete</action>
4862 </actions>
4863 </action>
4864
4865 <action>
4866 <conditions>
4867 <condition var1="tw_operation_state" var2="1"/>
4868 <condition var1="tw_operation_status" op="!=" var2="0"/>
4869 </conditions>
4870 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004871 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004872 <action function="page">action_complete</action>
4873 </actions>
4874 </action>
4875
4876 <action>
4877 <condition var1="tw_include_text3" var2="0"/>
4878 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4879 </action>
4880
4881 <action>
4882 <condition var1="tw_include_text3" var2="1"/>
4883 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4884 </action>
4885 </page>
4886
4887 <page name="decrypt">
4888 <template name="page"/>
4889
4890 <template name="statusbar"/>
4891
4892 <action>
4893 <condition var1="tw_crypto_pwtype" var2="2"/>
4894 <action function="page">decrypt_pattern</action>
4895 </action>
4896
4897 <text style="text_m">
4898 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004899 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004900 </text>
4901
4902 <text style="text_m_accent">
4903 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004904 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004905 </text>
4906
4907 <input>
4908 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4909 <text>%tw_crypto_display%</text>
4910 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4911 <restrict minlen="1" maxlen="254"/>
4912 <action function="page">trydecrypt</action>
4913 </input>
4914
4915 <fill color="%accent_color%">
4916 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4917 </fill>
4918
4919 <fill color="%text_fail_color%">
4920 <condition var1="tw_password_fail" var2="1"/>
4921 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4922 </fill>
4923
4924 <text style="text_m_fail">
4925 <condition var1="tw_password_fail" var2="1"/>
4926 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004927 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004928 </text>
4929
4930 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004931 <placement x="%col1_x_left%" y="%row4_y%"/>
4932 <text>{@sel_lang_btn=Select Language}</text>
4933 <action function="page">settings_language</action>
4934 </button>
4935
4936 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004937 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004938 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004939 <actions>
4940 <action function="set">tw_page_done=1</action>
4941 <action function="page">main</action>
4942 </actions>
4943 </button>
4944
4945 <template name="keyboardtemplate"/>
4946 </page>
4947
4948 <page name="decrypt_pattern">
4949 <template name="page"/>
4950
4951 <template name="statusbar"/>
4952
Aleksa Saraib25a1832015-12-31 17:36:00 +01004953 <action>
4954 <action function="set">tw_gui_pattern_grid_size=3</action>
4955 </action>
4956
z31s1g28f0a922015-11-07 18:50:22 +01004957 <text style="text_m">
4958 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004959 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004960 </text>
4961
4962 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004963 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004964 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004965 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004966 </text>
4967
Aleksa Saraib25a1832015-12-31 17:36:00 +01004968 <text style="text_m_fail">
4969 <condition var1="tw_password_fail" var2="1"/>
4970 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004971 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004972 </text>
4973
z31s1g28f0a922015-11-07 18:50:22 +01004974 <text style="text_m">
4975 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004976 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004977 </text>
4978
4979 <patternpassword>
4980 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004981 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4982 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4983 <data name="tw_crypto_password"/>
4984 <action function="page">trydecrypt</action>
4985 </patternpassword>
4986
4987 <fill color="#000000">
4988 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4989 </fill>
4990
4991 <button>
4992 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4993 <image resource="back"/>
4994 <condition var1="tw_busy" var2="0"/>
4995 <actions>
4996 <action function="set">tw_page_done=1</action>
4997 <action function="page">main</action>
4998 </actions>
4999 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005000
5001 <button>
5002 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5003 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5004 <image resource="grid_less"/>
5005 <action function="set">tw_gui_pattern_grid_size=3</action>
5006 </button>
5007
5008 <button>
5009 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5010 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5011 <image resource="grid_less"/>
5012 <action function="set">tw_gui_pattern_grid_size=3</action>
5013 </button>
5014
5015 <button>
5016 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5017 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5018 <image resource="grid_less"/>
5019 <action function="set">tw_gui_pattern_grid_size=4</action>
5020 </button>
5021
5022 <button>
5023 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5024 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5025 <image resource="grid_less"/>
5026 <action function="set">tw_gui_pattern_grid_size=5</action>
5027 </button>
5028
5029 <button>
5030 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5031 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5032 <image resource="grid_more"/>
5033 <action function="set">tw_gui_pattern_grid_size=4</action>
5034 </button>
5035
5036 <button>
5037 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5038 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5039 <image resource="grid_more"/>
5040 <action function="set">tw_gui_pattern_grid_size=5</action>
5041 </button>
5042
5043 <button>
5044 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5045 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5046 <image resource="grid_more"/>
5047 <action function="set">tw_gui_pattern_grid_size=6</action>
5048 </button>
5049
5050 <button>
5051 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5052 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5053 <image resource="grid_more"/>
5054 <action function="set">tw_gui_pattern_grid_size=6</action>
5055 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005056 </page>
5057
5058 <page name="trydecrypt">
5059 <template name="page"/>
5060
5061 <template name="statusbar"/>
5062
5063 <text style="text_m">
5064 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005065 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005066 </text>
5067
5068 <template name="console"/>
5069
5070 <template name="progress_bar"/>
5071
5072 <action>
5073 <action function="decrypt"/>
5074 </action>
5075
5076 <action>
5077 <conditions>
5078 <condition var1="tw_operation_state" var2="1"/>
5079 <condition var1="tw_operation_status" op="!=" var2="0"/>
5080 </conditions>
5081 <actions>
5082 <action function="set">tw_password_fail=1</action>
5083 <action function="page">decrypt</action>
5084 </actions>
5085 </action>
5086
5087 <action>
5088 <conditions>
5089 <condition var1="tw_operation_state" var2="1"/>
5090 <condition var1="tw_operation_status" op="=" var2="0"/>
5091 </conditions>
5092 <actions>
5093 <action function="set">tw_page_done=1</action>
5094 <action function="page">main</action>
5095 </actions>
5096 </action>
5097 </page>
5098
z31s1g28f0a922015-11-07 18:50:22 +01005099 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005100 <terminal>
5101 <condition var1="tw_hide_kb" var2="0"/>
5102 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5103 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005104
z31s1g56189522016-01-13 19:12:40 +01005105 <terminal>
5106 <condition var1="tw_hide_kb" var2="1"/>
5107 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5108 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005109
z31s1g56189522016-01-13 19:12:40 +01005110 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005111
5112 <template name="keyboardtemplate"/>
5113
z31s1g608d7ff2016-01-18 19:47:25 +01005114 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005115 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005116 </fill>
z31s1g56189522016-01-13 19:12:40 +01005117
z31s1g608d7ff2016-01-18 19:47:25 +01005118 <button>
z31s1g56189522016-01-13 19:12:40 +01005119 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5120 <image resource="back" />
5121 <condition var1="tw_busy" var2="0" />
5122 <actions>
5123 <action function="set">tw_hide_kb=0</action>
5124 <action function="key">back</action>
5125 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005126 </button>
z31s1g56189522016-01-13 19:12:40 +01005127
z31s1g608d7ff2016-01-18 19:47:25 +01005128 <button>
z31s1g56189522016-01-13 19:12:40 +01005129 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5130 <image resource="home" />
5131 <condition var1="tw_busy" var2="0" />
5132 <actions>
5133 <action function="set">tw_hide_kb=0</action>
5134 <action function="key">home</action>
5135 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005136 </button>
z31s1g56189522016-01-13 19:12:40 +01005137
z31s1g608d7ff2016-01-18 19:47:25 +01005138 <button>
z31s1g56189522016-01-13 19:12:40 +01005139 <condition var1="tw_hide_kb" var2="0"/>
5140 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5141 <image resource="kb_hide" />
5142 <condition var1="tw_busy" var2="0" />
5143 <actions>
5144 <action function="set">tw_hide_kb=1</action>
5145 <action function="page">terminalcommand</action>
5146 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005147 </button>
z31s1g56189522016-01-13 19:12:40 +01005148
z31s1g608d7ff2016-01-18 19:47:25 +01005149 <button>
z31s1g56189522016-01-13 19:12:40 +01005150 <condition var1="tw_hide_kb" var2="1"/>
5151 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5152 <image resource="kb_show" />
5153 <condition var1="tw_busy" var2="0" />
5154 <actions>
5155 <action function="set">tw_hide_kb=0</action>
5156 <action function="page">terminalcommand</action>
5157 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005158 </button>
z31s1g56189522016-01-13 19:12:40 +01005159
z31s1g28f0a922015-11-07 18:50:22 +01005160 <action>
5161 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005162 <actions>
5163 <action function="set">tw_hide_kb=0</action>
5164 <action function="page">main</action>
5165 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005166 </action>
5167
5168 <action>
5169 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005170 <actions>
5171 <action function="set">tw_hide_kb=0</action>
5172 <action function="page">advanced</action>
5173 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005174 </action>
z31s1g56189522016-01-13 19:12:40 +01005175
z31s1g608d7ff2016-01-18 19:47:25 +01005176 <action>
z31s1g56189522016-01-13 19:12:40 +01005177 <touch key="power+voldown" />
5178 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005179 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005180 </page>
5181
5182 <page name="sideload">
5183 <template name="page"/>
5184
5185 <template name="statusbar"/>
5186
5187 <text style="text_m">
5188 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005189 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005190 </text>
5191
5192 <text style="text_m_accent">
5193 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005194 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005195 </text>
5196
5197 <checkbox>
5198 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005199 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005200 <data variable="tw_wipe_dalvik"/>
5201 </checkbox>
5202
5203 <checkbox>
5204 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005205 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005206 <data variable="tw_wipe_cache"/>
5207 </checkbox>
5208
5209 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005210 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005211 <actions>
5212 <action function="set">tw_back=install_type</action>
5213 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005214 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5215 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5216 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005217 <action function="set">tw_has_cancel=1</action>
5218 <action function="set">tw_show_reboot=1</action>
5219 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5220 <action function="page">action_page</action>
5221 </actions>
5222 </slider>
5223
5224 <action>
5225 <touch key="home"/>
5226 <action function="page">main</action>
5227 </action>
5228
5229 <action>
5230 <touch key="back"/>
5231 <action function="page">install_type</action>
5232 </action>
5233 </page>
5234
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005235 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005236 <template name="page"/>
5237
5238 <template name="statusbar"/>
5239
5240 <text style="text_m">
5241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005242 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005243 </text>
5244
5245 <text style="text_m_accent">
5246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005247 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005248 </text>
5249
z31s1g28f0a922015-11-07 18:50:22 +01005250 <text style="text_m_fail">
5251 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005252 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005253 </text>
5254
5255 <text style="text_m_fail">
5256 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005257 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005258 </text>
5259
5260 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005261 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005262 <actions>
5263 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005264 <action function="set">tw_action=fixcontexts</action>
5265 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5266 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005267 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005268 <action function="set">tw_show_reboot=1</action>
5269 <action function="page">action_page</action>
5270 </actions>
5271 </slider>
5272
5273 <action>
5274 <touch key="home"/>
5275 <action function="page">main</action>
5276 </action>
5277
5278 <action>
5279 <touch key="back"/>
5280 <action function="page">advanced</action>
5281 </action>
5282 </page>
5283
5284 <page name="installsu">
5285 <template name="page"/>
5286
5287 <template name="statusbar"/>
5288
5289 <text style="text_m">
5290 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005291 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005292 </text>
5293
5294 <text style="text_m_accent">
5295 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005296 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005297 </text>
5298
5299 <text style="text_m">
5300 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005301 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005302 </text>
5303
5304 <text style="text_m">
5305 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005306 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005307 </text>
5308
5309 <button style="main_button_full_width">
5310 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005311 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005312 <action function="set">tw_page_done=1</action>
5313 </button>
5314
5315 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005316 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005317 <actions>
5318 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005319 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005320 <action function="set">tw_action_text2=</action>
5321 <action function="page">singleaction_page</action>
5322 </actions>
5323 </slider>
5324 </page>
5325
5326 <page name="slideout">
5327 <fill color="%background_color%">
5328 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5329 </fill>
5330
5331 <console>
5332 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5333 </console>
5334
5335 <fill color="%fileselector_linecolor%">
5336 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5337 </fill>
5338
5339 <fill color="%fileselector_linecolor%">
5340 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5341 </fill>
5342
5343 <button>
5344 <fill color="%transparent%"/>
5345 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5346 <action function="overlay"/>
5347 </button>
5348
5349 <action>
5350 <touch key="power+voldown"/>
5351 <action function="screenshot"/>
5352 </action>
5353 </page>
5354
5355 <page name="select_storage">
5356 <template name="page"/>
5357
5358 <template name="statusbar"/>
5359
5360 <text style="text_m">
5361 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5362 <text>%tw_storagetext%</text>
5363 </text>
5364
5365 <partitionlist style="partitionlist_headerless_rb">
5366 <data name="tw_storage_path"/>
5367 <listtype name="storage"/>
5368 </partitionlist>
5369
5370 <button>
5371 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5372 <highlight color="%highlight_color%"/>
5373 <image resource="q_btn_refresh"/>
5374 <actions>
5375 <action function="refreshsizes"/>
5376 <action function="page">select_storage</action>
5377 </actions>
5378 </button>
5379
5380 <button>
5381 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5382 <highlight color="%highlight_color%"/>
5383 <image resource="q_btn_accept"/>
5384 <actions>
5385 <action function="set">tw_clear_destination=%tw_back%</action>
5386 <action function="page">clear_vars</action>
5387 </actions>
5388 </button>
5389
5390 <action>
5391 <touch key="power+voldown"/>
5392 <action function="screenshot"/>
5393 </action>
5394 </page>
5395 </pages>
5396</recovery>