blob: 0ac2dfb887e752c7e8df3ee0dd8d2437a04490d6 [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
Ethan Yonker66a19492015-12-10 10:19:45 -06001080 <text style="text_m_fail">
1081 <condition var1="tw_has_adopted_storage" var2="1"/>
1082 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1083 <text>{@format_data_adopted=Including Adopted Storage}</text>
1084 </text>
1085
z31s1g28f0a922015-11-07 18:50:22 +01001086 <text style="text_m">
1087 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001089 </text>
1090
1091 <text style="text_m">
1092 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001093 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001094 </text>
1095
1096 <input>
1097 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1098 <text>%tw_confirm_formatdata%</text>
1099 <data name="tw_confirm_formatdata"/>
1100 <restrict minlen="3" maxlen="3" allow="yes"/>
1101 <action function="page">formatdata_confirm</action>
1102 </input>
1103
1104 <fill color="%accent_color%">
1105 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1106 </fill>
1107
1108 <template name="keyboardtemplate"/>
1109
1110 <action>
1111 <touch key="home"/>
1112 <action function="page">main</action>
1113 </action>
1114
1115 <action>
1116 <touch key="back"/>
1117 <action function="page">wipe</action>
1118 </action>
1119 </page>
1120
1121 <page name="formatdata_confirm">
1122 <action>
1123 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1124 <actions>
1125 <action function="set">tw_back=formatdata</action>
1126 <action function="set">tw_action=wipe</action>
1127 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1129 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001130 <action function="page">action_page</action>
1131 </actions>
1132 </action>
1133
1134 <action>
1135 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1136 <action function="page">formatdata</action>
1137 </action>
1138 </page>
1139
1140 <page name="checkpartitionlist">
1141 <action>
1142 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1143 <actions>
1144 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001145 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001146 <action function="page">partitionoptions</action>
1147 </actions>
1148 </action>
1149
1150 <action>
1151 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1152 <actions>
1153 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001154 <action function="page">advancedwipe</action>
1155 </actions>
1156 </action>
1157 </page>
1158
1159 <page name="partitionoptions">
1160 <template name="page"/>
1161
1162 <text style="text_l">
1163 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001164 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001165 </text>
1166
1167 <text style="text_m">
1168 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001169 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001170 </text>
1171
1172 <text style="text_m_accent">
1173 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 </text>
1176
1177 <text style="text_m_accent">
1178 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 </text>
1181
1182 <text style="text_m">
1183 <condition var1="tw_partition_is_present" var2="1"/>
1184 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
1188 <text style="text_m">
1189 <condition var1="tw_partition_is_present" var2="0"/>
1190 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <condition var1="tw_partition_removable" var2="1"/>
1196 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <condition var1="tw_partition_removable" var2="0"/>
1202 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
1206 <text style="text_m">
1207 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001208 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001209 </text>
1210
1211 <text style="text_m">
1212 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </text>
1215
1216 <text style="text_m">
1217 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 </text>
1220
1221 <text style="text_m">
1222 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </text>
1225
1226 <button style="main_button_half_height">
1227 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1228 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <actions>
1231 <action function="set">tw_back=partitionoptions</action>
1232 <action function="set">tw_action=resize</action>
1233 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1234 <action function="set">tw_has_action2=1</action>
1235 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001236 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001239 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1240 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1241 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001242 <action function="page">confirm_action</action>
1243 </actions>
1244 </button>
1245
1246 <button style="main_button_half_height">
1247 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1248 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001249 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <actions>
1251 <action function="set">tw_back=partitionoptions</action>
1252 <action function="set">tw_action=repair</action>
1253 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1254 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1258 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1259 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001260 <action function="page">confirm_action</action>
1261 </actions>
1262 </button>
1263
1264 <button style="main_button_half_height">
1265 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 <action function="page">selectfilesystem</action>
1268 </button>
1269
1270 <action>
1271 <touch key="home"/>
1272 <action function="page">main</action>
1273 </action>
1274
1275 <action>
1276 <touch key="back"/>
1277 <action function="page">advancedwipe</action>
1278 </action>
1279 </page>
1280
1281 <page name="refreshfilesystem">
1282 <action>
1283 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1284 <actions>
1285 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001286 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="page">selectfilesystem</action>
1288 </actions>
1289 </action>
1290
1291 <action>
1292 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1293 <actions>
1294 <action function="set">partitionlisterror=1</action>
1295 <action function="set">tw_wipe_list=</action>
1296 <action function="page">advancedwipe</action>
1297 </actions>
1298 </action>
1299 </page>
1300
1301 <page name="selectfilesystem">
1302 <template name="page"/>
1303
1304 <text style="text_l">
1305 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m_accent">
1315 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001317 </text>
1318
1319 <text style="text_m_accent">
1320 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m_fail">
1325 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001327 </text>
1328
1329 <text style="text_m_fail">
1330 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 </text>
1333
1334 <button style="main_button_half_height">
1335 <condition var1="tw_partition_ext" op="=" var2="1"/>
1336 <placement x="%indent%" y="%row15a_y%"/>
1337 <text>EXT2</text>
1338 <actions>
1339 <action function="set">tw_back=refreshfilesystem</action>
1340 <action function="set">tw_action=changefilesystem</action>
1341 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1342 <action function="set">tw_action_new_file_system=ext2</action>
1343 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1345 <action function="set">tw_text2=EXT2</action>
1346 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1347 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1348 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <action function="page">confirm_action</action>
1350 </actions>
1351 </button>
1352
1353 <button style="main_button_half_height">
1354 <condition var1="tw_partition_ext" op="=" var2="1"/>
1355 <placement x="%indent%" y="%row18a_y%"/>
1356 <text>EXT3</text>
1357 <actions>
1358 <action function="set">tw_back=refreshfilesystem</action>
1359 <action function="set">tw_action=changefilesystem</action>
1360 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1361 <action function="set">tw_action_new_file_system=ext3</action>
1362 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1364 <action function="set">tw_text2=EXT3</action>
1365 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1366 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_height">
1373 <condition var1="tw_partition_ext" op="=" var2="1"/>
1374 <placement x="%indent%" y="%row21a_y%"/>
1375 <text>EXT4</text>
1376 <actions>
1377 <action function="set">tw_back=refreshfilesystem</action>
1378 <action function="set">tw_action=changefilesystem</action>
1379 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1380 <action function="set">tw_action_new_file_system=ext4</action>
1381 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1383 <action function="set">tw_text2=EXT4</action>
1384 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1385 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1386 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001387 <action function="page">confirm_action</action>
1388 </actions>
1389 </button>
1390
1391 <button style="main_button_half_height">
1392 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1393 <placement x="%center_x%" y="%row15a_y%"/>
1394 <text>FAT</text>
1395 <actions>
1396 <action function="set">tw_back=refreshfilesystem</action>
1397 <action function="set">tw_action=changefilesystem</action>
1398 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1399 <action function="set">tw_action_new_file_system=vfat</action>
1400 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1402 <action function="set">tw_text2=FAT</action>
1403 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1404 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1405 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001406 <action function="page">confirm_action</action>
1407 </actions>
1408 </button>
1409
1410 <button style="main_button_half_height">
1411 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1412 <placement x="%center_x%" y="%row18a_y%"/>
1413 <text>exFAT</text>
1414 <actions>
1415 <action function="set">tw_back=refreshfilesystem</action>
1416 <action function="set">tw_action=changefilesystem</action>
1417 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1418 <action function="set">tw_action_new_file_system=exfat</action>
1419 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1421 <action function="set">tw_text2=exFAT</action>
1422 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1423 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1424 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001425 <action function="page">confirm_action</action>
1426 </actions>
1427 </button>
1428
1429 <button style="main_button_half_height">
1430 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1431 <placement x="%center_x%" y="%row21a_y%"/>
1432 <text>F2FS</text>
1433 <actions>
1434 <action function="set">tw_back=refreshfilesystem</action>
1435 <action function="set">tw_action=changefilesystem</action>
1436 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1437 <action function="set">tw_action_new_file_system=f2fs</action>
1438 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001439 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1440 <action function="set">tw_text2=F2FS</action>
1441 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1442 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1443 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001444 <action function="page">confirm_action</action>
1445 </actions>
1446 </button>
1447
1448 <action>
1449 <touch key="home"/>
1450 <action function="page">main</action>
1451 </action>
1452
1453 <action>
1454 <touch key="back"/>
1455 <action function="page">partitionoptions</action>
1456 </action>
1457 </page>
1458
1459 <page name="backup">
1460 <template name="page"/>
1461
1462 <text style="text_l">
1463 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001464 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001465 </text>
1466
1467 <text style="text_m">
1468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001469 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001470 </text>
1471
1472 <template name="tabs_backup"/>
1473
1474 <fill color="%text_color%">
1475 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1476 </fill>
1477
1478 <button style="tab">
1479 <conditions>
1480 <condition var1="tw_include_encrypted_backup" var2="1"/>
1481 <condition var1="tw_encrypt_backup" var2="0"/>
1482 </conditions>
1483 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001485 <font resource="font_s" color="%text_color%"/>
1486 <actions>
1487 <action function="set">tw_password_not_match=0</action>
1488 <action function="page">backupencryption</action>
1489 </actions>
1490 </button>
1491
1492 <button style="tab">
1493 <conditions>
1494 <condition var1="tw_include_encrypted_backup" var2="1"/>
1495 <condition var1="tw_encrypt_backup" var2="1"/>
1496 </conditions>
1497 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001499 <font resource="font_s" color="%text_success_color%"/>
1500 <actions>
1501 <action function="set">tw_password_not_match=0</action>
1502 <action function="page">backupencryption</action>
1503 </actions>
1504 </button>
1505
1506 <text style="text_m_accent">
1507 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001509 </text>
1510
1511 <text style="text_m">
1512 <placement x="%indent%" y="%row4a_y%"/>
1513 <text>%tw_backup_name%</text>
1514 </text>
1515
1516 <fill color="%fileselector_linecolor%">
1517 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1518 </fill>
1519
1520 <button>
1521 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1522 <fill color="%transparent%"/>
1523 <actions>
1524 <action function="set">tw_fileexists=0</action>
1525 <action function="page">backupname1</action>
1526 </actions>
1527 </button>
1528
1529 <partitionlist>
1530 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001532 <data name="tw_backup_list"/>
1533 <listtype name="backup"/>
1534 </partitionlist>
1535
1536 <button style="main_button_half_height">
1537 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001539 <actions>
1540 <action function="set">tw_back=backup</action>
1541 <action function="overlay">select_storage</action>
1542 </actions>
1543 </button>
1544
1545 <button style="main_button_half_height">
1546 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 <actions>
1549 <action function="refreshsizes"/>
1550 <action function="page">backup</action>
1551 </actions>
1552 </button>
1553
1554 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001555 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">backup_run</action>
1557 </slider>
1558
1559 <action>
1560 <touch key="home"/>
1561 <action function="page">main</action>
1562 </action>
1563
1564 <action>
1565 <touch key="back"/>
1566 <action function="page">main</action>
1567 </action>
1568 </page>
1569
1570 <page name="backup_options">
1571 <template name="page"/>
1572
1573 <text style="text_l">
1574 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001575 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001576 </text>
1577
1578 <text style="text_m">
1579 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001580 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001581 </text>
1582
1583 <template name="tabs_backup"/>
1584
1585 <fill color="%text_color%">
1586 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1587 </fill>
1588
1589 <button style="tab">
1590 <conditions>
1591 <condition var1="tw_include_encrypted_backup" var2="1"/>
1592 <condition var1="tw_encrypt_backup" var2="0"/>
1593 </conditions>
1594 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <font resource="font_s" color="%text_color%"/>
1597 <actions>
1598 <action function="set">tw_password_not_match=0</action>
1599 <action function="page">backupencryption</action>
1600 </actions>
1601 </button>
1602
1603 <button style="tab">
1604 <conditions>
1605 <condition var1="tw_include_encrypted_backup" var2="1"/>
1606 <condition var1="tw_encrypt_backup" var2="1"/>
1607 </conditions>
1608 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 <font resource="font_s" color="%text_success_color%"/>
1611 <actions>
1612 <action function="set">tw_password_not_match=0</action>
1613 <action function="page">backupencryption</action>
1614 </actions>
1615 </button>
1616
1617 <checkbox>
1618 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <data variable="tw_use_compression"/>
1621 </checkbox>
1622
1623 <checkbox>
1624 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <data variable="tw_skip_md5_generate"/>
1627 </checkbox>
1628
1629 <checkbox>
1630 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 <data variable="tw_disable_free_space"/>
1633 </checkbox>
1634
1635 <action>
1636 <touch key="home"/>
1637 <action function="page">main</action>
1638 </action>
1639
1640 <action>
1641 <touch key="back"/>
1642 <action function="page">backup</action>
1643 </action>
1644 </page>
1645
1646 <page name="backupname1">
1647 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001649 <action function="generatebackupname"/>
1650 </action>
1651
1652 <action>
1653 <action function="page">backupname2</action>
1654 </action>
1655 </page>
1656
1657 <page name="backupname2">
1658 <template name="page"/>
1659
1660 <text style="text_l">
1661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m">
1666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001667 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001668 </text>
1669
1670 <template name="tabs_backup"/>
1671
1672 <fill color="%text_color%">
1673 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1674 </fill>
1675
1676 <button style="tab">
1677 <conditions>
1678 <condition var1="tw_include_encrypted_backup" var2="1"/>
1679 <condition var1="tw_encrypt_backup" var2="0"/>
1680 </conditions>
1681 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 <font resource="font_s" color="%text_color%"/>
1684 <actions>
1685 <action function="set">tw_password_not_match=0</action>
1686 <action function="page">backupencryption</action>
1687 </actions>
1688 </button>
1689
1690 <button style="tab">
1691 <conditions>
1692 <condition var1="tw_include_encrypted_backup" var2="1"/>
1693 <condition var1="tw_encrypt_backup" var2="1"/>
1694 </conditions>
1695 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001697 <font resource="font_s" color="%text_success_color%"/>
1698 <actions>
1699 <action function="set">tw_password_not_match=0</action>
1700 <action function="page">backupencryption</action>
1701 </actions>
1702 </button>
1703
1704 <text style="text_m_accent">
1705 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <input>
1710 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1711 <text>%tw_backup_name%</text>
1712 <data name="tw_backup_name"/>
1713 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1714 <actions>
1715 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1716 <action function="set">tw_existpage=backupname2</action>
1717 <action function="set">tw_notexistpage=backup</action>
1718 <action function="page">filecheck</action>
1719 </actions>
1720 </input>
1721
1722 <fill color="%accent_color%">
1723 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1724 </fill>
1725
1726 <fill color="%text_fail_color%">
1727 <condition var1="tw_fileexists" var2="1"/>
1728 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1729 </fill>
1730
1731 <text style="text_m_fail">
1732 <condition var1="tw_fileexists" var2="1"/>
1733 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <button style="main_button_half_height">
1738 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001739 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001740 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001741 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001742 <action function="page">backup</action>
1743 </actions>
1744 </button>
1745
1746 <button style="main_button_half_height">
1747 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 <action function="appenddatetobackupname"/>
1750 </button>
1751
1752 <template name="keyboardtemplate"/>
1753
1754 <action>
1755 <touch key="home"/>
1756 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001757 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001758 <action function="page">main</action>
1759 </actions>
1760 </action>
1761
1762 <action>
1763 <touch key="back"/>
1764 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001765 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001766 <action function="page">backup</action>
1767 </actions>
1768 </action>
1769 </page>
1770
1771 <page name="backupencryption">
1772 <template name="page"/>
1773
1774 <text style="text_l">
1775 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001776 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001777 </text>
1778
1779 <text style="text_m">
1780 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001781 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001782 </text>
1783
1784 <template name="tabs_backup"/>
1785
1786 <button style="tab">
1787 <conditions>
1788 <condition var1="tw_include_encrypted_backup" var2="1"/>
1789 <condition var1="tw_encrypt_backup" var2="0"/>
1790 </conditions>
1791 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <font resource="font_s" color="%text_color%"/>
1794 <actions>
1795 <action function="set">tw_password_not_match=0</action>
1796 <action function="page">backupencryption</action>
1797 </actions>
1798 </button>
1799
1800 <button style="tab">
1801 <conditions>
1802 <condition var1="tw_include_encrypted_backup" var2="1"/>
1803 <condition var1="tw_encrypt_backup" var2="1"/>
1804 </conditions>
1805 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001806 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001807 <font resource="font_s" color="%text_success_color%"/>
1808 <actions>
1809 <action function="set">tw_password_not_match=0</action>
1810 <action function="page">backupencryption</action>
1811 </actions>
1812 </button>
1813
1814 <fill color="%text_color%">
1815 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1816 </fill>
1817
1818 <text style="text_m_accent">
1819 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 </text>
1822
1823 <text style="text_m">
1824 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 </text>
1827
1828 <input>
1829 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1830 <text>%tw_backup_encrypt_display%</text>
1831 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1832 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1833 <action function="page">backupencryption2</action>
1834 </input>
1835
1836 <fill color="%accent_color%">
1837 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1838 </fill>
1839
1840 <fill color="%text_fail_color%">
1841 <condition var1="tw_password_not_match" var2="1"/>
1842 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1843 </fill>
1844
1845 <text style="text_m_fail">
1846 <condition var1="tw_password_not_match" var2="1"/>
1847 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001849 </text>
1850
1851 <button style="main_button_half_height">
1852 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 <actions>
1855 <action function="set">tw_encrypt_backup=0</action>
1856 <action function="set">tw_backup_password=</action>
1857 <action function="set">tw_backup_password2=</action>
1858 <action function="set">tw_backup_encrypt_display=</action>
1859 <action function="set">tw_backup_encrypt_display2=</action>
1860 <action function="page">backup</action>
1861 </actions>
1862 </button>
1863
1864 <template name="keyboardtemplate"/>
1865
1866 <action>
1867 <touch key="home"/>
1868 <action function="page">main</action>
1869 </action>
1870
1871 <action>
1872 <touch key="back"/>
1873 <action function="page">backup</action>
1874 </action>
1875 </page>
1876
1877 <page name="backupencryption2">
1878 <template name="page"/>
1879
1880 <text style="text_l">
1881 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001882 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001883 </text>
1884
1885 <text style="text_m">
1886 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <template name="tabs_backup"/>
1891
1892 <button style="tab">
1893 <conditions>
1894 <condition var1="tw_include_encrypted_backup" var2="1"/>
1895 <condition var1="tw_encrypt_backup" var2="0"/>
1896 </conditions>
1897 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 <font resource="font_s" color="%text_color%"/>
1900 <actions>
1901 <action function="set">tw_password_not_match=0</action>
1902 <action function="page">backupencryption</action>
1903 </actions>
1904 </button>
1905
1906 <button style="tab">
1907 <conditions>
1908 <condition var1="tw_include_encrypted_backup" var2="1"/>
1909 <condition var1="tw_encrypt_backup" var2="1"/>
1910 </conditions>
1911 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 <font resource="font_s" color="%text_success_color%"/>
1914 <actions>
1915 <action function="set">tw_password_not_match=0</action>
1916 <action function="page">backupencryption</action>
1917 </actions>
1918 </button>
1919
1920 <fill color="%text_color%">
1921 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1922 </fill>
1923
1924 <text style="text_m_accent">
1925 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001927 </text>
1928
1929 <text style="text_m">
1930 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001931 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001932 </text>
1933
1934 <input>
1935 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1936 <text>%tw_backup_encrypt_display2%</text>
1937 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1938 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1939 <action function="page">checkbackuppassword</action>
1940 </input>
1941
1942 <fill color="%accent_color%">
1943 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1944 </fill>
1945
1946 <button style="main_button_half_height">
1947 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001948 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001949 <actions>
1950 <action function="set">tw_encrypt_backup=0</action>
1951 <action function="set">tw_backup_password=</action>
1952 <action function="set">tw_backup_password2=</action>
1953 <action function="set">tw_backup_encrypt_display=</action>
1954 <action function="set">tw_backup_encrypt_display2=</action>
1955 <action function="page">backup</action>
1956 </actions>
1957 </button>
1958
1959 <template name="keyboardtemplate"/>
1960
1961 <action>
1962 <touch key="home"/>
1963 <action function="page">main</action>
1964 </action>
1965
1966 <action>
1967 <touch key="back"/>
1968 <action function="page">backup</action>
1969 </action>
1970 </page>
1971
1972 <page name="checkbackuppassword">
1973 <action>
1974 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1975 <actions>
1976 <action function="set">tw_encrypt_backup=1</action>
1977 <action function="page">backup</action>
1978 </actions>
1979 </action>
1980
1981 <action>
1982 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1983 <actions>
1984 <action function="set">tw_encrypt_backup=0</action>
1985 <action function="set">tw_password_not_match=1</action>
1986 <action function="set">tw_backup_password=</action>
1987 <action function="set">tw_backup_password2=</action>
1988 <action function="set">tw_backup_encrypt_display=</action>
1989 <action function="set">tw_backup_encrypt_display2=</action>
1990 <action function="page">backupencryption</action>
1991 </actions>
1992 </action>
1993 </page>
1994
1995 <page name="backup_run">
1996 <template name="page"/>
1997
1998 <text style="text_l">
1999 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2000 <text>%tw_operation%</text>
2001 </text>
2002
2003 <text style="text_m">
2004 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2005 <text>%tw_partition% Partition</text>
2006 </text>
2007
2008 <template name="console"/>
2009
2010 <template name="progress_bar"/>
2011
2012 <text style="text_m_accent">
2013 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <text style="text_m">
2018 <placement x="%indent%" y="%row20_y%"/>
2019 <text>%tw_file_progress%</text>
2020 </text>
2021
2022 <text style="text_m">
2023 <placement x="%indent%" y="%row21_y%"/>
2024 <text>%tw_size_progress%</text>
2025 </text>
2026
2027 <button style="main_button_half_height">
2028 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002029 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002030 <action function="cancelbackup"/>
2031 </button>
2032
2033 <action>
2034 <action function="nandroid">backup</action>
2035 </action>
2036
2037 <action>
2038 <condition var1="tw_operation_state" var2="1"/>
2039 <condition var1="tw_cancel_backup" var2="0"/>
2040 <actions>
2041 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002042 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002043 <action function="set">tw_show_reboot=1</action>
2044 <action function="page">action_complete</action>
2045 </actions>
2046 </action>
2047
2048 <action>
2049 <condition var1="tw_operation_state" var2="1"/>
2050 <condition var1="tw_cancel_backup" var2="1"/>
2051 <actions>
2052 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002054 <action function="set">tw_show_reboot=1</action>
2055 <action function="page">action_complete</action>
2056 </actions>
2057 </action>
2058 </page>
2059
2060 <page name="restore">
2061 <template name="page"/>
2062
2063 <text style="text_l">
2064 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002066 </text>
2067
2068 <text style="text_m">
2069 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002070 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002071 </text>
2072
2073 <template name="sort_options"/>
2074
2075 <fileselector>
2076 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002077 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002078 <filter folders="1" files="0" nav="0"/>
2079 <path name="tw_backups_folder"/>
2080 <data name="tw_restore" default=""/>
2081 <selection name="tw_restore_name"/>
2082 </fileselector>
2083
2084 <button style="main_button_half_height">
2085 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002086 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002087 <actions>
2088 <action function="set">tw_back=restore</action>
2089 <action function="overlay">select_storage</action>
2090 </actions>
2091 </button>
2092
2093 <action>
2094 <condition var1="tw_restore" op="modified"/>
2095 <actions>
2096 <action function="readBackup"/>
2097 <action function="page">restore_read</action>
2098 </actions>
2099 </action>
2100
2101 <action>
2102 <touch key="home"/>
2103 <action function="page">main</action>
2104 </action>
2105
2106 <action>
2107 <touch key="back"/>
2108 <action function="page">main</action>
2109 </action>
2110 </page>
2111
2112 <page name="restore_read">
2113 <action>
2114 <condition var1="tw_restore_encrypted" var2="1"/>
2115 <actions>
2116 <action function="set">tw_password_fail=0</action>
2117 <action function="page">restore_decrypt</action>
2118 </actions>
2119 </action>
2120
2121 <action>
2122 <condition var1="tw_restore_encrypted" var2="0"/>
2123 <actions>
2124 <action function="page">restore_select</action>
2125 </actions>
2126 </action>
2127 </page>
2128
2129 <page name="restore_decrypt">
2130 <template name="page"/>
2131
2132 <text style="text_l">
2133 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002134 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002135 </text>
2136
2137 <text style="text_m">
2138 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <text style="text_m_accent">
2143 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002144 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002145 </text>
2146
2147 <input>
2148 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2149 <text>%tw_restore_display%</text>
2150 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2151 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2152 <action function="page">try_restore_decrypt</action>
2153 </input>
2154
2155 <fill color="%accent_color%">
2156 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2157 </fill>
2158
2159 <fill color="%text_fail_color%">
2160 <condition var1="tw_password_fail" var2="1"/>
2161 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2162 </fill>
2163
2164 <text style="text_m_fail">
2165 <condition var1="tw_password_fail" var2="1"/>
2166 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002167 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002168 </text>
2169
2170 <button style="main_button_half_height">
2171 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002173 <actions>
2174 <action function="set">tw_page_done=1</action>
2175 <action function="page">restore</action>
2176 </actions>
2177 </button>
2178
2179 <button style="main_button_half_height">
2180 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002181 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002182 <actions>
2183 <action function="set">tw_back=restore</action>
2184 <action function="set">tw_action=cmd</action>
2185 <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 -05002186 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2187 <action function="set">tw_text2=%tw_restore_name%</action>
2188 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2189 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2190 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2191 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002192 <action function="page">confirm_action</action>
2193 </actions>
2194 </button>
2195
2196 <template name="keyboardtemplate"/>
2197
2198 <action>
2199 <touch key="home"/>
2200 <action function="page">main</action>
2201 </action>
2202
2203 <action>
2204 <touch key="back"/>
2205 <action function="page">restore</action>
2206 </action>
2207 </page>
2208
2209 <page name="try_restore_decrypt">
2210 <template name="page"/>
2211
2212 <text style="text_l">
2213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002214 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002215 </text>
2216
2217 <text style="text_m">
2218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 </text>
2221
2222 <template name="console"/>
2223
2224 <template name="progress_bar"/>
2225
2226 <action>
2227 <action function="decrypt_backup"/>
2228 </action>
2229
2230 <action>
2231 <conditions>
2232 <condition var1="tw_operation_state" var2="1"/>
2233 <condition var1="tw_operation_status" op="!=" var2="0"/>
2234 </conditions>
2235 <actions>
2236 <action function="set">tw_password_fail=1</action>
2237 <action function="page">restore_decrypt</action>
2238 </actions>
2239 </action>
2240
2241 <action>
2242 <conditions>
2243 <condition var1="tw_operation_state" var2="1"/>
2244 <condition var1="tw_operation_status" op="=" var2="0"/>
2245 </conditions>
2246 <actions>
2247 <action function="set">tw_page_done=1</action>
2248 <action function="page">restore_select</action>
2249 </actions>
2250 </action>
2251 </page>
2252
2253 <page name="restore_select">
2254 <template name="page"/>
2255
2256 <text style="text_l">
2257 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002258 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 </text>
2260
2261 <text style="text_m">
2262 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002263 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002264 </text>
2265
2266 <text style="text_m_accent">
2267 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002269 </text>
2270
2271 <text style="text_m">
2272 <placement x="%indent%" y="%row3_y%"/>
2273 <text>%tw_restore_name%</text>
2274 </text>
2275
2276 <fill color="%fileselector_linecolor%">
2277 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2278 </fill>
2279
2280 <button>
2281 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2282 <fill color="%transparent%"/>
2283 <actions>
2284 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2285 <action function="set">tw_fileexists=0</action>
2286 <action function="page">renamebackup</action>
2287 </actions>
2288 </button>
2289
2290 <partitionlist>
2291 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2294 <listtype name="restore"/>
2295 </partitionlist>
2296
2297 <checkbox>
2298 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002299 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <data variable="tw_skip_md5_check"/>
2301 </checkbox>
2302
2303 <button style="main_button_half_height">
2304 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 <actions>
2307 <action function="set">tw_back=restore</action>
2308 <action function="set">tw_action=cmd</action>
2309 <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 -05002310 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002311 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2313 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2314 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2315 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <action function="page">confirm_action</action>
2317 </actions>
2318 </button>
2319
2320 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="page">restore_run</action>
2323 </slider>
2324
2325 <action>
2326 <touch key="home"/>
2327 <action function="page">main</action>
2328 </action>
2329
2330 <action>
2331 <touch key="back"/>
2332 <action function="page">restore</action>
2333 </action>
2334 </page>
2335
2336 <page name="renamebackup">
2337 <template name="page"/>
2338
2339 <text style="text_l">
2340 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <text style="text_m">
2345 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <text style="text_m_accent">
2350 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 </text>
2353
2354 <input>
2355 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2356 <text>%tw_backup_rename%</text>
2357 <data name="tw_backup_rename"/>
2358 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2359 <actions>
2360 <action function="set">tw_back=restore</action>
2361 <action function="set">tw_action=cmd</action>
2362 <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 -05002363 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2364 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2365 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2366 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2367 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002368 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2369 <action function="set">tw_existpage=renamebackup</action>
2370 <action function="set">tw_notexistpage=confirm_action</action>
2371 <action function="page">filecheck</action>
2372 </actions>
2373 </input>
2374
2375 <fill color="%accent_color%">
2376 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2377 </fill>
2378
2379 <fill color="%text_fail_color%">
2380 <condition var1="tw_fileexists" var2="1"/>
2381 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2382 </fill>
2383
2384 <text style="text_m_fail">
2385 <condition var1="tw_fileexists" var2="1"/>
2386 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 </text>
2389
2390 <button style="main_button_half_height">
2391 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <action function="page">restore_select</action>
2394 </button>
2395
2396 <template name="keyboardtemplate"/>
2397
2398 <action>
2399 <touch key="home"/>
2400 <action function="page">main</action>
2401 </action>
2402
2403 <action>
2404 <touch key="back"/>
2405 <action function="page">restore_select</action>
2406 </action>
2407 </page>
2408
2409 <page name="restore_run">
2410 <template name="page"/>
2411
2412 <text style="text_l">
2413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <text style="text_m">
2418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2419 <text>%tw_operation% %tw_partition%</text>
2420 </text>
2421
2422 <template name="console"/>
2423
2424 <template name="progress_bar"/>
2425
2426 <text style="text_m_accent">
2427 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002428 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002429 </text>
2430
2431 <text style="text_m">
2432 <placement x="%indent%" y="%row20_y%"/>
2433 <text>%tw_size_progress%</text>
2434 </text>
2435
2436 <action>
2437 <condition var1="tw_operation_state" var2="1"/>
2438 <actions>
2439 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002440 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <action function="set">tw_show_reboot=1</action>
2442 <action function="page">action_complete</action>
2443 </actions>
2444 </action>
2445
2446 <action>
2447 <action function="nandroid">restore</action>
2448 </action>
2449 </page>
2450
2451 <page name="mount">
2452 <template name="page"/>
2453
2454 <text style="text_l">
2455 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 </text>
2458
2459 <text style="text_m">
2460 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 </text>
2463
2464 <partitionlist>
2465 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 <listtype name="mount"/>
2468 </partitionlist>
2469
2470 <button style="checkbox">
2471 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2472 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002473 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002474 <image resource="checkbox_false"/>
2475 <action function="mountsystemtoggle">1</action>
2476 </button>
2477
2478 <button style="checkbox">
2479 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2480 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002481 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002482 <image resource="checkbox_true"/>
2483 <actions>
2484 <action function="set">tw_lifetime_writes=2</action>
2485 <action function="page">system_readonly_check</action>
2486 </actions>
2487 </button>
2488
2489 <button style="main_button_half_height">
2490 <condition var1="tw_has_usb_storage" var2="1"/>
2491 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002492 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002493 <action function="page">usb_mount</action>
2494 </button>
2495
2496 <button style="main_button_half_height">
2497 <conditions>
2498 <condition var1="tw_is_encrypted" var2="1"/>
2499 <condition var1="tw_is_decrypted" var2="0"/>
2500 </conditions>
2501 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <action function="page">decrypt</action>
2504 </button>
2505
2506 <button style="main_button_half_height">
2507 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 <actions>
2510 <action function="set">tw_back=mount</action>
2511 <action function="overlay">select_storage</action>
2512 </actions>
2513 </button>
2514
2515 <button style="main_button_half_height">
2516 <conditions>
2517 <condition var1="tw_has_mtp" var2="1"/>
2518 <condition var1="tw_mtp_enabled" var2="0"/>
2519 </conditions>
2520 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002521 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002522 <action function="startmtp"/>
2523 </button>
2524
2525 <button style="main_button_half_height">
2526 <conditions>
2527 <condition var1="tw_has_mtp" var2="1"/>
2528 <condition var1="tw_mtp_enabled" var2="1"/>
2529 </conditions>
2530 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002531 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002532 <action function="stopmtp"/>
2533 </button>
2534
2535 <action>
2536 <touch key="home"/>
2537 <action function="page">main</action>
2538 </action>
2539
2540 <action>
2541 <touch key="back"/>
2542 <action function="page">main</action>
2543 </action>
2544 </page>
2545
2546 <page name="usb_mount">
2547 <template name="page"/>
2548
2549 <text style="text_l">
2550 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 </text>
2553
2554 <text style="text_m">
2555 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002556 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002557 </text>
2558
2559 <text style="text_m_accent">
2560 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002562 </text>
2563
2564 <text style="text_m">
2565 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002566 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002567 </text>
2568
2569 <text style="text_m">
2570 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002571 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002572 </text>
2573
2574 <button style="main_button_half_height">
2575 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002576 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002577 <action function="page">usb_umount</action>
2578 </button>
2579
2580 <action>
2581 <action function="mount">usb</action>
2582 <action function="set">tw_busy=1</action>
2583 </action>
2584 </page>
2585
2586 <page name="usb_umount">
2587 <action>
2588 <action function="unmount">usb</action>
2589 </action>
2590
2591 <action>
2592 <action function="page">mount</action>
2593 <action function="set">tw_busy=0</action>
2594 </action>
2595 </page>
2596
2597 <page name="system_readonly_check">
2598 <action>
2599 <action function="checkpartitionlifetimewrites">/system</action>
2600 </action>
2601
2602 <action>
2603 <condition var1="tw_lifetime_writes" var2="1"/>
2604 <actions>
2605 <action function="mountsystemtoggle">0</action>
2606 <action function="page">mount</action>
2607 </actions>
2608 </action>
2609
2610 <action>
2611 <condition var1="tw_lifetime_writes" var2="0"/>
2612 <actions>
2613 <action function="set">tw_back=mount</action>
2614 <action function="page">system_readonly</action>
2615 </actions>
2616 </action>
2617 </page>
2618
2619 <page name="reboot">
2620 <template name="page"/>
2621
2622 <text style="text_l">
2623 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002624 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <button style="main_button">
2628 <condition var1="tw_reboot_system" var2="1"/>
2629 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 <actions>
2632 <action function="set">tw_back=reboot</action>
2633 <action function="set">tw_action=reboot</action>
2634 <action function="set">tw_action_param=system</action>
2635 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2637 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2638 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2639 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2640 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="page">rebootcheck</action>
2642 </actions>
2643 </button>
2644
2645 <button style="main_button">
2646 <condition var1="tw_reboot_poweroff" var2="1"/>
2647 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_back=reboot</action>
2651 <action function="set">tw_action=reboot</action>
2652 <action function="set">tw_action_param=poweroff</action>
2653 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2655 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2656 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2657 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2658 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002659 <action function="page">rebootcheck</action>
2660 </actions>
2661 </button>
2662
2663 <button style="main_button">
2664 <condition var1="tw_reboot_recovery" var2="1"/>
2665 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <actions>
2668 <action function="set">tw_back=reboot</action>
2669 <action function="set">tw_action=reboot</action>
2670 <action function="set">tw_action_param=recovery</action>
2671 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2673 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2674 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2675 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2676 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002677 <action function="page">rebootcheck</action>
2678 </actions>
2679 </button>
2680
2681 <button style="main_button">
2682 <condition var1="tw_reboot_bootloader" var2="1"/>
2683 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <actions>
2686 <action function="set">tw_back=reboot</action>
2687 <action function="set">tw_action=reboot</action>
2688 <action function="set">tw_action_param=bootloader</action>
2689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2691 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2692 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2693 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2694 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002695 <action function="page">rebootcheck</action>
2696 </actions>
2697 </button>
2698
2699 <button style="main_button">
2700 <condition var1="tw_download_mode" var2="1"/>
2701 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002703 <actions>
2704 <action function="set">tw_back=reboot</action>
2705 <action function="set">tw_action=reboot</action>
2706 <action function="set">tw_action_param=download</action>
2707 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2709 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2710 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2711 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2712 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002713 <action function="page">rebootcheck</action>
2714 </actions>
2715 </button>
2716
2717 <action>
2718 <touch key="home"/>
2719 <action function="page">main</action>
2720 </action>
2721
2722 <action>
2723 <touch key="back"/>
2724 <action function="page">main</action>
2725 </action>
2726 </page>
2727
2728 <page name="system_readonly">
2729 <template name="page"/>
2730
2731 <text style="text_l">
2732 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 </text>
2735
2736 <text style="text_m_accent">
2737 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002738 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002739 </text>
2740
2741 <text style="text_m">
2742 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002743 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002744 </text>
2745
2746 <text style="text_m">
2747 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002748 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002749 </text>
2750
2751 <text style="text_m">
2752 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002753 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002754 </text>
2755
2756 <text style="text_m">
2757 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002758 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002759 </text>
2760
2761 <text style="text_m_fail">
2762 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 </text>
2765
2766 <text style="text_m_fail">
2767 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 </text>
2770
2771 <checkbox>
2772 <condition var1="tw_is_encrypted" var2="0"/>
2773 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <data variable="tw_never_show_system_ro_page"/>
2776 </checkbox>
2777
2778 <button style="main_button_half_height">
2779 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <actions>
2782 <action function="mountsystemtoggle">1</action>
2783 <action function="set">tw_page_done=1</action>
2784 <action function="page">%tw_back%</action>
2785 </actions>
2786 </button>
2787
z31s1g608d7ff2016-01-18 19:47:25 +01002788 <button style="main_button_half_height">
2789 <placement x="%center_x%" y="%row18a_y%"/>
2790 <text>{@sel_lang_btn=Select Language}</text>
2791 <action function="overlay">select_language</action>
2792 </button>
2793
z31s1g28f0a922015-11-07 18:50:22 +01002794 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002796 <actions>
2797 <action function="mountsystemtoggle">0</action>
2798 <action function="set">tw_page_done=1</action>
2799 <action function="page">%tw_back%</action>
2800 </actions>
2801 </slider>
2802 </page>
2803
2804 <page name="settings">
2805 <template name="page"/>
2806
2807 <text style="text_l">
2808 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002809 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002810 </text>
2811
2812 <text style="text_m">
2813 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002815 </text>
2816
2817 <template name="tabs_settings"/>
2818
2819 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002821 </fill>
2822
2823 <listbox style="scrolllist">
2824 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2825 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002827 <data variable="tw_signed_zip_verify"/>
2828 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002829 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002830 <data variable="tw_rm_rf"/>
2831 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002833 <data variable="tw_skip_md5_generate"/>
2834 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002835 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002836 <data variable="tw_skip_md5_check"/>
2837 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002838 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002839 <data variable="tw_military_time"/>
2840 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002842 <data variable="tw_samsung_navbar"/>
2843 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002845 <data variable="tw_simulate_actions"/>
2846 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002848 <condition var1="tw_simulate_actions" var2="1"/>
2849 <data variable="tw_simulate_fail"/>
2850 </listitem>
2851 </listbox>
2852
2853 <button style="main_button_half_height">
2854 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002855 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002856 <actions>
2857 <action function="set">tw_samsung_navbar=0</action>
2858 <action function="set">tw_tab_icons=0</action>
2859 <action function="restoredefaultsettings"/>
2860 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002861 </button>
2862
2863 <action>
2864 <touch key="home"/>
2865 <action function="page">main</action>
2866 </action>
2867
2868 <action>
2869 <touch key="back"/>
2870 <action function="page">main</action>
2871 </action>
2872 </page>
2873
2874 <page name="settings_timezone">
2875 <template name="page"/>
2876
2877 <text style="text_l">
2878 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <text style="text_m">
2883 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <template name="tabs_settings"/>
2888
2889 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002891 </fill>
2892
2893 <listbox>
2894 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002896 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2898 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2899 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2900 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2901 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2902 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2903 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2904 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2905 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2906 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2907 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2908 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2909 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2910 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2911 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2912 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2913 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2914 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2915 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2916 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2917 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2918 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2919 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2920 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002921 </listbox>
2922
2923 <text style="text_m_accent">
2924 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <button style="button_quarter_width">
2929 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <action function="set">tw_time_zone_guioffset=0</action>
2932 </button>
2933
2934 <button style="button_quarter_width">
2935 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 <action function="set">tw_time_zone_guioffset=15</action>
2938 </button>
2939
2940 <button style="button_quarter_width">
2941 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002942 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002943 <action function="set">tw_time_zone_guioffset=30</action>
2944 </button>
2945
2946 <button style="button_quarter_width">
2947 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 <action function="set">tw_time_zone_guioffset=45</action>
2950 </button>
2951
2952 <checkbox>
2953 <placement x="%indent%" y="%row18a_y%"/>
2954 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002955 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002956 <data variable="tw_time_zone_guidst"/>
2957 <image checked="checkbox_true" unchecked="checkbox_false"/>
2958 </checkbox>
2959
2960 <text color="%text_color%">
2961 <font resource="font_m"/>
2962 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002963 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002964 </text>
2965
2966 <button>
2967 <highlight color="%highlight_color%"/>
2968 <placement x="%center_x%" y="%row21a_y%"/>
2969 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 <image resource="main_button_half_height"/>
2972 <action function="setguitimezone"/>
2973 </button>
2974
2975 <action>
2976 <touch key="home"/>
2977 <action function="page">main</action>
2978 </action>
2979
2980 <action>
2981 <touch key="back"/>
2982 <action function="page">main</action>
2983 </action>
2984 </page>
2985
2986 <page name="settings_screen">
2987 <template name="page"/>
2988
2989 <text style="text_l">
2990 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </text>
2993
2994 <text style="text_m">
2995 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <template name="tabs_settings"/>
3000
3001 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003003 </fill>
3004
3005 <button>
3006 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3007 <font resource="font_m" color="%text_color%"/>
3008 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3009 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003010 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003011 <image resource="checkbox_false"/>
3012 <action function="set">tw_screen_timeout_secs=60</action>
3013 </button>
3014
3015 <button>
3016 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3017 <font resource="font_m" color="%text_color%"/>
3018 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3019 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <image resource="checkbox_true"/>
3022 <action function="set">tw_screen_timeout_secs=0</action>
3023 </button>
3024
3025 <slidervalue>
3026 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3027 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3028 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3031 </slidervalue>
3032
3033 <slidervalue>
3034 <condition var1="tw_has_brightnesss_file" var2="1"/>
3035 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 <data variable="tw_brightness_pct" min="10" max="100"/>
3038 <actions>
3039 <action function="set">tw_brightness=%tw_brightness_max%</action>
3040 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3041 <action function="compute">tw_brightness/100</action>
3042 <action function="setbrightness">%tw_brightness%</action>
3043 </actions>
3044 </slidervalue>
3045
3046 <action>
3047 <touch key="home"/>
3048 <action function="page">main</action>
3049 </action>
3050
3051 <action>
3052 <touch key="back"/>
3053 <action function="page">main</action>
3054 </action>
3055 </page>
3056
3057 <page name="settings_vibration">
3058 <template name="page"/>
3059
3060 <text style="text_l">
3061 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </text>
3064
3065 <text style="text_m">
3066 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <template name="tabs_settings"/>
3071
3072 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </fill>
3075
3076 <slidervalue>
3077 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 <data variable="tw_button_vibrate" min="0" max="300"/>
3080 </slidervalue>
3081
3082 <slidervalue>
3083 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3086 </slidervalue>
3087
3088 <slidervalue>
3089 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <data variable="tw_action_vibrate" min="0" max="500"/>
3092 </slidervalue>
3093
3094 <action>
3095 <touch key="home"/>
3096 <action function="page">main</action>
3097 </action>
3098
3099 <action>
3100 <touch key="back"/>
3101 <action function="page">main</action>
3102 </action>
3103 </page>
3104
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <page name="settings_language">
3106 <template name="page"/>
3107
3108 <text style="text_l">
3109 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3110 <text>{@settings_hdr=Settings}</text>
3111 </text>
3112
3113 <text style="text_m">
3114 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3115 <text>{@language_hdr=Language - %tw_language_display%}</text>
3116 </text>
3117
3118 <template name="tabs_settings"/>
3119
3120 <fill color="%text_color%">
3121 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3122 </fill>
3123
3124 <listbox>
3125 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3126 <text>{@select_language=Select Language:}</text>
3127 <icon selected="radio_true" unselected="radio_false" />
3128 <data name="tw_language" />
3129 </listbox>
3130
3131 <button style="main_button_half_height">
3132 <placement x="%center_x%" y="%row21a_y%"/>
3133 <text>{@set_language_btn=Set Language}</text>
3134 <action function="setlanguage"></action>
3135 </button>
3136
3137 <action>
3138 <touch key="home" />
3139 <action function="page">main</action>
3140 </action>
3141
3142 <action>
3143 <touch key="back" />
3144 <action function="page">settings</action>
3145 </action>
3146 </page>
3147
z31s1g28f0a922015-11-07 18:50:22 +01003148 <page name="advanced">
3149 <template name="page"/>
3150
3151 <text style="text_l">
3152 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 </text>
3155
3156 <button style="main_button">
3157 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 <actions>
3160 <action function="set">tw_back=advanced</action>
3161 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3163 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3164 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3165 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <action function="page">confirm_action</action>
3167 </actions>
3168 </button>
3169
3170 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003171 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003173 <text>{@fix_context_btn=Fix Contexts}</text>
3174 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003175 </button>
3176
3177 <button style="main_button">
3178 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3179 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003181 <actions>
3182 <action function="set">partitionlisterror=0</action>
3183 <action function="page">partsdcardsel</action>
3184 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003185 </button>
3186
3187 <button style="main_button">
3188 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <action function="page">filemanagerlist</action>
3191 </button>
3192
3193 <button style="main_button">
3194 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003196 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003197 </button>
3198
3199 <button style="main_button">
3200 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <action function="reload"/>
3203 </button>
3204
3205 <button style="main_button">
3206 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="page">sideload</action>
3209 </button>
3210
3211 <button style="main_button">
3212 <condition var1="tw_show_dumlock" var2="1"/>
3213 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 <action function="page">htcdumlock</action>
3216 </button>
3217
3218 <button style="main_button">
3219 <condition var1="tw_has_injecttwrp" var2="1"/>
3220 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <actions>
3223 <action function="set">tw_back=advanced</action>
3224 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3226 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3227 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3228 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003229 <action function="page">confirm_action</action>
3230 </actions>
3231 </button>
3232
3233 <action>
3234 <touch key="home"/>
3235 <action function="page">main</action>
3236 </action>
3237
3238 <action>
3239 <touch key="back"/>
3240 <action function="page">main</action>
3241 </action>
3242 </page>
3243
Ethan Yonker483e9f42016-01-11 22:21:18 -06003244 <page name="partsdcardsel">
3245 <template name="page"/>
3246
3247 <text style="text_l">
3248 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3249 <text>{@advanced_hdr=Advanced}</text>
3250 </text>
3251
3252 <text style="text_m">
3253 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3254 <text>{@part_sd_hdr=Partition SD Card}</text>
3255 </text>
3256
z31s1g782e1c92016-01-30 16:50:09 +01003257 <partitionlist>
3258 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003259 <text>{@sel_storage_list=Select Storage}</text>
3260 <data name="tw_storage_path"/>
3261 <listtype name="storage"/>
3262 </partitionlist>
3263
3264 <text style="text_m_fail">
3265 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003266 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003267 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3268 </text>
3269
z31s1g782e1c92016-01-30 16:50:09 +01003270 <button style="main_button_half_height">
3271 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003272 <text>{@ok_btn=OK}</text>
3273 <actions>
3274 <action function="getpartitiondetails">tw_storage_path</action>
3275 <action function="page">partsdcardcheck</action>
3276 </actions>
3277 </button>
3278
3279 <action>
3280 <touch key="home"/>
3281 <action function="page">main</action>
3282 </action>
3283
3284 <action>
3285 <touch key="back"/>
3286 <action function="page">advanced</action>
3287 </action>
3288 </page>
3289
3290 <page name="partsdcardcheck">
3291 <action>
3292 <condition var1="tw_partition_removable" op="=" var2="1"/>
3293 <actions>
3294 <action function="set">partitionlisterror=0</action>
3295 <action function="page">partsdcard</action>
3296 </actions>
3297 </action>
3298
3299 <action>
3300 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3301 <actions>
3302 <action function="set">partitionlisterror=1</action>
3303 <action function="page">partsdcardsel</action>
3304 </actions>
3305 </action>
3306 </page>
3307
z31s1g28f0a922015-11-07 18:50:22 +01003308 <page name="partsdcard">
3309 <template name="page"/>
3310
3311 <text style="text_l">
3312 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 </text>
3315
3316 <text style="text_m">
3317 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 </text>
3320
3321 <text style="text_m_fail">
3322 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <text style="text_m_fail">
3327 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </text>
3330
3331 <text style="text_m_accent">
3332 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 </text>
3335
3336 <text style="text_m">
3337 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3338 <text>%tw_sdext_size%</text>
3339 </text>
3340
3341 <button style="button_quarter_width">
3342 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003343 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003344 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003345 </button>
3346
3347 <button style="button_quarter_width">
3348 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003350 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </button>
3352
3353 <text style="text_m_accent">
3354 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 </text>
3357
3358 <text style="text_m">
3359 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3360 <text>%tw_swap_size%</text>
3361 </text>
3362
3363 <button style="button_quarter_width">
3364 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003366 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003367 </button>
3368
3369 <button style="button_quarter_width">
3370 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003372 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </button>
3374
3375 <text style="text_m_accent">
3376 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 </text>
3379
3380 <text style="text_m">
3381 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3382 <text>%tw_sdpart_file_system%</text>
3383 </text>
3384
3385 <button style="button_quarter_width">
3386 <placement x="%indent%" y="%row14_y%"/>
3387 <text>EXT3</text>
3388 <action function="set">tw_sdpart_file_system=ext3</action>
3389 </button>
3390
3391 <button style="button_quarter_width">
3392 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3393 <text>EXT4</text>
3394 <action function="set">tw_sdpart_file_system=ext4</action>
3395 </button>
3396
3397 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003399 <action function="page">partsdcardaction</action>
3400 <actions>
3401 <action function="set">tw_back=partsdcard</action>
3402 <action function="set">tw_action=partitionsd</action>
3403 <action function="set">tw_has_action2=1</action>
3404 <action function="set">tw_action2=set</action>
3405 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3407 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3408 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003409 <action function="page">action_page</action>
3410 </actions>
3411 </slider>
3412
3413 <action>
3414 <touch key="home"/>
3415 <action function="page">main</action>
3416 </action>
3417
3418 <action>
3419 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003420 <actions>
3421 <action function="set">partitionlisterror=0</action>
3422 <action function="page">partsdcardsel</action>
3423 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003424 </action>
3425 </page>
3426
3427 <page name="htcdumlock">
3428 <template name="page"/>
3429
3430 <text style="text_l">
3431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 </text>
3434
3435 <text style="text_m">
3436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </text>
3439
3440 <button style="main_button_half_height_full_width">
3441 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 <actions>
3444 <action function="set">tw_back=htcdumlock</action>
3445 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3447 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3448 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3449 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <action function="page">confirm_action</action>
3451 </actions>
3452 </button>
3453
3454 <button style="main_button_half_height_full_width">
3455 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <actions>
3458 <action function="set">tw_back=htcdumlock</action>
3459 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3461 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3462 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3463 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003464 <action function="page">confirm_action</action>
3465 </actions>
3466 </button>
3467
3468 <button style="main_button_half_height_full_width">
3469 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 <actions>
3472 <action function="set">tw_back=htcdumlock</action>
3473 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3475 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3476 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3477 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <action function="page">confirm_action</action>
3479 </actions>
3480 </button>
3481
3482 <action>
3483 <touch key="home"/>
3484 <action function="page">main</action>
3485 </action>
3486
3487 <action>
3488 <touch key="back"/>
3489 <action function="page">advanced</action>
3490 </action>
3491 </page>
3492
3493 <page name="lock">
3494 <background color="%semi_transparent%"/>
3495
3496 <image>
3497 <image resource="unlock_icon"/>
3498 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3499 </image>
3500
3501 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 <action function="overlay"/>
3504 </slider>
3505 </page>
3506
3507 <page name="filemanagerlist">
3508 <template name="page"/>
3509
3510 <text style="text_l">
3511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text style="text_m">
3516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 </text>
3519
3520 <template name="sort_options"/>
3521
3522 <fileselector>
3523 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3524 <text>%tw_file_location1%</text>
3525 <filter folders="1" files="1"/>
3526 <path name="tw_file_location1" default="/"/>
3527 <data name="tw_filename1"/>
3528 <selection name="tw_selection1"/>
3529 </fileselector>
3530
3531 <button style="fab">
3532 <image resource="fab_selectfolder"/>
3533 <actions>
3534 <action function="set">tw_filename1=tw_file_location1</action>
3535 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003537 <action function="page">filemanageroptions</action>
3538 </actions>
3539 </button>
3540
3541 <action>
3542 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003544 <action function="set">tw_fm_isfolder=0</action>
3545 </actions>
3546 </action>
3547
3548 <action>
3549 <touch key="home"/>
3550 <action function="page">main</action>
3551 </action>
3552
3553 <action>
3554 <touch key="back"/>
3555 <action function="page">advanced</action>
3556 </action>
3557
3558 <action>
3559 <condition var1="tw_filename1" op="modified"/>
3560 <action function="page">filemanageroptions</action>
3561 </action>
3562 </page>
3563
3564 <page name="filemanageroptions">
3565 <template name="page"/>
3566
3567 <text style="text_l">
3568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003570 </text>
3571
3572 <text style="text_m">
3573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 </text>
3576
3577 <text style="text_m_accent">
3578 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003580 </text>
3581
3582 <text style="text_m">
3583 <placement x="%indent%" y="%row3_y%"/>
3584 <text>%tw_filename1%</text>
3585 </text>
3586
3587 <button style="main_button_half_height">
3588 <condition var1="tw_fm_isfolder" var2="0"/>
3589 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 <actions>
3592 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <action function="page">choosedestinationfolder</action>
3595 </actions>
3596 </button>
3597
3598 <button style="main_button_half_height">
3599 <condition var1="tw_fm_isfolder" var2="1"/>
3600 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003601 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003602 <actions>
3603 <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 -05003604 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003605 <action function="page">choosedestinationfolder</action>
3606 </actions>
3607 </button>
3608
3609 <button style="main_button_half_height">
3610 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <actions>
3613 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <action function="page">choosedestinationfolder</action>
3616 </actions>
3617 </button>
3618
3619 <button style="main_button_half_height">
3620 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003621 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003622 <actions>
3623 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <action function="set">tw_fm_text2=</action>
3626 <action function="set">tw_fm_text3=</action>
3627 <action function="set">tw_include_text3=0</action>
3628 <action function="set">tw_back=filemanageroptions</action>
3629 <action function="page">filemanagerconfirm</action>
3630 </actions>
3631 </button>
3632
3633 <button style="main_button_half_height">
3634 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <actions>
3637 <action function="set">tw_filemanager_rename=0000</action>
3638 <action function="set">tw_fm_text2=</action>
3639 <action function="set">tw_fm_text3=</action>
3640 <action function="set">tw_include_text3=0</action>
3641 <action function="set">tw_back=filemanageroptions</action>
3642 <action function="page">filemanagerchmod</action>
3643 </actions>
3644 </button>
3645
3646 <button style="main_button_half_height">
3647 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <actions>
3650 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="set">tw_fm_text2=</action>
3653 <action function="set">tw_fm_text3=</action>
3654 <action function="set">tw_include_text3=0</action>
3655 <action function="set">tw_back=filemanageroptions</action>
3656 <action function="page">filemanagerconfirm</action>
3657 </actions>
3658 </button>
3659
3660 <button style="main_button_half_height">
3661 <condition var1="tw_fm_isfolder" var2="0"/>
3662 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003664 <actions>
3665 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <action function="set">tw_filemanager_command=mv</action>
3668 <action function="page">filemanagerrenamefile</action>
3669 </actions>
3670 </button>
3671
3672 <button style="main_button_half_height">
3673 <condition var1="tw_fm_isfolder" var2="1"/>
3674 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 <actions>
3677 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003679 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3680 <action function="page">filemanagerrenamefolder</action>
3681 </actions>
3682 </button>
3683
3684 <action>
3685 <touch key="home"/>
3686 <action function="page">main</action>
3687 </action>
3688
3689 <action>
3690 <touch key="back"/>
3691 <action function="page">filemanagerlist</action>
3692 </action>
3693 </page>
3694
3695 <page name="choosedestinationfolder">
3696 <template name="page"/>
3697
3698 <text style="text_l">
3699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003700 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003701 </text>
3702
3703 <text style="text_m">
3704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003705 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003706 </text>
3707
3708 <template name="sort_options"/>
3709
3710 <fileselector>
3711 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3712 <text>%tw_file_location2%</text>
3713 <filter folders="1" files="0"/>
3714 <path name="tw_file_location2" default="/"/>
3715 <data name="tw_filename2"/>
3716 <selection name="tw_selection2"/>
3717 </fileselector>
3718
3719 <button style="fab">
3720 <image resource="fab_selectfolder"/>
3721 <actions>
3722 <action function="set">tw_fm_text2=to</action>
3723 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3724 <action function="set">tw_include_text3=1</action>
3725 <action function="set">tw_back=filemanageroptions</action>
3726 <action function="page">filemanagerconfirm</action>
3727 </actions>
3728 </button>
3729
3730 <action>
3731 <touch key="home"/>
3732 <action function="page">main</action>
3733 </action>
3734
3735 <action>
3736 <touch key="back"/>
3737 <action function="page">filemanageroptions</action>
3738 </action>
3739 </page>
3740
3741 <page name="filemanagerrenamefile">
3742 <template name="page"/>
3743
3744 <text style="text_l">
3745 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 </text>
3748
3749 <text style="text_m">
3750 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </text>
3753
3754 <text style="text_m_accent">
3755 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003757 </text>
3758
3759 <input>
3760 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3761 <text>%tw_filemanager_rename%</text>
3762 <data name="tw_filemanager_rename"/>
3763 <restrict minlen="1" maxlen="128"/>
3764 <actions>
3765 <action function="set">tw_fm_text2=to</action>
3766 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3767 <action function="set">tw_include_text3=1</action>
3768 <action function="set">tw_back=filemanageroptions</action>
3769 <action function="page">filemanagerconfirm</action>
3770 </actions>
3771 </input>
3772
3773 <fill color="%accent_color%">
3774 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3775 </fill>
3776
3777 <button style="main_button_half_height">
3778 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <action function="page">filemanageroptions</action>
3781 </button>
3782
3783 <template name="keyboardtemplate"/>
3784
3785 <action>
3786 <touch key="home"/>
3787 <action function="page">main</action>
3788 </action>
3789
3790 <action>
3791 <touch key="back"/>
3792 <action function="page">filemanageroptions</action>
3793 </action>
3794 </page>
3795
3796 <page name="filemanagerrenamefolder">
3797 <template name="page"/>
3798
3799 <text style="text_l">
3800 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 </text>
3803
3804 <text style="text_m">
3805 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003807 </text>
3808
3809 <text style="text_m_accent">
3810 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003811 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003812 </text>
3813
3814 <input>
3815 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3816 <text>%tw_filemanager_rename%</text>
3817 <data name="tw_filemanager_rename"/>
3818 <restrict minlen="1" maxlen="128"/>
3819 <actions>
3820 <action function="set">tw_fm_text2=to</action>
3821 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3822 <action function="set">tw_include_text3=1</action>
3823 <action function="set">tw_back=filemanageroptions</action>
3824 <action function="page">filemanagerconfirm</action>
3825 </actions>
3826 </input>
3827
3828 <fill color="%accent_color%">
3829 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3830 </fill>
3831
3832 <button style="main_button_half_height">
3833 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 <action function="page">filemanageroptions</action>
3836 </button>
3837
3838 <template name="keyboardtemplate"/>
3839
3840 <action>
3841 <touch key="home"/>
3842 <action function="page">main</action>
3843 </action>
3844
3845 <action>
3846 <touch key="back"/>
3847 <action function="page">filemanageroptions</action>
3848 </action>
3849 </page>
3850
3851 <page name="filemanagerchmod">
3852 <template name="page"/>
3853
3854 <text style="text_l">
3855 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 </text>
3858
3859 <text style="text_m">
3860 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003861 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003862 </text>
3863
3864 <text style="text_m_accent">
3865 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 </text>
3868
3869 <input>
3870 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3871 <text>%tw_filemanager_rename%</text>
3872 <data name="tw_filemanager_rename"/>
3873 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3874 <actions>
3875 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3876 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3877 <action function="set">tw_back=filemanageroptions</action>
3878 <action function="page">filemanagerconfirm</action>
3879 </actions>
3880 </input>
3881
3882 <fill color="%accent_color%">
3883 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3884 </fill>
3885
3886 <button style="main_button_half_height">
3887 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 <action function="page">filemanageroptions</action>
3890 </button>
3891
3892 <template name="keyboardtemplate"/>
3893
3894 <action>
3895 <touch key="home"/>
3896 <action function="page">main</action>
3897 </action>
3898
3899 <action>
3900 <touch key="back"/>
3901 <action function="page">filemanageroptions</action>
3902 </action>
3903 </page>
3904
3905 <page name="filemanagerconfirm">
3906 <template name="page"/>
3907
3908 <text style="text_l">
3909 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 </text>
3912
3913 <text style="text_m">
3914 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 </text>
3917
3918 <text style="text_m_accent">
3919 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3920 <text>%tw_fm_text1%</text>
3921 </text>
3922
3923 <text style="text_m">
3924 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3925 <text>%tw_filename1%</text>
3926 </text>
3927
3928 <text style="text_m_accent">
3929 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3930 <text>%tw_fm_text2%</text>
3931 </text>
3932
3933 <text style="text_m">
3934 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3935 <text>%tw_fm_text3%</text>
3936 </text>
3937
3938 <text style="text_m">
3939 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 <action function="page">filemanageraction</action>
3946 </slider>
3947
3948 <action>
3949 <touch key="back"/>
3950 <action function="page">%tw_back%</action>
3951 </action>
3952
3953 <action>
3954 <touch key="home"/>
3955 <action function="page">main</action>
3956 </action>
3957 </page>
3958
3959 <page name="filemanageraction">
3960 <template name="page"/>
3961
3962 <text style="text_l">
3963 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 </text>
3966
3967 <text style="text_m">
3968 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3969 <text>%tw_fm_text1%</text>
3970 </text>
3971
3972 <template name="console"/>
3973
3974 <template name="progress_bar"/>
3975
3976 <action>
3977 <conditions>
3978 <condition var1="tw_operation_state" var2="1"/>
3979 <condition var1="tw_operation_status" var2="0"/>
3980 </conditions>
3981 <actions>
3982 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <action function="page">action_complete</action>
3985 </actions>
3986 </action>
3987
3988 <action>
3989 <conditions>
3990 <condition var1="tw_operation_state" var2="1"/>
3991 <condition var1="tw_operation_status" op="!=" var2="0"/>
3992 </conditions>
3993 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003995 <action function="page">action_complete</action>
3996 </actions>
3997 </action>
3998
3999 <action>
4000 <condition var1="tw_include_text3" var2="0"/>
4001 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4002 </action>
4003
4004 <action>
4005 <condition var1="tw_include_text3" var2="1"/>
4006 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4007 </action>
4008 </page>
4009
4010 <page name="decrypt">
4011 <template name="page"/>
4012
4013 <action>
4014 <condition var1="tw_crypto_pwtype" var2="2"/>
4015 <action function="page">decrypt_pattern</action>
4016 </action>
4017
4018 <text style="text_l">
4019 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 </text>
4022
4023 <text style="text_m">
4024 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004025 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004026 </text>
4027
4028 <text style="text_m_accent">
4029 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004030 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004031 </text>
4032
4033 <input>
4034 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4035 <text>%tw_crypto_display%</text>
4036 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4037 <restrict minlen="1" maxlen="254"/>
4038 <action function="page">trydecrypt</action>
4039 </input>
4040
4041 <fill color="%accent_color%">
4042 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4043 </fill>
4044
4045 <fill color="%text_fail_color%">
4046 <condition var1="tw_password_fail" var2="1"/>
4047 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4048 </fill>
4049
4050 <text style="text_m_fail">
4051 <condition var1="tw_password_fail" var2="1"/>
4052 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004053 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <button style="main_button_half_height">
4057 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <actions>
4060 <action function="set">tw_page_done=1</action>
4061 <action function="page">main</action>
4062 </actions>
4063 </button>
4064
z31s1g608d7ff2016-01-18 19:47:25 +01004065 <button style="main_button_half_height">
4066 <placement x="%center_x%" y="%row10_y%"/>
4067 <text>{@sel_lang_btn=Select Language}</text>
4068 <action function="overlay">select_language</action>
4069 </button>
4070
z31s1g28f0a922015-11-07 18:50:22 +01004071 <template name="keyboardtemplate"/>
4072 </page>
4073
4074 <page name="decrypt_pattern">
4075 <template name="page"/>
4076
4077 <text style="text_l">
4078 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <text style="text_m">
4083 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <text style="text_m_accent">
4088 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
Aleksa Saraib25a1832015-12-31 17:36:00 +01004092 <text style="text_m_fail">
4093 <condition var1="tw_password_fail" var2="1"/>
4094 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004095 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004096 </text>
4097
z31s1g28f0a922015-11-07 18:50:22 +01004098 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004099 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004100 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4101 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4102 <data name="tw_crypto_password"/>
4103 <action function="page">trydecrypt</action>
4104 </patternpassword>
4105
Aleksa Saraib25a1832015-12-31 17:36:00 +01004106 <button style="button_quarter_width">
4107 <placement x="%indent%" y="%row19a_y%"/>
4108 <text>3x3</text>
4109 <action function="set">tw_gui_pattern_grid_size=3</action>
4110 </button>
4111
4112 <button style="button_quarter_width">
4113 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4114 <text>4x4</text>
4115 <action function="set">tw_gui_pattern_grid_size=4</action>
4116 </button>
4117
4118 <button style="button_quarter_width">
4119 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4120 <text>5x5</text>
4121 <action function="set">tw_gui_pattern_grid_size=5</action>
4122 </button>
4123
4124 <button style="button_quarter_width">
4125 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4126 <text>6x6</text>
4127 <action function="set">tw_gui_pattern_grid_size=6</action>
4128 </button>
4129
z31s1g28f0a922015-11-07 18:50:22 +01004130 <button style="main_button_half_height">
4131 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 <actions>
4134 <action function="set">tw_page_done=1</action>
4135 <action function="page">main</action>
4136 </actions>
4137 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004138
4139 <button style="main_button_half_height">
4140 <placement x="%center_x%" y="%row21a_y%"/>
4141 <text>{@sel_lang_btn=Select Language}</text>
4142 <action function="overlay">select_language</action>
4143 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004144 </page>
4145
4146 <page name="trydecrypt">
4147 <template name="page"/>
4148
4149 <text style="text_l">
4150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <text style="text_m">
4155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <template name="console"/>
4160
4161 <template name="progress_bar"/>
4162
4163 <action>
4164 <action function="decrypt"/>
4165 </action>
4166
4167 <action>
4168 <conditions>
4169 <condition var1="tw_operation_state" var2="1"/>
4170 <condition var1="tw_operation_status" op="!=" var2="0"/>
4171 </conditions>
4172 <actions>
4173 <action function="set">tw_password_fail=1</action>
4174 <action function="page">decrypt</action>
4175 </actions>
4176 </action>
4177
4178 <action>
4179 <conditions>
4180 <condition var1="tw_operation_state" var2="1"/>
4181 <condition var1="tw_operation_status" op="=" var2="0"/>
4182 </conditions>
4183 <actions>
4184 <action function="set">tw_page_done=1</action>
4185 <action function="page">main</action>
4186 </actions>
4187 </action>
4188 </page>
4189
z31s1g28f0a922015-11-07 18:50:22 +01004190 <page name="terminalcommand">
4191 <template name="page"/>
4192
z31s1g56189522016-01-13 19:12:40 +01004193 <fill color="%background_color%">
4194 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004195 </fill>
4196
z31s1g56189522016-01-13 19:12:40 +01004197 <terminal>
4198 <condition var1="tw_hide_kb" var2="0"/>
4199 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4200 </terminal>
4201
4202 <terminal>
4203 <condition var1="tw_hide_kb" var2="1"/>
4204 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4205 </terminal>
4206
4207 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004208
4209 <template name="keyboardtemplate"/>
4210
z31s1g608d7ff2016-01-18 19:47:25 +01004211 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004212 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004213 </fill>
z31s1g56189522016-01-13 19:12:40 +01004214
z31s1g608d7ff2016-01-18 19:47:25 +01004215 <button>
z31s1g56189522016-01-13 19:12:40 +01004216 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4217 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4218 <image resource="back" />
4219 <condition var1="tw_busy" var2="0" />
4220 <actions>
4221 <action function="set">tw_hide_kb=0</action>
4222 <action function="key">back</action>
4223 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004224 </button>
z31s1g56189522016-01-13 19:12:40 +01004225
z31s1g608d7ff2016-01-18 19:47:25 +01004226 <button>
z31s1g56189522016-01-13 19:12:40 +01004227 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4228 <condition var1="tw_hide_kb" op="=" var2="0" />
4229 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4230 <image resource="kb_hide" />
4231 <condition var1="tw_busy" var2="0" />
4232 <actions>
4233 <action function="set">tw_hide_kb=1</action>
4234 <action function="page">terminalcommand</action>
4235 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004236 </button>
z31s1g56189522016-01-13 19:12:40 +01004237
z31s1g608d7ff2016-01-18 19:47:25 +01004238 <button>
z31s1g56189522016-01-13 19:12:40 +01004239 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4240 <condition var1="tw_hide_kb" op="=" var2="1" />
4241 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4242 <image resource="kb_show" />
4243 <condition var1="tw_busy" var2="0" />
4244 <actions>
4245 <action function="set">tw_hide_kb=0</action>
4246 <action function="page">terminalcommand</action>
4247 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004248 </button>
z31s1g56189522016-01-13 19:12:40 +01004249
z31s1g608d7ff2016-01-18 19:47:25 +01004250 <button>
z31s1g56189522016-01-13 19:12:40 +01004251 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4252 <image resource="home" />
4253 <condition var1="tw_busy" var2="0" />
4254 <actions>
4255 <action function="set">tw_hide_kb=0</action>
4256 <action function="key">home</action>
4257 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004258 </button>
z31s1g56189522016-01-13 19:12:40 +01004259
z31s1g608d7ff2016-01-18 19:47:25 +01004260 <button>
z31s1g56189522016-01-13 19:12:40 +01004261 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4262 <condition var1="tw_hide_kb" op="=" var2="0" />
4263 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4264 <image resource="kb_hide" />
4265 <condition var1="tw_busy" var2="0" />
4266 <actions>
4267 <action function="set">tw_hide_kb=1</action>
4268 <action function="page">terminalcommand</action>
4269 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004270 </button>
z31s1g56189522016-01-13 19:12:40 +01004271
z31s1g608d7ff2016-01-18 19:47:25 +01004272 <button>
z31s1g56189522016-01-13 19:12:40 +01004273 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4274 <condition var1="tw_hide_kb" op="=" var2="1" />
4275 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4276 <image resource="kb_show" />
4277 <condition var1="tw_busy" var2="0" />
4278 <actions>
4279 <action function="set">tw_hide_kb=0</action>
4280 <action function="page">terminalcommand</action>
4281 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004282 </button>
z31s1g56189522016-01-13 19:12:40 +01004283
z31s1g608d7ff2016-01-18 19:47:25 +01004284 <button>
z31s1g56189522016-01-13 19:12:40 +01004285 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4286 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4287 <image resource="back" />
4288 <condition var1="tw_busy" var2="0" />
4289 <actions>
4290 <action function="set">tw_hide_kb=0</action>
4291 <action function="key">back</action>
4292 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004293 </button>
z31s1g56189522016-01-13 19:12:40 +01004294
z31s1g28f0a922015-11-07 18:50:22 +01004295 <action>
4296 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004297 <actions>
4298 <action function="set">tw_hide_kb=0</action>
4299 <action function="page">main</action>
4300 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </action>
4302
4303 <action>
4304 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004305 <actions>
4306 <action function="set">tw_hide_kb=0</action>
4307 <action function="page">advanced</action>
4308 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004309 </action>
z31s1g56189522016-01-13 19:12:40 +01004310
z31s1g608d7ff2016-01-18 19:47:25 +01004311 <action>
z31s1g56189522016-01-13 19:12:40 +01004312 <touch key="power+voldown" />
4313 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004314 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004315 </page>
4316
4317 <page name="sideload">
4318 <template name="page"/>
4319
4320 <text style="text_l">
4321 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004323 </text>
4324
4325 <text style="text_m">
4326 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004327 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004328 </text>
4329
4330 <checkbox>
4331 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004333 <data variable="tw_wipe_dalvik"/>
4334 </checkbox>
4335
4336 <checkbox>
4337 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004338 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004339 <data variable="tw_wipe_cache"/>
4340 </checkbox>
4341
4342 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 <actions>
4345 <action function="set">tw_back=advanced</action>
4346 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004347 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4348 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4349 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004350 <action function="set">tw_has_cancel=1</action>
4351 <action function="set">tw_show_reboot=1</action>
4352 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4353 <action function="page">action_page</action>
4354 </actions>
4355 </slider>
4356
4357 <action>
4358 <touch key="home"/>
4359 <action function="page">main</action>
4360 </action>
4361
4362 <action>
4363 <touch key="back"/>
4364 <action function="page">advanced</action>
4365 </action>
4366 </page>
4367
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004368 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004369 <template name="page"/>
4370
4371 <text style="text_l">
4372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004374 </text>
4375
4376 <text style="text_m">
4377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004378 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004379 </text>
4380
4381 <text style="text_m_accent">
4382 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004383 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004384 </text>
4385
z31s1g28f0a922015-11-07 18:50:22 +01004386 <text style="text_m_fail">
4387 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004388 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004389 </text>
4390
4391 <text style="text_m_fail">
4392 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004393 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 </text>
4395
4396 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004397 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004398 <actions>
4399 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004400 <action function="set">tw_action=fixcontexts</action>
4401 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4402 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004404 <action function="set">tw_show_reboot=1</action>
4405 <action function="page">action_page</action>
4406 </actions>
4407 </slider>
4408
4409 <action>
4410 <touch key="home"/>
4411 <action function="page">main</action>
4412 </action>
4413
4414 <action>
4415 <touch key="back"/>
4416 <action function="page">advanced</action>
4417 </action>
4418 </page>
4419
4420 <page name="installsu">
4421 <template name="page"/>
4422
4423 <text style="text_l">
4424 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 </text>
4427
4428 <text style="text_m">
4429 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004430 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004431 </text>
4432
4433 <text style="text_m_accent">
4434 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004435 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004436 </text>
4437
4438 <text style="text_m">
4439 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004440 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004441 </text>
4442
4443 <text style="text_m">
4444 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </text>
4447
4448 <button style="main_button_half_height">
4449 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004451 <action function="set">tw_page_done=1</action>
4452 </button>
4453
4454 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004455 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004456 <actions>
4457 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004458 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004459 <action function="set">tw_action_text2=</action>
4460 <action function="page">singleaction_page</action>
4461 </actions>
4462 </slider>
4463 </page>
4464
4465 <page name="slideout">
4466 <fill color="%background_color%">
4467 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4468 </fill>
4469
4470 <console>
4471 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4472 </console>
4473
4474 <button>
4475 <fill color="%transparent%"/>
4476 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4477 <action function="overlay"/>
4478 </button>
4479
4480 <action>
4481 <touch key="power+voldown"/>
4482 <action function="screenshot"/>
4483 </action>
4484 </page>
4485
4486 <page name="select_storage">
4487 <fill color="%semi_transparent%">
4488 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4489 </fill>
4490
4491 <fill color="%background_color%">
4492 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4493 </fill>
4494
4495 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 <data name="tw_storage_path"/>
4498 <listtype name="storage"/>
4499 </partitionlist>
4500
4501 <button style="button_third_width">
4502 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004504 <actions>
4505 <action function="set">tw_clear_destination=%tw_back%</action>
4506 <action function="overlay"/>
4507 <action function="page">clear_vars</action>
4508 </actions>
4509 </button>
4510
4511 <fill color="#000000">
4512 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4513 </fill>
4514
4515 <button>
4516 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4517 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4518 <image resource="back"/>
4519 <condition var1="tw_busy" var2="0"/>
4520 <actions>
4521 <action function="overlay"/>
4522 <action function="key">%tw_back%</action>
4523 </actions>
4524 </button>
4525
4526 <button>
4527 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4528 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4529 <image resource="console"/>
4530 <condition var1="tw_busy" var2="0"/>
4531 <action function="overlay">slideout</action>
4532 </button>
4533
4534 <button>
4535 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4536 <image resource="home"/>
4537 <condition var1="tw_busy" var2="0"/>
4538 <actions>
4539 <action function="overlay"/>
4540 <action function="key">home</action>
4541 </actions>
4542 </button>
4543
4544 <button>
4545 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4546 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4547 <image resource="console"/>
4548 <condition var1="tw_busy" var2="0"/>
4549 <action function="overlay">slideout</action>
4550 </button>
4551
4552 <button>
4553 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4554 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4555 <image resource="back"/>
4556 <condition var1="tw_busy" var2="0"/>
4557 <actions>
4558 <action function="overlay"/>
4559 <action function="key">%tw_back%</action>
4560 </actions>
4561 </button>
4562
4563 <action>
4564 <touch key="power+voldown"/>
4565 <action function="screenshot"/>
4566 </action>
4567 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004568
4569 <page name="select_language">
4570 <fill color="%semi_transparent%">
4571 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4572 </fill>
4573
4574 <fill color="%background_color%">
4575 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4576 </fill>
4577
4578 <listbox>
4579 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4580 <text>{@select_language=Select Language:}</text>
4581 <icon selected="radio_true" unselected="radio_false" />
4582 <data name="tw_language" />
4583 </listbox>
4584
4585 <button style="button_third_width">
4586 <placement x="%dialog_button_x%" y="%row14_y%"/>
4587 <text>{@ok_btn=OK}</text>
4588 <actions>
4589 <action function="overlay"/>
4590 <action function="setlanguage"></action>
4591 </actions>
4592 </button>
4593
4594 <fill color="#000000">
4595 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4596 </fill>
4597
4598 <button>
4599 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4600 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4601 <image resource="back"/>
4602 <condition var1="tw_busy" var2="0"/>
4603 <actions>
4604 <action function="overlay"/>
4605 <action function="key">%tw_back%</action>
4606 </actions>
4607 </button>
4608
4609 <button>
4610 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4611 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4612 <image resource="console"/>
4613 <condition var1="tw_busy" var2="0"/>
4614 <action function="overlay">slideout</action>
4615 </button>
4616
4617 <button>
4618 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4619 <image resource="home"/>
4620 <condition var1="tw_busy" var2="0"/>
4621 <actions>
4622 <action function="overlay"/>
4623 <action function="key">home</action>
4624 </actions>
4625 </button>
4626
4627 <button>
4628 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4629 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4630 <image resource="console"/>
4631 <condition var1="tw_busy" var2="0"/>
4632 <action function="overlay">slideout</action>
4633 </button>
4634
4635 <button>
4636 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4637 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4638 <image resource="back"/>
4639 <condition var1="tw_busy" var2="0"/>
4640 <actions>
4641 <action function="overlay"/>
4642 <action function="key">%tw_back%</action>
4643 </actions>
4644 </button>
4645
4646 <action>
4647 <touch key="power+voldown"/>
4648 <action function="screenshot"/>
4649 </action>
4650 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </pages>
4652</recovery>