blob: 2d399babeee5e8d2ce2f0746bee225b999cb1441 [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
83 <style name="fileselector">
84 <highlight color="%fileselector_highlight_color%"/>
85 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
86 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
87 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
88 <sort name="tw_gui_sort_order"/>
89 <icon folder="folder" file="file"/>
90 <background color="%background_color%"/>
91 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
92 </style>
93
94 <style name="listbox">
95 <highlight color="%fileselector_highlight_color%"/>
96 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
97 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
98 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
99 <icon selected="radio_true" unselected="radio_false"/>
100 <background color="%background_color%"/>
101 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
102 </style>
103
104 <style name="scrolllist">
105 <background color="%background_color%"/>
106 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
107 </style>
108
109 <style name="partitionlist">
110 <highlight color="%fileselector_highlight_color%"/>
111 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
112 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
113 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
114 <icon selected="checkbox_true" unselected="checkbox_false"/>
115 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
118 </style>
119
120 <style name="partitionlist_storage">
121 <highlight color="%fileselector_highlight_color%"/>
122 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
123 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
124 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
125 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
126 <icon selected="radio_true" unselected="radio_false"/>
127 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
128 <background color="%background_color%"/>
129 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
130 </style>
131
132 <style name="slider">
133 <placement x="%center_x%" y="%row23_y%"/>
134 <font resource="font_s" color="%text_color%"/>
135 <resource base="slider" used="slider_used" touch="slider_touch"/>
136 </style>
137
138 <style name="slidervalue">
139 <resource handle="handle"/>
140 <font resource="font_m" color="%text_color%"/>
141 <colors line="%fileselector_linecolor%"/>
142 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
143 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100144
145 <style name="patternpassword">
146 <size name="tw_gui_pattern_grid_size" default="3"/>
147 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100148 </styles>
149
150 <pages>
151 <page name="main">
152 <action>
153 <actions>
154 <action function="set">tw_clear_destination=main2</action>
155 <action function="page">clear_vars</action>
156 </actions>
157 </action>
158 </page>
159
160 <page name="main2">
161 <template name="page"/>
162
163 <text style="text_l">
164 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500165 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100166 </text>
167
168 <text style="text_m">
169 <condition var1="tw_no_cpu_temp" var2="0"/>
170 <placement x="%col1_x_header%" y="%row4_header_y%"/>
171 <text>%tw_version%</text>
172 </text>
173
174 <button style="main_button">
175 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500176 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100177 <actions>
178 <action function="queueclear"/>
179 <action function="set">tw_selectimage=0</action>
180 <action function="page">install</action>
181 </actions>
182 </button>
183
184 <button style="main_button">
185 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500186 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100187 <action function="page">wipe</action>
188 </button>
189
190 <button style="main_button">
191 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">backup</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">restore</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">mount</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">settings</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">advanced</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">reboot</action>
224 </button>
225 </page>
226
227 <page name="install">
228 <template name="page"/>
229
230 <text style="text_l">
231 <condition var1="tw_selectimage" var2="0"/>
232 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 </text>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="1"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_m">
243 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500244 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100245 </text>
246
247 <template name="sort_options"/>
248
249 <fileselector>
250 <condition var1="tw_selectimage" var2="0"/>
251 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
252 <text>%tw_zip_location%</text>
253 <filter extn=".zip" folders="1" files="1"/>
254 <path name="tw_zip_location" default="/sdcard"/>
255 <data name="tw_filename"/>
256 <selection name="tw_file"/>
257 </fileselector>
258
259 <fileselector>
260 <condition var1="tw_selectimage" var2="1"/>
261 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
262 <text>%tw_zip_location%</text>
263 <filter extn=".img" folders="1" files="1"/>
264 <path name="tw_zip_location" default="/sdcard"/>
265 <data name="tw_filename"/>
266 <selection name="tw_file"/>
267 </fileselector>
268
269 <button style="main_button_half_height">
270 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500271 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100272 <actions>
273 <action function="set">tw_back=install</action>
274 <action function="overlay">select_storage</action>
275 </actions>
276 </button>
277
278 <button style="main_button_half_height">
279 <condition var1="tw_selectimage" var2="0"/>
280 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500281 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100282 <actions>
283 <action function="set">tw_selectimage=1</action>
284 <action function="page">install</action>
285 </actions>
286 </button>
287
288 <button style="main_button_half_height">
289 <condition var1="tw_selectimage" var2="1"/>
290 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500291 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100292 <actions>
293 <action function="set">tw_selectimage=0</action>
294 <action function="page">install</action>
295 </actions>
296 </button>
297
298 <action>
299 <conditions>
300 <condition var1="tw_selectimage" var2="0"/>
301 <condition var1="tw_filename" op="modified"/>
302 </conditions>
303 <actions>
304 <action function="queuezip"/>
305 <action function="page">flash_confirm</action>
306 </actions>
307 </action>
308
309 <action>
310 <conditions>
311 <condition var1="tw_selectimage" var2="1"/>
312 <condition var1="tw_filename" op="modified"/>
313 </conditions>
314 <action function="page">flashimage_confirm</action>
315 </action>
316
317 <action>
318 <touch key="back"/>
319 <action function="page">main</action>
320 </action>
321
322 <action>
323 <touch key="home"/>
324 <action function="page">main</action>
325 </action>
326 </page>
327
328 <page name="flash_confirm">
329 <template name="page"/>
330
331 <text style="text_l">
332 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500333 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100334 </text>
335
336 <text style="text_m">
337 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500338 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100339 </text>
340
341 <text style="text_m_accent">
342 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500343 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100344 </text>
345
346 <text style="text_m_accent">
347 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500348 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100349 </text>
350
351 <text style="text_m">
352 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500353 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100354 </text>
355
356 <text style="text_m_accent">
357 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500358 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100359 </text>
360
361 <text style="text_m">
362 <placement x="%indent%" y="%row8_y%"/>
363 <text>%tw_zip_location%</text>
364 </text>
365
366 <text style="text_m_accent">
367 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500368 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100369 </text>
370
371 <text style="text_m">
372 <placement x="%indent%" y="%row10a_y%"/>
373 <text>%tw_file%</text>
374 </text>
375
376 <checkbox>
377 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500378 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100379 <data variable="tw_signed_zip_verify"/>
380 </checkbox>
381
382 <checkbox>
383 <condition var1="tw_has_injecttwrp" var2="1"/>
384 <placement x="%indent%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500385 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100386 <data variable="tw_inject_after_zip"/>
387 </checkbox>
388
389 <button style="main_button_half_height">
390 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500391 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100392 <action function="page">install</action>
393 </button>
394
395 <button style="main_button_half_height">
396 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <actions>
399 <action function="queueclear"/>
400 <action function="page">install</action>
401 </actions>
402 </button>
403
404 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500405 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100406 <action function="flash">flash_zip</action>
407 </slider>
408
409 <action>
410 <touch key="back"/>
411 <actions>
412 <action function="cancelzip"/>
413 <action function="page">install</action>
414 </actions>
415 </action>
416
417 <action>
418 <touch key="home"/>
419 <action function="page">main</action>
420 </action>
421 </page>
422
423 <page name="flash_zip">
424 <template name="page"/>
425
426 <text style="text_l">
427 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 </text>
430
431 <text style="text_m">
432 <placement x="%col1_x_header%" y="%row4_header_y%"/>
433 <text>%tw_file%</text>
434 </text>
435
436 <template name="console"/>
437
438 <template name="progress_bar"/>
439
440 <action>
441 <condition var1="tw_operation_state" var2="1"/>
442 <action function="page">flash_done</action>
443 </action>
444 </page>
445
446 <page name="flash_done">
447 <template name="page"/>
448
449 <text style="text_l">
450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 </text>
453
454 <text style="text_m_fail">
455 <condition var1="tw_operation_status" op="!=" var2="0"/>
456 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </text>
459
460 <text style="text_m">
461 <condition var1="tw_operation_status" var2="0"/>
462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <template name="console"/>
467
468 <button style="main_button_half_height">
469 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 <actions>
472 <action function="set">tw_back=flash_done</action>
473 <action function="set">tw_action=wipe</action>
474 <action function="set">tw_action_param=/cache</action>
475 <action function="set">tw_has_action2=1</action>
476 <action function="set">tw_action2=wipe</action>
477 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500478 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
479 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
480 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
481 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100482 <action function="page">confirm_action</action>
483 </actions>
484 </button>
485
486 <button style="main_button_half_height">
487 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 <actions>
490 <action function="set">tw_back=main2</action>
491 <action function="set">tw_action=reboot</action>
492 <action function="set">tw_action_param=system</action>
493 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500494 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
495 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100496 <action function="set">tw_text3=</action>
497 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500498 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100499 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
501 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <action function="page">rebootcheck</action>
503 </actions>
504 </button>
505
506 <action>
507 <touch key="back"/>
508 <actions>
509 <action function="set">tw_clear_destination=install</action>
510 <action function="page">clear_vars</action>
511 </actions>
512 </action>
513
514 <action>
515 <touch key="home"/>
516 <actions>
517 <action function="set">tw_clear_destination=main2</action>
518 <action function="page">clear_vars</action>
519 </actions>
520 </action>
521 </page>
522
523 <page name="flashimage_confirm">
524 <template name="page"/>
525
526 <text style="text_l">
527 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500528 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100529 </text>
530
531 <text style="text_m">
532 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500533 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100534 </text>
535
536 <text style="text_m_accent">
537 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100539 </text>
540
541 <text style="text_m">
542 <placement x="%indent%" y="%row3_y%"/>
543 <text>%tw_zip_location%</text>
544 </text>
545
546 <text style="text_m_accent">
547 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 </text>
550
551 <text style="text_m">
552 <placement x="%indent%" y="%row5a_y%"/>
553 <text>%tw_file%</text>
554 </text>
555
556 <partitionlist>
557 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
558 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500559 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100560 <data name="tw_flash_partition"/>
561 <listtype name="flashimg"/>
562 </partitionlist>
563
564 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500565 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100566 <actions>
567 <action function="set">tw_back=flashimage_confirm</action>
568 <action function="set">tw_action=flashimage</action>
569 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500570 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100571 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500572 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100573 <action function="page">action_page</action>
574 </actions>
575 <action function="flashimage"/>
576 </slider>
577
578 <action>
579 <touch key="back"/>
580 <actions>
581 <action function="set">tw_clear_destination=install</action>
582 <action function="page">clear_vars</action>
583 </actions>
584 </action>
585
586 <action>
587 <touch key="home"/>
588 <actions>
589 <action function="set">tw_clear_destination=main2</action>
590 <action function="page">clear_vars</action>
591 </actions>
592 </action>
593 </page>
594
595 <page name="clear_vars">
596 <action>
597 <action function="set">tw_operation_state=0</action>
598 <action function="set">tw_text1=</action>
599 <action function="set">tw_text2=</action>
600 <action function="set">tw_text3=</action>
601 <action function="set">tw_text4=</action>
602 <action function="set">tw_action_text1=</action>
603 <action function="set">tw_action_text2=</action>
604 <action function="set">tw_action_param=</action>
605 <action function="set">tw_has_action2=0</action>
606 <action function="set">tw_action2=</action>
607 <action function="set">tw_action2_param=</action>
608 <action function="set">tw_has_cancel=0</action>
609 <action function="set">tw_cancel_action=</action>
610 <action function="set">tw_cancel_param=</action>
611 <action function="set">tw_show_exclamation=0</action>
612 <action function="set">tw_show_reboot=0</action>
613 <action function="page">%tw_clear_destination%</action>
614 </action>
615 </page>
616
617 <page name="confirm_action">
618 <template name="page"/>
619
620 <text style="text_l">
621 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500622 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100623 </text>
624
625 <text style="text_m">
626 <placement x="%col1_x_header%" y="%row4_header_y%"/>
627 <text/>
628 </text>
629
630 <text style="text_m_accent">
631 <placement x="%center_x%" y="%row2_y%" placement="5"/>
632 <text>%tw_text1%</text>
633 </text>
634
635 <text style="text_m_accent">
636 <placement x="%center_x%" y="%row3_y%" placement="5"/>
637 <text>%tw_text2%</text>
638 </text>
639
640 <text style="text_m">
641 <placement x="%center_x%" y="%row4_y%" placement="5"/>
642 <text>%tw_text3%</text>
643 </text>
644
645 <text style="text_m">
646 <placement x="%center_x%" y="%row5_y%" placement="5"/>
647 <text>%tw_text4%</text>
648 </text>
649
650 <text style="text_m">
651 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500652 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100653 </text>
654
655 <slider>
656 <text>%tw_slider_text%</text>
657 <action function="page">action_page</action>
658 </slider>
659
660 <action>
661 <touch key="back"/>
662 <actions>
663 <action function="set">tw_clear_destination=%tw_back%</action>
664 <action function="page">clear_vars</action>
665 </actions>
666 </action>
667
668 <action>
669 <touch key="home"/>
670 <action function="page">main</action>
671 </action>
672 </page>
673
674 <page name="action_page">
675 <template name="page"/>
676
677 <text style="text_l">
678 <placement x="%col1_x_header%" y="%row3_header_y%"/>
679 <text>%tw_action_text1%</text>
680 </text>
681
682 <text style="text_m">
683 <placement x="%col1_x_header%" y="%row4_header_y%"/>
684 <text>%tw_action_text2%</text>
685 </text>
686
687 <template name="console"/>
688
689 <template name="progress_bar"/>
690
691 <button style="main_button_half_height">
692 <condition var1="tw_has_cancel" var2="1"/>
693 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100695 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
696 </button>
697
698 <action>
699 <condition var1="tw_operation_state" var2="1"/>
700 <actions>
701 <action function="page">action_complete</action>
702 </actions>
703 </action>
704
705 <action>
706 <condition var1="tw_has_action2" var2="0"/>
707 <actions>
708 <action function="%tw_action%">%tw_action_param%</action>
709 </actions>
710 </action>
711
712 <action>
713 <condition var1="tw_has_action2" var2="1"/>
714 <actions>
715 <action function="%tw_action%">%tw_action_param%</action>
716 <action function="%tw_action2%">%tw_action2_param%</action>
717 </actions>
718 </action>
719 </page>
720
721 <page name="singleaction_page">
722 <template name="page"/>
723
724 <text style="text_l">
725 <placement x="%col1_x_header%" y="%row3_header_y%"/>
726 <text>%tw_action_text1%</text>
727 </text>
728
729 <text style="text_m">
730 <placement x="%col1_x_header%" y="%row4_header_y%"/>
731 <text>%tw_action_text2%</text>
732 </text>
733
734 <template name="console"/>
735
736 <template name="progress_bar"/>
737
738 <action>
739 <condition var1="tw_operation_state" var2="1"/>
740 <actions>
741 <action function="set">tw_page_done=1</action>
742 </actions>
743 </action>
744
745 <action>
746 <condition var1="tw_has_action2" var2="0"/>
747 <actions>
748 <action function="%tw_action%">%tw_action_param%</action>
749 </actions>
750 </action>
751
752 <action>
753 <condition var1="tw_has_action2" var2="1"/>
754 <actions>
755 <action function="%tw_action%">%tw_action_param%</action>
756 <action function="%tw_action2%">%tw_action2_param%</action>
757 </actions>
758 </action>
759 </page>
760
761 <page name="action_complete">
762 <template name="page"/>
763
764 <text style="text_l">
765 <placement x="%col1_x_header%" y="%row3_header_y%"/>
766 <text>%tw_complete_text1%</text>
767 </text>
768
769 <text style="text_m_fail">
770 <condition var1="tw_operation_status" op="!=" var2="0"/>
771 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 </text>
774
775 <text style="text_m">
776 <condition var1="tw_operation_status" var2="0"/>
777 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <template name="console"/>
782
783 <button style="main_button_half_height">
784 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500785 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100786 <actions>
787 <action function="set">tw_clear_destination=%tw_back%</action>
788 <action function="page">clear_vars</action>
789 </actions>
790 </button>
791
792 <button style="main_button_half_height">
793 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500794 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100795 <actions>
796 <action function="set">tw_back=main2</action>
797 <action function="set">tw_action=reboot</action>
798 <action function="set">tw_action_param=system</action>
799 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500800 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
801 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100802 <action function="set">tw_text3=</action>
803 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500804 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100805 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
807 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100808 <action function="page">rebootcheck</action>
809 </actions>
810 </button>
811
812 <action>
813 <touch key="home"/>
814 <actions>
815 <action function="set">tw_clear_destination=main2</action>
816 <action function="page">clear_vars</action>
817 </actions>
818 </action>
819
820 <action>
821 <touch key="back"/>
822 <actions>
823 <action function="set">tw_clear_destination=%tw_back%</action>
824 <action function="page">clear_vars</action>
825 </actions>
826 </action>
827 </page>
828
829 <page name="filecheck">
830 <action>
831 <action function="fileexists">%tw_filecheck%</action>
832 </action>
833
834 <action>
835 <conditions>
836 <condition var1="tw_operation_state" var2="1"/>
837 <condition var1="tw_operation_status" var2="0"/>
838 </conditions>
839 <actions>
840 <action function="set">tw_fileexists=1</action>
841 <action function="page">%tw_existpage%</action>
842 </actions>
843 </action>
844
845 <action>
846 <conditions>
847 <condition var1="tw_operation_state" var2="1"/>
848 <condition var1="tw_operation_status" var2="1"/>
849 </conditions>
850 <actions>
851 <action function="set">tw_fileexists=0</action>
852 <action function="page">%tw_notexistpage%</action>
853 </actions>
854 </action>
855 </page>
856
857 <page name="rebootcheck">
858 <action>
859 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
860 <action function="reboot">%tw_action_param%</action>
861 </action>
862
863 <action>
864 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
865 <action function="page">confirm_action</action>
866 </action>
867 </page>
868
869 <page name="wipe">
870 <template name="page"/>
871
872 <text style="text_l">
873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500874 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100875 </text>
876
877 <text style="text_m">
878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500879 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100880 </text>
881
882 <text style="text_m_accent">
883 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500884 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100885 </text>
886
887 <text style="text_m_accent">
888 <condition var1="tw_has_data_media" var2="1"/>
889 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500890 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100891 </text>
892
893 <text style="text_m_accent">
894 <conditions>
895 <condition var1="tw_has_android_secure" var2="1"/>
896 <condition var1="fileexists" var2="/and-sec"/>
897 </conditions>
898 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <text style="text_m_accent">
903 <condition var1="tw_has_sdext_partition" var2="1"/>
904 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 </text>
907
908 <text style="text_m">
909 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500910 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100911 </text>
912
913 <text style="text_m">
914 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500915 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100916 </text>
917
918 <text style="text_m">
919 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 </text>
922
923 <button style="main_button_half_height">
924 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500925 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100926 <actions>
927 <action function="set">partitionlisterror=0</action>
928 <action function="page">advancedwipe</action>
929 </actions>
930 </button>
931
932 <button style="main_button_half_height">
933 <condition var1="tw_has_data_media" var2="1"/>
934 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500935 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100936 <action function="page">formatdata</action>
937 </button>
938
939 <button style="main_button_half_height">
940 <conditions>
941 <condition var1="tw_is_encrypted" var2="1"/>
942 <condition var1="tw_has_data_media" var2="0"/>
943 </conditions>
944 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500945 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100946 <actions>
947 <action function="set">tw_back=wipe</action>
948 <action function="set">tw_action=wipe</action>
949 <action function="set">tw_action_param=DATAMEDIA</action>
950 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100952 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
954 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
955 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100956 <action function="page">confirm_action</action>
957 </actions>
958 </button>
959
960 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500961 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100962 <actions>
963 <action function="set">tw_back=wipe</action>
964 <action function="set">tw_action=wipe</action>
965 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
967 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100968 <action function="page">action_page</action>
969 </actions>
970 </slider>
971
972 <action>
973 <touch key="back"/>
974 <action function="page">main</action>
975 </action>
976
977 <action>
978 <touch key="home"/>
979 <action function="page">main</action>
980 </action>
981 </page>
982
983 <page name="advancedwipe">
984 <template name="page"/>
985
986 <action>
987 <action function="set">tw_wipe_list=</action>
988 </action>
989
990 <text style="text_l">
991 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500992 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100993 </text>
994
995 <text style="text_m">
996 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500997 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100998 </text>
999
1000 <partitionlist>
1001 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001002 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001003 <data name="tw_wipe_list"/>
1004 <listtype name="wipe"/>
1005 </partitionlist>
1006
1007 <text style="text_m_fail">
1008 <condition var1="partitionlisterror" var2="1"/>
1009 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <button style="main_button_half_height_full_width">
1014 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <actions>
1017 <action function="checkpartitionlist"/>
1018 <action function="page">checkpartitionlist</action>
1019 </actions>
1020 </button>
1021
1022 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001023 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001024 <actions>
1025 <action function="set">tw_back=advancedwipe</action>
1026 <action function="set">tw_action=wipe</action>
1027 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001028 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1029 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1030 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001031 <action function="page">action_page</action>
1032 </actions>
1033 </slider>
1034
1035 <action>
1036 <touch key="home"/>
1037 <action function="page">main</action>
1038 </action>
1039
1040 <action>
1041 <touch key="back"/>
1042 <action function="page">wipe</action>
1043 </action>
1044 </page>
1045
1046 <page name="formatdata">
1047 <template name="page"/>
1048
1049 <text style="text_l">
1050 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 </text>
1053
1054 <text style="text_m">
1055 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001057 </text>
1058
1059 <text style="text_m_fail">
1060 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001061 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001062 </text>
1063
1064 <text style="text_m_fail">
1065 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001066 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001067 </text>
1068
1069 <text style="text_m_fail">
1070 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001071 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001072 </text>
1073
1074 <text style="text_m">
1075 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001077 </text>
1078
1079 <text style="text_m">
1080 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 </text>
1083
1084 <input>
1085 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1086 <text>%tw_confirm_formatdata%</text>
1087 <data name="tw_confirm_formatdata"/>
1088 <restrict minlen="3" maxlen="3" allow="yes"/>
1089 <action function="page">formatdata_confirm</action>
1090 </input>
1091
1092 <fill color="%accent_color%">
1093 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1094 </fill>
1095
1096 <template name="keyboardtemplate"/>
1097
1098 <action>
1099 <touch key="home"/>
1100 <action function="page">main</action>
1101 </action>
1102
1103 <action>
1104 <touch key="back"/>
1105 <action function="page">wipe</action>
1106 </action>
1107 </page>
1108
1109 <page name="formatdata_confirm">
1110 <action>
1111 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1112 <actions>
1113 <action function="set">tw_back=formatdata</action>
1114 <action function="set">tw_action=wipe</action>
1115 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1117 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <action function="page">action_page</action>
1119 </actions>
1120 </action>
1121
1122 <action>
1123 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1124 <action function="page">formatdata</action>
1125 </action>
1126 </page>
1127
1128 <page name="checkpartitionlist">
1129 <action>
1130 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1131 <actions>
1132 <action function="set">partitionlisterror=0</action>
1133 <action function="getpartitiondetails"/>
1134 <action function="page">partitionoptions</action>
1135 </actions>
1136 </action>
1137
1138 <action>
1139 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1140 <actions>
1141 <action function="set">partitionlisterror=1</action>
1142 <action function="set">tw_wipe_list=</action>
1143 <action function="page">advancedwipe</action>
1144 </actions>
1145 </action>
1146 </page>
1147
1148 <page name="partitionoptions">
1149 <template name="page"/>
1150
1151 <text style="text_l">
1152 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001153 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001154 </text>
1155
1156 <text style="text_m">
1157 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 </text>
1160
1161 <text style="text_m_accent">
1162 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <text style="text_m_accent">
1167 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 </text>
1170
1171 <text style="text_m">
1172 <condition var1="tw_partition_is_present" var2="1"/>
1173 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 </text>
1176
1177 <text style="text_m">
1178 <condition var1="tw_partition_is_present" var2="0"/>
1179 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m">
1184 <condition var1="tw_partition_removable" var2="1"/>
1185 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </text>
1188
1189 <text style="text_m">
1190 <condition var1="tw_partition_removable" var2="0"/>
1191 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m">
1196 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m">
1206 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m">
1211 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001213 </text>
1214
1215 <button style="main_button_half_height">
1216 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1217 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 <actions>
1220 <action function="set">tw_back=partitionoptions</action>
1221 <action function="set">tw_action=resize</action>
1222 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1223 <action function="set">tw_has_action2=1</action>
1224 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001225 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001226 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001227 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1228 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1229 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <action function="page">confirm_action</action>
1231 </actions>
1232 </button>
1233
1234 <button style="main_button_half_height">
1235 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1236 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <actions>
1239 <action function="set">tw_back=partitionoptions</action>
1240 <action function="set">tw_action=repair</action>
1241 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1242 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1246 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1247 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001248 <action function="page">confirm_action</action>
1249 </actions>
1250 </button>
1251
1252 <button style="main_button_half_height">
1253 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001255 <action function="page">selectfilesystem</action>
1256 </button>
1257
1258 <action>
1259 <touch key="home"/>
1260 <action function="page">main</action>
1261 </action>
1262
1263 <action>
1264 <touch key="back"/>
1265 <action function="page">advancedwipe</action>
1266 </action>
1267 </page>
1268
1269 <page name="refreshfilesystem">
1270 <action>
1271 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1272 <actions>
1273 <action function="set">partitionlisterror=0</action>
1274 <action function="getpartitiondetails"/>
1275 <action function="page">selectfilesystem</action>
1276 </actions>
1277 </action>
1278
1279 <action>
1280 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1281 <actions>
1282 <action function="set">partitionlisterror=1</action>
1283 <action function="set">tw_wipe_list=</action>
1284 <action function="page">advancedwipe</action>
1285 </actions>
1286 </action>
1287 </page>
1288
1289 <page name="selectfilesystem">
1290 <template name="page"/>
1291
1292 <text style="text_l">
1293 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <text style="text_m">
1298 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001300 </text>
1301
1302 <text style="text_m_accent">
1303 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <text style="text_m_accent">
1308 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001309 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001310 </text>
1311
1312 <text style="text_m_fail">
1313 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 </text>
1316
1317 <text style="text_m_fail">
1318 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001320 </text>
1321
1322 <button style="main_button_half_height">
1323 <condition var1="tw_partition_ext" op="=" var2="1"/>
1324 <placement x="%indent%" y="%row15a_y%"/>
1325 <text>EXT2</text>
1326 <actions>
1327 <action function="set">tw_back=refreshfilesystem</action>
1328 <action function="set">tw_action=changefilesystem</action>
1329 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1330 <action function="set">tw_action_new_file_system=ext2</action>
1331 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1333 <action function="set">tw_text2=EXT2</action>
1334 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1335 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1336 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001337 <action function="page">confirm_action</action>
1338 </actions>
1339 </button>
1340
1341 <button style="main_button_half_height">
1342 <condition var1="tw_partition_ext" op="=" var2="1"/>
1343 <placement x="%indent%" y="%row18a_y%"/>
1344 <text>EXT3</text>
1345 <actions>
1346 <action function="set">tw_back=refreshfilesystem</action>
1347 <action function="set">tw_action=changefilesystem</action>
1348 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1349 <action function="set">tw_action_new_file_system=ext3</action>
1350 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001351 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1352 <action function="set">tw_text2=EXT3</action>
1353 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1354 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1355 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001356 <action function="page">confirm_action</action>
1357 </actions>
1358 </button>
1359
1360 <button style="main_button_half_height">
1361 <condition var1="tw_partition_ext" op="=" var2="1"/>
1362 <placement x="%indent%" y="%row21a_y%"/>
1363 <text>EXT4</text>
1364 <actions>
1365 <action function="set">tw_back=refreshfilesystem</action>
1366 <action function="set">tw_action=changefilesystem</action>
1367 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1368 <action function="set">tw_action_new_file_system=ext4</action>
1369 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001370 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1371 <action function="set">tw_text2=EXT4</action>
1372 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1373 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1374 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001375 <action function="page">confirm_action</action>
1376 </actions>
1377 </button>
1378
1379 <button style="main_button_half_height">
1380 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1381 <placement x="%center_x%" y="%row15a_y%"/>
1382 <text>FAT</text>
1383 <actions>
1384 <action function="set">tw_back=refreshfilesystem</action>
1385 <action function="set">tw_action=changefilesystem</action>
1386 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1387 <action function="set">tw_action_new_file_system=vfat</action>
1388 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1390 <action function="set">tw_text2=FAT</action>
1391 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1392 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1393 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001394 <action function="page">confirm_action</action>
1395 </actions>
1396 </button>
1397
1398 <button style="main_button_half_height">
1399 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1400 <placement x="%center_x%" y="%row18a_y%"/>
1401 <text>exFAT</text>
1402 <actions>
1403 <action function="set">tw_back=refreshfilesystem</action>
1404 <action function="set">tw_action=changefilesystem</action>
1405 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1406 <action function="set">tw_action_new_file_system=exfat</action>
1407 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1409 <action function="set">tw_text2=exFAT</action>
1410 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1411 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1412 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001413 <action function="page">confirm_action</action>
1414 </actions>
1415 </button>
1416
1417 <button style="main_button_half_height">
1418 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1419 <placement x="%center_x%" y="%row21a_y%"/>
1420 <text>F2FS</text>
1421 <actions>
1422 <action function="set">tw_back=refreshfilesystem</action>
1423 <action function="set">tw_action=changefilesystem</action>
1424 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1425 <action function="set">tw_action_new_file_system=f2fs</action>
1426 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1428 <action function="set">tw_text2=F2FS</action>
1429 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1430 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1431 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001432 <action function="page">confirm_action</action>
1433 </actions>
1434 </button>
1435
1436 <action>
1437 <touch key="home"/>
1438 <action function="page">main</action>
1439 </action>
1440
1441 <action>
1442 <touch key="back"/>
1443 <action function="page">partitionoptions</action>
1444 </action>
1445 </page>
1446
1447 <page name="backup">
1448 <template name="page"/>
1449
1450 <text style="text_l">
1451 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001453 </text>
1454
1455 <text style="text_m">
1456 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <template name="tabs_backup"/>
1461
1462 <fill color="%text_color%">
1463 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1464 </fill>
1465
1466 <button style="tab">
1467 <conditions>
1468 <condition var1="tw_include_encrypted_backup" var2="1"/>
1469 <condition var1="tw_encrypt_backup" var2="0"/>
1470 </conditions>
1471 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001473 <font resource="font_s" color="%text_color%"/>
1474 <actions>
1475 <action function="set">tw_password_not_match=0</action>
1476 <action function="page">backupencryption</action>
1477 </actions>
1478 </button>
1479
1480 <button style="tab">
1481 <conditions>
1482 <condition var1="tw_include_encrypted_backup" var2="1"/>
1483 <condition var1="tw_encrypt_backup" var2="1"/>
1484 </conditions>
1485 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001486 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001487 <font resource="font_s" color="%text_success_color%"/>
1488 <actions>
1489 <action function="set">tw_password_not_match=0</action>
1490 <action function="page">backupencryption</action>
1491 </actions>
1492 </button>
1493
1494 <text style="text_m_accent">
1495 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001496 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001497 </text>
1498
1499 <text style="text_m">
1500 <placement x="%indent%" y="%row4a_y%"/>
1501 <text>%tw_backup_name%</text>
1502 </text>
1503
1504 <fill color="%fileselector_linecolor%">
1505 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1506 </fill>
1507
1508 <button>
1509 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1510 <fill color="%transparent%"/>
1511 <actions>
1512 <action function="set">tw_fileexists=0</action>
1513 <action function="page">backupname1</action>
1514 </actions>
1515 </button>
1516
1517 <partitionlist>
1518 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 <data name="tw_backup_list"/>
1521 <listtype name="backup"/>
1522 </partitionlist>
1523
1524 <button style="main_button_half_height">
1525 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001526 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001527 <actions>
1528 <action function="set">tw_back=backup</action>
1529 <action function="overlay">select_storage</action>
1530 </actions>
1531 </button>
1532
1533 <button style="main_button_half_height">
1534 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001535 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001536 <actions>
1537 <action function="refreshsizes"/>
1538 <action function="page">backup</action>
1539 </actions>
1540 </button>
1541
1542 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001543 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001544 <action function="page">backup_run</action>
1545 </slider>
1546
1547 <action>
1548 <touch key="home"/>
1549 <action function="page">main</action>
1550 </action>
1551
1552 <action>
1553 <touch key="back"/>
1554 <action function="page">main</action>
1555 </action>
1556 </page>
1557
1558 <page name="backup_options">
1559 <template name="page"/>
1560
1561 <text style="text_l">
1562 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001563 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001564 </text>
1565
1566 <text style="text_m">
1567 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001568 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001569 </text>
1570
1571 <template name="tabs_backup"/>
1572
1573 <fill color="%text_color%">
1574 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1575 </fill>
1576
1577 <button style="tab">
1578 <conditions>
1579 <condition var1="tw_include_encrypted_backup" var2="1"/>
1580 <condition var1="tw_encrypt_backup" var2="0"/>
1581 </conditions>
1582 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <font resource="font_s" color="%text_color%"/>
1585 <actions>
1586 <action function="set">tw_password_not_match=0</action>
1587 <action function="page">backupencryption</action>
1588 </actions>
1589 </button>
1590
1591 <button style="tab">
1592 <conditions>
1593 <condition var1="tw_include_encrypted_backup" var2="1"/>
1594 <condition var1="tw_encrypt_backup" var2="1"/>
1595 </conditions>
1596 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001597 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001598 <font resource="font_s" color="%text_success_color%"/>
1599 <actions>
1600 <action function="set">tw_password_not_match=0</action>
1601 <action function="page">backupencryption</action>
1602 </actions>
1603 </button>
1604
1605 <checkbox>
1606 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 <data variable="tw_use_compression"/>
1609 </checkbox>
1610
1611 <checkbox>
1612 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <data variable="tw_skip_md5_generate"/>
1615 </checkbox>
1616
1617 <checkbox>
1618 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <data variable="tw_disable_free_space"/>
1621 </checkbox>
1622
1623 <action>
1624 <touch key="home"/>
1625 <action function="page">main</action>
1626 </action>
1627
1628 <action>
1629 <touch key="back"/>
1630 <action function="page">backup</action>
1631 </action>
1632 </page>
1633
1634 <page name="backupname1">
1635 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001636 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001637 <action function="generatebackupname"/>
1638 </action>
1639
1640 <action>
1641 <action function="page">backupname2</action>
1642 </action>
1643 </page>
1644
1645 <page name="backupname2">
1646 <template name="page"/>
1647
1648 <text style="text_l">
1649 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <text style="text_m">
1654 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001655 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001656 </text>
1657
1658 <template name="tabs_backup"/>
1659
1660 <fill color="%text_color%">
1661 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1662 </fill>
1663
1664 <button style="tab">
1665 <conditions>
1666 <condition var1="tw_include_encrypted_backup" var2="1"/>
1667 <condition var1="tw_encrypt_backup" var2="0"/>
1668 </conditions>
1669 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 <font resource="font_s" color="%text_color%"/>
1672 <actions>
1673 <action function="set">tw_password_not_match=0</action>
1674 <action function="page">backupencryption</action>
1675 </actions>
1676 </button>
1677
1678 <button style="tab">
1679 <conditions>
1680 <condition var1="tw_include_encrypted_backup" var2="1"/>
1681 <condition var1="tw_encrypt_backup" var2="1"/>
1682 </conditions>
1683 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <font resource="font_s" color="%text_success_color%"/>
1686 <actions>
1687 <action function="set">tw_password_not_match=0</action>
1688 <action function="page">backupencryption</action>
1689 </actions>
1690 </button>
1691
1692 <text style="text_m_accent">
1693 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001695 </text>
1696
1697 <input>
1698 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1699 <text>%tw_backup_name%</text>
1700 <data name="tw_backup_name"/>
1701 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1702 <actions>
1703 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1704 <action function="set">tw_existpage=backupname2</action>
1705 <action function="set">tw_notexistpage=backup</action>
1706 <action function="page">filecheck</action>
1707 </actions>
1708 </input>
1709
1710 <fill color="%accent_color%">
1711 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1712 </fill>
1713
1714 <fill color="%text_fail_color%">
1715 <condition var1="tw_fileexists" var2="1"/>
1716 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1717 </fill>
1718
1719 <text style="text_m_fail">
1720 <condition var1="tw_fileexists" var2="1"/>
1721 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001723 </text>
1724
1725 <button style="main_button_half_height">
1726 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001727 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001728 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001729 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001730 <action function="page">backup</action>
1731 </actions>
1732 </button>
1733
1734 <button style="main_button_half_height">
1735 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001736 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001737 <action function="appenddatetobackupname"/>
1738 </button>
1739
1740 <template name="keyboardtemplate"/>
1741
1742 <action>
1743 <touch key="home"/>
1744 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001746 <action function="page">main</action>
1747 </actions>
1748 </action>
1749
1750 <action>
1751 <touch key="back"/>
1752 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001753 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <action function="page">backup</action>
1755 </actions>
1756 </action>
1757 </page>
1758
1759 <page name="backupencryption">
1760 <template name="page"/>
1761
1762 <text style="text_l">
1763 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001764 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001765 </text>
1766
1767 <text style="text_m">
1768 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001769 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001770 </text>
1771
1772 <template name="tabs_backup"/>
1773
1774 <button style="tab">
1775 <conditions>
1776 <condition var1="tw_include_encrypted_backup" var2="1"/>
1777 <condition var1="tw_encrypt_backup" var2="0"/>
1778 </conditions>
1779 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001780 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001781 <font resource="font_s" color="%text_color%"/>
1782 <actions>
1783 <action function="set">tw_password_not_match=0</action>
1784 <action function="page">backupencryption</action>
1785 </actions>
1786 </button>
1787
1788 <button style="tab">
1789 <conditions>
1790 <condition var1="tw_include_encrypted_backup" var2="1"/>
1791 <condition var1="tw_encrypt_backup" var2="1"/>
1792 </conditions>
1793 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001794 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001795 <font resource="font_s" color="%text_success_color%"/>
1796 <actions>
1797 <action function="set">tw_password_not_match=0</action>
1798 <action function="page">backupencryption</action>
1799 </actions>
1800 </button>
1801
1802 <fill color="%text_color%">
1803 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1804 </fill>
1805
1806 <text style="text_m_accent">
1807 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <text style="text_m">
1812 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001814 </text>
1815
1816 <input>
1817 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1818 <text>%tw_backup_encrypt_display%</text>
1819 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1820 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1821 <action function="page">backupencryption2</action>
1822 </input>
1823
1824 <fill color="%accent_color%">
1825 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1826 </fill>
1827
1828 <fill color="%text_fail_color%">
1829 <condition var1="tw_password_not_match" var2="1"/>
1830 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1831 </fill>
1832
1833 <text style="text_m_fail">
1834 <condition var1="tw_password_not_match" var2="1"/>
1835 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <button style="main_button_half_height">
1840 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001842 <actions>
1843 <action function="set">tw_encrypt_backup=0</action>
1844 <action function="set">tw_backup_password=</action>
1845 <action function="set">tw_backup_password2=</action>
1846 <action function="set">tw_backup_encrypt_display=</action>
1847 <action function="set">tw_backup_encrypt_display2=</action>
1848 <action function="page">backup</action>
1849 </actions>
1850 </button>
1851
1852 <template name="keyboardtemplate"/>
1853
1854 <action>
1855 <touch key="home"/>
1856 <action function="page">main</action>
1857 </action>
1858
1859 <action>
1860 <touch key="back"/>
1861 <action function="page">backup</action>
1862 </action>
1863 </page>
1864
1865 <page name="backupencryption2">
1866 <template name="page"/>
1867
1868 <text style="text_l">
1869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m">
1874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <template name="tabs_backup"/>
1879
1880 <button style="tab">
1881 <conditions>
1882 <condition var1="tw_include_encrypted_backup" var2="1"/>
1883 <condition var1="tw_encrypt_backup" var2="0"/>
1884 </conditions>
1885 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <font resource="font_s" color="%text_color%"/>
1888 <actions>
1889 <action function="set">tw_password_not_match=0</action>
1890 <action function="page">backupencryption</action>
1891 </actions>
1892 </button>
1893
1894 <button style="tab">
1895 <conditions>
1896 <condition var1="tw_include_encrypted_backup" var2="1"/>
1897 <condition var1="tw_encrypt_backup" var2="1"/>
1898 </conditions>
1899 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001900 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001901 <font resource="font_s" color="%text_success_color%"/>
1902 <actions>
1903 <action function="set">tw_password_not_match=0</action>
1904 <action function="page">backupencryption</action>
1905 </actions>
1906 </button>
1907
1908 <fill color="%text_color%">
1909 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1910 </fill>
1911
1912 <text style="text_m_accent">
1913 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001915 </text>
1916
1917 <text style="text_m">
1918 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 </text>
1921
1922 <input>
1923 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1924 <text>%tw_backup_encrypt_display2%</text>
1925 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1926 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1927 <action function="page">checkbackuppassword</action>
1928 </input>
1929
1930 <fill color="%accent_color%">
1931 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1932 </fill>
1933
1934 <button style="main_button_half_height">
1935 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001936 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001937 <actions>
1938 <action function="set">tw_encrypt_backup=0</action>
1939 <action function="set">tw_backup_password=</action>
1940 <action function="set">tw_backup_password2=</action>
1941 <action function="set">tw_backup_encrypt_display=</action>
1942 <action function="set">tw_backup_encrypt_display2=</action>
1943 <action function="page">backup</action>
1944 </actions>
1945 </button>
1946
1947 <template name="keyboardtemplate"/>
1948
1949 <action>
1950 <touch key="home"/>
1951 <action function="page">main</action>
1952 </action>
1953
1954 <action>
1955 <touch key="back"/>
1956 <action function="page">backup</action>
1957 </action>
1958 </page>
1959
1960 <page name="checkbackuppassword">
1961 <action>
1962 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1963 <actions>
1964 <action function="set">tw_encrypt_backup=1</action>
1965 <action function="page">backup</action>
1966 </actions>
1967 </action>
1968
1969 <action>
1970 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1971 <actions>
1972 <action function="set">tw_encrypt_backup=0</action>
1973 <action function="set">tw_password_not_match=1</action>
1974 <action function="set">tw_backup_password=</action>
1975 <action function="set">tw_backup_password2=</action>
1976 <action function="set">tw_backup_encrypt_display=</action>
1977 <action function="set">tw_backup_encrypt_display2=</action>
1978 <action function="page">backupencryption</action>
1979 </actions>
1980 </action>
1981 </page>
1982
1983 <page name="backup_run">
1984 <template name="page"/>
1985
1986 <text style="text_l">
1987 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1988 <text>%tw_operation%</text>
1989 </text>
1990
1991 <text style="text_m">
1992 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1993 <text>%tw_partition% Partition</text>
1994 </text>
1995
1996 <template name="console"/>
1997
1998 <template name="progress_bar"/>
1999
2000 <text style="text_m_accent">
2001 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 </text>
2004
2005 <text style="text_m">
2006 <placement x="%indent%" y="%row20_y%"/>
2007 <text>%tw_file_progress%</text>
2008 </text>
2009
2010 <text style="text_m">
2011 <placement x="%indent%" y="%row21_y%"/>
2012 <text>%tw_size_progress%</text>
2013 </text>
2014
2015 <button style="main_button_half_height">
2016 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 <action function="cancelbackup"/>
2019 </button>
2020
2021 <action>
2022 <action function="nandroid">backup</action>
2023 </action>
2024
2025 <action>
2026 <condition var1="tw_operation_state" var2="1"/>
2027 <condition var1="tw_cancel_backup" var2="0"/>
2028 <actions>
2029 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002030 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002031 <action function="set">tw_show_reboot=1</action>
2032 <action function="page">action_complete</action>
2033 </actions>
2034 </action>
2035
2036 <action>
2037 <condition var1="tw_operation_state" var2="1"/>
2038 <condition var1="tw_cancel_backup" var2="1"/>
2039 <actions>
2040 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002042 <action function="set">tw_show_reboot=1</action>
2043 <action function="page">action_complete</action>
2044 </actions>
2045 </action>
2046 </page>
2047
2048 <page name="restore">
2049 <template name="page"/>
2050
2051 <text style="text_l">
2052 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002054 </text>
2055
2056 <text style="text_m">
2057 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 </text>
2060
2061 <template name="sort_options"/>
2062
2063 <fileselector>
2064 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002066 <filter folders="1" files="0" nav="0"/>
2067 <path name="tw_backups_folder"/>
2068 <data name="tw_restore" default=""/>
2069 <selection name="tw_restore_name"/>
2070 </fileselector>
2071
2072 <button style="main_button_half_height">
2073 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002074 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002075 <actions>
2076 <action function="set">tw_back=restore</action>
2077 <action function="overlay">select_storage</action>
2078 </actions>
2079 </button>
2080
2081 <action>
2082 <condition var1="tw_restore" op="modified"/>
2083 <actions>
2084 <action function="readBackup"/>
2085 <action function="page">restore_read</action>
2086 </actions>
2087 </action>
2088
2089 <action>
2090 <touch key="home"/>
2091 <action function="page">main</action>
2092 </action>
2093
2094 <action>
2095 <touch key="back"/>
2096 <action function="page">main</action>
2097 </action>
2098 </page>
2099
2100 <page name="restore_read">
2101 <action>
2102 <condition var1="tw_restore_encrypted" var2="1"/>
2103 <actions>
2104 <action function="set">tw_password_fail=0</action>
2105 <action function="page">restore_decrypt</action>
2106 </actions>
2107 </action>
2108
2109 <action>
2110 <condition var1="tw_restore_encrypted" var2="0"/>
2111 <actions>
2112 <action function="page">restore_select</action>
2113 </actions>
2114 </action>
2115 </page>
2116
2117 <page name="restore_decrypt">
2118 <template name="page"/>
2119
2120 <text style="text_l">
2121 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002122 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002123 </text>
2124
2125 <text style="text_m">
2126 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002127 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002128 </text>
2129
2130 <text style="text_m_accent">
2131 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002132 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002133 </text>
2134
2135 <input>
2136 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2137 <text>%tw_restore_display%</text>
2138 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2139 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2140 <action function="page">try_restore_decrypt</action>
2141 </input>
2142
2143 <fill color="%accent_color%">
2144 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2145 </fill>
2146
2147 <fill color="%text_fail_color%">
2148 <condition var1="tw_password_fail" var2="1"/>
2149 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2150 </fill>
2151
2152 <text style="text_m_fail">
2153 <condition var1="tw_password_fail" var2="1"/>
2154 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002155 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002156 </text>
2157
2158 <button style="main_button_half_height">
2159 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002160 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002161 <actions>
2162 <action function="set">tw_page_done=1</action>
2163 <action function="page">restore</action>
2164 </actions>
2165 </button>
2166
2167 <button style="main_button_half_height">
2168 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002170 <actions>
2171 <action function="set">tw_back=restore</action>
2172 <action function="set">tw_action=cmd</action>
2173 <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 -05002174 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2175 <action function="set">tw_text2=%tw_restore_name%</action>
2176 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2177 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2178 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2179 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002180 <action function="page">confirm_action</action>
2181 </actions>
2182 </button>
2183
2184 <template name="keyboardtemplate"/>
2185
2186 <action>
2187 <touch key="home"/>
2188 <action function="page">main</action>
2189 </action>
2190
2191 <action>
2192 <touch key="back"/>
2193 <action function="page">restore</action>
2194 </action>
2195 </page>
2196
2197 <page name="try_restore_decrypt">
2198 <template name="page"/>
2199
2200 <text style="text_l">
2201 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002202 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002203 </text>
2204
2205 <text style="text_m">
2206 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002208 </text>
2209
2210 <template name="console"/>
2211
2212 <template name="progress_bar"/>
2213
2214 <action>
2215 <action function="decrypt_backup"/>
2216 </action>
2217
2218 <action>
2219 <conditions>
2220 <condition var1="tw_operation_state" var2="1"/>
2221 <condition var1="tw_operation_status" op="!=" var2="0"/>
2222 </conditions>
2223 <actions>
2224 <action function="set">tw_password_fail=1</action>
2225 <action function="page">restore_decrypt</action>
2226 </actions>
2227 </action>
2228
2229 <action>
2230 <conditions>
2231 <condition var1="tw_operation_state" var2="1"/>
2232 <condition var1="tw_operation_status" op="=" var2="0"/>
2233 </conditions>
2234 <actions>
2235 <action function="set">tw_page_done=1</action>
2236 <action function="page">restore_select</action>
2237 </actions>
2238 </action>
2239 </page>
2240
2241 <page name="restore_select">
2242 <template name="page"/>
2243
2244 <text style="text_l">
2245 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002246 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002247 </text>
2248
2249 <text style="text_m">
2250 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002251 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002252 </text>
2253
2254 <text style="text_m_accent">
2255 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002256 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002257 </text>
2258
2259 <text style="text_m">
2260 <placement x="%indent%" y="%row3_y%"/>
2261 <text>%tw_restore_name%</text>
2262 </text>
2263
2264 <fill color="%fileselector_linecolor%">
2265 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2266 </fill>
2267
2268 <button>
2269 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2270 <fill color="%transparent%"/>
2271 <actions>
2272 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2273 <action function="set">tw_fileexists=0</action>
2274 <action function="page">renamebackup</action>
2275 </actions>
2276 </button>
2277
2278 <partitionlist>
2279 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2282 <listtype name="restore"/>
2283 </partitionlist>
2284
2285 <checkbox>
2286 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002287 <text>{@retore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002288 <data variable="tw_skip_md5_check"/>
2289 </checkbox>
2290
2291 <button style="main_button_half_height">
2292 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002293 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <actions>
2295 <action function="set">tw_back=restore</action>
2296 <action function="set">tw_action=cmd</action>
2297 <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 -05002298 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002299 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2301 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2302 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2303 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002304 <action function="page">confirm_action</action>
2305 </actions>
2306 </button>
2307
2308 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002309 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002310 <action function="page">restore_run</action>
2311 </slider>
2312
2313 <action>
2314 <touch key="home"/>
2315 <action function="page">main</action>
2316 </action>
2317
2318 <action>
2319 <touch key="back"/>
2320 <action function="page">restore</action>
2321 </action>
2322 </page>
2323
2324 <page name="renamebackup">
2325 <template name="page"/>
2326
2327 <text style="text_l">
2328 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002330 </text>
2331
2332 <text style="text_m">
2333 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002334 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </text>
2336
2337 <text style="text_m_accent">
2338 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002340 </text>
2341
2342 <input>
2343 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2344 <text>%tw_backup_rename%</text>
2345 <data name="tw_backup_rename"/>
2346 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2347 <actions>
2348 <action function="set">tw_back=restore</action>
2349 <action function="set">tw_action=cmd</action>
2350 <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 -05002351 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2352 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2353 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2354 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2355 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002356 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2357 <action function="set">tw_existpage=renamebackup</action>
2358 <action function="set">tw_notexistpage=confirm_action</action>
2359 <action function="page">filecheck</action>
2360 </actions>
2361 </input>
2362
2363 <fill color="%accent_color%">
2364 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2365 </fill>
2366
2367 <fill color="%text_fail_color%">
2368 <condition var1="tw_fileexists" var2="1"/>
2369 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2370 </fill>
2371
2372 <text style="text_m_fail">
2373 <condition var1="tw_fileexists" var2="1"/>
2374 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002375 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002376 </text>
2377
2378 <button style="main_button_half_height">
2379 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002380 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002381 <action function="page">restore_select</action>
2382 </button>
2383
2384 <template name="keyboardtemplate"/>
2385
2386 <action>
2387 <touch key="home"/>
2388 <action function="page">main</action>
2389 </action>
2390
2391 <action>
2392 <touch key="back"/>
2393 <action function="page">restore_select</action>
2394 </action>
2395 </page>
2396
2397 <page name="restore_run">
2398 <template name="page"/>
2399
2400 <text style="text_l">
2401 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002402 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002403 </text>
2404
2405 <text style="text_m">
2406 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2407 <text>%tw_operation% %tw_partition%</text>
2408 </text>
2409
2410 <template name="console"/>
2411
2412 <template name="progress_bar"/>
2413
2414 <text style="text_m_accent">
2415 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002416 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002417 </text>
2418
2419 <text style="text_m">
2420 <placement x="%indent%" y="%row20_y%"/>
2421 <text>%tw_size_progress%</text>
2422 </text>
2423
2424 <action>
2425 <condition var1="tw_operation_state" var2="1"/>
2426 <actions>
2427 <action function="set">tw_back=restore_select</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002428 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002429 <action function="set">tw_show_reboot=1</action>
2430 <action function="page">action_complete</action>
2431 </actions>
2432 </action>
2433
2434 <action>
2435 <action function="nandroid">restore</action>
2436 </action>
2437 </page>
2438
2439 <page name="mount">
2440 <template name="page"/>
2441
2442 <text style="text_l">
2443 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 </text>
2446
2447 <text style="text_m">
2448 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 </text>
2451
2452 <partitionlist>
2453 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 <listtype name="mount"/>
2456 </partitionlist>
2457
2458 <button style="checkbox">
2459 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2460 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 <image resource="checkbox_false"/>
2463 <action function="mountsystemtoggle">1</action>
2464 </button>
2465
2466 <button style="checkbox">
2467 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2468 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002469 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002470 <image resource="checkbox_true"/>
2471 <actions>
2472 <action function="set">tw_lifetime_writes=2</action>
2473 <action function="page">system_readonly_check</action>
2474 </actions>
2475 </button>
2476
2477 <button style="main_button_half_height">
2478 <condition var1="tw_has_usb_storage" var2="1"/>
2479 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="page">usb_mount</action>
2482 </button>
2483
2484 <button style="main_button_half_height">
2485 <conditions>
2486 <condition var1="tw_is_encrypted" var2="1"/>
2487 <condition var1="tw_is_decrypted" var2="0"/>
2488 </conditions>
2489 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002490 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002491 <action function="page">decrypt</action>
2492 </button>
2493
2494 <button style="main_button_half_height">
2495 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002496 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002497 <actions>
2498 <action function="set">tw_back=mount</action>
2499 <action function="overlay">select_storage</action>
2500 </actions>
2501 </button>
2502
2503 <button style="main_button_half_height">
2504 <conditions>
2505 <condition var1="tw_has_mtp" var2="1"/>
2506 <condition var1="tw_mtp_enabled" var2="0"/>
2507 </conditions>
2508 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002509 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002510 <action function="startmtp"/>
2511 </button>
2512
2513 <button style="main_button_half_height">
2514 <conditions>
2515 <condition var1="tw_has_mtp" var2="1"/>
2516 <condition var1="tw_mtp_enabled" var2="1"/>
2517 </conditions>
2518 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002519 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002520 <action function="stopmtp"/>
2521 </button>
2522
2523 <action>
2524 <touch key="home"/>
2525 <action function="page">main</action>
2526 </action>
2527
2528 <action>
2529 <touch key="back"/>
2530 <action function="page">main</action>
2531 </action>
2532 </page>
2533
2534 <page name="usb_mount">
2535 <template name="page"/>
2536
2537 <text style="text_l">
2538 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <text style="text_m">
2543 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 </text>
2546
2547 <text style="text_m_accent">
2548 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 </text>
2551
2552 <text style="text_m">
2553 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 </text>
2556
2557 <text style="text_m">
2558 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002559 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002560 </text>
2561
2562 <button style="main_button_half_height">
2563 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002564 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002565 <action function="page">usb_umount</action>
2566 </button>
2567
2568 <action>
2569 <action function="mount">usb</action>
2570 <action function="set">tw_busy=1</action>
2571 </action>
2572 </page>
2573
2574 <page name="usb_umount">
2575 <action>
2576 <action function="unmount">usb</action>
2577 </action>
2578
2579 <action>
2580 <action function="page">mount</action>
2581 <action function="set">tw_busy=0</action>
2582 </action>
2583 </page>
2584
2585 <page name="system_readonly_check">
2586 <action>
2587 <action function="checkpartitionlifetimewrites">/system</action>
2588 </action>
2589
2590 <action>
2591 <condition var1="tw_lifetime_writes" var2="1"/>
2592 <actions>
2593 <action function="mountsystemtoggle">0</action>
2594 <action function="page">mount</action>
2595 </actions>
2596 </action>
2597
2598 <action>
2599 <condition var1="tw_lifetime_writes" var2="0"/>
2600 <actions>
2601 <action function="set">tw_back=mount</action>
2602 <action function="page">system_readonly</action>
2603 </actions>
2604 </action>
2605 </page>
2606
2607 <page name="reboot">
2608 <template name="page"/>
2609
2610 <text style="text_l">
2611 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002612 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002613 </text>
2614
2615 <button style="main_button">
2616 <condition var1="tw_reboot_system" var2="1"/>
2617 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <actions>
2620 <action function="set">tw_back=reboot</action>
2621 <action function="set">tw_action=reboot</action>
2622 <action function="set">tw_action_param=system</action>
2623 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2625 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2626 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2627 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2628 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002629 <action function="page">rebootcheck</action>
2630 </actions>
2631 </button>
2632
2633 <button style="main_button">
2634 <condition var1="tw_reboot_poweroff" var2="1"/>
2635 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <actions>
2638 <action function="set">tw_back=reboot</action>
2639 <action function="set">tw_action=reboot</action>
2640 <action function="set">tw_action_param=poweroff</action>
2641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2643 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2644 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2645 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2646 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="page">rebootcheck</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button">
2652 <condition var1="tw_reboot_recovery" var2="1"/>
2653 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <actions>
2656 <action function="set">tw_back=reboot</action>
2657 <action function="set">tw_action=reboot</action>
2658 <action function="set">tw_action_param=recovery</action>
2659 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2661 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2662 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2663 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2664 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="page">rebootcheck</action>
2666 </actions>
2667 </button>
2668
2669 <button style="main_button">
2670 <condition var1="tw_reboot_bootloader" var2="1"/>
2671 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 <actions>
2674 <action function="set">tw_back=reboot</action>
2675 <action function="set">tw_action=reboot</action>
2676 <action function="set">tw_action_param=bootloader</action>
2677 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2679 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2680 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2681 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2682 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002683 <action function="page">rebootcheck</action>
2684 </actions>
2685 </button>
2686
2687 <button style="main_button">
2688 <condition var1="tw_download_mode" var2="1"/>
2689 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002691 <actions>
2692 <action function="set">tw_back=reboot</action>
2693 <action function="set">tw_action=reboot</action>
2694 <action function="set">tw_action_param=download</action>
2695 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2697 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2698 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2699 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2700 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002701 <action function="page">rebootcheck</action>
2702 </actions>
2703 </button>
2704
2705 <action>
2706 <touch key="home"/>
2707 <action function="page">main</action>
2708 </action>
2709
2710 <action>
2711 <touch key="back"/>
2712 <action function="page">main</action>
2713 </action>
2714 </page>
2715
2716 <page name="system_readonly">
2717 <template name="page"/>
2718
2719 <text style="text_l">
2720 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002721 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002722 </text>
2723
2724 <text style="text_m_accent">
2725 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002727 </text>
2728
2729 <text style="text_m">
2730 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002731 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002732 </text>
2733
2734 <text style="text_m">
2735 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002736 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002737 </text>
2738
2739 <text style="text_m">
2740 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002741 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 </text>
2743
2744 <text style="text_m">
2745 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002746 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002747 </text>
2748
2749 <text style="text_m_fail">
2750 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002752 </text>
2753
2754 <text style="text_m_fail">
2755 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002756 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002757 </text>
2758
2759 <checkbox>
2760 <condition var1="tw_is_encrypted" var2="0"/>
2761 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 <data variable="tw_never_show_system_ro_page"/>
2764 </checkbox>
2765
2766 <button style="main_button_half_height">
2767 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <actions>
2770 <action function="mountsystemtoggle">1</action>
2771 <action function="set">tw_page_done=1</action>
2772 <action function="page">%tw_back%</action>
2773 </actions>
2774 </button>
2775
2776 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002777 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002778 <actions>
2779 <action function="mountsystemtoggle">0</action>
2780 <action function="set">tw_page_done=1</action>
2781 <action function="page">%tw_back%</action>
2782 </actions>
2783 </slider>
2784 </page>
2785
2786 <page name="settings">
2787 <template name="page"/>
2788
2789 <text style="text_l">
2790 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002792 </text>
2793
2794 <text style="text_m">
2795 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 </text>
2798
2799 <template name="tabs_settings"/>
2800
2801 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002803 </fill>
2804
2805 <listbox style="scrolllist">
2806 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2807 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002809 <data variable="tw_signed_zip_verify"/>
2810 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002812 <data variable="tw_rm_rf"/>
2813 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002815 <data variable="tw_skip_md5_generate"/>
2816 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <listitem name="{@retore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002818 <data variable="tw_skip_md5_check"/>
2819 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002821 <data variable="tw_military_time"/>
2822 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002824 <data variable="tw_samsung_navbar"/>
2825 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002827 <data variable="tw_simulate_actions"/>
2828 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002829 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002830 <condition var1="tw_simulate_actions" var2="1"/>
2831 <data variable="tw_simulate_fail"/>
2832 </listitem>
2833 </listbox>
2834
2835 <button style="main_button_half_height">
2836 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <action function="restoredefaultsettings"/>
2839 </button>
2840
2841 <action>
2842 <touch key="home"/>
2843 <action function="page">main</action>
2844 </action>
2845
2846 <action>
2847 <touch key="back"/>
2848 <action function="page">main</action>
2849 </action>
2850 </page>
2851
2852 <page name="settings_timezone">
2853 <template name="page"/>
2854
2855 <text style="text_l">
2856 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002857 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002858 </text>
2859
2860 <text style="text_m">
2861 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002862 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002863 </text>
2864
2865 <template name="tabs_settings"/>
2866
2867 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </fill>
2870
2871 <listbox>
2872 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002873 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002874 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002875 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2876 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2877 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2878 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2879 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2880 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2881 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2882 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2883 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2884 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2885 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2886 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2887 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2888 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2889 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2890 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2891 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2892 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2893 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2894 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2895 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2896 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2897 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2898 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002899 </listbox>
2900
2901 <text style="text_m_accent">
2902 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002904 </text>
2905
2906 <button style="button_quarter_width">
2907 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002908 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002909 <action function="set">tw_time_zone_guioffset=0</action>
2910 </button>
2911
2912 <button style="button_quarter_width">
2913 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 <action function="set">tw_time_zone_guioffset=15</action>
2916 </button>
2917
2918 <button style="button_quarter_width">
2919 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="set">tw_time_zone_guioffset=30</action>
2922 </button>
2923
2924 <button style="button_quarter_width">
2925 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 <action function="set">tw_time_zone_guioffset=45</action>
2928 </button>
2929
2930 <checkbox>
2931 <placement x="%indent%" y="%row18a_y%"/>
2932 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002933 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002934 <data variable="tw_time_zone_guidst"/>
2935 <image checked="checkbox_true" unchecked="checkbox_false"/>
2936 </checkbox>
2937
2938 <text color="%text_color%">
2939 <font resource="font_m"/>
2940 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 </text>
2943
2944 <button>
2945 <highlight color="%highlight_color%"/>
2946 <placement x="%center_x%" y="%row21a_y%"/>
2947 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 <image resource="main_button_half_height"/>
2950 <action function="setguitimezone"/>
2951 </button>
2952
2953 <action>
2954 <touch key="home"/>
2955 <action function="page">main</action>
2956 </action>
2957
2958 <action>
2959 <touch key="back"/>
2960 <action function="page">main</action>
2961 </action>
2962 </page>
2963
2964 <page name="settings_screen">
2965 <template name="page"/>
2966
2967 <text style="text_l">
2968 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002969 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002970 </text>
2971
2972 <text style="text_m">
2973 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </text>
2976
2977 <template name="tabs_settings"/>
2978
2979 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </fill>
2982
2983 <button>
2984 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
2985 <font resource="font_m" color="%text_color%"/>
2986 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2987 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <image resource="checkbox_false"/>
2990 <action function="set">tw_screen_timeout_secs=60</action>
2991 </button>
2992
2993 <button>
2994 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
2995 <font resource="font_m" color="%text_color%"/>
2996 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2997 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002998 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002999 <image resource="checkbox_true"/>
3000 <action function="set">tw_screen_timeout_secs=0</action>
3001 </button>
3002
3003 <slidervalue>
3004 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3005 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3006 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3009 </slidervalue>
3010
3011 <slidervalue>
3012 <condition var1="tw_has_brightnesss_file" var2="1"/>
3013 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 <data variable="tw_brightness_pct" min="10" max="100"/>
3016 <actions>
3017 <action function="set">tw_brightness=%tw_brightness_max%</action>
3018 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3019 <action function="compute">tw_brightness/100</action>
3020 <action function="setbrightness">%tw_brightness%</action>
3021 </actions>
3022 </slidervalue>
3023
3024 <action>
3025 <touch key="home"/>
3026 <action function="page">main</action>
3027 </action>
3028
3029 <action>
3030 <touch key="back"/>
3031 <action function="page">main</action>
3032 </action>
3033 </page>
3034
3035 <page name="settings_vibration">
3036 <template name="page"/>
3037
3038 <text style="text_l">
3039 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 </text>
3042
3043 <text style="text_m">
3044 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003045 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003046 </text>
3047
3048 <template name="tabs_settings"/>
3049
3050 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </fill>
3053
3054 <slidervalue>
3055 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003056 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003057 <data variable="tw_button_vibrate" min="0" max="300"/>
3058 </slidervalue>
3059
3060 <slidervalue>
3061 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3064 </slidervalue>
3065
3066 <slidervalue>
3067 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_action_vibrate" min="0" max="500"/>
3070 </slidervalue>
3071
3072 <action>
3073 <touch key="home"/>
3074 <action function="page">main</action>
3075 </action>
3076
3077 <action>
3078 <touch key="back"/>
3079 <action function="page">main</action>
3080 </action>
3081 </page>
3082
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <page name="settings_language">
3084 <template name="page"/>
3085
3086 <text style="text_l">
3087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3088 <text>{@settings_hdr=Settings}</text>
3089 </text>
3090
3091 <text style="text_m">
3092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3093 <text>{@language_hdr=Language - %tw_language_display%}</text>
3094 </text>
3095
3096 <template name="tabs_settings"/>
3097
3098 <fill color="%text_color%">
3099 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3100 </fill>
3101
3102 <listbox>
3103 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3104 <text>{@select_language=Select Language:}</text>
3105 <icon selected="radio_true" unselected="radio_false" />
3106 <data name="tw_language" />
3107 </listbox>
3108
3109 <button style="main_button_half_height">
3110 <placement x="%center_x%" y="%row21a_y%"/>
3111 <text>{@set_language_btn=Set Language}</text>
3112 <action function="setlanguage"></action>
3113 </button>
3114
3115 <action>
3116 <touch key="home" />
3117 <action function="page">main</action>
3118 </action>
3119
3120 <action>
3121 <touch key="back" />
3122 <action function="page">settings</action>
3123 </action>
3124 </page>
3125
z31s1g28f0a922015-11-07 18:50:22 +01003126 <page name="advanced">
3127 <template name="page"/>
3128
3129 <text style="text_l">
3130 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 </text>
3133
3134 <button style="main_button">
3135 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003136 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003137 <actions>
3138 <action function="set">tw_back=advanced</action>
3139 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3141 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3142 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3143 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003144 <action function="page">confirm_action</action>
3145 </actions>
3146 </button>
3147
3148 <button style="main_button">
3149 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 <action function="page">fixperms</action>
3152 </button>
3153
3154 <button style="main_button">
3155 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3156 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@part_sd_btn=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 <action function="page">partsdcard</action>
3159 </button>
3160
3161 <button style="main_button">
3162 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="page">filemanagerlist</action>
3165 </button>
3166
3167 <button style="main_button">
3168 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@terminal_btn=Terminal}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 <action function="page">terminalfolder</action>
3171 </button>
3172
3173 <button style="main_button">
3174 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="reload"/>
3177 </button>
3178
3179 <button style="main_button">
3180 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <action function="page">sideload</action>
3183 </button>
3184
3185 <button style="main_button">
3186 <condition var1="tw_show_dumlock" var2="1"/>
3187 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="page">htcdumlock</action>
3190 </button>
3191
3192 <button style="main_button">
3193 <condition var1="tw_has_injecttwrp" var2="1"/>
3194 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <actions>
3197 <action function="set">tw_back=advanced</action>
3198 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3200 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3201 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3202 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="page">confirm_action</action>
3204 </actions>
3205 </button>
3206
3207 <action>
3208 <touch key="home"/>
3209 <action function="page">main</action>
3210 </action>
3211
3212 <action>
3213 <touch key="back"/>
3214 <action function="page">main</action>
3215 </action>
3216 </page>
3217
3218 <page name="partsdcard">
3219 <template name="page"/>
3220
3221 <text style="text_l">
3222 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003224 </text>
3225
3226 <text style="text_m">
3227 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003229 </text>
3230
3231 <text style="text_m_fail">
3232 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003234 </text>
3235
3236 <text style="text_m_fail">
3237 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 </text>
3240
3241 <text style="text_m_accent">
3242 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003244 </text>
3245
3246 <text style="text_m">
3247 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3248 <text>%tw_sdext_size%</text>
3249 </text>
3250
3251 <button style="button_quarter_width">
3252 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003253 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003254 <action function="addsubtract">tw_sdext_size-128</action>
3255 </button>
3256
3257 <button style="button_quarter_width">
3258 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 <action function="addsubtract">tw_sdext_size+128</action>
3261 </button>
3262
3263 <text style="text_m_accent">
3264 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </text>
3267
3268 <text style="text_m">
3269 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3270 <text>%tw_swap_size%</text>
3271 </text>
3272
3273 <button style="button_quarter_width">
3274 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 <action function="addsubtract">tw_swap_size-32</action>
3277 </button>
3278
3279 <button style="button_quarter_width">
3280 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <action function="addsubtract">tw_swap_size+32</action>
3283 </button>
3284
3285 <text style="text_m_accent">
3286 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </text>
3289
3290 <text style="text_m">
3291 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3292 <text>%tw_sdpart_file_system%</text>
3293 </text>
3294
3295 <button style="button_quarter_width">
3296 <placement x="%indent%" y="%row14_y%"/>
3297 <text>EXT3</text>
3298 <action function="set">tw_sdpart_file_system=ext3</action>
3299 </button>
3300
3301 <button style="button_quarter_width">
3302 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3303 <text>EXT4</text>
3304 <action function="set">tw_sdpart_file_system=ext4</action>
3305 </button>
3306
3307 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 <action function="page">partsdcardaction</action>
3310 <actions>
3311 <action function="set">tw_back=partsdcard</action>
3312 <action function="set">tw_action=partitionsd</action>
3313 <action function="set">tw_has_action2=1</action>
3314 <action function="set">tw_action2=set</action>
3315 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3317 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3318 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003319 <action function="page">action_page</action>
3320 </actions>
3321 </slider>
3322
3323 <action>
3324 <touch key="home"/>
3325 <action function="page">main</action>
3326 </action>
3327
3328 <action>
3329 <touch key="back"/>
3330 <action function="page">advanced</action>
3331 </action>
3332 </page>
3333
3334 <page name="htcdumlock">
3335 <template name="page"/>
3336
3337 <text style="text_l">
3338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <text style="text_m">
3343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003345 </text>
3346
3347 <button style="main_button_half_height_full_width">
3348 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <actions>
3351 <action function="set">tw_back=htcdumlock</action>
3352 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3354 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3355 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3356 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003357 <action function="page">confirm_action</action>
3358 </actions>
3359 </button>
3360
3361 <button style="main_button_half_height_full_width">
3362 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003364 <actions>
3365 <action function="set">tw_back=htcdumlock</action>
3366 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3368 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3369 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3370 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003371 <action function="page">confirm_action</action>
3372 </actions>
3373 </button>
3374
3375 <button style="main_button_half_height_full_width">
3376 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 <actions>
3379 <action function="set">tw_back=htcdumlock</action>
3380 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3382 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3383 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3384 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <action function="page">confirm_action</action>
3386 </actions>
3387 </button>
3388
3389 <action>
3390 <touch key="home"/>
3391 <action function="page">main</action>
3392 </action>
3393
3394 <action>
3395 <touch key="back"/>
3396 <action function="page">advanced</action>
3397 </action>
3398 </page>
3399
3400 <page name="lock">
3401 <background color="%semi_transparent%"/>
3402
3403 <image>
3404 <image resource="unlock_icon"/>
3405 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3406 </image>
3407
3408 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 <action function="overlay"/>
3411 </slider>
3412 </page>
3413
3414 <page name="filemanagerlist">
3415 <template name="page"/>
3416
3417 <text style="text_l">
3418 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003420 </text>
3421
3422 <text style="text_m">
3423 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003425 </text>
3426
3427 <template name="sort_options"/>
3428
3429 <fileselector>
3430 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3431 <text>%tw_file_location1%</text>
3432 <filter folders="1" files="1"/>
3433 <path name="tw_file_location1" default="/"/>
3434 <data name="tw_filename1"/>
3435 <selection name="tw_selection1"/>
3436 </fileselector>
3437
3438 <button style="fab">
3439 <image resource="fab_selectfolder"/>
3440 <actions>
3441 <action function="set">tw_filename1=tw_file_location1</action>
3442 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 <action function="page">filemanageroptions</action>
3445 </actions>
3446 </button>
3447
3448 <action>
3449 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003451 <action function="set">tw_fm_isfolder=0</action>
3452 </actions>
3453 </action>
3454
3455 <action>
3456 <touch key="home"/>
3457 <action function="page">main</action>
3458 </action>
3459
3460 <action>
3461 <touch key="back"/>
3462 <action function="page">advanced</action>
3463 </action>
3464
3465 <action>
3466 <condition var1="tw_filename1" op="modified"/>
3467 <action function="page">filemanageroptions</action>
3468 </action>
3469 </page>
3470
3471 <page name="filemanageroptions">
3472 <template name="page"/>
3473
3474 <text style="text_l">
3475 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </text>
3478
3479 <text style="text_m">
3480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 </text>
3483
3484 <text style="text_m_accent">
3485 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 </text>
3488
3489 <text style="text_m">
3490 <placement x="%indent%" y="%row3_y%"/>
3491 <text>%tw_filename1%</text>
3492 </text>
3493
3494 <button style="main_button_half_height">
3495 <condition var1="tw_fm_isfolder" var2="0"/>
3496 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <actions>
3499 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <action function="page">choosedestinationfolder</action>
3502 </actions>
3503 </button>
3504
3505 <button style="main_button_half_height">
3506 <condition var1="tw_fm_isfolder" var2="1"/>
3507 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <actions>
3510 <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 -05003511 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003512 <action function="page">choosedestinationfolder</action>
3513 </actions>
3514 </button>
3515
3516 <button style="main_button_half_height">
3517 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <actions>
3520 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003522 <action function="page">choosedestinationfolder</action>
3523 </actions>
3524 </button>
3525
3526 <button style="main_button_half_height">
3527 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <actions>
3530 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003532 <action function="set">tw_fm_text2=</action>
3533 <action function="set">tw_fm_text3=</action>
3534 <action function="set">tw_include_text3=0</action>
3535 <action function="set">tw_back=filemanageroptions</action>
3536 <action function="page">filemanagerconfirm</action>
3537 </actions>
3538 </button>
3539
3540 <button style="main_button_half_height">
3541 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <actions>
3544 <action function="set">tw_filemanager_rename=0000</action>
3545 <action function="set">tw_fm_text2=</action>
3546 <action function="set">tw_fm_text3=</action>
3547 <action function="set">tw_include_text3=0</action>
3548 <action function="set">tw_back=filemanageroptions</action>
3549 <action function="page">filemanagerchmod</action>
3550 </actions>
3551 </button>
3552
3553 <button style="main_button_half_height">
3554 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 <actions>
3557 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <action function="set">tw_fm_text2=</action>
3560 <action function="set">tw_fm_text3=</action>
3561 <action function="set">tw_include_text3=0</action>
3562 <action function="set">tw_back=filemanageroptions</action>
3563 <action function="page">filemanagerconfirm</action>
3564 </actions>
3565 </button>
3566
3567 <button style="main_button_half_height">
3568 <condition var1="tw_fm_isfolder" var2="0"/>
3569 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003570 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003571 <actions>
3572 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003574 <action function="set">tw_filemanager_command=mv</action>
3575 <action function="page">filemanagerrenamefile</action>
3576 </actions>
3577 </button>
3578
3579 <button style="main_button_half_height">
3580 <condition var1="tw_fm_isfolder" var2="1"/>
3581 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 <actions>
3584 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3587 <action function="page">filemanagerrenamefolder</action>
3588 </actions>
3589 </button>
3590
3591 <action>
3592 <touch key="home"/>
3593 <action function="page">main</action>
3594 </action>
3595
3596 <action>
3597 <touch key="back"/>
3598 <action function="page">filemanagerlist</action>
3599 </action>
3600 </page>
3601
3602 <page name="choosedestinationfolder">
3603 <template name="page"/>
3604
3605 <text style="text_l">
3606 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 </text>
3609
3610 <text style="text_m">
3611 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003612 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003613 </text>
3614
3615 <template name="sort_options"/>
3616
3617 <fileselector>
3618 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3619 <text>%tw_file_location2%</text>
3620 <filter folders="1" files="0"/>
3621 <path name="tw_file_location2" default="/"/>
3622 <data name="tw_filename2"/>
3623 <selection name="tw_selection2"/>
3624 </fileselector>
3625
3626 <button style="fab">
3627 <image resource="fab_selectfolder"/>
3628 <actions>
3629 <action function="set">tw_fm_text2=to</action>
3630 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3631 <action function="set">tw_include_text3=1</action>
3632 <action function="set">tw_back=filemanageroptions</action>
3633 <action function="page">filemanagerconfirm</action>
3634 </actions>
3635 </button>
3636
3637 <action>
3638 <touch key="home"/>
3639 <action function="page">main</action>
3640 </action>
3641
3642 <action>
3643 <touch key="back"/>
3644 <action function="page">filemanageroptions</action>
3645 </action>
3646 </page>
3647
3648 <page name="filemanagerrenamefile">
3649 <template name="page"/>
3650
3651 <text style="text_l">
3652 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 </text>
3655
3656 <text style="text_m">
3657 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003658 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003659 </text>
3660
3661 <text style="text_m_accent">
3662 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003664 </text>
3665
3666 <input>
3667 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3668 <text>%tw_filemanager_rename%</text>
3669 <data name="tw_filemanager_rename"/>
3670 <restrict minlen="1" maxlen="128"/>
3671 <actions>
3672 <action function="set">tw_fm_text2=to</action>
3673 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3674 <action function="set">tw_include_text3=1</action>
3675 <action function="set">tw_back=filemanageroptions</action>
3676 <action function="page">filemanagerconfirm</action>
3677 </actions>
3678 </input>
3679
3680 <fill color="%accent_color%">
3681 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3682 </fill>
3683
3684 <button style="main_button_half_height">
3685 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003686 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003687 <action function="page">filemanageroptions</action>
3688 </button>
3689
3690 <template name="keyboardtemplate"/>
3691
3692 <action>
3693 <touch key="home"/>
3694 <action function="page">main</action>
3695 </action>
3696
3697 <action>
3698 <touch key="back"/>
3699 <action function="page">filemanageroptions</action>
3700 </action>
3701 </page>
3702
3703 <page name="filemanagerrenamefolder">
3704 <template name="page"/>
3705
3706 <text style="text_l">
3707 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </text>
3710
3711 <text style="text_m">
3712 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 </text>
3715
3716 <text style="text_m_accent">
3717 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </text>
3720
3721 <input>
3722 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3723 <text>%tw_filemanager_rename%</text>
3724 <data name="tw_filemanager_rename"/>
3725 <restrict minlen="1" maxlen="128"/>
3726 <actions>
3727 <action function="set">tw_fm_text2=to</action>
3728 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3729 <action function="set">tw_include_text3=1</action>
3730 <action function="set">tw_back=filemanageroptions</action>
3731 <action function="page">filemanagerconfirm</action>
3732 </actions>
3733 </input>
3734
3735 <fill color="%accent_color%">
3736 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3737 </fill>
3738
3739 <button style="main_button_half_height">
3740 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003742 <action function="page">filemanageroptions</action>
3743 </button>
3744
3745 <template name="keyboardtemplate"/>
3746
3747 <action>
3748 <touch key="home"/>
3749 <action function="page">main</action>
3750 </action>
3751
3752 <action>
3753 <touch key="back"/>
3754 <action function="page">filemanageroptions</action>
3755 </action>
3756 </page>
3757
3758 <page name="filemanagerchmod">
3759 <template name="page"/>
3760
3761 <text style="text_l">
3762 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003763 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003764 </text>
3765
3766 <text style="text_m">
3767 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </text>
3770
3771 <text style="text_m_accent">
3772 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 </text>
3775
3776 <input>
3777 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3778 <text>%tw_filemanager_rename%</text>
3779 <data name="tw_filemanager_rename"/>
3780 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3781 <actions>
3782 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3783 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3784 <action function="set">tw_back=filemanageroptions</action>
3785 <action function="page">filemanagerconfirm</action>
3786 </actions>
3787 </input>
3788
3789 <fill color="%accent_color%">
3790 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3791 </fill>
3792
3793 <button style="main_button_half_height">
3794 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003795 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003796 <action function="page">filemanageroptions</action>
3797 </button>
3798
3799 <template name="keyboardtemplate"/>
3800
3801 <action>
3802 <touch key="home"/>
3803 <action function="page">main</action>
3804 </action>
3805
3806 <action>
3807 <touch key="back"/>
3808 <action function="page">filemanageroptions</action>
3809 </action>
3810 </page>
3811
3812 <page name="filemanagerconfirm">
3813 <template name="page"/>
3814
3815 <text style="text_l">
3816 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003818 </text>
3819
3820 <text style="text_m">
3821 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003823 </text>
3824
3825 <text style="text_m_accent">
3826 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3827 <text>%tw_fm_text1%</text>
3828 </text>
3829
3830 <text style="text_m">
3831 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3832 <text>%tw_filename1%</text>
3833 </text>
3834
3835 <text style="text_m_accent">
3836 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3837 <text>%tw_fm_text2%</text>
3838 </text>
3839
3840 <text style="text_m">
3841 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3842 <text>%tw_fm_text3%</text>
3843 </text>
3844
3845 <text style="text_m">
3846 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003847 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003848 </text>
3849
3850 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 <action function="page">filemanageraction</action>
3853 </slider>
3854
3855 <action>
3856 <touch key="back"/>
3857 <action function="page">%tw_back%</action>
3858 </action>
3859
3860 <action>
3861 <touch key="home"/>
3862 <action function="page">main</action>
3863 </action>
3864 </page>
3865
3866 <page name="filemanageraction">
3867 <template name="page"/>
3868
3869 <text style="text_l">
3870 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 </text>
3873
3874 <text style="text_m">
3875 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3876 <text>%tw_fm_text1%</text>
3877 </text>
3878
3879 <template name="console"/>
3880
3881 <template name="progress_bar"/>
3882
3883 <action>
3884 <conditions>
3885 <condition var1="tw_operation_state" var2="1"/>
3886 <condition var1="tw_operation_status" var2="0"/>
3887 </conditions>
3888 <actions>
3889 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <action function="page">action_complete</action>
3892 </actions>
3893 </action>
3894
3895 <action>
3896 <conditions>
3897 <condition var1="tw_operation_state" var2="1"/>
3898 <condition var1="tw_operation_status" op="!=" var2="0"/>
3899 </conditions>
3900 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003902 <action function="page">action_complete</action>
3903 </actions>
3904 </action>
3905
3906 <action>
3907 <condition var1="tw_include_text3" var2="0"/>
3908 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3909 </action>
3910
3911 <action>
3912 <condition var1="tw_include_text3" var2="1"/>
3913 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3914 </action>
3915 </page>
3916
3917 <page name="decrypt">
3918 <template name="page"/>
3919
3920 <action>
3921 <condition var1="tw_crypto_pwtype" var2="2"/>
3922 <action function="page">decrypt_pattern</action>
3923 </action>
3924
3925 <text style="text_l">
3926 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 </text>
3934
3935 <text style="text_m_accent">
3936 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <input>
3941 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3942 <text>%tw_crypto_display%</text>
3943 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3944 <restrict minlen="1" maxlen="254"/>
3945 <action function="page">trydecrypt</action>
3946 </input>
3947
3948 <fill color="%accent_color%">
3949 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
3950 </fill>
3951
3952 <fill color="%text_fail_color%">
3953 <condition var1="tw_password_fail" var2="1"/>
3954 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
3955 </fill>
3956
3957 <text style="text_m_fail">
3958 <condition var1="tw_password_fail" var2="1"/>
3959 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003960 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003961 </text>
3962
3963 <button style="main_button_half_height">
3964 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <actions>
3967 <action function="set">tw_page_done=1</action>
3968 <action function="page">main</action>
3969 </actions>
3970 </button>
3971
3972 <template name="keyboardtemplate"/>
3973 </page>
3974
3975 <page name="decrypt_pattern">
3976 <template name="page"/>
3977
3978 <text style="text_l">
3979 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 </text>
3982
3983 <text style="text_m">
3984 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 </text>
3987
3988 <text style="text_m_accent">
3989 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
Aleksa Saraib25a1832015-12-31 17:36:00 +01003993 <text style="text_m_fail">
3994 <condition var1="tw_password_fail" var2="1"/>
3995 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3996 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
3997 </text>
3998
z31s1g28f0a922015-11-07 18:50:22 +01003999 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004000 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004001 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4002 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4003 <data name="tw_crypto_password"/>
4004 <action function="page">trydecrypt</action>
4005 </patternpassword>
4006
Aleksa Saraib25a1832015-12-31 17:36:00 +01004007 <button style="button_quarter_width">
4008 <placement x="%indent%" y="%row19a_y%"/>
4009 <text>3x3</text>
4010 <action function="set">tw_gui_pattern_grid_size=3</action>
4011 </button>
4012
4013 <button style="button_quarter_width">
4014 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4015 <text>4x4</text>
4016 <action function="set">tw_gui_pattern_grid_size=4</action>
4017 </button>
4018
4019 <button style="button_quarter_width">
4020 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4021 <text>5x5</text>
4022 <action function="set">tw_gui_pattern_grid_size=5</action>
4023 </button>
4024
4025 <button style="button_quarter_width">
4026 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4027 <text>6x6</text>
4028 <action function="set">tw_gui_pattern_grid_size=6</action>
4029 </button>
4030
z31s1g28f0a922015-11-07 18:50:22 +01004031 <button style="main_button_half_height">
4032 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 <actions>
4035 <action function="set">tw_page_done=1</action>
4036 <action function="page">main</action>
4037 </actions>
4038 </button>
4039 </page>
4040
4041 <page name="trydecrypt">
4042 <template name="page"/>
4043
4044 <text style="text_l">
4045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 </text>
4048
4049 <text style="text_m">
4050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004051 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004052 </text>
4053
4054 <template name="console"/>
4055
4056 <template name="progress_bar"/>
4057
4058 <action>
4059 <action function="decrypt"/>
4060 </action>
4061
4062 <action>
4063 <conditions>
4064 <condition var1="tw_operation_state" var2="1"/>
4065 <condition var1="tw_operation_status" op="!=" var2="0"/>
4066 </conditions>
4067 <actions>
4068 <action function="set">tw_password_fail=1</action>
4069 <action function="page">decrypt</action>
4070 </actions>
4071 </action>
4072
4073 <action>
4074 <conditions>
4075 <condition var1="tw_operation_state" var2="1"/>
4076 <condition var1="tw_operation_status" op="=" var2="0"/>
4077 </conditions>
4078 <actions>
4079 <action function="set">tw_page_done=1</action>
4080 <action function="page">main</action>
4081 </actions>
4082 </action>
4083 </page>
4084
4085 <page name="terminalfolder">
4086 <template name="page"/>
4087
4088 <text style="text_l">
4089 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@term_hdr=Terminal Command}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 </text>
4092
4093 <text style="text_m">
4094 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 <text>{@term_sel_folder_hdr=Browse to Starting Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004096 </text>
4097
4098 <template name="sort_options"/>
4099
4100 <fileselector>
4101 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4102 <text>%tw_terminal_location%</text>
4103 <filter folders="1" files="0"/>
4104 <path name="tw_terminal_location" default="/"/>
4105 <data name="tw_terminal"/>
4106 <selection name="tw_terminal_selection"/>
4107 </fileselector>
4108
4109 <button style="fab">
4110 <image resource="fab_selectfolder"/>
4111 <action function="page">terminalcommand</action>
4112 </button>
4113
4114 <action>
4115 <touch key="home"/>
4116 <action function="page">main</action>
4117 </action>
4118
4119 <action>
4120 <touch key="back"/>
4121 <action function="page">advanced</action>
4122 </action>
4123 </page>
4124
4125 <page name="terminalcommand">
4126 <template name="page"/>
4127
4128 <text style="text_l">
4129 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004130 <text>{term_hdr=Terminal Command}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004131 </text>
4132
4133 <text style="text_m">
4134 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4135 <text>%tw_terminal_location%</text>
4136 </text>
4137
4138 <template name="console_terminal"/>
4139
4140 <input>
4141 <placement x="%indent%" y="%row11a_y%" w="%content_width%" h="%input_height%"/>
4142 <text>%tw_terminal_command%</text>
4143 <data name="tw_terminal_command"/>
4144 <restrict minlen="1"/>
4145 <action function="terminalcommand">%tw_terminal_command%</action>
4146 </input>
4147
4148 <fill color="%accent_color%">
4149 <placement x="%indent%" y="row12a_y" w="%content_width%" h="input_line_width" placement="1"/>
4150 </fill>
4151
4152 <button>
4153 <condition var1="tw_terminal_state" var2="1"/>
4154 <highlight color="%highlight_color%"/>
4155 <placement x="%btn4_col4_x%" y="%row12a_y%"/>
4156 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157 <text>{@term_kill_btn=Kill}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004158 <image resource="tab_4"/>
4159 <action function="killterminal"/>
4160 </button>
4161
4162 <template name="keyboardtemplate"/>
4163
4164 <action>
4165 <touch key="home"/>
4166 <action function="page">main</action>
4167 </action>
4168
4169 <action>
4170 <touch key="back"/>
4171 <action function="page">terminalfolder</action>
4172 </action>
4173 </page>
4174
4175 <page name="sideload">
4176 <template name="page"/>
4177
4178 <text style="text_l">
4179 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004181 </text>
4182
4183 <text style="text_m">
4184 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004185 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004186 </text>
4187
4188 <checkbox>
4189 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004190 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004191 <data variable="tw_wipe_dalvik"/>
4192 </checkbox>
4193
4194 <checkbox>
4195 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004196 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004197 <data variable="tw_wipe_cache"/>
4198 </checkbox>
4199
4200 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004202 <action function="page">partsdcardaction</action>
4203 <actions>
4204 <action function="set">tw_back=advanced</action>
4205 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004206 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4207 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4208 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004209 <action function="set">tw_has_cancel=1</action>
4210 <action function="set">tw_show_reboot=1</action>
4211 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4212 <action function="page">action_page</action>
4213 </actions>
4214 </slider>
4215
4216 <action>
4217 <touch key="home"/>
4218 <action function="page">main</action>
4219 </action>
4220
4221 <action>
4222 <touch key="back"/>
4223 <action function="page">advanced</action>
4224 </action>
4225 </page>
4226
4227 <page name="fixperms">
4228 <template name="page"/>
4229
4230 <text style="text_l">
4231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m">
4236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004238 </text>
4239
4240 <text style="text_m_accent">
4241 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004242 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004243 </text>
4244
4245 <checkbox>
4246 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004247 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004248 <data variable="tw_fixperms_restorecon"/>
4249 </checkbox>
4250
4251 <text style="text_m_fail">
4252 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 </text>
4255
4256 <text style="text_m_fail">
4257 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 </text>
4260
4261 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004262 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004263 <actions>
4264 <action function="set">tw_back=advanced</action>
4265 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004266 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4267 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4268 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004269 <action function="set">tw_show_reboot=1</action>
4270 <action function="page">action_page</action>
4271 </actions>
4272 </slider>
4273
4274 <action>
4275 <touch key="home"/>
4276 <action function="page">main</action>
4277 </action>
4278
4279 <action>
4280 <touch key="back"/>
4281 <action function="page">advanced</action>
4282 </action>
4283 </page>
4284
4285 <page name="installsu">
4286 <template name="page"/>
4287
4288 <text style="text_l">
4289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 </text>
4292
4293 <text style="text_m">
4294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004296 </text>
4297
4298 <text style="text_m_accent">
4299 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </text>
4302
4303 <text style="text_m">
4304 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004305 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004306 </text>
4307
4308 <text style="text_m">
4309 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 </text>
4312
4313 <button style="main_button_half_height">
4314 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 <action function="set">tw_page_done=1</action>
4317 </button>
4318
4319 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 <actions>
4322 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004323 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004324 <action function="set">tw_action_text2=</action>
4325 <action function="page">singleaction_page</action>
4326 </actions>
4327 </slider>
4328 </page>
4329
4330 <page name="slideout">
4331 <fill color="%background_color%">
4332 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4333 </fill>
4334
4335 <console>
4336 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4337 </console>
4338
4339 <button>
4340 <fill color="%transparent%"/>
4341 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4342 <action function="overlay"/>
4343 </button>
4344
4345 <action>
4346 <touch key="power+voldown"/>
4347 <action function="screenshot"/>
4348 </action>
4349 </page>
4350
4351 <page name="select_storage">
4352 <fill color="%semi_transparent%">
4353 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4354 </fill>
4355
4356 <fill color="%background_color%">
4357 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4358 </fill>
4359
4360 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 <data name="tw_storage_path"/>
4363 <listtype name="storage"/>
4364 </partitionlist>
4365
4366 <button style="button_third_width">
4367 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004369 <actions>
4370 <action function="set">tw_clear_destination=%tw_back%</action>
4371 <action function="overlay"/>
4372 <action function="page">clear_vars</action>
4373 </actions>
4374 </button>
4375
4376 <fill color="#000000">
4377 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4378 </fill>
4379
4380 <button>
4381 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4382 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4383 <image resource="back"/>
4384 <condition var1="tw_busy" var2="0"/>
4385 <actions>
4386 <action function="overlay"/>
4387 <action function="key">%tw_back%</action>
4388 </actions>
4389 </button>
4390
4391 <button>
4392 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4393 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4394 <image resource="console"/>
4395 <condition var1="tw_busy" var2="0"/>
4396 <action function="overlay">slideout</action>
4397 </button>
4398
4399 <button>
4400 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4401 <image resource="home"/>
4402 <condition var1="tw_busy" var2="0"/>
4403 <actions>
4404 <action function="overlay"/>
4405 <action function="key">home</action>
4406 </actions>
4407 </button>
4408
4409 <button>
4410 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4411 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4412 <image resource="console"/>
4413 <condition var1="tw_busy" var2="0"/>
4414 <action function="overlay">slideout</action>
4415 </button>
4416
4417 <button>
4418 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4419 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4420 <image resource="back"/>
4421 <condition var1="tw_busy" var2="0"/>
4422 <actions>
4423 <action function="overlay"/>
4424 <action function="key">%tw_back%</action>
4425 </actions>
4426 </button>
4427
4428 <action>
4429 <touch key="power+voldown"/>
4430 <action function="screenshot"/>
4431 </action>
4432 </page>
4433 </pages>
4434</recovery>