blob: 03004aeff731aba41cfcfb8cc977a05f9cc92a82 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
389 <condition var1="tw_has_injecttwrp" var2="1"/>
390 <placement x="%indent%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500391 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100392 <data variable="tw_inject_after_zip"/>
393 </checkbox>
394
395 <button style="main_button_half_height">
396 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <action function="page">install</action>
399 </button>
400
401 <button style="main_button_half_height">
402 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <actions>
405 <action function="queueclear"/>
406 <action function="page">install</action>
407 </actions>
408 </button>
409
410 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500411 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100412 <action function="flash">flash_zip</action>
413 </slider>
414
415 <action>
416 <touch key="back"/>
417 <actions>
418 <action function="cancelzip"/>
419 <action function="page">install</action>
420 </actions>
421 </action>
422
423 <action>
424 <touch key="home"/>
425 <action function="page">main</action>
426 </action>
427 </page>
428
429 <page name="flash_zip">
430 <template name="page"/>
431
432 <text style="text_l">
433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500434 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100435 </text>
436
437 <text style="text_m">
438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
439 <text>%tw_file%</text>
440 </text>
441
442 <template name="console"/>
443
444 <template name="progress_bar"/>
445
446 <action>
447 <condition var1="tw_operation_state" var2="1"/>
448 <action function="page">flash_done</action>
449 </action>
450 </page>
451
452 <page name="flash_done">
453 <template name="page"/>
454
455 <text style="text_l">
456 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </text>
459
460 <text style="text_m_fail">
461 <condition var1="tw_operation_status" op="!=" var2="0"/>
462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m">
467 <condition var1="tw_operation_status" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <template name="console"/>
473
474 <button style="main_button_half_height">
475 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 <actions>
478 <action function="set">tw_back=flash_done</action>
479 <action function="set">tw_action=wipe</action>
480 <action function="set">tw_action_param=/cache</action>
481 <action function="set">tw_has_action2=1</action>
482 <action function="set">tw_action2=wipe</action>
483 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500484 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
485 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
486 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
487 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100488 <action function="page">confirm_action</action>
489 </actions>
490 </button>
491
492 <button style="main_button_half_height">
493 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500494 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <actions>
496 <action function="set">tw_back=main2</action>
497 <action function="set">tw_action=reboot</action>
498 <action function="set">tw_action_param=system</action>
499 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
501 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <action function="set">tw_text3=</action>
503 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500504 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100505 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500506 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
507 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100508 <action function="page">rebootcheck</action>
509 </actions>
510 </button>
511
512 <action>
513 <touch key="back"/>
514 <actions>
515 <action function="set">tw_clear_destination=install</action>
516 <action function="page">clear_vars</action>
517 </actions>
518 </action>
519
520 <action>
521 <touch key="home"/>
522 <actions>
523 <action function="set">tw_clear_destination=main2</action>
524 <action function="page">clear_vars</action>
525 </actions>
526 </action>
527 </page>
528
529 <page name="flashimage_confirm">
530 <template name="page"/>
531
532 <text style="text_l">
533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <text style="text_m">
538 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500539 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100540 </text>
541
542 <text style="text_m_accent">
543 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500544 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100545 </text>
546
547 <text style="text_m">
548 <placement x="%indent%" y="%row3_y%"/>
549 <text>%tw_zip_location%</text>
550 </text>
551
552 <text style="text_m_accent">
553 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100555 </text>
556
557 <text style="text_m">
558 <placement x="%indent%" y="%row5a_y%"/>
559 <text>%tw_file%</text>
560 </text>
561
562 <partitionlist>
563 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
564 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500565 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100566 <data name="tw_flash_partition"/>
567 <listtype name="flashimg"/>
568 </partitionlist>
569
570 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 <actions>
573 <action function="set">tw_back=flashimage_confirm</action>
574 <action function="set">tw_action=flashimage</action>
575 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500576 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100577 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500578 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100579 <action function="page">action_page</action>
580 </actions>
581 <action function="flashimage"/>
582 </slider>
583
584 <action>
585 <touch key="back"/>
586 <actions>
587 <action function="set">tw_clear_destination=install</action>
588 <action function="page">clear_vars</action>
589 </actions>
590 </action>
591
592 <action>
593 <touch key="home"/>
594 <actions>
595 <action function="set">tw_clear_destination=main2</action>
596 <action function="page">clear_vars</action>
597 </actions>
598 </action>
599 </page>
600
601 <page name="clear_vars">
602 <action>
603 <action function="set">tw_operation_state=0</action>
604 <action function="set">tw_text1=</action>
605 <action function="set">tw_text2=</action>
606 <action function="set">tw_text3=</action>
607 <action function="set">tw_text4=</action>
608 <action function="set">tw_action_text1=</action>
609 <action function="set">tw_action_text2=</action>
610 <action function="set">tw_action_param=</action>
611 <action function="set">tw_has_action2=0</action>
612 <action function="set">tw_action2=</action>
613 <action function="set">tw_action2_param=</action>
614 <action function="set">tw_has_cancel=0</action>
615 <action function="set">tw_cancel_action=</action>
616 <action function="set">tw_cancel_param=</action>
617 <action function="set">tw_show_exclamation=0</action>
618 <action function="set">tw_show_reboot=0</action>
619 <action function="page">%tw_clear_destination%</action>
620 </action>
621 </page>
622
623 <page name="confirm_action">
624 <template name="page"/>
625
626 <text style="text_l">
627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500628 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100629 </text>
630
631 <text style="text_m">
632 <placement x="%col1_x_header%" y="%row4_header_y%"/>
633 <text/>
634 </text>
635
636 <text style="text_m_accent">
637 <placement x="%center_x%" y="%row2_y%" placement="5"/>
638 <text>%tw_text1%</text>
639 </text>
640
641 <text style="text_m_accent">
642 <placement x="%center_x%" y="%row3_y%" placement="5"/>
643 <text>%tw_text2%</text>
644 </text>
645
646 <text style="text_m">
647 <placement x="%center_x%" y="%row4_y%" placement="5"/>
648 <text>%tw_text3%</text>
649 </text>
650
651 <text style="text_m">
652 <placement x="%center_x%" y="%row5_y%" placement="5"/>
653 <text>%tw_text4%</text>
654 </text>
655
656 <text style="text_m">
657 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <slider>
662 <text>%tw_slider_text%</text>
663 <action function="page">action_page</action>
664 </slider>
665
666 <action>
667 <touch key="back"/>
668 <actions>
669 <action function="set">tw_clear_destination=%tw_back%</action>
670 <action function="page">clear_vars</action>
671 </actions>
672 </action>
673
674 <action>
675 <touch key="home"/>
676 <action function="page">main</action>
677 </action>
678 </page>
679
680 <page name="action_page">
681 <template name="page"/>
682
683 <text style="text_l">
684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
685 <text>%tw_action_text1%</text>
686 </text>
687
688 <text style="text_m">
689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
690 <text>%tw_action_text2%</text>
691 </text>
692
693 <template name="console"/>
694
695 <template name="progress_bar"/>
696
697 <button style="main_button_half_height">
698 <condition var1="tw_has_cancel" var2="1"/>
699 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
702 </button>
703
704 <action>
705 <condition var1="tw_operation_state" var2="1"/>
706 <actions>
707 <action function="page">action_complete</action>
708 </actions>
709 </action>
710
711 <action>
712 <condition var1="tw_has_action2" var2="0"/>
713 <actions>
714 <action function="%tw_action%">%tw_action_param%</action>
715 </actions>
716 </action>
717
718 <action>
719 <condition var1="tw_has_action2" var2="1"/>
720 <actions>
721 <action function="%tw_action%">%tw_action_param%</action>
722 <action function="%tw_action2%">%tw_action2_param%</action>
723 </actions>
724 </action>
725 </page>
726
727 <page name="singleaction_page">
728 <template name="page"/>
729
730 <text style="text_l">
731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
732 <text>%tw_action_text1%</text>
733 </text>
734
735 <text style="text_m">
736 <placement x="%col1_x_header%" y="%row4_header_y%"/>
737 <text>%tw_action_text2%</text>
738 </text>
739
740 <template name="console"/>
741
742 <template name="progress_bar"/>
743
744 <action>
745 <condition var1="tw_operation_state" var2="1"/>
746 <actions>
747 <action function="set">tw_page_done=1</action>
748 </actions>
749 </action>
750
751 <action>
752 <condition var1="tw_has_action2" var2="0"/>
753 <actions>
754 <action function="%tw_action%">%tw_action_param%</action>
755 </actions>
756 </action>
757
758 <action>
759 <condition var1="tw_has_action2" var2="1"/>
760 <actions>
761 <action function="%tw_action%">%tw_action_param%</action>
762 <action function="%tw_action2%">%tw_action2_param%</action>
763 </actions>
764 </action>
765 </page>
766
767 <page name="action_complete">
768 <template name="page"/>
769
770 <text style="text_l">
771 <placement x="%col1_x_header%" y="%row3_header_y%"/>
772 <text>%tw_complete_text1%</text>
773 </text>
774
775 <text style="text_m_fail">
776 <condition var1="tw_operation_status" op="!=" var2="0"/>
777 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <text style="text_m">
782 <condition var1="tw_operation_status" var2="0"/>
783 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500784 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100785 </text>
786
787 <template name="console"/>
788
789 <button style="main_button_half_height">
790 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500791 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100792 <actions>
793 <action function="set">tw_clear_destination=%tw_back%</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </button>
797
798 <button style="main_button_half_height">
799 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500800 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100801 <actions>
802 <action function="set">tw_back=main2</action>
803 <action function="set">tw_action=reboot</action>
804 <action function="set">tw_action_param=system</action>
805 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
807 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100808 <action function="set">tw_text3=</action>
809 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500810 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100811 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500812 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
813 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100814 <action function="page">rebootcheck</action>
815 </actions>
816 </button>
817
818 <action>
819 <touch key="home"/>
820 <actions>
821 <action function="set">tw_clear_destination=main2</action>
822 <action function="page">clear_vars</action>
823 </actions>
824 </action>
825
826 <action>
827 <touch key="back"/>
828 <actions>
829 <action function="set">tw_clear_destination=%tw_back%</action>
830 <action function="page">clear_vars</action>
831 </actions>
832 </action>
833 </page>
834
835 <page name="filecheck">
836 <action>
837 <action function="fileexists">%tw_filecheck%</action>
838 </action>
839
840 <action>
841 <conditions>
842 <condition var1="tw_operation_state" var2="1"/>
843 <condition var1="tw_operation_status" var2="0"/>
844 </conditions>
845 <actions>
846 <action function="set">tw_fileexists=1</action>
847 <action function="page">%tw_existpage%</action>
848 </actions>
849 </action>
850
851 <action>
852 <conditions>
853 <condition var1="tw_operation_state" var2="1"/>
854 <condition var1="tw_operation_status" var2="1"/>
855 </conditions>
856 <actions>
857 <action function="set">tw_fileexists=0</action>
858 <action function="page">%tw_notexistpage%</action>
859 </actions>
860 </action>
861 </page>
862
863 <page name="rebootcheck">
864 <action>
865 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
866 <action function="reboot">%tw_action_param%</action>
867 </action>
868
869 <action>
870 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
871 <action function="page">confirm_action</action>
872 </action>
873 </page>
874
875 <page name="wipe">
876 <template name="page"/>
877
878 <text style="text_l">
879 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500880 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100881 </text>
882
883 <text style="text_m">
884 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500885 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100886 </text>
887
888 <text style="text_m_accent">
889 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500890 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100891 </text>
892
893 <text style="text_m_accent">
894 <condition var1="tw_has_data_media" var2="1"/>
895 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500896 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100897 </text>
898
899 <text style="text_m_accent">
900 <conditions>
901 <condition var1="tw_has_android_secure" var2="1"/>
902 <condition var1="fileexists" var2="/and-sec"/>
903 </conditions>
904 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 </text>
907
908 <text style="text_m_accent">
909 <condition var1="tw_has_sdext_partition" var2="1"/>
910 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 </text>
913
914 <text style="text_m">
915 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500916 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100917 </text>
918
919 <text style="text_m">
920 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500921 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100922 </text>
923
924 <text style="text_m">
925 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100927 </text>
928
929 <button style="main_button_half_height">
930 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500931 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100932 <actions>
933 <action function="set">partitionlisterror=0</action>
934 <action function="page">advancedwipe</action>
935 </actions>
936 </button>
937
938 <button style="main_button_half_height">
939 <condition var1="tw_has_data_media" var2="1"/>
940 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500941 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100942 <action function="page">formatdata</action>
943 </button>
944
945 <button style="main_button_half_height">
946 <conditions>
947 <condition var1="tw_is_encrypted" var2="1"/>
948 <condition var1="tw_has_data_media" var2="0"/>
949 </conditions>
950 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 <actions>
953 <action function="set">tw_back=wipe</action>
954 <action function="set">tw_action=wipe</action>
955 <action function="set">tw_action_param=DATAMEDIA</action>
956 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100958 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
960 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
961 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100962 <action function="page">confirm_action</action>
963 </actions>
964 </button>
965
966 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500967 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100968 <actions>
969 <action function="set">tw_back=wipe</action>
970 <action function="set">tw_action=wipe</action>
971 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500972 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
973 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <action function="page">action_page</action>
975 </actions>
976 </slider>
977
978 <action>
979 <touch key="back"/>
980 <action function="page">main</action>
981 </action>
982
983 <action>
984 <touch key="home"/>
985 <action function="page">main</action>
986 </action>
987 </page>
988
989 <page name="advancedwipe">
990 <template name="page"/>
991
992 <action>
993 <action function="set">tw_wipe_list=</action>
994 </action>
995
996 <text style="text_l">
997 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500998 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100999 </text>
1000
1001 <text style="text_m">
1002 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001003 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001004 </text>
1005
1006 <partitionlist>
1007 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001008 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001009 <data name="tw_wipe_list"/>
1010 <listtype name="wipe"/>
1011 </partitionlist>
1012
1013 <text style="text_m_fail">
1014 <condition var1="partitionlisterror" var2="1"/>
1015 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <button style="main_button_half_height_full_width">
1020 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001023 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001024 <action function="page">checkpartitionlist</action>
1025 </actions>
1026 </button>
1027
1028 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 <actions>
1031 <action function="set">tw_back=advancedwipe</action>
1032 <action function="set">tw_action=wipe</action>
1033 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1035 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1036 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001037 <action function="page">action_page</action>
1038 </actions>
1039 </slider>
1040
1041 <action>
1042 <touch key="home"/>
1043 <action function="page">main</action>
1044 </action>
1045
1046 <action>
1047 <touch key="back"/>
1048 <action function="page">wipe</action>
1049 </action>
1050 </page>
1051
1052 <page name="formatdata">
1053 <template name="page"/>
1054
1055 <text style="text_l">
1056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <text style="text_m">
1061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 </text>
1064
1065 <text style="text_m_fail">
1066 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001068 </text>
1069
1070 <text style="text_m_fail">
1071 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 </text>
1074
1075 <text style="text_m_fail">
1076 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <text style="text_m">
1081 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <input>
1091 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1092 <text>%tw_confirm_formatdata%</text>
1093 <data name="tw_confirm_formatdata"/>
1094 <restrict minlen="3" maxlen="3" allow="yes"/>
1095 <action function="page">formatdata_confirm</action>
1096 </input>
1097
1098 <fill color="%accent_color%">
1099 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1100 </fill>
1101
1102 <template name="keyboardtemplate"/>
1103
1104 <action>
1105 <touch key="home"/>
1106 <action function="page">main</action>
1107 </action>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">wipe</action>
1112 </action>
1113 </page>
1114
1115 <page name="formatdata_confirm">
1116 <action>
1117 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1118 <actions>
1119 <action function="set">tw_back=formatdata</action>
1120 <action function="set">tw_action=wipe</action>
1121 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1123 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001124 <action function="page">action_page</action>
1125 </actions>
1126 </action>
1127
1128 <action>
1129 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1130 <action function="page">formatdata</action>
1131 </action>
1132 </page>
1133
1134 <page name="checkpartitionlist">
1135 <action>
1136 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1137 <actions>
1138 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001139 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <action function="page">partitionoptions</action>
1141 </actions>
1142 </action>
1143
1144 <action>
1145 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1146 <actions>
1147 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001148 <action function="page">advancedwipe</action>
1149 </actions>
1150 </action>
1151 </page>
1152
1153 <page name="partitionoptions">
1154 <template name="page"/>
1155
1156 <text style="text_l">
1157 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 </text>
1160
1161 <text style="text_m">
1162 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <text style="text_m_accent">
1167 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 </text>
1170
1171 <text style="text_m_accent">
1172 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 </text>
1175
1176 <text style="text_m">
1177 <condition var1="tw_partition_is_present" var2="1"/>
1178 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 </text>
1181
1182 <text style="text_m">
1183 <condition var1="tw_partition_is_present" var2="0"/>
1184 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
1188 <text style="text_m">
1189 <condition var1="tw_partition_removable" var2="1"/>
1190 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <condition var1="tw_partition_removable" var2="0"/>
1196 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m">
1206 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m">
1211 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001213 </text>
1214
1215 <text style="text_m">
1216 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <button style="main_button_half_height">
1221 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1222 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 <actions>
1225 <action function="set">tw_back=partitionoptions</action>
1226 <action function="set">tw_action=resize</action>
1227 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1228 <action function="set">tw_has_action2=1</action>
1229 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001230 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001232 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1234 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1235 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <action function="page">confirm_action</action>
1237 </actions>
1238 </button>
1239
1240 <button style="main_button_half_height">
1241 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1242 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <actions>
1245 <action function="set">tw_back=partitionoptions</action>
1246 <action function="set">tw_action=repair</action>
1247 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1248 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001249 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1252 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1253 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="page">confirm_action</action>
1255 </actions>
1256 </button>
1257
1258 <button style="main_button_half_height">
1259 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 <action function="page">selectfilesystem</action>
1262 </button>
1263
1264 <action>
1265 <touch key="home"/>
1266 <action function="page">main</action>
1267 </action>
1268
1269 <action>
1270 <touch key="back"/>
1271 <action function="page">advancedwipe</action>
1272 </action>
1273 </page>
1274
1275 <page name="refreshfilesystem">
1276 <action>
1277 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001280 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="page">selectfilesystem</action>
1282 </actions>
1283 </action>
1284
1285 <action>
1286 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1287 <actions>
1288 <action function="set">partitionlisterror=1</action>
1289 <action function="set">tw_wipe_list=</action>
1290 <action function="page">advancedwipe</action>
1291 </actions>
1292 </action>
1293 </page>
1294
1295 <page name="selectfilesystem">
1296 <template name="page"/>
1297
1298 <text style="text_l">
1299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m_accent">
1309 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 </text>
1312
1313 <text style="text_m_accent">
1314 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <text style="text_m_fail">
1319 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 </text>
1322
1323 <text style="text_m_fail">
1324 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001325 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001326 </text>
1327
1328 <button style="main_button_half_height">
1329 <condition var1="tw_partition_ext" op="=" var2="1"/>
1330 <placement x="%indent%" y="%row15a_y%"/>
1331 <text>EXT2</text>
1332 <actions>
1333 <action function="set">tw_back=refreshfilesystem</action>
1334 <action function="set">tw_action=changefilesystem</action>
1335 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1336 <action function="set">tw_action_new_file_system=ext2</action>
1337 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1339 <action function="set">tw_text2=EXT2</action>
1340 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1341 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <condition var1="tw_partition_ext" op="=" var2="1"/>
1349 <placement x="%indent%" y="%row18a_y%"/>
1350 <text>EXT3</text>
1351 <actions>
1352 <action function="set">tw_back=refreshfilesystem</action>
1353 <action function="set">tw_action=changefilesystem</action>
1354 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1355 <action function="set">tw_action_new_file_system=ext3</action>
1356 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1358 <action function="set">tw_text2=EXT3</action>
1359 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1360 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1361 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001362 <action function="page">confirm_action</action>
1363 </actions>
1364 </button>
1365
1366 <button style="main_button_half_height">
1367 <condition var1="tw_partition_ext" op="=" var2="1"/>
1368 <placement x="%indent%" y="%row21a_y%"/>
1369 <text>EXT4</text>
1370 <actions>
1371 <action function="set">tw_back=refreshfilesystem</action>
1372 <action function="set">tw_action=changefilesystem</action>
1373 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1374 <action function="set">tw_action_new_file_system=ext4</action>
1375 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1377 <action function="set">tw_text2=EXT4</action>
1378 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1379 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1380 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001381 <action function="page">confirm_action</action>
1382 </actions>
1383 </button>
1384
1385 <button style="main_button_half_height">
1386 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1387 <placement x="%center_x%" y="%row15a_y%"/>
1388 <text>FAT</text>
1389 <actions>
1390 <action function="set">tw_back=refreshfilesystem</action>
1391 <action function="set">tw_action=changefilesystem</action>
1392 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1393 <action function="set">tw_action_new_file_system=vfat</action>
1394 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1396 <action function="set">tw_text2=FAT</action>
1397 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1398 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1399 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001400 <action function="page">confirm_action</action>
1401 </actions>
1402 </button>
1403
1404 <button style="main_button_half_height">
1405 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1406 <placement x="%center_x%" y="%row18a_y%"/>
1407 <text>exFAT</text>
1408 <actions>
1409 <action function="set">tw_back=refreshfilesystem</action>
1410 <action function="set">tw_action=changefilesystem</action>
1411 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1412 <action function="set">tw_action_new_file_system=exfat</action>
1413 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1415 <action function="set">tw_text2=exFAT</action>
1416 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1417 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1418 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001419 <action function="page">confirm_action</action>
1420 </actions>
1421 </button>
1422
1423 <button style="main_button_half_height">
1424 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1425 <placement x="%center_x%" y="%row21a_y%"/>
1426 <text>F2FS</text>
1427 <actions>
1428 <action function="set">tw_back=refreshfilesystem</action>
1429 <action function="set">tw_action=changefilesystem</action>
1430 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1431 <action function="set">tw_action_new_file_system=f2fs</action>
1432 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1434 <action function="set">tw_text2=F2FS</action>
1435 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1436 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1437 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001438 <action function="page">confirm_action</action>
1439 </actions>
1440 </button>
1441
1442 <action>
1443 <touch key="home"/>
1444 <action function="page">main</action>
1445 </action>
1446
1447 <action>
1448 <touch key="back"/>
1449 <action function="page">partitionoptions</action>
1450 </action>
1451 </page>
1452
1453 <page name="backup">
1454 <template name="page"/>
1455
1456 <text style="text_l">
1457 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <text style="text_m">
1462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001464 </text>
1465
1466 <template name="tabs_backup"/>
1467
1468 <fill color="%text_color%">
1469 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1470 </fill>
1471
1472 <button style="tab">
1473 <conditions>
1474 <condition var1="tw_include_encrypted_backup" var2="1"/>
1475 <condition var1="tw_encrypt_backup" var2="0"/>
1476 </conditions>
1477 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001478 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <font resource="font_s" color="%text_color%"/>
1480 <actions>
1481 <action function="set">tw_password_not_match=0</action>
1482 <action function="page">backupencryption</action>
1483 </actions>
1484 </button>
1485
1486 <button style="tab">
1487 <conditions>
1488 <condition var1="tw_include_encrypted_backup" var2="1"/>
1489 <condition var1="tw_encrypt_backup" var2="1"/>
1490 </conditions>
1491 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <font resource="font_s" color="%text_success_color%"/>
1494 <actions>
1495 <action function="set">tw_password_not_match=0</action>
1496 <action function="page">backupencryption</action>
1497 </actions>
1498 </button>
1499
1500 <text style="text_m_accent">
1501 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <text style="text_m">
1506 <placement x="%indent%" y="%row4a_y%"/>
1507 <text>%tw_backup_name%</text>
1508 </text>
1509
1510 <fill color="%fileselector_linecolor%">
1511 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1512 </fill>
1513
1514 <button>
1515 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1516 <fill color="%transparent%"/>
1517 <actions>
1518 <action function="set">tw_fileexists=0</action>
1519 <action function="page">backupname1</action>
1520 </actions>
1521 </button>
1522
1523 <partitionlist>
1524 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 <data name="tw_backup_list"/>
1527 <listtype name="backup"/>
1528 </partitionlist>
1529
1530 <button style="main_button_half_height">
1531 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <actions>
1534 <action function="set">tw_back=backup</action>
1535 <action function="overlay">select_storage</action>
1536 </actions>
1537 </button>
1538
1539 <button style="main_button_half_height">
1540 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <actions>
1543 <action function="refreshsizes"/>
1544 <action function="page">backup</action>
1545 </actions>
1546 </button>
1547
1548 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001549 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001550 <action function="page">backup_run</action>
1551 </slider>
1552
1553 <action>
1554 <touch key="home"/>
1555 <action function="page">main</action>
1556 </action>
1557
1558 <action>
1559 <touch key="back"/>
1560 <action function="page">main</action>
1561 </action>
1562 </page>
1563
1564 <page name="backup_options">
1565 <template name="page"/>
1566
1567 <text style="text_l">
1568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001570 </text>
1571
1572 <text style="text_m">
1573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001574 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001575 </text>
1576
1577 <template name="tabs_backup"/>
1578
1579 <fill color="%text_color%">
1580 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1581 </fill>
1582
1583 <button style="tab">
1584 <conditions>
1585 <condition var1="tw_include_encrypted_backup" var2="1"/>
1586 <condition var1="tw_encrypt_backup" var2="0"/>
1587 </conditions>
1588 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <font resource="font_s" color="%text_color%"/>
1591 <actions>
1592 <action function="set">tw_password_not_match=0</action>
1593 <action function="page">backupencryption</action>
1594 </actions>
1595 </button>
1596
1597 <button style="tab">
1598 <conditions>
1599 <condition var1="tw_include_encrypted_backup" var2="1"/>
1600 <condition var1="tw_encrypt_backup" var2="1"/>
1601 </conditions>
1602 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <font resource="font_s" color="%text_success_color%"/>
1605 <actions>
1606 <action function="set">tw_password_not_match=0</action>
1607 <action function="page">backupencryption</action>
1608 </actions>
1609 </button>
1610
1611 <checkbox>
1612 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <data variable="tw_use_compression"/>
1615 </checkbox>
1616
1617 <checkbox>
1618 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <data variable="tw_skip_md5_generate"/>
1621 </checkbox>
1622
1623 <checkbox>
1624 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <data variable="tw_disable_free_space"/>
1627 </checkbox>
1628
1629 <action>
1630 <touch key="home"/>
1631 <action function="page">main</action>
1632 </action>
1633
1634 <action>
1635 <touch key="back"/>
1636 <action function="page">backup</action>
1637 </action>
1638 </page>
1639
1640 <page name="backupname1">
1641 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="generatebackupname"/>
1644 </action>
1645
1646 <action>
1647 <action function="page">backupname2</action>
1648 </action>
1649 </page>
1650
1651 <page name="backupname2">
1652 <template name="page"/>
1653
1654 <text style="text_l">
1655 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 </text>
1663
1664 <template name="tabs_backup"/>
1665
1666 <fill color="%text_color%">
1667 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1668 </fill>
1669
1670 <button style="tab">
1671 <conditions>
1672 <condition var1="tw_include_encrypted_backup" var2="1"/>
1673 <condition var1="tw_encrypt_backup" var2="0"/>
1674 </conditions>
1675 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 <font resource="font_s" color="%text_color%"/>
1678 <actions>
1679 <action function="set">tw_password_not_match=0</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </button>
1683
1684 <button style="tab">
1685 <conditions>
1686 <condition var1="tw_include_encrypted_backup" var2="1"/>
1687 <condition var1="tw_encrypt_backup" var2="1"/>
1688 </conditions>
1689 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <font resource="font_s" color="%text_success_color%"/>
1692 <actions>
1693 <action function="set">tw_password_not_match=0</action>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </button>
1697
1698 <text style="text_m_accent">
1699 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 </text>
1702
1703 <input>
1704 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1705 <text>%tw_backup_name%</text>
1706 <data name="tw_backup_name"/>
1707 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1708 <actions>
1709 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1710 <action function="set">tw_existpage=backupname2</action>
1711 <action function="set">tw_notexistpage=backup</action>
1712 <action function="page">filecheck</action>
1713 </actions>
1714 </input>
1715
1716 <fill color="%accent_color%">
1717 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1718 </fill>
1719
1720 <fill color="%text_fail_color%">
1721 <condition var1="tw_fileexists" var2="1"/>
1722 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1723 </fill>
1724
1725 <text style="text_m_fail">
1726 <condition var1="tw_fileexists" var2="1"/>
1727 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <button style="main_button_half_height">
1732 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001735 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001736 <action function="page">backup</action>
1737 </actions>
1738 </button>
1739
1740 <button style="main_button_half_height">
1741 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <action function="appenddatetobackupname"/>
1744 </button>
1745
1746 <template name="keyboardtemplate"/>
1747
1748 <action>
1749 <touch key="home"/>
1750 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001752 <action function="page">main</action>
1753 </actions>
1754 </action>
1755
1756 <action>
1757 <touch key="back"/>
1758 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001759 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001760 <action function="page">backup</action>
1761 </actions>
1762 </action>
1763 </page>
1764
1765 <page name="backupencryption">
1766 <template name="page"/>
1767
1768 <text style="text_l">
1769 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 </text>
1772
1773 <text style="text_m">
1774 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <template name="tabs_backup"/>
1779
1780 <button style="tab">
1781 <conditions>
1782 <condition var1="tw_include_encrypted_backup" var2="1"/>
1783 <condition var1="tw_encrypt_backup" var2="0"/>
1784 </conditions>
1785 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <font resource="font_s" color="%text_color%"/>
1788 <actions>
1789 <action function="set">tw_password_not_match=0</action>
1790 <action function="page">backupencryption</action>
1791 </actions>
1792 </button>
1793
1794 <button style="tab">
1795 <conditions>
1796 <condition var1="tw_include_encrypted_backup" var2="1"/>
1797 <condition var1="tw_encrypt_backup" var2="1"/>
1798 </conditions>
1799 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <font resource="font_s" color="%text_success_color%"/>
1802 <actions>
1803 <action function="set">tw_password_not_match=0</action>
1804 <action function="page">backupencryption</action>
1805 </actions>
1806 </button>
1807
1808 <fill color="%text_color%">
1809 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1810 </fill>
1811
1812 <text style="text_m_accent">
1813 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001814 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001815 </text>
1816
1817 <text style="text_m">
1818 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001819 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001820 </text>
1821
1822 <input>
1823 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1824 <text>%tw_backup_encrypt_display%</text>
1825 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1826 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1827 <action function="page">backupencryption2</action>
1828 </input>
1829
1830 <fill color="%accent_color%">
1831 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1832 </fill>
1833
1834 <fill color="%text_fail_color%">
1835 <condition var1="tw_password_not_match" var2="1"/>
1836 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1837 </fill>
1838
1839 <text style="text_m_fail">
1840 <condition var1="tw_password_not_match" var2="1"/>
1841 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001843 </text>
1844
1845 <button style="main_button_half_height">
1846 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001847 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <actions>
1849 <action function="set">tw_encrypt_backup=0</action>
1850 <action function="set">tw_backup_password=</action>
1851 <action function="set">tw_backup_password2=</action>
1852 <action function="set">tw_backup_encrypt_display=</action>
1853 <action function="set">tw_backup_encrypt_display2=</action>
1854 <action function="page">backup</action>
1855 </actions>
1856 </button>
1857
1858 <template name="keyboardtemplate"/>
1859
1860 <action>
1861 <touch key="home"/>
1862 <action function="page">main</action>
1863 </action>
1864
1865 <action>
1866 <touch key="back"/>
1867 <action function="page">backup</action>
1868 </action>
1869 </page>
1870
1871 <page name="backupencryption2">
1872 <template name="page"/>
1873
1874 <text style="text_l">
1875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001877 </text>
1878
1879 <text style="text_m">
1880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <template name="tabs_backup"/>
1885
1886 <button style="tab">
1887 <conditions>
1888 <condition var1="tw_include_encrypted_backup" var2="1"/>
1889 <condition var1="tw_encrypt_backup" var2="0"/>
1890 </conditions>
1891 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 <font resource="font_s" color="%text_color%"/>
1894 <actions>
1895 <action function="set">tw_password_not_match=0</action>
1896 <action function="page">backupencryption</action>
1897 </actions>
1898 </button>
1899
1900 <button style="tab">
1901 <conditions>
1902 <condition var1="tw_include_encrypted_backup" var2="1"/>
1903 <condition var1="tw_encrypt_backup" var2="1"/>
1904 </conditions>
1905 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 <font resource="font_s" color="%text_success_color%"/>
1908 <actions>
1909 <action function="set">tw_password_not_match=0</action>
1910 <action function="page">backupencryption</action>
1911 </actions>
1912 </button>
1913
1914 <fill color="%text_color%">
1915 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1916 </fill>
1917
1918 <text style="text_m_accent">
1919 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </text>
1922
1923 <text style="text_m">
1924 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001925 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001926 </text>
1927
1928 <input>
1929 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1930 <text>%tw_backup_encrypt_display2%</text>
1931 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1932 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1933 <action function="page">checkbackuppassword</action>
1934 </input>
1935
1936 <fill color="%accent_color%">
1937 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <button style="main_button_half_height">
1941 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_backup_password=</action>
1946 <action function="set">tw_backup_password2=</action>
1947 <action function="set">tw_backup_encrypt_display=</action>
1948 <action function="set">tw_backup_encrypt_display2=</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </button>
1952
1953 <template name="keyboardtemplate"/>
1954
1955 <action>
1956 <touch key="home"/>
1957 <action function="page">main</action>
1958 </action>
1959
1960 <action>
1961 <touch key="back"/>
1962 <action function="page">backup</action>
1963 </action>
1964 </page>
1965
1966 <page name="checkbackuppassword">
1967 <action>
1968 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1969 <actions>
1970 <action function="set">tw_encrypt_backup=1</action>
1971 <action function="page">backup</action>
1972 </actions>
1973 </action>
1974
1975 <action>
1976 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1977 <actions>
1978 <action function="set">tw_encrypt_backup=0</action>
1979 <action function="set">tw_password_not_match=1</action>
1980 <action function="set">tw_backup_password=</action>
1981 <action function="set">tw_backup_password2=</action>
1982 <action function="set">tw_backup_encrypt_display=</action>
1983 <action function="set">tw_backup_encrypt_display2=</action>
1984 <action function="page">backupencryption</action>
1985 </actions>
1986 </action>
1987 </page>
1988
1989 <page name="backup_run">
1990 <template name="page"/>
1991
1992 <text style="text_l">
1993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1994 <text>%tw_operation%</text>
1995 </text>
1996
1997 <text style="text_m">
1998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1999 <text>%tw_partition% Partition</text>
2000 </text>
2001
2002 <template name="console"/>
2003
2004 <template name="progress_bar"/>
2005
2006 <text style="text_m_accent">
2007 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002008 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002009 </text>
2010
2011 <text style="text_m">
2012 <placement x="%indent%" y="%row20_y%"/>
2013 <text>%tw_file_progress%</text>
2014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%indent%" y="%row21_y%"/>
2018 <text>%tw_size_progress%</text>
2019 </text>
2020
2021 <button style="main_button_half_height">
2022 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 <action function="cancelbackup"/>
2025 </button>
2026
2027 <action>
2028 <action function="nandroid">backup</action>
2029 </action>
2030
2031 <action>
2032 <condition var1="tw_operation_state" var2="1"/>
2033 <condition var1="tw_cancel_backup" var2="0"/>
2034 <actions>
2035 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002037 <action function="set">tw_show_reboot=1</action>
2038 <action function="page">action_complete</action>
2039 </actions>
2040 </action>
2041
2042 <action>
2043 <condition var1="tw_operation_state" var2="1"/>
2044 <condition var1="tw_cancel_backup" var2="1"/>
2045 <actions>
2046 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002047 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002048 <action function="set">tw_show_reboot=1</action>
2049 <action function="page">action_complete</action>
2050 </actions>
2051 </action>
2052 </page>
2053
2054 <page name="restore">
2055 <template name="page"/>
2056
2057 <text style="text_l">
2058 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <text style="text_m">
2063 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <template name="sort_options"/>
2068
2069 <fileselector>
2070 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002072 <filter folders="1" files="0" nav="0"/>
2073 <path name="tw_backups_folder"/>
2074 <data name="tw_restore" default=""/>
2075 <selection name="tw_restore_name"/>
2076 </fileselector>
2077
2078 <button style="main_button_half_height">
2079 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002080 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002081 <actions>
2082 <action function="set">tw_back=restore</action>
2083 <action function="overlay">select_storage</action>
2084 </actions>
2085 </button>
2086
2087 <action>
2088 <condition var1="tw_restore" op="modified"/>
2089 <actions>
2090 <action function="readBackup"/>
2091 <action function="page">restore_read</action>
2092 </actions>
2093 </action>
2094
2095 <action>
2096 <touch key="home"/>
2097 <action function="page">main</action>
2098 </action>
2099
2100 <action>
2101 <touch key="back"/>
2102 <action function="page">main</action>
2103 </action>
2104 </page>
2105
2106 <page name="restore_read">
2107 <action>
2108 <condition var1="tw_restore_encrypted" var2="1"/>
2109 <actions>
2110 <action function="set">tw_password_fail=0</action>
2111 <action function="page">restore_decrypt</action>
2112 </actions>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_restore_encrypted" var2="0"/>
2117 <actions>
2118 <action function="page">restore_select</action>
2119 </actions>
2120 </action>
2121 </page>
2122
2123 <page name="restore_decrypt">
2124 <template name="page"/>
2125
2126 <text style="text_l">
2127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <text style="text_m">
2132 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </text>
2135
2136 <text style="text_m_accent">
2137 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <input>
2142 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2143 <text>%tw_restore_display%</text>
2144 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2145 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2146 <action function="page">try_restore_decrypt</action>
2147 </input>
2148
2149 <fill color="%accent_color%">
2150 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <fill color="%text_fail_color%">
2154 <condition var1="tw_password_fail" var2="1"/>
2155 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2156 </fill>
2157
2158 <text style="text_m_fail">
2159 <condition var1="tw_password_fail" var2="1"/>
2160 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 </text>
2163
2164 <button style="main_button_half_height">
2165 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002166 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002167 <actions>
2168 <action function="set">tw_page_done=1</action>
2169 <action function="page">restore</action>
2170 </actions>
2171 </button>
2172
2173 <button style="main_button_half_height">
2174 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002176 <actions>
2177 <action function="set">tw_back=restore</action>
2178 <action function="set">tw_action=cmd</action>
2179 <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 -05002180 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2181 <action function="set">tw_text2=%tw_restore_name%</action>
2182 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2183 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2184 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2185 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002186 <action function="page">confirm_action</action>
2187 </actions>
2188 </button>
2189
2190 <template name="keyboardtemplate"/>
2191
2192 <action>
2193 <touch key="home"/>
2194 <action function="page">main</action>
2195 </action>
2196
2197 <action>
2198 <touch key="back"/>
2199 <action function="page">restore</action>
2200 </action>
2201 </page>
2202
2203 <page name="try_restore_decrypt">
2204 <template name="page"/>
2205
2206 <text style="text_l">
2207 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002213 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </text>
2215
2216 <template name="console"/>
2217
2218 <template name="progress_bar"/>
2219
2220 <action>
2221 <action function="decrypt_backup"/>
2222 </action>
2223
2224 <action>
2225 <conditions>
2226 <condition var1="tw_operation_state" var2="1"/>
2227 <condition var1="tw_operation_status" op="!=" var2="0"/>
2228 </conditions>
2229 <actions>
2230 <action function="set">tw_password_fail=1</action>
2231 <action function="page">restore_decrypt</action>
2232 </actions>
2233 </action>
2234
2235 <action>
2236 <conditions>
2237 <condition var1="tw_operation_state" var2="1"/>
2238 <condition var1="tw_operation_status" op="=" var2="0"/>
2239 </conditions>
2240 <actions>
2241 <action function="set">tw_page_done=1</action>
2242 <action function="page">restore_select</action>
2243 </actions>
2244 </action>
2245 </page>
2246
2247 <page name="restore_select">
2248 <template name="page"/>
2249
2250 <text style="text_l">
2251 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002252 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </text>
2254
2255 <text style="text_m">
2256 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <text style="text_m_accent">
2261 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002262 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002263 </text>
2264
2265 <text style="text_m">
2266 <placement x="%indent%" y="%row3_y%"/>
2267 <text>%tw_restore_name%</text>
2268 </text>
2269
2270 <fill color="%fileselector_linecolor%">
2271 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2272 </fill>
2273
2274 <button>
2275 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2276 <fill color="%transparent%"/>
2277 <actions>
2278 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2279 <action function="set">tw_fileexists=0</action>
2280 <action function="page">renamebackup</action>
2281 </actions>
2282 </button>
2283
2284 <partitionlist>
2285 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2288 <listtype name="restore"/>
2289 </partitionlist>
2290
2291 <checkbox>
2292 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002293 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <data variable="tw_skip_md5_check"/>
2295 </checkbox>
2296
2297 <button style="main_button_half_height">
2298 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002299 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <actions>
2301 <action function="set">tw_back=restore</action>
2302 <action function="set">tw_action=cmd</action>
2303 <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 -05002304 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002305 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2307 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2308 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2309 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002310 <action function="page">confirm_action</action>
2311 </actions>
2312 </button>
2313
2314 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002315 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <action function="page">restore_run</action>
2317 </slider>
2318
2319 <action>
2320 <touch key="home"/>
2321 <action function="page">main</action>
2322 </action>
2323
2324 <action>
2325 <touch key="back"/>
2326 <action function="page">restore</action>
2327 </action>
2328 </page>
2329
2330 <page name="renamebackup">
2331 <template name="page"/>
2332
2333 <text style="text_l">
2334 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <text style="text_m">
2339 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 </text>
2342
2343 <text style="text_m_accent">
2344 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <input>
2349 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2350 <text>%tw_backup_rename%</text>
2351 <data name="tw_backup_rename"/>
2352 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2353 <actions>
2354 <action function="set">tw_back=restore</action>
2355 <action function="set">tw_action=cmd</action>
2356 <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 -05002357 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2358 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2359 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2360 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2361 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002362 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2363 <action function="set">tw_existpage=renamebackup</action>
2364 <action function="set">tw_notexistpage=confirm_action</action>
2365 <action function="page">filecheck</action>
2366 </actions>
2367 </input>
2368
2369 <fill color="%accent_color%">
2370 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2371 </fill>
2372
2373 <fill color="%text_fail_color%">
2374 <condition var1="tw_fileexists" var2="1"/>
2375 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2376 </fill>
2377
2378 <text style="text_m_fail">
2379 <condition var1="tw_fileexists" var2="1"/>
2380 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <button style="main_button_half_height">
2385 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">restore_select</action>
2388 </button>
2389
2390 <template name="keyboardtemplate"/>
2391
2392 <action>
2393 <touch key="home"/>
2394 <action function="page">main</action>
2395 </action>
2396
2397 <action>
2398 <touch key="back"/>
2399 <action function="page">restore_select</action>
2400 </action>
2401 </page>
2402
2403 <page name="restore_run">
2404 <template name="page"/>
2405
2406 <text style="text_l">
2407 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002409 </text>
2410
2411 <text style="text_m">
2412 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2413 <text>%tw_operation% %tw_partition%</text>
2414 </text>
2415
2416 <template name="console"/>
2417
2418 <template name="progress_bar"/>
2419
2420 <text style="text_m_accent">
2421 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <text style="text_m">
2426 <placement x="%indent%" y="%row20_y%"/>
2427 <text>%tw_size_progress%</text>
2428 </text>
2429
2430 <action>
2431 <condition var1="tw_operation_state" var2="1"/>
2432 <actions>
2433 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002434 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002435 <action function="set">tw_show_reboot=1</action>
2436 <action function="page">action_complete</action>
2437 </actions>
2438 </action>
2439
2440 <action>
2441 <action function="nandroid">restore</action>
2442 </action>
2443 </page>
2444
2445 <page name="mount">
2446 <template name="page"/>
2447
2448 <text style="text_l">
2449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <partitionlist>
2459 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <listtype name="mount"/>
2462 </partitionlist>
2463
2464 <button style="checkbox">
2465 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2466 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <image resource="checkbox_false"/>
2469 <action function="mountsystemtoggle">1</action>
2470 </button>
2471
2472 <button style="checkbox">
2473 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2474 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <image resource="checkbox_true"/>
2477 <actions>
2478 <action function="set">tw_lifetime_writes=2</action>
2479 <action function="page">system_readonly_check</action>
2480 </actions>
2481 </button>
2482
2483 <button style="main_button_half_height">
2484 <condition var1="tw_has_usb_storage" var2="1"/>
2485 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <action function="page">usb_mount</action>
2488 </button>
2489
2490 <button style="main_button_half_height">
2491 <conditions>
2492 <condition var1="tw_is_encrypted" var2="1"/>
2493 <condition var1="tw_is_decrypted" var2="0"/>
2494 </conditions>
2495 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002496 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002497 <action function="page">decrypt</action>
2498 </button>
2499
2500 <button style="main_button_half_height">
2501 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <actions>
2504 <action function="set">tw_back=mount</action>
2505 <action function="overlay">select_storage</action>
2506 </actions>
2507 </button>
2508
2509 <button style="main_button_half_height">
2510 <conditions>
2511 <condition var1="tw_has_mtp" var2="1"/>
2512 <condition var1="tw_mtp_enabled" var2="0"/>
2513 </conditions>
2514 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 <action function="startmtp"/>
2517 </button>
2518
2519 <button style="main_button_half_height">
2520 <conditions>
2521 <condition var1="tw_has_mtp" var2="1"/>
2522 <condition var1="tw_mtp_enabled" var2="1"/>
2523 </conditions>
2524 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="stopmtp"/>
2527 </button>
2528
2529 <action>
2530 <touch key="home"/>
2531 <action function="page">main</action>
2532 </action>
2533
2534 <action>
2535 <touch key="back"/>
2536 <action function="page">main</action>
2537 </action>
2538 </page>
2539
2540 <page name="usb_mount">
2541 <template name="page"/>
2542
2543 <text style="text_l">
2544 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 </text>
2547
2548 <text style="text_m">
2549 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002550 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002551 </text>
2552
2553 <text style="text_m_accent">
2554 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002555 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002556 </text>
2557
2558 <text style="text_m">
2559 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002560 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002561 </text>
2562
2563 <text style="text_m">
2564 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 </text>
2567
2568 <button style="main_button_half_height">
2569 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002570 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002571 <action function="page">usb_umount</action>
2572 </button>
2573
2574 <action>
2575 <action function="mount">usb</action>
2576 <action function="set">tw_busy=1</action>
2577 </action>
2578 </page>
2579
2580 <page name="usb_umount">
2581 <action>
2582 <action function="unmount">usb</action>
2583 </action>
2584
2585 <action>
2586 <action function="page">mount</action>
2587 <action function="set">tw_busy=0</action>
2588 </action>
2589 </page>
2590
2591 <page name="system_readonly_check">
2592 <action>
2593 <action function="checkpartitionlifetimewrites">/system</action>
2594 </action>
2595
2596 <action>
2597 <condition var1="tw_lifetime_writes" var2="1"/>
2598 <actions>
2599 <action function="mountsystemtoggle">0</action>
2600 <action function="page">mount</action>
2601 </actions>
2602 </action>
2603
2604 <action>
2605 <condition var1="tw_lifetime_writes" var2="0"/>
2606 <actions>
2607 <action function="set">tw_back=mount</action>
2608 <action function="page">system_readonly</action>
2609 </actions>
2610 </action>
2611 </page>
2612
2613 <page name="reboot">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002618 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <button style="main_button">
2622 <condition var1="tw_reboot_system" var2="1"/>
2623 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 <actions>
2626 <action function="set">tw_back=reboot</action>
2627 <action function="set">tw_action=reboot</action>
2628 <action function="set">tw_action_param=system</action>
2629 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2631 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2632 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2633 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2634 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002635 <action function="page">rebootcheck</action>
2636 </actions>
2637 </button>
2638
2639 <button style="main_button">
2640 <condition var1="tw_reboot_poweroff" var2="1"/>
2641 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <actions>
2644 <action function="set">tw_back=reboot</action>
2645 <action function="set">tw_action=reboot</action>
2646 <action function="set">tw_action_param=poweroff</action>
2647 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2649 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2650 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2651 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2652 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <action function="page">rebootcheck</action>
2654 </actions>
2655 </button>
2656
2657 <button style="main_button">
2658 <condition var1="tw_reboot_recovery" var2="1"/>
2659 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002661 <actions>
2662 <action function="set">tw_back=reboot</action>
2663 <action function="set">tw_action=reboot</action>
2664 <action function="set">tw_action_param=recovery</action>
2665 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2667 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2668 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2669 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2670 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002671 <action function="page">rebootcheck</action>
2672 </actions>
2673 </button>
2674
2675 <button style="main_button">
2676 <condition var1="tw_reboot_bootloader" var2="1"/>
2677 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <actions>
2680 <action function="set">tw_back=reboot</action>
2681 <action function="set">tw_action=reboot</action>
2682 <action function="set">tw_action_param=bootloader</action>
2683 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2685 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2686 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2687 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2688 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002689 <action function="page">rebootcheck</action>
2690 </actions>
2691 </button>
2692
2693 <button style="main_button">
2694 <condition var1="tw_download_mode" var2="1"/>
2695 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 <actions>
2698 <action function="set">tw_back=reboot</action>
2699 <action function="set">tw_action=reboot</action>
2700 <action function="set">tw_action_param=download</action>
2701 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2703 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2704 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2705 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2706 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 <action function="page">rebootcheck</action>
2708 </actions>
2709 </button>
2710
2711 <action>
2712 <touch key="home"/>
2713 <action function="page">main</action>
2714 </action>
2715
2716 <action>
2717 <touch key="back"/>
2718 <action function="page">main</action>
2719 </action>
2720 </page>
2721
2722 <page name="system_readonly">
2723 <template name="page"/>
2724
2725 <text style="text_l">
2726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002727 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002728 </text>
2729
2730 <text style="text_m_accent">
2731 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002732 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002733 </text>
2734
2735 <text style="text_m">
2736 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002738 </text>
2739
2740 <text style="text_m">
2741 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002742 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002743 </text>
2744
2745 <text style="text_m">
2746 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <text style="text_m">
2751 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002752 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002753 </text>
2754
2755 <text style="text_m_fail">
2756 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <text style="text_m_fail">
2761 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <checkbox>
2766 <condition var1="tw_is_encrypted" var2="0"/>
2767 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <data variable="tw_never_show_system_ro_page"/>
2770 </checkbox>
2771
2772 <button style="main_button_half_height">
2773 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <actions>
2776 <action function="mountsystemtoggle">1</action>
2777 <action function="set">tw_page_done=1</action>
2778 <action function="page">%tw_back%</action>
2779 </actions>
2780 </button>
2781
z31s1g608d7ff2016-01-18 19:47:25 +01002782 <button style="main_button_half_height">
2783 <placement x="%center_x%" y="%row18a_y%"/>
2784 <text>{@sel_lang_btn=Select Language}</text>
2785 <action function="overlay">select_language</action>
2786 </button>
2787
z31s1g28f0a922015-11-07 18:50:22 +01002788 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002790 <actions>
2791 <action function="mountsystemtoggle">0</action>
2792 <action function="set">tw_page_done=1</action>
2793 <action function="page">%tw_back%</action>
2794 </actions>
2795 </slider>
2796 </page>
2797
2798 <page name="settings">
2799 <template name="page"/>
2800
2801 <text style="text_l">
2802 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m">
2807 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <template name="tabs_settings"/>
2812
2813 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002815 </fill>
2816
2817 <listbox style="scrolllist">
2818 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2819 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002821 <data variable="tw_signed_zip_verify"/>
2822 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002824 <data variable="tw_rm_rf"/>
2825 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002827 <data variable="tw_skip_md5_generate"/>
2828 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002829 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002830 <data variable="tw_skip_md5_check"/>
2831 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002833 <data variable="tw_military_time"/>
2834 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002835 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002836 <data variable="tw_samsung_navbar"/>
2837 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002838 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002839 <data variable="tw_simulate_actions"/>
2840 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002842 <condition var1="tw_simulate_actions" var2="1"/>
2843 <data variable="tw_simulate_fail"/>
2844 </listitem>
2845 </listbox>
2846
2847 <button style="main_button_half_height">
2848 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002849 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002850 <actions>
2851 <action function="set">tw_samsung_navbar=0</action>
2852 <action function="set">tw_tab_icons=0</action>
2853 <action function="restoredefaultsettings"/>
2854 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002855 </button>
2856
2857 <action>
2858 <touch key="home"/>
2859 <action function="page">main</action>
2860 </action>
2861
2862 <action>
2863 <touch key="back"/>
2864 <action function="page">main</action>
2865 </action>
2866 </page>
2867
2868 <page name="settings_timezone">
2869 <template name="page"/>
2870
2871 <text style="text_l">
2872 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002873 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002874 </text>
2875
2876 <text style="text_m">
2877 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002878 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002879 </text>
2880
2881 <template name="tabs_settings"/>
2882
2883 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </fill>
2886
2887 <listbox>
2888 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002890 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002891 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2892 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2893 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2894 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2895 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2896 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2897 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2898 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2899 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2900 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2901 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2902 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2903 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2904 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2905 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2906 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2907 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2908 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2909 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2910 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2911 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2912 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2913 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2914 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002915 </listbox>
2916
2917 <text style="text_m_accent">
2918 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002920 </text>
2921
2922 <button style="button_quarter_width">
2923 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002924 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002925 <action function="set">tw_time_zone_guioffset=0</action>
2926 </button>
2927
2928 <button style="button_quarter_width">
2929 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <action function="set">tw_time_zone_guioffset=15</action>
2932 </button>
2933
2934 <button style="button_quarter_width">
2935 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 <action function="set">tw_time_zone_guioffset=30</action>
2938 </button>
2939
2940 <button style="button_quarter_width">
2941 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002942 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002943 <action function="set">tw_time_zone_guioffset=45</action>
2944 </button>
2945
2946 <checkbox>
2947 <placement x="%indent%" y="%row18a_y%"/>
2948 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002950 <data variable="tw_time_zone_guidst"/>
2951 <image checked="checkbox_true" unchecked="checkbox_false"/>
2952 </checkbox>
2953
2954 <text color="%text_color%">
2955 <font resource="font_m"/>
2956 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002957 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002958 </text>
2959
2960 <button>
2961 <highlight color="%highlight_color%"/>
2962 <placement x="%center_x%" y="%row21a_y%"/>
2963 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002964 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002965 <image resource="main_button_half_height"/>
2966 <action function="setguitimezone"/>
2967 </button>
2968
2969 <action>
2970 <touch key="home"/>
2971 <action function="page">main</action>
2972 </action>
2973
2974 <action>
2975 <touch key="back"/>
2976 <action function="page">main</action>
2977 </action>
2978 </page>
2979
2980 <page name="settings_screen">
2981 <template name="page"/>
2982
2983 <text style="text_l">
2984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002986 </text>
2987
2988 <text style="text_m">
2989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <template name="tabs_settings"/>
2994
2995 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </fill>
2998
2999 <button>
3000 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3001 <font resource="font_m" color="%text_color%"/>
3002 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3003 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="checkbox_false"/>
3006 <action function="set">tw_screen_timeout_secs=60</action>
3007 </button>
3008
3009 <button>
3010 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3011 <font resource="font_m" color="%text_color%"/>
3012 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3013 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 <image resource="checkbox_true"/>
3016 <action function="set">tw_screen_timeout_secs=0</action>
3017 </button>
3018
3019 <slidervalue>
3020 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3021 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3022 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3025 </slidervalue>
3026
3027 <slidervalue>
3028 <condition var1="tw_has_brightnesss_file" var2="1"/>
3029 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003031 <data variable="tw_brightness_pct" min="10" max="100"/>
3032 <actions>
3033 <action function="set">tw_brightness=%tw_brightness_max%</action>
3034 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3035 <action function="compute">tw_brightness/100</action>
3036 <action function="setbrightness">%tw_brightness%</action>
3037 </actions>
3038 </slidervalue>
3039
3040 <action>
3041 <touch key="home"/>
3042 <action function="page">main</action>
3043 </action>
3044
3045 <action>
3046 <touch key="back"/>
3047 <action function="page">main</action>
3048 </action>
3049 </page>
3050
3051 <page name="settings_vibration">
3052 <template name="page"/>
3053
3054 <text style="text_l">
3055 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003056 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003057 </text>
3058
3059 <text style="text_m">
3060 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003062 </text>
3063
3064 <template name="tabs_settings"/>
3065
3066 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </fill>
3069
3070 <slidervalue>
3071 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 <data variable="tw_button_vibrate" min="0" max="300"/>
3074 </slidervalue>
3075
3076 <slidervalue>
3077 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3080 </slidervalue>
3081
3082 <slidervalue>
3083 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <data variable="tw_action_vibrate" min="0" max="500"/>
3086 </slidervalue>
3087
3088 <action>
3089 <touch key="home"/>
3090 <action function="page">main</action>
3091 </action>
3092
3093 <action>
3094 <touch key="back"/>
3095 <action function="page">main</action>
3096 </action>
3097 </page>
3098
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <page name="settings_language">
3100 <template name="page"/>
3101
3102 <text style="text_l">
3103 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3104 <text>{@settings_hdr=Settings}</text>
3105 </text>
3106
3107 <text style="text_m">
3108 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3109 <text>{@language_hdr=Language - %tw_language_display%}</text>
3110 </text>
3111
3112 <template name="tabs_settings"/>
3113
3114 <fill color="%text_color%">
3115 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3116 </fill>
3117
3118 <listbox>
3119 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3120 <text>{@select_language=Select Language:}</text>
3121 <icon selected="radio_true" unselected="radio_false" />
3122 <data name="tw_language" />
3123 </listbox>
3124
3125 <button style="main_button_half_height">
3126 <placement x="%center_x%" y="%row21a_y%"/>
3127 <text>{@set_language_btn=Set Language}</text>
3128 <action function="setlanguage"></action>
3129 </button>
3130
3131 <action>
3132 <touch key="home" />
3133 <action function="page">main</action>
3134 </action>
3135
3136 <action>
3137 <touch key="back" />
3138 <action function="page">settings</action>
3139 </action>
3140 </page>
3141
z31s1g28f0a922015-11-07 18:50:22 +01003142 <page name="advanced">
3143 <template name="page"/>
3144
3145 <text style="text_l">
3146 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 </text>
3149
3150 <button style="main_button">
3151 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003153 <actions>
3154 <action function="set">tw_back=advanced</action>
3155 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3157 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3158 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3159 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <action function="page">confirm_action</action>
3161 </actions>
3162 </button>
3163
3164 <button style="main_button">
3165 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003167 <action function="page">fixperms</action>
3168 </button>
3169
3170 <button style="main_button">
3171 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3172 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003173 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003174 <actions>
3175 <action function="set">partitionlisterror=0</action>
3176 <action function="page">partsdcardsel</action>
3177 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003178 </button>
3179
3180 <button style="main_button">
3181 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <action function="page">filemanagerlist</action>
3184 </button>
3185
3186 <button style="main_button">
3187 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003189 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003190 </button>
3191
3192 <button style="main_button">
3193 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="reload"/>
3196 </button>
3197
3198 <button style="main_button">
3199 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003200 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003201 <action function="page">sideload</action>
3202 </button>
3203
3204 <button style="main_button">
3205 <condition var1="tw_show_dumlock" var2="1"/>
3206 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="page">htcdumlock</action>
3209 </button>
3210
3211 <button style="main_button">
3212 <condition var1="tw_has_injecttwrp" var2="1"/>
3213 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 <actions>
3216 <action function="set">tw_back=advanced</action>
3217 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3219 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3220 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3221 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="page">confirm_action</action>
3223 </actions>
3224 </button>
3225
3226 <action>
3227 <touch key="home"/>
3228 <action function="page">main</action>
3229 </action>
3230
3231 <action>
3232 <touch key="back"/>
3233 <action function="page">main</action>
3234 </action>
3235 </page>
3236
Ethan Yonker483e9f42016-01-11 22:21:18 -06003237 <page name="partsdcardsel">
3238 <template name="page"/>
3239
3240 <text style="text_l">
3241 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3242 <text>{@advanced_hdr=Advanced}</text>
3243 </text>
3244
3245 <text style="text_m">
3246 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3247 <text>{@part_sd_hdr=Partition SD Card}</text>
3248 </text>
3249
3250 <partitionlist style="partitionlist_storage">
3251 <text>{@sel_storage_list=Select Storage}</text>
3252 <data name="tw_storage_path"/>
3253 <listtype name="storage"/>
3254 </partitionlist>
3255
3256 <text style="text_m_fail">
3257 <condition var1="partitionlisterror" var2="1"/>
3258 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3259 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3260 </text>
3261
3262 <button style="button_third_width">
3263 <placement x="%dialog_button_x%" y="%row14_y%"/>
3264 <text>{@ok_btn=OK}</text>
3265 <actions>
3266 <action function="getpartitiondetails">tw_storage_path</action>
3267 <action function="page">partsdcardcheck</action>
3268 </actions>
3269 </button>
3270
3271 <action>
3272 <touch key="home"/>
3273 <action function="page">main</action>
3274 </action>
3275
3276 <action>
3277 <touch key="back"/>
3278 <action function="page">advanced</action>
3279 </action>
3280 </page>
3281
3282 <page name="partsdcardcheck">
3283 <action>
3284 <condition var1="tw_partition_removable" op="=" var2="1"/>
3285 <actions>
3286 <action function="set">partitionlisterror=0</action>
3287 <action function="page">partsdcard</action>
3288 </actions>
3289 </action>
3290
3291 <action>
3292 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3293 <actions>
3294 <action function="set">partitionlisterror=1</action>
3295 <action function="page">partsdcardsel</action>
3296 </actions>
3297 </action>
3298 </page>
3299
z31s1g28f0a922015-11-07 18:50:22 +01003300 <page name="partsdcard">
3301 <template name="page"/>
3302
3303 <text style="text_l">
3304 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 </text>
3307
3308 <text style="text_m">
3309 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </text>
3312
3313 <text style="text_m_fail">
3314 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m_fail">
3319 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </text>
3322
3323 <text style="text_m_accent">
3324 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <text style="text_m">
3329 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3330 <text>%tw_sdext_size%</text>
3331 </text>
3332
3333 <button style="button_quarter_width">
3334 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003336 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </button>
3338
3339 <button style="button_quarter_width">
3340 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003342 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </button>
3344
3345 <text style="text_m_accent">
3346 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </text>
3349
3350 <text style="text_m">
3351 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3352 <text>%tw_swap_size%</text>
3353 </text>
3354
3355 <button style="button_quarter_width">
3356 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003357 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003358 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003359 </button>
3360
3361 <button style="button_quarter_width">
3362 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003364 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </button>
3366
3367 <text style="text_m_accent">
3368 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003370 </text>
3371
3372 <text style="text_m">
3373 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3374 <text>%tw_sdpart_file_system%</text>
3375 </text>
3376
3377 <button style="button_quarter_width">
3378 <placement x="%indent%" y="%row14_y%"/>
3379 <text>EXT3</text>
3380 <action function="set">tw_sdpart_file_system=ext3</action>
3381 </button>
3382
3383 <button style="button_quarter_width">
3384 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3385 <text>EXT4</text>
3386 <action function="set">tw_sdpart_file_system=ext4</action>
3387 </button>
3388
3389 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003390 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003391 <action function="page">partsdcardaction</action>
3392 <actions>
3393 <action function="set">tw_back=partsdcard</action>
3394 <action function="set">tw_action=partitionsd</action>
3395 <action function="set">tw_has_action2=1</action>
3396 <action function="set">tw_action2=set</action>
3397 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3399 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3400 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003401 <action function="page">action_page</action>
3402 </actions>
3403 </slider>
3404
3405 <action>
3406 <touch key="home"/>
3407 <action function="page">main</action>
3408 </action>
3409
3410 <action>
3411 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003412 <actions>
3413 <action function="set">partitionlisterror=0</action>
3414 <action function="page">partsdcardsel</action>
3415 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003416 </action>
3417 </page>
3418
3419 <page name="htcdumlock">
3420 <template name="page"/>
3421
3422 <text style="text_l">
3423 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003425 </text>
3426
3427 <text style="text_m">
3428 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003429 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003430 </text>
3431
3432 <button style="main_button_half_height_full_width">
3433 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 <actions>
3436 <action function="set">tw_back=htcdumlock</action>
3437 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3439 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3440 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3441 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003442 <action function="page">confirm_action</action>
3443 </actions>
3444 </button>
3445
3446 <button style="main_button_half_height_full_width">
3447 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <actions>
3450 <action function="set">tw_back=htcdumlock</action>
3451 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3453 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3454 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3455 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <action function="page">confirm_action</action>
3457 </actions>
3458 </button>
3459
3460 <button style="main_button_half_height_full_width">
3461 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <actions>
3464 <action function="set">tw_back=htcdumlock</action>
3465 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3467 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3468 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3469 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <action function="page">confirm_action</action>
3471 </actions>
3472 </button>
3473
3474 <action>
3475 <touch key="home"/>
3476 <action function="page">main</action>
3477 </action>
3478
3479 <action>
3480 <touch key="back"/>
3481 <action function="page">advanced</action>
3482 </action>
3483 </page>
3484
3485 <page name="lock">
3486 <background color="%semi_transparent%"/>
3487
3488 <image>
3489 <image resource="unlock_icon"/>
3490 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3491 </image>
3492
3493 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 <action function="overlay"/>
3496 </slider>
3497 </page>
3498
3499 <page name="filemanagerlist">
3500 <template name="page"/>
3501
3502 <text style="text_l">
3503 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003504 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003505 </text>
3506
3507 <text style="text_m">
3508 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003510 </text>
3511
3512 <template name="sort_options"/>
3513
3514 <fileselector>
3515 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3516 <text>%tw_file_location1%</text>
3517 <filter folders="1" files="1"/>
3518 <path name="tw_file_location1" default="/"/>
3519 <data name="tw_filename1"/>
3520 <selection name="tw_selection1"/>
3521 </fileselector>
3522
3523 <button style="fab">
3524 <image resource="fab_selectfolder"/>
3525 <actions>
3526 <action function="set">tw_filename1=tw_file_location1</action>
3527 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <action function="page">filemanageroptions</action>
3530 </actions>
3531 </button>
3532
3533 <action>
3534 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <action function="set">tw_fm_isfolder=0</action>
3537 </actions>
3538 </action>
3539
3540 <action>
3541 <touch key="home"/>
3542 <action function="page">main</action>
3543 </action>
3544
3545 <action>
3546 <touch key="back"/>
3547 <action function="page">advanced</action>
3548 </action>
3549
3550 <action>
3551 <condition var1="tw_filename1" op="modified"/>
3552 <action function="page">filemanageroptions</action>
3553 </action>
3554 </page>
3555
3556 <page name="filemanageroptions">
3557 <template name="page"/>
3558
3559 <text style="text_l">
3560 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <text style="text_m">
3565 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 </text>
3568
3569 <text style="text_m_accent">
3570 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </text>
3573
3574 <text style="text_m">
3575 <placement x="%indent%" y="%row3_y%"/>
3576 <text>%tw_filename1%</text>
3577 </text>
3578
3579 <button style="main_button_half_height">
3580 <condition var1="tw_fm_isfolder" var2="0"/>
3581 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 <actions>
3584 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <action function="page">choosedestinationfolder</action>
3587 </actions>
3588 </button>
3589
3590 <button style="main_button_half_height">
3591 <condition var1="tw_fm_isfolder" var2="1"/>
3592 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <actions>
3595 <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 -05003596 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003597 <action function="page">choosedestinationfolder</action>
3598 </actions>
3599 </button>
3600
3601 <button style="main_button_half_height">
3602 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 <actions>
3605 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <action function="page">choosedestinationfolder</action>
3608 </actions>
3609 </button>
3610
3611 <button style="main_button_half_height">
3612 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 <actions>
3615 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003616 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003617 <action function="set">tw_fm_text2=</action>
3618 <action function="set">tw_fm_text3=</action>
3619 <action function="set">tw_include_text3=0</action>
3620 <action function="set">tw_back=filemanageroptions</action>
3621 <action function="page">filemanagerconfirm</action>
3622 </actions>
3623 </button>
3624
3625 <button style="main_button_half_height">
3626 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="set">tw_filemanager_rename=0000</action>
3630 <action function="set">tw_fm_text2=</action>
3631 <action function="set">tw_fm_text3=</action>
3632 <action function="set">tw_include_text3=0</action>
3633 <action function="set">tw_back=filemanageroptions</action>
3634 <action function="page">filemanagerchmod</action>
3635 </actions>
3636 </button>
3637
3638 <button style="main_button_half_height">
3639 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 <actions>
3642 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003644 <action function="set">tw_fm_text2=</action>
3645 <action function="set">tw_fm_text3=</action>
3646 <action function="set">tw_include_text3=0</action>
3647 <action function="set">tw_back=filemanageroptions</action>
3648 <action function="page">filemanagerconfirm</action>
3649 </actions>
3650 </button>
3651
3652 <button style="main_button_half_height">
3653 <condition var1="tw_fm_isfolder" var2="0"/>
3654 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <actions>
3657 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003658 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003659 <action function="set">tw_filemanager_command=mv</action>
3660 <action function="page">filemanagerrenamefile</action>
3661 </actions>
3662 </button>
3663
3664 <button style="main_button_half_height">
3665 <condition var1="tw_fm_isfolder" var2="1"/>
3666 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 <actions>
3669 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3672 <action function="page">filemanagerrenamefolder</action>
3673 </actions>
3674 </button>
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">filemanagerlist</action>
3684 </action>
3685 </page>
3686
3687 <page name="choosedestinationfolder">
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_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <template name="sort_options"/>
3701
3702 <fileselector>
3703 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3704 <text>%tw_file_location2%</text>
3705 <filter folders="1" files="0"/>
3706 <path name="tw_file_location2" default="/"/>
3707 <data name="tw_filename2"/>
3708 <selection name="tw_selection2"/>
3709 </fileselector>
3710
3711 <button style="fab">
3712 <image resource="fab_selectfolder"/>
3713 <actions>
3714 <action function="set">tw_fm_text2=to</action>
3715 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3716 <action function="set">tw_include_text3=1</action>
3717 <action function="set">tw_back=filemanageroptions</action>
3718 <action function="page">filemanagerconfirm</action>
3719 </actions>
3720 </button>
3721
3722 <action>
3723 <touch key="home"/>
3724 <action function="page">main</action>
3725 </action>
3726
3727 <action>
3728 <touch key="back"/>
3729 <action function="page">filemanageroptions</action>
3730 </action>
3731 </page>
3732
3733 <page name="filemanagerrenamefile">
3734 <template name="page"/>
3735
3736 <text style="text_l">
3737 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </text>
3740
3741 <text style="text_m">
3742 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003744 </text>
3745
3746 <text style="text_m_accent">
3747 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <input>
3752 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3753 <text>%tw_filemanager_rename%</text>
3754 <data name="tw_filemanager_rename"/>
3755 <restrict minlen="1" maxlen="128"/>
3756 <actions>
3757 <action function="set">tw_fm_text2=to</action>
3758 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3759 <action function="set">tw_include_text3=1</action>
3760 <action function="set">tw_back=filemanageroptions</action>
3761 <action function="page">filemanagerconfirm</action>
3762 </actions>
3763 </input>
3764
3765 <fill color="%accent_color%">
3766 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3767 </fill>
3768
3769 <button style="main_button_half_height">
3770 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 <action function="page">filemanageroptions</action>
3773 </button>
3774
3775 <template name="keyboardtemplate"/>
3776
3777 <action>
3778 <touch key="home"/>
3779 <action function="page">main</action>
3780 </action>
3781
3782 <action>
3783 <touch key="back"/>
3784 <action function="page">filemanageroptions</action>
3785 </action>
3786 </page>
3787
3788 <page name="filemanagerrenamefolder">
3789 <template name="page"/>
3790
3791 <text style="text_l">
3792 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003794 </text>
3795
3796 <text style="text_m">
3797 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 </text>
3800
3801 <text style="text_m_accent">
3802 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 </text>
3805
3806 <input>
3807 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3808 <text>%tw_filemanager_rename%</text>
3809 <data name="tw_filemanager_rename"/>
3810 <restrict minlen="1" maxlen="128"/>
3811 <actions>
3812 <action function="set">tw_fm_text2=to</action>
3813 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3814 <action function="set">tw_include_text3=1</action>
3815 <action function="set">tw_back=filemanageroptions</action>
3816 <action function="page">filemanagerconfirm</action>
3817 </actions>
3818 </input>
3819
3820 <fill color="%accent_color%">
3821 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3822 </fill>
3823
3824 <button style="main_button_half_height">
3825 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003827 <action function="page">filemanageroptions</action>
3828 </button>
3829
3830 <template name="keyboardtemplate"/>
3831
3832 <action>
3833 <touch key="home"/>
3834 <action function="page">main</action>
3835 </action>
3836
3837 <action>
3838 <touch key="back"/>
3839 <action function="page">filemanageroptions</action>
3840 </action>
3841 </page>
3842
3843 <page name="filemanagerchmod">
3844 <template name="page"/>
3845
3846 <text style="text_l">
3847 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <text style="text_m">
3852 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <text style="text_m_accent">
3857 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <input>
3862 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3863 <text>%tw_filemanager_rename%</text>
3864 <data name="tw_filemanager_rename"/>
3865 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3866 <actions>
3867 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3868 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3869 <action function="set">tw_back=filemanageroptions</action>
3870 <action function="page">filemanagerconfirm</action>
3871 </actions>
3872 </input>
3873
3874 <fill color="%accent_color%">
3875 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3876 </fill>
3877
3878 <button style="main_button_half_height">
3879 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 <action function="page">filemanageroptions</action>
3882 </button>
3883
3884 <template name="keyboardtemplate"/>
3885
3886 <action>
3887 <touch key="home"/>
3888 <action function="page">main</action>
3889 </action>
3890
3891 <action>
3892 <touch key="back"/>
3893 <action function="page">filemanageroptions</action>
3894 </action>
3895 </page>
3896
3897 <page name="filemanagerconfirm">
3898 <template name="page"/>
3899
3900 <text style="text_l">
3901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 </text>
3909
3910 <text style="text_m_accent">
3911 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3912 <text>%tw_fm_text1%</text>
3913 </text>
3914
3915 <text style="text_m">
3916 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3917 <text>%tw_filename1%</text>
3918 </text>
3919
3920 <text style="text_m_accent">
3921 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3922 <text>%tw_fm_text2%</text>
3923 </text>
3924
3925 <text style="text_m">
3926 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3927 <text>%tw_fm_text3%</text>
3928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 </text>
3934
3935 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 <action function="page">filemanageraction</action>
3938 </slider>
3939
3940 <action>
3941 <touch key="back"/>
3942 <action function="page">%tw_back%</action>
3943 </action>
3944
3945 <action>
3946 <touch key="home"/>
3947 <action function="page">main</action>
3948 </action>
3949 </page>
3950
3951 <page name="filemanageraction">
3952 <template name="page"/>
3953
3954 <text style="text_l">
3955 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </text>
3958
3959 <text style="text_m">
3960 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3961 <text>%tw_fm_text1%</text>
3962 </text>
3963
3964 <template name="console"/>
3965
3966 <template name="progress_bar"/>
3967
3968 <action>
3969 <conditions>
3970 <condition var1="tw_operation_state" var2="1"/>
3971 <condition var1="tw_operation_status" var2="0"/>
3972 </conditions>
3973 <actions>
3974 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <action function="page">action_complete</action>
3977 </actions>
3978 </action>
3979
3980 <action>
3981 <conditions>
3982 <condition var1="tw_operation_state" var2="1"/>
3983 <condition var1="tw_operation_status" op="!=" var2="0"/>
3984 </conditions>
3985 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003987 <action function="page">action_complete</action>
3988 </actions>
3989 </action>
3990
3991 <action>
3992 <condition var1="tw_include_text3" var2="0"/>
3993 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3994 </action>
3995
3996 <action>
3997 <condition var1="tw_include_text3" var2="1"/>
3998 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3999 </action>
4000 </page>
4001
4002 <page name="decrypt">
4003 <template name="page"/>
4004
4005 <action>
4006 <condition var1="tw_crypto_pwtype" var2="2"/>
4007 <action function="page">decrypt_pattern</action>
4008 </action>
4009
4010 <text style="text_l">
4011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <text style="text_m">
4016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m_accent">
4021 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004023 </text>
4024
4025 <input>
4026 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4027 <text>%tw_crypto_display%</text>
4028 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4029 <restrict minlen="1" maxlen="254"/>
4030 <action function="page">trydecrypt</action>
4031 </input>
4032
4033 <fill color="%accent_color%">
4034 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4035 </fill>
4036
4037 <fill color="%text_fail_color%">
4038 <condition var1="tw_password_fail" var2="1"/>
4039 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4040 </fill>
4041
4042 <text style="text_m_fail">
4043 <condition var1="tw_password_fail" var2="1"/>
4044 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <button style="main_button_half_height">
4049 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 <actions>
4052 <action function="set">tw_page_done=1</action>
4053 <action function="page">main</action>
4054 </actions>
4055 </button>
4056
z31s1g608d7ff2016-01-18 19:47:25 +01004057 <button style="main_button_half_height">
4058 <placement x="%center_x%" y="%row10_y%"/>
4059 <text>{@sel_lang_btn=Select Language}</text>
4060 <action function="overlay">select_language</action>
4061 </button>
4062
z31s1g28f0a922015-11-07 18:50:22 +01004063 <template name="keyboardtemplate"/>
4064 </page>
4065
4066 <page name="decrypt_pattern">
4067 <template name="page"/>
4068
4069 <text style="text_l">
4070 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004071 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004072 </text>
4073
4074 <text style="text_m">
4075 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004077 </text>
4078
4079 <text style="text_m_accent">
4080 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004082 </text>
4083
Aleksa Saraib25a1832015-12-31 17:36:00 +01004084 <text style="text_m_fail">
4085 <condition var1="tw_password_fail" var2="1"/>
4086 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4087 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4088 </text>
4089
z31s1g28f0a922015-11-07 18:50:22 +01004090 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004091 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004092 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4093 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4094 <data name="tw_crypto_password"/>
4095 <action function="page">trydecrypt</action>
4096 </patternpassword>
4097
Aleksa Saraib25a1832015-12-31 17:36:00 +01004098 <button style="button_quarter_width">
4099 <placement x="%indent%" y="%row19a_y%"/>
4100 <text>3x3</text>
4101 <action function="set">tw_gui_pattern_grid_size=3</action>
4102 </button>
4103
4104 <button style="button_quarter_width">
4105 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4106 <text>4x4</text>
4107 <action function="set">tw_gui_pattern_grid_size=4</action>
4108 </button>
4109
4110 <button style="button_quarter_width">
4111 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4112 <text>5x5</text>
4113 <action function="set">tw_gui_pattern_grid_size=5</action>
4114 </button>
4115
4116 <button style="button_quarter_width">
4117 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4118 <text>6x6</text>
4119 <action function="set">tw_gui_pattern_grid_size=6</action>
4120 </button>
4121
z31s1g28f0a922015-11-07 18:50:22 +01004122 <button style="main_button_half_height">
4123 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004125 <actions>
4126 <action function="set">tw_page_done=1</action>
4127 <action function="page">main</action>
4128 </actions>
4129 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004130
4131 <button style="main_button_half_height">
4132 <placement x="%center_x%" y="%row21a_y%"/>
4133 <text>{@sel_lang_btn=Select Language}</text>
4134 <action function="overlay">select_language</action>
4135 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004136 </page>
4137
4138 <page name="trydecrypt">
4139 <template name="page"/>
4140
4141 <text style="text_l">
4142 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004143 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004144 </text>
4145
4146 <text style="text_m">
4147 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004148 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004149 </text>
4150
4151 <template name="console"/>
4152
4153 <template name="progress_bar"/>
4154
4155 <action>
4156 <action function="decrypt"/>
4157 </action>
4158
4159 <action>
4160 <conditions>
4161 <condition var1="tw_operation_state" var2="1"/>
4162 <condition var1="tw_operation_status" op="!=" var2="0"/>
4163 </conditions>
4164 <actions>
4165 <action function="set">tw_password_fail=1</action>
4166 <action function="page">decrypt</action>
4167 </actions>
4168 </action>
4169
4170 <action>
4171 <conditions>
4172 <condition var1="tw_operation_state" var2="1"/>
4173 <condition var1="tw_operation_status" op="=" var2="0"/>
4174 </conditions>
4175 <actions>
4176 <action function="set">tw_page_done=1</action>
4177 <action function="page">main</action>
4178 </actions>
4179 </action>
4180 </page>
4181
z31s1g28f0a922015-11-07 18:50:22 +01004182 <page name="terminalcommand">
4183 <template name="page"/>
4184
z31s1g56189522016-01-13 19:12:40 +01004185 <fill color="%background_color%">
4186 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004187 </fill>
4188
z31s1g56189522016-01-13 19:12:40 +01004189 <terminal>
4190 <condition var1="tw_hide_kb" var2="0"/>
4191 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4192 </terminal>
4193
4194 <terminal>
4195 <condition var1="tw_hide_kb" var2="1"/>
4196 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4197 </terminal>
4198
4199 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004200
4201 <template name="keyboardtemplate"/>
4202
z31s1g608d7ff2016-01-18 19:47:25 +01004203 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004204 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004205 </fill>
z31s1g56189522016-01-13 19:12:40 +01004206
z31s1g608d7ff2016-01-18 19:47:25 +01004207 <button>
z31s1g56189522016-01-13 19:12:40 +01004208 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4209 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4210 <image resource="back" />
4211 <condition var1="tw_busy" var2="0" />
4212 <actions>
4213 <action function="set">tw_hide_kb=0</action>
4214 <action function="key">back</action>
4215 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004216 </button>
z31s1g56189522016-01-13 19:12:40 +01004217
z31s1g608d7ff2016-01-18 19:47:25 +01004218 <button>
z31s1g56189522016-01-13 19:12:40 +01004219 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4220 <condition var1="tw_hide_kb" op="=" var2="0" />
4221 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4222 <image resource="kb_hide" />
4223 <condition var1="tw_busy" var2="0" />
4224 <actions>
4225 <action function="set">tw_hide_kb=1</action>
4226 <action function="page">terminalcommand</action>
4227 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004228 </button>
z31s1g56189522016-01-13 19:12:40 +01004229
z31s1g608d7ff2016-01-18 19:47:25 +01004230 <button>
z31s1g56189522016-01-13 19:12:40 +01004231 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4232 <condition var1="tw_hide_kb" op="=" var2="1" />
4233 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4234 <image resource="kb_show" />
4235 <condition var1="tw_busy" var2="0" />
4236 <actions>
4237 <action function="set">tw_hide_kb=0</action>
4238 <action function="page">terminalcommand</action>
4239 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004240 </button>
z31s1g56189522016-01-13 19:12:40 +01004241
z31s1g608d7ff2016-01-18 19:47:25 +01004242 <button>
z31s1g56189522016-01-13 19:12:40 +01004243 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4244 <image resource="home" />
4245 <condition var1="tw_busy" var2="0" />
4246 <actions>
4247 <action function="set">tw_hide_kb=0</action>
4248 <action function="key">home</action>
4249 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004250 </button>
z31s1g56189522016-01-13 19:12:40 +01004251
z31s1g608d7ff2016-01-18 19:47:25 +01004252 <button>
z31s1g56189522016-01-13 19:12:40 +01004253 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4254 <condition var1="tw_hide_kb" op="=" var2="0" />
4255 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4256 <image resource="kb_hide" />
4257 <condition var1="tw_busy" var2="0" />
4258 <actions>
4259 <action function="set">tw_hide_kb=1</action>
4260 <action function="page">terminalcommand</action>
4261 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004262 </button>
z31s1g56189522016-01-13 19:12:40 +01004263
z31s1g608d7ff2016-01-18 19:47:25 +01004264 <button>
z31s1g56189522016-01-13 19:12:40 +01004265 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4266 <condition var1="tw_hide_kb" op="=" var2="1" />
4267 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4268 <image resource="kb_show" />
4269 <condition var1="tw_busy" var2="0" />
4270 <actions>
4271 <action function="set">tw_hide_kb=0</action>
4272 <action function="page">terminalcommand</action>
4273 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004274 </button>
z31s1g56189522016-01-13 19:12:40 +01004275
z31s1g608d7ff2016-01-18 19:47:25 +01004276 <button>
z31s1g56189522016-01-13 19:12:40 +01004277 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4278 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4279 <image resource="back" />
4280 <condition var1="tw_busy" var2="0" />
4281 <actions>
4282 <action function="set">tw_hide_kb=0</action>
4283 <action function="key">back</action>
4284 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004285 </button>
z31s1g56189522016-01-13 19:12:40 +01004286
z31s1g28f0a922015-11-07 18:50:22 +01004287 <action>
4288 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004289 <actions>
4290 <action function="set">tw_hide_kb=0</action>
4291 <action function="page">main</action>
4292 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004293 </action>
4294
4295 <action>
4296 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004297 <actions>
4298 <action function="set">tw_hide_kb=0</action>
4299 <action function="page">advanced</action>
4300 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </action>
z31s1g56189522016-01-13 19:12:40 +01004302
z31s1g608d7ff2016-01-18 19:47:25 +01004303 <action>
z31s1g56189522016-01-13 19:12:40 +01004304 <touch key="power+voldown" />
4305 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004306 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </page>
4308
4309 <page name="sideload">
4310 <template name="page"/>
4311
4312 <text style="text_l">
4313 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004314 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004315 </text>
4316
4317 <text style="text_m">
4318 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004319 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004320 </text>
4321
4322 <checkbox>
4323 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004324 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004325 <data variable="tw_wipe_dalvik"/>
4326 </checkbox>
4327
4328 <checkbox>
4329 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 <data variable="tw_wipe_cache"/>
4332 </checkbox>
4333
4334 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004335 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004336 <actions>
4337 <action function="set">tw_back=advanced</action>
4338 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4340 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4341 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004342 <action function="set">tw_has_cancel=1</action>
4343 <action function="set">tw_show_reboot=1</action>
4344 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4345 <action function="page">action_page</action>
4346 </actions>
4347 </slider>
4348
4349 <action>
4350 <touch key="home"/>
4351 <action function="page">main</action>
4352 </action>
4353
4354 <action>
4355 <touch key="back"/>
4356 <action function="page">advanced</action>
4357 </action>
4358 </page>
4359
4360 <page name="fixperms">
4361 <template name="page"/>
4362
4363 <text style="text_l">
4364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004365 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004366 </text>
4367
4368 <text style="text_m">
4369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004370 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004371 </text>
4372
4373 <text style="text_m_accent">
4374 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004375 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004376 </text>
4377
4378 <checkbox>
4379 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004380 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004381 <data variable="tw_fixperms_restorecon"/>
4382 </checkbox>
4383
4384 <text style="text_m_fail">
4385 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004386 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004387 </text>
4388
4389 <text style="text_m_fail">
4390 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004391 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004392 </text>
4393
4394 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004395 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004396 <actions>
4397 <action function="set">tw_back=advanced</action>
4398 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4400 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4401 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004402 <action function="set">tw_show_reboot=1</action>
4403 <action function="page">action_page</action>
4404 </actions>
4405 </slider>
4406
4407 <action>
4408 <touch key="home"/>
4409 <action function="page">main</action>
4410 </action>
4411
4412 <action>
4413 <touch key="back"/>
4414 <action function="page">advanced</action>
4415 </action>
4416 </page>
4417
4418 <page name="installsu">
4419 <template name="page"/>
4420
4421 <text style="text_l">
4422 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 </text>
4425
4426 <text style="text_m">
4427 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 </text>
4430
4431 <text style="text_m_accent">
4432 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </text>
4435
4436 <text style="text_m">
4437 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004438 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004439 </text>
4440
4441 <text style="text_m">
4442 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004444 </text>
4445
4446 <button style="main_button_half_height">
4447 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004449 <action function="set">tw_page_done=1</action>
4450 </button>
4451
4452 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <actions>
4455 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004457 <action function="set">tw_action_text2=</action>
4458 <action function="page">singleaction_page</action>
4459 </actions>
4460 </slider>
4461 </page>
4462
4463 <page name="slideout">
4464 <fill color="%background_color%">
4465 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4466 </fill>
4467
4468 <console>
4469 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4470 </console>
4471
4472 <button>
4473 <fill color="%transparent%"/>
4474 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4475 <action function="overlay"/>
4476 </button>
4477
4478 <action>
4479 <touch key="power+voldown"/>
4480 <action function="screenshot"/>
4481 </action>
4482 </page>
4483
4484 <page name="select_storage">
4485 <fill color="%semi_transparent%">
4486 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4487 </fill>
4488
4489 <fill color="%background_color%">
4490 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4491 </fill>
4492
4493 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004494 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 <data name="tw_storage_path"/>
4496 <listtype name="storage"/>
4497 </partitionlist>
4498
4499 <button style="button_third_width">
4500 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 <actions>
4503 <action function="set">tw_clear_destination=%tw_back%</action>
4504 <action function="overlay"/>
4505 <action function="page">clear_vars</action>
4506 </actions>
4507 </button>
4508
4509 <fill color="#000000">
4510 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4511 </fill>
4512
4513 <button>
4514 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4515 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4516 <image resource="back"/>
4517 <condition var1="tw_busy" var2="0"/>
4518 <actions>
4519 <action function="overlay"/>
4520 <action function="key">%tw_back%</action>
4521 </actions>
4522 </button>
4523
4524 <button>
4525 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4526 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4527 <image resource="console"/>
4528 <condition var1="tw_busy" var2="0"/>
4529 <action function="overlay">slideout</action>
4530 </button>
4531
4532 <button>
4533 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4534 <image resource="home"/>
4535 <condition var1="tw_busy" var2="0"/>
4536 <actions>
4537 <action function="overlay"/>
4538 <action function="key">home</action>
4539 </actions>
4540 </button>
4541
4542 <button>
4543 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4544 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4545 <image resource="console"/>
4546 <condition var1="tw_busy" var2="0"/>
4547 <action function="overlay">slideout</action>
4548 </button>
4549
4550 <button>
4551 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4552 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4553 <image resource="back"/>
4554 <condition var1="tw_busy" var2="0"/>
4555 <actions>
4556 <action function="overlay"/>
4557 <action function="key">%tw_back%</action>
4558 </actions>
4559 </button>
4560
4561 <action>
4562 <touch key="power+voldown"/>
4563 <action function="screenshot"/>
4564 </action>
4565 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004566
4567 <page name="select_language">
4568 <fill color="%semi_transparent%">
4569 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4570 </fill>
4571
4572 <fill color="%background_color%">
4573 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4574 </fill>
4575
4576 <listbox>
4577 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4578 <text>{@select_language=Select Language:}</text>
4579 <icon selected="radio_true" unselected="radio_false" />
4580 <data name="tw_language" />
4581 </listbox>
4582
4583 <button style="button_third_width">
4584 <placement x="%dialog_button_x%" y="%row14_y%"/>
4585 <text>{@ok_btn=OK}</text>
4586 <actions>
4587 <action function="overlay"/>
4588 <action function="setlanguage"></action>
4589 </actions>
4590 </button>
4591
4592 <fill color="#000000">
4593 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4594 </fill>
4595
4596 <button>
4597 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4598 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4599 <image resource="back"/>
4600 <condition var1="tw_busy" var2="0"/>
4601 <actions>
4602 <action function="overlay"/>
4603 <action function="key">%tw_back%</action>
4604 </actions>
4605 </button>
4606
4607 <button>
4608 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4609 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4610 <image resource="console"/>
4611 <condition var1="tw_busy" var2="0"/>
4612 <action function="overlay">slideout</action>
4613 </button>
4614
4615 <button>
4616 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4617 <image resource="home"/>
4618 <condition var1="tw_busy" var2="0"/>
4619 <actions>
4620 <action function="overlay"/>
4621 <action function="key">home</action>
4622 </actions>
4623 </button>
4624
4625 <button>
4626 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4627 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4628 <image resource="console"/>
4629 <condition var1="tw_busy" var2="0"/>
4630 <action function="overlay">slideout</action>
4631 </button>
4632
4633 <button>
4634 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4635 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4636 <image resource="back"/>
4637 <condition var1="tw_busy" var2="0"/>
4638 <actions>
4639 <action function="overlay"/>
4640 <action function="key">%tw_back%</action>
4641 </actions>
4642 </button>
4643
4644 <action>
4645 <touch key="power+voldown"/>
4646 <action function="screenshot"/>
4647 </action>
4648 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004649 </pages>
4650</recovery>