blob: 8e1a0d27a481f61a3eab626c8a49e706bfbb9a0c [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
3257 <partitionlist style="partitionlist_storage">
3258 <text>{@sel_storage_list=Select Storage}</text>
3259 <data name="tw_storage_path"/>
3260 <listtype name="storage"/>
3261 </partitionlist>
3262
3263 <text style="text_m_fail">
3264 <condition var1="partitionlisterror" var2="1"/>
3265 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3266 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3267 </text>
3268
3269 <button style="button_third_width">
3270 <placement x="%dialog_button_x%" y="%row14_y%"/>
3271 <text>{@ok_btn=OK}</text>
3272 <actions>
3273 <action function="getpartitiondetails">tw_storage_path</action>
3274 <action function="page">partsdcardcheck</action>
3275 </actions>
3276 </button>
3277
3278 <action>
3279 <touch key="home"/>
3280 <action function="page">main</action>
3281 </action>
3282
3283 <action>
3284 <touch key="back"/>
3285 <action function="page">advanced</action>
3286 </action>
3287 </page>
3288
3289 <page name="partsdcardcheck">
3290 <action>
3291 <condition var1="tw_partition_removable" op="=" var2="1"/>
3292 <actions>
3293 <action function="set">partitionlisterror=0</action>
3294 <action function="page">partsdcard</action>
3295 </actions>
3296 </action>
3297
3298 <action>
3299 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3300 <actions>
3301 <action function="set">partitionlisterror=1</action>
3302 <action function="page">partsdcardsel</action>
3303 </actions>
3304 </action>
3305 </page>
3306
z31s1g28f0a922015-11-07 18:50:22 +01003307 <page name="partsdcard">
3308 <template name="page"/>
3309
3310 <text style="text_l">
3311 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003312 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003313 </text>
3314
3315 <text style="text_m">
3316 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </text>
3319
3320 <text style="text_m_fail">
3321 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 </text>
3324
3325 <text style="text_m_fail">
3326 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003327 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003328 </text>
3329
3330 <text style="text_m_accent">
3331 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 </text>
3334
3335 <text style="text_m">
3336 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3337 <text>%tw_sdext_size%</text>
3338 </text>
3339
3340 <button style="button_quarter_width">
3341 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003343 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003344 </button>
3345
3346 <button style="button_quarter_width">
3347 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003349 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003350 </button>
3351
3352 <text style="text_m_accent">
3353 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 </text>
3356
3357 <text style="text_m">
3358 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3359 <text>%tw_swap_size%</text>
3360 </text>
3361
3362 <button style="button_quarter_width">
3363 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003365 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003366 </button>
3367
3368 <button style="button_quarter_width">
3369 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003370 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003371 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003372 </button>
3373
3374 <text style="text_m_accent">
3375 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 </text>
3378
3379 <text style="text_m">
3380 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3381 <text>%tw_sdpart_file_system%</text>
3382 </text>
3383
3384 <button style="button_quarter_width">
3385 <placement x="%indent%" y="%row14_y%"/>
3386 <text>EXT3</text>
3387 <action function="set">tw_sdpart_file_system=ext3</action>
3388 </button>
3389
3390 <button style="button_quarter_width">
3391 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3392 <text>EXT4</text>
3393 <action function="set">tw_sdpart_file_system=ext4</action>
3394 </button>
3395
3396 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003398 <action function="page">partsdcardaction</action>
3399 <actions>
3400 <action function="set">tw_back=partsdcard</action>
3401 <action function="set">tw_action=partitionsd</action>
3402 <action function="set">tw_has_action2=1</action>
3403 <action function="set">tw_action2=set</action>
3404 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3406 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3407 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003408 <action function="page">action_page</action>
3409 </actions>
3410 </slider>
3411
3412 <action>
3413 <touch key="home"/>
3414 <action function="page">main</action>
3415 </action>
3416
3417 <action>
3418 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003419 <actions>
3420 <action function="set">partitionlisterror=0</action>
3421 <action function="page">partsdcardsel</action>
3422 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003423 </action>
3424 </page>
3425
3426 <page name="htcdumlock">
3427 <template name="page"/>
3428
3429 <text style="text_l">
3430 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003431 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003432 </text>
3433
3434 <text style="text_m">
3435 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 </text>
3438
3439 <button style="main_button_half_height_full_width">
3440 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003442 <actions>
3443 <action function="set">tw_back=htcdumlock</action>
3444 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3446 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3447 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3448 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <action function="page">confirm_action</action>
3450 </actions>
3451 </button>
3452
3453 <button style="main_button_half_height_full_width">
3454 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <actions>
3457 <action function="set">tw_back=htcdumlock</action>
3458 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3460 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3461 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3462 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <action function="page">confirm_action</action>
3464 </actions>
3465 </button>
3466
3467 <button style="main_button_half_height_full_width">
3468 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <actions>
3471 <action function="set">tw_back=htcdumlock</action>
3472 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3474 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3475 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3476 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003477 <action function="page">confirm_action</action>
3478 </actions>
3479 </button>
3480
3481 <action>
3482 <touch key="home"/>
3483 <action function="page">main</action>
3484 </action>
3485
3486 <action>
3487 <touch key="back"/>
3488 <action function="page">advanced</action>
3489 </action>
3490 </page>
3491
3492 <page name="lock">
3493 <background color="%semi_transparent%"/>
3494
3495 <image>
3496 <image resource="unlock_icon"/>
3497 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3498 </image>
3499
3500 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 <action function="overlay"/>
3503 </slider>
3504 </page>
3505
3506 <page name="filemanagerlist">
3507 <template name="page"/>
3508
3509 <text style="text_l">
3510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003512 </text>
3513
3514 <text style="text_m">
3515 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003517 </text>
3518
3519 <template name="sort_options"/>
3520
3521 <fileselector>
3522 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3523 <text>%tw_file_location1%</text>
3524 <filter folders="1" files="1"/>
3525 <path name="tw_file_location1" default="/"/>
3526 <data name="tw_filename1"/>
3527 <selection name="tw_selection1"/>
3528 </fileselector>
3529
3530 <button style="fab">
3531 <image resource="fab_selectfolder"/>
3532 <actions>
3533 <action function="set">tw_filename1=tw_file_location1</action>
3534 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <action function="page">filemanageroptions</action>
3537 </actions>
3538 </button>
3539
3540 <action>
3541 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <action function="set">tw_fm_isfolder=0</action>
3544 </actions>
3545 </action>
3546
3547 <action>
3548 <touch key="home"/>
3549 <action function="page">main</action>
3550 </action>
3551
3552 <action>
3553 <touch key="back"/>
3554 <action function="page">advanced</action>
3555 </action>
3556
3557 <action>
3558 <condition var1="tw_filename1" op="modified"/>
3559 <action function="page">filemanageroptions</action>
3560 </action>
3561 </page>
3562
3563 <page name="filemanageroptions">
3564 <template name="page"/>
3565
3566 <text style="text_l">
3567 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003568 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003569 </text>
3570
3571 <text style="text_m">
3572 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003574 </text>
3575
3576 <text style="text_m_accent">
3577 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 </text>
3580
3581 <text style="text_m">
3582 <placement x="%indent%" y="%row3_y%"/>
3583 <text>%tw_filename1%</text>
3584 </text>
3585
3586 <button style="main_button_half_height">
3587 <condition var1="tw_fm_isfolder" var2="0"/>
3588 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003590 <actions>
3591 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003593 <action function="page">choosedestinationfolder</action>
3594 </actions>
3595 </button>
3596
3597 <button style="main_button_half_height">
3598 <condition var1="tw_fm_isfolder" var2="1"/>
3599 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <actions>
3602 <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 -05003603 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003604 <action function="page">choosedestinationfolder</action>
3605 </actions>
3606 </button>
3607
3608 <button style="main_button_half_height">
3609 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <actions>
3612 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003614 <action function="page">choosedestinationfolder</action>
3615 </actions>
3616 </button>
3617
3618 <button style="main_button_half_height">
3619 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <actions>
3622 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003624 <action function="set">tw_fm_text2=</action>
3625 <action function="set">tw_fm_text3=</action>
3626 <action function="set">tw_include_text3=0</action>
3627 <action function="set">tw_back=filemanageroptions</action>
3628 <action function="page">filemanagerconfirm</action>
3629 </actions>
3630 </button>
3631
3632 <button style="main_button_half_height">
3633 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 <actions>
3636 <action function="set">tw_filemanager_rename=0000</action>
3637 <action function="set">tw_fm_text2=</action>
3638 <action function="set">tw_fm_text3=</action>
3639 <action function="set">tw_include_text3=0</action>
3640 <action function="set">tw_back=filemanageroptions</action>
3641 <action function="page">filemanagerchmod</action>
3642 </actions>
3643 </button>
3644
3645 <button style="main_button_half_height">
3646 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003648 <actions>
3649 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003651 <action function="set">tw_fm_text2=</action>
3652 <action function="set">tw_fm_text3=</action>
3653 <action function="set">tw_include_text3=0</action>
3654 <action function="set">tw_back=filemanageroptions</action>
3655 <action function="page">filemanagerconfirm</action>
3656 </actions>
3657 </button>
3658
3659 <button style="main_button_half_height">
3660 <condition var1="tw_fm_isfolder" var2="0"/>
3661 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <actions>
3664 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003666 <action function="set">tw_filemanager_command=mv</action>
3667 <action function="page">filemanagerrenamefile</action>
3668 </actions>
3669 </button>
3670
3671 <button style="main_button_half_height">
3672 <condition var1="tw_fm_isfolder" var2="1"/>
3673 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <actions>
3676 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003678 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3679 <action function="page">filemanagerrenamefolder</action>
3680 </actions>
3681 </button>
3682
3683 <action>
3684 <touch key="home"/>
3685 <action function="page">main</action>
3686 </action>
3687
3688 <action>
3689 <touch key="back"/>
3690 <action function="page">filemanagerlist</action>
3691 </action>
3692 </page>
3693
3694 <page name="choosedestinationfolder">
3695 <template name="page"/>
3696
3697 <text style="text_l">
3698 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003700 </text>
3701
3702 <text style="text_m">
3703 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003704 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003705 </text>
3706
3707 <template name="sort_options"/>
3708
3709 <fileselector>
3710 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3711 <text>%tw_file_location2%</text>
3712 <filter folders="1" files="0"/>
3713 <path name="tw_file_location2" default="/"/>
3714 <data name="tw_filename2"/>
3715 <selection name="tw_selection2"/>
3716 </fileselector>
3717
3718 <button style="fab">
3719 <image resource="fab_selectfolder"/>
3720 <actions>
3721 <action function="set">tw_fm_text2=to</action>
3722 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3723 <action function="set">tw_include_text3=1</action>
3724 <action function="set">tw_back=filemanageroptions</action>
3725 <action function="page">filemanagerconfirm</action>
3726 </actions>
3727 </button>
3728
3729 <action>
3730 <touch key="home"/>
3731 <action function="page">main</action>
3732 </action>
3733
3734 <action>
3735 <touch key="back"/>
3736 <action function="page">filemanageroptions</action>
3737 </action>
3738 </page>
3739
3740 <page name="filemanagerrenamefile">
3741 <template name="page"/>
3742
3743 <text style="text_l">
3744 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 </text>
3747
3748 <text style="text_m">
3749 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 </text>
3752
3753 <text style="text_m_accent">
3754 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 </text>
3757
3758 <input>
3759 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3760 <text>%tw_filemanager_rename%</text>
3761 <data name="tw_filemanager_rename"/>
3762 <restrict minlen="1" maxlen="128"/>
3763 <actions>
3764 <action function="set">tw_fm_text2=to</action>
3765 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3766 <action function="set">tw_include_text3=1</action>
3767 <action function="set">tw_back=filemanageroptions</action>
3768 <action function="page">filemanagerconfirm</action>
3769 </actions>
3770 </input>
3771
3772 <fill color="%accent_color%">
3773 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3774 </fill>
3775
3776 <button style="main_button_half_height">
3777 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 <action function="page">filemanageroptions</action>
3780 </button>
3781
3782 <template name="keyboardtemplate"/>
3783
3784 <action>
3785 <touch key="home"/>
3786 <action function="page">main</action>
3787 </action>
3788
3789 <action>
3790 <touch key="back"/>
3791 <action function="page">filemanageroptions</action>
3792 </action>
3793 </page>
3794
3795 <page name="filemanagerrenamefolder">
3796 <template name="page"/>
3797
3798 <text style="text_l">
3799 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003800 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003801 </text>
3802
3803 <text style="text_m">
3804 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003806 </text>
3807
3808 <text style="text_m_accent">
3809 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003810 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003811 </text>
3812
3813 <input>
3814 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3815 <text>%tw_filemanager_rename%</text>
3816 <data name="tw_filemanager_rename"/>
3817 <restrict minlen="1" maxlen="128"/>
3818 <actions>
3819 <action function="set">tw_fm_text2=to</action>
3820 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3821 <action function="set">tw_include_text3=1</action>
3822 <action function="set">tw_back=filemanageroptions</action>
3823 <action function="page">filemanagerconfirm</action>
3824 </actions>
3825 </input>
3826
3827 <fill color="%accent_color%">
3828 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3829 </fill>
3830
3831 <button style="main_button_half_height">
3832 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003834 <action function="page">filemanageroptions</action>
3835 </button>
3836
3837 <template name="keyboardtemplate"/>
3838
3839 <action>
3840 <touch key="home"/>
3841 <action function="page">main</action>
3842 </action>
3843
3844 <action>
3845 <touch key="back"/>
3846 <action function="page">filemanageroptions</action>
3847 </action>
3848 </page>
3849
3850 <page name="filemanagerchmod">
3851 <template name="page"/>
3852
3853 <text style="text_l">
3854 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 </text>
3857
3858 <text style="text_m">
3859 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <text style="text_m_accent">
3864 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <input>
3869 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3870 <text>%tw_filemanager_rename%</text>
3871 <data name="tw_filemanager_rename"/>
3872 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3873 <actions>
3874 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3875 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3876 <action function="set">tw_back=filemanageroptions</action>
3877 <action function="page">filemanagerconfirm</action>
3878 </actions>
3879 </input>
3880
3881 <fill color="%accent_color%">
3882 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3883 </fill>
3884
3885 <button style="main_button_half_height">
3886 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 <action function="page">filemanageroptions</action>
3889 </button>
3890
3891 <template name="keyboardtemplate"/>
3892
3893 <action>
3894 <touch key="home"/>
3895 <action function="page">main</action>
3896 </action>
3897
3898 <action>
3899 <touch key="back"/>
3900 <action function="page">filemanageroptions</action>
3901 </action>
3902 </page>
3903
3904 <page name="filemanagerconfirm">
3905 <template name="page"/>
3906
3907 <text style="text_l">
3908 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003910 </text>
3911
3912 <text style="text_m">
3913 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003915 </text>
3916
3917 <text style="text_m_accent">
3918 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3919 <text>%tw_fm_text1%</text>
3920 </text>
3921
3922 <text style="text_m">
3923 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3924 <text>%tw_filename1%</text>
3925 </text>
3926
3927 <text style="text_m_accent">
3928 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3929 <text>%tw_fm_text2%</text>
3930 </text>
3931
3932 <text style="text_m">
3933 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3934 <text>%tw_fm_text3%</text>
3935 </text>
3936
3937 <text style="text_m">
3938 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003944 <action function="page">filemanageraction</action>
3945 </slider>
3946
3947 <action>
3948 <touch key="back"/>
3949 <action function="page">%tw_back%</action>
3950 </action>
3951
3952 <action>
3953 <touch key="home"/>
3954 <action function="page">main</action>
3955 </action>
3956 </page>
3957
3958 <page name="filemanageraction">
3959 <template name="page"/>
3960
3961 <text style="text_l">
3962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 </text>
3965
3966 <text style="text_m">
3967 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3968 <text>%tw_fm_text1%</text>
3969 </text>
3970
3971 <template name="console"/>
3972
3973 <template name="progress_bar"/>
3974
3975 <action>
3976 <conditions>
3977 <condition var1="tw_operation_state" var2="1"/>
3978 <condition var1="tw_operation_status" var2="0"/>
3979 </conditions>
3980 <actions>
3981 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003983 <action function="page">action_complete</action>
3984 </actions>
3985 </action>
3986
3987 <action>
3988 <conditions>
3989 <condition var1="tw_operation_state" var2="1"/>
3990 <condition var1="tw_operation_status" op="!=" var2="0"/>
3991 </conditions>
3992 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003994 <action function="page">action_complete</action>
3995 </actions>
3996 </action>
3997
3998 <action>
3999 <condition var1="tw_include_text3" var2="0"/>
4000 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4001 </action>
4002
4003 <action>
4004 <condition var1="tw_include_text3" var2="1"/>
4005 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4006 </action>
4007 </page>
4008
4009 <page name="decrypt">
4010 <template name="page"/>
4011
4012 <action>
4013 <condition var1="tw_crypto_pwtype" var2="2"/>
4014 <action function="page">decrypt_pattern</action>
4015 </action>
4016
4017 <text style="text_l">
4018 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004019 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004020 </text>
4021
4022 <text style="text_m">
4023 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004024 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004025 </text>
4026
4027 <text style="text_m_accent">
4028 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004029 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004030 </text>
4031
4032 <input>
4033 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4034 <text>%tw_crypto_display%</text>
4035 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4036 <restrict minlen="1" maxlen="254"/>
4037 <action function="page">trydecrypt</action>
4038 </input>
4039
4040 <fill color="%accent_color%">
4041 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4042 </fill>
4043
4044 <fill color="%text_fail_color%">
4045 <condition var1="tw_password_fail" var2="1"/>
4046 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4047 </fill>
4048
4049 <text style="text_m_fail">
4050 <condition var1="tw_password_fail" var2="1"/>
4051 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004052 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004053 </text>
4054
4055 <button style="main_button_half_height">
4056 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004058 <actions>
4059 <action function="set">tw_page_done=1</action>
4060 <action function="page">main</action>
4061 </actions>
4062 </button>
4063
z31s1g608d7ff2016-01-18 19:47:25 +01004064 <button style="main_button_half_height">
4065 <placement x="%center_x%" y="%row10_y%"/>
4066 <text>{@sel_lang_btn=Select Language}</text>
4067 <action function="overlay">select_language</action>
4068 </button>
4069
z31s1g28f0a922015-11-07 18:50:22 +01004070 <template name="keyboardtemplate"/>
4071 </page>
4072
4073 <page name="decrypt_pattern">
4074 <template name="page"/>
4075
4076 <text style="text_l">
4077 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </text>
4080
4081 <text style="text_m">
4082 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004084 </text>
4085
4086 <text style="text_m_accent">
4087 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
Aleksa Saraib25a1832015-12-31 17:36:00 +01004091 <text style="text_m_fail">
4092 <condition var1="tw_password_fail" var2="1"/>
4093 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004094 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004095 </text>
4096
z31s1g28f0a922015-11-07 18:50:22 +01004097 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004098 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004099 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4100 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4101 <data name="tw_crypto_password"/>
4102 <action function="page">trydecrypt</action>
4103 </patternpassword>
4104
Aleksa Saraib25a1832015-12-31 17:36:00 +01004105 <button style="button_quarter_width">
4106 <placement x="%indent%" y="%row19a_y%"/>
4107 <text>3x3</text>
4108 <action function="set">tw_gui_pattern_grid_size=3</action>
4109 </button>
4110
4111 <button style="button_quarter_width">
4112 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4113 <text>4x4</text>
4114 <action function="set">tw_gui_pattern_grid_size=4</action>
4115 </button>
4116
4117 <button style="button_quarter_width">
4118 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4119 <text>5x5</text>
4120 <action function="set">tw_gui_pattern_grid_size=5</action>
4121 </button>
4122
4123 <button style="button_quarter_width">
4124 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4125 <text>6x6</text>
4126 <action function="set">tw_gui_pattern_grid_size=6</action>
4127 </button>
4128
z31s1g28f0a922015-11-07 18:50:22 +01004129 <button style="main_button_half_height">
4130 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004131 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004132 <actions>
4133 <action function="set">tw_page_done=1</action>
4134 <action function="page">main</action>
4135 </actions>
4136 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004137
4138 <button style="main_button_half_height">
4139 <placement x="%center_x%" y="%row21a_y%"/>
4140 <text>{@sel_lang_btn=Select Language}</text>
4141 <action function="overlay">select_language</action>
4142 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </page>
4144
4145 <page name="trydecrypt">
4146 <template name="page"/>
4147
4148 <text style="text_l">
4149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m">
4154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <template name="console"/>
4159
4160 <template name="progress_bar"/>
4161
4162 <action>
4163 <action function="decrypt"/>
4164 </action>
4165
4166 <action>
4167 <conditions>
4168 <condition var1="tw_operation_state" var2="1"/>
4169 <condition var1="tw_operation_status" op="!=" var2="0"/>
4170 </conditions>
4171 <actions>
4172 <action function="set">tw_password_fail=1</action>
4173 <action function="page">decrypt</action>
4174 </actions>
4175 </action>
4176
4177 <action>
4178 <conditions>
4179 <condition var1="tw_operation_state" var2="1"/>
4180 <condition var1="tw_operation_status" op="=" var2="0"/>
4181 </conditions>
4182 <actions>
4183 <action function="set">tw_page_done=1</action>
4184 <action function="page">main</action>
4185 </actions>
4186 </action>
4187 </page>
4188
z31s1g28f0a922015-11-07 18:50:22 +01004189 <page name="terminalcommand">
4190 <template name="page"/>
4191
z31s1g56189522016-01-13 19:12:40 +01004192 <fill color="%background_color%">
4193 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004194 </fill>
4195
z31s1g56189522016-01-13 19:12:40 +01004196 <terminal>
4197 <condition var1="tw_hide_kb" var2="0"/>
4198 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4199 </terminal>
4200
4201 <terminal>
4202 <condition var1="tw_hide_kb" var2="1"/>
4203 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4204 </terminal>
4205
4206 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004207
4208 <template name="keyboardtemplate"/>
4209
z31s1g608d7ff2016-01-18 19:47:25 +01004210 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004211 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004212 </fill>
z31s1g56189522016-01-13 19:12:40 +01004213
z31s1g608d7ff2016-01-18 19:47:25 +01004214 <button>
z31s1g56189522016-01-13 19:12:40 +01004215 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4216 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4217 <image resource="back" />
4218 <condition var1="tw_busy" var2="0" />
4219 <actions>
4220 <action function="set">tw_hide_kb=0</action>
4221 <action function="key">back</action>
4222 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004223 </button>
z31s1g56189522016-01-13 19:12:40 +01004224
z31s1g608d7ff2016-01-18 19:47:25 +01004225 <button>
z31s1g56189522016-01-13 19:12:40 +01004226 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4227 <condition var1="tw_hide_kb" op="=" var2="0" />
4228 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4229 <image resource="kb_hide" />
4230 <condition var1="tw_busy" var2="0" />
4231 <actions>
4232 <action function="set">tw_hide_kb=1</action>
4233 <action function="page">terminalcommand</action>
4234 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004235 </button>
z31s1g56189522016-01-13 19:12:40 +01004236
z31s1g608d7ff2016-01-18 19:47:25 +01004237 <button>
z31s1g56189522016-01-13 19:12:40 +01004238 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4239 <condition var1="tw_hide_kb" op="=" var2="1" />
4240 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4241 <image resource="kb_show" />
4242 <condition var1="tw_busy" var2="0" />
4243 <actions>
4244 <action function="set">tw_hide_kb=0</action>
4245 <action function="page">terminalcommand</action>
4246 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004247 </button>
z31s1g56189522016-01-13 19:12:40 +01004248
z31s1g608d7ff2016-01-18 19:47:25 +01004249 <button>
z31s1g56189522016-01-13 19:12:40 +01004250 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4251 <image resource="home" />
4252 <condition var1="tw_busy" var2="0" />
4253 <actions>
4254 <action function="set">tw_hide_kb=0</action>
4255 <action function="key">home</action>
4256 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004257 </button>
z31s1g56189522016-01-13 19:12:40 +01004258
z31s1g608d7ff2016-01-18 19:47:25 +01004259 <button>
z31s1g56189522016-01-13 19:12:40 +01004260 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4261 <condition var1="tw_hide_kb" op="=" var2="0" />
4262 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4263 <image resource="kb_hide" />
4264 <condition var1="tw_busy" var2="0" />
4265 <actions>
4266 <action function="set">tw_hide_kb=1</action>
4267 <action function="page">terminalcommand</action>
4268 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004269 </button>
z31s1g56189522016-01-13 19:12:40 +01004270
z31s1g608d7ff2016-01-18 19:47:25 +01004271 <button>
z31s1g56189522016-01-13 19:12:40 +01004272 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4273 <condition var1="tw_hide_kb" op="=" var2="1" />
4274 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4275 <image resource="kb_show" />
4276 <condition var1="tw_busy" var2="0" />
4277 <actions>
4278 <action function="set">tw_hide_kb=0</action>
4279 <action function="page">terminalcommand</action>
4280 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004281 </button>
z31s1g56189522016-01-13 19:12:40 +01004282
z31s1g608d7ff2016-01-18 19:47:25 +01004283 <button>
z31s1g56189522016-01-13 19:12:40 +01004284 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4285 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4286 <image resource="back" />
4287 <condition var1="tw_busy" var2="0" />
4288 <actions>
4289 <action function="set">tw_hide_kb=0</action>
4290 <action function="key">back</action>
4291 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004292 </button>
z31s1g56189522016-01-13 19:12:40 +01004293
z31s1g28f0a922015-11-07 18:50:22 +01004294 <action>
4295 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004296 <actions>
4297 <action function="set">tw_hide_kb=0</action>
4298 <action function="page">main</action>
4299 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004300 </action>
4301
4302 <action>
4303 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004304 <actions>
4305 <action function="set">tw_hide_kb=0</action>
4306 <action function="page">advanced</action>
4307 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004308 </action>
z31s1g56189522016-01-13 19:12:40 +01004309
z31s1g608d7ff2016-01-18 19:47:25 +01004310 <action>
z31s1g56189522016-01-13 19:12:40 +01004311 <touch key="power+voldown" />
4312 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004313 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004314 </page>
4315
4316 <page name="sideload">
4317 <template name="page"/>
4318
4319 <text style="text_l">
4320 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004322 </text>
4323
4324 <text style="text_m">
4325 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004326 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </text>
4328
4329 <checkbox>
4330 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004331 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004332 <data variable="tw_wipe_dalvik"/>
4333 </checkbox>
4334
4335 <checkbox>
4336 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004337 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004338 <data variable="tw_wipe_cache"/>
4339 </checkbox>
4340
4341 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004342 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004343 <actions>
4344 <action function="set">tw_back=advanced</action>
4345 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004346 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4347 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4348 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004349 <action function="set">tw_has_cancel=1</action>
4350 <action function="set">tw_show_reboot=1</action>
4351 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4352 <action function="page">action_page</action>
4353 </actions>
4354 </slider>
4355
4356 <action>
4357 <touch key="home"/>
4358 <action function="page">main</action>
4359 </action>
4360
4361 <action>
4362 <touch key="back"/>
4363 <action function="page">advanced</action>
4364 </action>
4365 </page>
4366
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004367 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004368 <template name="page"/>
4369
4370 <text style="text_l">
4371 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004372 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004373 </text>
4374
4375 <text style="text_m">
4376 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004377 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004378 </text>
4379
4380 <text style="text_m_accent">
4381 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004382 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004383 </text>
4384
z31s1g28f0a922015-11-07 18:50:22 +01004385 <text style="text_m_fail">
4386 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004387 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004388 </text>
4389
4390 <text style="text_m_fail">
4391 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004392 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004393 </text>
4394
4395 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004396 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 <actions>
4398 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004399 <action function="set">tw_action=fixcontexts</action>
4400 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4401 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004402 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004403 <action function="set">tw_show_reboot=1</action>
4404 <action function="page">action_page</action>
4405 </actions>
4406 </slider>
4407
4408 <action>
4409 <touch key="home"/>
4410 <action function="page">main</action>
4411 </action>
4412
4413 <action>
4414 <touch key="back"/>
4415 <action function="page">advanced</action>
4416 </action>
4417 </page>
4418
4419 <page name="installsu">
4420 <template name="page"/>
4421
4422 <text style="text_l">
4423 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m">
4428 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m_accent">
4433 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m">
4438 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </text>
4441
4442 <text style="text_m">
4443 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <button style="main_button_half_height">
4448 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 <action function="set">tw_page_done=1</action>
4451 </button>
4452
4453 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 <actions>
4456 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004458 <action function="set">tw_action_text2=</action>
4459 <action function="page">singleaction_page</action>
4460 </actions>
4461 </slider>
4462 </page>
4463
4464 <page name="slideout">
4465 <fill color="%background_color%">
4466 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4467 </fill>
4468
4469 <console>
4470 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4471 </console>
4472
4473 <button>
4474 <fill color="%transparent%"/>
4475 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4476 <action function="overlay"/>
4477 </button>
4478
4479 <action>
4480 <touch key="power+voldown"/>
4481 <action function="screenshot"/>
4482 </action>
4483 </page>
4484
4485 <page name="select_storage">
4486 <fill color="%semi_transparent%">
4487 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4488 </fill>
4489
4490 <fill color="%background_color%">
4491 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4492 </fill>
4493
4494 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 <data name="tw_storage_path"/>
4497 <listtype name="storage"/>
4498 </partitionlist>
4499
4500 <button style="button_third_width">
4501 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004502 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004503 <actions>
4504 <action function="set">tw_clear_destination=%tw_back%</action>
4505 <action function="overlay"/>
4506 <action function="page">clear_vars</action>
4507 </actions>
4508 </button>
4509
4510 <fill color="#000000">
4511 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4512 </fill>
4513
4514 <button>
4515 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4516 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4517 <image resource="back"/>
4518 <condition var1="tw_busy" var2="0"/>
4519 <actions>
4520 <action function="overlay"/>
4521 <action function="key">%tw_back%</action>
4522 </actions>
4523 </button>
4524
4525 <button>
4526 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4527 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4528 <image resource="console"/>
4529 <condition var1="tw_busy" var2="0"/>
4530 <action function="overlay">slideout</action>
4531 </button>
4532
4533 <button>
4534 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4535 <image resource="home"/>
4536 <condition var1="tw_busy" var2="0"/>
4537 <actions>
4538 <action function="overlay"/>
4539 <action function="key">home</action>
4540 </actions>
4541 </button>
4542
4543 <button>
4544 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4545 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4546 <image resource="console"/>
4547 <condition var1="tw_busy" var2="0"/>
4548 <action function="overlay">slideout</action>
4549 </button>
4550
4551 <button>
4552 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4553 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4554 <image resource="back"/>
4555 <condition var1="tw_busy" var2="0"/>
4556 <actions>
4557 <action function="overlay"/>
4558 <action function="key">%tw_back%</action>
4559 </actions>
4560 </button>
4561
4562 <action>
4563 <touch key="power+voldown"/>
4564 <action function="screenshot"/>
4565 </action>
4566 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004567
4568 <page name="select_language">
4569 <fill color="%semi_transparent%">
4570 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4571 </fill>
4572
4573 <fill color="%background_color%">
4574 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4575 </fill>
4576
4577 <listbox>
4578 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4579 <text>{@select_language=Select Language:}</text>
4580 <icon selected="radio_true" unselected="radio_false" />
4581 <data name="tw_language" />
4582 </listbox>
4583
4584 <button style="button_third_width">
4585 <placement x="%dialog_button_x%" y="%row14_y%"/>
4586 <text>{@ok_btn=OK}</text>
4587 <actions>
4588 <action function="overlay"/>
4589 <action function="setlanguage"></action>
4590 </actions>
4591 </button>
4592
4593 <fill color="#000000">
4594 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4595 </fill>
4596
4597 <button>
4598 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4599 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4600 <image resource="back"/>
4601 <condition var1="tw_busy" var2="0"/>
4602 <actions>
4603 <action function="overlay"/>
4604 <action function="key">%tw_back%</action>
4605 </actions>
4606 </button>
4607
4608 <button>
4609 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4610 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4611 <image resource="console"/>
4612 <condition var1="tw_busy" var2="0"/>
4613 <action function="overlay">slideout</action>
4614 </button>
4615
4616 <button>
4617 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4618 <image resource="home"/>
4619 <condition var1="tw_busy" var2="0"/>
4620 <actions>
4621 <action function="overlay"/>
4622 <action function="key">home</action>
4623 </actions>
4624 </button>
4625
4626 <button>
4627 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4628 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4629 <image resource="console"/>
4630 <condition var1="tw_busy" var2="0"/>
4631 <action function="overlay">slideout</action>
4632 </button>
4633
4634 <button>
4635 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4636 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4637 <image resource="back"/>
4638 <condition var1="tw_busy" var2="0"/>
4639 <actions>
4640 <action function="overlay"/>
4641 <action function="key">%tw_back%</action>
4642 </actions>
4643 </button>
4644
4645 <action>
4646 <touch key="power+voldown"/>
4647 <action function="screenshot"/>
4648 </action>
4649 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004650 </pages>
4651</recovery>