blob: d7bba84bdb0195545c9ef8a230f5fbf18391bed9 [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>
529 <placement x="%indent%" y="%row4_y%" />
530 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
531 <data variable="tw_install_reboot" />
532 </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>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003471 <data variable="tw_rm_rf"/>
3472 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003473 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3474 <data variable="tw_disable_free_space"/>
3475 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003477 <data variable="tw_skip_md5_generate"/>
3478 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003479 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003480 <data variable="tw_skip_md5_check"/>
3481 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003482 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003483 <data variable="tw_military_time"/>
3484 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003486 <data variable="tw_simulate_actions"/>
3487 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003488 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003489 <data variable="tw_simulate_fail"/>
3490 <condition var1="tw_simulate_actions" var2="1"/>
3491 </listitem>
3492 </listbox>
3493
3494 <action>
3495 <touch key="home"/>
3496 <action function="page">main</action>
3497 </action>
3498
3499 <action>
3500 <touch key="back"/>
3501 <action function="page">settings</action>
3502 </action>
3503 </page>
3504
3505 <page name="settings_timezone">
3506 <template name="page"/>
3507
3508 <template name="statusbar"/>
3509
3510 <text style="text_m">
3511 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text color="%text_color%">
3516 <font resource="font_m"/>
3517 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3518 <text>%tw_time%</text>
3519 </text>
3520
3521 <listbox style="listbox_headerless">
3522 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3523 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3525 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3526 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3527 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3528 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3529 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3530 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3531 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3532 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3533 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3534 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3535 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3536 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3537 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3538 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3539 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3540 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3541 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3542 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3543 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3544 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3545 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3546 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3547 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003548 </listbox>
3549
3550 <button>
3551 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3552 <highlight color="%highlight_color%"/>
3553 <image resource="q_btn_arrow_right"/>
3554 <actions>
3555 <action function="setguitimezone"/>
3556 <action function="page">settings_timezone2</action>
3557 </actions>
3558 </button>
3559
3560 <action>
3561 <condition var1="tw_time_zone_guisel" op="modified"/>
3562 <action function="setguitimezone"/>
3563 </action>
3564
3565 <action>
3566 <touch key="home"/>
3567 <actions>
3568 <action function="page">main</action>
3569 <action function="setguitimezone"/>
3570 </actions>
3571 </action>
3572
3573 <action>
3574 <touch key="back"/>
3575 <actions>
3576 <action function="page">settings</action>
3577 <action function="setguitimezone"/>
3578 </actions>
3579 </action>
3580
3581 <action>
3582 <touch key="power+voldown"/>
3583 <action function="screenshot"/>
3584 </action>
3585 </page>
3586
3587 <page name="settings_timezone2">
3588 <template name="page"/>
3589
3590 <template name="statusbar"/>
3591
3592 <text style="text_m">
3593 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003595 </text>
3596
3597 <text color="%text_color%">
3598 <font resource="font_m"/>
3599 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3600 <text>%tw_time%</text>
3601 </text>
3602
3603 <checkbox>
3604 <placement x="%col1_x_left%" y="%row1_y%"/>
3605 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <data variable="tw_time_zone_guidst"/>
3608 <image checked="checkbox_true" unchecked="checkbox_false"/>
3609 </checkbox>
3610
3611 <text style="text_m_accent">
3612 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <button style="main_button_quarter_width">
3617 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 <actions>
3620 <action function="set">tw_time_zone_guioffset=0</action>
3621 <action function="setguitimezone"/>
3622 </actions>
3623 </button>
3624
3625 <button style="main_button_quarter_width">
3626 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="set">tw_time_zone_guioffset=15</action>
3630 <action function="setguitimezone"/>
3631 </actions>
3632 </button>
3633
3634 <button style="main_button_quarter_width">
3635 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <actions>
3638 <action function="set">tw_time_zone_guioffset=30</action>
3639 <action function="setguitimezone"/>
3640 </actions>
3641 </button>
3642
3643 <button style="main_button_quarter_width">
3644 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <actions>
3647 <action function="set">tw_time_zone_guioffset=45</action>
3648 <action function="setguitimezone"/>
3649 </actions>
3650 </button>
3651
3652 <button>
3653 <placement x="%col1_x_left%" y="%row11_y%"/>
3654 <highlight color="%highlight_color%"/>
3655 <image resource="q_btn_arrow_left"/>
3656 <actions>
3657 <action function="setguitimezone"/>
3658 <action function="page">settings_timezone</action>
3659 </actions>
3660 </button>
3661
3662 <text style="text_m_accent">
3663 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 </text>
3666
3667 <text style="text_m">
3668 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3669 <text>%tw_time_zone%</text>
3670 </text>
3671
3672 <action>
3673 <condition var1="tw_time_zone_guidst" op="modified"/>
3674 <action function="setguitimezone"/>
3675 </action>
3676
3677 <action>
3678 <touch key="home"/>
3679 <actions>
3680 <action function="setguitimezone"/>
3681 <action function="page">main</action>
3682 </actions>
3683 </action>
3684
3685 <action>
3686 <touch key="back"/>
3687 <actions>
3688 <action function="setguitimezone"/>
3689 <action function="page">settings_timezone</action>
3690 </actions>
3691 </action>
3692 </page>
3693
3694 <page name="settings_screen">
3695 <template name="page"/>
3696
3697 <template name="statusbar"/>
3698
3699 <text style="text_m">
3700 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </text>
3703
3704 <button style="checkbox">
3705 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3706 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3707 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 <image resource="checkbox_false"/>
3710 <action function="set">tw_screen_timeout_secs=60</action>
3711 </button>
3712
3713 <button style="checkbox">
3714 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3715 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3716 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 <image resource="checkbox_true"/>
3719 <action function="set">tw_screen_timeout_secs=0</action>
3720 </button>
3721
3722 <slidervalue>
3723 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3724 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003726 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3727 </slidervalue>
3728
3729 <text style="text_m_fail">
3730 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3731 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 </text>
3734
3735 <button>
3736 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3737 <highlight color="%highlight_color%"/>
3738 <image resource="q_btn_arrow_right"/>
3739 <action function="page">settings_screen2</action>
3740 </button>
3741
3742 <action>
3743 <touch key="home"/>
3744 <action function="page">main</action>
3745 </action>
3746
3747 <action>
3748 <touch key="back"/>
3749 <action function="page">settings</action>
3750 </action>
3751 </page>
3752
3753 <page name="settings_screen2">
3754 <template name="page"/>
3755
3756 <template name="statusbar"/>
3757
3758 <text style="text_m">
3759 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003760 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003761 </text>
3762
3763 <slidervalue>
3764 <condition var1="tw_has_brightnesss_file" var2="1"/>
3765 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003766 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003767 <data variable="tw_brightness_pct" min="10" max="100"/>
3768 <actions>
3769 <action function="set">tw_brightness=%tw_brightness_max%</action>
3770 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3771 <action function="compute">tw_brightness/100</action>
3772 <action function="setbrightness">%tw_brightness%</action>
3773 </actions>
3774 </slidervalue>
3775
3776 <text style="text_m_fail">
3777 <condition var1="tw_has_brightnesss_file" var2="0"/>
3778 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 </text>
3781
3782 <button>
3783 <placement x="%col1_x_left%" y="%row11_y%"/>
3784 <highlight color="%highlight_color%"/>
3785 <image resource="q_btn_arrow_left"/>
3786 <action function="page">settings_screen</action>
3787 </button>
3788
3789 <action>
3790 <touch key="home"/>
3791 <action function="page">main</action>
3792 </action>
3793
3794 <action>
3795 <touch key="back"/>
3796 <action function="page">settings</action>
3797 </action>
3798 </page>
3799
3800 <page name="settings_vibration">
3801 <template name="page"/>
3802
3803 <template name="statusbar"/>
3804
3805 <text style="text_m">
3806 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003808 </text>
3809
3810 <slidervalue>
3811 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003812 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003813 <data variable="tw_button_vibrate" min="0" max="300"/>
3814 </slidervalue>
3815
3816 <button>
3817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3818 <highlight color="%highlight_color%"/>
3819 <image resource="q_btn_arrow_right"/>
3820 <action function="page">settings_vibration2</action>
3821 </button>
3822
3823 <action>
3824 <touch key="home"/>
3825 <action function="page">main</action>
3826 </action>
3827
3828 <action>
3829 <touch key="back"/>
3830 <action function="page">settings</action>
3831 </action>
3832 </page>
3833
3834 <page name="settings_vibration2">
3835 <template name="page"/>
3836
3837 <template name="statusbar"/>
3838
3839 <text style="text_m">
3840 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003841 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003842 </text>
3843
3844 <slidervalue>
3845 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003846 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003847 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3848 </slidervalue>
3849
3850 <button>
3851 <placement x="%col1_x_left%" y="%row11_y%"/>
3852 <highlight color="%highlight_color%"/>
3853 <image resource="q_btn_arrow_left"/>
3854 <action function="page">settings_vibration</action>
3855 </button>
3856
3857 <button>
3858 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3859 <highlight color="%highlight_color%"/>
3860 <image resource="q_btn_arrow_right"/>
3861 <action function="page">settings_vibration3</action>
3862 </button>
3863
3864 <action>
3865 <touch key="home"/>
3866 <action function="page">main</action>
3867 </action>
3868
3869 <action>
3870 <touch key="back"/>
3871 <action function="page">settings</action>
3872 </action>
3873 </page>
3874
3875 <page name="settings_vibration3">
3876 <template name="page"/>
3877
3878 <template name="statusbar"/>
3879
3880 <text style="text_m">
3881 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 </text>
3884
3885 <slidervalue>
3886 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 <data variable="tw_action_vibrate" min="0" max="500"/>
3889 </slidervalue>
3890
3891 <button>
3892 <placement x="%col1_x_left%" y="%row11_y%"/>
3893 <highlight color="%highlight_color%"/>
3894 <image resource="q_btn_arrow_left"/>
3895 <action function="page">settings_vibration2</action>
3896 </button>
3897
3898 <action>
3899 <touch key="home"/>
3900 <action function="page">main</action>
3901 </action>
3902
3903 <action>
3904 <touch key="back"/>
3905 <action function="page">settings</action>
3906 </action>
3907 </page>
3908
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <page name="settings_language">
3910 <template name="page"/>
3911
3912 <template name="statusbar"/>
3913
3914 <text style="text_m">
3915 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3916 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3917 </text>
3918
z31s1g608d7ff2016-01-18 19:47:25 +01003919 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3921 <icon selected="radio_true" unselected="radio_false" />
3922 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01003923 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924
3925 <button>
3926 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3927 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003928 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <action function="setlanguage"></action>
3930 </button>
3931
z31s1g608d7ff2016-01-18 19:47:25 +01003932 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <touch key="home" />
3934 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003935 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936
z31s1g608d7ff2016-01-18 19:47:25 +01003937 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <touch key="back" />
3939 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01003940 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 </page>
3942
z31s1g28f0a922015-11-07 18:50:22 +01003943 <page name="advanced">
3944 <template name="page"/>
3945
3946 <template name="statusbar"/>
3947
3948 <text style="text_m">
3949 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <button style="main_button">
3954 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003956 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </button>
3958
3959 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003960 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003961 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003962 <text>{@fix_context_btn=Fix Contexts}</text>
3963 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003964 </button>
3965
3966 <button style="main_button">
3967 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <action function="reload"/>
3970 </button>
3971
3972 <button style="main_button">
3973 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3974 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@part_sd_s_btn=SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003976 <actions>
3977 <action function="set">partitionlisterror=0</action>
3978 <action function="page">partsdcardsel</action>
3979 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003980 </button>
3981
3982 <button style="main_button">
3983 <condition var1="tw_show_dumlock" var2="1"/>
3984 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 <action function="page">htcdumlock</action>
3987 </button>
3988
3989 <button style="main_button">
3990 <condition var1="tw_has_injecttwrp" var2="1"/>
3991 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <actions>
3994 <action function="set">tw_back=advanced</action>
3995 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3997 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3998 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3999 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004000 <action function="page">confirm_action</action>
4001 </actions>
4002 </button>
4003
4004 <action>
4005 <touch key="home"/>
4006 <action function="page">main</action>
4007 </action>
4008
4009 <action>
4010 <touch key="back"/>
4011 <action function="page">main3</action>
4012 </action>
4013 </page>
4014
Ethan Yonker483e9f42016-01-11 22:21:18 -06004015 <page name="partsdcardsel">
4016 <template name="page"/>
4017
4018 <template name="statusbar"/>
4019
4020 <text style="text_m">
4021 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4022 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4023 </text>
4024
4025 <partitionlist style="partitionlist_headerless_rb">
4026 <data name="tw_storage_path"/>
4027 <listtype name="storage"/>
4028 </partitionlist>
4029
4030 <text style="text_m_fail">
4031 <condition var1="partitionlisterror" var2="1"/>
4032 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4033 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4034 </text>
4035
4036 <button>
4037 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4038 <highlight color="%highlight_color%"/>
4039 <image resource="q_btn_refresh"/>
4040 <action function="refreshsizes"/>
4041 </button>
4042
4043 <button>
4044 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4045 <highlight color="%highlight_color%"/>
4046 <image resource="q_btn_accept"/>
4047 <actions>
4048 <action function="getpartitiondetails">tw_storage_path</action>
4049 <action function="page">partsdcardcheck</action>
4050 </actions>
4051 </button>
4052
4053 <action>
4054 <touch key="home"/>
4055 <action function="page">main</action>
4056 </action>
4057
4058 <action>
4059 <touch key="back"/>
4060 <action function="page">advanced</action>
4061 </action>
4062 </page>
4063
4064 <page name="partsdcardcheck">
4065 <action>
4066 <condition var1="tw_partition_removable" op="=" var2="1"/>
4067 <actions>
4068 <action function="set">partitionlisterror=0</action>
4069 <action function="page">partsdcard</action>
4070 </actions>
4071 </action>
4072
4073 <action>
4074 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4075 <actions>
4076 <action function="set">partitionlisterror=1</action>
4077 <action function="page">partsdcardsel</action>
4078 </actions>
4079 </action>
4080 </page>
4081
z31s1g28f0a922015-11-07 18:50:22 +01004082 <page name="partsdcard">
4083 <template name="page"/>
4084
4085 <template name="statusbar"/>
4086
4087 <text style="text_m">
4088 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
4092 <text style="text_m_fail">
4093 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <text style="text_m_fail">
4098 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004099 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004100 </text>
4101
4102 <text style="text_m_accent">
4103 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <text style="text_m">
4108 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4109 <text>%tw_sdext_size%</text>
4110 </text>
4111
4112 <button style="main_button_quarter_width">
4113 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004115 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004116 </button>
4117
4118 <button style="main_button_quarter_width">
4119 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004121 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </button>
4123
4124 <button>
4125 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4126 <highlight color="%highlight_color%"/>
4127 <image resource="q_btn_arrow_right"/>
4128 <action function="page">partsdcard2</action>
4129 </button>
4130
4131 <action>
4132 <touch key="home"/>
4133 <action function="page">main</action>
4134 </action>
4135
4136 <action>
4137 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004138 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004139 </action>
4140 </page>
4141
4142 <page name="partsdcard2">
4143 <template name="page"/>
4144
4145 <template name="statusbar"/>
4146
4147 <text style="text_m">
4148 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <text style="text_m_fail">
4153 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004155 </text>
4156
4157 <text style="text_m_fail">
4158 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 </text>
4161
4162 <text style="text_m_accent">
4163 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004165 </text>
4166
4167 <text style="text_m">
4168 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4169 <text>%tw_swap_size%</text>
4170 </text>
4171
4172 <button style="main_button_quarter_width">
4173 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004175 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004176 </button>
4177
4178 <button style="main_button_quarter_width">
4179 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004181 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004182 </button>
4183
4184 <button>
4185 <placement x="%col1_x_left%" y="%row11_y%"/>
4186 <highlight color="%highlight_color%"/>
4187 <image resource="q_btn_arrow_left"/>
4188 <action function="page">partsdcard</action>
4189 </button>
4190
4191 <button>
4192 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4193 <highlight color="%highlight_color%"/>
4194 <image resource="q_btn_arrow_right"/>
4195 <action function="page">partsdcard3</action>
4196 </button>
4197
4198 <action>
4199 <touch key="home"/>
4200 <action function="page">main</action>
4201 </action>
4202
4203 <action>
4204 <touch key="back"/>
4205 <action function="page">advanced</action>
4206 </action>
4207 </page>
4208
4209 <page name="partsdcard3">
4210 <template name="page"/>
4211
4212 <template name="statusbar"/>
4213
4214 <text style="text_m">
4215 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004217 </text>
4218
4219 <text style="text_m_fail">
4220 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004222 </text>
4223
4224 <text style="text_m_fail">
4225 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004226 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004227 </text>
4228
4229 <text style="text_m_accent">
4230 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004231 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 </text>
4233
4234 <text style="text_m">
4235 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4236 <text>%tw_sdpart_file_system%</text>
4237 </text>
4238
4239 <button style="main_button_quarter_width">
4240 <placement x="%indent%" y="%row6_y%"/>
4241 <text>EXT3</text>
4242 <action function="set">tw_sdpart_file_system=ext3</action>
4243 </button>
4244
4245 <button style="main_button_quarter_width">
4246 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4247 <text>EXT4</text>
4248 <action function="set">tw_sdpart_file_system=ext4</action>
4249 </button>
4250
4251 <button>
4252 <placement x="%col1_x_left%" y="%row11_y%"/>
4253 <highlight color="%highlight_color%"/>
4254 <image resource="q_btn_arrow_left"/>
4255 <action function="page">partsdcard2</action>
4256 </button>
4257
4258 <button>
4259 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4260 <highlight color="%highlight_color%"/>
4261 <image resource="q_btn_arrow_right"/>
4262 <action function="page">partsdcard_confirm</action>
4263 </button>
4264
4265 <action>
4266 <touch key="home"/>
4267 <action function="page">main</action>
4268 </action>
4269
4270 <action>
4271 <touch key="back"/>
4272 <action function="page">advanced</action>
4273 </action>
4274 </page>
4275
4276 <page name="partsdcard_confirm">
4277 <template name="page"/>
4278
4279 <template name="statusbar"/>
4280
4281 <text style="text_m">
4282 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004284 </text>
4285
4286 <text style="text_m_fail">
4287 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004288 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004289 </text>
4290
4291 <text style="text_m_fail">
4292 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004294 </text>
4295
4296 <text style="text_m_accent">
4297 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004299 </text>
4300
4301 <text style="text_m_accent">
4302 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004303 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004304 </text>
4305
4306 <text style="text_m_accent">
4307 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004308 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004309 </text>
4310
4311 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004312 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004313 <action function="page">partsdcardaction</action>
4314 <actions>
4315 <action function="set">tw_back=partsdcard</action>
4316 <action function="set">tw_action=partitionsd</action>
4317 <action function="set">tw_has_action2=1</action>
4318 <action function="set">tw_action2=set</action>
4319 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4321 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4322 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004323 <action function="page">action_page</action>
4324 </actions>
4325 </slider>
4326
4327 <action>
4328 <touch key="home"/>
4329 <action function="page">main</action>
4330 </action>
4331
4332 <action>
4333 <touch key="back"/>
4334 <action function="page">advanced</action>
4335 </action>
4336 </page>
4337
4338 <page name="htcdumlock">
4339 <template name="page"/>
4340
4341 <template name="statusbar"/>
4342
4343 <text style="text_m">
4344 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 </text>
4347
4348 <button style="main_button_full_width">
4349 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 <actions>
4352 <action function="set">tw_back=htcdumlock</action>
4353 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004354 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4355 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4356 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4357 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004358 <action function="page">confirm_action</action>
4359 </actions>
4360 </button>
4361
4362 <button style="main_button_full_width">
4363 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004364 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004365 <actions>
4366 <action function="set">tw_back=htcdumlock</action>
4367 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4369 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4370 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4371 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004372 <action function="page">confirm_action</action>
4373 </actions>
4374 </button>
4375
4376 <button style="main_button_full_width">
4377 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004378 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004379 <actions>
4380 <action function="set">tw_back=htcdumlock</action>
4381 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4383 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4384 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4385 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004386 <action function="page">confirm_action</action>
4387 </actions>
4388 </button>
4389
4390 <action>
4391 <touch key="home"/>
4392 <action function="page">main</action>
4393 </action>
4394
4395 <action>
4396 <touch key="back"/>
4397 <action function="page">advanced</action>
4398 </action>
4399 </page>
4400
4401 <page name="lock">
4402 <background color="%semi_transparent%"/>
4403
4404 <image>
4405 <image resource="unlock_icon"/>
4406 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4407 </image>
4408
4409 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004410 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004411 <action function="overlay"/>
4412 </slider>
4413 </page>
4414
4415 <page name="filemanagerlist">
4416 <template name="page"/>
4417
4418 <template name="statusbar"/>
4419
4420 <text style="text_m">
4421 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 </text>
4424
4425 <fileselector>
4426 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4427 <text>%tw_file_location1%</text>
4428 <filter folders="1" files="1"/>
4429 <path name="tw_file_location1" default="/"/>
4430 <data name="tw_filename1"/>
4431 <selection name="tw_selection1"/>
4432 </fileselector>
4433
4434 <button>
4435 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4436 <highlight color="%highlight_color%"/>
4437 <image resource="q_btn_folder"/>
4438 <actions>
4439 <action function="set">tw_filename1=tw_file_location1</action>
4440 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004442 <action function="page">filemanageroptions</action>
4443 </actions>
4444 </button>
4445
4446 <action>
4447 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004449 <action function="set">tw_fm_isfolder=0</action>
4450 </actions>
4451 </action>
4452
4453 <action>
4454 <touch key="home"/>
4455 <action function="page">main</action>
4456 </action>
4457
4458 <action>
4459 <touch key="back"/>
4460 <action function="page">main3</action>
4461 </action>
4462
4463 <action>
4464 <condition var1="tw_filename1" op="modified"/>
4465 <action function="page">filemanageroptions</action>
4466 </action>
4467 </page>
4468
4469 <page name="filemanageroptions">
4470 <template name="page"/>
4471
4472 <template name="statusbar"/>
4473
4474 <text style="text_m">
4475 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </text>
4478
4479 <button style="main_button">
4480 <condition var1="tw_fm_isfolder" var2="0"/>
4481 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004482 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004483 <actions>
4484 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004486 <action function="page">choosedestinationfolder</action>
4487 </actions>
4488 </button>
4489
4490 <button style="main_button">
4491 <condition var1="tw_fm_isfolder" var2="1"/>
4492 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004493 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004494 <actions>
4495 <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 -05004496 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004497 <action function="page">choosedestinationfolder</action>
4498 </actions>
4499 </button>
4500
4501 <button style="main_button">
4502 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004504 <actions>
4505 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004507 <action function="page">choosedestinationfolder</action>
4508 </actions>
4509 </button>
4510
4511 <button style="main_button">
4512 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004513 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004514 <actions>
4515 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004517 <action function="set">tw_fm_text2=</action>
4518 <action function="set">tw_fm_text3=</action>
4519 <action function="set">tw_include_text3=0</action>
4520 <action function="set">tw_back=filemanageroptions</action>
4521 <action function="page">filemanagerconfirm</action>
4522 </actions>
4523 </button>
4524
4525 <button style="main_button">
4526 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004527 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004528 <actions>
4529 <action function="set">tw_filemanager_rename=0000</action>
4530 <action function="set">tw_fm_text2=</action>
4531 <action function="set">tw_fm_text3=</action>
4532 <action function="set">tw_include_text3=0</action>
4533 <action function="set">tw_back=filemanageroptions</action>
4534 <action function="page">filemanagerchmod</action>
4535 </actions>
4536 </button>
4537
4538 <button style="main_button">
4539 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004540 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004541 <actions>
4542 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004544 <action function="set">tw_fm_text2=</action>
4545 <action function="set">tw_fm_text3=</action>
4546 <action function="set">tw_include_text3=0</action>
4547 <action function="set">tw_back=filemanageroptions</action>
4548 <action function="page">filemanagerconfirm</action>
4549 </actions>
4550 </button>
4551
4552 <button style="main_button">
4553 <condition var1="tw_fm_isfolder" var2="0"/>
4554 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 <actions>
4557 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004559 <action function="set">tw_filemanager_command=mv</action>
4560 <action function="page">filemanagerrenamefile</action>
4561 </actions>
4562 </button>
4563
4564 <button style="main_button">
4565 <condition var1="tw_fm_isfolder" var2="1"/>
4566 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004567 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004568 <actions>
4569 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004570 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004571 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4572 <action function="page">filemanagerrenamefolder</action>
4573 </actions>
4574 </button>
4575
4576 <action>
4577 <touch key="home"/>
4578 <action function="page">main</action>
4579 </action>
4580
4581 <action>
4582 <touch key="back"/>
4583 <action function="page">filemanagerlist</action>
4584 </action>
4585 </page>
4586
4587 <page name="choosedestinationfolder">
4588 <template name="page"/>
4589
4590 <template name="statusbar"/>
4591
4592 <text style="text_m">
4593 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004594 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004595 </text>
4596
4597 <fileselector>
4598 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4599 <text>%tw_file_location2%</text>
4600 <filter folders="1" files="0"/>
4601 <path name="tw_file_location2" default="/"/>
4602 <data name="tw_filename2"/>
4603 <selection name="tw_selection2"/>
4604 </fileselector>
4605
4606 <button>
4607 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4608 <highlight color="%highlight_color%"/>
4609 <image resource="q_btn_folder"/>
4610 <actions>
4611 <action function="set">tw_fm_text2=to</action>
4612 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4613 <action function="set">tw_include_text3=1</action>
4614 <action function="set">tw_back=filemanageroptions</action>
4615 <action function="page">filemanagerconfirm</action>
4616 </actions>
4617 </button>
4618
4619 <action>
4620 <touch key="home"/>
4621 <action function="page">main</action>
4622 </action>
4623
4624 <action>
4625 <touch key="back"/>
4626 <action function="page">filemanageroptions</action>
4627 </action>
4628 </page>
4629
4630 <page name="filemanagerrenamefile">
4631 <template name="page"/>
4632
4633 <template name="statusbar"/>
4634
4635 <text style="text_m">
4636 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 </text>
4639
4640 <text style="text_m_accent">
4641 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004642 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004643 </text>
4644
4645 <input>
4646 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4647 <text>%tw_filemanager_rename%</text>
4648 <data name="tw_filemanager_rename"/>
4649 <restrict minlen="1" maxlen="128"/>
4650 <actions>
4651 <action function="set">tw_fm_text2=to</action>
4652 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4653 <action function="set">tw_include_text3=1</action>
4654 <action function="set">tw_back=filemanageroptions</action>
4655 <action function="page">filemanagerconfirm</action>
4656 </actions>
4657 </input>
4658
4659 <fill color="%accent_color%">
4660 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4661 </fill>
4662
4663 <button style="main_button_half_height">
4664 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004665 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004666 <action function="page">filemanageroptions</action>
4667 </button>
4668
4669 <template name="keyboardtemplate"/>
4670
4671 <action>
4672 <touch key="home"/>
4673 <action function="page">main</action>
4674 </action>
4675
4676 <action>
4677 <touch key="back"/>
4678 <action function="page">filemanageroptions</action>
4679 </action>
4680 </page>
4681
4682 <page name="filemanagerrenamefolder">
4683 <template name="page"/>
4684
4685 <template name="statusbar"/>
4686
4687 <text style="text_m">
4688 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004689 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004690 </text>
4691
4692 <text style="text_m_accent">
4693 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004694 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004695 </text>
4696
4697 <input>
4698 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4699 <text>%tw_filemanager_rename%</text>
4700 <data name="tw_filemanager_rename"/>
4701 <restrict minlen="1" maxlen="128"/>
4702 <actions>
4703 <action function="set">tw_fm_text2=to</action>
4704 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4705 <action function="set">tw_include_text3=1</action>
4706 <action function="set">tw_back=filemanageroptions</action>
4707 <action function="page">filemanagerconfirm</action>
4708 </actions>
4709 </input>
4710
4711 <fill color="%accent_color%">
4712 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4713 </fill>
4714
4715 <button style="main_button_half_height">
4716 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004717 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004718 <action function="page">filemanageroptions</action>
4719 </button>
4720
4721 <template name="keyboardtemplate"/>
4722
4723 <action>
4724 <touch key="home"/>
4725 <action function="page">main</action>
4726 </action>
4727
4728 <action>
4729 <touch key="back"/>
4730 <action function="page">filemanageroptions</action>
4731 </action>
4732 </page>
4733
4734 <page name="filemanagerchmod">
4735 <template name="page"/>
4736
4737 <template name="statusbar"/>
4738
4739 <text style="text_m">
4740 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004741 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004742 </text>
4743
4744 <text style="text_m_accent">
4745 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004746 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004747 </text>
4748
4749 <input>
4750 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4751 <text>%tw_filemanager_rename%</text>
4752 <data name="tw_filemanager_rename"/>
4753 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4754 <actions>
4755 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4756 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4757 <action function="set">tw_back=filemanageroptions</action>
4758 <action function="page">filemanagerconfirm</action>
4759 </actions>
4760 </input>
4761
4762 <fill color="%accent_color%">
4763 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4764 </fill>
4765
4766 <button style="main_button_half_height">
4767 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004768 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004769 <action function="page">filemanageroptions</action>
4770 </button>
4771
4772 <template name="keyboardtemplate"/>
4773
4774 <action>
4775 <touch key="home"/>
4776 <action function="page">main</action>
4777 </action>
4778
4779 <action>
4780 <touch key="back"/>
4781 <action function="page">filemanageroptions</action>
4782 </action>
4783 </page>
4784
4785 <page name="filemanagerconfirm">
4786 <template name="page"/>
4787
4788 <template name="statusbar"/>
4789
4790 <text style="text_m">
4791 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004792 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004793 </text>
4794
4795 <text style="text_m_accent">
4796 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4797 <text>%tw_fm_text1%</text>
4798 </text>
4799
4800 <text style="text_m">
4801 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4802 <text>%tw_filename1%</text>
4803 </text>
4804
4805 <text style="text_m_accent">
4806 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4807 <text>%tw_fm_text2%</text>
4808 </text>
4809
4810 <text style="text_m">
4811 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4812 <text>%tw_fm_text3%</text>
4813 </text>
4814
4815 <text style="text_m">
4816 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004817 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004818 </text>
4819
4820 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004821 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004822 <action function="page">filemanageraction</action>
4823 </slider>
4824
4825 <action>
4826 <touch key="back"/>
4827 <action function="page">%tw_back%</action>
4828 </action>
4829
4830 <action>
4831 <touch key="home"/>
4832 <action function="page">main</action>
4833 </action>
4834 </page>
4835
4836 <page name="filemanageraction">
4837 <template name="page"/>
4838
4839 <template name="statusbar"/>
4840
4841 <text style="text_m">
4842 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004843 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004844 </text>
4845
4846 <template name="console"/>
4847
4848 <template name="progress_bar"/>
4849
4850 <action>
4851 <conditions>
4852 <condition var1="tw_operation_state" var2="1"/>
4853 <condition var1="tw_operation_status" var2="0"/>
4854 </conditions>
4855 <actions>
4856 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004857 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004858 <action function="page">action_complete</action>
4859 </actions>
4860 </action>
4861
4862 <action>
4863 <conditions>
4864 <condition var1="tw_operation_state" var2="1"/>
4865 <condition var1="tw_operation_status" op="!=" var2="0"/>
4866 </conditions>
4867 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004868 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004869 <action function="page">action_complete</action>
4870 </actions>
4871 </action>
4872
4873 <action>
4874 <condition var1="tw_include_text3" var2="0"/>
4875 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4876 </action>
4877
4878 <action>
4879 <condition var1="tw_include_text3" var2="1"/>
4880 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4881 </action>
4882 </page>
4883
4884 <page name="decrypt">
4885 <template name="page"/>
4886
4887 <template name="statusbar"/>
4888
4889 <action>
4890 <condition var1="tw_crypto_pwtype" var2="2"/>
4891 <action function="page">decrypt_pattern</action>
4892 </action>
4893
4894 <text style="text_m">
4895 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004896 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004897 </text>
4898
4899 <text style="text_m_accent">
4900 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004901 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004902 </text>
4903
4904 <input>
4905 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4906 <text>%tw_crypto_display%</text>
4907 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4908 <restrict minlen="1" maxlen="254"/>
4909 <action function="page">trydecrypt</action>
4910 </input>
4911
4912 <fill color="%accent_color%">
4913 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4914 </fill>
4915
4916 <fill color="%text_fail_color%">
4917 <condition var1="tw_password_fail" var2="1"/>
4918 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4919 </fill>
4920
4921 <text style="text_m_fail">
4922 <condition var1="tw_password_fail" var2="1"/>
4923 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004924 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004925 </text>
4926
4927 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01004928 <placement x="%col1_x_left%" y="%row4_y%"/>
4929 <text>{@sel_lang_btn=Select Language}</text>
4930 <action function="page">settings_language</action>
4931 </button>
4932
4933 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004934 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004935 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004936 <actions>
4937 <action function="set">tw_page_done=1</action>
4938 <action function="page">main</action>
4939 </actions>
4940 </button>
4941
4942 <template name="keyboardtemplate"/>
4943 </page>
4944
4945 <page name="decrypt_pattern">
4946 <template name="page"/>
4947
4948 <template name="statusbar"/>
4949
Aleksa Saraib25a1832015-12-31 17:36:00 +01004950 <action>
4951 <action function="set">tw_gui_pattern_grid_size=3</action>
4952 </action>
4953
z31s1g28f0a922015-11-07 18:50:22 +01004954 <text style="text_m">
4955 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004956 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004957 </text>
4958
4959 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004960 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004961 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004962 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004963 </text>
4964
Aleksa Saraib25a1832015-12-31 17:36:00 +01004965 <text style="text_m_fail">
4966 <condition var1="tw_password_fail" var2="1"/>
4967 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004968 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004969 </text>
4970
z31s1g28f0a922015-11-07 18:50:22 +01004971 <text style="text_m">
4972 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004973 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004974 </text>
4975
4976 <patternpassword>
4977 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004978 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4979 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4980 <data name="tw_crypto_password"/>
4981 <action function="page">trydecrypt</action>
4982 </patternpassword>
4983
4984 <fill color="#000000">
4985 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4986 </fill>
4987
4988 <button>
4989 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4990 <image resource="back"/>
4991 <condition var1="tw_busy" var2="0"/>
4992 <actions>
4993 <action function="set">tw_page_done=1</action>
4994 <action function="page">main</action>
4995 </actions>
4996 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004997
4998 <button>
4999 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5000 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5001 <image resource="grid_less"/>
5002 <action function="set">tw_gui_pattern_grid_size=3</action>
5003 </button>
5004
5005 <button>
5006 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5007 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5008 <image resource="grid_less"/>
5009 <action function="set">tw_gui_pattern_grid_size=3</action>
5010 </button>
5011
5012 <button>
5013 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5014 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5015 <image resource="grid_less"/>
5016 <action function="set">tw_gui_pattern_grid_size=4</action>
5017 </button>
5018
5019 <button>
5020 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5021 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5022 <image resource="grid_less"/>
5023 <action function="set">tw_gui_pattern_grid_size=5</action>
5024 </button>
5025
5026 <button>
5027 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5028 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5029 <image resource="grid_more"/>
5030 <action function="set">tw_gui_pattern_grid_size=4</action>
5031 </button>
5032
5033 <button>
5034 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5035 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5036 <image resource="grid_more"/>
5037 <action function="set">tw_gui_pattern_grid_size=5</action>
5038 </button>
5039
5040 <button>
5041 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5042 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5043 <image resource="grid_more"/>
5044 <action function="set">tw_gui_pattern_grid_size=6</action>
5045 </button>
5046
5047 <button>
5048 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5049 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5050 <image resource="grid_more"/>
5051 <action function="set">tw_gui_pattern_grid_size=6</action>
5052 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005053 </page>
5054
5055 <page name="trydecrypt">
5056 <template name="page"/>
5057
5058 <template name="statusbar"/>
5059
5060 <text style="text_m">
5061 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005062 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005063 </text>
5064
5065 <template name="console"/>
5066
5067 <template name="progress_bar"/>
5068
5069 <action>
5070 <action function="decrypt"/>
5071 </action>
5072
5073 <action>
5074 <conditions>
5075 <condition var1="tw_operation_state" var2="1"/>
5076 <condition var1="tw_operation_status" op="!=" var2="0"/>
5077 </conditions>
5078 <actions>
5079 <action function="set">tw_password_fail=1</action>
5080 <action function="page">decrypt</action>
5081 </actions>
5082 </action>
5083
5084 <action>
5085 <conditions>
5086 <condition var1="tw_operation_state" var2="1"/>
5087 <condition var1="tw_operation_status" op="=" var2="0"/>
5088 </conditions>
5089 <actions>
5090 <action function="set">tw_page_done=1</action>
5091 <action function="page">main</action>
5092 </actions>
5093 </action>
5094 </page>
5095
z31s1g28f0a922015-11-07 18:50:22 +01005096 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005097 <terminal>
5098 <condition var1="tw_hide_kb" var2="0"/>
5099 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5100 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005101
z31s1g56189522016-01-13 19:12:40 +01005102 <terminal>
5103 <condition var1="tw_hide_kb" var2="1"/>
5104 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5105 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005106
z31s1g56189522016-01-13 19:12:40 +01005107 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005108
5109 <template name="keyboardtemplate"/>
5110
z31s1g608d7ff2016-01-18 19:47:25 +01005111 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005112 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005113 </fill>
z31s1g56189522016-01-13 19:12:40 +01005114
z31s1g608d7ff2016-01-18 19:47:25 +01005115 <button>
z31s1g56189522016-01-13 19:12:40 +01005116 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5117 <image resource="back" />
5118 <condition var1="tw_busy" var2="0" />
5119 <actions>
5120 <action function="set">tw_hide_kb=0</action>
5121 <action function="key">back</action>
5122 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005123 </button>
z31s1g56189522016-01-13 19:12:40 +01005124
z31s1g608d7ff2016-01-18 19:47:25 +01005125 <button>
z31s1g56189522016-01-13 19:12:40 +01005126 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5127 <image resource="home" />
5128 <condition var1="tw_busy" var2="0" />
5129 <actions>
5130 <action function="set">tw_hide_kb=0</action>
5131 <action function="key">home</action>
5132 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005133 </button>
z31s1g56189522016-01-13 19:12:40 +01005134
z31s1g608d7ff2016-01-18 19:47:25 +01005135 <button>
z31s1g56189522016-01-13 19:12:40 +01005136 <condition var1="tw_hide_kb" var2="0"/>
5137 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5138 <image resource="kb_hide" />
5139 <condition var1="tw_busy" var2="0" />
5140 <actions>
5141 <action function="set">tw_hide_kb=1</action>
5142 <action function="page">terminalcommand</action>
5143 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005144 </button>
z31s1g56189522016-01-13 19:12:40 +01005145
z31s1g608d7ff2016-01-18 19:47:25 +01005146 <button>
z31s1g56189522016-01-13 19:12:40 +01005147 <condition var1="tw_hide_kb" var2="1"/>
5148 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5149 <image resource="kb_show" />
5150 <condition var1="tw_busy" var2="0" />
5151 <actions>
5152 <action function="set">tw_hide_kb=0</action>
5153 <action function="page">terminalcommand</action>
5154 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005155 </button>
z31s1g56189522016-01-13 19:12:40 +01005156
z31s1g28f0a922015-11-07 18:50:22 +01005157 <action>
5158 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005159 <actions>
5160 <action function="set">tw_hide_kb=0</action>
5161 <action function="page">main</action>
5162 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005163 </action>
5164
5165 <action>
5166 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005167 <actions>
5168 <action function="set">tw_hide_kb=0</action>
5169 <action function="page">advanced</action>
5170 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005171 </action>
z31s1g56189522016-01-13 19:12:40 +01005172
z31s1g608d7ff2016-01-18 19:47:25 +01005173 <action>
z31s1g56189522016-01-13 19:12:40 +01005174 <touch key="power+voldown" />
5175 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005176 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005177 </page>
5178
5179 <page name="sideload">
5180 <template name="page"/>
5181
5182 <template name="statusbar"/>
5183
5184 <text style="text_m">
5185 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005186 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005187 </text>
5188
5189 <text style="text_m_accent">
5190 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005191 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005192 </text>
5193
5194 <checkbox>
5195 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005196 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005197 <data variable="tw_wipe_dalvik"/>
5198 </checkbox>
5199
5200 <checkbox>
5201 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005202 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005203 <data variable="tw_wipe_cache"/>
5204 </checkbox>
5205
5206 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005207 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005208 <actions>
5209 <action function="set">tw_back=install_type</action>
5210 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005211 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5212 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5213 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005214 <action function="set">tw_has_cancel=1</action>
5215 <action function="set">tw_show_reboot=1</action>
5216 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5217 <action function="page">action_page</action>
5218 </actions>
5219 </slider>
5220
5221 <action>
5222 <touch key="home"/>
5223 <action function="page">main</action>
5224 </action>
5225
5226 <action>
5227 <touch key="back"/>
5228 <action function="page">install_type</action>
5229 </action>
5230 </page>
5231
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005232 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005233 <template name="page"/>
5234
5235 <template name="statusbar"/>
5236
5237 <text style="text_m">
5238 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005239 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005240 </text>
5241
5242 <text style="text_m_accent">
5243 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005244 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005245 </text>
5246
z31s1g28f0a922015-11-07 18:50:22 +01005247 <text style="text_m_fail">
5248 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005249 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005250 </text>
5251
5252 <text style="text_m_fail">
5253 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005254 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005255 </text>
5256
5257 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005258 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005259 <actions>
5260 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005261 <action function="set">tw_action=fixcontexts</action>
5262 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5263 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005264 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005265 <action function="set">tw_show_reboot=1</action>
5266 <action function="page">action_page</action>
5267 </actions>
5268 </slider>
5269
5270 <action>
5271 <touch key="home"/>
5272 <action function="page">main</action>
5273 </action>
5274
5275 <action>
5276 <touch key="back"/>
5277 <action function="page">advanced</action>
5278 </action>
5279 </page>
5280
5281 <page name="installsu">
5282 <template name="page"/>
5283
5284 <template name="statusbar"/>
5285
5286 <text style="text_m">
5287 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005288 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005289 </text>
5290
5291 <text style="text_m_accent">
5292 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005293 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005294 </text>
5295
5296 <text style="text_m">
5297 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005298 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005299 </text>
5300
5301 <text style="text_m">
5302 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005303 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005304 </text>
5305
5306 <button style="main_button_full_width">
5307 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005308 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005309 <action function="set">tw_page_done=1</action>
5310 </button>
5311
5312 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005313 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005314 <actions>
5315 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005316 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005317 <action function="set">tw_action_text2=</action>
5318 <action function="page">singleaction_page</action>
5319 </actions>
5320 </slider>
5321 </page>
5322
5323 <page name="slideout">
5324 <fill color="%background_color%">
5325 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5326 </fill>
5327
5328 <console>
5329 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5330 </console>
5331
5332 <fill color="%fileselector_linecolor%">
5333 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5334 </fill>
5335
5336 <fill color="%fileselector_linecolor%">
5337 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5338 </fill>
5339
5340 <button>
5341 <fill color="%transparent%"/>
5342 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5343 <action function="overlay"/>
5344 </button>
5345
5346 <action>
5347 <touch key="power+voldown"/>
5348 <action function="screenshot"/>
5349 </action>
5350 </page>
5351
5352 <page name="select_storage">
5353 <template name="page"/>
5354
5355 <template name="statusbar"/>
5356
5357 <text style="text_m">
5358 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5359 <text>%tw_storagetext%</text>
5360 </text>
5361
5362 <partitionlist style="partitionlist_headerless_rb">
5363 <data name="tw_storage_path"/>
5364 <listtype name="storage"/>
5365 </partitionlist>
5366
5367 <button>
5368 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5369 <highlight color="%highlight_color%"/>
5370 <image resource="q_btn_refresh"/>
5371 <actions>
5372 <action function="refreshsizes"/>
5373 <action function="page">select_storage</action>
5374 </actions>
5375 </button>
5376
5377 <button>
5378 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5379 <highlight color="%highlight_color%"/>
5380 <image resource="q_btn_accept"/>
5381 <actions>
5382 <action function="set">tw_clear_destination=%tw_back%</action>
5383 <action function="page">clear_vars</action>
5384 </actions>
5385 </button>
5386
5387 <action>
5388 <touch key="power+voldown"/>
5389 <action function="screenshot"/>
5390 </action>
5391 </page>
5392 </pages>
5393</recovery>