blob: 19cc6570f9bde44d40e9d5089b9bef5660e19c0c [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="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
112 <style name="fileselector">
113 <highlight color="%fileselector_highlight_color%"/>
114 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
115 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
116 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
117 <sort name="tw_gui_sort_order"/>
118 <icon folder="folder" file="file"/>
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="listbox">
124 <highlight color="%fileselector_highlight_color%"/>
125 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
126 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
127 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
128 <icon selected="radio_true" unselected="radio_false"/>
129 <background color="%background_color%"/>
130 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
131 </style>
132
133 <style name="scrolllist">
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
136 </style>
137
138 <style name="partitionlist">
139 <highlight color="%fileselector_highlight_color%"/>
140 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
141 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
142 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
143 <icon selected="checkbox_true" unselected="checkbox_false"/>
144 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
145 <background color="%background_color%"/>
146 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
147 </style>
148
149 <style name="partitionlist_storage">
150 <highlight color="%fileselector_highlight_color%"/>
151 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
152 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
153 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
154 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
155 <icon selected="radio_true" unselected="radio_false"/>
156 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
157 <background color="%background_color%"/>
158 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
159 </style>
160
161 <style name="slider">
162 <placement x="%col2_x_right%" y="%row17a_y%"/>
163 <font resource="font_m" color="%text_color%"/>
164 <resource base="slider" used="slider_used" touch="slider_touch"/>
165 </style>
166
167 <style name="slider_centered">
168 <placement x="%center_x%" y="%row17a_y%"/>
169 <font resource="font_m" color="%text_color%"/>
170 <resource base="slider" used="slider_used" touch="slider_touch"/>
171 </style>
172
173 <style name="slidervalue">
174 <resource handle="handle"/>
175 <font resource="font_m" color="%text_color%"/>
176 <colors line="%fileselector_linecolor%"/>
177 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
178 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100179
180 <style name="patternpassword">
181 <size name="tw_gui_pattern_grid_size" default="3"/>
182 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100183 </styles>
184
185 <pages>
186 <page name="main">
187 <action>
188 <actions>
189 <action function="set">tw_clear_destination=main2</action>
190 <action function="page">clear_vars</action>
191 </actions>
192 </action>
193 </page>
194
195 <page name="main2">
196 <template name="page"/>
197
198 <text style="text_l">
199 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500200 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100201 </text>
202
203 <text style="text_m">
204 <condition var1="tw_no_cpu_temp" var2="0"/>
205 <placement x="%col1_x_header%" y="%row4_header_y%"/>
206 <text>%tw_version%</text>
207 </text>
208
209 <button style="main_button">
210 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500211 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100212 <actions>
213 <action function="queueclear"/>
214 <action function="set">tw_selectimage=0</action>
215 <action function="page">install</action>
216 </actions>
217 </button>
218
219 <button style="main_button">
220 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500221 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100222 <action function="page">wipe</action>
223 </button>
224
225 <button style="main_button">
226 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">backup</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">restore</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%col1_x_left%" y="%row11_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="%center_x%" y="%row11_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="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">advanced</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">reboot</action>
259 </button>
260 </page>
261
262 <page name="install">
263 <template name="page"/>
264
265 <text style="text_l">
266 <condition var1="tw_selectimage" var2="0"/>
267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500268 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100269 </text>
270
271 <text style="text_l">
272 <condition var1="tw_selectimage" var2="1"/>
273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 </text>
276
277 <text style="text_m">
278 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500279 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100280 </text>
281
282 <template name="sort_options"/>
283
284 <fileselector>
285 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500286 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100287 <filter folders="1" files="0"/>
288 <path name="tw_zip_location" default="/sdcard"/>
289 <data name="select"/>
290 </fileselector>
291
292 <fileselector>
293 <condition var1="tw_selectimage" var2="0"/>
294 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
295 <text>%tw_zip_location%</text>
296 <filter extn=".zip" folders="0" files="1"/>
297 <path name="tw_zip_location" default="/sdcard"/>
298 <data name="tw_filename"/>
299 <selection name="tw_file"/>
300 </fileselector>
301
302 <fileselector>
303 <condition var1="tw_selectimage" var2="1"/>
304 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
305 <text>%tw_zip_location%</text>
306 <filter extn=".img" folders="0" files="1"/>
307 <path name="tw_zip_location" default="/sdcard"/>
308 <data name="tw_filename"/>
309 <selection name="tw_file"/>
310 </fileselector>
311
312 <button style="main_button_half_width_low">
313 <condition var1="tw_selectimage" var2="0"/>
314 <placement x="%col_button_right%" y="%row13a_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="set">tw_selectimage=1</action>
318 <action function="page">install</action>
319 </actions>
320 </button>
321
322 <button style="main_button_half_width_low">
323 <condition var1="tw_selectimage" var2="1"/>
324 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500325 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100326 <actions>
327 <action function="set">tw_selectimage=0</action>
328 <action function="page">install</action>
329 </actions>
330 </button>
331
332 <button style="main_button_half_width_low">
333 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500334 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100335 <actions>
336 <action function="set">tw_back=install</action>
337 <action function="overlay">select_storage</action>
338 </actions>
339 </button>
340
341 <action>
342 <conditions>
343 <condition var1="tw_selectimage" var2="0"/>
344 <condition var1="tw_filename" op="modified"/>
345 </conditions>
346 <actions>
347 <action function="queuezip"/>
348 <action function="page">flash_confirm</action>
349 </actions>
350 </action>
351
352 <action>
353 <conditions>
354 <condition var1="tw_selectimage" var2="1"/>
355 <condition var1="tw_filename" op="modified"/>
356 </conditions>
357 <action function="page">flashimage_confirm</action>
358 </action>
359
360 <action>
361 <touch key="back"/>
362 <action function="page">main</action>
363 </action>
364
365 <action>
366 <touch key="home"/>
367 <action function="page">main</action>
368 </action>
369 </page>
370
371 <page name="flash_confirm">
372 <template name="page"/>
373
374 <text style="text_l">
375 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500376 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100377 </text>
378
379 <text style="text_m">
380 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500381 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100382 </text>
383
384 <text style="text_m_accent">
385 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500386 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100387 </text>
388
389 <text style="text_m_accent">
390 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500391 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100392 </text>
393
394 <text style="text_m">
395 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500396 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100397 </text>
398
399 <text style="text_m_accent">
400 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500401 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100402 </text>
403
404 <text style="text_m">
405 <placement x="%col1_x_left%" y="%row9_y%"/>
406 <text>%tw_zip_location%</text>
407 </text>
408
409 <text style="text_m_accent">
410 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500411 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100412 </text>
413
414 <text style="text_m">
415 <placement x="%col1_x_left%" y="%row12_y%"/>
416 <text>%tw_file%</text>
417 </text>
418
419 <text style="text_m_accent">
420 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500421 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100422 </text>
423
424 <checkbox>
425 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500426 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100427 <data variable="tw_signed_zip_verify"/>
428 </checkbox>
429
430 <checkbox>
431 <condition var1="tw_has_injecttwrp" var2="1"/>
432 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500433 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100434 <data variable="tw_inject_after_zip"/>
435 </checkbox>
436
437 <button style="main_button_half_width">
438 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <action function="page">install</action>
441 </button>
442
443 <button style="main_button_half_width">
444 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500445 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100446 <actions>
447 <action function="queueclear"/>
448 <action function="page">install</action>
449 </actions>
450 </button>
451
452 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500453 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100454 <action function="flash">flash_zip</action>
455 </slider>
456
457 <action>
458 <touch key="back"/>
459 <actions>
460 <action function="cancelzip"/>
461 <action function="page">install</action>
462 </actions>
463 </action>
464
465 <action>
466 <touch key="home"/>
467 <action function="page">main</action>
468 </action>
469 </page>
470
471 <page name="flash_zip">
472 <template name="page"/>
473
474 <text style="text_l">
475 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 </text>
478
479 <text style="text_m">
480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
481 <text>%tw_file%</text>
482 </text>
483
484 <template name="console"/>
485
486 <template name="progress_bar"/>
487
488 <action>
489 <condition var1="tw_operation_state" var2="1"/>
490 <action function="page">flash_done</action>
491 </action>
492 </page>
493
494 <page name="flash_done">
495 <template name="page"/>
496
497 <text style="text_l">
498 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500499 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100500 </text>
501
502 <text style="text_m_fail">
503 <condition var1="tw_operation_status" op="!=" var2="0"/>
504 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500505 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100506 </text>
507
508 <text style="text_m">
509 <condition var1="tw_operation_status" var2="0"/>
510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <template name="console"/>
515
516 <button style="main_button_half_width">
517 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 <actions>
520 <action function="set">tw_back=flash_done</action>
521 <action function="set">tw_action=wipe</action>
522 <action function="set">tw_action_param=/cache</action>
523 <action function="set">tw_has_action2=1</action>
524 <action function="set">tw_action2=wipe</action>
525 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500526 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
527 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
528 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
529 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100530 <action function="page">confirm_action</action>
531 </actions>
532 </button>
533
534 <button style="main_button_half_width">
535 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500536 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100537 <actions>
538 <action function="set">tw_back=main2</action>
539 <action function="set">tw_action=reboot</action>
540 <action function="set">tw_action_param=system</action>
541 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500542 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
543 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100544 <action function="set">tw_text3=</action>
545 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100547 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
549 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100550 <action function="page">rebootcheck</action>
551 </actions>
552 </button>
553
554 <action>
555 <touch key="back"/>
556 <actions>
557 <action function="set">tw_clear_destination=install</action>
558 <action function="page">clear_vars</action>
559 </actions>
560 </action>
561
562 <action>
563 <touch key="home"/>
564 <actions>
565 <action function="set">tw_clear_destination=main2</action>
566 <action function="page">clear_vars</action>
567 </actions>
568 </action>
569 </page>
570
571 <page name="flashimage_confirm">
572 <template name="page"/>
573
574 <text style="text_l">
575 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500576 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100577 </text>
578
579 <text style="text_m">
580 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500581 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </text>
583
584 <text style="text_m_accent">
585 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500586 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100587 </text>
588
589 <text style="text_m">
590 <placement x="%col1_x_left%" y="%row9_y%"/>
591 <text>%tw_zip_location%</text>
592 </text>
593
594 <text style="text_m_accent">
595 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500596 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100597 </text>
598
599 <text style="text_m">
600 <placement x="%col1_x_left%" y="%row12_y%"/>
601 <text>%tw_file%</text>
602 </text>
603
604 <partitionlist>
605 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
606 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500607 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100608 <data name="tw_flash_partition"/>
609 <listtype name="flashimg"/>
610 </partitionlist>
611
612 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500613 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100614 <actions>
615 <action function="set">tw_back=flashimage_confirm</action>
616 <action function="set">tw_action=flashimage</action>
617 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500618 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100619 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <action function="page">action_page</action>
622 </actions>
623 <action function="flashimage"/>
624 </slider>
625
626 <action>
627 <touch key="back"/>
628 <actions>
629 <action function="set">tw_clear_destination=install</action>
630 <action function="page">clear_vars</action>
631 </actions>
632 </action>
633
634 <action>
635 <touch key="home"/>
636 <actions>
637 <action function="set">tw_clear_destination=main2</action>
638 <action function="page">clear_vars</action>
639 </actions>
640 </action>
641 </page>
642
643 <page name="clear_vars">
644 <action>
645 <action function="set">tw_operation_state=0</action>
646 <action function="set">tw_text1=</action>
647 <action function="set">tw_text2=</action>
648 <action function="set">tw_text3=</action>
649 <action function="set">tw_text4=</action>
650 <action function="set">tw_action_text1=</action>
651 <action function="set">tw_action_text2=</action>
652 <action function="set">tw_action_param=</action>
653 <action function="set">tw_has_action2=0</action>
654 <action function="set">tw_action2=</action>
655 <action function="set">tw_action2_param=</action>
656 <action function="set">tw_has_cancel=0</action>
657 <action function="set">tw_cancel_action=</action>
658 <action function="set">tw_cancel_param=</action>
659 <action function="set">tw_show_exclamation=0</action>
660 <action function="set">tw_show_reboot=0</action>
661 <action function="page">%tw_clear_destination%</action>
662 </action>
663 </page>
664
665 <page name="confirm_action">
666 <template name="page"/>
667
668 <text style="text_l">
669 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500670 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100671 </text>
672
673 <text style="text_m">
674 <placement x="%col1_x_header%" y="%row4_header_y%"/>
675 <text/>
676 </text>
677
678 <text style="text_m_accent">
679 <placement x="%center_x%" y="%row2_y%" placement="5"/>
680 <text>%tw_text1%</text>
681 </text>
682
683 <text style="text_m_accent">
684 <placement x="%center_x%" y="%row3_y%" placement="5"/>
685 <text>%tw_text2%</text>
686 </text>
687
688 <text style="text_m">
689 <placement x="%center_x%" y="%row4_y%" placement="5"/>
690 <text>%tw_text3%</text>
691 </text>
692
693 <text style="text_m">
694 <placement x="%center_x%" y="%row5_y%" placement="5"/>
695 <text>%tw_text4%</text>
696 </text>
697
698 <text style="text_m">
699 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 </text>
702
703 <slider style="slider_centered">
704 <text>%tw_slider_text%</text>
705 <action function="page">action_page</action>
706 </slider>
707
708 <action>
709 <touch key="back"/>
710 <actions>
711 <action function="set">tw_clear_destination=%tw_back%</action>
712 <action function="page">clear_vars</action>
713 </actions>
714 </action>
715
716 <action>
717 <touch key="home"/>
718 <action function="page">main</action>
719 </action>
720 </page>
721
722 <page name="action_page">
723 <template name="page"/>
724
725 <text style="text_l">
726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
727 <text>%tw_action_text1%</text>
728 </text>
729
730 <text style="text_m">
731 <placement x="%col1_x_header%" y="%row4_header_y%"/>
732 <text>%tw_action_text2%</text>
733 </text>
734
735 <template name="console"/>
736
737 <template name="progress_bar"/>
738
739 <button style="main_button_half_width">
740 <condition var1="tw_has_cancel" var2="1"/>
741 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
744 </button>
745
746 <action>
747 <condition var1="tw_operation_state" var2="1"/>
748 <actions>
749 <action function="page">action_complete</action>
750 </actions>
751 </action>
752
753 <action>
754 <condition var1="tw_has_action2" var2="0"/>
755 <actions>
756 <action function="%tw_action%">%tw_action_param%</action>
757 </actions>
758 </action>
759
760 <action>
761 <condition var1="tw_has_action2" var2="1"/>
762 <actions>
763 <action function="%tw_action%">%tw_action_param%</action>
764 <action function="%tw_action2%">%tw_action2_param%</action>
765 </actions>
766 </action>
767 </page>
768
769 <page name="singleaction_page">
770 <template name="page"/>
771
772 <text style="text_l">
773 <placement x="%col1_x_header%" y="%row3_header_y%"/>
774 <text>%tw_action_text1%</text>
775 </text>
776
777 <text style="text_m">
778 <placement x="%col1_x_header%" y="%row4_header_y%"/>
779 <text>%tw_action_text2%</text>
780 </text>
781
782 <template name="console"/>
783
784 <template name="progress_bar"/>
785
786 <action>
787 <condition var1="tw_operation_state" var2="1"/>
788 <actions>
789 <action function="set">tw_page_done=1</action>
790 </actions>
791 </action>
792
793 <action>
794 <condition var1="tw_has_action2" var2="0"/>
795 <actions>
796 <action function="%tw_action%">%tw_action_param%</action>
797 </actions>
798 </action>
799
800 <action>
801 <condition var1="tw_has_action2" var2="1"/>
802 <actions>
803 <action function="%tw_action%">%tw_action_param%</action>
804 <action function="%tw_action2%">%tw_action2_param%</action>
805 </actions>
806 </action>
807 </page>
808
809 <page name="action_complete">
810 <template name="page"/>
811
812 <text style="text_l">
813 <placement x="%col1_x_header%" y="%row3_header_y%"/>
814 <text>%tw_complete_text1%</text>
815 </text>
816
817 <text style="text_m_fail">
818 <condition var1="tw_operation_status" op="!=" var2="0"/>
819 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500820 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100821 </text>
822
823 <text style="text_m">
824 <condition var1="tw_operation_status" var2="0"/>
825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500826 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100827 </text>
828
829 <template name="console"/>
830
831 <button style="main_button_half_width">
832 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500833 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100834 <actions>
835 <action function="set">tw_clear_destination=%tw_back%</action>
836 <action function="page">clear_vars</action>
837 </actions>
838 </button>
839
840 <button style="main_button_half_width">
841 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500842 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100843 <actions>
844 <action function="set">tw_back=main2</action>
845 <action function="set">tw_action=reboot</action>
846 <action function="set">tw_action_param=system</action>
847 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
849 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100850 <action function="set">tw_text3=</action>
851 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500852 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100853 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500854 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
855 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100856 <action function="page">rebootcheck</action>
857 </actions>
858 </button>
859
860 <action>
861 <touch key="home"/>
862 <actions>
863 <action function="set">tw_clear_destination=main2</action>
864 <action function="page">clear_vars</action>
865 </actions>
866 </action>
867
868 <action>
869 <touch key="back"/>
870 <actions>
871 <action function="set">tw_clear_destination=%tw_back%</action>
872 <action function="page">clear_vars</action>
873 </actions>
874 </action>
875 </page>
876
877 <page name="filecheck">
878 <action>
879 <action function="fileexists">%tw_filecheck%</action>
880 </action>
881
882 <action>
883 <conditions>
884 <condition var1="tw_operation_state" var2="1"/>
885 <condition var1="tw_operation_status" var2="0"/>
886 </conditions>
887 <actions>
888 <action function="set">tw_fileexists=1</action>
889 <action function="page">%tw_existpage%</action>
890 </actions>
891 </action>
892
893 <action>
894 <conditions>
895 <condition var1="tw_operation_state" var2="1"/>
896 <condition var1="tw_operation_status" var2="1"/>
897 </conditions>
898 <actions>
899 <action function="set">tw_fileexists=0</action>
900 <action function="page">%tw_notexistpage%</action>
901 </actions>
902 </action>
903 </page>
904
905 <page name="rebootcheck">
906 <action>
907 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
908 <action function="reboot">%tw_action_param%</action>
909 </action>
910
911 <action>
912 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
913 <action function="page">confirm_action</action>
914 </action>
915 </page>
916
917 <page name="wipe">
918 <template name="page"/>
919
920 <text style="text_l">
921 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <text style="text_m">
926 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500927 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </text>
929
930 <text style="text_m_accent">
931 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500932 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100933 </text>
934
935 <text style="text_m_accent">
936 <condition var1="tw_has_data_media" var2="1"/>
937 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 </text>
940
941 <text style="text_m_accent">
942 <conditions>
943 <condition var1="tw_has_android_secure" var2="1"/>
944 <condition var1="fileexists" var2="/and-sec"/>
945 </conditions>
946 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500947 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100948 </text>
949
950 <text style="text_m_accent">
951 <condition var1="tw_has_sdext_partition" var2="1"/>
952 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100954 </text>
955
956 <text style="text_m">
957 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500958 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100959 </text>
960
961 <text style="text_m">
962 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100964 </text>
965
966 <text style="text_m">
967 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500968 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100969 </text>
970
971 <button style="main_button_half_width">
972 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <actions>
975 <action function="set">partitionlisterror=0</action>
976 <action function="page">advancedwipe</action>
977 </actions>
978 </button>
979
980 <button style="main_button_half_width">
981 <condition var1="tw_has_data_media" var2="1"/>
982 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500983 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100984 <action function="page">formatdata</action>
985 </button>
986
987 <button style="main_button_half_width">
988 <conditions>
989 <condition var1="tw_is_encrypted" var2="1"/>
990 <condition var1="tw_has_data_media" var2="0"/>
991 </conditions>
992 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500993 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100994 <actions>
995 <action function="set">tw_back=wipe</action>
996 <action function="set">tw_action=wipe</action>
997 <action function="set">tw_action_param=DATAMEDIA</action>
998 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001001 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1002 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1003 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001004 <action function="page">confirm_action</action>
1005 </actions>
1006 </button>
1007
1008 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001009 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001010 <actions>
1011 <action function="set">tw_back=wipe</action>
1012 <action function="set">tw_action=wipe</action>
1013 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1015 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <action function="page">action_page</action>
1017 </actions>
1018 </slider>
1019
1020 <action>
1021 <touch key="back"/>
1022 <action function="page">main</action>
1023 </action>
1024
1025 <action>
1026 <touch key="home"/>
1027 <action function="page">main</action>
1028 </action>
1029 </page>
1030
1031 <page name="advancedwipe">
1032 <template name="page"/>
1033
1034 <action>
1035 <action function="set">tw_wipe_list=</action>
1036 </action>
1037
1038 <text style="text_l">
1039 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 </text>
1042
1043 <text style="text_m">
1044 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001045 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001046 </text>
1047
1048 <partitionlist>
1049 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <data name="tw_wipe_list"/>
1052 <listtype name="wipe"/>
1053 </partitionlist>
1054
1055 <text style="text_m_fail">
1056 <condition var1="partitionlisterror" var2="1"/>
1057 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001058 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001059 </text>
1060
1061 <button style="main_button_m">
1062 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 <actions>
1065 <action function="checkpartitionlist"/>
1066 <action function="page">checkpartitionlist</action>
1067 </actions>
1068 </button>
1069
1070 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001071 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <actions>
1073 <action function="set">tw_back=advancedwipe</action>
1074 <action function="set">tw_action=wipe</action>
1075 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1077 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1078 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001079 <action function="page">action_page</action>
1080 </actions>
1081 </slider>
1082
1083 <action>
1084 <touch key="home"/>
1085 <action function="page">main</action>
1086 </action>
1087
1088 <action>
1089 <touch key="back"/>
1090 <action function="page">wipe</action>
1091 </action>
1092 </page>
1093
1094 <page name="formatdata">
1095 <template name="page"/>
1096
1097 <text style="text_l">
1098 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <text style="text_m">
1103 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 </text>
1106
1107 <text style="text_m_fail">
1108 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 </text>
1111
1112 <text style="text_m_fail">
1113 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001114 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001115 </text>
1116
1117 <text style="text_m">
1118 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 </text>
1121
1122 <text style="text_m">
1123 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 </text>
1126
1127 <input>
1128 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1129 <text>%tw_confirm_formatdata%</text>
1130 <data name="tw_confirm_formatdata"/>
1131 <restrict minlen="3" maxlen="3" allow="yes"/>
1132 <action function="page">formatdata_confirm</action>
1133 </input>
1134
1135 <fill color="%accent_color%">
1136 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1137 </fill>
1138
1139 <template name="keyboardtemplate"/>
1140
1141 <action>
1142 <touch key="home"/>
1143 <action function="page">main</action>
1144 </action>
1145
1146 <action>
1147 <touch key="back"/>
1148 <action function="page">wipe</action>
1149 </action>
1150 </page>
1151
1152 <page name="formatdata_confirm">
1153 <action>
1154 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1155 <actions>
1156 <action function="set">tw_back=formatdata</action>
1157 <action function="set">tw_action=wipe</action>
1158 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1160 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <action function="page">action_page</action>
1162 </actions>
1163 </action>
1164
1165 <action>
1166 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1167 <action function="page">formatdata</action>
1168 </action>
1169 </page>
1170
1171 <page name="checkpartitionlist">
1172 <action>
1173 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1174 <actions>
1175 <action function="set">partitionlisterror=0</action>
1176 <action function="getpartitiondetails"/>
1177 <action function="page">partitionoptions</action>
1178 </actions>
1179 </action>
1180
1181 <action>
1182 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1183 <actions>
1184 <action function="set">partitionlisterror=1</action>
1185 <action function="set">tw_wipe_list=</action>
1186 <action function="page">advancedwipe</action>
1187 </actions>
1188 </action>
1189 </page>
1190
1191 <page name="partitionoptions">
1192 <template name="page"/>
1193
1194 <text style="text_l">
1195 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <text style="text_m">
1200 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <text style="text_m_accent">
1205 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001206 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001207 </text>
1208
1209 <text style="text_m_accent">
1210 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001212 </text>
1213
1214 <text style="text_m">
1215 <condition var1="tw_partition_is_present" var2="1"/>
1216 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <text style="text_m">
1221 <condition var1="tw_partition_is_present" var2="0"/>
1222 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </text>
1225
1226 <text style="text_m">
1227 <condition var1="tw_partition_removable" var2="1"/>
1228 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 </text>
1231
1232 <text style="text_m">
1233 <condition var1="tw_partition_removable" var2="0"/>
1234 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m">
1239 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 </text>
1247
1248 <text style="text_m">
1249 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m">
1254 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 </text>
1257
1258 <button style="main_button_half_width">
1259 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1260 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <actions>
1263 <action function="set">tw_back=partitionoptions</action>
1264 <action function="set">tw_action=resize</action>
1265 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1266 <action function="set">tw_has_action2=1</action>
1267 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001269 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001270 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1271 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1272 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <action function="page">confirm_action</action>
1274 </actions>
1275 </button>
1276
1277 <button style="main_button_half_width">
1278 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1279 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <actions>
1282 <action function="set">tw_back=partitionoptions</action>
1283 <action function="set">tw_action=repair</action>
1284 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1285 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1289 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1290 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001291 <action function="page">confirm_action</action>
1292 </actions>
1293 </button>
1294
1295 <button style="main_button_half_width">
1296 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001297 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001298 <action function="page">selectfilesystem</action>
1299 </button>
1300
1301 <action>
1302 <touch key="home"/>
1303 <action function="page">main</action>
1304 </action>
1305
1306 <action>
1307 <touch key="back"/>
1308 <action function="page">advancedwipe</action>
1309 </action>
1310 </page>
1311
1312 <page name="refreshfilesystem">
1313 <action>
1314 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1315 <actions>
1316 <action function="set">partitionlisterror=0</action>
1317 <action function="getpartitiondetails"/>
1318 <action function="page">selectfilesystem</action>
1319 </actions>
1320 </action>
1321
1322 <action>
1323 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1324 <actions>
1325 <action function="set">partitionlisterror=1</action>
1326 <action function="set">tw_wipe_list=</action>
1327 <action function="page">advancedwipe</action>
1328 </actions>
1329 </action>
1330 </page>
1331
1332 <page name="selectfilesystem">
1333 <template name="page"/>
1334
1335 <text style="text_l">
1336 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 </text>
1339
1340 <text style="text_m">
1341 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001342 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001343 </text>
1344
1345 <text style="text_m_accent">
1346 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001348 </text>
1349
1350 <text style="text_m_accent">
1351 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m_fail">
1356 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m_fail">
1361 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <button style="main_button_half_width">
1366 <condition var1="tw_partition_ext" op="=" var2="1"/>
1367 <placement x="%col1_x_left%" y="%row11_y%"/>
1368 <text>EXT2</text>
1369 <actions>
1370 <action function="set">tw_back=refreshfilesystem</action>
1371 <action function="set">tw_action=changefilesystem</action>
1372 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1373 <action function="set">tw_action_new_file_system=ext2</action>
1374 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1376 <action function="set">tw_text2=EXT2</action>
1377 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1378 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1379 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001380 <action function="page">confirm_action</action>
1381 </actions>
1382 </button>
1383
1384 <button style="main_button_half_width">
1385 <condition var1="tw_partition_ext" op="=" var2="1"/>
1386 <placement x="%col2_x_left%" y="%row11_y%"/>
1387 <text>EXT3</text>
1388 <actions>
1389 <action function="set">tw_back=refreshfilesystem</action>
1390 <action function="set">tw_action=changefilesystem</action>
1391 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1392 <action function="set">tw_action_new_file_system=ext3</action>
1393 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1395 <action function="set">tw_text2=EXT3</action>
1396 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1397 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1398 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001399 <action function="page">confirm_action</action>
1400 </actions>
1401 </button>
1402
1403 <button style="main_button_half_width">
1404 <condition var1="tw_partition_ext" op="=" var2="1"/>
1405 <placement x="%center_x%" y="%row11_y%"/>
1406 <text>EXT4</text>
1407 <actions>
1408 <action function="set">tw_back=refreshfilesystem</action>
1409 <action function="set">tw_action=changefilesystem</action>
1410 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1411 <action function="set">tw_action_new_file_system=ext4</action>
1412 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1414 <action function="set">tw_text2=EXT4</action>
1415 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1416 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1417 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001418 <action function="page">confirm_action</action>
1419 </actions>
1420 </button>
1421
1422 <button style="main_button_half_width">
1423 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1424 <placement x="%col2_x_right%" y="%row11_y%"/>
1425 <text>FAT</text>
1426 <actions>
1427 <action function="set">tw_back=refreshfilesystem</action>
1428 <action function="set">tw_action=changefilesystem</action>
1429 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1430 <action function="set">tw_action_new_file_system=vfat</action>
1431 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1433 <action function="set">tw_text2=FAT</action>
1434 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1435 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1436 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001437 <action function="page">confirm_action</action>
1438 </actions>
1439 </button>
1440
1441 <button style="main_button_half_width">
1442 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1443 <placement x="%col2_x_left%" y="%row15a_y%"/>
1444 <text>exFAT</text>
1445 <actions>
1446 <action function="set">tw_back=refreshfilesystem</action>
1447 <action function="set">tw_action=changefilesystem</action>
1448 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1449 <action function="set">tw_action_new_file_system=exfat</action>
1450 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001451 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1452 <action function="set">tw_text2=exFAT</action>
1453 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1454 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1455 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001456 <action function="page">confirm_action</action>
1457 </actions>
1458 </button>
1459
1460 <button style="main_button_half_width">
1461 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1462 <placement x="%center_x%" y="%row15a_y%"/>
1463 <text>F2FS</text>
1464 <actions>
1465 <action function="set">tw_back=refreshfilesystem</action>
1466 <action function="set">tw_action=changefilesystem</action>
1467 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1468 <action function="set">tw_action_new_file_system=f2fs</action>
1469 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1471 <action function="set">tw_text2=F2FS</action>
1472 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1473 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1474 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">confirm_action</action>
1476 </actions>
1477 </button>
1478
1479 <action>
1480 <touch key="home"/>
1481 <action function="page">main</action>
1482 </action>
1483
1484 <action>
1485 <touch key="back"/>
1486 <action function="page">partitionoptions</action>
1487 </action>
1488 </page>
1489
1490 <page name="backup">
1491 <template name="page"/>
1492
1493 <text style="text_l">
1494 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <text style="text_m">
1499 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m_accent">
1504 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001506 </text>
1507
1508 <text style="text_m">
1509 <placement x="%col1_x_left%" y="%row3_y%"/>
1510 <text>%tw_backup_name%</text>
1511 </text>
1512
1513 <fill color="%fileselector_linecolor%">
1514 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1515 </fill>
1516
1517 <button>
1518 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1519 <fill color="%transparent%"/>
1520 <actions>
1521 <action function="set">tw_fileexists=0</action>
1522 <action function="page">backupname1</action>
1523 </actions>
1524 </button>
1525
1526 <partitionlist>
1527 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001529 <data name="tw_backup_list"/>
1530 <listtype name="backup"/>
1531 </partitionlist>
1532
1533 <text style="text_m_accent">
1534 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001535 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001536 </text>
1537
1538 <text style="text_m">
1539 <conditions>
1540 <condition var1="tw_include_encrypted_backup" var2="1"/>
1541 <condition var1="tw_encrypt_backup" var2="0"/>
1542 </conditions>
1543 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001544 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001545 </text>
1546
1547 <text style="text_m">
1548 <conditions>
1549 <condition var1="tw_include_encrypted_backup" var2="1"/>
1550 <condition var1="tw_encrypt_backup" var2="1"/>
1551 </conditions>
1552 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 </text>
1555
1556 <fill color="%fileselector_linecolor%">
1557 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1558 </fill>
1559
1560 <button>
1561 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1562 <fill color="%transparent%"/>
1563 <actions>
1564 <action function="set">tw_password_not_match=0</action>
1565 <action function="page">backupencryption</action>
1566 </actions>
1567 </button>
1568
1569 <text style="text_m_accent">
1570 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 </text>
1573
1574 <checkbox>
1575 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001576 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001577 <data variable="tw_use_compression"/>
1578 </checkbox>
1579
1580 <checkbox>
1581 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 <data variable="tw_skip_md5_generate"/>
1584 </checkbox>
1585
1586 <checkbox>
1587 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 <data variable="tw_disable_free_space"/>
1590 </checkbox>
1591
1592 <button style="main_button_half_width">
1593 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 <actions>
1596 <action function="set">tw_back=backup</action>
1597 <action function="overlay">select_storage</action>
1598 </actions>
1599 </button>
1600
1601 <button style="main_button_half_width">
1602 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <actions>
1605 <action function="refreshsizes"/>
1606 <action function="page">backup</action>
1607 </actions>
1608 </button>
1609
1610 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001611 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001612 <action function="page">backup_run</action>
1613 </slider>
1614
1615 <action>
1616 <touch key="home"/>
1617 <action function="page">main</action>
1618 </action>
1619
1620 <action>
1621 <touch key="back"/>
1622 <action function="page">main</action>
1623 </action>
1624 </page>
1625
1626 <page name="backupname1">
1627 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001629 <action function="generatebackupname"/>
1630 </action>
1631
1632 <action>
1633 <action function="page">backupname2</action>
1634 </action>
1635 </page>
1636
1637 <page name="backupname2">
1638 <template name="page"/>
1639
1640 <text style="text_l">
1641 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 </text>
1644
1645 <text style="text_m">
1646 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001647 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001648 </text>
1649
1650 <text style="text_m_accent">
1651 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001652 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001653 </text>
1654
1655 <input>
1656 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1657 <text>%tw_backup_name%</text>
1658 <data name="tw_backup_name"/>
1659 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1660 <actions>
1661 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1662 <action function="set">tw_existpage=backupname2</action>
1663 <action function="set">tw_notexistpage=backup</action>
1664 <action function="page">filecheck</action>
1665 </actions>
1666 </input>
1667
1668 <fill color="%accent_color%">
1669 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1670 </fill>
1671
1672 <fill color="%text_fail_color%">
1673 <condition var1="tw_fileexists" var2="1"/>
1674 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1675 </fill>
1676
1677 <text style="text_m_fail">
1678 <condition var1="tw_fileexists" var2="1"/>
1679 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </text>
1682
1683 <button style="main_button_half_width_low">
1684 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001685 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001686 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001688 <action function="page">backup</action>
1689 </actions>
1690 </button>
1691
1692 <button style="main_button_half_width_low">
1693 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001695 <action function="appenddatetobackupname"/>
1696 </button>
1697
1698 <template name="keyboardtemplate"/>
1699
1700 <action>
1701 <touch key="home"/>
1702 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001703 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001704 <action function="page">main</action>
1705 </actions>
1706 </action>
1707
1708 <action>
1709 <touch key="back"/>
1710 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001712 <action function="page">backup</action>
1713 </actions>
1714 </action>
1715 </page>
1716
1717 <page name="backupencryption">
1718 <template name="page"/>
1719
1720 <text style="text_l">
1721 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001723 </text>
1724
1725 <text style="text_m">
1726 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001727 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001728 </text>
1729
1730 <text style="text_m_accent">
1731 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001732 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001733 </text>
1734
1735 <input>
1736 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1737 <text>%tw_backup_encrypt_display%</text>
1738 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1739 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1740 <action function="page">backupencryption2</action>
1741 </input>
1742
1743 <fill color="%accent_color%">
1744 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1745 </fill>
1746
1747 <fill color="%text_fail_color%">
1748 <condition var1="tw_password_not_match" var2="1"/>
1749 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1750 </fill>
1751
1752 <text style="text_m_fail">
1753 <condition var1="tw_password_not_match" var2="1"/>
1754 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001755 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001756 </text>
1757
1758 <button style="main_button_half_width_low">
1759 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001760 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001761 <actions>
1762 <action function="set">tw_encrypt_backup=0</action>
1763 <action function="set">tw_backup_password=</action>
1764 <action function="set">tw_backup_password2=</action>
1765 <action function="set">tw_backup_encrypt_display=</action>
1766 <action function="set">tw_backup_encrypt_display2=</action>
1767 <action function="page">backup</action>
1768 </actions>
1769 </button>
1770
1771 <template name="keyboardtemplate"/>
1772
1773 <action>
1774 <touch key="home"/>
1775 <action function="page">main</action>
1776 </action>
1777
1778 <action>
1779 <touch key="back"/>
1780 <action function="page">backup</action>
1781 </action>
1782 </page>
1783
1784 <page name="backupencryption2">
1785 <template name="page"/>
1786
1787 <text style="text_l">
1788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001789 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001790 </text>
1791
1792 <text style="text_m">
1793 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001794 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001795 </text>
1796
1797 <text style="text_m_accent">
1798 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001799 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001800 </text>
1801
1802 <input>
1803 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1804 <text>%tw_backup_encrypt_display2%</text>
1805 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1806 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1807 <action function="page">checkbackuppassword</action>
1808 </input>
1809
1810 <fill color="%accent_color%">
1811 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1812 </fill>
1813
1814 <text style="text_m">
1815 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001816 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001817 </text>
1818
1819 <button style="main_button_half_width_low">
1820 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001822 <actions>
1823 <action function="set">tw_encrypt_backup=0</action>
1824 <action function="set">tw_backup_password=</action>
1825 <action function="set">tw_backup_password2=</action>
1826 <action function="set">tw_backup_encrypt_display=</action>
1827 <action function="set">tw_backup_encrypt_display2=</action>
1828 <action function="page">backup</action>
1829 </actions>
1830 </button>
1831
1832 <template name="keyboardtemplate"/>
1833
1834 <action>
1835 <touch key="home"/>
1836 <action function="page">main</action>
1837 </action>
1838
1839 <action>
1840 <touch key="back"/>
1841 <action function="page">backup</action>
1842 </action>
1843 </page>
1844
1845 <page name="checkbackuppassword">
1846 <action>
1847 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1848 <actions>
1849 <action function="set">tw_encrypt_backup=1</action>
1850 <action function="page">backup</action>
1851 </actions>
1852 </action>
1853
1854 <action>
1855 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1856 <actions>
1857 <action function="set">tw_encrypt_backup=0</action>
1858 <action function="set">tw_password_not_match=1</action>
1859 <action function="set">tw_backup_password=</action>
1860 <action function="set">tw_backup_password2=</action>
1861 <action function="set">tw_backup_encrypt_display=</action>
1862 <action function="set">tw_backup_encrypt_display2=</action>
1863 <action function="page">backupencryption</action>
1864 </actions>
1865 </action>
1866 </page>
1867
1868 <page name="backup_run">
1869 <template name="page"/>
1870
1871 <text style="text_l">
1872 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1873 <text>%tw_operation%</text>
1874 </text>
1875
1876 <text style="text_m">
1877 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1878 <text>%tw_partition% Partition</text>
1879 </text>
1880
1881 <template name="console"/>
1882
1883 <template name="progress_bar"/>
1884
1885 <text style="text_m_accent">
1886 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <text style="text_m">
1891 <placement x="%progress_text_x%" y="%row17_y%"/>
1892 <text>%tw_file_progress%</text>
1893 </text>
1894
1895 <text style="text_m">
1896 <placement x="%progress_text_x%" y="%row18_y%"/>
1897 <text>%tw_size_progress%</text>
1898 </text>
1899
1900 <button style="main_button_half_width">
1901 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 <action function="cancelbackup"/>
1904 </button>
1905
1906 <action>
1907 <action function="nandroid">backup</action>
1908 </action>
1909
1910 <action>
1911 <condition var1="tw_operation_state" var2="1"/>
1912 <condition var1="tw_cancel_backup" var2="0"/>
1913 <actions>
1914 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001916 <action function="set">tw_show_reboot=1</action>
1917 <action function="page">action_complete</action>
1918 </actions>
1919 </action>
1920
1921 <action>
1922 <condition var1="tw_operation_state" var2="1"/>
1923 <condition var1="tw_cancel_backup" var2="1"/>
1924 <actions>
1925 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 <action function="set">tw_show_reboot=1</action>
1928 <action function="page">action_complete</action>
1929 </actions>
1930 </action>
1931 </page>
1932
1933 <page name="restore">
1934 <template name="page"/>
1935
1936 <text style="text_l">
1937 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001938 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001939 </text>
1940
1941 <text style="text_m">
1942 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001943 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001944 </text>
1945
1946 <template name="sort_options"/>
1947
1948 <fileselector>
1949 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001950 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001951 <filter folders="1" files="0" nav="0"/>
1952 <path name="tw_backups_folder"/>
1953 <data name="tw_restore" default=""/>
1954 <selection name="tw_restore_name"/>
1955 </fileselector>
1956
1957 <button style="main_button_half_width_low">
1958 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001959 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001960 <actions>
1961 <action function="set">tw_back=restore</action>
1962 <action function="overlay">select_storage</action>
1963 </actions>
1964 </button>
1965
1966 <action>
1967 <condition var1="tw_restore" op="modified"/>
1968 <actions>
1969 <action function="readBackup"/>
1970 <action function="page">restore_read</action>
1971 </actions>
1972 </action>
1973
1974 <action>
1975 <touch key="home"/>
1976 <action function="page">main</action>
1977 </action>
1978
1979 <action>
1980 <touch key="back"/>
1981 <action function="page">main</action>
1982 </action>
1983 </page>
1984
1985 <page name="restore_read">
1986 <action>
1987 <condition var1="tw_restore_encrypted" var2="1"/>
1988 <actions>
1989 <action function="set">tw_password_fail=0</action>
1990 <action function="page">restore_decrypt</action>
1991 </actions>
1992 </action>
1993
1994 <action>
1995 <condition var1="tw_restore_encrypted" var2="0"/>
1996 <actions>
1997 <action function="page">restore_select</action>
1998 </actions>
1999 </action>
2000 </page>
2001
2002 <page name="restore_decrypt">
2003 <template name="page"/>
2004
2005 <text style="text_l">
2006 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </text>
2009
2010 <text style="text_m">
2011 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002012 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002013 </text>
2014
2015 <text style="text_m_accent">
2016 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 </text>
2019
2020 <input>
2021 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2022 <text>%tw_restore_display%</text>
2023 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2024 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2025 <action function="page">try_restore_decrypt</action>
2026 </input>
2027
2028 <fill color="%accent_color%">
2029 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2030 </fill>
2031
2032 <fill color="%text_fail_color%">
2033 <condition var1="tw_password_fail" var2="1"/>
2034 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2035 </fill>
2036
2037 <text style="text_m_fail">
2038 <condition var1="tw_password_fail" var2="1"/>
2039 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002040 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002041 </text>
2042
2043 <button style="main_button_half_width_low">
2044 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002045 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002046 <actions>
2047 <action function="set">tw_page_done=1</action>
2048 <action function="page">restore</action>
2049 </actions>
2050 </button>
2051
2052 <button style="main_button_half_width_low">
2053 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002054 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002055 <actions>
2056 <action function="set">tw_back=restore</action>
2057 <action function="set">tw_action=cmd</action>
2058 <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 -05002059 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2060 <action function="set">tw_text2=%tw_restore_name%</action>
2061 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2062 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2063 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2064 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002065 <action function="page">confirm_action</action>
2066 </actions>
2067 </button>
2068
2069 <template name="keyboardtemplate"/>
2070
2071 <action>
2072 <touch key="home"/>
2073 <action function="page">main</action>
2074 </action>
2075
2076 <action>
2077 <touch key="back"/>
2078 <action function="page">restore</action>
2079 </action>
2080 </page>
2081
2082 <page name="try_restore_decrypt">
2083 <template name="page"/>
2084
2085 <text style="text_l">
2086 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002087 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002088 </text>
2089
2090 <text style="text_m">
2091 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <template name="console"/>
2096
2097 <template name="progress_bar"/>
2098
2099 <action>
2100 <action function="decrypt_backup"/>
2101 </action>
2102
2103 <action>
2104 <conditions>
2105 <condition var1="tw_operation_state" var2="1"/>
2106 <condition var1="tw_operation_status" op="!=" var2="0"/>
2107 </conditions>
2108 <actions>
2109 <action function="set">tw_password_fail=1</action>
2110 <action function="page">restore_decrypt</action>
2111 </actions>
2112 </action>
2113
2114 <action>
2115 <conditions>
2116 <condition var1="tw_operation_state" var2="1"/>
2117 <condition var1="tw_operation_status" op="=" var2="0"/>
2118 </conditions>
2119 <actions>
2120 <action function="set">tw_page_done=1</action>
2121 <action function="page">restore_select</action>
2122 </actions>
2123 </action>
2124 </page>
2125
2126 <page name="restore_select">
2127 <template name="page"/>
2128
2129 <text style="text_l">
2130 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002131 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002132 </text>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002136 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002137 </text>
2138
2139 <text style="text_m_accent">
2140 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002142 </text>
2143
2144 <text style="text_m">
2145 <placement x="%col1_x_left%" y="%row3_y%"/>
2146 <text>%tw_restore_name%</text>
2147 </text>
2148
2149 <fill color="%fileselector_linecolor%">
2150 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2151 </fill>
2152
2153 <button>
2154 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2155 <fill color="%transparent%"/>
2156 <actions>
2157 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2158 <action function="set">tw_fileexists=0</action>
2159 <action function="page">renamebackup</action>
2160 </actions>
2161 </button>
2162
2163 <partitionlist>
2164 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2167 <listtype name="restore"/>
2168 </partitionlist>
2169
2170 <text style="text_m_accent">
2171 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002173 </text>
2174
2175 <checkbox>
2176 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002177 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002178 <data variable="tw_skip_md5_check"/>
2179 </checkbox>
2180
2181 <button style="main_button_half_width">
2182 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002183 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <actions>
2185 <action function="set">tw_back=restore</action>
2186 <action function="set">tw_action=cmd</action>
2187 <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 -05002188 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002189 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2191 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2192 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2193 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002194 <action function="page">confirm_action</action>
2195 </actions>
2196 </button>
2197
2198 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <action function="page">restore_run</action>
2201 </slider>
2202
2203 <action>
2204 <touch key="home"/>
2205 <action function="page">main</action>
2206 </action>
2207
2208 <action>
2209 <touch key="back"/>
2210 <action function="page">restore</action>
2211 </action>
2212 </page>
2213
2214 <page name="renamebackup">
2215 <template name="page"/>
2216
2217 <text style="text_l">
2218 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 </text>
2221
2222 <text style="text_m">
2223 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002224 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002225 </text>
2226
2227 <text style="text_m_accent">
2228 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <input>
2233 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2234 <text>%tw_backup_rename%</text>
2235 <data name="tw_backup_rename"/>
2236 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2237 <actions>
2238 <action function="set">tw_back=restore</action>
2239 <action function="set">tw_action=cmd</action>
2240 <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 -05002241 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2242 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2243 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2244 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2245 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002246 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2247 <action function="set">tw_existpage=renamebackup</action>
2248 <action function="set">tw_notexistpage=confirm_action</action>
2249 <action function="page">filecheck</action>
2250 </actions>
2251 </input>
2252
2253 <fill color="%accent_color%">
2254 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2255 </fill>
2256
2257 <fill color="%text_fail_color%">
2258 <condition var1="tw_fileexists" var2="1"/>
2259 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2260 </fill>
2261
2262 <text style="text_m_fail">
2263 <condition var1="tw_fileexists" var2="1"/>
2264 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002265 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002266 </text>
2267
2268 <button style="main_button_half_width_low">
2269 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 <action function="page">restore_select</action>
2272 </button>
2273
2274 <template name="keyboardtemplate"/>
2275
2276 <action>
2277 <touch key="home"/>
2278 <action function="page">main</action>
2279 </action>
2280
2281 <action>
2282 <touch key="back"/>
2283 <action function="page">restore_select</action>
2284 </action>
2285 </page>
2286
2287 <page name="restore_run">
2288 <template name="page"/>
2289
2290 <text style="text_l">
2291 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <text style="text_m">
2296 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2297 <text>%tw_operation% %tw_partition%</text>
2298 </text>
2299
2300 <template name="console"/>
2301
2302 <template name="progress_bar"/>
2303
2304 <text style="text_m_accent">
2305 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m">
2310 <placement x="%progress_text_x%" y="%row18_y%"/>
2311 <text>%tw_size_progress%</text>
2312 </text>
2313
2314 <action>
2315 <condition var1="tw_operation_state" var2="1"/>
2316 <actions>
2317 <action function="set">tw_back=restore_select</action>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002318 <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002319 <action function="set">tw_show_reboot=1</action>
2320 <action function="page">action_complete</action>
2321 </actions>
2322 </action>
2323
2324 <action>
2325 <action function="nandroid">restore</action>
2326 </action>
2327 </page>
2328
2329 <page name="mount">
2330 <template name="page"/>
2331
2332 <text style="text_l">
2333 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002334 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </text>
2336
2337 <text style="text_m">
2338 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002340 </text>
2341
2342 <partitionlist>
2343 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002344 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002345 <listtype name="mount"/>
2346 </partitionlist>
2347
2348 <button style="checkbox">
2349 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2350 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 <image resource="checkbox_false"/>
2353 <action function="mountsystemtoggle">1</action>
2354 </button>
2355
2356 <button style="checkbox">
2357 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2358 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 <image resource="checkbox_true"/>
2361 <actions>
2362 <action function="set">tw_lifetime_writes=2</action>
2363 <action function="page">system_readonly_check</action>
2364 </actions>
2365 </button>
2366
2367 <button style="main_button_half_width">
2368 <condition var1="tw_has_usb_storage" var2="1"/>
2369 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 <action function="page">usb_mount</action>
2372 </button>
2373
2374 <button style="main_button_half_width">
2375 <conditions>
2376 <condition var1="tw_is_encrypted" var2="1"/>
2377 <condition var1="tw_is_decrypted" var2="0"/>
2378 </conditions>
2379 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002380 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002381 <action function="page">decrypt</action>
2382 </button>
2383
2384 <button style="main_button_half_width">
2385 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <actions>
2388 <action function="set">tw_back=mount</action>
2389 <action function="overlay">select_storage</action>
2390 </actions>
2391 </button>
2392
2393 <button style="main_button_half_width">
2394 <conditions>
2395 <condition var1="tw_has_mtp" var2="1"/>
2396 <condition var1="tw_mtp_enabled" var2="0"/>
2397 </conditions>
2398 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002399 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002400 <action function="startmtp"/>
2401 </button>
2402
2403 <button style="main_button_half_width">
2404 <conditions>
2405 <condition var1="tw_has_mtp" var2="1"/>
2406 <condition var1="tw_mtp_enabled" var2="1"/>
2407 </conditions>
2408 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002410 <action function="stopmtp"/>
2411 </button>
2412
2413 <action>
2414 <touch key="home"/>
2415 <action function="page">main</action>
2416 </action>
2417
2418 <action>
2419 <touch key="back"/>
2420 <action function="page">main</action>
2421 </action>
2422 </page>
2423
2424 <page name="usb_mount">
2425 <template name="page"/>
2426
2427 <text style="text_l">
2428 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002429 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002430 </text>
2431
2432 <text style="text_m">
2433 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002434 <text>{usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002435 </text>
2436
2437 <text style="text_m_accent">
2438 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <text style="text_m">
2443 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 </text>
2446
2447 <text style="text_m">
2448 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 </text>
2451
2452 <button style="main_button_half_width">
2453 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 <action function="page">usb_umount</action>
2456 </button>
2457
2458 <action>
2459 <action function="mount">usb</action>
2460 <action function="set">tw_busy=1</action>
2461 </action>
2462 </page>
2463
2464 <page name="usb_umount">
2465 <action>
2466 <action function="unmount">usb</action>
2467 </action>
2468
2469 <action>
2470 <action function="page">mount</action>
2471 <action function="set">tw_busy=0</action>
2472 </action>
2473 </page>
2474
2475 <page name="system_readonly_check">
2476 <action>
2477 <action function="checkpartitionlifetimewrites">/system</action>
2478 </action>
2479
2480 <action>
2481 <condition var1="tw_lifetime_writes" var2="1"/>
2482 <actions>
2483 <action function="mountsystemtoggle">0</action>
2484 <action function="page">mount</action>
2485 </actions>
2486 </action>
2487
2488 <action>
2489 <condition var1="tw_lifetime_writes" var2="0"/>
2490 <actions>
2491 <action function="set">tw_back=mount</action>
2492 <action function="page">system_readonly</action>
2493 </actions>
2494 </action>
2495 </page>
2496
2497 <page name="reboot">
2498 <template name="page"/>
2499
2500 <text style="text_l">
2501 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 </text>
2504
2505 <button style="main_button">
2506 <condition var1="tw_reboot_system" var2="1"/>
2507 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 <actions>
2510 <action function="set">tw_back=reboot</action>
2511 <action function="set">tw_action=reboot</action>
2512 <action function="set">tw_action_param=system</action>
2513 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002514 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2515 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2516 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2517 <action function="set">tw_action_text2=</action>
2518 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2519 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002520 <action function="page">rebootcheck</action>
2521 </actions>
2522 </button>
2523
2524 <button style="main_button">
2525 <condition var1="tw_reboot_poweroff" var2="1"/>
2526 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 <actions>
2529 <action function="set">tw_back=reboot</action>
2530 <action function="set">tw_action=reboot</action>
2531 <action function="set">tw_action_param=poweroff</action>
2532 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002533 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2534 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2535 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2536 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2537 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="page">rebootcheck</action>
2539 </actions>
2540 </button>
2541
2542 <button style="main_button">
2543 <condition var1="tw_reboot_recovery" var2="1"/>
2544 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 <actions>
2547 <action function="set">tw_back=reboot</action>
2548 <action function="set">tw_action=reboot</action>
2549 <action function="set">tw_action_param=recovery</action>
2550 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2552 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2553 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2554 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2555 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002556 <action function="page">rebootcheck</action>
2557 </actions>
2558 </button>
2559
2560 <button style="main_button">
2561 <condition var1="tw_reboot_bootloader" var2="1"/>
2562 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002563 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002564 <actions>
2565 <action function="set">tw_back=reboot</action>
2566 <action function="set">tw_action=reboot</action>
2567 <action function="set">tw_action_param=bootloader</action>
2568 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2570 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2571 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2572 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2573 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002574 <action function="page">rebootcheck</action>
2575 </actions>
2576 </button>
2577
2578 <button style="main_button">
2579 <condition var1="tw_download_mode" var2="1"/>
2580 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <actions>
2583 <action function="set">tw_back=reboot</action>
2584 <action function="set">tw_action=reboot</action>
2585 <action function="set">tw_action_param=download</action>
2586 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002587 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2588 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2589 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2590 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2591 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002592 <action function="page">rebootcheck</action>
2593 </actions>
2594 </button>
2595
2596 <action>
2597 <touch key="home"/>
2598 <action function="page">main</action>
2599 </action>
2600
2601 <action>
2602 <touch key="back"/>
2603 <action function="page">main</action>
2604 </action>
2605 </page>
2606
2607 <page name="system_readonly">
2608 <template name="page"/>
2609
2610 <text style="text_l">
2611 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002612 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002613 </text>
2614
2615 <text style="text_m_accent">
2616 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002617 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002618 </text>
2619
2620 <text style="text_m">
2621 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002622 <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002623 </text>
2624
2625 <text style="text_m">
2626 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002627 <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002628 </text>
2629
2630 <text style="text_m_fail">
2631 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002633 </text>
2634
2635 <checkbox>
2636 <condition var1="tw_is_encrypted" var2="0"/>
2637 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <data variable="tw_never_show_system_ro_page"/>
2640 </checkbox>
2641
2642 <button style="main_button_half_width">
2643 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <actions>
2646 <action function="mountsystemtoggle">1</action>
2647 <action function="set">tw_page_done=1</action>
2648 <action function="page">%tw_back%</action>
2649 </actions>
2650 </button>
2651
2652 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 <actions>
2655 <action function="mountsystemtoggle">0</action>
2656 <action function="set">tw_page_done=1</action>
2657 <action function="page">%tw_back%</action>
2658 </actions>
2659 </slider>
2660 </page>
2661
2662 <page name="settings">
2663 <template name="page"/>
2664
2665 <text style="text_l">
2666 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002667 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <text style="text_m">
2671 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 </text>
2674
2675 <template name="tabs_settings"/>
2676
2677 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002679 </fill>
2680
2681 <listbox style="scrolllist">
2682 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2683 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002685 <data variable="tw_signed_zip_verify"/>
2686 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002688 <data variable="tw_rm_rf"/>
2689 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002691 <data variable="tw_skip_md5_generate"/>
2692 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002693 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002694 <data variable="tw_skip_md5_check"/>
2695 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002697 <data variable="tw_military_time"/>
2698 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002700 <data variable="tw_simulate_actions"/>
2701 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <condition var1="tw_simulate_actions" var2="1"/>
2704 <data variable="tw_simulate_fail"/>
2705 </listitem>
2706 </listbox>
2707
2708 <checkbox>
2709 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002710 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002711 <data variable="tw_samsung_navbar"/>
2712 </checkbox>
2713
2714 <button style="radiobutton">
2715 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2716 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002717 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002718 <image resource="radio_false"/>
2719 <action function="set">tw_navbar_button_position=0</action>
2720 </button>
2721
2722 <button style="radiobutton">
2723 <condition var1="tw_navbar_button_position" var2="0"/>
2724 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002725 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002726 <image resource="radio_true"/>
2727 <action function="set">tw_navbar_button_position=0</action>
2728 </button>
2729
2730 <button style="radiobutton">
2731 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2732 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 <image resource="radio_false"/>
2735 <action function="set">tw_navbar_button_position=1</action>
2736 </button>
2737
2738 <button style="radiobutton">
2739 <condition var1="tw_navbar_button_position" var2="1"/>
2740 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002741 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <image resource="radio_true"/>
2743 <action function="set">tw_navbar_button_position=1</action>
2744 </button>
2745
2746 <button style="radiobutton">
2747 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2748 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 <image resource="radio_false"/>
2751 <action function="set">tw_navbar_button_position=2</action>
2752 </button>
2753
2754 <button style="radiobutton">
2755 <condition var1="tw_navbar_button_position" var2="2"/>
2756 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 <image resource="radio_true"/>
2759 <action function="set">tw_navbar_button_position=2</action>
2760 </button>
2761
2762 <button style="main_button_half_width">
2763 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002764 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002765 <action function="restoredefaultsettings"/>
2766 </button>
2767
2768 <action>
2769 <touch key="home"/>
2770 <action function="page">main</action>
2771 </action>
2772
2773 <action>
2774 <touch key="back"/>
2775 <action function="page">main</action>
2776 </action>
2777 </page>
2778
2779 <page name="settings_timezone">
2780 <template name="page"/>
2781
2782 <text style="text_l">
2783 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 </text>
2786
2787 <text style="text_m">
2788 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002790 </text>
2791
2792 <template name="tabs_settings"/>
2793
2794 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002796 </fill>
2797
2798 <listbox>
2799 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002800 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002801 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2803 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2804 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2805 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2806 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2807 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2808 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2809 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2810 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2811 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2812 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2813 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2814 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2815 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2816 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2817 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2818 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2819 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2820 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2821 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2822 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2823 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2824 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2825 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002826 </listbox>
2827
2828 <text style="text_m_accent">
2829 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 </text>
2832
2833 <button style="button_quarter_width">
2834 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002835 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002836 <action function="set">tw_time_zone_guioffset=0</action>
2837 </button>
2838
2839 <button style="button_quarter_width">
2840 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="set">tw_time_zone_guioffset=15</action>
2843 </button>
2844
2845 <button style="button_quarter_width">
2846 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 <action function="set">tw_time_zone_guioffset=30</action>
2849 </button>
2850
2851 <button style="button_quarter_width">
2852 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_time_zone_guioffset=45</action>
2855 </button>
2856
2857 <checkbox>
2858 <placement x="%col1_x_right%" y="%row7_y%"/>
2859 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 <data variable="tw_time_zone_guidst"/>
2862 <image checked="checkbox_true" unchecked="checkbox_false"/>
2863 </checkbox>
2864
2865 <text color="%text_color%">
2866 <font resource="font_m"/>
2867 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <button>
2872 <highlight color="%highlight_color%"/>
2873 <placement x="%col2_x_right%" y="%row15a_y%"/>
2874 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002875 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002876 <image resource="main_button_half_width"/>
2877 <action function="setguitimezone"/>
2878 </button>
2879
2880 <action>
2881 <touch key="home"/>
2882 <action function="page">main</action>
2883 </action>
2884
2885 <action>
2886 <touch key="back"/>
2887 <action function="page">main</action>
2888 </action>
2889 </page>
2890
2891 <page name="settings_screen">
2892 <template name="page"/>
2893
2894 <text style="text_l">
2895 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002896 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002897 </text>
2898
2899 <text style="text_m">
2900 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002901 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002902 </text>
2903
2904 <template name="tabs_settings"/>
2905
2906 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002907 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002908 </fill>
2909
2910 <button>
2911 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2912 <font resource="font_m" color="%text_color%"/>
2913 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2914 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002916 <image resource="checkbox_false"/>
2917 <action function="set">tw_screen_timeout_secs=60</action>
2918 </button>
2919
2920 <button>
2921 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2922 <font resource="font_m" color="%text_color%"/>
2923 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2924 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 <image resource="checkbox_true"/>
2927 <action function="set">tw_screen_timeout_secs=0</action>
2928 </button>
2929
2930 <slidervalue>
2931 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2932 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2933 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002934 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002935 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2936 </slidervalue>
2937
2938 <slidervalue>
2939 <condition var1="tw_has_brightnesss_file" var2="1"/>
2940 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 <data variable="tw_brightness_pct" min="10" max="100"/>
2943 <actions>
2944 <action function="set">tw_brightness=%tw_brightness_max%</action>
2945 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2946 <action function="compute">tw_brightness/100</action>
2947 <action function="setbrightness">%tw_brightness%</action>
2948 </actions>
2949 </slidervalue>
2950
2951 <action>
2952 <touch key="home"/>
2953 <action function="page">main</action>
2954 </action>
2955
2956 <action>
2957 <touch key="back"/>
2958 <action function="page">main</action>
2959 </action>
2960 </page>
2961
2962 <page name="settings_vibration">
2963 <template name="page"/>
2964
2965 <text style="text_l">
2966 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 </text>
2969
2970 <text style="text_m">
2971 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002972 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002973 </text>
2974
2975 <template name="tabs_settings"/>
2976
2977 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002979 </fill>
2980
2981 <slidervalue>
2982 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002984 <data variable="tw_button_vibrate" min="0" max="300"/>
2985 </slidervalue>
2986
2987 <slidervalue>
2988 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
2991 </slidervalue>
2992
2993 <slidervalue>
2994 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <data variable="tw_action_vibrate" min="0" max="500"/>
2997 </slidervalue>
2998
2999 <action>
3000 <touch key="home"/>
3001 <action function="page">main</action>
3002 </action>
3003
3004 <action>
3005 <touch key="back"/>
3006 <action function="page">main</action>
3007 </action>
3008 </page>
3009
Ethan Yonker74db1572015-10-28 12:44:49 -05003010 <page name="settings_language">
3011 <template name="page"/>
3012
3013 <text style="text_l">
3014 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3015 <text>{@settings_hdr=Settings}</text>
3016 </text>
3017
3018 <text style="text_m">
3019 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3020 <text>{@language_hdr=Language - %tw_language_display%}</text>
3021 </text>
3022
3023 <template name="tabs_settings"/>
3024
3025 <fill color="%text_color%">
3026 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3027 </fill>
3028
3029 <listbox>
3030 <placement x="%indent%" y="%row3_y%" w="%fileselector_filemanager_height%" h="%listbox_settings_height%"/>
3031 <text>{@select_language=Select Language:}</text>
3032 <icon selected="radio_true" unselected="radio_false" />
3033 <data name="tw_language" />
3034 </listbox>
3035
3036 <button style="main_button_half_width_low">
3037 <placement x="%col_button_right%" y="%row16a_y%"/>
3038 <text>{@set_language_btn=Set Language}</text>
3039 <action function="setlanguage"></action>
3040 </button>
3041
3042 <action>
3043 <touch key="home" />
3044 <action function="page">main</action>
3045 </action>
3046
3047 <action>
3048 <touch key="back" />
3049 <action function="page">settings</action>
3050 </action>
3051 </page>
3052
z31s1g28f0a922015-11-07 18:50:22 +01003053 <page name="advanced">
3054 <template name="page"/>
3055
3056 <text style="text_l">
3057 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003059 </text>
3060
3061 <button style="main_button">
3062 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003064 <actions>
3065 <action function="set">tw_back=advanced</action>
3066 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3068 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3069 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3070 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003071 <action function="page">confirm_action</action>
3072 </actions>
3073 </button>
3074
3075 <button style="main_button">
3076 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 <action function="page">fixperms</action>
3079 </button>
3080
3081 <button style="main_button">
3082 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3083 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@part_sd_btn=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <action function="page">partsdcard</action>
3086 </button>
3087
3088 <button style="main_button">
3089 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <action function="page">filemanagerlist</action>
3092 </button>
3093
3094 <button style="main_button">
3095 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <text>{@terminal_btn=Terminal}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003097 <action function="page">terminalfolder</action>
3098 </button>
3099
3100 <button style="main_button">
3101 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <action function="reload"/>
3104 </button>
3105
3106 <button style="main_button">
3107 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <action function="page">sideload</action>
3110 </button>
3111
3112 <button style="main_button">
3113 <condition var1="tw_show_dumlock" var2="1"/>
3114 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 <action function="page">htcdumlock</action>
3117 </button>
3118
3119 <button style="main_button">
3120 <condition var1="tw_has_injecttwrp" var2="1"/>
3121 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003123 <actions>
3124 <action function="set">tw_back=advanced</action>
3125 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3127 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3128 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3129 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <action function="page">confirm_action</action>
3131 </actions>
3132 </button>
3133
3134 <action>
3135 <touch key="home"/>
3136 <action function="page">main</action>
3137 </action>
3138
3139 <action>
3140 <touch key="back"/>
3141 <action function="page">main</action>
3142 </action>
3143 </page>
3144
3145 <page name="partsdcard">
3146 <template name="page"/>
3147
3148 <text style="text_l">
3149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 </text>
3152
3153 <text style="text_m">
3154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 </text>
3157
3158 <text style="text_m_fail">
3159 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 </text>
3162
3163 <text style="text_m_fail">
3164 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 </text>
3167
3168 <text style="text_m_accent">
3169 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003170 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003171 </text>
3172
3173 <text style="text_m">
3174 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3175 <text>%tw_sdext_size%</text>
3176 </text>
3177
3178 <button style="button_quarter_width">
3179 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 <action function="addsubtract">tw_sdext_size-128</action>
3182 </button>
3183
3184 <button style="button_quarter_width">
3185 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 <action function="addsubtract">tw_sdext_size+128</action>
3188 </button>
3189
3190 <text style="text_m_accent">
3191 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003193 </text>
3194
3195 <text style="text_m">
3196 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3197 <text>%tw_swap_size%</text>
3198 </text>
3199
3200 <button style="button_quarter_width">
3201 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="addsubtract">tw_swap_size-32</action>
3204 </button>
3205
3206 <button style="button_quarter_width">
3207 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="addsubtract">tw_swap_size+32</action>
3210 </button>
3211
3212 <text style="text_m_accent">
3213 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <text style="text_m">
3218 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3219 <text>%tw_sdpart_file_system%</text>
3220 </text>
3221
3222 <button style="button_quarter_width">
3223 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3224 <text>EXT3</text>
3225 <action function="set">tw_sdpart_file_system=ext3</action>
3226 </button>
3227
3228 <button style="button_quarter_width">
3229 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3230 <text>EXT4</text>
3231 <action function="set">tw_sdpart_file_system=ext4</action>
3232 </button>
3233
3234 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="page">partsdcardaction</action>
3237 <actions>
3238 <action function="set">tw_back=partsdcard</action>
3239 <action function="set">tw_action=partitionsd</action>
3240 <action function="set">tw_has_action2=1</action>
3241 <action function="set">tw_action2=set</action>
3242 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3244 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3245 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <action function="page">action_page</action>
3247 </actions>
3248 </slider>
3249
3250 <action>
3251 <touch key="home"/>
3252 <action function="page">main</action>
3253 </action>
3254
3255 <action>
3256 <touch key="back"/>
3257 <action function="page">advanced</action>
3258 </action>
3259 </page>
3260
3261 <page name="htcdumlock">
3262 <template name="page"/>
3263
3264 <text style="text_l">
3265 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 </text>
3268
3269 <text style="text_m">
3270 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 </text>
3273
3274 <button style="main_button_m">
3275 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003277 <actions>
3278 <action function="set">tw_back=htcdumlock</action>
3279 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3281 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3282 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3283 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <action function="page">confirm_action</action>
3285 </actions>
3286 </button>
3287
3288 <button style="main_button_m">
3289 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <actions>
3292 <action function="set">tw_back=htcdumlock</action>
3293 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003294 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3295 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3296 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3297 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003298 <action function="page">confirm_action</action>
3299 </actions>
3300 </button>
3301
3302 <button style="main_button_m">
3303 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003305 <actions>
3306 <action function="set">tw_back=htcdumlock</action>
3307 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3309 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3310 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3311 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003312 <action function="page">confirm_action</action>
3313 </actions>
3314 </button>
3315
3316 <action>
3317 <touch key="home"/>
3318 <action function="page">main</action>
3319 </action>
3320
3321 <action>
3322 <touch key="back"/>
3323 <action function="page">advanced</action>
3324 </action>
3325 </page>
3326
3327 <page name="lock">
3328 <background color="%semi_transparent%"/>
3329
3330 <image>
3331 <image resource="unlock_icon"/>
3332 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3333 </image>
3334
3335 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="overlay"/>
3338 </slider>
3339 </page>
3340
3341 <page name="filemanagerlist">
3342 <template name="page"/>
3343
3344 <text style="text_l">
3345 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </text>
3348
3349 <text style="text_m">
3350 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </text>
3353
3354 <template name="sort_options"/>
3355
3356 <fileselector>
3357 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3358 <text>%tw_file_location1%</text>
3359 <filter folders="1" files="1"/>
3360 <path name="tw_file_location1" default="/"/>
3361 <data name="tw_filename1"/>
3362 <selection name="tw_selection1"/>
3363 </fileselector>
3364
3365 <button style="main_button_half_width_low">
3366 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003368 <actions>
3369 <action function="set">tw_filename1=tw_file_location1</action>
3370 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <action function="page">filemanageroptions</action>
3373 </actions>
3374 </button>
3375
3376 <action>
3377 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <action function="set">tw_fm_isfolder=0</action>
3380 </actions>
3381 </action>
3382
3383 <action>
3384 <touch key="home"/>
3385 <action function="page">main</action>
3386 </action>
3387
3388 <action>
3389 <touch key="back"/>
3390 <action function="page">advanced</action>
3391 </action>
3392
3393 <action>
3394 <condition var1="tw_filename1" op="modified"/>
3395 <action function="page">filemanageroptions</action>
3396 </action>
3397 </page>
3398
3399 <page name="filemanageroptions">
3400 <template name="page"/>
3401
3402 <text style="text_l">
3403 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003405 </text>
3406
3407 <text style="text_m">
3408 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 </text>
3411
3412 <text style="text_m_accent">
3413 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003414 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003415 </text>
3416
3417 <text style="text_m">
3418 <placement x="%col1_x_left%" y="%row3_y%"/>
3419 <text>%tw_filename1%</text>
3420 </text>
3421
3422 <button style="main_button_half_width">
3423 <condition var1="tw_fm_isfolder" var2="0"/>
3424 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003425 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003426 <actions>
3427 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003429 <action function="page">choosedestinationfolder</action>
3430 </actions>
3431 </button>
3432
3433 <button style="main_button_half_width">
3434 <condition var1="tw_fm_isfolder" var2="1"/>
3435 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 <actions>
3438 <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 -05003439 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003440 <action function="page">choosedestinationfolder</action>
3441 </actions>
3442 </button>
3443
3444 <button style="main_button_half_width">
3445 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 <actions>
3448 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <action function="page">choosedestinationfolder</action>
3451 </actions>
3452 </button>
3453
3454 <button style="main_button_half_width">
3455 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <actions>
3458 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003460 <action function="set">tw_fm_text2=</action>
3461 <action function="set">tw_fm_text3=</action>
3462 <action function="set">tw_include_text3=0</action>
3463 <action function="set">tw_back=filemanageroptions</action>
3464 <action function="page">filemanagerconfirm</action>
3465 </actions>
3466 </button>
3467
3468 <button style="main_button_half_width">
3469 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 <actions>
3472 <action function="set">tw_filemanager_rename=0000</action>
3473 <action function="set">tw_fm_text2=</action>
3474 <action function="set">tw_fm_text3=</action>
3475 <action function="set">tw_include_text3=0</action>
3476 <action function="set">tw_back=filemanageroptions</action>
3477 <action function="page">filemanagerchmod</action>
3478 </actions>
3479 </button>
3480
3481 <button style="main_button_half_width">
3482 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003483 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003484 <actions>
3485 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003487 <action function="set">tw_fm_text2=</action>
3488 <action function="set">tw_fm_text3=</action>
3489 <action function="set">tw_include_text3=0</action>
3490 <action function="set">tw_back=filemanageroptions</action>
3491 <action function="page">filemanagerconfirm</action>
3492 </actions>
3493 </button>
3494
3495 <button style="main_button_half_width">
3496 <condition var1="tw_fm_isfolder" var2="0"/>
3497 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 <actions>
3500 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003502 <action function="set">tw_filemanager_command=mv</action>
3503 <action function="page">filemanagerrenamefile</action>
3504 </actions>
3505 </button>
3506
3507 <button style="main_button_half_width">
3508 <condition var1="tw_fm_isfolder" var2="1"/>
3509 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003511 <actions>
3512 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3515 <action function="page">filemanagerrenamefolder</action>
3516 </actions>
3517 </button>
3518
3519 <action>
3520 <touch key="home"/>
3521 <action function="page">main</action>
3522 </action>
3523
3524 <action>
3525 <touch key="back"/>
3526 <action function="page">filemanagerlist</action>
3527 </action>
3528 </page>
3529
3530 <page name="choosedestinationfolder">
3531 <template name="page"/>
3532
3533 <text style="text_l">
3534 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 </text>
3537
3538 <text style="text_m">
3539 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003540 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003541 </text>
3542
3543 <template name="sort_options"/>
3544
3545 <fileselector>
3546 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3547 <text>%tw_file_location2%</text>
3548 <filter folders="1" files="0"/>
3549 <path name="tw_file_location2" default="/"/>
3550 <data name="tw_filename2"/>
3551 <selection name="tw_selection2"/>
3552 </fileselector>
3553
3554 <button style="main_button_half_width_low">
3555 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003556 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003557 <actions>
3558 <action function="set">tw_fm_text2=to</action>
3559 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3560 <action function="set">tw_include_text3=1</action>
3561 <action function="set">tw_back=filemanageroptions</action>
3562 <action function="page">filemanagerconfirm</action>
3563 </actions>
3564 </button>
3565
3566 <action>
3567 <touch key="home"/>
3568 <action function="page">main</action>
3569 </action>
3570
3571 <action>
3572 <touch key="back"/>
3573 <action function="page">filemanageroptions</action>
3574 </action>
3575 </page>
3576
3577 <page name="filemanagerrenamefile">
3578 <template name="page"/>
3579
3580 <text style="text_l">
3581 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m">
3586 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 </text>
3589
3590 <text style="text_m_accent">
3591 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003593 </text>
3594
3595 <input>
3596 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3597 <text>%tw_filemanager_rename%</text>
3598 <data name="tw_filemanager_rename"/>
3599 <restrict minlen="1" maxlen="128"/>
3600 <actions>
3601 <action function="set">tw_fm_text2=to</action>
3602 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3603 <action function="set">tw_include_text3=1</action>
3604 <action function="set">tw_back=filemanageroptions</action>
3605 <action function="page">filemanagerconfirm</action>
3606 </actions>
3607 </input>
3608
3609 <fill color="%accent_color%">
3610 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3611 </fill>
3612
3613 <button style="main_button_half_width_low">
3614 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 <action function="page">filemanageroptions</action>
3617 </button>
3618
3619 <template name="keyboardtemplate"/>
3620
3621 <action>
3622 <touch key="home"/>
3623 <action function="page">main</action>
3624 </action>
3625
3626 <action>
3627 <touch key="back"/>
3628 <action function="page">filemanageroptions</action>
3629 </action>
3630 </page>
3631
3632 <page name="filemanagerrenamefolder">
3633 <template name="page"/>
3634
3635 <text style="text_l">
3636 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 </text>
3639
3640 <text style="text_m">
3641 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 </text>
3644
3645 <text style="text_m_accent">
3646 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003648 </text>
3649
3650 <input>
3651 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3652 <text>%tw_filemanager_rename%</text>
3653 <data name="tw_filemanager_rename"/>
3654 <restrict minlen="1" maxlen="128"/>
3655 <actions>
3656 <action function="set">tw_fm_text2=to</action>
3657 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3658 <action function="set">tw_include_text3=1</action>
3659 <action function="set">tw_back=filemanageroptions</action>
3660 <action function="page">filemanagerconfirm</action>
3661 </actions>
3662 </input>
3663
3664 <fill color="%accent_color%">
3665 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3666 </fill>
3667
3668 <button style="main_button_half_width_low">
3669 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="page">filemanageroptions</action>
3672 </button>
3673
3674 <template name="keyboardtemplate"/>
3675
3676 <action>
3677 <touch key="home"/>
3678 <action function="page">main</action>
3679 </action>
3680
3681 <action>
3682 <touch key="back"/>
3683 <action function="page">filemanageroptions</action>
3684 </action>
3685 </page>
3686
3687 <page name="filemanagerchmod">
3688 <template name="page"/>
3689
3690 <text style="text_l">
3691 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 </text>
3694
3695 <text style="text_m">
3696 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <text style="text_m_accent">
3701 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 </text>
3704
3705 <input>
3706 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3707 <text>%tw_filemanager_rename%</text>
3708 <data name="tw_filemanager_rename"/>
3709 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3710 <actions>
3711 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3712 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3713 <action function="set">tw_back=filemanageroptions</action>
3714 <action function="page">filemanagerconfirm</action>
3715 </actions>
3716 </input>
3717
3718 <fill color="%accent_color%">
3719 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3720 </fill>
3721
3722 <button style="main_button_half_width_low">
3723 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 <action function="page">filemanageroptions</action>
3726 </button>
3727
3728 <template name="keyboardtemplate"/>
3729
3730 <action>
3731 <touch key="home"/>
3732 <action function="page">main</action>
3733 </action>
3734
3735 <action>
3736 <touch key="back"/>
3737 <action function="page">filemanageroptions</action>
3738 </action>
3739 </page>
3740
3741 <page name="filemanagerconfirm">
3742 <template name="page"/>
3743
3744 <text style="text_l">
3745 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 </text>
3748
3749 <text style="text_m">
3750 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </text>
3753
3754 <text style="text_m_accent">
3755 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3756 <text>%tw_fm_text1%</text>
3757 </text>
3758
3759 <text style="text_m">
3760 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3761 <text>%tw_filename1%</text>
3762 </text>
3763
3764 <text style="text_m_accent">
3765 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3766 <text>%tw_fm_text2%</text>
3767 </text>
3768
3769 <text style="text_m">
3770 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3771 <text>%tw_fm_text3%</text>
3772 </text>
3773
3774 <text style="text_m">
3775 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 </text>
3778
3779 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003781 <action function="page">filemanageraction</action>
3782 </slider>
3783
3784 <action>
3785 <touch key="back"/>
3786 <action function="page">%tw_back%</action>
3787 </action>
3788
3789 <action>
3790 <touch key="home"/>
3791 <action function="page">main</action>
3792 </action>
3793 </page>
3794
3795 <page name="filemanageraction">
3796 <template name="page"/>
3797
3798 <text style="text_l">
3799 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003800 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003801 </text>
3802
3803 <text style="text_m">
3804 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3805 <text>%tw_fm_text1%</text>
3806 </text>
3807
3808 <template name="console"/>
3809
3810 <template name="progress_bar"/>
3811
3812 <action>
3813 <conditions>
3814 <condition var1="tw_operation_state" var2="1"/>
3815 <condition var1="tw_operation_status" var2="0"/>
3816 </conditions>
3817 <actions>
3818 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003820 <action function="page">action_complete</action>
3821 </actions>
3822 </action>
3823
3824 <action>
3825 <conditions>
3826 <condition var1="tw_operation_state" var2="1"/>
3827 <condition var1="tw_operation_status" op="!=" var2="0"/>
3828 </conditions>
3829 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003830 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003831 <action function="page">action_complete</action>
3832 </actions>
3833 </action>
3834
3835 <action>
3836 <condition var1="tw_include_text3" var2="0"/>
3837 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3838 </action>
3839
3840 <action>
3841 <condition var1="tw_include_text3" var2="1"/>
3842 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3843 </action>
3844 </page>
3845
3846 <page name="decrypt">
3847 <template name="page"/>
3848
3849 <action>
3850 <condition var1="tw_crypto_pwtype" var2="2"/>
3851 <action function="page">decrypt_pattern</action>
3852 </action>
3853
3854 <text style="text_l">
3855 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 </text>
3858
3859 <text style="text_m">
3860 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003861 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003862 </text>
3863
3864 <text style="text_m_accent">
3865 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 </text>
3868
3869 <input>
3870 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3871 <text>%tw_crypto_display%</text>
3872 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3873 <restrict minlen="1" maxlen="254"/>
3874 <action function="page">trydecrypt</action>
3875 </input>
3876
3877 <fill color="%accent_color%">
3878 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3879 </fill>
3880
3881 <fill color="%text_fail_color%">
3882 <condition var1="tw_password_fail" var2="1"/>
3883 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3884 </fill>
3885
3886 <text style="text_m_fail">
3887 <condition var1="tw_password_fail" var2="1"/>
3888 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003890 </text>
3891
3892 <button style="main_button_half_width_low">
3893 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003894 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003895 <actions>
3896 <action function="set">tw_page_done=1</action>
3897 <action function="page">main</action>
3898 </actions>
3899 </button>
3900
3901 <template name="keyboardtemplate"/>
3902 </page>
3903
3904 <page name="decrypt_pattern">
3905 <template name="page"/>
3906
3907 <text style="text_l">
3908 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003910 </text>
3911
3912 <text style="text_m">
3913 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003915 </text>
3916
3917 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01003918 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003919 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003920 </text>
3921
Aleksa Saraib25a1832015-12-31 17:36:00 +01003922 <text style="text_m_fail">
3923 <condition var1="tw_password_fail" var2="1"/>
3924 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
3925 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
3926 </text>
3927
z31s1g28f0a922015-11-07 18:50:22 +01003928 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01003929 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003930 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
3931 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
3932 <data name="tw_crypto_password"/>
3933 <action function="page">trydecrypt</action>
3934 </patternpassword>
3935
Aleksa Saraib25a1832015-12-31 17:36:00 +01003936 <button style="main_button_half_width_low">
3937 <placement x="%col_button_right%" y="%row1a_y%"/>
3938 <text>3x3</text>
3939 <action function="set">tw_gui_pattern_grid_size=3</action>
3940 </button>
3941
3942 <button style="main_button_half_width_low">
3943 <placement x="%col_button_right%" y="%row4a_y%"/>
3944 <text>4x4</text>
3945 <action function="set">tw_gui_pattern_grid_size=4</action>
3946 </button>
3947
3948 <button style="main_button_half_width_low">
3949 <placement x="%col_button_right%" y="%row7a_y%"/>
3950 <text>5x5</text>
3951 <action function="set">tw_gui_pattern_grid_size=5</action>
3952 </button>
3953
3954 <button style="main_button_half_width_low">
3955 <placement x="%col_button_right%" y="%row10a_y%"/>
3956 <text>6x6</text>
3957 <action function="set">tw_gui_pattern_grid_size=6</action>
3958 </button>
3959
z31s1g28f0a922015-11-07 18:50:22 +01003960 <button style="main_button_half_width">
3961 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 <actions>
3964 <action function="set">tw_page_done=1</action>
3965 <action function="page">main</action>
3966 </actions>
3967 </button>
3968 </page>
3969
3970 <page name="trydecrypt">
3971 <template name="page"/>
3972
3973 <text style="text_l">
3974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 </text>
3977
3978 <text style="text_m">
3979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 </text>
3982
3983 <template name="console"/>
3984
3985 <template name="progress_bar"/>
3986
3987 <action>
3988 <action function="decrypt"/>
3989 </action>
3990
3991 <action>
3992 <conditions>
3993 <condition var1="tw_operation_state" var2="1"/>
3994 <condition var1="tw_operation_status" op="!=" var2="0"/>
3995 </conditions>
3996 <actions>
3997 <action function="set">tw_password_fail=1</action>
3998 <action function="page">decrypt</action>
3999 </actions>
4000 </action>
4001
4002 <action>
4003 <conditions>
4004 <condition var1="tw_operation_state" var2="1"/>
4005 <condition var1="tw_operation_status" op="=" var2="0"/>
4006 </conditions>
4007 <actions>
4008 <action function="set">tw_page_done=1</action>
4009 <action function="page">main</action>
4010 </actions>
4011 </action>
4012 </page>
4013
4014 <page name="terminalfolder">
4015 <template name="page"/>
4016
4017 <text style="text_l">
4018 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004019 <text>{term_hdr=Terminal Command}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004020 </text>
4021
4022 <text style="text_m">
4023 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004024 <text>{@term_sel_folder_hdr=Browse to Starting Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004025 </text>
4026
4027 <template name="sort_options"/>
4028
4029 <fileselector>
4030 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4031 <text>%tw_terminal_location%</text>
4032 <filter folders="1" files="0"/>
4033 <path name="tw_terminal_location" default="/"/>
4034 <data name="tw_terminal"/>
4035 <selection name="tw_terminal_selection"/>
4036 </fileselector>
4037
4038 <button style="main_button_half_width_low">
4039 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 <action function="page">terminalcommand</action>
4042 </button>
4043
4044 <action>
4045 <touch key="home"/>
4046 <action function="page">main</action>
4047 </action>
4048
4049 <action>
4050 <touch key="back"/>
4051 <action function="page">advanced</action>
4052 </action>
4053 </page>
4054
4055 <page name="terminalcommand">
4056 <template name="page"/>
4057
4058 <fill color="%background_color%">
4059 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4060 </fill>
4061
4062 <template name="console_terminal"/>
4063
4064 <input>
4065 <placement x="%col1_x_left%" y="%row8_y%" w="%content_quarter_width%" h="%input_height%"/>
4066 <text>%tw_terminal_command%</text>
4067 <data name="tw_terminal_command"/>
4068 <restrict minlen="1"/>
4069 <action function="terminalcommand">%tw_terminal_command%</action>
4070 </input>
4071
4072 <fill color="%accent_color%">
4073 <placement x="%col1_x_left%" y="row9_y" w="%content_quarter_width%" h="input_line_width" placement="1"/>
4074 </fill>
4075
4076 <button>
4077 <condition var1="tw_terminal_state" var2="1"/>
4078 <highlight color="%highlight_color%"/>
4079 <placement x="%btn4_col4_x_right%" y="%row7a_y%"/>
4080 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <text>{@term_kill_btn=Kill}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004082 <image resource="tab_4"/>
4083 <action function="killterminal"/>
4084 </button>
4085
4086 <template name="keyboardtemplate"/>
4087
4088 <action>
4089 <touch key="home"/>
4090 <action function="page">main</action>
4091 </action>
4092
4093 <action>
4094 <touch key="back"/>
4095 <action function="page">terminalfolder</action>
4096 </action>
4097 </page>
4098
4099 <page name="sideload">
4100 <template name="page"/>
4101
4102 <text style="text_l">
4103 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <text style="text_m">
4108 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004110 </text>
4111
4112 <checkbox>
4113 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004115 <data variable="tw_wipe_dalvik"/>
4116 </checkbox>
4117
4118 <checkbox>
4119 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004121 <data variable="tw_wipe_cache"/>
4122 </checkbox>
4123
4124 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004125 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004126 <action function="page">partsdcardaction</action>
4127 <actions>
4128 <action function="set">tw_back=advanced</action>
4129 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004130 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4131 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4132 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004133 <action function="set">tw_has_cancel=1</action>
4134 <action function="set">tw_show_reboot=1</action>
4135 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4136 <action function="page">action_page</action>
4137 </actions>
4138 </slider>
4139
4140 <action>
4141 <touch key="home"/>
4142 <action function="page">main</action>
4143 </action>
4144
4145 <action>
4146 <touch key="back"/>
4147 <action function="page">advanced</action>
4148 </action>
4149 </page>
4150
4151 <page name="fixperms">
4152 <template name="page"/>
4153
4154 <text style="text_l">
4155 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <text style="text_m">
4160 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </text>
4163
4164 <text style="text_m_accent">
4165 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004166 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004167 </text>
4168
4169 <checkbox>
4170 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004172 <data variable="tw_fixperms_restorecon"/>
4173 </checkbox>
4174
4175 <text style="text_m_fail">
4176 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 </text>
4179
4180 <text style="text_m_fail">
4181 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004183 </text>
4184
4185 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 <actions>
4188 <action function="set">tw_back=advanced</action>
4189 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004190 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4191 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4192 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004193 <action function="set">tw_show_reboot=1</action>
4194 <action function="page">action_page</action>
4195 </actions>
4196 </slider>
4197
4198 <action>
4199 <touch key="home"/>
4200 <action function="page">main</action>
4201 </action>
4202
4203 <action>
4204 <touch key="back"/>
4205 <action function="page">advanced</action>
4206 </action>
4207 </page>
4208
4209 <page name="installsu">
4210 <template name="page"/>
4211
4212 <text style="text_l">
4213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004215 </text>
4216
4217 <text style="text_m">
4218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004219 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004220 </text>
4221
4222 <text style="text_m_accent">
4223 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004224 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004225 </text>
4226
4227 <text style="text_m">
4228 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004230 </text>
4231
4232 <text style="text_m">
4233 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004234 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004235 </text>
4236
4237 <button style="main_button_half_width">
4238 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004239 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004240 <action function="set">tw_page_done=1</action>
4241 </button>
4242
4243 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004244 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004245 <actions>
4246 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004247 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004248 <action function="set">tw_action_text2=</action>
4249 <action function="page">singleaction_page</action>
4250 </actions>
4251 </slider>
4252 </page>
4253
4254 <page name="slideout">
4255 <fill color="%background_color%">
4256 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4257 </fill>
4258
4259 <console>
4260 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4261 </console>
4262
4263 <button>
4264 <fill color="%transparent%"/>
4265 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4266 <action function="overlay"/>
4267 </button>
4268
4269 <action>
4270 <touch key="power+voldown"/>
4271 <action function="screenshot"/>
4272 </action>
4273 </page>
4274
4275 <page name="select_storage">
4276 <fill color="%semi_transparent%">
4277 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4278 </fill>
4279
4280 <fill color="%background_color%">
4281 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4282 </fill>
4283
4284 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 <data name="tw_storage_path"/>
4287 <listtype name="storage"/>
4288 </partitionlist>
4289
4290 <button style="button_third_width">
4291 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004292 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004293 <actions>
4294 <action function="set">tw_clear_destination=%tw_back%</action>
4295 <action function="overlay"/>
4296 <action function="page">clear_vars</action>
4297 </actions>
4298 </button>
4299
4300 <fill color="#000000">
4301 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4302 </fill>
4303
4304 <button>
4305 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4306 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4307 <image resource="back"/>
4308 <condition var1="tw_busy" var2="0"/>
4309 <actions>
4310 <action function="overlay"/>
4311 <action function="key">%tw_back%</action>
4312 </actions>
4313 </button>
4314
4315 <button>
4316 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4317 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4318 <image resource="console"/>
4319 <condition var1="tw_busy" var2="0"/>
4320 <action function="overlay">slideout</action>
4321 </button>
4322
4323 <button>
4324 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4325 <image resource="home"/>
4326 <condition var1="tw_busy" var2="0"/>
4327 <actions>
4328 <action function="overlay"/>
4329 <action function="key">home</action>
4330 </actions>
4331 </button>
4332
4333 <button>
4334 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4335 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4336 <image resource="console"/>
4337 <condition var1="tw_busy" var2="0"/>
4338 <action function="overlay">slideout</action>
4339 </button>
4340
4341 <button>
4342 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4343 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4344 <image resource="back"/>
4345 <condition var1="tw_busy" var2="0"/>
4346 <actions>
4347 <action function="overlay"/>
4348 <action function="key">%tw_back%</action>
4349 </actions>
4350 </button>
4351
4352 <action>
4353 <touch key="power+voldown"/>
4354 <action function="screenshot"/>
4355 </action>
4356 </page>
4357 </pages>
4358</recovery>