blob: f253b2207d9f6bd4d7beb09d8c81765f1fd51988 [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">
3171 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 <action function="page">fixperms</action>
3174 </button>
3175
3176 <button style="main_button">
3177 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3178 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003180 <actions>
3181 <action function="set">partitionlisterror=0</action>
3182 <action function="page">partsdcardsel</action>
3183 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003184 </button>
3185
3186 <button style="main_button">
3187 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="page">filemanagerlist</action>
3190 </button>
3191
3192 <button style="main_button">
3193 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003195 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003196 </button>
3197
3198 <button style="main_button">
3199 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003200 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003201 <action function="reload"/>
3202 </button>
3203
3204 <button style="main_button">
3205 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003206 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003207 <action function="page">sideload</action>
3208 </button>
3209
3210 <button style="main_button">
3211 <condition var1="tw_show_dumlock" var2="1"/>
3212 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003214 <action function="page">htcdumlock</action>
3215 </button>
3216
3217 <button style="main_button">
3218 <condition var1="tw_has_injecttwrp" var2="1"/>
3219 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003221 <actions>
3222 <action function="set">tw_back=advanced</action>
3223 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3225 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3226 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3227 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <action function="page">confirm_action</action>
3229 </actions>
3230 </button>
3231
3232 <action>
3233 <touch key="home"/>
3234 <action function="page">main</action>
3235 </action>
3236
3237 <action>
3238 <touch key="back"/>
3239 <action function="page">main</action>
3240 </action>
3241 </page>
3242
Ethan Yonker483e9f42016-01-11 22:21:18 -06003243 <page name="partsdcardsel">
3244 <template name="page"/>
3245
3246 <text style="text_l">
3247 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3248 <text>{@advanced_hdr=Advanced}</text>
3249 </text>
3250
3251 <text style="text_m">
3252 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3253 <text>{@part_sd_hdr=Partition SD Card}</text>
3254 </text>
3255
3256 <partitionlist style="partitionlist_storage">
3257 <text>{@sel_storage_list=Select Storage}</text>
3258 <data name="tw_storage_path"/>
3259 <listtype name="storage"/>
3260 </partitionlist>
3261
3262 <text style="text_m_fail">
3263 <condition var1="partitionlisterror" var2="1"/>
3264 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3265 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3266 </text>
3267
3268 <button style="button_third_width">
3269 <placement x="%dialog_button_x%" y="%row14_y%"/>
3270 <text>{@ok_btn=OK}</text>
3271 <actions>
3272 <action function="getpartitiondetails">tw_storage_path</action>
3273 <action function="page">partsdcardcheck</action>
3274 </actions>
3275 </button>
3276
3277 <action>
3278 <touch key="home"/>
3279 <action function="page">main</action>
3280 </action>
3281
3282 <action>
3283 <touch key="back"/>
3284 <action function="page">advanced</action>
3285 </action>
3286 </page>
3287
3288 <page name="partsdcardcheck">
3289 <action>
3290 <condition var1="tw_partition_removable" op="=" var2="1"/>
3291 <actions>
3292 <action function="set">partitionlisterror=0</action>
3293 <action function="page">partsdcard</action>
3294 </actions>
3295 </action>
3296
3297 <action>
3298 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3299 <actions>
3300 <action function="set">partitionlisterror=1</action>
3301 <action function="page">partsdcardsel</action>
3302 </actions>
3303 </action>
3304 </page>
3305
z31s1g28f0a922015-11-07 18:50:22 +01003306 <page name="partsdcard">
3307 <template name="page"/>
3308
3309 <text style="text_l">
3310 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003312 </text>
3313
3314 <text style="text_m">
3315 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 </text>
3318
3319 <text style="text_m_fail">
3320 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 </text>
3323
3324 <text style="text_m_fail">
3325 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </text>
3328
3329 <text style="text_m_accent">
3330 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3336 <text>%tw_sdext_size%</text>
3337 </text>
3338
3339 <button style="button_quarter_width">
3340 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003342 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </button>
3344
3345 <button style="button_quarter_width">
3346 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003348 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </button>
3350
3351 <text style="text_m_accent">
3352 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003354 </text>
3355
3356 <text style="text_m">
3357 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3358 <text>%tw_swap_size%</text>
3359 </text>
3360
3361 <button style="button_quarter_width">
3362 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003364 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </button>
3366
3367 <button style="button_quarter_width">
3368 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003370 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003371 </button>
3372
3373 <text style="text_m_accent">
3374 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003376 </text>
3377
3378 <text style="text_m">
3379 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3380 <text>%tw_sdpart_file_system%</text>
3381 </text>
3382
3383 <button style="button_quarter_width">
3384 <placement x="%indent%" y="%row14_y%"/>
3385 <text>EXT3</text>
3386 <action function="set">tw_sdpart_file_system=ext3</action>
3387 </button>
3388
3389 <button style="button_quarter_width">
3390 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3391 <text>EXT4</text>
3392 <action function="set">tw_sdpart_file_system=ext4</action>
3393 </button>
3394
3395 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003396 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003397 <action function="page">partsdcardaction</action>
3398 <actions>
3399 <action function="set">tw_back=partsdcard</action>
3400 <action function="set">tw_action=partitionsd</action>
3401 <action function="set">tw_has_action2=1</action>
3402 <action function="set">tw_action2=set</action>
3403 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3405 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3406 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <action function="page">action_page</action>
3408 </actions>
3409 </slider>
3410
3411 <action>
3412 <touch key="home"/>
3413 <action function="page">main</action>
3414 </action>
3415
3416 <action>
3417 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003418 <actions>
3419 <action function="set">partitionlisterror=0</action>
3420 <action function="page">partsdcardsel</action>
3421 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </action>
3423 </page>
3424
3425 <page name="htcdumlock">
3426 <template name="page"/>
3427
3428 <text style="text_l">
3429 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 </text>
3432
3433 <text style="text_m">
3434 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003436 </text>
3437
3438 <button style="main_button_half_height_full_width">
3439 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003440 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003441 <actions>
3442 <action function="set">tw_back=htcdumlock</action>
3443 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3445 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3446 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3447 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <action function="page">confirm_action</action>
3449 </actions>
3450 </button>
3451
3452 <button style="main_button_half_height_full_width">
3453 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <actions>
3456 <action function="set">tw_back=htcdumlock</action>
3457 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3459 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3460 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3461 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003462 <action function="page">confirm_action</action>
3463 </actions>
3464 </button>
3465
3466 <button style="main_button_half_height_full_width">
3467 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <actions>
3470 <action function="set">tw_back=htcdumlock</action>
3471 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3473 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3474 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3475 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003476 <action function="page">confirm_action</action>
3477 </actions>
3478 </button>
3479
3480 <action>
3481 <touch key="home"/>
3482 <action function="page">main</action>
3483 </action>
3484
3485 <action>
3486 <touch key="back"/>
3487 <action function="page">advanced</action>
3488 </action>
3489 </page>
3490
3491 <page name="lock">
3492 <background color="%semi_transparent%"/>
3493
3494 <image>
3495 <image resource="unlock_icon"/>
3496 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3497 </image>
3498
3499 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <action function="overlay"/>
3502 </slider>
3503 </page>
3504
3505 <page name="filemanagerlist">
3506 <template name="page"/>
3507
3508 <text style="text_l">
3509 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003511 </text>
3512
3513 <text style="text_m">
3514 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </text>
3517
3518 <template name="sort_options"/>
3519
3520 <fileselector>
3521 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3522 <text>%tw_file_location1%</text>
3523 <filter folders="1" files="1"/>
3524 <path name="tw_file_location1" default="/"/>
3525 <data name="tw_filename1"/>
3526 <selection name="tw_selection1"/>
3527 </fileselector>
3528
3529 <button style="fab">
3530 <image resource="fab_selectfolder"/>
3531 <actions>
3532 <action function="set">tw_filename1=tw_file_location1</action>
3533 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <action function="page">filemanageroptions</action>
3536 </actions>
3537 </button>
3538
3539 <action>
3540 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003542 <action function="set">tw_fm_isfolder=0</action>
3543 </actions>
3544 </action>
3545
3546 <action>
3547 <touch key="home"/>
3548 <action function="page">main</action>
3549 </action>
3550
3551 <action>
3552 <touch key="back"/>
3553 <action function="page">advanced</action>
3554 </action>
3555
3556 <action>
3557 <condition var1="tw_filename1" op="modified"/>
3558 <action function="page">filemanageroptions</action>
3559 </action>
3560 </page>
3561
3562 <page name="filemanageroptions">
3563 <template name="page"/>
3564
3565 <text style="text_l">
3566 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 </text>
3569
3570 <text style="text_m">
3571 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 </text>
3574
3575 <text style="text_m_accent">
3576 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </text>
3579
3580 <text style="text_m">
3581 <placement x="%indent%" y="%row3_y%"/>
3582 <text>%tw_filename1%</text>
3583 </text>
3584
3585 <button style="main_button_half_height">
3586 <condition var1="tw_fm_isfolder" var2="0"/>
3587 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <actions>
3590 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <action function="page">choosedestinationfolder</action>
3593 </actions>
3594 </button>
3595
3596 <button style="main_button_half_height">
3597 <condition var1="tw_fm_isfolder" var2="1"/>
3598 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <actions>
3601 <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 -05003602 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003603 <action function="page">choosedestinationfolder</action>
3604 </actions>
3605 </button>
3606
3607 <button style="main_button_half_height">
3608 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <actions>
3611 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003612 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003613 <action function="page">choosedestinationfolder</action>
3614 </actions>
3615 </button>
3616
3617 <button style="main_button_half_height">
3618 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 <actions>
3621 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003623 <action function="set">tw_fm_text2=</action>
3624 <action function="set">tw_fm_text3=</action>
3625 <action function="set">tw_include_text3=0</action>
3626 <action function="set">tw_back=filemanageroptions</action>
3627 <action function="page">filemanagerconfirm</action>
3628 </actions>
3629 </button>
3630
3631 <button style="main_button_half_height">
3632 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003634 <actions>
3635 <action function="set">tw_filemanager_rename=0000</action>
3636 <action function="set">tw_fm_text2=</action>
3637 <action function="set">tw_fm_text3=</action>
3638 <action function="set">tw_include_text3=0</action>
3639 <action function="set">tw_back=filemanageroptions</action>
3640 <action function="page">filemanagerchmod</action>
3641 </actions>
3642 </button>
3643
3644 <button style="main_button_half_height">
3645 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003646 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003647 <actions>
3648 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003650 <action function="set">tw_fm_text2=</action>
3651 <action function="set">tw_fm_text3=</action>
3652 <action function="set">tw_include_text3=0</action>
3653 <action function="set">tw_back=filemanageroptions</action>
3654 <action function="page">filemanagerconfirm</action>
3655 </actions>
3656 </button>
3657
3658 <button style="main_button_half_height">
3659 <condition var1="tw_fm_isfolder" var2="0"/>
3660 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 <actions>
3663 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="set">tw_filemanager_command=mv</action>
3666 <action function="page">filemanagerrenamefile</action>
3667 </actions>
3668 </button>
3669
3670 <button style="main_button_half_height">
3671 <condition var1="tw_fm_isfolder" var2="1"/>
3672 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003673 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003674 <actions>
3675 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003677 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3678 <action function="page">filemanagerrenamefolder</action>
3679 </actions>
3680 </button>
3681
3682 <action>
3683 <touch key="home"/>
3684 <action function="page">main</action>
3685 </action>
3686
3687 <action>
3688 <touch key="back"/>
3689 <action function="page">filemanagerlist</action>
3690 </action>
3691 </page>
3692
3693 <page name="choosedestinationfolder">
3694 <template name="page"/>
3695
3696 <text style="text_l">
3697 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m">
3702 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </text>
3705
3706 <template name="sort_options"/>
3707
3708 <fileselector>
3709 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3710 <text>%tw_file_location2%</text>
3711 <filter folders="1" files="0"/>
3712 <path name="tw_file_location2" default="/"/>
3713 <data name="tw_filename2"/>
3714 <selection name="tw_selection2"/>
3715 </fileselector>
3716
3717 <button style="fab">
3718 <image resource="fab_selectfolder"/>
3719 <actions>
3720 <action function="set">tw_fm_text2=to</action>
3721 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3722 <action function="set">tw_include_text3=1</action>
3723 <action function="set">tw_back=filemanageroptions</action>
3724 <action function="page">filemanagerconfirm</action>
3725 </actions>
3726 </button>
3727
3728 <action>
3729 <touch key="home"/>
3730 <action function="page">main</action>
3731 </action>
3732
3733 <action>
3734 <touch key="back"/>
3735 <action function="page">filemanageroptions</action>
3736 </action>
3737 </page>
3738
3739 <page name="filemanagerrenamefile">
3740 <template name="page"/>
3741
3742 <text style="text_l">
3743 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </text>
3746
3747 <text style="text_m">
3748 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 </text>
3751
3752 <text style="text_m_accent">
3753 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003755 </text>
3756
3757 <input>
3758 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3759 <text>%tw_filemanager_rename%</text>
3760 <data name="tw_filemanager_rename"/>
3761 <restrict minlen="1" maxlen="128"/>
3762 <actions>
3763 <action function="set">tw_fm_text2=to</action>
3764 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3765 <action function="set">tw_include_text3=1</action>
3766 <action function="set">tw_back=filemanageroptions</action>
3767 <action function="page">filemanagerconfirm</action>
3768 </actions>
3769 </input>
3770
3771 <fill color="%accent_color%">
3772 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3773 </fill>
3774
3775 <button style="main_button_half_height">
3776 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 <action function="page">filemanageroptions</action>
3779 </button>
3780
3781 <template name="keyboardtemplate"/>
3782
3783 <action>
3784 <touch key="home"/>
3785 <action function="page">main</action>
3786 </action>
3787
3788 <action>
3789 <touch key="back"/>
3790 <action function="page">filemanageroptions</action>
3791 </action>
3792 </page>
3793
3794 <page name="filemanagerrenamefolder">
3795 <template name="page"/>
3796
3797 <text style="text_l">
3798 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 </text>
3801
3802 <text style="text_m">
3803 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003805 </text>
3806
3807 <text style="text_m_accent">
3808 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003809 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003810 </text>
3811
3812 <input>
3813 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3814 <text>%tw_filemanager_rename%</text>
3815 <data name="tw_filemanager_rename"/>
3816 <restrict minlen="1" maxlen="128"/>
3817 <actions>
3818 <action function="set">tw_fm_text2=to</action>
3819 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3820 <action function="set">tw_include_text3=1</action>
3821 <action function="set">tw_back=filemanageroptions</action>
3822 <action function="page">filemanagerconfirm</action>
3823 </actions>
3824 </input>
3825
3826 <fill color="%accent_color%">
3827 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3828 </fill>
3829
3830 <button style="main_button_half_height">
3831 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 <action function="page">filemanageroptions</action>
3834 </button>
3835
3836 <template name="keyboardtemplate"/>
3837
3838 <action>
3839 <touch key="home"/>
3840 <action function="page">main</action>
3841 </action>
3842
3843 <action>
3844 <touch key="back"/>
3845 <action function="page">filemanageroptions</action>
3846 </action>
3847 </page>
3848
3849 <page name="filemanagerchmod">
3850 <template name="page"/>
3851
3852 <text style="text_l">
3853 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003855 </text>
3856
3857 <text style="text_m">
3858 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 </text>
3861
3862 <text style="text_m_accent">
3863 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003865 </text>
3866
3867 <input>
3868 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3869 <text>%tw_filemanager_rename%</text>
3870 <data name="tw_filemanager_rename"/>
3871 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3872 <actions>
3873 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3874 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3875 <action function="set">tw_back=filemanageroptions</action>
3876 <action function="page">filemanagerconfirm</action>
3877 </actions>
3878 </input>
3879
3880 <fill color="%accent_color%">
3881 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3882 </fill>
3883
3884 <button style="main_button_half_height">
3885 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 <action function="page">filemanageroptions</action>
3888 </button>
3889
3890 <template name="keyboardtemplate"/>
3891
3892 <action>
3893 <touch key="home"/>
3894 <action function="page">main</action>
3895 </action>
3896
3897 <action>
3898 <touch key="back"/>
3899 <action function="page">filemanageroptions</action>
3900 </action>
3901 </page>
3902
3903 <page name="filemanagerconfirm">
3904 <template name="page"/>
3905
3906 <text style="text_l">
3907 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003909 </text>
3910
3911 <text style="text_m">
3912 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003914 </text>
3915
3916 <text style="text_m_accent">
3917 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3918 <text>%tw_fm_text1%</text>
3919 </text>
3920
3921 <text style="text_m">
3922 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3923 <text>%tw_filename1%</text>
3924 </text>
3925
3926 <text style="text_m_accent">
3927 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3928 <text>%tw_fm_text2%</text>
3929 </text>
3930
3931 <text style="text_m">
3932 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3933 <text>%tw_fm_text3%</text>
3934 </text>
3935
3936 <text style="text_m">
3937 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003939 </text>
3940
3941 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 <action function="page">filemanageraction</action>
3944 </slider>
3945
3946 <action>
3947 <touch key="back"/>
3948 <action function="page">%tw_back%</action>
3949 </action>
3950
3951 <action>
3952 <touch key="home"/>
3953 <action function="page">main</action>
3954 </action>
3955 </page>
3956
3957 <page name="filemanageraction">
3958 <template name="page"/>
3959
3960 <text style="text_l">
3961 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 </text>
3964
3965 <text style="text_m">
3966 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3967 <text>%tw_fm_text1%</text>
3968 </text>
3969
3970 <template name="console"/>
3971
3972 <template name="progress_bar"/>
3973
3974 <action>
3975 <conditions>
3976 <condition var1="tw_operation_state" var2="1"/>
3977 <condition var1="tw_operation_status" var2="0"/>
3978 </conditions>
3979 <actions>
3980 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003982 <action function="page">action_complete</action>
3983 </actions>
3984 </action>
3985
3986 <action>
3987 <conditions>
3988 <condition var1="tw_operation_state" var2="1"/>
3989 <condition var1="tw_operation_status" op="!=" var2="0"/>
3990 </conditions>
3991 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <action function="page">action_complete</action>
3994 </actions>
3995 </action>
3996
3997 <action>
3998 <condition var1="tw_include_text3" var2="0"/>
3999 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4000 </action>
4001
4002 <action>
4003 <condition var1="tw_include_text3" var2="1"/>
4004 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4005 </action>
4006 </page>
4007
4008 <page name="decrypt">
4009 <template name="page"/>
4010
4011 <action>
4012 <condition var1="tw_crypto_pwtype" var2="2"/>
4013 <action function="page">decrypt_pattern</action>
4014 </action>
4015
4016 <text style="text_l">
4017 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004019 </text>
4020
4021 <text style="text_m">
4022 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 </text>
4025
4026 <text style="text_m_accent">
4027 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004029 </text>
4030
4031 <input>
4032 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4033 <text>%tw_crypto_display%</text>
4034 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4035 <restrict minlen="1" maxlen="254"/>
4036 <action function="page">trydecrypt</action>
4037 </input>
4038
4039 <fill color="%accent_color%">
4040 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4041 </fill>
4042
4043 <fill color="%text_fail_color%">
4044 <condition var1="tw_password_fail" var2="1"/>
4045 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4046 </fill>
4047
4048 <text style="text_m_fail">
4049 <condition var1="tw_password_fail" var2="1"/>
4050 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004051 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004052 </text>
4053
4054 <button style="main_button_half_height">
4055 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004057 <actions>
4058 <action function="set">tw_page_done=1</action>
4059 <action function="page">main</action>
4060 </actions>
4061 </button>
4062
z31s1g608d7ff2016-01-18 19:47:25 +01004063 <button style="main_button_half_height">
4064 <placement x="%center_x%" y="%row10_y%"/>
4065 <text>{@sel_lang_btn=Select Language}</text>
4066 <action function="overlay">select_language</action>
4067 </button>
4068
z31s1g28f0a922015-11-07 18:50:22 +01004069 <template name="keyboardtemplate"/>
4070 </page>
4071
4072 <page name="decrypt_pattern">
4073 <template name="page"/>
4074
4075 <text style="text_l">
4076 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004077 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004078 </text>
4079
4080 <text style="text_m">
4081 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004083 </text>
4084
4085 <text style="text_m_accent">
4086 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 </text>
4089
Aleksa Saraib25a1832015-12-31 17:36:00 +01004090 <text style="text_m_fail">
4091 <condition var1="tw_password_fail" var2="1"/>
4092 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004093 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004094 </text>
4095
z31s1g28f0a922015-11-07 18:50:22 +01004096 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004097 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004098 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4099 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4100 <data name="tw_crypto_password"/>
4101 <action function="page">trydecrypt</action>
4102 </patternpassword>
4103
Aleksa Saraib25a1832015-12-31 17:36:00 +01004104 <button style="button_quarter_width">
4105 <placement x="%indent%" y="%row19a_y%"/>
4106 <text>3x3</text>
4107 <action function="set">tw_gui_pattern_grid_size=3</action>
4108 </button>
4109
4110 <button style="button_quarter_width">
4111 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4112 <text>4x4</text>
4113 <action function="set">tw_gui_pattern_grid_size=4</action>
4114 </button>
4115
4116 <button style="button_quarter_width">
4117 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4118 <text>5x5</text>
4119 <action function="set">tw_gui_pattern_grid_size=5</action>
4120 </button>
4121
4122 <button style="button_quarter_width">
4123 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4124 <text>6x6</text>
4125 <action function="set">tw_gui_pattern_grid_size=6</action>
4126 </button>
4127
z31s1g28f0a922015-11-07 18:50:22 +01004128 <button style="main_button_half_height">
4129 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004130 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004131 <actions>
4132 <action function="set">tw_page_done=1</action>
4133 <action function="page">main</action>
4134 </actions>
4135 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004136
4137 <button style="main_button_half_height">
4138 <placement x="%center_x%" y="%row21a_y%"/>
4139 <text>{@sel_lang_btn=Select Language}</text>
4140 <action function="overlay">select_language</action>
4141 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </page>
4143
4144 <page name="trydecrypt">
4145 <template name="page"/>
4146
4147 <text style="text_l">
4148 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <text style="text_m">
4153 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004155 </text>
4156
4157 <template name="console"/>
4158
4159 <template name="progress_bar"/>
4160
4161 <action>
4162 <action function="decrypt"/>
4163 </action>
4164
4165 <action>
4166 <conditions>
4167 <condition var1="tw_operation_state" var2="1"/>
4168 <condition var1="tw_operation_status" op="!=" var2="0"/>
4169 </conditions>
4170 <actions>
4171 <action function="set">tw_password_fail=1</action>
4172 <action function="page">decrypt</action>
4173 </actions>
4174 </action>
4175
4176 <action>
4177 <conditions>
4178 <condition var1="tw_operation_state" var2="1"/>
4179 <condition var1="tw_operation_status" op="=" var2="0"/>
4180 </conditions>
4181 <actions>
4182 <action function="set">tw_page_done=1</action>
4183 <action function="page">main</action>
4184 </actions>
4185 </action>
4186 </page>
4187
z31s1g28f0a922015-11-07 18:50:22 +01004188 <page name="terminalcommand">
4189 <template name="page"/>
4190
z31s1g56189522016-01-13 19:12:40 +01004191 <fill color="%background_color%">
4192 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004193 </fill>
4194
z31s1g56189522016-01-13 19:12:40 +01004195 <terminal>
4196 <condition var1="tw_hide_kb" var2="0"/>
4197 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4198 </terminal>
4199
4200 <terminal>
4201 <condition var1="tw_hide_kb" var2="1"/>
4202 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4203 </terminal>
4204
4205 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004206
4207 <template name="keyboardtemplate"/>
4208
z31s1g608d7ff2016-01-18 19:47:25 +01004209 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004210 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004211 </fill>
z31s1g56189522016-01-13 19:12:40 +01004212
z31s1g608d7ff2016-01-18 19:47:25 +01004213 <button>
z31s1g56189522016-01-13 19:12:40 +01004214 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4215 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4216 <image resource="back" />
4217 <condition var1="tw_busy" var2="0" />
4218 <actions>
4219 <action function="set">tw_hide_kb=0</action>
4220 <action function="key">back</action>
4221 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004222 </button>
z31s1g56189522016-01-13 19:12:40 +01004223
z31s1g608d7ff2016-01-18 19:47:25 +01004224 <button>
z31s1g56189522016-01-13 19:12:40 +01004225 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4226 <condition var1="tw_hide_kb" op="=" var2="0" />
4227 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4228 <image resource="kb_hide" />
4229 <condition var1="tw_busy" var2="0" />
4230 <actions>
4231 <action function="set">tw_hide_kb=1</action>
4232 <action function="page">terminalcommand</action>
4233 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004234 </button>
z31s1g56189522016-01-13 19:12:40 +01004235
z31s1g608d7ff2016-01-18 19:47:25 +01004236 <button>
z31s1g56189522016-01-13 19:12:40 +01004237 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4238 <condition var1="tw_hide_kb" op="=" var2="1" />
4239 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4240 <image resource="kb_show" />
4241 <condition var1="tw_busy" var2="0" />
4242 <actions>
4243 <action function="set">tw_hide_kb=0</action>
4244 <action function="page">terminalcommand</action>
4245 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004246 </button>
z31s1g56189522016-01-13 19:12:40 +01004247
z31s1g608d7ff2016-01-18 19:47:25 +01004248 <button>
z31s1g56189522016-01-13 19:12:40 +01004249 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4250 <image resource="home" />
4251 <condition var1="tw_busy" var2="0" />
4252 <actions>
4253 <action function="set">tw_hide_kb=0</action>
4254 <action function="key">home</action>
4255 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004256 </button>
z31s1g56189522016-01-13 19:12:40 +01004257
z31s1g608d7ff2016-01-18 19:47:25 +01004258 <button>
z31s1g56189522016-01-13 19:12:40 +01004259 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4260 <condition var1="tw_hide_kb" op="=" var2="0" />
4261 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4262 <image resource="kb_hide" />
4263 <condition var1="tw_busy" var2="0" />
4264 <actions>
4265 <action function="set">tw_hide_kb=1</action>
4266 <action function="page">terminalcommand</action>
4267 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004268 </button>
z31s1g56189522016-01-13 19:12:40 +01004269
z31s1g608d7ff2016-01-18 19:47:25 +01004270 <button>
z31s1g56189522016-01-13 19:12:40 +01004271 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4272 <condition var1="tw_hide_kb" op="=" var2="1" />
4273 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4274 <image resource="kb_show" />
4275 <condition var1="tw_busy" var2="0" />
4276 <actions>
4277 <action function="set">tw_hide_kb=0</action>
4278 <action function="page">terminalcommand</action>
4279 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004280 </button>
z31s1g56189522016-01-13 19:12:40 +01004281
z31s1g608d7ff2016-01-18 19:47:25 +01004282 <button>
z31s1g56189522016-01-13 19:12:40 +01004283 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4284 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4285 <image resource="back" />
4286 <condition var1="tw_busy" var2="0" />
4287 <actions>
4288 <action function="set">tw_hide_kb=0</action>
4289 <action function="key">back</action>
4290 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004291 </button>
z31s1g56189522016-01-13 19:12:40 +01004292
z31s1g28f0a922015-11-07 18:50:22 +01004293 <action>
4294 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004295 <actions>
4296 <action function="set">tw_hide_kb=0</action>
4297 <action function="page">main</action>
4298 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004299 </action>
4300
4301 <action>
4302 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004303 <actions>
4304 <action function="set">tw_hide_kb=0</action>
4305 <action function="page">advanced</action>
4306 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </action>
z31s1g56189522016-01-13 19:12:40 +01004308
z31s1g608d7ff2016-01-18 19:47:25 +01004309 <action>
z31s1g56189522016-01-13 19:12:40 +01004310 <touch key="power+voldown" />
4311 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004312 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004313 </page>
4314
4315 <page name="sideload">
4316 <template name="page"/>
4317
4318 <text style="text_l">
4319 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </text>
4322
4323 <text style="text_m">
4324 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004325 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004326 </text>
4327
4328 <checkbox>
4329 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 <data variable="tw_wipe_dalvik"/>
4332 </checkbox>
4333
4334 <checkbox>
4335 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004336 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004337 <data variable="tw_wipe_cache"/>
4338 </checkbox>
4339
4340 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004341 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004342 <actions>
4343 <action function="set">tw_back=advanced</action>
4344 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4346 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4347 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004348 <action function="set">tw_has_cancel=1</action>
4349 <action function="set">tw_show_reboot=1</action>
4350 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4351 <action function="page">action_page</action>
4352 </actions>
4353 </slider>
4354
4355 <action>
4356 <touch key="home"/>
4357 <action function="page">main</action>
4358 </action>
4359
4360 <action>
4361 <touch key="back"/>
4362 <action function="page">advanced</action>
4363 </action>
4364 </page>
4365
4366 <page name="fixperms">
4367 <template name="page"/>
4368
4369 <text style="text_l">
4370 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004371 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004372 </text>
4373
4374 <text style="text_m">
4375 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004376 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004377 </text>
4378
4379 <text style="text_m_accent">
4380 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004381 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004382 </text>
4383
4384 <checkbox>
4385 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004386 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004387 <data variable="tw_fixperms_restorecon"/>
4388 </checkbox>
4389
4390 <text style="text_m_fail">
4391 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004392 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004393 </text>
4394
4395 <text style="text_m_fail">
4396 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004397 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004398 </text>
4399
4400 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 <actions>
4403 <action function="set">tw_back=advanced</action>
4404 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4406 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4407 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004408 <action function="set">tw_show_reboot=1</action>
4409 <action function="page">action_page</action>
4410 </actions>
4411 </slider>
4412
4413 <action>
4414 <touch key="home"/>
4415 <action function="page">main</action>
4416 </action>
4417
4418 <action>
4419 <touch key="back"/>
4420 <action function="page">advanced</action>
4421 </action>
4422 </page>
4423
4424 <page name="installsu">
4425 <template name="page"/>
4426
4427 <text style="text_l">
4428 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m">
4433 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m_accent">
4438 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </text>
4441
4442 <text style="text_m">
4443 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <text style="text_m">
4448 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </text>
4451
4452 <button style="main_button_half_height">
4453 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 <action function="set">tw_page_done=1</action>
4456 </button>
4457
4458 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004459 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 <actions>
4461 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004462 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004463 <action function="set">tw_action_text2=</action>
4464 <action function="page">singleaction_page</action>
4465 </actions>
4466 </slider>
4467 </page>
4468
4469 <page name="slideout">
4470 <fill color="%background_color%">
4471 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4472 </fill>
4473
4474 <console>
4475 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4476 </console>
4477
4478 <button>
4479 <fill color="%transparent%"/>
4480 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4481 <action function="overlay"/>
4482 </button>
4483
4484 <action>
4485 <touch key="power+voldown"/>
4486 <action function="screenshot"/>
4487 </action>
4488 </page>
4489
4490 <page name="select_storage">
4491 <fill color="%semi_transparent%">
4492 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4493 </fill>
4494
4495 <fill color="%background_color%">
4496 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4497 </fill>
4498
4499 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004500 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004501 <data name="tw_storage_path"/>
4502 <listtype name="storage"/>
4503 </partitionlist>
4504
4505 <button style="button_third_width">
4506 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 <actions>
4509 <action function="set">tw_clear_destination=%tw_back%</action>
4510 <action function="overlay"/>
4511 <action function="page">clear_vars</action>
4512 </actions>
4513 </button>
4514
4515 <fill color="#000000">
4516 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4517 </fill>
4518
4519 <button>
4520 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4521 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4522 <image resource="back"/>
4523 <condition var1="tw_busy" var2="0"/>
4524 <actions>
4525 <action function="overlay"/>
4526 <action function="key">%tw_back%</action>
4527 </actions>
4528 </button>
4529
4530 <button>
4531 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4532 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4533 <image resource="console"/>
4534 <condition var1="tw_busy" var2="0"/>
4535 <action function="overlay">slideout</action>
4536 </button>
4537
4538 <button>
4539 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4540 <image resource="home"/>
4541 <condition var1="tw_busy" var2="0"/>
4542 <actions>
4543 <action function="overlay"/>
4544 <action function="key">home</action>
4545 </actions>
4546 </button>
4547
4548 <button>
4549 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4550 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4551 <image resource="console"/>
4552 <condition var1="tw_busy" var2="0"/>
4553 <action function="overlay">slideout</action>
4554 </button>
4555
4556 <button>
4557 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4558 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4559 <image resource="back"/>
4560 <condition var1="tw_busy" var2="0"/>
4561 <actions>
4562 <action function="overlay"/>
4563 <action function="key">%tw_back%</action>
4564 </actions>
4565 </button>
4566
4567 <action>
4568 <touch key="power+voldown"/>
4569 <action function="screenshot"/>
4570 </action>
4571 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004572
4573 <page name="select_language">
4574 <fill color="%semi_transparent%">
4575 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4576 </fill>
4577
4578 <fill color="%background_color%">
4579 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4580 </fill>
4581
4582 <listbox>
4583 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4584 <text>{@select_language=Select Language:}</text>
4585 <icon selected="radio_true" unselected="radio_false" />
4586 <data name="tw_language" />
4587 </listbox>
4588
4589 <button style="button_third_width">
4590 <placement x="%dialog_button_x%" y="%row14_y%"/>
4591 <text>{@ok_btn=OK}</text>
4592 <actions>
4593 <action function="overlay"/>
4594 <action function="setlanguage"></action>
4595 </actions>
4596 </button>
4597
4598 <fill color="#000000">
4599 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4600 </fill>
4601
4602 <button>
4603 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4604 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4605 <image resource="back"/>
4606 <condition var1="tw_busy" var2="0"/>
4607 <actions>
4608 <action function="overlay"/>
4609 <action function="key">%tw_back%</action>
4610 </actions>
4611 </button>
4612
4613 <button>
4614 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4615 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4616 <image resource="console"/>
4617 <condition var1="tw_busy" var2="0"/>
4618 <action function="overlay">slideout</action>
4619 </button>
4620
4621 <button>
4622 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4623 <image resource="home"/>
4624 <condition var1="tw_busy" var2="0"/>
4625 <actions>
4626 <action function="overlay"/>
4627 <action function="key">home</action>
4628 </actions>
4629 </button>
4630
4631 <button>
4632 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4633 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4634 <image resource="console"/>
4635 <condition var1="tw_busy" var2="0"/>
4636 <action function="overlay">slideout</action>
4637 </button>
4638
4639 <button>
4640 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4641 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4642 <image resource="back"/>
4643 <condition var1="tw_busy" var2="0"/>
4644 <actions>
4645 <action function="overlay"/>
4646 <action function="key">%tw_back%</action>
4647 </actions>
4648 </button>
4649
4650 <action>
4651 <touch key="power+voldown"/>
4652 <action function="screenshot"/>
4653 </action>
4654 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004655 </pages>
4656</recovery>