blob: 251be75c6023e87f890d861c14cb0a3573f4e761 [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%"/>
73 <fill color="%accent_color%"/>
74 <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>
1023 <action function="checkpartitionlist"/>
1024 <action function="page">checkpartitionlist</action>
1025 </actions>
1026 </button>
1027
1028 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 <actions>
1031 <action function="set">tw_back=advancedwipe</action>
1032 <action function="set">tw_action=wipe</action>
1033 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1035 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1036 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001037 <action function="page">action_page</action>
1038 </actions>
1039 </slider>
1040
1041 <action>
1042 <touch key="home"/>
1043 <action function="page">main</action>
1044 </action>
1045
1046 <action>
1047 <touch key="back"/>
1048 <action function="page">wipe</action>
1049 </action>
1050 </page>
1051
1052 <page name="formatdata">
1053 <template name="page"/>
1054
1055 <text style="text_l">
1056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <text style="text_m">
1061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 </text>
1064
1065 <text style="text_m_fail">
1066 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001068 </text>
1069
1070 <text style="text_m_fail">
1071 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 </text>
1074
1075 <text style="text_m_fail">
1076 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <text style="text_m">
1081 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <input>
1091 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1092 <text>%tw_confirm_formatdata%</text>
1093 <data name="tw_confirm_formatdata"/>
1094 <restrict minlen="3" maxlen="3" allow="yes"/>
1095 <action function="page">formatdata_confirm</action>
1096 </input>
1097
1098 <fill color="%accent_color%">
1099 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1100 </fill>
1101
1102 <template name="keyboardtemplate"/>
1103
1104 <action>
1105 <touch key="home"/>
1106 <action function="page">main</action>
1107 </action>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">wipe</action>
1112 </action>
1113 </page>
1114
1115 <page name="formatdata_confirm">
1116 <action>
1117 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1118 <actions>
1119 <action function="set">tw_back=formatdata</action>
1120 <action function="set">tw_action=wipe</action>
1121 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1123 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001124 <action function="page">action_page</action>
1125 </actions>
1126 </action>
1127
1128 <action>
1129 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1130 <action function="page">formatdata</action>
1131 </action>
1132 </page>
1133
1134 <page name="checkpartitionlist">
1135 <action>
1136 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1137 <actions>
1138 <action function="set">partitionlisterror=0</action>
1139 <action function="getpartitiondetails"/>
1140 <action function="page">partitionoptions</action>
1141 </actions>
1142 </action>
1143
1144 <action>
1145 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1146 <actions>
1147 <action function="set">partitionlisterror=1</action>
1148 <action function="set">tw_wipe_list=</action>
1149 <action function="page">advancedwipe</action>
1150 </actions>
1151 </action>
1152 </page>
1153
1154 <page name="partitionoptions">
1155 <template name="page"/>
1156
1157 <text style="text_l">
1158 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001160 </text>
1161
1162 <text style="text_m">
1163 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001164 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001165 </text>
1166
1167 <text style="text_m_accent">
1168 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001169 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001170 </text>
1171
1172 <text style="text_m_accent">
1173 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 </text>
1176
1177 <text style="text_m">
1178 <condition var1="tw_partition_is_present" var2="1"/>
1179 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m">
1184 <condition var1="tw_partition_is_present" var2="0"/>
1185 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </text>
1188
1189 <text style="text_m">
1190 <condition var1="tw_partition_removable" var2="1"/>
1191 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m">
1196 <condition var1="tw_partition_removable" var2="0"/>
1197 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001198 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001199 </text>
1200
1201 <text style="text_m">
1202 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
1206 <text style="text_m">
1207 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001208 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001209 </text>
1210
1211 <text style="text_m">
1212 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </text>
1215
1216 <text style="text_m">
1217 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 </text>
1220
1221 <button style="main_button_half_height">
1222 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1223 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001224 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001225 <actions>
1226 <action function="set">tw_back=partitionoptions</action>
1227 <action function="set">tw_action=resize</action>
1228 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1229 <action function="set">tw_has_action2=1</action>
1230 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001232 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1234 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1235 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <action function="page">confirm_action</action>
1237 </actions>
1238 </button>
1239
1240 <button style="main_button_half_height">
1241 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1242 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <actions>
1245 <action function="set">tw_back=partitionoptions</action>
1246 <action function="set">tw_action=repair</action>
1247 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1248 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001249 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1252 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1253 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="page">confirm_action</action>
1255 </actions>
1256 </button>
1257
1258 <button style="main_button_half_height">
1259 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 <action function="page">selectfilesystem</action>
1262 </button>
1263
1264 <action>
1265 <touch key="home"/>
1266 <action function="page">main</action>
1267 </action>
1268
1269 <action>
1270 <touch key="back"/>
1271 <action function="page">advancedwipe</action>
1272 </action>
1273 </page>
1274
1275 <page name="refreshfilesystem">
1276 <action>
1277 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=0</action>
1280 <action function="getpartitiondetails"/>
1281 <action function="page">selectfilesystem</action>
1282 </actions>
1283 </action>
1284
1285 <action>
1286 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1287 <actions>
1288 <action function="set">partitionlisterror=1</action>
1289 <action function="set">tw_wipe_list=</action>
1290 <action function="page">advancedwipe</action>
1291 </actions>
1292 </action>
1293 </page>
1294
1295 <page name="selectfilesystem">
1296 <template name="page"/>
1297
1298 <text style="text_l">
1299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m_accent">
1309 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 </text>
1312
1313 <text style="text_m_accent">
1314 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <text style="text_m_fail">
1319 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 </text>
1322
1323 <text style="text_m_fail">
1324 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001325 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001326 </text>
1327
1328 <button style="main_button_half_height">
1329 <condition var1="tw_partition_ext" op="=" var2="1"/>
1330 <placement x="%indent%" y="%row15a_y%"/>
1331 <text>EXT2</text>
1332 <actions>
1333 <action function="set">tw_back=refreshfilesystem</action>
1334 <action function="set">tw_action=changefilesystem</action>
1335 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1336 <action function="set">tw_action_new_file_system=ext2</action>
1337 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1339 <action function="set">tw_text2=EXT2</action>
1340 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1341 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <condition var1="tw_partition_ext" op="=" var2="1"/>
1349 <placement x="%indent%" y="%row18a_y%"/>
1350 <text>EXT3</text>
1351 <actions>
1352 <action function="set">tw_back=refreshfilesystem</action>
1353 <action function="set">tw_action=changefilesystem</action>
1354 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1355 <action function="set">tw_action_new_file_system=ext3</action>
1356 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1358 <action function="set">tw_text2=EXT3</action>
1359 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1360 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1361 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001362 <action function="page">confirm_action</action>
1363 </actions>
1364 </button>
1365
1366 <button style="main_button_half_height">
1367 <condition var1="tw_partition_ext" op="=" var2="1"/>
1368 <placement x="%indent%" y="%row21a_y%"/>
1369 <text>EXT4</text>
1370 <actions>
1371 <action function="set">tw_back=refreshfilesystem</action>
1372 <action function="set">tw_action=changefilesystem</action>
1373 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1374 <action function="set">tw_action_new_file_system=ext4</action>
1375 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1377 <action function="set">tw_text2=EXT4</action>
1378 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1379 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1380 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001381 <action function="page">confirm_action</action>
1382 </actions>
1383 </button>
1384
1385 <button style="main_button_half_height">
1386 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1387 <placement x="%center_x%" y="%row15a_y%"/>
1388 <text>FAT</text>
1389 <actions>
1390 <action function="set">tw_back=refreshfilesystem</action>
1391 <action function="set">tw_action=changefilesystem</action>
1392 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1393 <action function="set">tw_action_new_file_system=vfat</action>
1394 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1396 <action function="set">tw_text2=FAT</action>
1397 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1398 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1399 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001400 <action function="page">confirm_action</action>
1401 </actions>
1402 </button>
1403
1404 <button style="main_button_half_height">
1405 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1406 <placement x="%center_x%" y="%row18a_y%"/>
1407 <text>exFAT</text>
1408 <actions>
1409 <action function="set">tw_back=refreshfilesystem</action>
1410 <action function="set">tw_action=changefilesystem</action>
1411 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1412 <action function="set">tw_action_new_file_system=exfat</action>
1413 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1415 <action function="set">tw_text2=exFAT</action>
1416 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1417 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1418 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001419 <action function="page">confirm_action</action>
1420 </actions>
1421 </button>
1422
1423 <button style="main_button_half_height">
1424 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1425 <placement x="%center_x%" y="%row21a_y%"/>
1426 <text>F2FS</text>
1427 <actions>
1428 <action function="set">tw_back=refreshfilesystem</action>
1429 <action function="set">tw_action=changefilesystem</action>
1430 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1431 <action function="set">tw_action_new_file_system=f2fs</action>
1432 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1434 <action function="set">tw_text2=F2FS</action>
1435 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1436 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1437 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001438 <action function="page">confirm_action</action>
1439 </actions>
1440 </button>
1441
1442 <action>
1443 <touch key="home"/>
1444 <action function="page">main</action>
1445 </action>
1446
1447 <action>
1448 <touch key="back"/>
1449 <action function="page">partitionoptions</action>
1450 </action>
1451 </page>
1452
1453 <page name="backup">
1454 <template name="page"/>
1455
1456 <text style="text_l">
1457 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <text style="text_m">
1462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001464 </text>
1465
1466 <template name="tabs_backup"/>
1467
1468 <fill color="%text_color%">
1469 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1470 </fill>
1471
1472 <button style="tab">
1473 <conditions>
1474 <condition var1="tw_include_encrypted_backup" var2="1"/>
1475 <condition var1="tw_encrypt_backup" var2="0"/>
1476 </conditions>
1477 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001478 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <font resource="font_s" color="%text_color%"/>
1480 <actions>
1481 <action function="set">tw_password_not_match=0</action>
1482 <action function="page">backupencryption</action>
1483 </actions>
1484 </button>
1485
1486 <button style="tab">
1487 <conditions>
1488 <condition var1="tw_include_encrypted_backup" var2="1"/>
1489 <condition var1="tw_encrypt_backup" var2="1"/>
1490 </conditions>
1491 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <font resource="font_s" color="%text_success_color%"/>
1494 <actions>
1495 <action function="set">tw_password_not_match=0</action>
1496 <action function="page">backupencryption</action>
1497 </actions>
1498 </button>
1499
1500 <text style="text_m_accent">
1501 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <text style="text_m">
1506 <placement x="%indent%" y="%row4a_y%"/>
1507 <text>%tw_backup_name%</text>
1508 </text>
1509
1510 <fill color="%fileselector_linecolor%">
1511 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1512 </fill>
1513
1514 <button>
1515 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1516 <fill color="%transparent%"/>
1517 <actions>
1518 <action function="set">tw_fileexists=0</action>
1519 <action function="page">backupname1</action>
1520 </actions>
1521 </button>
1522
1523 <partitionlist>
1524 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 <data name="tw_backup_list"/>
1527 <listtype name="backup"/>
1528 </partitionlist>
1529
1530 <button style="main_button_half_height">
1531 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <actions>
1534 <action function="set">tw_back=backup</action>
1535 <action function="overlay">select_storage</action>
1536 </actions>
1537 </button>
1538
1539 <button style="main_button_half_height">
1540 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <actions>
1543 <action function="refreshsizes"/>
1544 <action function="page">backup</action>
1545 </actions>
1546 </button>
1547
1548 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001549 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001550 <action function="page">backup_run</action>
1551 </slider>
1552
1553 <action>
1554 <touch key="home"/>
1555 <action function="page">main</action>
1556 </action>
1557
1558 <action>
1559 <touch key="back"/>
1560 <action function="page">main</action>
1561 </action>
1562 </page>
1563
1564 <page name="backup_options">
1565 <template name="page"/>
1566
1567 <text style="text_l">
1568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001570 </text>
1571
1572 <text style="text_m">
1573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001574 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001575 </text>
1576
1577 <template name="tabs_backup"/>
1578
1579 <fill color="%text_color%">
1580 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1581 </fill>
1582
1583 <button style="tab">
1584 <conditions>
1585 <condition var1="tw_include_encrypted_backup" var2="1"/>
1586 <condition var1="tw_encrypt_backup" var2="0"/>
1587 </conditions>
1588 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <font resource="font_s" color="%text_color%"/>
1591 <actions>
1592 <action function="set">tw_password_not_match=0</action>
1593 <action function="page">backupencryption</action>
1594 </actions>
1595 </button>
1596
1597 <button style="tab">
1598 <conditions>
1599 <condition var1="tw_include_encrypted_backup" var2="1"/>
1600 <condition var1="tw_encrypt_backup" var2="1"/>
1601 </conditions>
1602 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <font resource="font_s" color="%text_success_color%"/>
1605 <actions>
1606 <action function="set">tw_password_not_match=0</action>
1607 <action function="page">backupencryption</action>
1608 </actions>
1609 </button>
1610
1611 <checkbox>
1612 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <data variable="tw_use_compression"/>
1615 </checkbox>
1616
1617 <checkbox>
1618 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <data variable="tw_skip_md5_generate"/>
1621 </checkbox>
1622
1623 <checkbox>
1624 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <data variable="tw_disable_free_space"/>
1627 </checkbox>
1628
1629 <action>
1630 <touch key="home"/>
1631 <action function="page">main</action>
1632 </action>
1633
1634 <action>
1635 <touch key="back"/>
1636 <action function="page">backup</action>
1637 </action>
1638 </page>
1639
1640 <page name="backupname1">
1641 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="generatebackupname"/>
1644 </action>
1645
1646 <action>
1647 <action function="page">backupname2</action>
1648 </action>
1649 </page>
1650
1651 <page name="backupname2">
1652 <template name="page"/>
1653
1654 <text style="text_l">
1655 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 </text>
1663
1664 <template name="tabs_backup"/>
1665
1666 <fill color="%text_color%">
1667 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1668 </fill>
1669
1670 <button style="tab">
1671 <conditions>
1672 <condition var1="tw_include_encrypted_backup" var2="1"/>
1673 <condition var1="tw_encrypt_backup" var2="0"/>
1674 </conditions>
1675 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 <font resource="font_s" color="%text_color%"/>
1678 <actions>
1679 <action function="set">tw_password_not_match=0</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </button>
1683
1684 <button style="tab">
1685 <conditions>
1686 <condition var1="tw_include_encrypted_backup" var2="1"/>
1687 <condition var1="tw_encrypt_backup" var2="1"/>
1688 </conditions>
1689 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <font resource="font_s" color="%text_success_color%"/>
1692 <actions>
1693 <action function="set">tw_password_not_match=0</action>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </button>
1697
1698 <text style="text_m_accent">
1699 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 </text>
1702
1703 <input>
1704 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1705 <text>%tw_backup_name%</text>
1706 <data name="tw_backup_name"/>
1707 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1708 <actions>
1709 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1710 <action function="set">tw_existpage=backupname2</action>
1711 <action function="set">tw_notexistpage=backup</action>
1712 <action function="page">filecheck</action>
1713 </actions>
1714 </input>
1715
1716 <fill color="%accent_color%">
1717 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1718 </fill>
1719
1720 <fill color="%text_fail_color%">
1721 <condition var1="tw_fileexists" var2="1"/>
1722 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1723 </fill>
1724
1725 <text style="text_m_fail">
1726 <condition var1="tw_fileexists" var2="1"/>
1727 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <button style="main_button_half_height">
1732 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001735 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001736 <action function="page">backup</action>
1737 </actions>
1738 </button>
1739
1740 <button style="main_button_half_height">
1741 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <action function="appenddatetobackupname"/>
1744 </button>
1745
1746 <template name="keyboardtemplate"/>
1747
1748 <action>
1749 <touch key="home"/>
1750 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001752 <action function="page">main</action>
1753 </actions>
1754 </action>
1755
1756 <action>
1757 <touch key="back"/>
1758 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001759 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001760 <action function="page">backup</action>
1761 </actions>
1762 </action>
1763 </page>
1764
1765 <page name="backupencryption">
1766 <template name="page"/>
1767
1768 <text style="text_l">
1769 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 </text>
1772
1773 <text style="text_m">
1774 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <template name="tabs_backup"/>
1779
1780 <button style="tab">
1781 <conditions>
1782 <condition var1="tw_include_encrypted_backup" var2="1"/>
1783 <condition var1="tw_encrypt_backup" var2="0"/>
1784 </conditions>
1785 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <font resource="font_s" color="%text_color%"/>
1788 <actions>
1789 <action function="set">tw_password_not_match=0</action>
1790 <action function="page">backupencryption</action>
1791 </actions>
1792 </button>
1793
1794 <button style="tab">
1795 <conditions>
1796 <condition var1="tw_include_encrypted_backup" var2="1"/>
1797 <condition var1="tw_encrypt_backup" var2="1"/>
1798 </conditions>
1799 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <font resource="font_s" color="%text_success_color%"/>
1802 <actions>
1803 <action function="set">tw_password_not_match=0</action>
1804 <action function="page">backupencryption</action>
1805 </actions>
1806 </button>
1807
1808 <fill color="%text_color%">
1809 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1810 </fill>
1811
1812 <text style="text_m_accent">
1813 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001814 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001815 </text>
1816
1817 <text style="text_m">
1818 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001819 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001820 </text>
1821
1822 <input>
1823 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1824 <text>%tw_backup_encrypt_display%</text>
1825 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1826 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1827 <action function="page">backupencryption2</action>
1828 </input>
1829
1830 <fill color="%accent_color%">
1831 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1832 </fill>
1833
1834 <fill color="%text_fail_color%">
1835 <condition var1="tw_password_not_match" var2="1"/>
1836 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1837 </fill>
1838
1839 <text style="text_m_fail">
1840 <condition var1="tw_password_not_match" var2="1"/>
1841 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001843 </text>
1844
1845 <button style="main_button_half_height">
1846 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001847 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <actions>
1849 <action function="set">tw_encrypt_backup=0</action>
1850 <action function="set">tw_backup_password=</action>
1851 <action function="set">tw_backup_password2=</action>
1852 <action function="set">tw_backup_encrypt_display=</action>
1853 <action function="set">tw_backup_encrypt_display2=</action>
1854 <action function="page">backup</action>
1855 </actions>
1856 </button>
1857
1858 <template name="keyboardtemplate"/>
1859
1860 <action>
1861 <touch key="home"/>
1862 <action function="page">main</action>
1863 </action>
1864
1865 <action>
1866 <touch key="back"/>
1867 <action function="page">backup</action>
1868 </action>
1869 </page>
1870
1871 <page name="backupencryption2">
1872 <template name="page"/>
1873
1874 <text style="text_l">
1875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001877 </text>
1878
1879 <text style="text_m">
1880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <template name="tabs_backup"/>
1885
1886 <button style="tab">
1887 <conditions>
1888 <condition var1="tw_include_encrypted_backup" var2="1"/>
1889 <condition var1="tw_encrypt_backup" var2="0"/>
1890 </conditions>
1891 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 <font resource="font_s" color="%text_color%"/>
1894 <actions>
1895 <action function="set">tw_password_not_match=0</action>
1896 <action function="page">backupencryption</action>
1897 </actions>
1898 </button>
1899
1900 <button style="tab">
1901 <conditions>
1902 <condition var1="tw_include_encrypted_backup" var2="1"/>
1903 <condition var1="tw_encrypt_backup" var2="1"/>
1904 </conditions>
1905 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 <font resource="font_s" color="%text_success_color%"/>
1908 <actions>
1909 <action function="set">tw_password_not_match=0</action>
1910 <action function="page">backupencryption</action>
1911 </actions>
1912 </button>
1913
1914 <fill color="%text_color%">
1915 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1916 </fill>
1917
1918 <text style="text_m_accent">
1919 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </text>
1922
1923 <text style="text_m">
1924 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001925 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001926 </text>
1927
1928 <input>
1929 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1930 <text>%tw_backup_encrypt_display2%</text>
1931 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1932 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1933 <action function="page">checkbackuppassword</action>
1934 </input>
1935
1936 <fill color="%accent_color%">
1937 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <button style="main_button_half_height">
1941 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_backup_password=</action>
1946 <action function="set">tw_backup_password2=</action>
1947 <action function="set">tw_backup_encrypt_display=</action>
1948 <action function="set">tw_backup_encrypt_display2=</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </button>
1952
1953 <template name="keyboardtemplate"/>
1954
1955 <action>
1956 <touch key="home"/>
1957 <action function="page">main</action>
1958 </action>
1959
1960 <action>
1961 <touch key="back"/>
1962 <action function="page">backup</action>
1963 </action>
1964 </page>
1965
1966 <page name="checkbackuppassword">
1967 <action>
1968 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1969 <actions>
1970 <action function="set">tw_encrypt_backup=1</action>
1971 <action function="page">backup</action>
1972 </actions>
1973 </action>
1974
1975 <action>
1976 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1977 <actions>
1978 <action function="set">tw_encrypt_backup=0</action>
1979 <action function="set">tw_password_not_match=1</action>
1980 <action function="set">tw_backup_password=</action>
1981 <action function="set">tw_backup_password2=</action>
1982 <action function="set">tw_backup_encrypt_display=</action>
1983 <action function="set">tw_backup_encrypt_display2=</action>
1984 <action function="page">backupencryption</action>
1985 </actions>
1986 </action>
1987 </page>
1988
1989 <page name="backup_run">
1990 <template name="page"/>
1991
1992 <text style="text_l">
1993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1994 <text>%tw_operation%</text>
1995 </text>
1996
1997 <text style="text_m">
1998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1999 <text>%tw_partition% Partition</text>
2000 </text>
2001
2002 <template name="console"/>
2003
2004 <template name="progress_bar"/>
2005
2006 <text style="text_m_accent">
2007 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002008 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002009 </text>
2010
2011 <text style="text_m">
2012 <placement x="%indent%" y="%row20_y%"/>
2013 <text>%tw_file_progress%</text>
2014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%indent%" y="%row21_y%"/>
2018 <text>%tw_size_progress%</text>
2019 </text>
2020
2021 <button style="main_button_half_height">
2022 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 <action function="cancelbackup"/>
2025 </button>
2026
2027 <action>
2028 <action function="nandroid">backup</action>
2029 </action>
2030
2031 <action>
2032 <condition var1="tw_operation_state" var2="1"/>
2033 <condition var1="tw_cancel_backup" var2="0"/>
2034 <actions>
2035 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002037 <action function="set">tw_show_reboot=1</action>
2038 <action function="page">action_complete</action>
2039 </actions>
2040 </action>
2041
2042 <action>
2043 <condition var1="tw_operation_state" var2="1"/>
2044 <condition var1="tw_cancel_backup" var2="1"/>
2045 <actions>
2046 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002047 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002048 <action function="set">tw_show_reboot=1</action>
2049 <action function="page">action_complete</action>
2050 </actions>
2051 </action>
2052 </page>
2053
2054 <page name="restore">
2055 <template name="page"/>
2056
2057 <text style="text_l">
2058 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <text style="text_m">
2063 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <template name="sort_options"/>
2068
2069 <fileselector>
2070 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002072 <filter folders="1" files="0" nav="0"/>
2073 <path name="tw_backups_folder"/>
2074 <data name="tw_restore" default=""/>
2075 <selection name="tw_restore_name"/>
2076 </fileselector>
2077
2078 <button style="main_button_half_height">
2079 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002080 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002081 <actions>
2082 <action function="set">tw_back=restore</action>
2083 <action function="overlay">select_storage</action>
2084 </actions>
2085 </button>
2086
2087 <action>
2088 <condition var1="tw_restore" op="modified"/>
2089 <actions>
2090 <action function="readBackup"/>
2091 <action function="page">restore_read</action>
2092 </actions>
2093 </action>
2094
2095 <action>
2096 <touch key="home"/>
2097 <action function="page">main</action>
2098 </action>
2099
2100 <action>
2101 <touch key="back"/>
2102 <action function="page">main</action>
2103 </action>
2104 </page>
2105
2106 <page name="restore_read">
2107 <action>
2108 <condition var1="tw_restore_encrypted" var2="1"/>
2109 <actions>
2110 <action function="set">tw_password_fail=0</action>
2111 <action function="page">restore_decrypt</action>
2112 </actions>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_restore_encrypted" var2="0"/>
2117 <actions>
2118 <action function="page">restore_select</action>
2119 </actions>
2120 </action>
2121 </page>
2122
2123 <page name="restore_decrypt">
2124 <template name="page"/>
2125
2126 <text style="text_l">
2127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <text style="text_m">
2132 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </text>
2135
2136 <text style="text_m_accent">
2137 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <input>
2142 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2143 <text>%tw_restore_display%</text>
2144 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2145 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2146 <action function="page">try_restore_decrypt</action>
2147 </input>
2148
2149 <fill color="%accent_color%">
2150 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <fill color="%text_fail_color%">
2154 <condition var1="tw_password_fail" var2="1"/>
2155 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2156 </fill>
2157
2158 <text style="text_m_fail">
2159 <condition var1="tw_password_fail" var2="1"/>
2160 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 </text>
2163
2164 <button style="main_button_half_height">
2165 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002166 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002167 <actions>
2168 <action function="set">tw_page_done=1</action>
2169 <action function="page">restore</action>
2170 </actions>
2171 </button>
2172
2173 <button style="main_button_half_height">
2174 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002176 <actions>
2177 <action function="set">tw_back=restore</action>
2178 <action function="set">tw_action=cmd</action>
2179 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2181 <action function="set">tw_text2=%tw_restore_name%</action>
2182 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2183 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2184 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2185 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002186 <action function="page">confirm_action</action>
2187 </actions>
2188 </button>
2189
2190 <template name="keyboardtemplate"/>
2191
2192 <action>
2193 <touch key="home"/>
2194 <action function="page">main</action>
2195 </action>
2196
2197 <action>
2198 <touch key="back"/>
2199 <action function="page">restore</action>
2200 </action>
2201 </page>
2202
2203 <page name="try_restore_decrypt">
2204 <template name="page"/>
2205
2206 <text style="text_l">
2207 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002213 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </text>
2215
2216 <template name="console"/>
2217
2218 <template name="progress_bar"/>
2219
2220 <action>
2221 <action function="decrypt_backup"/>
2222 </action>
2223
2224 <action>
2225 <conditions>
2226 <condition var1="tw_operation_state" var2="1"/>
2227 <condition var1="tw_operation_status" op="!=" var2="0"/>
2228 </conditions>
2229 <actions>
2230 <action function="set">tw_password_fail=1</action>
2231 <action function="page">restore_decrypt</action>
2232 </actions>
2233 </action>
2234
2235 <action>
2236 <conditions>
2237 <condition var1="tw_operation_state" var2="1"/>
2238 <condition var1="tw_operation_status" op="=" var2="0"/>
2239 </conditions>
2240 <actions>
2241 <action function="set">tw_page_done=1</action>
2242 <action function="page">restore_select</action>
2243 </actions>
2244 </action>
2245 </page>
2246
2247 <page name="restore_select">
2248 <template name="page"/>
2249
2250 <text style="text_l">
2251 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002252 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </text>
2254
2255 <text style="text_m">
2256 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <text style="text_m_accent">
2261 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002262 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002263 </text>
2264
2265 <text style="text_m">
2266 <placement x="%indent%" y="%row3_y%"/>
2267 <text>%tw_restore_name%</text>
2268 </text>
2269
2270 <fill color="%fileselector_linecolor%">
2271 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2272 </fill>
2273
2274 <button>
2275 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2276 <fill color="%transparent%"/>
2277 <actions>
2278 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2279 <action function="set">tw_fileexists=0</action>
2280 <action function="page">renamebackup</action>
2281 </actions>
2282 </button>
2283
2284 <partitionlist>
2285 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2288 <listtype name="restore"/>
2289 </partitionlist>
2290
2291 <checkbox>
2292 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002293 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <data variable="tw_skip_md5_check"/>
2295 </checkbox>
2296
2297 <button style="main_button_half_height">
2298 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002299 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <actions>
2301 <action function="set">tw_back=restore</action>
2302 <action function="set">tw_action=cmd</action>
2303 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002304 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002305 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2307 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2308 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2309 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002310 <action function="page">confirm_action</action>
2311 </actions>
2312 </button>
2313
2314 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002315 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <action function="page">restore_run</action>
2317 </slider>
2318
2319 <action>
2320 <touch key="home"/>
2321 <action function="page">main</action>
2322 </action>
2323
2324 <action>
2325 <touch key="back"/>
2326 <action function="page">restore</action>
2327 </action>
2328 </page>
2329
2330 <page name="renamebackup">
2331 <template name="page"/>
2332
2333 <text style="text_l">
2334 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <text style="text_m">
2339 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 </text>
2342
2343 <text style="text_m_accent">
2344 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <input>
2349 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2350 <text>%tw_backup_rename%</text>
2351 <data name="tw_backup_rename"/>
2352 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2353 <actions>
2354 <action function="set">tw_back=restore</action>
2355 <action function="set">tw_action=cmd</action>
2356 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2358 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2359 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2360 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2361 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002362 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2363 <action function="set">tw_existpage=renamebackup</action>
2364 <action function="set">tw_notexistpage=confirm_action</action>
2365 <action function="page">filecheck</action>
2366 </actions>
2367 </input>
2368
2369 <fill color="%accent_color%">
2370 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2371 </fill>
2372
2373 <fill color="%text_fail_color%">
2374 <condition var1="tw_fileexists" var2="1"/>
2375 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2376 </fill>
2377
2378 <text style="text_m_fail">
2379 <condition var1="tw_fileexists" var2="1"/>
2380 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <button style="main_button_half_height">
2385 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">restore_select</action>
2388 </button>
2389
2390 <template name="keyboardtemplate"/>
2391
2392 <action>
2393 <touch key="home"/>
2394 <action function="page">main</action>
2395 </action>
2396
2397 <action>
2398 <touch key="back"/>
2399 <action function="page">restore_select</action>
2400 </action>
2401 </page>
2402
2403 <page name="restore_run">
2404 <template name="page"/>
2405
2406 <text style="text_l">
2407 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002409 </text>
2410
2411 <text style="text_m">
2412 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2413 <text>%tw_operation% %tw_partition%</text>
2414 </text>
2415
2416 <template name="console"/>
2417
2418 <template name="progress_bar"/>
2419
2420 <text style="text_m_accent">
2421 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <text style="text_m">
2426 <placement x="%indent%" y="%row20_y%"/>
2427 <text>%tw_size_progress%</text>
2428 </text>
2429
2430 <action>
2431 <condition var1="tw_operation_state" var2="1"/>
2432 <actions>
2433 <action function="set">tw_back=restore_select</action>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002434 <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002435 <action function="set">tw_show_reboot=1</action>
2436 <action function="page">action_complete</action>
2437 </actions>
2438 </action>
2439
2440 <action>
2441 <action function="nandroid">restore</action>
2442 </action>
2443 </page>
2444
2445 <page name="mount">
2446 <template name="page"/>
2447
2448 <text style="text_l">
2449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <partitionlist>
2459 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <listtype name="mount"/>
2462 </partitionlist>
2463
2464 <button style="checkbox">
2465 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2466 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <image resource="checkbox_false"/>
2469 <action function="mountsystemtoggle">1</action>
2470 </button>
2471
2472 <button style="checkbox">
2473 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2474 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <image resource="checkbox_true"/>
2477 <actions>
2478 <action function="set">tw_lifetime_writes=2</action>
2479 <action function="page">system_readonly_check</action>
2480 </actions>
2481 </button>
2482
2483 <button style="main_button_half_height">
2484 <condition var1="tw_has_usb_storage" var2="1"/>
2485 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <action function="page">usb_mount</action>
2488 </button>
2489
2490 <button style="main_button_half_height">
2491 <conditions>
2492 <condition var1="tw_is_encrypted" var2="1"/>
2493 <condition var1="tw_is_decrypted" var2="0"/>
2494 </conditions>
2495 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002496 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002497 <action function="page">decrypt</action>
2498 </button>
2499
2500 <button style="main_button_half_height">
2501 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <actions>
2504 <action function="set">tw_back=mount</action>
2505 <action function="overlay">select_storage</action>
2506 </actions>
2507 </button>
2508
2509 <button style="main_button_half_height">
2510 <conditions>
2511 <condition var1="tw_has_mtp" var2="1"/>
2512 <condition var1="tw_mtp_enabled" var2="0"/>
2513 </conditions>
2514 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 <action function="startmtp"/>
2517 </button>
2518
2519 <button style="main_button_half_height">
2520 <conditions>
2521 <condition var1="tw_has_mtp" var2="1"/>
2522 <condition var1="tw_mtp_enabled" var2="1"/>
2523 </conditions>
2524 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="stopmtp"/>
2527 </button>
2528
2529 <action>
2530 <touch key="home"/>
2531 <action function="page">main</action>
2532 </action>
2533
2534 <action>
2535 <touch key="back"/>
2536 <action function="page">main</action>
2537 </action>
2538 </page>
2539
2540 <page name="usb_mount">
2541 <template name="page"/>
2542
2543 <text style="text_l">
2544 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 </text>
2547
2548 <text style="text_m">
2549 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002550 <text>{usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002551 </text>
2552
2553 <text style="text_m_accent">
2554 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002555 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002556 </text>
2557
2558 <text style="text_m">
2559 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002560 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002561 </text>
2562
2563 <text style="text_m">
2564 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 </text>
2567
2568 <button style="main_button_half_height">
2569 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002570 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002571 <action function="page">usb_umount</action>
2572 </button>
2573
2574 <action>
2575 <action function="mount">usb</action>
2576 <action function="set">tw_busy=1</action>
2577 </action>
2578 </page>
2579
2580 <page name="usb_umount">
2581 <action>
2582 <action function="unmount">usb</action>
2583 </action>
2584
2585 <action>
2586 <action function="page">mount</action>
2587 <action function="set">tw_busy=0</action>
2588 </action>
2589 </page>
2590
2591 <page name="system_readonly_check">
2592 <action>
2593 <action function="checkpartitionlifetimewrites">/system</action>
2594 </action>
2595
2596 <action>
2597 <condition var1="tw_lifetime_writes" var2="1"/>
2598 <actions>
2599 <action function="mountsystemtoggle">0</action>
2600 <action function="page">mount</action>
2601 </actions>
2602 </action>
2603
2604 <action>
2605 <condition var1="tw_lifetime_writes" var2="0"/>
2606 <actions>
2607 <action function="set">tw_back=mount</action>
2608 <action function="page">system_readonly</action>
2609 </actions>
2610 </action>
2611 </page>
2612
2613 <page name="reboot">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <button style="main_button">
2622 <condition var1="tw_reboot_system" var2="1"/>
2623 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 <actions>
2626 <action function="set">tw_back=reboot</action>
2627 <action function="set">tw_action=reboot</action>
2628 <action function="set">tw_action_param=system</action>
2629 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2631 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2632 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2633 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2634 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002635 <action function="page">rebootcheck</action>
2636 </actions>
2637 </button>
2638
2639 <button style="main_button">
2640 <condition var1="tw_reboot_poweroff" var2="1"/>
2641 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <actions>
2644 <action function="set">tw_back=reboot</action>
2645 <action function="set">tw_action=reboot</action>
2646 <action function="set">tw_action_param=poweroff</action>
2647 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2649 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2650 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2651 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2652 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <action function="page">rebootcheck</action>
2654 </actions>
2655 </button>
2656
2657 <button style="main_button">
2658 <condition var1="tw_reboot_recovery" var2="1"/>
2659 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002661 <actions>
2662 <action function="set">tw_back=reboot</action>
2663 <action function="set">tw_action=reboot</action>
2664 <action function="set">tw_action_param=recovery</action>
2665 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2667 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2668 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2669 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2670 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002671 <action function="page">rebootcheck</action>
2672 </actions>
2673 </button>
2674
2675 <button style="main_button">
2676 <condition var1="tw_reboot_bootloader" var2="1"/>
2677 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <actions>
2680 <action function="set">tw_back=reboot</action>
2681 <action function="set">tw_action=reboot</action>
2682 <action function="set">tw_action_param=bootloader</action>
2683 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2685 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2686 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2687 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2688 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002689 <action function="page">rebootcheck</action>
2690 </actions>
2691 </button>
2692
2693 <button style="main_button">
2694 <condition var1="tw_download_mode" var2="1"/>
2695 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 <actions>
2698 <action function="set">tw_back=reboot</action>
2699 <action function="set">tw_action=reboot</action>
2700 <action function="set">tw_action_param=download</action>
2701 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2703 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2704 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2705 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2706 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 <action function="page">rebootcheck</action>
2708 </actions>
2709 </button>
2710
2711 <action>
2712 <touch key="home"/>
2713 <action function="page">main</action>
2714 </action>
2715
2716 <action>
2717 <touch key="back"/>
2718 <action function="page">main</action>
2719 </action>
2720 </page>
2721
2722 <page name="system_readonly">
2723 <template name="page"/>
2724
2725 <text style="text_l">
2726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002727 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002728 </text>
2729
2730 <text style="text_m_accent">
2731 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002732 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002733 </text>
2734
2735 <text style="text_m">
2736 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002738 </text>
2739
2740 <text style="text_m">
2741 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002742 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002743 </text>
2744
2745 <text style="text_m">
2746 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <text style="text_m">
2751 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002752 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002753 </text>
2754
2755 <text style="text_m_fail">
2756 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <text style="text_m_fail">
2761 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <checkbox>
2766 <condition var1="tw_is_encrypted" var2="0"/>
2767 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <data variable="tw_never_show_system_ro_page"/>
2770 </checkbox>
2771
2772 <button style="main_button_half_height">
2773 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <actions>
2776 <action function="mountsystemtoggle">1</action>
2777 <action function="set">tw_page_done=1</action>
2778 <action function="page">%tw_back%</action>
2779 </actions>
2780 </button>
2781
2782 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002783 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002784 <actions>
2785 <action function="mountsystemtoggle">0</action>
2786 <action function="set">tw_page_done=1</action>
2787 <action function="page">%tw_back%</action>
2788 </actions>
2789 </slider>
2790 </page>
2791
2792 <page name="settings">
2793 <template name="page"/>
2794
2795 <text style="text_l">
2796 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002797 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002798 </text>
2799
2800 <text style="text_m">
2801 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002803 </text>
2804
2805 <template name="tabs_settings"/>
2806
2807 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </fill>
2810
2811 <listbox style="scrolllist">
2812 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2813 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002815 <data variable="tw_signed_zip_verify"/>
2816 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002818 <data variable="tw_rm_rf"/>
2819 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002821 <data variable="tw_skip_md5_generate"/>
2822 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002823 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002824 <data variable="tw_skip_md5_check"/>
2825 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002827 <data variable="tw_military_time"/>
2828 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002829 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002830 <data variable="tw_samsung_navbar"/>
2831 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002833 <data variable="tw_simulate_actions"/>
2834 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002835 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002836 <condition var1="tw_simulate_actions" var2="1"/>
2837 <data variable="tw_simulate_fail"/>
2838 </listitem>
2839 </listbox>
2840
2841 <button style="main_button_half_height">
2842 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="restoredefaultsettings"/>
2845 </button>
2846
2847 <action>
2848 <touch key="home"/>
2849 <action function="page">main</action>
2850 </action>
2851
2852 <action>
2853 <touch key="back"/>
2854 <action function="page">main</action>
2855 </action>
2856 </page>
2857
2858 <page name="settings_timezone">
2859 <template name="page"/>
2860
2861 <text style="text_l">
2862 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002864 </text>
2865
2866 <text style="text_m">
2867 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <template name="tabs_settings"/>
2872
2873 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </fill>
2876
2877 <listbox>
2878 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2882 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2883 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2884 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2885 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2886 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2887 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2888 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2889 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2890 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2891 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2892 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2893 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2894 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2895 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2896 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2897 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2898 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2899 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2900 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2901 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2902 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2903 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2904 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listbox>
2906
2907 <text style="text_m_accent">
2908 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002910 </text>
2911
2912 <button style="button_quarter_width">
2913 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 <action function="set">tw_time_zone_guioffset=0</action>
2916 </button>
2917
2918 <button style="button_quarter_width">
2919 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="set">tw_time_zone_guioffset=15</action>
2922 </button>
2923
2924 <button style="button_quarter_width">
2925 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 <action function="set">tw_time_zone_guioffset=30</action>
2928 </button>
2929
2930 <button style="button_quarter_width">
2931 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002933 <action function="set">tw_time_zone_guioffset=45</action>
2934 </button>
2935
2936 <checkbox>
2937 <placement x="%indent%" y="%row18a_y%"/>
2938 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <data variable="tw_time_zone_guidst"/>
2941 <image checked="checkbox_true" unchecked="checkbox_false"/>
2942 </checkbox>
2943
2944 <text color="%text_color%">
2945 <font resource="font_m"/>
2946 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 </text>
2949
2950 <button>
2951 <highlight color="%highlight_color%"/>
2952 <placement x="%center_x%" y="%row21a_y%"/>
2953 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="main_button_half_height"/>
2956 <action function="setguitimezone"/>
2957 </button>
2958
2959 <action>
2960 <touch key="home"/>
2961 <action function="page">main</action>
2962 </action>
2963
2964 <action>
2965 <touch key="back"/>
2966 <action function="page">main</action>
2967 </action>
2968 </page>
2969
2970 <page name="settings_screen">
2971 <template name="page"/>
2972
2973 <text style="text_l">
2974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <template name="tabs_settings"/>
2984
2985 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </fill>
2988
2989 <button>
2990 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
2991 <font resource="font_m" color="%text_color%"/>
2992 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2993 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <image resource="checkbox_false"/>
2996 <action function="set">tw_screen_timeout_secs=60</action>
2997 </button>
2998
2999 <button>
3000 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3001 <font resource="font_m" color="%text_color%"/>
3002 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3003 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="checkbox_true"/>
3006 <action function="set">tw_screen_timeout_secs=0</action>
3007 </button>
3008
3009 <slidervalue>
3010 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3011 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3012 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <condition var1="tw_has_brightnesss_file" var2="1"/>
3019 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <data variable="tw_brightness_pct" min="10" max="100"/>
3022 <actions>
3023 <action function="set">tw_brightness=%tw_brightness_max%</action>
3024 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3025 <action function="compute">tw_brightness/100</action>
3026 <action function="setbrightness">%tw_brightness%</action>
3027 </actions>
3028 </slidervalue>
3029
3030 <action>
3031 <touch key="home"/>
3032 <action function="page">main</action>
3033 </action>
3034
3035 <action>
3036 <touch key="back"/>
3037 <action function="page">main</action>
3038 </action>
3039 </page>
3040
3041 <page name="settings_vibration">
3042 <template name="page"/>
3043
3044 <text style="text_l">
3045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m">
3050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <template name="tabs_settings"/>
3055
3056 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </fill>
3059
3060 <slidervalue>
3061 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <data variable="tw_button_vibrate" min="0" max="300"/>
3064 </slidervalue>
3065
3066 <slidervalue>
3067 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3070 </slidervalue>
3071
3072 <slidervalue>
3073 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_action_vibrate" min="0" max="500"/>
3076 </slidervalue>
3077
3078 <action>
3079 <touch key="home"/>
3080 <action function="page">main</action>
3081 </action>
3082
3083 <action>
3084 <touch key="back"/>
3085 <action function="page">main</action>
3086 </action>
3087 </page>
3088
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <page name="settings_language">
3090 <template name="page"/>
3091
3092 <text style="text_l">
3093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3094 <text>{@settings_hdr=Settings}</text>
3095 </text>
3096
3097 <text style="text_m">
3098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3099 <text>{@language_hdr=Language - %tw_language_display%}</text>
3100 </text>
3101
3102 <template name="tabs_settings"/>
3103
3104 <fill color="%text_color%">
3105 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3106 </fill>
3107
3108 <listbox>
3109 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3110 <text>{@select_language=Select Language:}</text>
3111 <icon selected="radio_true" unselected="radio_false" />
3112 <data name="tw_language" />
3113 </listbox>
3114
3115 <button style="main_button_half_height">
3116 <placement x="%center_x%" y="%row21a_y%"/>
3117 <text>{@set_language_btn=Set Language}</text>
3118 <action function="setlanguage"></action>
3119 </button>
3120
3121 <action>
3122 <touch key="home" />
3123 <action function="page">main</action>
3124 </action>
3125
3126 <action>
3127 <touch key="back" />
3128 <action function="page">settings</action>
3129 </action>
3130 </page>
3131
z31s1g28f0a922015-11-07 18:50:22 +01003132 <page name="advanced">
3133 <template name="page"/>
3134
3135 <text style="text_l">
3136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003137 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003138 </text>
3139
3140 <button style="main_button">
3141 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003142 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003143 <actions>
3144 <action function="set">tw_back=advanced</action>
3145 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3147 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3148 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3149 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <action function="page">confirm_action</action>
3151 </actions>
3152 </button>
3153
3154 <button style="main_button">
3155 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 <action function="page">fixperms</action>
3158 </button>
3159
3160 <button style="main_button">
3161 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3162 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@part_sd_btn=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="page">partsdcard</action>
3165 </button>
3166
3167 <button style="main_button">
3168 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 <action function="page">filemanagerlist</action>
3171 </button>
3172
3173 <button style="main_button">
3174 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003176 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003177 </button>
3178
3179 <button style="main_button">
3180 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <action function="reload"/>
3183 </button>
3184
3185 <button style="main_button">
3186 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 <action function="page">sideload</action>
3189 </button>
3190
3191 <button style="main_button">
3192 <condition var1="tw_show_dumlock" var2="1"/>
3193 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="page">htcdumlock</action>
3196 </button>
3197
3198 <button style="main_button">
3199 <condition var1="tw_has_injecttwrp" var2="1"/>
3200 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <actions>
3203 <action function="set">tw_back=advanced</action>
3204 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3206 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3207 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3208 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="page">confirm_action</action>
3210 </actions>
3211 </button>
3212
3213 <action>
3214 <touch key="home"/>
3215 <action function="page">main</action>
3216 </action>
3217
3218 <action>
3219 <touch key="back"/>
3220 <action function="page">main</action>
3221 </action>
3222 </page>
3223
3224 <page name="partsdcard">
3225 <template name="page"/>
3226
3227 <text style="text_l">
3228 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 </text>
3231
3232 <text style="text_m">
3233 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 </text>
3236
3237 <text style="text_m_fail">
3238 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 </text>
3241
3242 <text style="text_m_fail">
3243 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 </text>
3246
3247 <text style="text_m_accent">
3248 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003250 </text>
3251
3252 <text style="text_m">
3253 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3254 <text>%tw_sdext_size%</text>
3255 </text>
3256
3257 <button style="button_quarter_width">
3258 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 <action function="addsubtract">tw_sdext_size-128</action>
3261 </button>
3262
3263 <button style="button_quarter_width">
3264 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 <action function="addsubtract">tw_sdext_size+128</action>
3267 </button>
3268
3269 <text style="text_m_accent">
3270 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 </text>
3273
3274 <text style="text_m">
3275 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3276 <text>%tw_swap_size%</text>
3277 </text>
3278
3279 <button style="button_quarter_width">
3280 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <action function="addsubtract">tw_swap_size-32</action>
3283 </button>
3284
3285 <button style="button_quarter_width">
3286 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 <action function="addsubtract">tw_swap_size+32</action>
3289 </button>
3290
3291 <text style="text_m_accent">
3292 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m">
3297 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3298 <text>%tw_sdpart_file_system%</text>
3299 </text>
3300
3301 <button style="button_quarter_width">
3302 <placement x="%indent%" y="%row14_y%"/>
3303 <text>EXT3</text>
3304 <action function="set">tw_sdpart_file_system=ext3</action>
3305 </button>
3306
3307 <button style="button_quarter_width">
3308 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3309 <text>EXT4</text>
3310 <action function="set">tw_sdpart_file_system=ext4</action>
3311 </button>
3312
3313 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003314 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003315 <action function="page">partsdcardaction</action>
3316 <actions>
3317 <action function="set">tw_back=partsdcard</action>
3318 <action function="set">tw_action=partitionsd</action>
3319 <action function="set">tw_has_action2=1</action>
3320 <action function="set">tw_action2=set</action>
3321 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3323 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3324 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <action function="page">action_page</action>
3326 </actions>
3327 </slider>
3328
3329 <action>
3330 <touch key="home"/>
3331 <action function="page">main</action>
3332 </action>
3333
3334 <action>
3335 <touch key="back"/>
3336 <action function="page">advanced</action>
3337 </action>
3338 </page>
3339
3340 <page name="htcdumlock">
3341 <template name="page"/>
3342
3343 <text style="text_l">
3344 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </text>
3347
3348 <text style="text_m">
3349 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </text>
3352
3353 <button style="main_button_half_height_full_width">
3354 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <actions>
3357 <action function="set">tw_back=htcdumlock</action>
3358 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3360 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3361 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3362 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 <action function="page">confirm_action</action>
3364 </actions>
3365 </button>
3366
3367 <button style="main_button_half_height_full_width">
3368 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003370 <actions>
3371 <action function="set">tw_back=htcdumlock</action>
3372 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3374 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3375 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3376 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003377 <action function="page">confirm_action</action>
3378 </actions>
3379 </button>
3380
3381 <button style="main_button_half_height_full_width">
3382 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003384 <actions>
3385 <action function="set">tw_back=htcdumlock</action>
3386 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003387 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3388 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3389 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3390 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003391 <action function="page">confirm_action</action>
3392 </actions>
3393 </button>
3394
3395 <action>
3396 <touch key="home"/>
3397 <action function="page">main</action>
3398 </action>
3399
3400 <action>
3401 <touch key="back"/>
3402 <action function="page">advanced</action>
3403 </action>
3404 </page>
3405
3406 <page name="lock">
3407 <background color="%semi_transparent%"/>
3408
3409 <image>
3410 <image resource="unlock_icon"/>
3411 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3412 </image>
3413
3414 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003416 <action function="overlay"/>
3417 </slider>
3418 </page>
3419
3420 <page name="filemanagerlist">
3421 <template name="page"/>
3422
3423 <text style="text_l">
3424 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003425 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003426 </text>
3427
3428 <text style="text_m">
3429 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 </text>
3432
3433 <template name="sort_options"/>
3434
3435 <fileselector>
3436 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3437 <text>%tw_file_location1%</text>
3438 <filter folders="1" files="1"/>
3439 <path name="tw_file_location1" default="/"/>
3440 <data name="tw_filename1"/>
3441 <selection name="tw_selection1"/>
3442 </fileselector>
3443
3444 <button style="fab">
3445 <image resource="fab_selectfolder"/>
3446 <actions>
3447 <action function="set">tw_filename1=tw_file_location1</action>
3448 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <action function="page">filemanageroptions</action>
3451 </actions>
3452 </button>
3453
3454 <action>
3455 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <action function="set">tw_fm_isfolder=0</action>
3458 </actions>
3459 </action>
3460
3461 <action>
3462 <touch key="home"/>
3463 <action function="page">main</action>
3464 </action>
3465
3466 <action>
3467 <touch key="back"/>
3468 <action function="page">advanced</action>
3469 </action>
3470
3471 <action>
3472 <condition var1="tw_filename1" op="modified"/>
3473 <action function="page">filemanageroptions</action>
3474 </action>
3475 </page>
3476
3477 <page name="filemanageroptions">
3478 <template name="page"/>
3479
3480 <text style="text_l">
3481 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003482 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003483 </text>
3484
3485 <text style="text_m">
3486 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </text>
3489
3490 <text style="text_m_accent">
3491 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </text>
3494
3495 <text style="text_m">
3496 <placement x="%indent%" y="%row3_y%"/>
3497 <text>%tw_filename1%</text>
3498 </text>
3499
3500 <button style="main_button_half_height">
3501 <condition var1="tw_fm_isfolder" var2="0"/>
3502 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 <actions>
3505 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003507 <action function="page">choosedestinationfolder</action>
3508 </actions>
3509 </button>
3510
3511 <button style="main_button_half_height">
3512 <condition var1="tw_fm_isfolder" var2="1"/>
3513 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003514 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003515 <actions>
3516 <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 -05003517 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <action function="page">choosedestinationfolder</action>
3519 </actions>
3520 </button>
3521
3522 <button style="main_button_half_height">
3523 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <actions>
3526 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003528 <action function="page">choosedestinationfolder</action>
3529 </actions>
3530 </button>
3531
3532 <button style="main_button_half_height">
3533 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <actions>
3536 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <action function="set">tw_fm_text2=</action>
3539 <action function="set">tw_fm_text3=</action>
3540 <action function="set">tw_include_text3=0</action>
3541 <action function="set">tw_back=filemanageroptions</action>
3542 <action function="page">filemanagerconfirm</action>
3543 </actions>
3544 </button>
3545
3546 <button style="main_button_half_height">
3547 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <actions>
3550 <action function="set">tw_filemanager_rename=0000</action>
3551 <action function="set">tw_fm_text2=</action>
3552 <action function="set">tw_fm_text3=</action>
3553 <action function="set">tw_include_text3=0</action>
3554 <action function="set">tw_back=filemanageroptions</action>
3555 <action function="page">filemanagerchmod</action>
3556 </actions>
3557 </button>
3558
3559 <button style="main_button_half_height">
3560 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <actions>
3563 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <action function="set">tw_fm_text2=</action>
3566 <action function="set">tw_fm_text3=</action>
3567 <action function="set">tw_include_text3=0</action>
3568 <action function="set">tw_back=filemanageroptions</action>
3569 <action function="page">filemanagerconfirm</action>
3570 </actions>
3571 </button>
3572
3573 <button style="main_button_half_height">
3574 <condition var1="tw_fm_isfolder" var2="0"/>
3575 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003577 <actions>
3578 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <action function="set">tw_filemanager_command=mv</action>
3581 <action function="page">filemanagerrenamefile</action>
3582 </actions>
3583 </button>
3584
3585 <button style="main_button_half_height">
3586 <condition var1="tw_fm_isfolder" var2="1"/>
3587 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <actions>
3590 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3593 <action function="page">filemanagerrenamefolder</action>
3594 </actions>
3595 </button>
3596
3597 <action>
3598 <touch key="home"/>
3599 <action function="page">main</action>
3600 </action>
3601
3602 <action>
3603 <touch key="back"/>
3604 <action function="page">filemanagerlist</action>
3605 </action>
3606 </page>
3607
3608 <page name="choosedestinationfolder">
3609 <template name="page"/>
3610
3611 <text style="text_l">
3612 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <text style="text_m">
3617 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 </text>
3620
3621 <template name="sort_options"/>
3622
3623 <fileselector>
3624 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3625 <text>%tw_file_location2%</text>
3626 <filter folders="1" files="0"/>
3627 <path name="tw_file_location2" default="/"/>
3628 <data name="tw_filename2"/>
3629 <selection name="tw_selection2"/>
3630 </fileselector>
3631
3632 <button style="fab">
3633 <image resource="fab_selectfolder"/>
3634 <actions>
3635 <action function="set">tw_fm_text2=to</action>
3636 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3637 <action function="set">tw_include_text3=1</action>
3638 <action function="set">tw_back=filemanageroptions</action>
3639 <action function="page">filemanagerconfirm</action>
3640 </actions>
3641 </button>
3642
3643 <action>
3644 <touch key="home"/>
3645 <action function="page">main</action>
3646 </action>
3647
3648 <action>
3649 <touch key="back"/>
3650 <action function="page">filemanageroptions</action>
3651 </action>
3652 </page>
3653
3654 <page name="filemanagerrenamefile">
3655 <template name="page"/>
3656
3657 <text style="text_l">
3658 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 </text>
3661
3662 <text style="text_m">
3663 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 </text>
3666
3667 <text style="text_m_accent">
3668 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 </text>
3671
3672 <input>
3673 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3674 <text>%tw_filemanager_rename%</text>
3675 <data name="tw_filemanager_rename"/>
3676 <restrict minlen="1" maxlen="128"/>
3677 <actions>
3678 <action function="set">tw_fm_text2=to</action>
3679 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3680 <action function="set">tw_include_text3=1</action>
3681 <action function="set">tw_back=filemanageroptions</action>
3682 <action function="page">filemanagerconfirm</action>
3683 </actions>
3684 </input>
3685
3686 <fill color="%accent_color%">
3687 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3688 </fill>
3689
3690 <button style="main_button_half_height">
3691 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 <action function="page">filemanageroptions</action>
3694 </button>
3695
3696 <template name="keyboardtemplate"/>
3697
3698 <action>
3699 <touch key="home"/>
3700 <action function="page">main</action>
3701 </action>
3702
3703 <action>
3704 <touch key="back"/>
3705 <action function="page">filemanageroptions</action>
3706 </action>
3707 </page>
3708
3709 <page name="filemanagerrenamefolder">
3710 <template name="page"/>
3711
3712 <text style="text_l">
3713 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003714 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003715 </text>
3716
3717 <text style="text_m">
3718 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 </text>
3721
3722 <text style="text_m_accent">
3723 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 </text>
3726
3727 <input>
3728 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3729 <text>%tw_filemanager_rename%</text>
3730 <data name="tw_filemanager_rename"/>
3731 <restrict minlen="1" maxlen="128"/>
3732 <actions>
3733 <action function="set">tw_fm_text2=to</action>
3734 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3735 <action function="set">tw_include_text3=1</action>
3736 <action function="set">tw_back=filemanageroptions</action>
3737 <action function="page">filemanagerconfirm</action>
3738 </actions>
3739 </input>
3740
3741 <fill color="%accent_color%">
3742 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3743 </fill>
3744
3745 <button style="main_button_half_height">
3746 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <action function="page">filemanageroptions</action>
3749 </button>
3750
3751 <template name="keyboardtemplate"/>
3752
3753 <action>
3754 <touch key="home"/>
3755 <action function="page">main</action>
3756 </action>
3757
3758 <action>
3759 <touch key="back"/>
3760 <action function="page">filemanageroptions</action>
3761 </action>
3762 </page>
3763
3764 <page name="filemanagerchmod">
3765 <template name="page"/>
3766
3767 <text style="text_l">
3768 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003770 </text>
3771
3772 <text style="text_m">
3773 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003775 </text>
3776
3777 <text style="text_m_accent">
3778 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 </text>
3781
3782 <input>
3783 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3784 <text>%tw_filemanager_rename%</text>
3785 <data name="tw_filemanager_rename"/>
3786 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3787 <actions>
3788 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3789 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3790 <action function="set">tw_back=filemanageroptions</action>
3791 <action function="page">filemanagerconfirm</action>
3792 </actions>
3793 </input>
3794
3795 <fill color="%accent_color%">
3796 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3797 </fill>
3798
3799 <button style="main_button_half_height">
3800 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <action function="page">filemanageroptions</action>
3803 </button>
3804
3805 <template name="keyboardtemplate"/>
3806
3807 <action>
3808 <touch key="home"/>
3809 <action function="page">main</action>
3810 </action>
3811
3812 <action>
3813 <touch key="back"/>
3814 <action function="page">filemanageroptions</action>
3815 </action>
3816 </page>
3817
3818 <page name="filemanagerconfirm">
3819 <template name="page"/>
3820
3821 <text style="text_l">
3822 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003823 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003824 </text>
3825
3826 <text style="text_m">
3827 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003829 </text>
3830
3831 <text style="text_m_accent">
3832 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3833 <text>%tw_fm_text1%</text>
3834 </text>
3835
3836 <text style="text_m">
3837 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3838 <text>%tw_filename1%</text>
3839 </text>
3840
3841 <text style="text_m_accent">
3842 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3843 <text>%tw_fm_text2%</text>
3844 </text>
3845
3846 <text style="text_m">
3847 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3848 <text>%tw_fm_text3%</text>
3849 </text>
3850
3851 <text style="text_m">
3852 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003857 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003858 <action function="page">filemanageraction</action>
3859 </slider>
3860
3861 <action>
3862 <touch key="back"/>
3863 <action function="page">%tw_back%</action>
3864 </action>
3865
3866 <action>
3867 <touch key="home"/>
3868 <action function="page">main</action>
3869 </action>
3870 </page>
3871
3872 <page name="filemanageraction">
3873 <template name="page"/>
3874
3875 <text style="text_l">
3876 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 </text>
3879
3880 <text style="text_m">
3881 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3882 <text>%tw_fm_text1%</text>
3883 </text>
3884
3885 <template name="console"/>
3886
3887 <template name="progress_bar"/>
3888
3889 <action>
3890 <conditions>
3891 <condition var1="tw_operation_state" var2="1"/>
3892 <condition var1="tw_operation_status" var2="0"/>
3893 </conditions>
3894 <actions>
3895 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003897 <action function="page">action_complete</action>
3898 </actions>
3899 </action>
3900
3901 <action>
3902 <conditions>
3903 <condition var1="tw_operation_state" var2="1"/>
3904 <condition var1="tw_operation_status" op="!=" var2="0"/>
3905 </conditions>
3906 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <action function="page">action_complete</action>
3909 </actions>
3910 </action>
3911
3912 <action>
3913 <condition var1="tw_include_text3" var2="0"/>
3914 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3915 </action>
3916
3917 <action>
3918 <condition var1="tw_include_text3" var2="1"/>
3919 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3920 </action>
3921 </page>
3922
3923 <page name="decrypt">
3924 <template name="page"/>
3925
3926 <action>
3927 <condition var1="tw_crypto_pwtype" var2="2"/>
3928 <action function="page">decrypt_pattern</action>
3929 </action>
3930
3931 <text style="text_l">
3932 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 </text>
3935
3936 <text style="text_m">
3937 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003938 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003939 </text>
3940
3941 <text style="text_m_accent">
3942 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003944 </text>
3945
3946 <input>
3947 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3948 <text>%tw_crypto_display%</text>
3949 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3950 <restrict minlen="1" maxlen="254"/>
3951 <action function="page">trydecrypt</action>
3952 </input>
3953
3954 <fill color="%accent_color%">
3955 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
3956 </fill>
3957
3958 <fill color="%text_fail_color%">
3959 <condition var1="tw_password_fail" var2="1"/>
3960 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
3961 </fill>
3962
3963 <text style="text_m_fail">
3964 <condition var1="tw_password_fail" var2="1"/>
3965 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003967 </text>
3968
3969 <button style="main_button_half_height">
3970 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <actions>
3973 <action function="set">tw_page_done=1</action>
3974 <action function="page">main</action>
3975 </actions>
3976 </button>
3977
3978 <template name="keyboardtemplate"/>
3979 </page>
3980
3981 <page name="decrypt_pattern">
3982 <template name="page"/>
3983
3984 <text style="text_l">
3985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m">
3990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </text>
3993
3994 <text style="text_m_accent">
3995 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
Aleksa Saraib25a1832015-12-31 17:36:00 +01003999 <text style="text_m_fail">
4000 <condition var1="tw_password_fail" var2="1"/>
4001 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4002 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4003 </text>
4004
z31s1g28f0a922015-11-07 18:50:22 +01004005 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004006 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004007 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4008 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4009 <data name="tw_crypto_password"/>
4010 <action function="page">trydecrypt</action>
4011 </patternpassword>
4012
Aleksa Saraib25a1832015-12-31 17:36:00 +01004013 <button style="button_quarter_width">
4014 <placement x="%indent%" y="%row19a_y%"/>
4015 <text>3x3</text>
4016 <action function="set">tw_gui_pattern_grid_size=3</action>
4017 </button>
4018
4019 <button style="button_quarter_width">
4020 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4021 <text>4x4</text>
4022 <action function="set">tw_gui_pattern_grid_size=4</action>
4023 </button>
4024
4025 <button style="button_quarter_width">
4026 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4027 <text>5x5</text>
4028 <action function="set">tw_gui_pattern_grid_size=5</action>
4029 </button>
4030
4031 <button style="button_quarter_width">
4032 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4033 <text>6x6</text>
4034 <action function="set">tw_gui_pattern_grid_size=6</action>
4035 </button>
4036
z31s1g28f0a922015-11-07 18:50:22 +01004037 <button style="main_button_half_height">
4038 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 <actions>
4041 <action function="set">tw_page_done=1</action>
4042 <action function="page">main</action>
4043 </actions>
4044 </button>
4045 </page>
4046
4047 <page name="trydecrypt">
4048 <template name="page"/>
4049
4050 <text style="text_l">
4051 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004053 </text>
4054
4055 <text style="text_m">
4056 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004058 </text>
4059
4060 <template name="console"/>
4061
4062 <template name="progress_bar"/>
4063
4064 <action>
4065 <action function="decrypt"/>
4066 </action>
4067
4068 <action>
4069 <conditions>
4070 <condition var1="tw_operation_state" var2="1"/>
4071 <condition var1="tw_operation_status" op="!=" var2="0"/>
4072 </conditions>
4073 <actions>
4074 <action function="set">tw_password_fail=1</action>
4075 <action function="page">decrypt</action>
4076 </actions>
4077 </action>
4078
4079 <action>
4080 <conditions>
4081 <condition var1="tw_operation_state" var2="1"/>
4082 <condition var1="tw_operation_status" op="=" var2="0"/>
4083 </conditions>
4084 <actions>
4085 <action function="set">tw_page_done=1</action>
4086 <action function="page">main</action>
4087 </actions>
4088 </action>
4089 </page>
4090
z31s1g28f0a922015-11-07 18:50:22 +01004091 <page name="terminalcommand">
4092 <template name="page"/>
4093
z31s1g56189522016-01-13 19:12:40 +01004094 <fill color="%background_color%">
4095 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004096 </fill>
4097
z31s1g56189522016-01-13 19:12:40 +01004098 <terminal>
4099 <condition var1="tw_hide_kb" var2="0"/>
4100 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4101 </terminal>
4102
4103 <terminal>
4104 <condition var1="tw_hide_kb" var2="1"/>
4105 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4106 </terminal>
4107
4108 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004109
4110 <template name="keyboardtemplate"/>
4111
z31s1g56189522016-01-13 19:12:40 +01004112 <object type="fill" color="#000000">
4113 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4114 </object>
4115
4116 <object type="button">
4117 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4118 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4119 <image resource="back" />
4120 <condition var1="tw_busy" var2="0" />
4121 <actions>
4122 <action function="set">tw_hide_kb=0</action>
4123 <action function="key">back</action>
4124 </actions>
4125 </object>
4126
4127 <object type="button">
4128 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4129 <condition var1="tw_hide_kb" op="=" var2="0" />
4130 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4131 <image resource="kb_hide" />
4132 <condition var1="tw_busy" var2="0" />
4133 <actions>
4134 <action function="set">tw_hide_kb=1</action>
4135 <action function="page">terminalcommand</action>
4136 </actions>
4137 </object>
4138
4139 <object type="button">
4140 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4141 <condition var1="tw_hide_kb" op="=" var2="1" />
4142 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4143 <image resource="kb_show" />
4144 <condition var1="tw_busy" var2="0" />
4145 <actions>
4146 <action function="set">tw_hide_kb=0</action>
4147 <action function="page">terminalcommand</action>
4148 </actions>
4149 </object>
4150
4151 <object type="button">
4152 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4153 <image resource="home" />
4154 <condition var1="tw_busy" var2="0" />
4155 <actions>
4156 <action function="set">tw_hide_kb=0</action>
4157 <action function="key">home</action>
4158 </actions>
4159 </object>
4160
4161 <object type="button">
4162 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4163 <condition var1="tw_hide_kb" op="=" var2="0" />
4164 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4165 <image resource="kb_hide" />
4166 <condition var1="tw_busy" var2="0" />
4167 <actions>
4168 <action function="set">tw_hide_kb=1</action>
4169 <action function="page">terminalcommand</action>
4170 </actions>
4171 </object>
4172
4173 <object type="button">
4174 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4175 <condition var1="tw_hide_kb" op="=" var2="1" />
4176 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4177 <image resource="kb_show" />
4178 <condition var1="tw_busy" var2="0" />
4179 <actions>
4180 <action function="set">tw_hide_kb=0</action>
4181 <action function="page">terminalcommand</action>
4182 </actions>
4183 </object>
4184
4185 <object type="button">
4186 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4187 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4188 <image resource="back" />
4189 <condition var1="tw_busy" var2="0" />
4190 <actions>
4191 <action function="set">tw_hide_kb=0</action>
4192 <action function="key">back</action>
4193 </actions>
4194 </object>
4195
z31s1g28f0a922015-11-07 18:50:22 +01004196 <action>
4197 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004198 <actions>
4199 <action function="set">tw_hide_kb=0</action>
4200 <action function="page">main</action>
4201 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004202 </action>
4203
4204 <action>
4205 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004206 <actions>
4207 <action function="set">tw_hide_kb=0</action>
4208 <action function="page">advanced</action>
4209 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </action>
z31s1g56189522016-01-13 19:12:40 +01004211
4212 <object type="action">
4213 <touch key="power+voldown" />
4214 <action function="screenshot" />
4215 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004216 </page>
4217
4218 <page name="sideload">
4219 <template name="page"/>
4220
4221 <text style="text_l">
4222 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </text>
4225
4226 <text style="text_m">
4227 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004228 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004229 </text>
4230
4231 <checkbox>
4232 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 <data variable="tw_wipe_dalvik"/>
4235 </checkbox>
4236
4237 <checkbox>
4238 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004239 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004240 <data variable="tw_wipe_cache"/>
4241 </checkbox>
4242
4243 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004244 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004245 <action function="page">partsdcardaction</action>
4246 <actions>
4247 <action function="set">tw_back=advanced</action>
4248 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004249 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4250 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4251 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004252 <action function="set">tw_has_cancel=1</action>
4253 <action function="set">tw_show_reboot=1</action>
4254 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4255 <action function="page">action_page</action>
4256 </actions>
4257 </slider>
4258
4259 <action>
4260 <touch key="home"/>
4261 <action function="page">main</action>
4262 </action>
4263
4264 <action>
4265 <touch key="back"/>
4266 <action function="page">advanced</action>
4267 </action>
4268 </page>
4269
4270 <page name="fixperms">
4271 <template name="page"/>
4272
4273 <text style="text_l">
4274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </text>
4277
4278 <text style="text_m">
4279 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 </text>
4282
4283 <text style="text_m_accent">
4284 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 </text>
4287
4288 <checkbox>
4289 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 <data variable="tw_fixperms_restorecon"/>
4292 </checkbox>
4293
4294 <text style="text_m_fail">
4295 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004296 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004297 </text>
4298
4299 <text style="text_m_fail">
4300 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004301 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004302 </text>
4303
4304 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004305 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004306 <actions>
4307 <action function="set">tw_back=advanced</action>
4308 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004309 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4310 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4311 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004312 <action function="set">tw_show_reboot=1</action>
4313 <action function="page">action_page</action>
4314 </actions>
4315 </slider>
4316
4317 <action>
4318 <touch key="home"/>
4319 <action function="page">main</action>
4320 </action>
4321
4322 <action>
4323 <touch key="back"/>
4324 <action function="page">advanced</action>
4325 </action>
4326 </page>
4327
4328 <page name="installsu">
4329 <template name="page"/>
4330
4331 <text style="text_l">
4332 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004333 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004334 </text>
4335
4336 <text style="text_m">
4337 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004338 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004339 </text>
4340
4341 <text style="text_m_accent">
4342 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <text style="text_m">
4347 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 </text>
4350
4351 <text style="text_m">
4352 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 </text>
4355
4356 <button style="main_button_half_height">
4357 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004358 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004359 <action function="set">tw_page_done=1</action>
4360 </button>
4361
4362 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004363 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004364 <actions>
4365 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004367 <action function="set">tw_action_text2=</action>
4368 <action function="page">singleaction_page</action>
4369 </actions>
4370 </slider>
4371 </page>
4372
4373 <page name="slideout">
4374 <fill color="%background_color%">
4375 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4376 </fill>
4377
4378 <console>
4379 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4380 </console>
4381
4382 <button>
4383 <fill color="%transparent%"/>
4384 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4385 <action function="overlay"/>
4386 </button>
4387
4388 <action>
4389 <touch key="power+voldown"/>
4390 <action function="screenshot"/>
4391 </action>
4392 </page>
4393
4394 <page name="select_storage">
4395 <fill color="%semi_transparent%">
4396 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4397 </fill>
4398
4399 <fill color="%background_color%">
4400 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4401 </fill>
4402
4403 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 <data name="tw_storage_path"/>
4406 <listtype name="storage"/>
4407 </partitionlist>
4408
4409 <button style="button_third_width">
4410 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 <actions>
4413 <action function="set">tw_clear_destination=%tw_back%</action>
4414 <action function="overlay"/>
4415 <action function="page">clear_vars</action>
4416 </actions>
4417 </button>
4418
4419 <fill color="#000000">
4420 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4421 </fill>
4422
4423 <button>
4424 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4425 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4426 <image resource="back"/>
4427 <condition var1="tw_busy" var2="0"/>
4428 <actions>
4429 <action function="overlay"/>
4430 <action function="key">%tw_back%</action>
4431 </actions>
4432 </button>
4433
4434 <button>
4435 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4436 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4437 <image resource="console"/>
4438 <condition var1="tw_busy" var2="0"/>
4439 <action function="overlay">slideout</action>
4440 </button>
4441
4442 <button>
4443 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4444 <image resource="home"/>
4445 <condition var1="tw_busy" var2="0"/>
4446 <actions>
4447 <action function="overlay"/>
4448 <action function="key">home</action>
4449 </actions>
4450 </button>
4451
4452 <button>
4453 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4454 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4455 <image resource="console"/>
4456 <condition var1="tw_busy" var2="0"/>
4457 <action function="overlay">slideout</action>
4458 </button>
4459
4460 <button>
4461 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4462 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4463 <image resource="back"/>
4464 <condition var1="tw_busy" var2="0"/>
4465 <actions>
4466 <action function="overlay"/>
4467 <action function="key">%tw_back%</action>
4468 </actions>
4469 </button>
4470
4471 <action>
4472 <touch key="power+voldown"/>
4473 <action function="screenshot"/>
4474 </action>
4475 </page>
4476 </pages>
4477</recovery>