blob: 3d68f44ffdf4d26e743fd7ce7650fd33b6ae3cae [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
80 <style name="fileselector">
81 <highlight color="%fileselector_highlight_color%"/>
82 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
83 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
84 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
85 <sort name="tw_gui_sort_order"/>
86 <icon folder="folder" file="file"/>
87 <background color="%background_color%"/>
88 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
89 </style>
90
91 <style name="listbox">
92 <highlight color="%fileselector_highlight_color%"/>
93 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
94 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
95 <icon selected="radio_true" unselected="radio_false"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox_headerless">
101 <highlight color="%fileselector_highlight_color%"/>
102 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
103 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
104 <icon selected="radio_true" unselected="radio_false"/>
105 <background color="%background_color%"/>
106 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
107 </style>
108
109 <style name="listbox_options">
110 <background color="%background_color%"/>
111 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
112 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
113 </style>
114
115 <style name="scrolllist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
118 <icon selected="checkbox_true" unselected="checkbox_false"/>
119 <background color="%background_color%"/>
120 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
121 </style>
122
123 <style name="partitionlist">
124 <highlight color="%fileselector_highlight_color%"/>
125 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
126 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
127 <icon selected="checkbox_true" unselected="checkbox_false"/>
128 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
129 <background color="%background_color%"/>
130 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
131 </style>
132
133 <style name="partitionlist_summary">
134 <highlight color="%fileselector_highlight_color%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
138 </style>
139
140 <style name="partitionlist_headerless_rb">
141 <highlight color="%fileselector_highlight_color%"/>
142 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
143 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
144 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
145 <icon selected="radio_true" unselected="radio_false"/>
146 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
147 <background color="%background_color%"/>
148 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
149 </style>
150
151 <style name="partitionlist_headerless_cb">
152 <highlight color="%fileselector_highlight_color%"/>
153 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
154 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
155 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
156 <icon selected="checkbox_true" unselected="checkbox_false"/>
157 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
158 <background color="%background_color%"/>
159 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
160 </style>
161
162 <style name="slider">
163 <placement x="%center_x%" y="%slider_y%"/>
164 <font resource="font_l" color="%text_color%"/>
165 <resource base="slider" used="slider_used" touch="slider_touch"/>
166 </style>
167
168 <style name="slidervalue">
169 <resource handle="handle"/>
170 <font resource="font_m" color="%text_color%"/>
171 <colors line="%fileselector_linecolor%"/>
172 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
173 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100174
175 <style name="patternpassword">
176 <size name="tw_gui_pattern_grid_size" default="3"/>
177 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100178 </styles>
179
180 <pages>
181 <page name="main">
182 <action>
183 <actions>
184 <action function="set">tw_clear_destination=main2</action>
185 <action function="page">clear_vars</action>
186 </actions>
187 </action>
188 </page>
189
190 <page name="main2">
191 <template name="page"/>
192
193 <button style="main_button">
194 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500195 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100196 <action function="page">install_type</action>
197 </button>
198
199 <button style="main_button">
200 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500201 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100202 <action function="page">wipe_type1</action>
203 </button>
204
205 <button style="main_button">
206 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 <actions>
209 <action function="set">tw_back=main</action>
210 <action function="page">backup_selectstorage</action>
211 </actions>
212 </button>
213
214 <button style="main_button">
215 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">restore</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">reboot</action>
224 </button>
225
226 <button>
227 <placement x="%btn4_col4_x%" y="%row11_y%"/>
228 <highlight color="%highlight_color%"/>
229 <image resource="q_btn_arrow_right"/>
230 <action function="page">main3</action>
231 </button>
232 </page>
233
234 <page name="main3">
235 <template name="page"/>
236
237 <button style="main_button">
238 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">mount</action>
241 </button>
242
243 <button style="main_button">
244 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">settings</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">filemanagerlist</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <actions>
259 <action function="set">tw_back=main3</action>
260 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500261 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
262 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
263 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
264 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100265 <action function="page">confirm_action</action>
266 </actions>
267 </button>
268
269 <button style="main_button">
270 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500271 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100272 <action function="page">advanced</action>
273 </button>
274
275 <button>
276 <placement x="%col1_x_left%" y="%row11_y%"/>
277 <highlight color="%highlight_color%"/>
278 <image resource="q_btn_arrow_left"/>
279 <action function="page">main2</action>
280 </button>
281
282 <action>
283 <touch key="back"/>
284 <action function="page">main2</action>
285 </action>
286
287 <action>
288 <touch key="home"/>
289 <action function="page">main</action>
290 </action>
291 </page>
292
293 <page name="install_type">
294 <template name="page"/>
295
296 <template name="statusbar"/>
297
298 <text style="text_m">
299 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500300 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100301 </text>
302
303 <button style="main_button_full_width">
304 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500305 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100306 <actions>
307 <action function="queueclear"/>
308 <action function="set">tw_selectimage=0</action>
309 <action function="page">install</action>
310 </actions>
311 </button>
312
313 <button style="main_button_full_width">
314 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500315 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100316 <actions>
317 <action function="queueclear"/>
318 <action function="set">tw_selectimage=1</action>
319 <action function="page">install</action>
320 </actions>
321 </button>
322
323 <button style="main_button_full_width">
324 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500325 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100326 <action function="page">sideload</action>
327 </button>
328
329 <action>
330 <touch key="home"/>
331 <action function="page">main</action>
332 </action>
333
334 <action>
335 <touch key="back"/>
336 <action function="page">main</action>
337 </action>
338 </page>
339
340 <page name="install">
341 <template name="page"/>
342
343 <template name="statusbar"/>
344
345 <text style="text_m">
346 <condition var1="tw_selectimage" var2="0"/>
347 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500348 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100349 </text>
350
351 <text style="text_m">
352 <condition var1="tw_selectimage" var2="1"/>
353 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <fileselector>
358 <condition var1="tw_selectimage" var2="0"/>
359 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
360 <text>%tw_zip_location%</text>
361 <filter extn=".zip" folders="1" files="1"/>
362 <path name="tw_zip_location" default="/sdcard"/>
363 <data name="tw_filename"/>
364 <selection name="tw_file"/>
365 </fileselector>
366
367 <fileselector>
368 <condition var1="tw_selectimage" var2="1"/>
369 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
370 <text>%tw_zip_location%</text>
371 <filter extn=".img" folders="1" files="1"/>
372 <path name="tw_zip_location" default="/sdcard"/>
373 <data name="tw_filename"/>
374 <selection name="tw_file"/>
375 </fileselector>
376
377 <button>
378 <placement x="%btn4_col4_x%" y="%row11_y%"/>
379 <highlight color="%highlight_color%"/>
380 <image resource="q_btn_storage"/>
381 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100383 <action function="set">tw_back=install</action>
384 <action function="page">select_storage</action>
385 </actions>
386 </button>
387
388 <action>
389 <conditions>
390 <condition var1="tw_selectimage" var2="0"/>
391 <condition var1="tw_filename" op="modified"/>
392 </conditions>
393 <actions>
394 <action function="queuezip"/>
395 <action function="page">flash_queue</action>
396 </actions>
397 </action>
398
399 <action>
400 <conditions>
401 <condition var1="tw_selectimage" var2="1"/>
402 <condition var1="tw_filename" op="modified"/>
403 </conditions>
404 <action function="page">flashimage_type</action>
405 </action>
406
407 <action>
408 <touch key="back"/>
409 <action function="page">install_type</action>
410 </action>
411
412 <action>
413 <touch key="home"/>
414 <action function="page">main</action>
415 </action>
416 </page>
417
418 <page name="flash_queue">
419 <template name="page"/>
420
421 <template name="statusbar"/>
422
423 <text style="text_m">
424 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500425 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100426 </text>
427
428 <text style="text_m_accent">
429 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500430 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100431 </text>
432
433 <text style="text_m">
434 <placement x="%indent%" y="%row2_y%"/>
435 <text>%tw_file%</text>
436 </text>
437
438 <text style="text_m_accent">
439 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%indent%" y="%row5_y%"/>
445 <text>%tw_zip_location%</text>
446 </text>
447
448 <text style="text_m">
449 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500450 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100451 </text>
452
453 <button>
454 <placement x="%col1_x_left%" y="%row11_y%"/>
455 <highlight color="%highlight_color%"/>
456 <image resource="q_btn_arrow_left"/>
457 <actions>
458 <action function="queueclear"/>
459 <action function="page">install</action>
460 </actions>
461 </button>
462
463 <button>
464 <placement x="%btn4_col2_x%" y="%row11_y%"/>
465 <highlight color="%highlight_color%"/>
466 <image resource="q_btn_addzip"/>
467 <action function="page">install</action>
468 </button>
469
470 <button>
471 <placement x="%btn4_col3_x%" y="%row11_y%"/>
472 <highlight color="%highlight_color%"/>
473 <image resource="q_btn_accept"/>
474 <action function="page">flash_confirm</action>
475 </button>
476
477 <button>
478 <placement x="%btn4_col4_x%" y="%row11_y%"/>
479 <highlight color="%highlight_color%"/>
480 <image resource="q_btn_arrow_right"/>
481 <action function="page">flash_options</action>
482 </button>
483
484 <action>
485 <touch key="back"/>
486 <actions>
487 <action function="queueclear"/>
488 <action function="page">install</action>
489 </actions>
490 </action>
491
492 <action>
493 <touch key="home"/>
494 <action function="page">main</action>
495 </action>
496 </page>
497
498 <page name="flash_options">
499 <template name="page"/>
500
501 <template name="statusbar"/>
502
503 <text style="text_m">
504 <condition var1="tw_selectimage" var2="0"/>
505 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500506 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100507 </text>
508
509 <checkbox>
510 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 <data variable="tw_signed_zip_verify"/>
513 </checkbox>
514
515 <checkbox>
516 <condition var1="tw_has_injecttwrp" var2="1"/>
517 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 <data variable="tw_inject_after_zip"/>
520 </checkbox>
521
522 <button>
523 <placement x="%col1_x_left%" y="%row11_y%"/>
524 <highlight color="%highlight_color%"/>
525 <image resource="q_btn_arrow_left"/>
526 <action function="page">flash_queue</action>
527 </button>
528
529 <button>
530 <placement x="%btn4_col4_x%" y="%row11_y%"/>
531 <highlight color="%highlight_color%"/>
532 <image resource="q_btn_accept_transp"/>
533 <action function="page">flash_confirm</action>
534 </button>
535
536 <action>
537 <touch key="back"/>
538 <action function="page">flash_queue</action>
539 </action>
540
541 <action>
542 <touch key="home"/>
543 <action function="page">main</action>
544 </action>
545 </page>
546
547 <page name="flash_confirm">
548 <template name="page"/>
549
550 <template name="statusbar"/>
551
552 <text style="text_m">
553 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100555 </text>
556
557 <text style="text_m_accent">
558 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500559 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100560 </text>
561
562 <text style="text_m">
563 <placement x="%indent%" y="%row2_y%"/>
564 <text>%tw_file%</text>
565 </text>
566
567 <button>
568 <fill color="%transparent%"/>
569 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
570 <action function="page">flash_queue</action>
571 </button>
572
573 <text style="text_m_accent">
574 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500575 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100576 </text>
577
578 <text style="text_m">
579 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500580 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100581 </text>
582
583 <button>
584 <fill color="%transparent%"/>
585 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
586 <action function="page">flash_queue</action>
587 </button>
588
589 <listbox style="listbox_options">
590 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500591 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100592 <data variable="tw_signed_zip_verify"/>
593 </listitem>
594 </listbox>
595
596 <text style="text_m_accent">
597 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500598 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100599 </text>
600
601 <text style="text_m">
602 <condition var1="tw_has_injecttwrp" var2="1"/>
603 <condition var1="tw_inject_after_zip" var2="1"/>
604 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500605 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100606 </text>
607
608 <button>
609 <fill color="%transparent%"/>
610 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
611 <action function="page">flash_options</action>
612 </button>
613
614 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500615 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100616 <action function="flash">flash_zip</action>
617 </slider>
618
619 <action>
620 <touch key="back"/>
621 <actions>
622 <action function="cancelzip"/>
623 <action function="page">install</action>
624 </actions>
625 </action>
626
627 <action>
628 <touch key="home"/>
629 <action function="page">main</action>
630 </action>
631 </page>
632
633 <page name="flash_zip">
634 <template name="page"/>
635
636 <template name="statusbar"/>
637
638 <text style="text_m">
639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500640 <text>{@installing_zip=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100641 </text>
642
643 <template name="console"/>
644
645 <template name="progress_bar"/>
646
647 <action>
648 <condition var1="tw_operation_state" var2="1"/>
649 <action function="page">flash_done</action>
650 </action>
651 </page>
652
653 <page name="flash_done">
654 <template name="page"/>
655
656 <template name="statusbar"/>
657
658 <text style="text_m_fail">
659 <condition var1="tw_operation_status" op="!=" var2="0"/>
660 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500661 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100662 </text>
663
664 <text style="text_m">
665 <condition var1="tw_operation_status" var2="0"/>
666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500667 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100668 </text>
669
670 <template name="console"/>
671
672 <button style="main_button_half_height">
673 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <actions>
676 <action function="set">tw_back=flash_done</action>
677 <action function="set">tw_action=wipe</action>
678 <action function="set">tw_action_param=/cache</action>
679 <action function="set">tw_has_action2=1</action>
680 <action function="set">tw_action2=wipe</action>
681 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
683 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
684 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
685 <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100686 <action function="page">confirm_action</action>
687 </actions>
688 </button>
689
690 <button style="main_button_half_height">
691 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500692 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100693 <actions>
694 <action function="set">tw_back=main2</action>
695 <action function="set">tw_action=reboot</action>
696 <action function="set">tw_action_param=system</action>
697 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500698 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
699 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100700 <action function="set">tw_text3=</action>
701 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500702 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100703 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500704 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
705 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100706 <action function="page">rebootcheck</action>
707 </actions>
708 </button>
709
710 <action>
711 <touch key="back"/>
712 <actions>
713 <action function="set">tw_clear_destination=install_type</action>
714 <action function="page">clear_vars</action>
715 </actions>
716 </action>
717
718 <action>
719 <touch key="home"/>
720 <actions>
721 <action function="set">tw_clear_destination=main2</action>
722 <action function="page">clear_vars</action>
723 </actions>
724 </action>
725 </page>
726
727 <page name="flashimage_type">
728 <template name="page"/>
729
730 <template name="statusbar"/>
731
732 <text style="text_m">
733 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500734 <text>{@install_image_hdr=Install Image} &gt; {install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100735 </text>
736
737 <partitionlist style="partitionlist_headerless_rb">
738 <data name="tw_flash_partition"/>
739 <listtype name="flashimg"/>
740 </partitionlist>
741
742 <button>
743 <placement x="%col1_x_left%" y="%row11_y%"/>
744 <highlight color="%highlight_color%"/>
745 <image resource="q_btn_arrow_left"/>
746 <action function="page">install</action>
747 </button>
748
749 <button>
750 <placement x="%btn4_col4_x%" y="%row11_y%"/>
751 <highlight color="%highlight_color%"/>
752 <image resource="q_btn_accept_transp"/>
753 <action function="page">flashimage_confirm</action>
754 </button>
755
756 <action>
757 <touch key="back"/>
758 <action function="page">install</action>
759 </action>
760
761 <action>
762 <touch key="home"/>
763 <action function="page">main</action>
764 </action>
765 </page>
766
767 <page name="flashimage_confirm">
768 <template name="page"/>
769
770 <template name="statusbar"/>
771
772 <text style="text_m">
773 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500774 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100775 </text>
776
777 <text style="text_m_accent">
778 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500779 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100780 </text>
781
782 <text style="text_m">
783 <placement x="%indent%" y="%row2_y%"/>
784 <text>%tw_file%</text>
785 </text>
786
787 <button>
788 <fill color="%transparent%"/>
789 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
790 <action function="page">install</action>
791 </button>
792
793 <text style="text_m_accent">
794 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500795 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100796 </text>
797
798 <text style="text_m">
799 <placement x="%indent%" y="%row5_y%"/>
800 <text>%tw_flash_partition%</text>
801 </text>
802
803 <button>
804 <fill color="%transparent%"/>
805 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
806 <action function="page">flashimage_type</action>
807 </button>
808
809 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500810 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100811 <actions>
812 <action function="set">tw_back=flashimage_confirm</action>
813 <action function="set">tw_action=flashimage</action>
814 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500815 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100816 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500817 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100818 <action function="page">action_page</action>
819 </actions>
820 <action function="flashimage"/>
821 </slider>
822
823 <action>
824 <touch key="back"/>
825 <actions>
826 <action function="set">tw_clear_destination=install</action>
827 <action function="page">clear_vars</action>
828 </actions>
829 </action>
830
831 <action>
832 <touch key="home"/>
833 <actions>
834 <action function="set">tw_clear_destination=main2</action>
835 <action function="page">clear_vars</action>
836 </actions>
837 </action>
838 </page>
839
840 <page name="clear_vars">
841 <action>
842 <action function="set">tw_operation_state=0</action>
843 <action function="set">tw_text1=</action>
844 <action function="set">tw_text2=</action>
845 <action function="set">tw_text3=</action>
846 <action function="set">tw_text4=</action>
847 <action function="set">tw_action_text1=</action>
848 <action function="set">tw_action_text2=</action>
849 <action function="set">tw_action_param=</action>
850 <action function="set">tw_has_action2=0</action>
851 <action function="set">tw_action2=</action>
852 <action function="set">tw_action2_param=</action>
853 <action function="set">tw_has_cancel=0</action>
854 <action function="set">tw_cancel_action=</action>
855 <action function="set">tw_cancel_param=</action>
856 <action function="set">tw_show_exclamation=0</action>
857 <action function="set">tw_show_reboot=0</action>
858 <action function="page">%tw_clear_destination%</action>
859 </action>
860 </page>
861
862 <page name="confirm_action">
863 <template name="page"/>
864
865 <template name="statusbar"/>
866
867 <text style="text_m">
868 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500869 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100870 </text>
871
872 <text style="text_m_accent">
873 <placement x="%center_x%" y="%row2_y%" placement="5"/>
874 <text>%tw_text1%</text>
875 </text>
876
877 <text style="text_m_accent">
878 <placement x="%center_x%" y="%row3_y%" placement="5"/>
879 <text>%tw_text2%</text>
880 </text>
881
882 <text style="text_m">
883 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
884 <placement x="%center_x%" y="%row5_y%" placement="5"/>
885 <text>%tw_text3%</text>
886 </text>
887
888 <text style="text_m">
889 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
890 <placement x="%center_x%" y="%row6_y%" placement="5"/>
891 <text>%tw_text4%</text>
892 </text>
893
894 <text style="text_m_fail">
895 <condition var1="tw_action" var2="changefilesystem"/>
896 <placement x="%center_x%" y="%row5_y%" placement="5"/>
897 <text>%tw_text3%</text>
898 </text>
899
900 <text style="text_m_fail">
901 <condition var1="tw_action" var2="changefilesystem"/>
902 <placement x="%center_x%" y="%row6_y%" placement="5"/>
903 <text>%tw_text4%</text>
904 </text>
905
906 <text style="text_m">
907 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500908 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100909 </text>
910
911 <slider>
912 <text>%tw_slider_text%</text>
913 <action function="page">action_page</action>
914 </slider>
915
916 <action>
917 <touch key="back"/>
918 <actions>
919 <action function="set">tw_clear_destination=%tw_back%</action>
920 <action function="page">clear_vars</action>
921 </actions>
922 </action>
923
924 <action>
925 <touch key="home"/>
926 <action function="page">main</action>
927 </action>
928 </page>
929
930 <page name="action_page">
931 <template name="page"/>
932
933 <template name="statusbar"/>
934
935 <text style="text_m">
936 <placement x="%col1_x_left%" y="%row1_header_y%"/>
937 <text>%tw_action_text1% %tw_action_text2%</text>
938 </text>
939
940 <template name="console"/>
941
942 <template name="progress_bar"/>
943
944 <button style="main_button_half_height">
945 <condition var1="tw_has_cancel" var2="1"/>
946 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500947 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100948 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
949 </button>
950
951 <action>
952 <condition var1="tw_operation_state" var2="1"/>
953 <actions>
954 <action function="page">action_complete</action>
955 </actions>
956 </action>
957
958 <action>
959 <condition var1="tw_has_action2" var2="0"/>
960 <actions>
961 <action function="%tw_action%">%tw_action_param%</action>
962 </actions>
963 </action>
964
965 <action>
966 <condition var1="tw_has_action2" var2="1"/>
967 <actions>
968 <action function="%tw_action%">%tw_action_param%</action>
969 <action function="%tw_action2%">%tw_action2_param%</action>
970 </actions>
971 </action>
972 </page>
973
974 <page name="singleaction_page">
975 <template name="page"/>
976
977 <template name="statusbar"/>
978
979 <text style="text_m">
980 <placement x="%col1_x_left%" y="%row1_header_y%"/>
981 <text>%tw_action_text1% %tw_action_text2%</text>
982 </text>
983
984 <template name="console"/>
985
986 <template name="progress_bar"/>
987
988 <action>
989 <condition var1="tw_operation_state" var2="1"/>
990 <actions>
991 <action function="set">tw_page_done=1</action>
992 </actions>
993 </action>
994
995 <action>
996 <condition var1="tw_has_action2" var2="0"/>
997 <actions>
998 <action function="%tw_action%">%tw_action_param%</action>
999 </actions>
1000 </action>
1001
1002 <action>
1003 <condition var1="tw_has_action2" var2="1"/>
1004 <actions>
1005 <action function="%tw_action%">%tw_action_param%</action>
1006 <action function="%tw_action2%">%tw_action2_param%</action>
1007 </actions>
1008 </action>
1009 </page>
1010
1011 <page name="action_complete">
1012 <template name="page"/>
1013
1014 <template name="statusbar"/>
1015
1016 <text style="text_m_fail">
1017 <condition var1="tw_operation_status" op="!=" var2="0"/>
1018 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001019 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </text>
1021
1022 <text style="text_m">
1023 <condition var1="tw_operation_status" var2="0"/>
1024 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <template name="console"/>
1029
1030 <button style="main_button_half_height">
1031 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001032 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001033 <actions>
1034 <action function="set">tw_clear_destination=%tw_back%</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </button>
1038
1039 <button style="main_button_half_height">
1040 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001042 <actions>
1043 <action function="set">tw_back=main2</action>
1044 <action function="set">tw_action=reboot</action>
1045 <action function="set">tw_action_param=system</action>
1046 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1048 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001049 <action function="set">tw_text3=</action>
1050 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001052 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1054 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001055 <action function="page">rebootcheck</action>
1056 </actions>
1057 </button>
1058
1059 <action>
1060 <touch key="home"/>
1061 <actions>
1062 <action function="set">tw_clear_destination=main2</action>
1063 <action function="page">clear_vars</action>
1064 </actions>
1065 </action>
1066
1067 <action>
1068 <touch key="back"/>
1069 <actions>
1070 <action function="set">tw_clear_destination=%tw_back%</action>
1071 <action function="page">clear_vars</action>
1072 </actions>
1073 </action>
1074 </page>
1075
1076 <page name="filecheck">
1077 <action>
1078 <action function="fileexists">%tw_filecheck%</action>
1079 </action>
1080
1081 <action>
1082 <conditions>
1083 <condition var1="tw_operation_state" var2="1"/>
1084 <condition var1="tw_operation_status" var2="0"/>
1085 </conditions>
1086 <actions>
1087 <action function="set">tw_fileexists=1</action>
1088 <action function="page">%tw_existpage%</action>
1089 </actions>
1090 </action>
1091
1092 <action>
1093 <conditions>
1094 <condition var1="tw_operation_state" var2="1"/>
1095 <condition var1="tw_operation_status" var2="1"/>
1096 </conditions>
1097 <actions>
1098 <action function="set">tw_fileexists=0</action>
1099 <action function="page">%tw_notexistpage%</action>
1100 </actions>
1101 </action>
1102 </page>
1103
1104 <page name="rebootcheck">
1105 <action>
1106 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
1107 <action function="reboot">%tw_action_param%</action>
1108 </action>
1109
1110 <action>
1111 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1112 <action function="page">confirm_action</action>
1113 </action>
1114 </page>
1115
1116 <page name="wipe_type1">
1117 <template name="page"/>
1118
1119 <template name="statusbar"/>
1120
1121 <text style="text_m">
1122 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001123 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001124 </text>
1125
1126 <button style="main_button_full_width">
1127 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001129 <action function="page">wipe</action>
1130 </button>
1131
1132 <button style="main_button_full_width">
1133 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <actions>
1136 <action function="set">partitionlisterror=0</action>
1137 <action function="page">advancedwipe</action>
1138 </actions>
1139 </button>
1140
1141 <button>
1142 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1143 <highlight color="%highlight_color%"/>
1144 <image resource="q_btn_arrow_right"/>
1145 <action function="page">wipe_type2</action>
1146 </button>
1147
1148 <action>
1149 <touch key="home"/>
1150 <action function="page">main</action>
1151 </action>
1152
1153 <action>
1154 <touch key="back"/>
1155 <action function="page">main</action>
1156 </action>
1157 </page>
1158
1159 <page name="wipe_type2">
1160 <template name="page"/>
1161
1162 <template name="statusbar"/>
1163
1164 <text style="text_m">
1165 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 </text>
1168
1169 <button style="main_button_full_width">
1170 <condition var1="tw_has_data_media" var2="1"/>
1171 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001173 <action function="page">formatdata</action>
1174 </button>
1175
1176 <button style="main_button_full_width">
1177 <conditions>
1178 <condition var1="tw_is_encrypted" var2="1"/>
1179 <condition var1="tw_has_data_media" var2="0"/>
1180 </conditions>
1181 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001182 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001183 <actions>
1184 <action function="set">tw_back=wipe</action>
1185 <action function="set">tw_action=wipe</action>
1186 <action function="set">tw_action_param=DATAMEDIA</action>
1187 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001189 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001190 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1191 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1192 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001193 <action function="page">confirm_action</action>
1194 </actions>
1195 </button>
1196
1197 <button style="main_button_full_width">
1198 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001199 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001200 <action function="set">partitionlisterror=0</action>
1201 <action function="page">partitionoptions_select</action>
1202 </actions>
1203 </button>
1204
1205 <button>
1206 <placement x="%col1_x_left%" y="%row11_y%"/>
1207 <highlight color="%highlight_color%"/>
1208 <image resource="q_btn_arrow_left"/>
1209 <action function="page">wipe_type1</action>
1210 </button>
1211
1212 <action>
1213 <touch key="home"/>
1214 <action function="page">main</action>
1215 </action>
1216
1217 <action>
1218 <touch key="back"/>
1219 <action function="page">main</action>
1220 </action>
1221 </page>
1222
1223 <page name="wipe">
1224 <template name="page"/>
1225
1226 <template name="statusbar"/>
1227
1228 <text style="text_m">
1229 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001230 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001231 </text>
1232
1233 <text style="text_m_accent">
1234 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m_accent">
1239 <condition var1="tw_has_data_media" var2="1"/>
1240 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m_accent">
1245 <conditions>
1246 <condition var1="tw_has_android_secure" var2="1"/>
1247 <condition var1="fileexists" var2="/and-sec"/>
1248 </conditions>
1249 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m_accent">
1254 <condition var1="tw_has_sdext_partition" var2="1"/>
1255 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 </text>
1258
1259 <text style="text_m">
1260 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 </text>
1263
1264 <text style="text_m">
1265 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 </text>
1268
1269 <text style="text_m">
1270 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001271 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001272 </text>
1273
1274 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 <actions>
1277 <action function="set">tw_back=wipe</action>
1278 <action function="set">tw_action=wipe</action>
1279 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1281 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001282 <action function="page">action_page</action>
1283 </actions>
1284 </slider>
1285
1286 <action>
1287 <touch key="back"/>
1288 <action function="page">wipe_type1</action>
1289 </action>
1290
1291 <action>
1292 <touch key="home"/>
1293 <action function="page">main</action>
1294 </action>
1295 </page>
1296
1297 <page name="advancedwipe">
1298 <action>
1299 <action function="set">tw_wipe_list=</action>
1300 </action>
1301
1302 <template name="page"/>
1303
1304 <template name="statusbar"/>
1305
1306 <text style="text_m">
1307 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001308 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001309 </text>
1310
1311 <partitionlist style="partitionlist_headerless_cb">
1312 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1313 <data name="tw_wipe_list"/>
1314 <listtype name="wipe"/>
1315 </partitionlist>
1316
1317 <fill color="%accent_color%">
1318 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1319 </fill>
1320
1321 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 <actions>
1324 <action function="set">tw_back=advancedwipe</action>
1325 <action function="set">tw_action=wipe</action>
1326 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1328 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1329 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001330 <action function="page">action_page</action>
1331 </actions>
1332 </slider>
1333
1334 <action>
1335 <touch key="home"/>
1336 <action function="page">main</action>
1337 </action>
1338
1339 <action>
1340 <touch key="back"/>
1341 <action function="page">wipe_type1</action>
1342 </action>
1343 </page>
1344
1345 <page name="formatdata">
1346 <template name="page"/>
1347
1348 <template name="statusbar"/>
1349
1350 <text style="text_m">
1351 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m_fail">
1356 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m_fail">
1361 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <text style="text_m">
1366 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <input>
1371 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1372 <text>%tw_confirm_formatdata%</text>
1373 <data name="tw_confirm_formatdata"/>
1374 <restrict minlen="3" maxlen="3" allow="yes"/>
1375 <action function="page">formatdata_confirm</action>
1376 </input>
1377
1378 <fill color="%accent_color%">
1379 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1380 </fill>
1381
1382 <template name="keyboardtemplate"/>
1383
1384 <action>
1385 <touch key="home"/>
1386 <action function="page">main</action>
1387 </action>
1388
1389 <action>
1390 <touch key="back"/>
1391 <action function="page">wipe_type2</action>
1392 </action>
1393 </page>
1394
1395 <page name="formatdata_confirm">
1396 <action>
1397 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1398 <actions>
1399 <action function="set">tw_back=formatdata</action>
1400 <action function="set">tw_action=wipe</action>
1401 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001402 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1403 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <action function="page">action_page</action>
1405 </actions>
1406 </action>
1407
1408 <action>
1409 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1410 <action function="page">formatdata</action>
1411 </action>
1412 </page>
1413
1414 <page name="checkpartitionlist">
1415 <action>
1416 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1417 <actions>
1418 <action function="set">partitionlisterror=0</action>
1419 <action function="getpartitiondetails"/>
1420 <action function="page">partitionoptions</action>
1421 </actions>
1422 </action>
1423
1424 <action>
1425 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1426 <actions>
1427 <action function="set">partitionlisterror=1</action>
1428 <action function="set">tw_wipe_list=</action>
1429 <action function="page">partitionoptions_select</action>
1430 </actions>
1431 </action>
1432 </page>
1433
1434 <page name="partitionoptions_select">
1435 <action>
1436 <action function="set">tw_wipe_list=</action>
1437 </action>
1438
1439 <template name="page"/>
1440
1441 <template name="statusbar"/>
1442
1443 <text style="text_m">
1444 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001446 </text>
1447
1448 <partitionlist style="partitionlist_headerless_cb">
1449 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1450 <data name="tw_wipe_list"/>
1451 <listtype name="wipe"/>
1452 </partitionlist>
1453
1454 <fill color="%accent_color%">
1455 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1456 </fill>
1457
z31s1g28f0a922015-11-07 18:50:22 +01001458 <text style="text_m_fail">
1459 <condition var1="partitionlisterror" var2="1"/>
1460 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001461 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001462 </text>
1463
1464 <button>
1465 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1466 <highlight color="%highlight_color%"/>
1467 <image resource="q_btn_arrow_right"/><actions>
1468 <action function="checkpartitionlist"/>
1469 <action function="page">checkpartitionlist</action>
1470 </actions>
1471 </button>
1472
1473 <action>
1474 <touch key="home"/>
1475 <action function="page">main</action>
1476 </action>
1477
1478 <action>
1479 <touch key="back"/>
1480 <action function="page">wipe_type2</action>
1481 </action>
1482 </page>
1483
1484 <page name="partitionoptions">
1485
1486 <template name="page"/>
1487
1488 <template name="statusbar"/>
1489
1490 <text style="text_m">
1491 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 </text>
1494
1495 <text style="text_m_accent">
1496 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001498 </text>
1499
1500 <text style="text_m_accent">
1501 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <text style="text_m">
1506 <condition var1="tw_partition_is_present" var2="1"/>
1507 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001509 </text>
1510
1511 <text style="text_m">
1512 <condition var1="tw_partition_is_present" var2="0"/>
1513 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m">
1518 <condition var1="tw_partition_removable" var2="1"/>
1519 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001520 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001521 </text>
1522
1523 <text style="text_m">
1524 <condition var1="tw_partition_removable" var2="0"/>
1525 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001526 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001527 </text>
1528
1529 <text style="text_m">
1530 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001532 </text>
1533
1534 <text style="text_m">
1535 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001536 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001537 </text>
1538
1539 <text style="text_m">
1540 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 </text>
1543
1544 <text style="text_m">
1545 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001547 </text>
1548
1549 <button style="main_button">
1550 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1551 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001552 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <actions>
1554 <action function="set">tw_back=partitionoptions</action>
1555 <action function="set">tw_action=resize</action>
1556 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1557 <action function="set">tw_has_action2=1</action>
1558 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001559 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001560 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001561 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1562 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1563 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001564 <action function="page">confirm_action</action>
1565 </actions>
1566 </button>
1567
1568 <button style="main_button">
1569 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1570 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 <actions>
1573 <action function="set">tw_back=partitionoptions</action>
1574 <action function="set">tw_action=repair</action>
1575 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1576 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001578 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001579 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1580 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1581 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001582 <action function="page">confirm_action</action>
1583 </actions>
1584 </button>
1585
1586 <button>
1587 <placement x="%col1_x_left%" y="%row11_y%"/>
1588 <highlight color="%highlight_color%"/>
1589 <image resource="q_btn_arrow_left"/>
1590 <action function="page">partitionoptions_select</action>
1591 </button>
1592
1593 <button style="main_button">
1594 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <action function="page">selectfilesystem</action>
1597 </button>
1598
1599 <action>
1600 <touch key="home"/>
1601 <action function="page">main</action>
1602 </action>
1603
1604 <action>
1605 <touch key="back"/>
1606 <action function="page">partitionoptions_select</action>
1607 </action>
1608 </page>
1609
1610 <page name="refreshfilesystem">
1611 <action>
1612 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1613 <actions>
1614 <action function="set">partitionlisterror=0</action>
1615 <action function="getpartitiondetails"/>
1616 <action function="page">selectfilesystem</action>
1617 </actions>
1618 </action>
1619
1620 <action>
1621 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1622 <actions>
1623 <action function="set">partitionlisterror=1</action>
1624 <action function="set">tw_wipe_list=</action>
1625 <action function="page">advancedwipe</action>
1626 </actions>
1627 </action>
1628 </page>
1629
1630 <page name="selectfilesystem">
1631 <template name="page"/>
1632
1633 <template name="statusbar"/>
1634
1635 <text style="text_m">
1636 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001637 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001638 </text>
1639
1640 <button style="main_button">
1641 <condition var1="tw_partition_ext" op="=" var2="1"/>
1642 <placement x="%col1_x_left%" y="%row1_y%"/>
1643 <text>EXT2</text>
1644 <actions>
1645 <action function="set">tw_back=refreshfilesystem</action>
1646 <action function="set">tw_action=changefilesystem</action>
1647 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1648 <action function="set">tw_action_new_file_system=ext2</action>
1649 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1651 <action function="set">tw_text2=EXT2</action>
1652 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1653 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1654 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1655 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1656 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001657 <action function="page">confirm_action</action>
1658 </actions>
1659 </button>
1660
1661 <button style="main_button">
1662 <condition var1="tw_partition_ext" op="=" var2="1"/>
1663 <placement x="%col1_x_left%" y="%row6_y%"/>
1664 <text>EXT3</text>
1665 <actions>
1666 <action function="set">tw_back=refreshfilesystem</action>
1667 <action function="set">tw_action=changefilesystem</action>
1668 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1669 <action function="set">tw_action_new_file_system=ext3</action>
1670 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001671 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1672 <action function="set">tw_text2=EXT3</action>
1673 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1674 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1675 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1676 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1677 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001678 <action function="page">confirm_action</action>
1679 </actions>
1680 </button>
1681
1682 <button style="main_button">
1683 <condition var1="tw_partition_ext" op="=" var2="1"/>
1684 <placement x="%col1_x_left%" y="%row11_y%"/>
1685 <text>EXT4</text>
1686 <actions>
1687 <action function="set">tw_back=refreshfilesystem</action>
1688 <action function="set">tw_action=changefilesystem</action>
1689 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1690 <action function="set">tw_action_new_file_system=ext4</action>
1691 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1693 <action function="set">tw_text2=EXT4</action>
1694 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1695 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1696 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1697 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1698 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <action function="page">confirm_action</action>
1700 </actions>
1701 </button>
1702
1703 <button style="main_button">
1704 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1705 <placement x="%col1_x_right%" y="%row1_y%"/>
1706 <text>FAT</text>
1707 <actions>
1708 <action function="set">tw_back=refreshfilesystem</action>
1709 <action function="set">tw_action=changefilesystem</action>
1710 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1711 <action function="set">tw_action_new_file_system=vfat</action>
1712 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001713 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1714 <action function="set">tw_text2=FAT</action>
1715 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1716 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1717 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1718 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1719 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001720 <action function="page">confirm_action</action>
1721 </actions>
1722 </button>
1723
1724 <button style="main_button">
1725 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1726 <placement x="%col1_x_right%" y="%row6_y%"/>
1727 <text>exFAT</text>
1728 <actions>
1729 <action function="set">tw_back=refreshfilesystem</action>
1730 <action function="set">tw_action=changefilesystem</action>
1731 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1732 <action function="set">tw_action_new_file_system=exfat</action>
1733 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1735 <action function="set">tw_text2=exFAT</action>
1736 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1737 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1738 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1739 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1740 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001741 <action function="page">confirm_action</action>
1742 </actions>
1743 </button>
1744
1745 <button style="main_button">
1746 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1747 <placement x="%col1_x_right%" y="%row11_y%"/>
1748 <text>F2FS</text>
1749 <actions>
1750 <action function="set">tw_back=refreshfilesystem</action>
1751 <action function="set">tw_action=changefilesystem</action>
1752 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1753 <action function="set">tw_action_new_file_system=f2fs</action>
1754 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001755 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1756 <action function="set">tw_text2=F2FS</action>
1757 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1758 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1759 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1760 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1761 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001762 <action function="page">confirm_action</action>
1763 </actions>
1764 </button>
1765
1766 <action>
1767 <touch key="home"/>
1768 <action function="page">main</action>
1769 </action>
1770
1771 <action>
1772 <touch key="back"/>
1773 <action function="page">partitionoptions</action>
1774 </action>
1775 </page>
1776
1777 <page name="backup_selectstorage">
1778 <template name="page"/>
1779
1780 <template name="statusbar"/>
1781
1782 <text style="text_m">
1783 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001784 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001785 </text>
1786
1787 <partitionlist style="partitionlist_headerless_rb">
1788 <data name="tw_storage_path"/>
1789 <listtype name="storage"/>
1790 </partitionlist>
1791
1792 <button>
1793 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1794 <highlight color="%highlight_color%"/>
1795 <image resource="q_btn_refresh"/>
1796 <actions>
1797 <action function="refreshsizes"/>
1798 <action function="page">backup_selectstorage</action>
1799 </actions>
1800 </button>
1801
1802 <button>
1803 <condition var1="tw_back" var2="backup_confirm"/>
1804 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1805 <highlight color="%highlight_color%"/>
1806 <image resource="q_btn_accept"/>
1807 <action function="page">backup_confirm</action>
1808 </button>
1809
1810 <button>
1811 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1812 <highlight color="%highlight_color%"/>
1813 <image resource="q_btn_arrow_right"/>
1814 <actions>
1815 <action function="set">tw_back=backup_selectstorage</action>
1816 <action function="page">backup_selectpartitions</action>
1817 </actions>
1818 </button>
1819
1820 <action>
1821 <touch key="home"/>
1822 <action function="page">main</action>
1823 </action>
1824
1825 <action>
1826 <touch key="back"/>
1827 <action function="page">%tw_back%</action>
1828 </action>
1829
1830 <action>
1831 <touch key="power+voldown"/>
1832 <action function="screenshot"/>
1833 </action>
1834 </page>
1835
1836 <page name="backup_selectpartitions">
1837 <template name="page"/>
1838
1839 <template name="statusbar"/>
1840
1841 <text style="text_m">
1842 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001844 </text>
1845
1846 <partitionlist style="partitionlist_headerless_cb">
1847 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1848 <data name="tw_backup_list"/>
1849 <listtype name="backup"/>
1850 </partitionlist>
1851
1852 <fill color="%accent_color%">
1853 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1854 </fill>
1855
1856 <button>
1857 <placement x="%col1_x_left%" y="%row11_y%"/>
1858 <highlight color="%highlight_color%"/>
1859 <image resource="q_btn_arrow_left"/>
1860 <action function="page">backup_selectstorage</action>
1861 </button>
1862
1863 <button>
1864 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1865 <highlight color="%highlight_color%"/>
1866 <image resource="q_btn_refresh"/>
1867 <action function="page">backup_selectpartitions</action>
1868 </button>
1869
1870 <button>
1871 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1872 <highlight color="%highlight_color%"/>
1873 <image resource="q_btn_accept"/>
1874 <action function="page">backup_confirm</action>
1875 </button>
1876
1877 <button>
1878 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1879 <highlight color="%highlight_color%"/>
1880 <image resource="q_btn_arrow_right"/>
1881 <actions>
1882 <action function="set">tw_back=backup_selectpartitions</action>
1883 <action function="page">backup_options</action>
1884 </actions>
1885 </button>
1886
1887 <action>
1888 <touch key="home"/>
1889 <action function="page">main</action>
1890 </action>
1891
1892 <action>
1893 <touch key="back"/>
1894 <action function="page">%tw_back%</action>
1895 </action>
1896
1897 <action>
1898 <touch key="power+voldown"/>
1899 <action function="screenshot"/>
1900 </action>
1901 </page>
1902
1903 <page name="backup_options">
1904 <template name="page"/>
1905
1906 <template name="statusbar"/>
1907
1908 <text style="text_m">
1909 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001911 </text>
1912
1913 <listbox style="scrolllist">
1914 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01001916 <data variable="tw_use_compression"/>
1917 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01001919 <data variable="tw_skip_md5_generate"/>
1920 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05001921 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01001922 <data variable="tw_disable_free_space"/>
1923 </listitem>
1924 </listbox>
1925
1926 <button>
1927 <placement x="%col1_x_left%" y="%row11_y%"/>
1928 <highlight color="%highlight_color%"/>
1929 <image resource="q_btn_arrow_left"/>
1930 <action function="page">backup_selectpartitions</action>
1931 </button>
1932
1933 <button>
1934 <conditions>
1935 <condition var1="tw_include_encrypted_backup" var2="1"/>
1936 <condition var1="tw_encrypt_backup" var2="0"/>
1937 </conditions>
1938 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1939 <highlight color="%highlight_color%"/>
1940 <image resource="q_btn_encryption_dis"/>
1941 <actions>
1942 <action function="set">tw_password_not_match=0</action>
1943 <action function="set">tw_back=backup_options</action>
1944 <action function="page">backupencryption</action>
1945 </actions>
1946 </button>
1947
1948 <button>
1949 <conditions>
1950 <condition var1="tw_include_encrypted_backup" var2="1"/>
1951 <condition var1="tw_encrypt_backup" var2="1"/>
1952 </conditions>
1953 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1954 <highlight color="%highlight_color%"/>
1955 <image resource="q_btn_encryption_en"/>
1956 <actions>
1957 <action function="set">tw_password_not_match=0</action>
1958 <action function="set">tw_back=backup_options</action>
1959 <action function="page">backupencryption</action>
1960 </actions>
1961 </button>
1962
1963 <button>
1964 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1965 <highlight color="%highlight_color%"/>
1966 <image resource="q_btn_accept_transp"/>
1967 <actions>
1968 <action function="set">tw_back=backup_options</action>
1969 <action function="page">backup_confirm</action>
1970 </actions>
1971 </button>
1972
1973 <action>
1974 <touch key="home"/>
1975 <action function="page">main</action>
1976 </action>
1977
1978 <action>
1979 <touch key="back"/>
1980 <action function="page">%tw_back%</action>
1981 </action>
1982
1983 <action>
1984 <touch key="power+voldown"/>
1985 <action function="screenshot"/>
1986 </action>
1987 </page>
1988
1989 <page name="backup_confirm">
1990 <template name="page"/>
1991
1992 <template name="statusbar"/>
1993
1994 <text style="text_m">
1995 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup{</text>
z31s1g28f0a922015-11-07 18:50:22 +01001997 </text>
1998
1999 <text style="text_m_accent">
2000 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002001 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002002 </text>
2003
2004 <text style="text_m">
2005 <placement x="%col1_x_left%" y="%row2_y%"/>
2006 <text>%tw_backup_name%</text>
2007 </text>
2008
2009 <fill color="%accent_color%">
2010 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2011 </fill>
2012
2013 <button>
2014 <fill color="%transparent%"/>
2015 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2016 <actions>
2017 <action function="set">tw_back=backup_confirm</action>
2018 <action function="set">tw_fileexists=0</action>
2019 <action function="page">backup_name1</action>
2020 </actions>
2021 </button>
2022
2023 <fill color="%background_color%">
2024 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2025 </fill>
2026
2027 <text style="text_m_accent">
2028 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002029 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002030 </text>
2031
2032 <partitionlist style="partitionlist_summary">
2033 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2034 <data name="tw_backup_list"/>
2035 <listtype name="backup"/>
2036 </partitionlist>
2037
2038 <button>
2039 <fill color="%transparent%"/>
2040 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2041 <actions>
2042 <action function="set">tw_back=backup_confirm</action>
2043 <action function="page">backup_selectpartitions</action>
2044 </actions>
2045 </button>
2046
2047 <text style="text_m_accent">
2048 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002049 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002050 </text>
2051
2052 <text style="text_m">
2053 <placement x="%col1_x_right%" y="%row2_y%"/>
2054 <text>%tw_storage_display_name%</text>
2055 </text>
2056
2057 <button>
2058 <fill color="%transparent%"/>
2059 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2060 <actions>
2061 <action function="set">tw_back=backup_confirm</action>
2062 <action function="page">backup_selectstorage</action>
2063 </actions>
2064 </button>
2065
2066 <text style="text_m_accent">
2067 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002068 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002069 </text>
2070
2071 <text style="text_m">
2072 <conditions>
2073 <condition var1="tw_include_encrypted_backup" var2="1"/>
2074 <condition var1="tw_encrypt_backup" var2="0"/>
2075 </conditions>
2076 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002077 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002078 </text>
2079
2080 <text style="text_m">
2081 <conditions>
2082 <condition var1="tw_include_encrypted_backup" var2="1"/>
2083 <condition var1="tw_encrypt_backup" var2="1"/>
2084 </conditions>
2085 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002086 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002087 </text>
2088
2089 <button>
2090 <fill color="%transparent%"/>
2091 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2092 <actions>
2093 <action function="set">tw_back=backup_confirm</action>
2094 <action function="page">backupencryption</action>
2095 </actions>
2096 </button>
2097
2098 <listbox style="listbox_options">
2099 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002100 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002101 <data variable="tw_use_compression"/>
2102 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002103 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002104 <data variable="tw_skip_md5_generate"/>
2105 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <listitem name="{@disable_backup_space_chk=Disable Free Space Check}">
z31s1g28f0a922015-11-07 18:50:22 +01002107 <data variable="tw_disable_free_space"/>
2108 </listitem>
2109 </listbox>
2110
2111 <text style="text_m_accent">
2112 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002113 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002114 </text>
2115
2116 <button>
2117 <fill color="%transparent%"/>
2118 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2119 <actions>
2120 <action function="set">tw_back=backup_confirm</action>
2121 <action function="page">backup_options</action>
2122 </actions>
2123 </button>
2124
2125 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <action function="page">backup_run</action>
2128 </slider>
2129
2130 <action>
2131 <touch key="home"/>
2132 <action function="page">main</action>
2133 </action>
2134
2135 <action>
2136 <touch key="back"/>
2137 <action function="page">backup_selectstorage</action>
2138 </action>
2139 </page>
2140
2141 <page name="backup_name1">
2142 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002144 <action function="generatebackupname"/>
2145 </action>
2146
2147 <action>
2148 <action function="page">backup_name2</action>
2149 </action>
2150 </page>
2151
2152 <page name="backup_name2">
2153 <template name="page"/>
2154
2155 <template name="statusbar"/>
2156
2157 <text style="text_m">
2158 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 </text>
2161
2162 <text style="text_m_accent">
2163 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002164 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002165 </text>
2166
2167 <input>
2168 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2169 <text>%tw_backup_name%</text>
2170 <data name="tw_backup_name"/>
2171 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2172 <actions>
2173 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2174 <action function="set">tw_existpage=backup_name2</action>
2175 <action function="set">tw_notexistpage=backup_confirm</action>
2176 <action function="page">filecheck</action>
2177 </actions>
2178 </input>
2179
2180 <fill color="%accent_color%">
2181 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2182 </fill>
2183
2184 <fill color="%text_fail_color%">
2185 <condition var1="tw_fileexists" var2="1"/>
2186 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2187 </fill>
2188
2189 <text style="text_m_fail">
2190 <condition var1="tw_fileexists" var2="1"/>
2191 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002192 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002193 </text>
2194
2195 <button style="main_button_half_height">
2196 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002197 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002198 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <action function="page">backup_confirm</action>
2201 </actions>
2202 </button>
2203
2204 <button style="main_button_half_height">
2205 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002206 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002207 <action function="appenddatetobackupname"/>
2208 </button>
2209
2210 <template name="keyboardtemplate"/>
2211
2212 <action>
2213 <touch key="home"/>
2214 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002216 <action function="page">main</action>
2217 </actions>
2218 </action>
2219
2220 <action>
2221 <touch key="back"/>
2222 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002223 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002224 <action function="page">backup_confirm</action>
2225 </actions>
2226 </action>
2227 </page>
2228
2229 <page name="backupencryption">
2230 <template name="page"/>
2231
2232 <template name="statusbar"/>
2233
2234 <text style="text_m">
2235 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002236 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </text>
2238
2239 <text style="text_m_accent">
2240 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 </text>
2243
2244 <input>
2245 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2246 <text>%tw_backup_encrypt_display%</text>
2247 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2248 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2249 <action function="page">backupencryption2</action>
2250 </input>
2251
2252 <fill color="%accent_color%">
2253 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2254 </fill>
2255
2256 <fill color="%text_fail_color%">
2257 <condition var1="tw_password_not_match" var2="1"/>
2258 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2259 </fill>
2260
2261 <text style="text_m_fail">
2262 <condition var1="tw_password_not_match" var2="1"/>
2263 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 </text>
2266
2267 <button style="main_button_half_height">
2268 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002269 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <actions>
2271 <action function="set">tw_encrypt_backup=0</action>
2272 <action function="set">tw_backup_password=</action>
2273 <action function="set">tw_backup_password2=</action>
2274 <action function="set">tw_backup_encrypt_display=</action>
2275 <action function="set">tw_backup_encrypt_display2=</action>
2276 <action function="page">%tw_back%</action>
2277 </actions>
2278 </button>
2279
2280 <template name="keyboardtemplate"/>
2281
2282 <action>
2283 <touch key="home"/>
2284 <action function="page">main</action>
2285 </action>
2286
2287 <action>
2288 <touch key="back"/>
2289 <action function="page">%tw_back%</action>
2290 </action>
2291 </page>
2292
2293 <page name="backupencryption2">
2294 <template name="page"/>
2295
2296 <template name="statusbar"/>
2297
2298 <text style="text_m">
2299 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m_accent">
2304 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <input>
2309 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2310 <text>%tw_backup_encrypt_display2%</text>
2311 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2312 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2313 <action function="page">checkbackuppassword</action>
2314 </input>
2315
2316 <fill color="%accent_color%">
2317 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2318 </fill>
2319
2320 <button style="main_button_half_height">
2321 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 <actions>
2324 <action function="set">tw_encrypt_backup=0</action>
2325 <action function="set">tw_backup_password=</action>
2326 <action function="set">tw_backup_password2=</action>
2327 <action function="set">tw_backup_encrypt_display=</action>
2328 <action function="set">tw_backup_encrypt_display2=</action>
2329 <action function="page">%tw_back%</action>
2330 </actions>
2331 </button>
2332
2333 <template name="keyboardtemplate"/>
2334
2335 <action>
2336 <touch key="home"/>
2337 <action function="page">main</action>
2338 </action>
2339
2340 <action>
2341 <touch key="back"/>
2342 <action function="page">%tw_back%</action>
2343 </action>
2344 </page>
2345
2346 <page name="checkbackuppassword">
2347 <action>
2348 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2349 <actions>
2350 <action function="set">tw_encrypt_backup=1</action>
2351 <action function="page">%tw_back%</action>
2352 </actions>
2353 </action>
2354
2355 <action>
2356 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2357 <actions>
2358 <action function="set">tw_encrypt_backup=0</action>
2359 <action function="set">tw_password_not_match=1</action>
2360 <action function="set">tw_backup_password=</action>
2361 <action function="set">tw_backup_password2=</action>
2362 <action function="set">tw_backup_encrypt_display=</action>
2363 <action function="set">tw_backup_encrypt_display2=</action>
2364 <action function="page">backupencryption</action>
2365 </actions>
2366 </action>
2367 </page>
2368
2369 <page name="backup_run">
2370 <template name="page"/>
2371
2372 <template name="statusbar"/>
2373
2374 <text style="text_m">
2375 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2376 <text>%tw_operation% %tw_partition%</text>
2377 </text>
2378
2379 <template name="console"/>
2380
2381 <template name="progress_bar"/>
2382
2383 <text style="text_m">
2384 <placement x="%indent%" y="%row13a_y%"/>
2385 <text>%tw_file_progress%</text>
2386 </text>
2387
2388 <text style="text_m">
2389 <placement x="%indent%" y="%row14a_y%"/>
2390 <text>%tw_size_progress%</text>
2391 </text>
2392
2393 <button style="main_button_half_height">
2394 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002395 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002396 <action function="cancelbackup"/>
2397 </button>
2398
2399 <action>
2400 <action function="nandroid">backup</action>
2401 </action>
2402
2403 <action>
2404 <condition var1="tw_operation_state" var2="1"/>
2405 <condition var1="tw_cancel_backup" var2="0"/>
2406 <actions>
2407 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002409 <action function="set">tw_show_reboot=1</action>
2410 <action function="page">action_complete</action>
2411 </actions>
2412 </action>
2413
2414 <action>
2415 <condition var1="tw_operation_state" var2="1"/>
2416 <condition var1="tw_cancel_backup" var2="1"/>
2417 <actions>
2418 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002420 <action function="set">tw_show_reboot=1</action>
2421 <action function="page">action_complete</action>
2422 </actions>
2423 </action>
2424 </page>
2425
2426 <page name="restore">
2427 <template name="page"/>
2428
2429 <template name="statusbar"/>
2430
2431 <text style="text_m">
2432 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002433 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </text>
2435
2436 <fileselector>
2437 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2438 <text>%tw_storage_display_name%</text>
2439 <filter folders="1" files="0" nav="0"/>
2440 <path name="tw_backups_folder"/>
2441 <data name="tw_restore" default=""/>
2442 <selection name="tw_restore_name"/>
2443 </fileselector>
2444
2445 <button>
2446 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2447 <highlight color="%highlight_color%"/>
2448 <image resource="q_btn_storage"/>
2449 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002451 <action function="set">tw_back=restore</action>
2452 <action function="page">select_storage</action>
2453 </actions>
2454 </button>
2455
2456 <action>
2457 <condition var1="tw_restore" op="modified"/>
2458 <actions>
2459 <action function="readBackup"/>
2460 <action function="set">tw_back=restore</action>
2461 <action function="page">restore_read</action>
2462 </actions>
2463 </action>
2464
2465 <action>
2466 <touch key="home"/>
2467 <action function="page">main</action>
2468 </action>
2469
2470 <action>
2471 <touch key="back"/>
2472 <action function="page">main</action>
2473 </action>
2474 </page>
2475
2476 <page name="restore_read">
2477 <action>
2478 <condition var1="tw_restore_encrypted" var2="1"/>
2479 <actions>
2480 <action function="set">tw_password_fail=0</action>
2481 <action function="page">restore_decrypt</action>
2482 </actions>
2483 </action>
2484
2485 <action>
2486 <condition var1="tw_restore_encrypted" var2="0"/>
2487 <actions>
2488 <action function="page">restore_select</action>
2489 </actions>
2490 </action>
2491 </page>
2492
2493 <page name="restore_decrypt">
2494 <template name="page"/>
2495
2496 <template name="statusbar"/>
2497
2498 <text style="text_m">
2499 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002500 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002501 </text>
2502
2503 <text style="text_m_accent">
2504 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002505 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002506 </text>
2507
2508 <input>
2509 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2510 <text>%tw_restore_display%</text>
2511 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2512 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2513 <action function="page">try_restore_decrypt</action>
2514 </input>
2515
2516 <fill color="%accent_color%">
2517 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2518 </fill>
2519
2520 <fill color="%text_fail_color%">
2521 <condition var1="tw_password_fail" var2="1"/>
2522 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2523 </fill>
2524
2525 <text style="text_m_fail">
2526 <condition var1="tw_password_fail" var2="1"/>
2527 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002528 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002529 </text>
2530
2531 <button style="main_button_half_height">
2532 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002533 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002534 <actions>
2535 <action function="set">tw_page_done=1</action>
2536 <action function="page">restore</action>
2537 </actions>
2538 </button>
2539
2540 <button style="main_button_half_height">
2541 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002542 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002543 <actions>
2544 <action function="set">tw_back=restore</action>
2545 <action function="set">tw_action=cmd</action>
2546 <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 -05002547 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2548 <action function="set">tw_text2=%tw_restore_name%</action>
2549 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2550 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2551 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2552 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <action function="page">confirm_action</action>
2554 </actions>
2555 </button>
2556
2557 <template name="keyboardtemplate"/>
2558
2559 <action>
2560 <touch key="home"/>
2561 <action function="page">main</action>
2562 </action>
2563
2564 <action>
2565 <touch key="back"/>
2566 <action function="page">restore</action>
2567 </action>
2568 </page>
2569
2570 <page name="try_restore_decrypt">
2571 <template name="page"/>
2572
2573 <template name="statusbar"/>
2574
2575 <text style="text_m">
2576 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 </text>
2579
2580 <template name="console"/>
2581
2582 <template name="progress_bar"/>
2583
2584 <action>
2585 <action function="decrypt_backup"/>
2586 </action>
2587
2588 <action>
2589 <conditions>
2590 <condition var1="tw_operation_state" var2="1"/>
2591 <condition var1="tw_operation_status" op="!=" var2="0"/>
2592 </conditions>
2593 <actions>
2594 <action function="set">tw_password_fail=1</action>
2595 <action function="page">restore_decrypt</action>
2596 </actions>
2597 </action>
2598
2599 <action>
2600 <conditions>
2601 <condition var1="tw_operation_state" var2="1"/>
2602 <condition var1="tw_operation_status" op="=" var2="0"/>
2603 </conditions>
2604 <actions>
2605 <action function="set">tw_page_done=1</action>
2606 <action function="page">restore_select</action>
2607 </actions>
2608 </action>
2609 </page>
2610
2611 <page name="restore_select">
2612 <template name="page"/>
2613
2614 <template name="statusbar"/>
2615
2616 <text style="text_m">
2617 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <partitionlist style="partitionlist_headerless_cb">
2622 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2623 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2624 <listtype name="restore"/>
2625 </partitionlist>
2626
2627 <fill color="%accent_color%">
2628 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2629 </fill>
2630
2631 <button>
2632 <placement x="%col1_x_left%" y="%row11_y%"/>
2633 <highlight color="%highlight_color%"/>
2634 <image resource="q_btn_arrow_left"/>
2635 <action function="page">restore</action>
2636 </button>
2637
2638 <button>
2639 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2640 <highlight color="%highlight_color%"/>
2641 <image resource="q_btn_delete"/>
2642 <actions>
2643 <action function="set">tw_back=restore</action>
2644 <action function="set">tw_action=cmd</action>
2645 <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 -05002646 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2649 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2650 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2651 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002652 <action function="page">confirm_action</action>
2653 </actions>
2654 </button>
2655
2656 <button>
2657 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2658 <highlight color="%highlight_color%"/>
2659 <image resource="q_btn_accept"/>
2660 <action function="page">restore_confirm</action>
2661 </button>
2662
2663 <button>
2664 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2665 <highlight color="%highlight_color%"/>
2666 <image resource="q_btn_arrow_right"/>
2667 <actions>
2668 <action function="set">tw_back=restore_select</action>
2669 <action function="page">restore_options</action>
2670 </actions>
2671 </button>
2672
2673 <action>
2674 <touch key="home"/>
2675 <action function="page">main</action>
2676 </action>
2677
2678 <action>
2679 <touch key="back"/>
2680 <action function="page">%tw_back%</action>
2681 </action>
2682 </page>
2683
2684 <page name="restore_options">
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; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002692 </text>
2693
2694 <listbox style="scrolllist">
2695 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002696 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002697 <data variable="tw_skip_md5_check"/>
2698 </listitem>
2699 </listbox>
2700
2701 <button>
2702 <placement x="%col1_x_left%" y="%row11_y%"/>
2703 <highlight color="%highlight_color%"/>
2704 <image resource="q_btn_arrow_left"/>
2705 <action function="page">restore_select</action>
2706 </button>
2707
2708 <button>
2709 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2710 <highlight color="%highlight_color%"/>
2711 <image resource="q_btn_accept_transp"/>
2712 <actions>
2713 <action function="set">tw_back=restore_options</action>
2714 <action function="page">restore_confirm</action>
2715 </actions>
2716 </button>
2717
2718 <action>
2719 <touch key="home"/>
2720 <action function="page">main</action>
2721 </action>
2722
2723 <action>
2724 <touch key="back"/>
2725 <action function="page">%tw_back%</action>
2726 </action>
2727
2728 <action>
2729 <touch key="power+voldown"/>
2730 <action function="screenshot"/>
2731 </action>
2732 </page>
2733
2734 <page name="renamebackup">
2735 <template name="page"/>
2736
2737 <template name="statusbar"/>
2738
2739 <text style="text_m">
2740 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002741 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 </text>
2743
2744 <text style="text_m_accent">
2745 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002746 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002747 </text>
2748
2749 <input>
2750 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2751 <text>%tw_backup_rename%</text>
2752 <data name="tw_backup_rename"/>
2753 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2754 <actions>
2755 <action function="set">tw_back=restore</action>
2756 <action function="set">tw_action=cmd</action>
2757 <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 -05002758 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2759 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2760 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2761 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2762 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002763 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2764 <action function="set">tw_existpage=renamebackup</action>
2765 <action function="set">tw_notexistpage=confirm_action</action>
2766 <action function="page">filecheck</action>
2767 </actions>
2768 </input>
2769
2770 <fill color="%accent_color%">
2771 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2772 </fill>
2773
2774 <fill color="%text_fail_color%">
2775 <condition var1="tw_fileexists" var2="1"/>
2776 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2777 </fill>
2778
2779 <text style="text_m_fail">
2780 <condition var1="tw_fileexists" var2="1"/>
2781 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002782 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002783 </text>
2784
2785 <button style="main_button_half_height">
2786 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002787 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002788 <action function="page">restore_confirm</action>
2789 </button>
2790
2791 <template name="keyboardtemplate"/>
2792
2793 <action>
2794 <touch key="home"/>
2795 <action function="page">main</action>
2796 </action>
2797
2798 <action>
2799 <touch key="back"/>
2800 <action function="page">restore_confirm</action>
2801 </action>
2802 </page>
2803
2804 <page name="restore_confirm">
2805 <template name="page"/>
2806
2807 <template name="statusbar"/>
2808
2809 <text style="text_m">
2810 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 </text>
2813
2814 <text style="text_m_accent">
2815 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002816 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002817 </text>
2818
2819 <text style="text_m">
2820 <placement x="%indent%" y="%row2_y%"/>
2821 <text>%tw_restore_name%</text>
2822 </text>
2823
2824 <fill color="%accent_color%">
2825 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2826 </fill>
2827
2828 <button>
2829 <fill color="%transparent%"/>
2830 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2831 <actions>
2832 <action function="set">tw_back=restore_confirm</action>
2833 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2834 <action function="set">tw_fileexists=0</action>
2835 <action function="page">renamebackup</action>
2836 </actions>
2837 </button>
2838
2839 <text style="text_m_accent">
2840 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 </text>
2843
2844 <partitionlist style="partitionlist_summary">
2845 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2846 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2847 <listtype name="restore"/>
2848 </partitionlist>
2849
2850 <button>
2851 <fill color="%transparent%"/>
2852 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2853 <actions>
2854 <action function="set">tw_back=restore_confirm</action>
2855 <action function="page">restore_select</action>
2856 </actions>
2857 </button>
2858
2859 <listbox style="listbox_options">
2860 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002861 <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}">
z31s1g28f0a922015-11-07 18:50:22 +01002862 <data variable="tw_skip_md5_check"/>
2863 </listitem>
2864 </listbox>
2865
2866 <text style="text_m_accent">
2867 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <button>
2872 <fill color="%transparent%"/>
2873 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
2874 <actions>
2875 <action function="set">tw_back=restore_confirm</action>
2876 <action function="page">restore_options</action>
2877 </actions>
2878 </button>
2879
2880 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002882 <action function="page">restore_run</action>
2883 </slider>
2884
2885 <action>
2886 <touch key="home"/>
2887 <action function="page">main</action>
2888 </action>
2889
2890 <action>
2891 <touch key="back"/>
2892 <action function="page">restore_options</action>
2893 </action>
2894 </page>
2895
2896 <page name="restore_run">
2897 <template name="page"/>
2898
2899 <template name="statusbar"/>
2900
2901 <text style="text_m">
2902 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2903 <text>%tw_operation% %tw_partition%</text>
2904 </text>
2905
2906 <template name="console"/>
2907
2908 <template name="progress_bar"/>
2909
2910 <text style="text_m">
2911 <placement x="%indent%" y="%row14a_y%"/>
2912 <text>%tw_size_progress%</text>
2913 </text>
2914
2915 <action>
2916 <condition var1="tw_operation_state" var2="1"/>
2917 <actions>
2918 <action function="set">tw_back=restore</action>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002919 <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002920 <action function="set">tw_show_reboot=1</action>
2921 <action function="page">action_complete</action>
2922 </actions>
2923 </action>
2924
2925 <action>
2926 <action function="nandroid">restore</action>
2927 </action>
2928 </page>
2929
2930 <page name="mount">
2931 <template name="page"/>
2932
2933 <template name="statusbar"/>
2934
2935 <text style="text_m">
2936 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 </text>
2939
2940 <partitionlist style="partitionlist_headerless_cb">
2941 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2942 <listtype name="mount"/>
2943 </partitionlist>
2944
2945 <fill color="%accent_color%">
2946 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2947 </fill>
2948
2949 <button style="checkbox">
2950 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2951 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002952 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002953 <image resource="checkbox_false"/>
2954 <action function="mountsystemtoggle">1</action>
2955 </button>
2956
2957 <button style="checkbox">
2958 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2959 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002960 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002961 <image resource="checkbox_true"/>
2962 <actions>
2963 <action function="set">tw_lifetime_writes=2</action>
2964 <action function="page">system_readonly_check</action>
2965 </actions>
2966 </button>
2967
2968 <button style="checkbox">
2969 <conditions>
2970 <condition var1="tw_has_mtp" var2="1"/>
2971 <condition var1="tw_mtp_enabled" var2="0"/>
2972 </conditions>
2973 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2974 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 <action function="startmtp"/>
2977 </button>
2978
2979 <button style="checkbox">
2980 <conditions>
2981 <condition var1="tw_has_mtp" var2="1"/>
2982 <condition var1="tw_mtp_enabled" var2="1"/>
2983 </conditions>
2984 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
2985 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 <action function="stopmtp"/>
2988 </button>
2989
2990 <button>
2991 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2992 <highlight color="%highlight_color%"/>
2993 <image resource="q_btn_storage"/>
2994 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <action function="set">tw_back=mount</action>
2997 <action function="page">select_storage</action>
2998 </actions>
2999 </button>
3000
3001 <button>
3002 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3003 <highlight color="%highlight_color%"/>
3004 <image resource="q_btn_arrow_right"/>
3005 <action function="page">mount_options</action>
3006 </button>
3007
3008 <action>
3009 <touch key="home"/>
3010 <action function="page">main</action>
3011 </action>
3012
3013 <action>
3014 <touch key="back"/>
3015 <action function="page">main</action>
3016 </action>
3017 </page>
3018
3019 <page name="mount_options">
3020 <template name="page"/>
3021
3022 <template name="statusbar"/>
3023
3024 <text style="text_m">
3025 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 </text>
3028
3029 <button style="main_button_full_width">
3030 <condition var1="tw_has_usb_storage" var2="1"/>
3031 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 <action function="page">usb_mount</action>
3034 </button>
3035
3036 <button style="main_button_full_width">
3037 <conditions>
3038 <condition var1="tw_is_encrypted" var2="1"/>
3039 <condition var1="tw_is_decrypted" var2="0"/>
3040 </conditions>
3041 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 <action function="page">decrypt</action>
3044 </button>
3045
3046 <button>
3047 <placement x="%col1_x_left%" y="%row11_y%"/>
3048 <highlight color="%highlight_color%"/>
3049 <image resource="q_btn_arrow_left"/>
3050 <action function="page">mount</action>
3051 </button>
3052
3053 <action>
3054 <touch key="home"/>
3055 <action function="page">main</action>
3056 </action>
3057
3058 <action>
3059 <touch key="back"/>
3060 <action function="page">mount</action>
3061 </action>
3062 </page>
3063
3064 <page name="usb_mount">
3065 <template name="page"/>
3066
3067 <template name="statusbar"/>
3068
3069 <text style="text_m">
3070 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003071 <text>{@mount_hdr=Mount} &gt; {usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003072 </text>
3073
3074 <text style="text_m_accent">
3075 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003077 </text>
3078
3079 <text style="text_m_fail">
3080 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003082 </text>
3083
3084 <text style="text_m_fail">
3085 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003087 </text>
3088
3089 <button style="main_button">
3090 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <action function="page">usb_umount</action>
3093 </button>
3094
3095 <action>
3096 <action function="mount">usb</action>
3097 <action function="set">tw_busy=1</action>
3098 </action>
3099 </page>
3100
3101 <page name="usb_umount">
3102 <action>
3103 <action function="unmount">usb</action>
3104 </action>
3105
3106 <action>
3107 <action function="page">mount_options</action>
3108 <action function="set">tw_busy=0</action>
3109 </action>
3110 </page>
3111
3112 <page name="system_readonly_check">
3113 <action>
3114 <action function="checkpartitionlifetimewrites">/system</action>
3115 </action>
3116
3117 <action>
3118 <condition var1="tw_lifetime_writes" var2="1"/>
3119 <actions>
3120 <action function="mountsystemtoggle">0</action>
3121 <action function="page">mount</action>
3122 </actions>
3123 </action>
3124
3125 <action>
3126 <condition var1="tw_lifetime_writes" var2="0"/>
3127 <actions>
3128 <action function="set">tw_back=mount</action>
3129 <action function="page">system_readonly</action>
3130 </actions>
3131 </action>
3132 </page>
3133
3134 <page name="reboot">
3135 <template name="page"/>
3136
3137 <template name="statusbar"/>
3138
3139 <text style="text_m">
3140 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003142 </text>
3143
3144 <button style="main_button">
3145 <condition var1="tw_reboot_system" var2="1"/>
3146 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <actions>
3149 <action function="set">tw_back=reboot</action>
3150 <action function="set">tw_action=reboot</action>
3151 <action function="set">tw_action_param=system</action>
3152 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3154 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3155 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3156 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3157 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003158 <action function="page">rebootcheck</action>
3159 </actions>
3160 </button>
3161
3162 <button style="main_button">
3163 <condition var1="tw_reboot_poweroff" var2="1"/>
3164 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <actions>
3167 <action function="set">tw_back=reboot</action>
3168 <action function="set">tw_action=reboot</action>
3169 <action function="set">tw_action_param=poweroff</action>
3170 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3172 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3173 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3174 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3175 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="page">rebootcheck</action>
3177 </actions>
3178 </button>
3179
3180 <button style="main_button">
3181 <condition var1="tw_reboot_recovery" var2="1"/>
3182 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <actions>
3185 <action function="set">tw_back=reboot</action>
3186 <action function="set">tw_action=reboot</action>
3187 <action function="set">tw_action_param=recovery</action>
3188 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3190 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3191 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3192 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3193 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <action function="page">rebootcheck</action>
3195 </actions>
3196 </button>
3197
3198 <button style="main_button">
3199 <condition var1="tw_reboot_bootloader" var2="1"/>
3200 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <actions>
3203 <action function="set">tw_back=reboot</action>
3204 <action function="set">tw_action=reboot</action>
3205 <action function="set">tw_action_param=bootloader</action>
3206 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3208 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3209 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3210 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3211 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <action function="page">rebootcheck</action>
3213 </actions>
3214 </button>
3215
3216 <button style="main_button">
3217 <condition var1="tw_download_mode" var2="1"/>
3218 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <actions>
3221 <action function="set">tw_back=reboot</action>
3222 <action function="set">tw_action=reboot</action>
3223 <action function="set">tw_action_param=download</action>
3224 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3226 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3227 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3228 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3229 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <action function="page">rebootcheck</action>
3231 </actions>
3232 </button>
3233
3234 <action>
3235 <touch key="home"/>
3236 <action function="page">main</action>
3237 </action>
3238
3239 <action>
3240 <touch key="back"/>
3241 <action function="page">main</action>
3242 </action>
3243 </page>
3244
3245 <page name="system_readonly">
3246 <template name="page"/>
3247
3248 <template name="statusbar"/>
3249
3250 <text style="text_m">
3251 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </text>
3254
3255 <text style="text_m_accent">
3256 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 </text>
3259
3260 <text style="text_m">
3261 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </text>
3264
3265 <text style="text_m">
3266 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </text>
3269
3270 <text style="text_m">
3271 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 </text>
3274
3275 <text style="text_m">
3276 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003278 </text>
3279
3280 <text style="text_m_fail">
3281 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 </text>
3284
3285 <text style="text_m_fail">
3286 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </text>
3289
3290 <checkbox>
3291 <condition var1="tw_is_encrypted" var2="0"/>
3292 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 <data variable="tw_never_show_system_ro_page"/>
3295 </checkbox>
3296
3297 <button style="main_button_half_height">
3298 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003299 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003300 <actions>
3301 <action function="mountsystemtoggle">1</action>
3302 <action function="set">tw_page_done=1</action>
3303 <action function="page">%tw_back%</action>
3304 </actions>
3305 </button>
3306
3307 <button style="main_button_half_height">
3308 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <actions>
3311 <action function="mountsystemtoggle">0</action>
3312 <action function="set">tw_page_done=1</action>
3313 <action function="page">%tw_back%</action>
3314 </actions>
3315 </button>
3316 </page>
3317
3318 <page name="settings">
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>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <button style="main_button">
3329 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">settings_general</action>
3332 </button>
3333
3334 <button style="main_button">
3335 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="page">settings_timezone</action>
3338 </button>
3339
3340 <button style="main_button">
3341 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <action function="page">settings_screen</action>
3344 </button>
3345
3346 <button style="main_button">
3347 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <action function="page">settings_vibration</action>
3350 </button>
3351
3352 <button style="main_button">
3353 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 <action function="page">settings_language</action>
3356 </button>
3357
3358 <button>
3359 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3360 <highlight color="%highlight_color%"/>
3361 <image resource="q_btn_reset"/>
3362 <action function="restoredefaultsettings"/>
3363 </button>
3364
3365 <action>
3366 <touch key="home"/>
3367 <action function="page">main</action>
3368 </action>
3369
3370 <action>
3371 <touch key="back"/>
3372 <action function="page">main3</action>
3373 </action>
3374 </page>
3375
3376 <page name="settings_general">
3377 <template name="page"/>
3378
3379 <template name="statusbar"/>
3380
3381 <text style="text_m">
3382 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003384 </text>
3385
3386 <listbox style="scrolllist">
3387 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003389 <data variable="tw_signed_zip_verify"/>
3390 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003392 <data variable="tw_rm_rf"/>
3393 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01003395 <data variable="tw_skip_md5_generate"/>
3396 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06003397 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01003398 <data variable="tw_skip_md5_check"/>
3399 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003401 <data variable="tw_military_time"/>
3402 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003404 <data variable="tw_simulate_actions"/>
3405 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003407 <data variable="tw_simulate_fail"/>
3408 <condition var1="tw_simulate_actions" var2="1"/>
3409 </listitem>
3410 </listbox>
3411
3412 <action>
3413 <touch key="home"/>
3414 <action function="page">main</action>
3415 </action>
3416
3417 <action>
3418 <touch key="back"/>
3419 <action function="page">settings</action>
3420 </action>
3421 </page>
3422
3423 <page name="settings_timezone">
3424 <template name="page"/>
3425
3426 <template name="statusbar"/>
3427
3428 <text style="text_m">
3429 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 </text>
3432
3433 <text color="%text_color%">
3434 <font resource="font_m"/>
3435 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3436 <text>%tw_time%</text>
3437 </text>
3438
3439 <listbox style="listbox_headerless">
3440 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3441 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3443 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3444 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3445 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3446 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3447 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3448 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3449 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3450 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3451 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3452 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3453 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3454 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3455 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3456 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3457 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3458 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3459 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3460 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3461 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3462 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3463 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3464 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3465 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </listbox>
3467
3468 <button>
3469 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3470 <highlight color="%highlight_color%"/>
3471 <image resource="q_btn_arrow_right"/>
3472 <actions>
3473 <action function="setguitimezone"/>
3474 <action function="page">settings_timezone2</action>
3475 </actions>
3476 </button>
3477
3478 <action>
3479 <condition var1="tw_time_zone_guisel" op="modified"/>
3480 <action function="setguitimezone"/>
3481 </action>
3482
3483 <action>
3484 <touch key="home"/>
3485 <actions>
3486 <action function="page">main</action>
3487 <action function="setguitimezone"/>
3488 </actions>
3489 </action>
3490
3491 <action>
3492 <touch key="back"/>
3493 <actions>
3494 <action function="page">settings</action>
3495 <action function="setguitimezone"/>
3496 </actions>
3497 </action>
3498
3499 <action>
3500 <touch key="power+voldown"/>
3501 <action function="screenshot"/>
3502 </action>
3503 </page>
3504
3505 <page name="settings_timezone2">
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 <checkbox>
3522 <placement x="%col1_x_left%" y="%row1_y%"/>
3523 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <data variable="tw_time_zone_guidst"/>
3526 <image checked="checkbox_true" unchecked="checkbox_false"/>
3527 </checkbox>
3528
3529 <text style="text_m_accent">
3530 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 </text>
3533
3534 <button style="main_button_quarter_width">
3535 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003537 <actions>
3538 <action function="set">tw_time_zone_guioffset=0</action>
3539 <action function="setguitimezone"/>
3540 </actions>
3541 </button>
3542
3543 <button style="main_button_quarter_width">
3544 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <actions>
3547 <action function="set">tw_time_zone_guioffset=15</action>
3548 <action function="setguitimezone"/>
3549 </actions>
3550 </button>
3551
3552 <button style="main_button_quarter_width">
3553 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003555 <actions>
3556 <action function="set">tw_time_zone_guioffset=30</action>
3557 <action function="setguitimezone"/>
3558 </actions>
3559 </button>
3560
3561 <button style="main_button_quarter_width">
3562 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003563 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003564 <actions>
3565 <action function="set">tw_time_zone_guioffset=45</action>
3566 <action function="setguitimezone"/>
3567 </actions>
3568 </button>
3569
3570 <button>
3571 <placement x="%col1_x_left%" y="%row11_y%"/>
3572 <highlight color="%highlight_color%"/>
3573 <image resource="q_btn_arrow_left"/>
3574 <actions>
3575 <action function="setguitimezone"/>
3576 <action function="page">settings_timezone</action>
3577 </actions>
3578 </button>
3579
3580 <text style="text_m_accent">
3581 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m">
3586 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3587 <text>%tw_time_zone%</text>
3588 </text>
3589
3590 <action>
3591 <condition var1="tw_time_zone_guidst" op="modified"/>
3592 <action function="setguitimezone"/>
3593 </action>
3594
3595 <action>
3596 <touch key="home"/>
3597 <actions>
3598 <action function="setguitimezone"/>
3599 <action function="page">main</action>
3600 </actions>
3601 </action>
3602
3603 <action>
3604 <touch key="back"/>
3605 <actions>
3606 <action function="setguitimezone"/>
3607 <action function="page">settings_timezone</action>
3608 </actions>
3609 </action>
3610 </page>
3611
3612 <page name="settings_screen">
3613 <template name="page"/>
3614
3615 <template name="statusbar"/>
3616
3617 <text style="text_m">
3618 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 </text>
3621
3622 <button style="checkbox">
3623 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3624 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3625 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003627 <image resource="checkbox_false"/>
3628 <action function="set">tw_screen_timeout_secs=60</action>
3629 </button>
3630
3631 <button style="checkbox">
3632 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3633 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3634 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <image resource="checkbox_true"/>
3637 <action function="set">tw_screen_timeout_secs=0</action>
3638 </button>
3639
3640 <slidervalue>
3641 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3642 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3645 </slidervalue>
3646
3647 <text style="text_m_fail">
3648 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3649 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 </text>
3652
3653 <button>
3654 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3655 <highlight color="%highlight_color%"/>
3656 <image resource="q_btn_arrow_right"/>
3657 <action function="page">settings_screen2</action>
3658 </button>
3659
3660 <action>
3661 <touch key="home"/>
3662 <action function="page">main</action>
3663 </action>
3664
3665 <action>
3666 <touch key="back"/>
3667 <action function="page">settings</action>
3668 </action>
3669 </page>
3670
3671 <page name="settings_screen2">
3672 <template name="page"/>
3673
3674 <template name="statusbar"/>
3675
3676 <text style="text_m">
3677 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003679 </text>
3680
3681 <slidervalue>
3682 <condition var1="tw_has_brightnesss_file" var2="1"/>
3683 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <data variable="tw_brightness_pct" min="10" max="100"/>
3686 <actions>
3687 <action function="set">tw_brightness=%tw_brightness_max%</action>
3688 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3689 <action function="compute">tw_brightness/100</action>
3690 <action function="setbrightness">%tw_brightness%</action>
3691 </actions>
3692 </slidervalue>
3693
3694 <text style="text_m_fail">
3695 <condition var1="tw_has_brightnesss_file" var2="0"/>
3696 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <button>
3701 <placement x="%col1_x_left%" y="%row11_y%"/>
3702 <highlight color="%highlight_color%"/>
3703 <image resource="q_btn_arrow_left"/>
3704 <action function="page">settings_screen</action>
3705 </button>
3706
3707 <action>
3708 <touch key="home"/>
3709 <action function="page">main</action>
3710 </action>
3711
3712 <action>
3713 <touch key="back"/>
3714 <action function="page">settings</action>
3715 </action>
3716 </page>
3717
3718 <page name="settings_vibration">
3719 <template name="page"/>
3720
3721 <template name="statusbar"/>
3722
3723 <text style="text_m">
3724 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003726 </text>
3727
3728 <slidervalue>
3729 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003730 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003731 <data variable="tw_button_vibrate" min="0" max="300"/>
3732 </slidervalue>
3733
3734 <button>
3735 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3736 <highlight color="%highlight_color%"/>
3737 <image resource="q_btn_arrow_right"/>
3738 <action function="page">settings_vibration2</action>
3739 </button>
3740
3741 <action>
3742 <touch key="home"/>
3743 <action function="page">main</action>
3744 </action>
3745
3746 <action>
3747 <touch key="back"/>
3748 <action function="page">settings</action>
3749 </action>
3750 </page>
3751
3752 <page name="settings_vibration2">
3753 <template name="page"/>
3754
3755 <template name="statusbar"/>
3756
3757 <text style="text_m">
3758 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 </text>
3761
3762 <slidervalue>
3763 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3766 </slidervalue>
3767
3768 <button>
3769 <placement x="%col1_x_left%" y="%row11_y%"/>
3770 <highlight color="%highlight_color%"/>
3771 <image resource="q_btn_arrow_left"/>
3772 <action function="page">settings_vibration</action>
3773 </button>
3774
3775 <button>
3776 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3777 <highlight color="%highlight_color%"/>
3778 <image resource="q_btn_arrow_right"/>
3779 <action function="page">settings_vibration3</action>
3780 </button>
3781
3782 <action>
3783 <touch key="home"/>
3784 <action function="page">main</action>
3785 </action>
3786
3787 <action>
3788 <touch key="back"/>
3789 <action function="page">settings</action>
3790 </action>
3791 </page>
3792
3793 <page name="settings_vibration3">
3794 <template name="page"/>
3795
3796 <template name="statusbar"/>
3797
3798 <text style="text_m">
3799 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003800 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003801 </text>
3802
3803 <slidervalue>
3804 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003806 <data variable="tw_action_vibrate" min="0" max="500"/>
3807 </slidervalue>
3808
3809 <button>
3810 <placement x="%col1_x_left%" y="%row11_y%"/>
3811 <highlight color="%highlight_color%"/>
3812 <image resource="q_btn_arrow_left"/>
3813 <action function="page">settings_vibration2</action>
3814 </button>
3815
3816 <action>
3817 <touch key="home"/>
3818 <action function="page">main</action>
3819 </action>
3820
3821 <action>
3822 <touch key="back"/>
3823 <action function="page">settings</action>
3824 </action>
3825 </page>
3826
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <page name="settings_language">
3828 <template name="page"/>
3829
3830 <template name="statusbar"/>
3831
3832 <text style="text_m">
3833 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3834 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
3835 </text>
3836
3837 <object type="listbox" style="scrolllist">
3838 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3839 <icon selected="radio_true" unselected="radio_false" />
3840 <data name="tw_language" />
3841 </object>
3842
3843 <button>
3844 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3845 <highlight color="%highlight_color%"/>
3846 <image resource="q_btn_folder"/>
3847 <action function="setlanguage"></action>
3848 </button>
3849
3850 <object type="action">
3851 <touch key="home" />
3852 <action function="page">main</action>
3853 </object>
3854
3855 <object type="action">
3856 <touch key="back" />
3857 <action function="page">settings</action>
3858 </object>
3859 </page>
3860
z31s1g28f0a922015-11-07 18:50:22 +01003861 <page name="advanced">
3862 <template name="page"/>
3863
3864 <template name="statusbar"/>
3865
3866 <text style="text_m">
3867 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 </text>
3870
3871 <button style="main_button">
3872 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@terminal_btn=Terminal}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 <action function="page">terminalfolder</action>
3875 </button>
3876
3877 <button style="main_button">
3878 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fix_perm_s_btn=Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <action function="page">fixperms</action>
3881 </button>
3882
3883 <button style="main_button">
3884 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <action function="reload"/>
3887 </button>
3888
3889 <button style="main_button">
3890 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3891 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003892 <text>{@part_sd_s_btn=SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003893 <action function="page">partsdcard</action>
3894 </button>
3895
3896 <button style="main_button">
3897 <condition var1="tw_show_dumlock" var2="1"/>
3898 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003899 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003900 <action function="page">htcdumlock</action>
3901 </button>
3902
3903 <button style="main_button">
3904 <condition var1="tw_has_injecttwrp" var2="1"/>
3905 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003906 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003907 <actions>
3908 <action function="set">tw_back=advanced</action>
3909 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3911 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3912 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3913 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003914 <action function="page">confirm_action</action>
3915 </actions>
3916 </button>
3917
3918 <action>
3919 <touch key="home"/>
3920 <action function="page">main</action>
3921 </action>
3922
3923 <action>
3924 <touch key="back"/>
3925 <action function="page">main3</action>
3926 </action>
3927 </page>
3928
3929 <page name="partsdcard">
3930 <template name="page"/>
3931
3932 <template name="statusbar"/>
3933
3934 <text style="text_m">
3935 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <text style="text_m_fail">
3940 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 </text>
3943
3944 <text style="text_m_fail">
3945 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003947 </text>
3948
3949 <text style="text_m_accent">
3950 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003951 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003952 </text>
3953
3954 <text style="text_m">
3955 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3956 <text>%tw_sdext_size%</text>
3957 </text>
3958
3959 <button style="main_button_quarter_width">
3960 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 <action function="addsubtract">tw_sdext_size-128</action>
3963 </button>
3964
3965 <button style="main_button_quarter_width">
3966 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 <action function="addsubtract">tw_sdext_size+128</action>
3969 </button>
3970
3971 <button>
3972 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3973 <highlight color="%highlight_color%"/>
3974 <image resource="q_btn_arrow_right"/>
3975 <action function="page">partsdcard2</action>
3976 </button>
3977
3978 <action>
3979 <touch key="home"/>
3980 <action function="page">main</action>
3981 </action>
3982
3983 <action>
3984 <touch key="back"/>
3985 <action function="page">advanced</action>
3986 </action>
3987 </page>
3988
3989 <page name="partsdcard2">
3990 <template name="page"/>
3991
3992 <template name="statusbar"/>
3993
3994 <text style="text_m">
3995 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
3999 <text style="text_m_fail">
4000 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004002 </text>
4003
4004 <text style="text_m_fail">
4005 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004006 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004007 </text>
4008
4009 <text style="text_m_accent">
4010 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 </text>
4013
4014 <text style="text_m">
4015 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4016 <text>%tw_swap_size%</text>
4017 </text>
4018
4019 <button style="main_button_quarter_width">
4020 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004021 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004022 <action function="addsubtract">tw_swap_size-32</action>
4023 </button>
4024
4025 <button style="main_button_quarter_width">
4026 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 <action function="addsubtract">tw_swap_size+32</action>
4029 </button>
4030
4031 <button>
4032 <placement x="%col1_x_left%" y="%row11_y%"/>
4033 <highlight color="%highlight_color%"/>
4034 <image resource="q_btn_arrow_left"/>
4035 <action function="page">partsdcard</action>
4036 </button>
4037
4038 <button>
4039 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4040 <highlight color="%highlight_color%"/>
4041 <image resource="q_btn_arrow_right"/>
4042 <action function="page">partsdcard3</action>
4043 </button>
4044
4045 <action>
4046 <touch key="home"/>
4047 <action function="page">main</action>
4048 </action>
4049
4050 <action>
4051 <touch key="back"/>
4052 <action function="page">advanced</action>
4053 </action>
4054 </page>
4055
4056 <page name="partsdcard3">
4057 <template name="page"/>
4058
4059 <template name="statusbar"/>
4060
4061 <text style="text_m">
4062 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 </text>
4065
4066 <text style="text_m_fail">
4067 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </text>
4070
4071 <text style="text_m_fail">
4072 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <text style="text_m_accent">
4077 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </text>
4080
4081 <text style="text_m">
4082 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4083 <text>%tw_sdpart_file_system%</text>
4084 </text>
4085
4086 <button style="main_button_quarter_width">
4087 <placement x="%indent%" y="%row6_y%"/>
4088 <text>EXT3</text>
4089 <action function="set">tw_sdpart_file_system=ext3</action>
4090 </button>
4091
4092 <button style="main_button_quarter_width">
4093 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4094 <text>EXT4</text>
4095 <action function="set">tw_sdpart_file_system=ext4</action>
4096 </button>
4097
4098 <button>
4099 <placement x="%col1_x_left%" y="%row11_y%"/>
4100 <highlight color="%highlight_color%"/>
4101 <image resource="q_btn_arrow_left"/>
4102 <action function="page">partsdcard2</action>
4103 </button>
4104
4105 <button>
4106 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4107 <highlight color="%highlight_color%"/>
4108 <image resource="q_btn_arrow_right"/>
4109 <action function="page">partsdcard_confirm</action>
4110 </button>
4111
4112 <action>
4113 <touch key="home"/>
4114 <action function="page">main</action>
4115 </action>
4116
4117 <action>
4118 <touch key="back"/>
4119 <action function="page">advanced</action>
4120 </action>
4121 </page>
4122
4123 <page name="partsdcard_confirm">
4124 <template name="page"/>
4125
4126 <template name="statusbar"/>
4127
4128 <text style="text_m">
4129 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004130 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004131 </text>
4132
4133 <text style="text_m_fail">
4134 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004135 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004136 </text>
4137
4138 <text style="text_m_fail">
4139 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004140 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004141 </text>
4142
4143 <text style="text_m_accent">
4144 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m_accent">
4149 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m_accent">
4154 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 <action function="page">partsdcardaction</action>
4161 <actions>
4162 <action function="set">tw_back=partsdcard</action>
4163 <action function="set">tw_action=partitionsd</action>
4164 <action function="set">tw_has_action2=1</action>
4165 <action function="set">tw_action2=set</action>
4166 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004167 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4168 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4169 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004170 <action function="page">action_page</action>
4171 </actions>
4172 </slider>
4173
4174 <action>
4175 <touch key="home"/>
4176 <action function="page">main</action>
4177 </action>
4178
4179 <action>
4180 <touch key="back"/>
4181 <action function="page">advanced</action>
4182 </action>
4183 </page>
4184
4185 <page name="htcdumlock">
4186 <template name="page"/>
4187
4188 <template name="statusbar"/>
4189
4190 <text style="text_m">
4191 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004192 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 </text>
4194
4195 <button style="main_button_full_width">
4196 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004197 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004198 <actions>
4199 <action function="set">tw_back=htcdumlock</action>
4200 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4202 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4203 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4204 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004205 <action function="page">confirm_action</action>
4206 </actions>
4207 </button>
4208
4209 <button style="main_button_full_width">
4210 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004211 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004212 <actions>
4213 <action function="set">tw_back=htcdumlock</action>
4214 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004215 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4216 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4217 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4218 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004219 <action function="page">confirm_action</action>
4220 </actions>
4221 </button>
4222
4223 <button style="main_button_full_width">
4224 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004225 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004226 <actions>
4227 <action function="set">tw_back=htcdumlock</action>
4228 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4230 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4231 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4232 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004233 <action function="page">confirm_action</action>
4234 </actions>
4235 </button>
4236
4237 <action>
4238 <touch key="home"/>
4239 <action function="page">main</action>
4240 </action>
4241
4242 <action>
4243 <touch key="back"/>
4244 <action function="page">advanced</action>
4245 </action>
4246 </page>
4247
4248 <page name="lock">
4249 <background color="%semi_transparent%"/>
4250
4251 <image>
4252 <image resource="unlock_icon"/>
4253 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4254 </image>
4255
4256 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004257 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004258 <action function="overlay"/>
4259 </slider>
4260 </page>
4261
4262 <page name="filemanagerlist">
4263 <template name="page"/>
4264
4265 <template name="statusbar"/>
4266
4267 <text style="text_m">
4268 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004269 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004270 </text>
4271
4272 <fileselector>
4273 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4274 <text>%tw_file_location1%</text>
4275 <filter folders="1" files="1"/>
4276 <path name="tw_file_location1" default="/"/>
4277 <data name="tw_filename1"/>
4278 <selection name="tw_selection1"/>
4279 </fileselector>
4280
4281 <button>
4282 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4283 <highlight color="%highlight_color%"/>
4284 <image resource="q_btn_folder"/>
4285 <actions>
4286 <action function="set">tw_filename1=tw_file_location1</action>
4287 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004288 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004289 <action function="page">filemanageroptions</action>
4290 </actions>
4291 </button>
4292
4293 <action>
4294 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004296 <action function="set">tw_fm_isfolder=0</action>
4297 </actions>
4298 </action>
4299
4300 <action>
4301 <touch key="home"/>
4302 <action function="page">main</action>
4303 </action>
4304
4305 <action>
4306 <touch key="back"/>
4307 <action function="page">main3</action>
4308 </action>
4309
4310 <action>
4311 <condition var1="tw_filename1" op="modified"/>
4312 <action function="page">filemanageroptions</action>
4313 </action>
4314 </page>
4315
4316 <page name="filemanageroptions">
4317 <template name="page"/>
4318
4319 <template name="statusbar"/>
4320
4321 <text style="text_m">
4322 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004323 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004324 </text>
4325
4326 <button style="main_button">
4327 <condition var1="tw_fm_isfolder" var2="0"/>
4328 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 <actions>
4331 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004333 <action function="page">choosedestinationfolder</action>
4334 </actions>
4335 </button>
4336
4337 <button style="main_button">
4338 <condition var1="tw_fm_isfolder" var2="1"/>
4339 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 <actions>
4342 <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 -05004343 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004344 <action function="page">choosedestinationfolder</action>
4345 </actions>
4346 </button>
4347
4348 <button style="main_button">
4349 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 <actions>
4352 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004354 <action function="page">choosedestinationfolder</action>
4355 </actions>
4356 </button>
4357
4358 <button style="main_button">
4359 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004360 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004361 <actions>
4362 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004363 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004364 <action function="set">tw_fm_text2=</action>
4365 <action function="set">tw_fm_text3=</action>
4366 <action function="set">tw_include_text3=0</action>
4367 <action function="set">tw_back=filemanageroptions</action>
4368 <action function="page">filemanagerconfirm</action>
4369 </actions>
4370 </button>
4371
4372 <button style="main_button">
4373 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 <actions>
4376 <action function="set">tw_filemanager_rename=0000</action>
4377 <action function="set">tw_fm_text2=</action>
4378 <action function="set">tw_fm_text3=</action>
4379 <action function="set">tw_include_text3=0</action>
4380 <action function="set">tw_back=filemanageroptions</action>
4381 <action function="page">filemanagerchmod</action>
4382 </actions>
4383 </button>
4384
4385 <button style="main_button">
4386 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004387 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004388 <actions>
4389 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004390 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004391 <action function="set">tw_fm_text2=</action>
4392 <action function="set">tw_fm_text3=</action>
4393 <action function="set">tw_include_text3=0</action>
4394 <action function="set">tw_back=filemanageroptions</action>
4395 <action function="page">filemanagerconfirm</action>
4396 </actions>
4397 </button>
4398
4399 <button style="main_button">
4400 <condition var1="tw_fm_isfolder" var2="0"/>
4401 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004402 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004403 <actions>
4404 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004406 <action function="set">tw_filemanager_command=mv</action>
4407 <action function="page">filemanagerrenamefile</action>
4408 </actions>
4409 </button>
4410
4411 <button style="main_button">
4412 <condition var1="tw_fm_isfolder" var2="1"/>
4413 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004415 <actions>
4416 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004417 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004418 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4419 <action function="page">filemanagerrenamefolder</action>
4420 </actions>
4421 </button>
4422
4423 <action>
4424 <touch key="home"/>
4425 <action function="page">main</action>
4426 </action>
4427
4428 <action>
4429 <touch key="back"/>
4430 <action function="page">filemanagerlist</action>
4431 </action>
4432 </page>
4433
4434 <page name="choosedestinationfolder">
4435 <template name="page"/>
4436
4437 <template name="statusbar"/>
4438
4439 <text style="text_m">
4440 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <fileselector>
4445 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4446 <text>%tw_file_location2%</text>
4447 <filter folders="1" files="0"/>
4448 <path name="tw_file_location2" default="/"/>
4449 <data name="tw_filename2"/>
4450 <selection name="tw_selection2"/>
4451 </fileselector>
4452
4453 <button>
4454 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4455 <highlight color="%highlight_color%"/>
4456 <image resource="q_btn_folder"/>
4457 <actions>
4458 <action function="set">tw_fm_text2=to</action>
4459 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4460 <action function="set">tw_include_text3=1</action>
4461 <action function="set">tw_back=filemanageroptions</action>
4462 <action function="page">filemanagerconfirm</action>
4463 </actions>
4464 </button>
4465
4466 <action>
4467 <touch key="home"/>
4468 <action function="page">main</action>
4469 </action>
4470
4471 <action>
4472 <touch key="back"/>
4473 <action function="page">filemanageroptions</action>
4474 </action>
4475 </page>
4476
4477 <page name="filemanagerrenamefile">
4478 <template name="page"/>
4479
4480 <template name="statusbar"/>
4481
4482 <text style="text_m">
4483 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </text>
4486
4487 <text style="text_m_accent">
4488 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004489 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004490 </text>
4491
4492 <input>
4493 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4494 <text>%tw_filemanager_rename%</text>
4495 <data name="tw_filemanager_rename"/>
4496 <restrict minlen="1" maxlen="128"/>
4497 <actions>
4498 <action function="set">tw_fm_text2=to</action>
4499 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4500 <action function="set">tw_include_text3=1</action>
4501 <action function="set">tw_back=filemanageroptions</action>
4502 <action function="page">filemanagerconfirm</action>
4503 </actions>
4504 </input>
4505
4506 <fill color="%accent_color%">
4507 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
4508 </fill>
4509
4510 <button style="main_button_half_height">
4511 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004512 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004513 <action function="page">filemanageroptions</action>
4514 </button>
4515
4516 <template name="keyboardtemplate"/>
4517
4518 <action>
4519 <touch key="home"/>
4520 <action function="page">main</action>
4521 </action>
4522
4523 <action>
4524 <touch key="back"/>
4525 <action function="page">filemanageroptions</action>
4526 </action>
4527 </page>
4528
4529 <page name="filemanagerrenamefolder">
4530 <template name="page"/>
4531
4532 <template name="statusbar"/>
4533
4534 <text style="text_m">
4535 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004537 </text>
4538
4539 <text style="text_m_accent">
4540 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004541 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004542 </text>
4543
4544 <input>
4545 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4546 <text>%tw_filemanager_rename%</text>
4547 <data name="tw_filemanager_rename"/>
4548 <restrict minlen="1" maxlen="128"/>
4549 <actions>
4550 <action function="set">tw_fm_text2=to</action>
4551 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4552 <action function="set">tw_include_text3=1</action>
4553 <action function="set">tw_back=filemanageroptions</action>
4554 <action function="page">filemanagerconfirm</action>
4555 </actions>
4556 </input>
4557
4558 <fill color="%accent_color%">
4559 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4560 </fill>
4561
4562 <button style="main_button_half_height">
4563 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004564 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004565 <action function="page">filemanageroptions</action>
4566 </button>
4567
4568 <template name="keyboardtemplate"/>
4569
4570 <action>
4571 <touch key="home"/>
4572 <action function="page">main</action>
4573 </action>
4574
4575 <action>
4576 <touch key="back"/>
4577 <action function="page">filemanageroptions</action>
4578 </action>
4579 </page>
4580
4581 <page name="filemanagerchmod">
4582 <template name="page"/>
4583
4584 <template name="statusbar"/>
4585
4586 <text style="text_m">
4587 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004588 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004589 </text>
4590
4591 <text style="text_m_accent">
4592 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </text>
4595
4596 <input>
4597 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4598 <text>%tw_filemanager_rename%</text>
4599 <data name="tw_filemanager_rename"/>
4600 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4601 <actions>
4602 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4603 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4604 <action function="set">tw_back=filemanageroptions</action>
4605 <action function="page">filemanagerconfirm</action>
4606 </actions>
4607 </input>
4608
4609 <fill color="%accent_color%">
4610 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4611 </fill>
4612
4613 <button style="main_button_half_height">
4614 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004615 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004616 <action function="page">filemanageroptions</action>
4617 </button>
4618
4619 <template name="keyboardtemplate"/>
4620
4621 <action>
4622 <touch key="home"/>
4623 <action function="page">main</action>
4624 </action>
4625
4626 <action>
4627 <touch key="back"/>
4628 <action function="page">filemanageroptions</action>
4629 </action>
4630 </page>
4631
4632 <page name="filemanagerconfirm">
4633 <template name="page"/>
4634
4635 <template name="statusbar"/>
4636
4637 <text style="text_m">
4638 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 </text>
4641
4642 <text style="text_m_accent">
4643 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4644 <text>%tw_fm_text1%</text>
4645 </text>
4646
4647 <text style="text_m">
4648 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4649 <text>%tw_filename1%</text>
4650 </text>
4651
4652 <text style="text_m_accent">
4653 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4654 <text>%tw_fm_text2%</text>
4655 </text>
4656
4657 <text style="text_m">
4658 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4659 <text>%tw_fm_text3%</text>
4660 </text>
4661
4662 <text style="text_m">
4663 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004664 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004665 </text>
4666
4667 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <action function="page">filemanageraction</action>
4670 </slider>
4671
4672 <action>
4673 <touch key="back"/>
4674 <action function="page">%tw_back%</action>
4675 </action>
4676
4677 <action>
4678 <touch key="home"/>
4679 <action function="page">main</action>
4680 </action>
4681 </page>
4682
4683 <page name="filemanageraction">
4684 <template name="page"/>
4685
4686 <template name="statusbar"/>
4687
4688 <text style="text_m">
4689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004690 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004691 </text>
4692
4693 <template name="console"/>
4694
4695 <template name="progress_bar"/>
4696
4697 <action>
4698 <conditions>
4699 <condition var1="tw_operation_state" var2="1"/>
4700 <condition var1="tw_operation_status" var2="0"/>
4701 </conditions>
4702 <actions>
4703 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004704 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004705 <action function="page">action_complete</action>
4706 </actions>
4707 </action>
4708
4709 <action>
4710 <conditions>
4711 <condition var1="tw_operation_state" var2="1"/>
4712 <condition var1="tw_operation_status" op="!=" var2="0"/>
4713 </conditions>
4714 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004715 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004716 <action function="page">action_complete</action>
4717 </actions>
4718 </action>
4719
4720 <action>
4721 <condition var1="tw_include_text3" var2="0"/>
4722 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4723 </action>
4724
4725 <action>
4726 <condition var1="tw_include_text3" var2="1"/>
4727 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4728 </action>
4729 </page>
4730
4731 <page name="decrypt">
4732 <template name="page"/>
4733
4734 <template name="statusbar"/>
4735
4736 <action>
4737 <condition var1="tw_crypto_pwtype" var2="2"/>
4738 <action function="page">decrypt_pattern</action>
4739 </action>
4740
4741 <text style="text_m">
4742 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004743 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004744 </text>
4745
4746 <text style="text_m_accent">
4747 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004749 </text>
4750
4751 <input>
4752 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4753 <text>%tw_crypto_display%</text>
4754 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4755 <restrict minlen="1" maxlen="254"/>
4756 <action function="page">trydecrypt</action>
4757 </input>
4758
4759 <fill color="%accent_color%">
4760 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4761 </fill>
4762
4763 <fill color="%text_fail_color%">
4764 <condition var1="tw_password_fail" var2="1"/>
4765 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
4766 </fill>
4767
4768 <text style="text_m_fail">
4769 <condition var1="tw_password_fail" var2="1"/>
4770 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004771 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004772 </text>
4773
4774 <button style="main_button_half_height">
4775 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004776 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004777 <actions>
4778 <action function="set">tw_page_done=1</action>
4779 <action function="page">main</action>
4780 </actions>
4781 </button>
4782
4783 <template name="keyboardtemplate"/>
4784 </page>
4785
4786 <page name="decrypt_pattern">
4787 <template name="page"/>
4788
4789 <template name="statusbar"/>
4790
Aleksa Saraib25a1832015-12-31 17:36:00 +01004791 <action>
4792 <action function="set">tw_gui_pattern_grid_size=3</action>
4793 </action>
4794
z31s1g28f0a922015-11-07 18:50:22 +01004795 <text style="text_m">
4796 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004797 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004798 </text>
4799
4800 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004801 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004802 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004803 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004804 </text>
4805
Aleksa Saraib25a1832015-12-31 17:36:00 +01004806 <text style="text_m_fail">
4807 <condition var1="tw_password_fail" var2="1"/>
4808 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4809 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4810 </text>
4811
z31s1g28f0a922015-11-07 18:50:22 +01004812 <text style="text_m">
4813 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004814 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004815 </text>
4816
4817 <patternpassword>
4818 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004819 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4820 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4821 <data name="tw_crypto_password"/>
4822 <action function="page">trydecrypt</action>
4823 </patternpassword>
4824
4825 <fill color="#000000">
4826 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4827 </fill>
4828
4829 <button>
4830 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4831 <image resource="back"/>
4832 <condition var1="tw_busy" var2="0"/>
4833 <actions>
4834 <action function="set">tw_page_done=1</action>
4835 <action function="page">main</action>
4836 </actions>
4837 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004838
4839 <button>
4840 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4841 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4842 <image resource="grid_less"/>
4843 <action function="set">tw_gui_pattern_grid_size=3</action>
4844 </button>
4845
4846 <button>
4847 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4848 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4849 <image resource="grid_less"/>
4850 <action function="set">tw_gui_pattern_grid_size=3</action>
4851 </button>
4852
4853 <button>
4854 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4855 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4856 <image resource="grid_less"/>
4857 <action function="set">tw_gui_pattern_grid_size=4</action>
4858 </button>
4859
4860 <button>
4861 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4862 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4863 <image resource="grid_less"/>
4864 <action function="set">tw_gui_pattern_grid_size=5</action>
4865 </button>
4866
4867 <button>
4868 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
4869 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4870 <image resource="grid_more"/>
4871 <action function="set">tw_gui_pattern_grid_size=4</action>
4872 </button>
4873
4874 <button>
4875 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
4876 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4877 <image resource="grid_more"/>
4878 <action function="set">tw_gui_pattern_grid_size=5</action>
4879 </button>
4880
4881 <button>
4882 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
4883 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4884 <image resource="grid_more"/>
4885 <action function="set">tw_gui_pattern_grid_size=6</action>
4886 </button>
4887
4888 <button>
4889 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
4890 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4891 <image resource="grid_more"/>
4892 <action function="set">tw_gui_pattern_grid_size=6</action>
4893 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004894 </page>
4895
4896 <page name="trydecrypt">
4897 <template name="page"/>
4898
4899 <template name="statusbar"/>
4900
4901 <text style="text_m">
4902 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004903 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004904 </text>
4905
4906 <template name="console"/>
4907
4908 <template name="progress_bar"/>
4909
4910 <action>
4911 <action function="decrypt"/>
4912 </action>
4913
4914 <action>
4915 <conditions>
4916 <condition var1="tw_operation_state" var2="1"/>
4917 <condition var1="tw_operation_status" op="!=" var2="0"/>
4918 </conditions>
4919 <actions>
4920 <action function="set">tw_password_fail=1</action>
4921 <action function="page">decrypt</action>
4922 </actions>
4923 </action>
4924
4925 <action>
4926 <conditions>
4927 <condition var1="tw_operation_state" var2="1"/>
4928 <condition var1="tw_operation_status" op="=" var2="0"/>
4929 </conditions>
4930 <actions>
4931 <action function="set">tw_page_done=1</action>
4932 <action function="page">main</action>
4933 </actions>
4934 </action>
4935 </page>
4936
4937 <page name="terminalfolder">
4938 <template name="page"/>
4939
4940 <template name="statusbar"/>
4941
4942 <text style="text_m">
4943 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004944 <text>{@term_s_hdr=Terminal} &gt; {@term_sel_folder_hdr=Browse to Starting Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004945 </text>
4946
4947 <fileselector>
4948 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4949 <text>%tw_terminal_location%</text>
4950 <filter folders="1" files="0"/>
4951 <path name="tw_terminal_location" default="/"/>
4952 <data name="tw_terminal"/>
4953 <selection name="tw_terminal_selection"/>
4954 </fileselector>
4955
4956 <button>
4957 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4958 <highlight color="%highlight_color%"/>
4959 <image resource="q_btn_accept_transp"/>
4960 <action function="page">terminalcommand</action>
4961 </button>
4962
4963 <action>
4964 <touch key="home"/>
4965 <action function="page">main</action>
4966 </action>
4967
4968 <action>
4969 <touch key="back"/>
4970 <action function="page">advanced</action>
4971 </action>
4972 </page>
4973
4974 <page name="terminalcommand">
4975 <template name="page"/>
4976
4977 <template name="statusbar"/>
4978
4979 <text style="text_m">
4980 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004981 <text>{@term_s_hdr=Terminal} &gt; %tw_terminal_location%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004982 </text>
4983
4984 <template name="console_terminal"/>
4985
4986 <input>
4987 <placement x="%col1_x_left%" y="%row5a_y%" w="%input_line_console%" h="%input_height%"/>
4988 <text>%tw_terminal_command%</text>
4989 <data name="tw_terminal_command"/>
4990 <restrict minlen="1"/>
4991 <action function="terminalcommand">%tw_terminal_command%</action>
4992 </input>
4993
4994 <fill color="%accent_color%">
4995 <placement x="%col1_x_left%" y="row6a_input_y" w="%input_line_console%" h="input_line_width" placement="1"/>
4996 </fill>
4997
4998 <button>
4999 <condition var1="tw_terminal_state" var2="1"/>
5000 <highlight color="%highlight_color%"/>
5001 <placement x="%close_btn_x%" y="%row5_y%"/>
5002 <font resource="font_m" color="%text_button_color%"/>
5003 <image resource="close"/>
5004 <action function="killterminal"/>
5005 </button>
5006
5007 <template name="keyboardtemplate"/>
5008
5009 <action>
5010 <touch key="home"/>
5011 <action function="page">main</action>
5012 </action>
5013
5014 <action>
5015 <touch key="back"/>
5016 <action function="page">terminalfolder</action>
5017 </action>
5018 </page>
5019
5020 <page name="sideload">
5021 <template name="page"/>
5022
5023 <template name="statusbar"/>
5024
5025 <text style="text_m">
5026 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005027 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005028 </text>
5029
5030 <text style="text_m_accent">
5031 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005032 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005033 </text>
5034
5035 <checkbox>
5036 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005037 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005038 <data variable="tw_wipe_dalvik"/>
5039 </checkbox>
5040
5041 <checkbox>
5042 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005043 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005044 <data variable="tw_wipe_cache"/>
5045 </checkbox>
5046
5047 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005048 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005049 <action function="page">partsdcardaction</action>
5050 <actions>
5051 <action function="set">tw_back=install_type</action>
5052 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005053 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5054 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5055 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005056 <action function="set">tw_has_cancel=1</action>
5057 <action function="set">tw_show_reboot=1</action>
5058 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5059 <action function="page">action_page</action>
5060 </actions>
5061 </slider>
5062
5063 <action>
5064 <touch key="home"/>
5065 <action function="page">main</action>
5066 </action>
5067
5068 <action>
5069 <touch key="back"/>
5070 <action function="page">install_type</action>
5071 </action>
5072 </page>
5073
5074 <page name="fixperms">
5075 <template name="page"/>
5076
5077 <template name="statusbar"/>
5078
5079 <text style="text_m">
5080 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005081 <text>{@advanced_hdr=Advanced} &gt; {@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005082 </text>
5083
5084 <text style="text_m_accent">
5085 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005086 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005087 </text>
5088
5089 <checkbox>
5090 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005091 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005092 <data variable="tw_fixperms_restorecon"/>
5093 </checkbox>
5094
5095 <text style="text_m_fail">
5096 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005097 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005098 </text>
5099
5100 <text style="text_m_fail">
5101 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005102 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005103 </text>
5104
5105 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005106 <text>{@swipe_fix_perms= Fix Perms}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005107 <actions>
5108 <action function="set">tw_back=advanced</action>
5109 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005110 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
5111 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
5112 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005113 <action function="set">tw_show_reboot=1</action>
5114 <action function="page">action_page</action>
5115 </actions>
5116 </slider>
5117
5118 <action>
5119 <touch key="home"/>
5120 <action function="page">main</action>
5121 </action>
5122
5123 <action>
5124 <touch key="back"/>
5125 <action function="page">advanced</action>
5126 </action>
5127 </page>
5128
5129 <page name="installsu">
5130 <template name="page"/>
5131
5132 <template name="statusbar"/>
5133
5134 <text style="text_m">
5135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005136 <text>{@reboot_hdr=Reboot} &gt; {@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005137 </text>
5138
5139 <text style="text_m_accent">
5140 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005141 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005142 </text>
5143
5144 <text style="text_m">
5145 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005146 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005147 </text>
5148
5149 <text style="text_m">
5150 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005151 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005152 </text>
5153
5154 <button style="main_button_full_width">
5155 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005156 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005157 <action function="set">tw_page_done=1</action>
5158 </button>
5159
5160 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005161 <text>{@swipe_su_install= Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005162 <actions>
5163 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005164 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005165 <action function="set">tw_action_text2=</action>
5166 <action function="page">singleaction_page</action>
5167 </actions>
5168 </slider>
5169 </page>
5170
5171 <page name="slideout">
5172 <fill color="%background_color%">
5173 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5174 </fill>
5175
5176 <console>
5177 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5178 </console>
5179
5180 <fill color="%fileselector_linecolor%">
5181 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5182 </fill>
5183
5184 <fill color="%fileselector_linecolor%">
5185 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5186 </fill>
5187
5188 <button>
5189 <fill color="%transparent%"/>
5190 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5191 <action function="overlay"/>
5192 </button>
5193
5194 <action>
5195 <touch key="power+voldown"/>
5196 <action function="screenshot"/>
5197 </action>
5198 </page>
5199
5200 <page name="select_storage">
5201 <template name="page"/>
5202
5203 <template name="statusbar"/>
5204
5205 <text style="text_m">
5206 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5207 <text>%tw_storagetext%</text>
5208 </text>
5209
5210 <partitionlist style="partitionlist_headerless_rb">
5211 <data name="tw_storage_path"/>
5212 <listtype name="storage"/>
5213 </partitionlist>
5214
5215 <button>
5216 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5217 <highlight color="%highlight_color%"/>
5218 <image resource="q_btn_refresh"/>
5219 <actions>
5220 <action function="refreshsizes"/>
5221 <action function="page">select_storage</action>
5222 </actions>
5223 </button>
5224
5225 <button>
5226 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5227 <highlight color="%highlight_color%"/>
5228 <image resource="q_btn_accept"/>
5229 <actions>
5230 <action function="set">tw_clear_destination=%tw_back%</action>
5231 <action function="page">clear_vars</action>
5232 </actions>
5233 </button>
5234
5235 <action>
5236 <touch key="power+voldown"/>
5237 <action function="screenshot"/>
5238 </action>
5239 </page>
5240 </pages>
5241</recovery>