blob: c3fe9ad201d30b6dd7ef8fef02a0e56c17777fd3 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
bigbiffa869fc72016-03-01 19:40:36 -0500389 <placement x="%indent%" y="%row13a_y%" />
390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
391 <data variable="tw_install_reboot" />
392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
503 <action function="set">tw_action=reboot</action>
504 <action function="set">tw_action_param=system</action>
505 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500506 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
507 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100508 <action function="set">tw_text3=</action>
509 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500510 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100511 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
513 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100514 <action function="page">rebootcheck</action>
515 </actions>
516 </button>
517
518 <action>
519 <touch key="back"/>
520 <actions>
521 <action function="set">tw_clear_destination=install</action>
522 <action function="page">clear_vars</action>
523 </actions>
524 </action>
525
526 <action>
527 <touch key="home"/>
528 <actions>
529 <action function="set">tw_clear_destination=main2</action>
530 <action function="page">clear_vars</action>
531 </actions>
532 </action>
533 </page>
534
535 <page name="flashimage_confirm">
536 <template name="page"/>
537
538 <text style="text_l">
539 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500540 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100541 </text>
542
543 <text style="text_m">
544 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500545 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100546 </text>
547
548 <text style="text_m_accent">
549 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100551 </text>
552
553 <text style="text_m">
554 <placement x="%indent%" y="%row3_y%"/>
555 <text>%tw_zip_location%</text>
556 </text>
557
558 <text style="text_m_accent">
559 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100561 </text>
562
563 <text style="text_m">
564 <placement x="%indent%" y="%row5a_y%"/>
565 <text>%tw_file%</text>
566 </text>
567
568 <partitionlist>
569 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
570 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 <data name="tw_flash_partition"/>
573 <listtype name="flashimg"/>
574 </partitionlist>
575
576 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500577 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100578 <actions>
579 <action function="set">tw_back=flashimage_confirm</action>
580 <action function="set">tw_action=flashimage</action>
581 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500582 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100583 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500584 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100585 <action function="page">action_page</action>
586 </actions>
587 <action function="flashimage"/>
588 </slider>
589
590 <action>
591 <touch key="back"/>
592 <actions>
593 <action function="set">tw_clear_destination=install</action>
594 <action function="page">clear_vars</action>
595 </actions>
596 </action>
597
598 <action>
599 <touch key="home"/>
600 <actions>
601 <action function="set">tw_clear_destination=main2</action>
602 <action function="page">clear_vars</action>
603 </actions>
604 </action>
605 </page>
606
607 <page name="clear_vars">
608 <action>
609 <action function="set">tw_operation_state=0</action>
610 <action function="set">tw_text1=</action>
611 <action function="set">tw_text2=</action>
612 <action function="set">tw_text3=</action>
613 <action function="set">tw_text4=</action>
614 <action function="set">tw_action_text1=</action>
615 <action function="set">tw_action_text2=</action>
616 <action function="set">tw_action_param=</action>
617 <action function="set">tw_has_action2=0</action>
618 <action function="set">tw_action2=</action>
619 <action function="set">tw_action2_param=</action>
620 <action function="set">tw_has_cancel=0</action>
621 <action function="set">tw_cancel_action=</action>
622 <action function="set">tw_cancel_param=</action>
623 <action function="set">tw_show_exclamation=0</action>
624 <action function="set">tw_show_reboot=0</action>
625 <action function="page">%tw_clear_destination%</action>
626 </action>
627 </page>
628
629 <page name="confirm_action">
630 <template name="page"/>
631
632 <text style="text_l">
633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100635 </text>
636
637 <text style="text_m">
638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
639 <text/>
640 </text>
641
642 <text style="text_m_accent">
643 <placement x="%center_x%" y="%row2_y%" placement="5"/>
644 <text>%tw_text1%</text>
645 </text>
646
647 <text style="text_m_accent">
648 <placement x="%center_x%" y="%row3_y%" placement="5"/>
649 <text>%tw_text2%</text>
650 </text>
651
652 <text style="text_m">
653 <placement x="%center_x%" y="%row4_y%" placement="5"/>
654 <text>%tw_text3%</text>
655 </text>
656
657 <text style="text_m">
658 <placement x="%center_x%" y="%row5_y%" placement="5"/>
659 <text>%tw_text4%</text>
660 </text>
661
662 <text style="text_m">
663 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500664 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100665 </text>
666
667 <slider>
668 <text>%tw_slider_text%</text>
669 <action function="page">action_page</action>
670 </slider>
671
672 <action>
673 <touch key="back"/>
674 <actions>
675 <action function="set">tw_clear_destination=%tw_back%</action>
676 <action function="page">clear_vars</action>
677 </actions>
678 </action>
679
680 <action>
681 <touch key="home"/>
682 <action function="page">main</action>
683 </action>
684 </page>
685
686 <page name="action_page">
687 <template name="page"/>
688
689 <text style="text_l">
690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
691 <text>%tw_action_text1%</text>
692 </text>
693
694 <text style="text_m">
695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
696 <text>%tw_action_text2%</text>
697 </text>
698
699 <template name="console"/>
700
701 <template name="progress_bar"/>
702
703 <button style="main_button_half_height">
704 <condition var1="tw_has_cancel" var2="1"/>
705 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500706 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100707 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
708 </button>
709
710 <action>
711 <condition var1="tw_operation_state" var2="1"/>
712 <actions>
713 <action function="page">action_complete</action>
714 </actions>
715 </action>
716
717 <action>
718 <condition var1="tw_has_action2" var2="0"/>
719 <actions>
720 <action function="%tw_action%">%tw_action_param%</action>
721 </actions>
722 </action>
723
724 <action>
725 <condition var1="tw_has_action2" var2="1"/>
726 <actions>
727 <action function="%tw_action%">%tw_action_param%</action>
728 <action function="%tw_action2%">%tw_action2_param%</action>
729 </actions>
730 </action>
731 </page>
732
733 <page name="singleaction_page">
734 <template name="page"/>
735
736 <text style="text_l">
737 <placement x="%col1_x_header%" y="%row3_header_y%"/>
738 <text>%tw_action_text1%</text>
739 </text>
740
741 <text style="text_m">
742 <placement x="%col1_x_header%" y="%row4_header_y%"/>
743 <text>%tw_action_text2%</text>
744 </text>
745
746 <template name="console"/>
747
748 <template name="progress_bar"/>
749
750 <action>
751 <condition var1="tw_operation_state" var2="1"/>
752 <actions>
753 <action function="set">tw_page_done=1</action>
754 </actions>
755 </action>
756
757 <action>
758 <condition var1="tw_has_action2" var2="0"/>
759 <actions>
760 <action function="%tw_action%">%tw_action_param%</action>
761 </actions>
762 </action>
763
764 <action>
765 <condition var1="tw_has_action2" var2="1"/>
766 <actions>
767 <action function="%tw_action%">%tw_action_param%</action>
768 <action function="%tw_action2%">%tw_action2_param%</action>
769 </actions>
770 </action>
771 </page>
772
773 <page name="action_complete">
774 <template name="page"/>
775
776 <text style="text_l">
777 <placement x="%col1_x_header%" y="%row3_header_y%"/>
778 <text>%tw_complete_text1%</text>
779 </text>
780
781 <text style="text_m_fail">
782 <condition var1="tw_operation_status" op="!=" var2="0"/>
783 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500784 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100785 </text>
786
787 <text style="text_m">
788 <condition var1="tw_operation_status" var2="0"/>
789 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500790 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100791 </text>
792
793 <template name="console"/>
794
795 <button style="main_button_half_height">
796 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500797 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100798 <actions>
799 <action function="set">tw_clear_destination=%tw_back%</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </button>
803
804 <button style="main_button_half_height">
805 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100807 <actions>
808 <action function="set">tw_back=main2</action>
809 <action function="set">tw_action=reboot</action>
810 <action function="set">tw_action_param=system</action>
811 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500812 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
813 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100814 <action function="set">tw_text3=</action>
815 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500816 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100817 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500818 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
819 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100820 <action function="page">rebootcheck</action>
821 </actions>
822 </button>
823
824 <action>
825 <touch key="home"/>
826 <actions>
827 <action function="set">tw_clear_destination=main2</action>
828 <action function="page">clear_vars</action>
829 </actions>
830 </action>
831
832 <action>
833 <touch key="back"/>
834 <actions>
835 <action function="set">tw_clear_destination=%tw_back%</action>
836 <action function="page">clear_vars</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="filecheck">
842 <action>
843 <action function="fileexists">%tw_filecheck%</action>
844 </action>
845
846 <action>
847 <conditions>
848 <condition var1="tw_operation_state" var2="1"/>
849 <condition var1="tw_operation_status" var2="0"/>
850 </conditions>
851 <actions>
852 <action function="set">tw_fileexists=1</action>
853 <action function="page">%tw_existpage%</action>
854 </actions>
855 </action>
856
857 <action>
858 <conditions>
859 <condition var1="tw_operation_state" var2="1"/>
860 <condition var1="tw_operation_status" var2="1"/>
861 </conditions>
862 <actions>
863 <action function="set">tw_fileexists=0</action>
864 <action function="page">%tw_notexistpage%</action>
865 </actions>
866 </action>
867 </page>
868
869 <page name="rebootcheck">
870 <action>
871 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
872 <action function="reboot">%tw_action_param%</action>
873 </action>
874
875 <action>
876 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
877 <action function="page">confirm_action</action>
878 </action>
879 </page>
880
881 <page name="wipe">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500886 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100887 </text>
888
889 <text style="text_m">
890 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500891 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100892 </text>
893
894 <text style="text_m_accent">
895 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500896 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100897 </text>
898
899 <text style="text_m_accent">
900 <condition var1="tw_has_data_media" var2="1"/>
901 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500902 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100903 </text>
904
905 <text style="text_m_accent">
906 <conditions>
907 <condition var1="tw_has_android_secure" var2="1"/>
908 <condition var1="fileexists" var2="/and-sec"/>
909 </conditions>
910 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 </text>
913
914 <text style="text_m_accent">
915 <condition var1="tw_has_sdext_partition" var2="1"/>
916 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500917 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100918 </text>
919
920 <text style="text_m">
921 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <text style="text_m">
926 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500927 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </text>
929
930 <text style="text_m">
931 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500932 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100933 </text>
934
935 <button style="main_button_half_height">
936 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500937 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100938 <actions>
939 <action function="set">partitionlisterror=0</action>
940 <action function="page">advancedwipe</action>
941 </actions>
942 </button>
943
944 <button style="main_button_half_height">
945 <condition var1="tw_has_data_media" var2="1"/>
946 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500947 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100948 <action function="page">formatdata</action>
949 </button>
950
951 <button style="main_button_half_height">
952 <conditions>
953 <condition var1="tw_is_encrypted" var2="1"/>
954 <condition var1="tw_has_data_media" var2="0"/>
955 </conditions>
956 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100958 <actions>
959 <action function="set">tw_back=wipe</action>
960 <action function="set">tw_action=wipe</action>
961 <action function="set">tw_action_param=DATAMEDIA</action>
962 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100964 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500965 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
966 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
967 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100968 <action function="page">confirm_action</action>
969 </actions>
970 </button>
971
972 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <actions>
975 <action function="set">tw_back=wipe</action>
976 <action function="set">tw_action=wipe</action>
977 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500978 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
979 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100980 <action function="page">action_page</action>
981 </actions>
982 </slider>
983
984 <action>
985 <touch key="back"/>
986 <action function="page">main</action>
987 </action>
988
989 <action>
990 <touch key="home"/>
991 <action function="page">main</action>
992 </action>
993 </page>
994
995 <page name="advancedwipe">
996 <template name="page"/>
997
998 <action>
999 <action function="set">tw_wipe_list=</action>
1000 </action>
1001
1002 <text style="text_l">
1003 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m">
1008 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001009 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001010 </text>
1011
1012 <partitionlist>
1013 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 <data name="tw_wipe_list"/>
1016 <listtype name="wipe"/>
1017 </partitionlist>
1018
1019 <text style="text_m_fail">
1020 <condition var1="partitionlisterror" var2="1"/>
1021 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <button style="main_button_half_height_full_width">
1026 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001029 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001030 <action function="page">checkpartitionlist</action>
1031 </actions>
1032 </button>
1033
1034 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 <actions>
1037 <action function="set">tw_back=advancedwipe</action>
1038 <action function="set">tw_action=wipe</action>
1039 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1041 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1042 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001043 <action function="page">action_page</action>
1044 </actions>
1045 </slider>
1046
1047 <action>
1048 <touch key="home"/>
1049 <action function="page">main</action>
1050 </action>
1051
1052 <action>
1053 <touch key="back"/>
1054 <action function="page">wipe</action>
1055 </action>
1056 </page>
1057
1058 <page name="formatdata">
1059 <template name="page"/>
1060
1061 <text style="text_l">
1062 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 </text>
1065
1066 <text style="text_m">
1067 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 </text>
1070
1071 <text style="text_m_fail">
1072 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 </text>
1075
1076 <text style="text_m_fail">
1077 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 </text>
1080
1081 <text style="text_m_fail">
1082 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 </text>
1085
Ethan Yonker66a19492015-12-10 10:19:45 -06001086 <text style="text_m_fail">
1087 <condition var1="tw_has_adopted_storage" var2="1"/>
1088 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1089 <text>{@format_data_adopted=Including Adopted Storage}</text>
1090 </text>
1091
z31s1g28f0a922015-11-07 18:50:22 +01001092 <text style="text_m">
1093 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001094 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001095 </text>
1096
1097 <text style="text_m">
1098 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <input>
1103 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1104 <text>%tw_confirm_formatdata%</text>
1105 <data name="tw_confirm_formatdata"/>
1106 <restrict minlen="3" maxlen="3" allow="yes"/>
1107 <action function="page">formatdata_confirm</action>
1108 </input>
1109
1110 <fill color="%accent_color%">
1111 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1112 </fill>
1113
1114 <template name="keyboardtemplate"/>
1115
1116 <action>
1117 <touch key="home"/>
1118 <action function="page">main</action>
1119 </action>
1120
1121 <action>
1122 <touch key="back"/>
1123 <action function="page">wipe</action>
1124 </action>
1125 </page>
1126
1127 <page name="formatdata_confirm">
1128 <action>
1129 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1130 <actions>
1131 <action function="set">tw_back=formatdata</action>
1132 <action function="set">tw_action=wipe</action>
1133 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1135 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001136 <action function="page">action_page</action>
1137 </actions>
1138 </action>
1139
1140 <action>
1141 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1142 <action function="page">formatdata</action>
1143 </action>
1144 </page>
1145
1146 <page name="checkpartitionlist">
1147 <action>
1148 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1149 <actions>
1150 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001151 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001152 <action function="page">partitionoptions</action>
1153 </actions>
1154 </action>
1155
1156 <action>
1157 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1158 <actions>
1159 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001160 <action function="page">advancedwipe</action>
1161 </actions>
1162 </action>
1163 </page>
1164
1165 <page name="partitionoptions">
1166 <template name="page"/>
1167
1168 <text style="text_l">
1169 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 </text>
1172
1173 <text style="text_m">
1174 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001175 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001176 </text>
1177
1178 <text style="text_m_accent">
1179 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m_accent">
1184 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
1188 <text style="text_m">
1189 <condition var1="tw_partition_is_present" var2="1"/>
1190 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <condition var1="tw_partition_is_present" var2="0"/>
1196 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <condition var1="tw_partition_removable" var2="1"/>
1202 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
1206 <text style="text_m">
1207 <condition var1="tw_partition_removable" var2="0"/>
1208 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 </text>
1211
1212 <text style="text_m">
1213 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <text style="text_m">
1223 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001224 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001225 </text>
1226
1227 <text style="text_m">
1228 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 </text>
1231
1232 <button style="main_button_half_height">
1233 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1234 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <actions>
1237 <action function="set">tw_back=partitionoptions</action>
1238 <action function="set">tw_action=resize</action>
1239 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1240 <action function="set">tw_has_action2=1</action>
1241 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001242 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <action function="set">tw_text1={@resize_confirm=Resize %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={@resizing=Resizing...}</action>
1246 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1247 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</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 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1254 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <actions>
1257 <action function="set">tw_back=partitionoptions</action>
1258 <action function="set">tw_action=repair</action>
1259 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1260 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1264 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1265 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001266 <action function="page">confirm_action</action>
1267 </actions>
1268 </button>
1269
1270 <button style="main_button_half_height">
1271 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <action function="page">selectfilesystem</action>
1274 </button>
1275
1276 <action>
1277 <touch key="home"/>
1278 <action function="page">main</action>
1279 </action>
1280
1281 <action>
1282 <touch key="back"/>
1283 <action function="page">advancedwipe</action>
1284 </action>
1285 </page>
1286
1287 <page name="refreshfilesystem">
1288 <action>
1289 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1290 <actions>
1291 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001292 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <action function="page">selectfilesystem</action>
1294 </actions>
1295 </action>
1296
1297 <action>
1298 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1299 <actions>
1300 <action function="set">partitionlisterror=1</action>
1301 <action function="set">tw_wipe_list=</action>
1302 <action function="page">advancedwipe</action>
1303 </actions>
1304 </action>
1305 </page>
1306
1307 <page name="selectfilesystem">
1308 <template name="page"/>
1309
1310 <text style="text_l">
1311 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m_accent">
1321 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m_accent">
1326 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m_fail">
1331 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <text style="text_m_fail">
1336 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 </text>
1339
1340 <button style="main_button_half_height">
1341 <condition var1="tw_partition_ext" op="=" var2="1"/>
1342 <placement x="%indent%" y="%row15a_y%"/>
1343 <text>EXT2</text>
1344 <actions>
1345 <action function="set">tw_back=refreshfilesystem</action>
1346 <action function="set">tw_action=changefilesystem</action>
1347 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1348 <action function="set">tw_action_new_file_system=ext2</action>
1349 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1351 <action function="set">tw_text2=EXT2</action>
1352 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1353 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1354 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001355 <action function="page">confirm_action</action>
1356 </actions>
1357 </button>
1358
1359 <button style="main_button_half_height">
1360 <condition var1="tw_partition_ext" op="=" var2="1"/>
1361 <placement x="%indent%" y="%row18a_y%"/>
1362 <text>EXT3</text>
1363 <actions>
1364 <action function="set">tw_back=refreshfilesystem</action>
1365 <action function="set">tw_action=changefilesystem</action>
1366 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1367 <action function="set">tw_action_new_file_system=ext3</action>
1368 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1370 <action function="set">tw_text2=EXT3</action>
1371 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1372 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1373 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001374 <action function="page">confirm_action</action>
1375 </actions>
1376 </button>
1377
1378 <button style="main_button_half_height">
1379 <condition var1="tw_partition_ext" op="=" var2="1"/>
1380 <placement x="%indent%" y="%row21a_y%"/>
1381 <text>EXT4</text>
1382 <actions>
1383 <action function="set">tw_back=refreshfilesystem</action>
1384 <action function="set">tw_action=changefilesystem</action>
1385 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1386 <action function="set">tw_action_new_file_system=ext4</action>
1387 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1389 <action function="set">tw_text2=EXT4</action>
1390 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1391 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1392 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">confirm_action</action>
1394 </actions>
1395 </button>
1396
1397 <button style="main_button_half_height">
1398 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1399 <placement x="%center_x%" y="%row15a_y%"/>
1400 <text>FAT</text>
1401 <actions>
1402 <action function="set">tw_back=refreshfilesystem</action>
1403 <action function="set">tw_action=changefilesystem</action>
1404 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1405 <action function="set">tw_action_new_file_system=vfat</action>
1406 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1408 <action function="set">tw_text2=FAT</action>
1409 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1410 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1411 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <action function="page">confirm_action</action>
1413 </actions>
1414 </button>
1415
1416 <button style="main_button_half_height">
1417 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1418 <placement x="%center_x%" y="%row18a_y%"/>
1419 <text>exFAT</text>
1420 <actions>
1421 <action function="set">tw_back=refreshfilesystem</action>
1422 <action function="set">tw_action=changefilesystem</action>
1423 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1424 <action function="set">tw_action_new_file_system=exfat</action>
1425 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001426 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1427 <action function="set">tw_text2=exFAT</action>
1428 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1429 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1430 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001431 <action function="page">confirm_action</action>
1432 </actions>
1433 </button>
1434
1435 <button style="main_button_half_height">
1436 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1437 <placement x="%center_x%" y="%row21a_y%"/>
1438 <text>F2FS</text>
1439 <actions>
1440 <action function="set">tw_back=refreshfilesystem</action>
1441 <action function="set">tw_action=changefilesystem</action>
1442 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1443 <action function="set">tw_action_new_file_system=f2fs</action>
1444 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1446 <action function="set">tw_text2=F2FS</action>
1447 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1448 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1449 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001450 <action function="page">confirm_action</action>
1451 </actions>
1452 </button>
1453
1454 <action>
1455 <touch key="home"/>
1456 <action function="page">main</action>
1457 </action>
1458
1459 <action>
1460 <touch key="back"/>
1461 <action function="page">partitionoptions</action>
1462 </action>
1463 </page>
1464
1465 <page name="backup">
1466 <template name="page"/>
1467
1468 <text style="text_l">
1469 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001471 </text>
1472
1473 <text style="text_m">
1474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001475 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001476 </text>
1477
1478 <template name="tabs_backup"/>
1479
1480 <fill color="%text_color%">
1481 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1482 </fill>
1483
1484 <button style="tab">
1485 <conditions>
1486 <condition var1="tw_include_encrypted_backup" var2="1"/>
1487 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001488 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001489 </conditions>
1490 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001492 <font resource="font_s" color="%text_color%"/>
1493 <actions>
1494 <action function="set">tw_password_not_match=0</action>
1495 <action function="page">backupencryption</action>
1496 </actions>
1497 </button>
1498
1499 <button style="tab">
1500 <conditions>
1501 <condition var1="tw_include_encrypted_backup" var2="1"/>
1502 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001503 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001504 </conditions>
1505 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 <font resource="font_s" color="%text_success_color%"/>
1508 <actions>
1509 <action function="set">tw_password_not_match=0</action>
1510 <action function="page">backupencryption</action>
1511 </actions>
1512 </button>
1513
1514 <text style="text_m_accent">
1515 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001516 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001517 </text>
1518
1519 <text style="text_m">
1520 <placement x="%indent%" y="%row4a_y%"/>
1521 <text>%tw_backup_name%</text>
1522 </text>
1523
1524 <fill color="%fileselector_linecolor%">
1525 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1526 </fill>
1527
1528 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001529 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001530 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1531 <fill color="%transparent%"/>
1532 <actions>
1533 <action function="set">tw_fileexists=0</action>
1534 <action function="page">backupname1</action>
1535 </actions>
1536 </button>
1537
1538 <partitionlist>
1539 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001541 <data name="tw_backup_list"/>
1542 <listtype name="backup"/>
1543 </partitionlist>
1544
1545 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001546 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001547 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001549 <actions>
1550 <action function="set">tw_back=backup</action>
1551 <action function="overlay">select_storage</action>
1552 </actions>
1553 </button>
1554
1555 <button style="main_button_half_height">
1556 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001557 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001558 <actions>
1559 <action function="refreshsizes"/>
1560 <action function="page">backup</action>
1561 </actions>
1562 </button>
1563
1564 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001566 <action function="page">backup_run</action>
1567 </slider>
1568
1569 <action>
1570 <touch key="home"/>
1571 <action function="page">main</action>
1572 </action>
1573
1574 <action>
1575 <touch key="back"/>
1576 <action function="page">main</action>
1577 </action>
1578 </page>
1579
1580 <page name="backup_options">
1581 <template name="page"/>
1582
1583 <text style="text_l">
1584 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001585 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001586 </text>
1587
1588 <text style="text_m">
1589 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <template name="tabs_backup"/>
1594
1595 <fill color="%text_color%">
1596 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1597 </fill>
1598
1599 <button style="tab">
1600 <conditions>
1601 <condition var1="tw_include_encrypted_backup" var2="1"/>
1602 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001603 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001604 </conditions>
1605 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <font resource="font_s" color="%text_color%"/>
1608 <actions>
1609 <action function="set">tw_password_not_match=0</action>
1610 <action function="page">backupencryption</action>
1611 </actions>
1612 </button>
1613
1614 <button style="tab">
1615 <conditions>
1616 <condition var1="tw_include_encrypted_backup" var2="1"/>
1617 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001618 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </conditions>
1620 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001621 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001622 <font resource="font_s" color="%text_success_color%"/>
1623 <actions>
1624 <action function="set">tw_password_not_match=0</action>
1625 <action function="page">backupencryption</action>
1626 </actions>
1627 </button>
1628
1629 <checkbox>
1630 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 <data variable="tw_use_compression"/>
1633 </checkbox>
1634
1635 <checkbox>
1636 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001637 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001638 <data variable="tw_skip_md5_generate"/>
1639 </checkbox>
1640
1641 <checkbox>
1642 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001643 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <data variable="tw_disable_free_space"/>
1645 </checkbox>
1646
1647 <action>
1648 <touch key="home"/>
1649 <action function="page">main</action>
1650 </action>
1651
1652 <action>
1653 <touch key="back"/>
1654 <action function="page">backup</action>
1655 </action>
1656 </page>
1657
1658 <page name="backupname1">
1659 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001661 <action function="generatebackupname"/>
1662 </action>
1663
1664 <action>
1665 <action function="page">backupname2</action>
1666 </action>
1667 </page>
1668
1669 <page name="backupname2">
1670 <template name="page"/>
1671
1672 <text style="text_l">
1673 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <text style="text_m">
1678 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 </text>
1681
1682 <template name="tabs_backup"/>
1683
1684 <fill color="%text_color%">
1685 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1686 </fill>
1687
1688 <button style="tab">
1689 <conditions>
1690 <condition var1="tw_include_encrypted_backup" var2="1"/>
1691 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001692 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001693 </conditions>
1694 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001695 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001696 <font resource="font_s" color="%text_color%"/>
1697 <actions>
1698 <action function="set">tw_password_not_match=0</action>
1699 <action function="page">backupencryption</action>
1700 </actions>
1701 </button>
1702
1703 <button style="tab">
1704 <conditions>
1705 <condition var1="tw_include_encrypted_backup" var2="1"/>
1706 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001707 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001708 </conditions>
1709 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 <font resource="font_s" color="%text_success_color%"/>
1712 <actions>
1713 <action function="set">tw_password_not_match=0</action>
1714 <action function="page">backupencryption</action>
1715 </actions>
1716 </button>
1717
1718 <text style="text_m_accent">
1719 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001720 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 </text>
1722
1723 <input>
1724 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1725 <text>%tw_backup_name%</text>
1726 <data name="tw_backup_name"/>
1727 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1728 <actions>
1729 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1730 <action function="set">tw_existpage=backupname2</action>
1731 <action function="set">tw_notexistpage=backup</action>
1732 <action function="page">filecheck</action>
1733 </actions>
1734 </input>
1735
1736 <fill color="%accent_color%">
1737 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1738 </fill>
1739
1740 <fill color="%text_fail_color%">
1741 <condition var1="tw_fileexists" var2="1"/>
1742 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1743 </fill>
1744
1745 <text style="text_m_fail">
1746 <condition var1="tw_fileexists" var2="1"/>
1747 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 </text>
1750
1751 <button style="main_button_half_height">
1752 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001753 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001755 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001756 <action function="page">backup</action>
1757 </actions>
1758 </button>
1759
1760 <button style="main_button_half_height">
1761 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001762 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001763 <action function="appenddatetobackupname"/>
1764 </button>
1765
1766 <template name="keyboardtemplate"/>
1767
1768 <action>
1769 <touch key="home"/>
1770 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001771 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001772 <action function="page">main</action>
1773 </actions>
1774 </action>
1775
1776 <action>
1777 <touch key="back"/>
1778 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001780 <action function="page">backup</action>
1781 </actions>
1782 </action>
1783 </page>
1784
1785 <page name="backupencryption">
1786 <template name="page"/>
1787
1788 <text style="text_l">
1789 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <text style="text_m">
1794 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <template name="tabs_backup"/>
1799
1800 <button style="tab">
1801 <conditions>
1802 <condition var1="tw_include_encrypted_backup" var2="1"/>
1803 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001804 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001805 </conditions>
1806 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001808 <font resource="font_s" color="%text_color%"/>
1809 <actions>
1810 <action function="set">tw_password_not_match=0</action>
1811 <action function="page">backupencryption</action>
1812 </actions>
1813 </button>
1814
1815 <button style="tab">
1816 <conditions>
1817 <condition var1="tw_include_encrypted_backup" var2="1"/>
1818 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001819 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001820 </conditions>
1821 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 <font resource="font_s" color="%text_success_color%"/>
1824 <actions>
1825 <action function="set">tw_password_not_match=0</action>
1826 <action function="page">backupencryption</action>
1827 </actions>
1828 </button>
1829
1830 <fill color="%text_color%">
1831 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1832 </fill>
1833
1834 <text style="text_m_accent">
1835 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <text style="text_m">
1840 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001842 </text>
1843
1844 <input>
1845 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1846 <text>%tw_backup_encrypt_display%</text>
1847 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1848 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1849 <action function="page">backupencryption2</action>
1850 </input>
1851
1852 <fill color="%accent_color%">
1853 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1854 </fill>
1855
1856 <fill color="%text_fail_color%">
1857 <condition var1="tw_password_not_match" var2="1"/>
1858 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1859 </fill>
1860
1861 <text style="text_m_fail">
1862 <condition var1="tw_password_not_match" var2="1"/>
1863 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001865 </text>
1866
1867 <button style="main_button_half_height">
1868 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 <actions>
1871 <action function="set">tw_encrypt_backup=0</action>
1872 <action function="set">tw_backup_password=</action>
1873 <action function="set">tw_backup_password2=</action>
1874 <action function="set">tw_backup_encrypt_display=</action>
1875 <action function="set">tw_backup_encrypt_display2=</action>
1876 <action function="page">backup</action>
1877 </actions>
1878 </button>
1879
1880 <template name="keyboardtemplate"/>
1881
1882 <action>
1883 <touch key="home"/>
1884 <action function="page">main</action>
1885 </action>
1886
1887 <action>
1888 <touch key="back"/>
1889 <action function="page">backup</action>
1890 </action>
1891 </page>
1892
1893 <page name="backupencryption2">
1894 <template name="page"/>
1895
1896 <text style="text_l">
1897 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 </text>
1900
1901 <text style="text_m">
1902 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001903 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001904 </text>
1905
1906 <template name="tabs_backup"/>
1907
1908 <button style="tab">
1909 <conditions>
1910 <condition var1="tw_include_encrypted_backup" var2="1"/>
1911 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001912 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </conditions>
1914 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 <font resource="font_s" color="%text_color%"/>
1917 <actions>
1918 <action function="set">tw_password_not_match=0</action>
1919 <action function="page">backupencryption</action>
1920 </actions>
1921 </button>
1922
1923 <button style="tab">
1924 <conditions>
1925 <condition var1="tw_include_encrypted_backup" var2="1"/>
1926 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001927 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001928 </conditions>
1929 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001930 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001931 <font resource="font_s" color="%text_success_color%"/>
1932 <actions>
1933 <action function="set">tw_password_not_match=0</action>
1934 <action function="page">backupencryption</action>
1935 </actions>
1936 </button>
1937
1938 <fill color="%text_color%">
1939 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1940 </fill>
1941
1942 <text style="text_m_accent">
1943 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 </text>
1946
1947 <text style="text_m">
1948 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001949 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001950 </text>
1951
1952 <input>
1953 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1954 <text>%tw_backup_encrypt_display2%</text>
1955 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1956 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1957 <action function="page">checkbackuppassword</action>
1958 </input>
1959
1960 <fill color="%accent_color%">
1961 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1962 </fill>
1963
1964 <button style="main_button_half_height">
1965 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001966 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001967 <actions>
1968 <action function="set">tw_encrypt_backup=0</action>
1969 <action function="set">tw_backup_password=</action>
1970 <action function="set">tw_backup_password2=</action>
1971 <action function="set">tw_backup_encrypt_display=</action>
1972 <action function="set">tw_backup_encrypt_display2=</action>
1973 <action function="page">backup</action>
1974 </actions>
1975 </button>
1976
1977 <template name="keyboardtemplate"/>
1978
1979 <action>
1980 <touch key="home"/>
1981 <action function="page">main</action>
1982 </action>
1983
1984 <action>
1985 <touch key="back"/>
1986 <action function="page">backup</action>
1987 </action>
1988 </page>
1989
1990 <page name="checkbackuppassword">
1991 <action>
1992 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1993 <actions>
1994 <action function="set">tw_encrypt_backup=1</action>
1995 <action function="page">backup</action>
1996 </actions>
1997 </action>
1998
1999 <action>
2000 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2001 <actions>
2002 <action function="set">tw_encrypt_backup=0</action>
2003 <action function="set">tw_password_not_match=1</action>
2004 <action function="set">tw_backup_password=</action>
2005 <action function="set">tw_backup_password2=</action>
2006 <action function="set">tw_backup_encrypt_display=</action>
2007 <action function="set">tw_backup_encrypt_display2=</action>
2008 <action function="page">backupencryption</action>
2009 </actions>
2010 </action>
2011 </page>
2012
2013 <page name="backup_run">
2014 <template name="page"/>
2015
2016 <text style="text_l">
2017 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2018 <text>%tw_operation%</text>
2019 </text>
2020
2021 <text style="text_m">
2022 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2023 <text>%tw_partition% Partition</text>
2024 </text>
2025
2026 <template name="console"/>
2027
2028 <template name="progress_bar"/>
2029
2030 <text style="text_m_accent">
2031 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002032 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002033 </text>
2034
2035 <text style="text_m">
2036 <placement x="%indent%" y="%row20_y%"/>
2037 <text>%tw_file_progress%</text>
2038 </text>
2039
2040 <text style="text_m">
2041 <placement x="%indent%" y="%row21_y%"/>
2042 <text>%tw_size_progress%</text>
2043 </text>
2044
2045 <button style="main_button_half_height">
2046 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002047 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002048 <action function="cancelbackup"/>
2049 </button>
2050
2051 <action>
2052 <action function="nandroid">backup</action>
2053 </action>
2054
2055 <action>
2056 <condition var1="tw_operation_state" var2="1"/>
2057 <condition var1="tw_cancel_backup" var2="0"/>
2058 <actions>
2059 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002061 <action function="set">tw_show_reboot=1</action>
2062 <action function="page">action_complete</action>
2063 </actions>
2064 </action>
2065
2066 <action>
2067 <condition var1="tw_operation_state" var2="1"/>
2068 <condition var1="tw_cancel_backup" var2="1"/>
2069 <actions>
2070 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002072 <action function="set">tw_show_reboot=1</action>
2073 <action function="page">action_complete</action>
2074 </actions>
2075 </action>
2076 </page>
2077
2078 <page name="restore">
2079 <template name="page"/>
2080
2081 <text style="text_l">
2082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <template name="sort_options"/>
2092
2093 <fileselector>
2094 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002095 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002096 <filter folders="1" files="0" nav="0"/>
2097 <path name="tw_backups_folder"/>
2098 <data name="tw_restore" default=""/>
2099 <selection name="tw_restore_name"/>
2100 </fileselector>
2101
2102 <button style="main_button_half_height">
2103 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002104 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002105 <actions>
2106 <action function="set">tw_back=restore</action>
2107 <action function="overlay">select_storage</action>
2108 </actions>
2109 </button>
2110
2111 <action>
2112 <condition var1="tw_restore" op="modified"/>
2113 <actions>
2114 <action function="readBackup"/>
2115 <action function="page">restore_read</action>
2116 </actions>
2117 </action>
2118
2119 <action>
2120 <touch key="home"/>
2121 <action function="page">main</action>
2122 </action>
2123
2124 <action>
2125 <touch key="back"/>
2126 <action function="page">main</action>
2127 </action>
2128 </page>
2129
2130 <page name="restore_read">
2131 <action>
2132 <condition var1="tw_restore_encrypted" var2="1"/>
2133 <actions>
2134 <action function="set">tw_password_fail=0</action>
2135 <action function="page">restore_decrypt</action>
2136 </actions>
2137 </action>
2138
2139 <action>
2140 <condition var1="tw_restore_encrypted" var2="0"/>
2141 <actions>
2142 <action function="page">restore_select</action>
2143 </actions>
2144 </action>
2145 </page>
2146
2147 <page name="restore_decrypt">
2148 <template name="page"/>
2149
2150 <text style="text_l">
2151 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002157 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002158 </text>
2159
2160 <text style="text_m_accent">
2161 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 </text>
2164
2165 <input>
2166 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2167 <text>%tw_restore_display%</text>
2168 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2169 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2170 <action function="page">try_restore_decrypt</action>
2171 </input>
2172
2173 <fill color="%accent_color%">
2174 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2175 </fill>
2176
2177 <fill color="%text_fail_color%">
2178 <condition var1="tw_password_fail" var2="1"/>
2179 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2180 </fill>
2181
2182 <text style="text_m_fail">
2183 <condition var1="tw_password_fail" var2="1"/>
2184 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002185 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002186 </text>
2187
2188 <button style="main_button_half_height">
2189 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 <actions>
2192 <action function="set">tw_page_done=1</action>
2193 <action function="page">restore</action>
2194 </actions>
2195 </button>
2196
2197 <button style="main_button_half_height">
2198 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <actions>
2201 <action function="set">tw_back=restore</action>
2202 <action function="set">tw_action=cmd</action>
2203 <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 -05002204 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2205 <action function="set">tw_text2=%tw_restore_name%</action>
2206 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2207 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2208 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2209 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002210 <action function="page">confirm_action</action>
2211 </actions>
2212 </button>
2213
2214 <template name="keyboardtemplate"/>
2215
2216 <action>
2217 <touch key="home"/>
2218 <action function="page">main</action>
2219 </action>
2220
2221 <action>
2222 <touch key="back"/>
2223 <action function="page">restore</action>
2224 </action>
2225 </page>
2226
2227 <page name="try_restore_decrypt">
2228 <template name="page"/>
2229
2230 <text style="text_l">
2231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002232 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002233 </text>
2234
2235 <text style="text_m">
2236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002237 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002238 </text>
2239
2240 <template name="console"/>
2241
2242 <template name="progress_bar"/>
2243
2244 <action>
2245 <action function="decrypt_backup"/>
2246 </action>
2247
2248 <action>
2249 <conditions>
2250 <condition var1="tw_operation_state" var2="1"/>
2251 <condition var1="tw_operation_status" op="!=" var2="0"/>
2252 </conditions>
2253 <actions>
2254 <action function="set">tw_password_fail=1</action>
2255 <action function="page">restore_decrypt</action>
2256 </actions>
2257 </action>
2258
2259 <action>
2260 <conditions>
2261 <condition var1="tw_operation_state" var2="1"/>
2262 <condition var1="tw_operation_status" op="=" var2="0"/>
2263 </conditions>
2264 <actions>
2265 <action function="set">tw_page_done=1</action>
2266 <action function="page">restore_select</action>
2267 </actions>
2268 </action>
2269 </page>
2270
2271 <page name="restore_select">
2272 <template name="page"/>
2273
2274 <text style="text_l">
2275 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002276 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002277 </text>
2278
2279 <text style="text_m">
2280 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 </text>
2283
2284 <text style="text_m_accent">
2285 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002287 </text>
2288
2289 <text style="text_m">
2290 <placement x="%indent%" y="%row3_y%"/>
2291 <text>%tw_restore_name%</text>
2292 </text>
2293
2294 <fill color="%fileselector_linecolor%">
2295 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2296 </fill>
2297
2298 <button>
2299 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2300 <fill color="%transparent%"/>
2301 <actions>
2302 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2303 <action function="set">tw_fileexists=0</action>
2304 <action function="page">renamebackup</action>
2305 </actions>
2306 </button>
2307
2308 <partitionlist>
2309 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2312 <listtype name="restore"/>
2313 </partitionlist>
2314
2315 <checkbox>
2316 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002317 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 <data variable="tw_skip_md5_check"/>
2319 </checkbox>
2320
2321 <button style="main_button_half_height">
2322 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002323 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002324 <actions>
2325 <action function="set">tw_back=restore</action>
2326 <action function="set">tw_action=cmd</action>
2327 <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 -05002328 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002329 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2331 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2332 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2333 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002334 <action function="page">confirm_action</action>
2335 </actions>
2336 </button>
2337
2338 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002340 <action function="page">restore_run</action>
2341 </slider>
2342
2343 <action>
2344 <touch key="home"/>
2345 <action function="page">main</action>
2346 </action>
2347
2348 <action>
2349 <touch key="back"/>
2350 <action function="page">restore</action>
2351 </action>
2352 </page>
2353
2354 <page name="renamebackup">
2355 <template name="page"/>
2356
2357 <text style="text_l">
2358 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </text>
2361
2362 <text style="text_m">
2363 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002364 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002365 </text>
2366
2367 <text style="text_m_accent">
2368 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 </text>
2371
2372 <input>
2373 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2374 <text>%tw_backup_rename%</text>
2375 <data name="tw_backup_rename"/>
2376 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2377 <actions>
2378 <action function="set">tw_back=restore</action>
2379 <action function="set">tw_action=cmd</action>
2380 <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 -05002381 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2382 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2383 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2384 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2385 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002386 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2387 <action function="set">tw_existpage=renamebackup</action>
2388 <action function="set">tw_notexistpage=confirm_action</action>
2389 <action function="page">filecheck</action>
2390 </actions>
2391 </input>
2392
2393 <fill color="%accent_color%">
2394 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2395 </fill>
2396
2397 <fill color="%text_fail_color%">
2398 <condition var1="tw_fileexists" var2="1"/>
2399 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2400 </fill>
2401
2402 <text style="text_m_fail">
2403 <condition var1="tw_fileexists" var2="1"/>
2404 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002405 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002406 </text>
2407
2408 <button style="main_button_half_height">
2409 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002410 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002411 <action function="page">restore_select</action>
2412 </button>
2413
2414 <template name="keyboardtemplate"/>
2415
2416 <action>
2417 <touch key="home"/>
2418 <action function="page">main</action>
2419 </action>
2420
2421 <action>
2422 <touch key="back"/>
2423 <action function="page">restore_select</action>
2424 </action>
2425 </page>
2426
2427 <page name="restore_run">
2428 <template name="page"/>
2429
2430 <text style="text_l">
2431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 </text>
2434
2435 <text style="text_m">
2436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2437 <text>%tw_operation% %tw_partition%</text>
2438 </text>
2439
2440 <template name="console"/>
2441
2442 <template name="progress_bar"/>
2443
2444 <text style="text_m_accent">
2445 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002446 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002447 </text>
2448
2449 <text style="text_m">
2450 <placement x="%indent%" y="%row20_y%"/>
2451 <text>%tw_size_progress%</text>
2452 </text>
2453
2454 <action>
2455 <condition var1="tw_operation_state" var2="1"/>
2456 <actions>
2457 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002458 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002459 <action function="set">tw_show_reboot=1</action>
2460 <action function="page">action_complete</action>
2461 </actions>
2462 </action>
2463
2464 <action>
2465 <action function="nandroid">restore</action>
2466 </action>
2467 </page>
2468
2469 <page name="mount">
2470 <template name="page"/>
2471
2472 <text style="text_l">
2473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002474 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002475 </text>
2476
2477 <text style="text_m">
2478 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 </text>
2481
2482 <partitionlist>
2483 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <listtype name="mount"/>
2486 </partitionlist>
2487
2488 <button style="checkbox">
2489 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2490 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002491 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002492 <image resource="checkbox_false"/>
2493 <action function="mountsystemtoggle">1</action>
2494 </button>
2495
2496 <button style="checkbox">
2497 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2498 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 <image resource="checkbox_true"/>
2501 <actions>
2502 <action function="set">tw_lifetime_writes=2</action>
2503 <action function="page">system_readonly_check</action>
2504 </actions>
2505 </button>
2506
2507 <button style="main_button_half_height">
2508 <condition var1="tw_has_usb_storage" var2="1"/>
2509 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 <action function="page">usb_mount</action>
2512 </button>
2513
2514 <button style="main_button_half_height">
2515 <conditions>
2516 <condition var1="tw_is_encrypted" var2="1"/>
2517 <condition var1="tw_is_decrypted" var2="0"/>
2518 </conditions>
2519 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 <action function="page">decrypt</action>
2522 </button>
2523
2524 <button style="main_button_half_height">
2525 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 <actions>
2528 <action function="set">tw_back=mount</action>
2529 <action function="overlay">select_storage</action>
2530 </actions>
2531 </button>
2532
2533 <button style="main_button_half_height">
2534 <conditions>
2535 <condition var1="tw_has_mtp" var2="1"/>
2536 <condition var1="tw_mtp_enabled" var2="0"/>
2537 </conditions>
2538 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <action function="startmtp"/>
2541 </button>
2542
2543 <button style="main_button_half_height">
2544 <conditions>
2545 <condition var1="tw_has_mtp" var2="1"/>
2546 <condition var1="tw_mtp_enabled" var2="1"/>
2547 </conditions>
2548 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 <action function="stopmtp"/>
2551 </button>
2552
2553 <action>
2554 <touch key="home"/>
2555 <action function="page">main</action>
2556 </action>
2557
2558 <action>
2559 <touch key="back"/>
2560 <action function="page">main</action>
2561 </action>
2562 </page>
2563
2564 <page name="usb_mount">
2565 <template name="page"/>
2566
2567 <text style="text_l">
2568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 </text>
2571
2572 <text style="text_m">
2573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002574 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002575 </text>
2576
2577 <text style="text_m_accent">
2578 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002579 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002580 </text>
2581
2582 <text style="text_m">
2583 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 </text>
2586
2587 <text style="text_m">
2588 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 </text>
2591
2592 <button style="main_button_half_height">
2593 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <action function="page">usb_umount</action>
2596 </button>
2597
2598 <action>
2599 <action function="mount">usb</action>
2600 <action function="set">tw_busy=1</action>
2601 </action>
2602 </page>
2603
2604 <page name="usb_umount">
2605 <action>
2606 <action function="unmount">usb</action>
2607 </action>
2608
2609 <action>
2610 <action function="page">mount</action>
2611 <action function="set">tw_busy=0</action>
2612 </action>
2613 </page>
2614
2615 <page name="system_readonly_check">
2616 <action>
2617 <action function="checkpartitionlifetimewrites">/system</action>
2618 </action>
2619
2620 <action>
2621 <condition var1="tw_lifetime_writes" var2="1"/>
2622 <actions>
2623 <action function="mountsystemtoggle">0</action>
2624 <action function="page">mount</action>
2625 </actions>
2626 </action>
2627
2628 <action>
2629 <condition var1="tw_lifetime_writes" var2="0"/>
2630 <actions>
2631 <action function="set">tw_back=mount</action>
2632 <action function="page">system_readonly</action>
2633 </actions>
2634 </action>
2635 </page>
2636
2637 <page name="reboot">
2638 <template name="page"/>
2639
2640 <text style="text_l">
2641 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002642 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 </text>
2644
2645 <button style="main_button">
2646 <condition var1="tw_reboot_system" var2="1"/>
2647 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_back=reboot</action>
2651 <action function="set">tw_action=reboot</action>
2652 <action function="set">tw_action_param=system</action>
2653 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2655 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2656 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2657 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2658 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002659 <action function="page">rebootcheck</action>
2660 </actions>
2661 </button>
2662
2663 <button style="main_button">
2664 <condition var1="tw_reboot_poweroff" var2="1"/>
2665 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <actions>
2668 <action function="set">tw_back=reboot</action>
2669 <action function="set">tw_action=reboot</action>
2670 <action function="set">tw_action_param=poweroff</action>
2671 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2673 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2674 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2675 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2676 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002677 <action function="page">rebootcheck</action>
2678 </actions>
2679 </button>
2680
2681 <button style="main_button">
2682 <condition var1="tw_reboot_recovery" var2="1"/>
2683 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <actions>
2686 <action function="set">tw_back=reboot</action>
2687 <action function="set">tw_action=reboot</action>
2688 <action function="set">tw_action_param=recovery</action>
2689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2691 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2692 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2693 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2694 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002695 <action function="page">rebootcheck</action>
2696 </actions>
2697 </button>
2698
2699 <button style="main_button">
2700 <condition var1="tw_reboot_bootloader" var2="1"/>
2701 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002703 <actions>
2704 <action function="set">tw_back=reboot</action>
2705 <action function="set">tw_action=reboot</action>
2706 <action function="set">tw_action_param=bootloader</action>
2707 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2709 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2710 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2711 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2712 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002713 <action function="page">rebootcheck</action>
2714 </actions>
2715 </button>
2716
2717 <button style="main_button">
2718 <condition var1="tw_download_mode" var2="1"/>
2719 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002720 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002721 <actions>
2722 <action function="set">tw_back=reboot</action>
2723 <action function="set">tw_action=reboot</action>
2724 <action function="set">tw_action_param=download</action>
2725 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2727 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2728 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2729 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2730 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002731 <action function="page">rebootcheck</action>
2732 </actions>
2733 </button>
2734
2735 <action>
2736 <touch key="home"/>
2737 <action function="page">main</action>
2738 </action>
2739
2740 <action>
2741 <touch key="back"/>
2742 <action function="page">main</action>
2743 </action>
2744 </page>
2745
2746 <page name="system_readonly">
2747 <template name="page"/>
2748
2749 <text style="text_l">
2750 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002752 </text>
2753
2754 <text style="text_m_accent">
2755 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002756 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002757 </text>
2758
2759 <text style="text_m">
2760 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002761 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002762 </text>
2763
2764 <text style="text_m">
2765 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002766 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002767 </text>
2768
2769 <text style="text_m">
2770 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002772 </text>
2773
2774 <text style="text_m">
2775 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002776 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002777 </text>
2778
2779 <text style="text_m_fail">
2780 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002782 </text>
2783
2784 <text style="text_m_fail">
2785 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 </text>
2788
2789 <checkbox>
2790 <condition var1="tw_is_encrypted" var2="0"/>
2791 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 <data variable="tw_never_show_system_ro_page"/>
2794 </checkbox>
2795
2796 <button style="main_button_half_height">
2797 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 <actions>
2800 <action function="mountsystemtoggle">1</action>
2801 <action function="set">tw_page_done=1</action>
2802 <action function="page">%tw_back%</action>
2803 </actions>
2804 </button>
2805
z31s1g608d7ff2016-01-18 19:47:25 +01002806 <button style="main_button_half_height">
2807 <placement x="%center_x%" y="%row18a_y%"/>
2808 <text>{@sel_lang_btn=Select Language}</text>
2809 <action function="overlay">select_language</action>
2810 </button>
2811
z31s1g28f0a922015-11-07 18:50:22 +01002812 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <actions>
2815 <action function="mountsystemtoggle">0</action>
2816 <action function="set">tw_page_done=1</action>
2817 <action function="page">%tw_back%</action>
2818 </actions>
2819 </slider>
2820 </page>
2821
2822 <page name="settings">
2823 <template name="page"/>
2824
2825 <text style="text_l">
2826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002828 </text>
2829
2830 <text style="text_m">
2831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002833 </text>
2834
2835 <template name="tabs_settings"/>
2836
2837 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002838 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002839 </fill>
2840
2841 <listbox style="scrolllist">
2842 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2843 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002845 <data variable="tw_signed_zip_verify"/>
2846 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002848 <data variable="tw_rm_rf"/>
2849 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002850 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2851 <data variable="tw_disable_free_space"/>
2852 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002854 <data variable="tw_skip_md5_generate"/>
2855 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002856 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002857 <data variable="tw_skip_md5_check"/>
2858 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002860 <data variable="tw_military_time"/>
2861 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002862 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002863 <data variable="tw_samsung_navbar"/>
2864 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002866 <data variable="tw_simulate_actions"/>
2867 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002869 <condition var1="tw_simulate_actions" var2="1"/>
2870 <data variable="tw_simulate_fail"/>
2871 </listitem>
2872 </listbox>
2873
2874 <button style="main_button_half_height">
2875 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002876 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002877 <actions>
2878 <action function="set">tw_samsung_navbar=0</action>
2879 <action function="set">tw_tab_icons=0</action>
2880 <action function="restoredefaultsettings"/>
2881 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002882 </button>
2883
2884 <action>
2885 <touch key="home"/>
2886 <action function="page">main</action>
2887 </action>
2888
2889 <action>
2890 <touch key="back"/>
2891 <action function="page">main</action>
2892 </action>
2893 </page>
2894
2895 <page name="settings_timezone">
2896 <template name="page"/>
2897
2898 <text style="text_l">
2899 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002900 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002901 </text>
2902
2903 <text style="text_m">
2904 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002905 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002906 </text>
2907
2908 <template name="tabs_settings"/>
2909
2910 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002912 </fill>
2913
2914 <listbox>
2915 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002916 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002917 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002918 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2919 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2920 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2921 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2922 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2923 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2924 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2925 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2926 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2927 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2928 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2929 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2930 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2931 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2932 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2933 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2934 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2935 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2936 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2937 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2938 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2939 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2940 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2941 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002942 </listbox>
2943
2944 <text style="text_m_accent">
2945 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002946 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002947 </text>
2948
2949 <button style="button_quarter_width">
2950 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002951 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002952 <action function="set">tw_time_zone_guioffset=0</action>
2953 </button>
2954
2955 <button style="button_quarter_width">
2956 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002957 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002958 <action function="set">tw_time_zone_guioffset=15</action>
2959 </button>
2960
2961 <button style="button_quarter_width">
2962 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002963 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002964 <action function="set">tw_time_zone_guioffset=30</action>
2965 </button>
2966
2967 <button style="button_quarter_width">
2968 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002969 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002970 <action function="set">tw_time_zone_guioffset=45</action>
2971 </button>
2972
2973 <checkbox>
2974 <placement x="%indent%" y="%row18a_y%"/>
2975 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 <data variable="tw_time_zone_guidst"/>
2978 <image checked="checkbox_true" unchecked="checkbox_false"/>
2979 </checkbox>
2980
2981 <text color="%text_color%">
2982 <font resource="font_m"/>
2983 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <button>
2988 <highlight color="%highlight_color%"/>
2989 <placement x="%center_x%" y="%row21a_y%"/>
2990 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 <image resource="main_button_half_height"/>
2993 <action function="setguitimezone"/>
2994 </button>
2995
2996 <action>
2997 <touch key="home"/>
2998 <action function="page">main</action>
2999 </action>
3000
3001 <action>
3002 <touch key="back"/>
3003 <action function="page">main</action>
3004 </action>
3005 </page>
3006
3007 <page name="settings_screen">
3008 <template name="page"/>
3009
3010 <text style="text_l">
3011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003012 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003013 </text>
3014
3015 <text style="text_m">
3016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <template name="tabs_settings"/>
3021
3022 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003024 </fill>
3025
3026 <button>
3027 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3028 <font resource="font_m" color="%text_color%"/>
3029 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3030 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003032 <image resource="checkbox_false"/>
3033 <action function="set">tw_screen_timeout_secs=60</action>
3034 </button>
3035
3036 <button>
3037 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3038 <font resource="font_m" color="%text_color%"/>
3039 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3040 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003041 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003042 <image resource="checkbox_true"/>
3043 <action function="set">tw_screen_timeout_secs=0</action>
3044 </button>
3045
3046 <slidervalue>
3047 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3048 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3049 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003051 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3052 </slidervalue>
3053
3054 <slidervalue>
3055 <condition var1="tw_has_brightnesss_file" var2="1"/>
3056 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 <data variable="tw_brightness_pct" min="10" max="100"/>
3059 <actions>
3060 <action function="set">tw_brightness=%tw_brightness_max%</action>
3061 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3062 <action function="compute">tw_brightness/100</action>
3063 <action function="setbrightness">%tw_brightness%</action>
3064 </actions>
3065 </slidervalue>
3066
3067 <action>
3068 <touch key="home"/>
3069 <action function="page">main</action>
3070 </action>
3071
3072 <action>
3073 <touch key="back"/>
3074 <action function="page">main</action>
3075 </action>
3076 </page>
3077
3078 <page name="settings_vibration">
3079 <template name="page"/>
3080
3081 <text style="text_l">
3082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 </text>
3085
3086 <text style="text_m">
3087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 </text>
3090
3091 <template name="tabs_settings"/>
3092
3093 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003095 </fill>
3096
3097 <slidervalue>
3098 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 <data variable="tw_button_vibrate" min="0" max="300"/>
3101 </slidervalue>
3102
3103 <slidervalue>
3104 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3107 </slidervalue>
3108
3109 <slidervalue>
3110 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <data variable="tw_action_vibrate" min="0" max="500"/>
3113 </slidervalue>
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">main</action>
3123 </action>
3124 </page>
3125
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <page name="settings_language">
3127 <template name="page"/>
3128
3129 <text style="text_l">
3130 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3131 <text>{@settings_hdr=Settings}</text>
3132 </text>
3133
3134 <text style="text_m">
3135 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3136 <text>{@language_hdr=Language - %tw_language_display%}</text>
3137 </text>
3138
3139 <template name="tabs_settings"/>
3140
3141 <fill color="%text_color%">
3142 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3143 </fill>
3144
3145 <listbox>
3146 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3147 <text>{@select_language=Select Language:}</text>
3148 <icon selected="radio_true" unselected="radio_false" />
3149 <data name="tw_language" />
3150 </listbox>
3151
3152 <button style="main_button_half_height">
3153 <placement x="%center_x%" y="%row21a_y%"/>
3154 <text>{@set_language_btn=Set Language}</text>
3155 <action function="setlanguage"></action>
3156 </button>
3157
3158 <action>
3159 <touch key="home" />
3160 <action function="page">main</action>
3161 </action>
3162
3163 <action>
3164 <touch key="back" />
3165 <action function="page">settings</action>
3166 </action>
3167 </page>
3168
z31s1g28f0a922015-11-07 18:50:22 +01003169 <page name="advanced">
3170 <template name="page"/>
3171
3172 <text style="text_l">
3173 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003174 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003175 </text>
3176
3177 <button style="main_button">
3178 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 <actions>
3181 <action function="set">tw_back=advanced</action>
3182 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3184 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3185 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3186 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003187 <action function="page">confirm_action</action>
3188 </actions>
3189 </button>
3190
3191 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003192 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003193 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003194 <text>{@fix_context_btn=Fix Contexts}</text>
3195 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003196 </button>
3197
3198 <button style="main_button">
3199 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3200 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003202 <actions>
3203 <action function="set">partitionlisterror=0</action>
3204 <action function="page">partsdcardsel</action>
3205 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003206 </button>
3207
3208 <button style="main_button">
3209 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 <action function="page">filemanagerlist</action>
3212 </button>
3213
3214 <button style="main_button">
3215 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003217 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003218 </button>
3219
3220 <button style="main_button">
3221 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003222 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003223 <action function="reload"/>
3224 </button>
3225
3226 <button style="main_button">
3227 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003229 <action function="page">sideload</action>
3230 </button>
3231
3232 <button style="main_button">
3233 <condition var1="tw_show_dumlock" var2="1"/>
3234 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="page">htcdumlock</action>
3237 </button>
3238
3239 <button style="main_button">
3240 <condition var1="tw_has_injecttwrp" var2="1"/>
3241 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 <actions>
3244 <action function="set">tw_back=advanced</action>
3245 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3247 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3248 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3249 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003250 <action function="page">confirm_action</action>
3251 </actions>
3252 </button>
3253
3254 <action>
3255 <touch key="home"/>
3256 <action function="page">main</action>
3257 </action>
3258
3259 <action>
3260 <touch key="back"/>
3261 <action function="page">main</action>
3262 </action>
3263 </page>
3264
Ethan Yonker483e9f42016-01-11 22:21:18 -06003265 <page name="partsdcardsel">
3266 <template name="page"/>
3267
3268 <text style="text_l">
3269 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3270 <text>{@advanced_hdr=Advanced}</text>
3271 </text>
3272
3273 <text style="text_m">
3274 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3275 <text>{@part_sd_hdr=Partition SD Card}</text>
3276 </text>
3277
z31s1g782e1c92016-01-30 16:50:09 +01003278 <partitionlist>
3279 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003280 <text>{@sel_storage_list=Select Storage}</text>
3281 <data name="tw_storage_path"/>
3282 <listtype name="storage"/>
3283 </partitionlist>
3284
3285 <text style="text_m_fail">
3286 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003287 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003288 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3289 </text>
3290
z31s1g782e1c92016-01-30 16:50:09 +01003291 <button style="main_button_half_height">
3292 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003293 <text>{@ok_btn=OK}</text>
3294 <actions>
3295 <action function="getpartitiondetails">tw_storage_path</action>
3296 <action function="page">partsdcardcheck</action>
3297 </actions>
3298 </button>
3299
3300 <action>
3301 <touch key="home"/>
3302 <action function="page">main</action>
3303 </action>
3304
3305 <action>
3306 <touch key="back"/>
3307 <action function="page">advanced</action>
3308 </action>
3309 </page>
3310
3311 <page name="partsdcardcheck">
3312 <action>
3313 <condition var1="tw_partition_removable" op="=" var2="1"/>
3314 <actions>
3315 <action function="set">partitionlisterror=0</action>
3316 <action function="page">partsdcard</action>
3317 </actions>
3318 </action>
3319
3320 <action>
3321 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3322 <actions>
3323 <action function="set">partitionlisterror=1</action>
3324 <action function="page">partsdcardsel</action>
3325 </actions>
3326 </action>
3327 </page>
3328
z31s1g28f0a922015-11-07 18:50:22 +01003329 <page name="partsdcard">
3330 <template name="page"/>
3331
3332 <text style="text_l">
3333 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </text>
3336
3337 <text style="text_m">
3338 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <text style="text_m_fail">
3343 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003345 </text>
3346
3347 <text style="text_m_fail">
3348 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003350 </text>
3351
3352 <text style="text_m_accent">
3353 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 </text>
3356
3357 <text style="text_m">
3358 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3359 <text>%tw_sdext_size%</text>
3360 </text>
3361
3362 <button style="button_quarter_width">
3363 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003365 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003366 </button>
3367
3368 <button style="button_quarter_width">
3369 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003370 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003371 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003372 </button>
3373
3374 <text style="text_m_accent">
3375 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 </text>
3378
3379 <text style="text_m">
3380 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3381 <text>%tw_swap_size%</text>
3382 </text>
3383
3384 <button style="button_quarter_width">
3385 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003386 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003387 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003388 </button>
3389
3390 <button style="button_quarter_width">
3391 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003393 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003394 </button>
3395
3396 <text style="text_m_accent">
3397 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003399 </text>
3400
3401 <text style="text_m">
3402 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3403 <text>%tw_sdpart_file_system%</text>
3404 </text>
3405
3406 <button style="button_quarter_width">
3407 <placement x="%indent%" y="%row14_y%"/>
3408 <text>EXT3</text>
3409 <action function="set">tw_sdpart_file_system=ext3</action>
3410 </button>
3411
3412 <button style="button_quarter_width">
3413 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3414 <text>EXT4</text>
3415 <action function="set">tw_sdpart_file_system=ext4</action>
3416 </button>
3417
3418 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003420 <action function="page">partsdcardaction</action>
3421 <actions>
3422 <action function="set">tw_back=partsdcard</action>
3423 <action function="set">tw_action=partitionsd</action>
3424 <action function="set">tw_has_action2=1</action>
3425 <action function="set">tw_action2=set</action>
3426 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3428 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3429 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003430 <action function="page">action_page</action>
3431 </actions>
3432 </slider>
3433
3434 <action>
3435 <touch key="home"/>
3436 <action function="page">main</action>
3437 </action>
3438
3439 <action>
3440 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003441 <actions>
3442 <action function="set">partitionlisterror=0</action>
3443 <action function="page">partsdcardsel</action>
3444 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </action>
3446 </page>
3447
3448 <page name="htcdumlock">
3449 <template name="page"/>
3450
3451 <text style="text_l">
3452 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003454 </text>
3455
3456 <text style="text_m">
3457 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </text>
3460
3461 <button style="main_button_half_height_full_width">
3462 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003463 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003464 <actions>
3465 <action function="set">tw_back=htcdumlock</action>
3466 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3468 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3469 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3470 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003471 <action function="page">confirm_action</action>
3472 </actions>
3473 </button>
3474
3475 <button style="main_button_half_height_full_width">
3476 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003477 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <actions>
3479 <action function="set">tw_back=htcdumlock</action>
3480 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3482 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3483 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3484 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <action function="page">confirm_action</action>
3486 </actions>
3487 </button>
3488
3489 <button style="main_button_half_height_full_width">
3490 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 <actions>
3493 <action function="set">tw_back=htcdumlock</action>
3494 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3496 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3497 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3498 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003499 <action function="page">confirm_action</action>
3500 </actions>
3501 </button>
3502
3503 <action>
3504 <touch key="home"/>
3505 <action function="page">main</action>
3506 </action>
3507
3508 <action>
3509 <touch key="back"/>
3510 <action function="page">advanced</action>
3511 </action>
3512 </page>
3513
3514 <page name="lock">
3515 <background color="%semi_transparent%"/>
3516
3517 <image>
3518 <image resource="unlock_icon"/>
3519 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3520 </image>
3521
3522 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <action function="overlay"/>
3525 </slider>
3526 </page>
3527
3528 <page name="filemanagerlist">
3529 <template name="page"/>
3530
3531 <text style="text_l">
3532 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 </text>
3535
3536 <text style="text_m">
3537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003539 </text>
3540
3541 <template name="sort_options"/>
3542
3543 <fileselector>
3544 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3545 <text>%tw_file_location1%</text>
3546 <filter folders="1" files="1"/>
3547 <path name="tw_file_location1" default="/"/>
3548 <data name="tw_filename1"/>
3549 <selection name="tw_selection1"/>
3550 </fileselector>
3551
3552 <button style="fab">
3553 <image resource="fab_selectfolder"/>
3554 <actions>
3555 <action function="set">tw_filename1=tw_file_location1</action>
3556 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <action function="page">filemanageroptions</action>
3559 </actions>
3560 </button>
3561
3562 <action>
3563 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <action function="set">tw_fm_isfolder=0</action>
3566 </actions>
3567 </action>
3568
3569 <action>
3570 <touch key="home"/>
3571 <action function="page">main</action>
3572 </action>
3573
3574 <action>
3575 <touch key="back"/>
3576 <action function="page">advanced</action>
3577 </action>
3578
3579 <action>
3580 <condition var1="tw_filename1" op="modified"/>
3581 <action function="page">filemanageroptions</action>
3582 </action>
3583 </page>
3584
3585 <page name="filemanageroptions">
3586 <template name="page"/>
3587
3588 <text style="text_l">
3589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </text>
3592
3593 <text style="text_m">
3594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </text>
3597
3598 <text style="text_m_accent">
3599 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%indent%" y="%row3_y%"/>
3605 <text>%tw_filename1%</text>
3606 </text>
3607
3608 <button style="main_button_half_height">
3609 <condition var1="tw_fm_isfolder" var2="0"/>
3610 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <actions>
3613 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <action function="page">choosedestinationfolder</action>
3616 </actions>
3617 </button>
3618
3619 <button style="main_button_half_height">
3620 <condition var1="tw_fm_isfolder" var2="1"/>
3621 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003623 <actions>
3624 <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 -05003625 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003626 <action function="page">choosedestinationfolder</action>
3627 </actions>
3628 </button>
3629
3630 <button style="main_button_half_height">
3631 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003633 <actions>
3634 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <action function="page">choosedestinationfolder</action>
3637 </actions>
3638 </button>
3639
3640 <button style="main_button_half_height">
3641 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <actions>
3644 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <action function="set">tw_fm_text2=</action>
3647 <action function="set">tw_fm_text3=</action>
3648 <action function="set">tw_include_text3=0</action>
3649 <action function="set">tw_back=filemanageroptions</action>
3650 <action function="page">filemanagerconfirm</action>
3651 </actions>
3652 </button>
3653
3654 <button style="main_button_half_height">
3655 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 <actions>
3658 <action function="set">tw_filemanager_rename=0000</action>
3659 <action function="set">tw_fm_text2=</action>
3660 <action function="set">tw_fm_text3=</action>
3661 <action function="set">tw_include_text3=0</action>
3662 <action function="set">tw_back=filemanageroptions</action>
3663 <action function="page">filemanagerchmod</action>
3664 </actions>
3665 </button>
3666
3667 <button style="main_button_half_height">
3668 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 <actions>
3671 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="set">tw_fm_text2=</action>
3674 <action function="set">tw_fm_text3=</action>
3675 <action function="set">tw_include_text3=0</action>
3676 <action function="set">tw_back=filemanageroptions</action>
3677 <action function="page">filemanagerconfirm</action>
3678 </actions>
3679 </button>
3680
3681 <button style="main_button_half_height">
3682 <condition var1="tw_fm_isfolder" var2="0"/>
3683 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <actions>
3686 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003688 <action function="set">tw_filemanager_command=mv</action>
3689 <action function="page">filemanagerrenamefile</action>
3690 </actions>
3691 </button>
3692
3693 <button style="main_button_half_height">
3694 <condition var1="tw_fm_isfolder" var2="1"/>
3695 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 <actions>
3698 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003700 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3701 <action function="page">filemanagerrenamefolder</action>
3702 </actions>
3703 </button>
3704
3705 <action>
3706 <touch key="home"/>
3707 <action function="page">main</action>
3708 </action>
3709
3710 <action>
3711 <touch key="back"/>
3712 <action function="page">filemanagerlist</action>
3713 </action>
3714 </page>
3715
3716 <page name="choosedestinationfolder">
3717 <template name="page"/>
3718
3719 <text style="text_l">
3720 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003722 </text>
3723
3724 <text style="text_m">
3725 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 </text>
3728
3729 <template name="sort_options"/>
3730
3731 <fileselector>
3732 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3733 <text>%tw_file_location2%</text>
3734 <filter folders="1" files="0"/>
3735 <path name="tw_file_location2" default="/"/>
3736 <data name="tw_filename2"/>
3737 <selection name="tw_selection2"/>
3738 </fileselector>
3739
3740 <button style="fab">
3741 <image resource="fab_selectfolder"/>
3742 <actions>
3743 <action function="set">tw_fm_text2=to</action>
3744 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3745 <action function="set">tw_include_text3=1</action>
3746 <action function="set">tw_back=filemanageroptions</action>
3747 <action function="page">filemanagerconfirm</action>
3748 </actions>
3749 </button>
3750
3751 <action>
3752 <touch key="home"/>
3753 <action function="page">main</action>
3754 </action>
3755
3756 <action>
3757 <touch key="back"/>
3758 <action function="page">filemanageroptions</action>
3759 </action>
3760 </page>
3761
3762 <page name="filemanagerrenamefile">
3763 <template name="page"/>
3764
3765 <text style="text_l">
3766 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003767 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003768 </text>
3769
3770 <text style="text_m">
3771 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 </text>
3774
3775 <text style="text_m_accent">
3776 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 </text>
3779
3780 <input>
3781 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3782 <text>%tw_filemanager_rename%</text>
3783 <data name="tw_filemanager_rename"/>
3784 <restrict minlen="1" maxlen="128"/>
3785 <actions>
3786 <action function="set">tw_fm_text2=to</action>
3787 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3788 <action function="set">tw_include_text3=1</action>
3789 <action function="set">tw_back=filemanageroptions</action>
3790 <action function="page">filemanagerconfirm</action>
3791 </actions>
3792 </input>
3793
3794 <fill color="%accent_color%">
3795 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3796 </fill>
3797
3798 <button style="main_button_half_height">
3799 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003800 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003801 <action function="page">filemanageroptions</action>
3802 </button>
3803
3804 <template name="keyboardtemplate"/>
3805
3806 <action>
3807 <touch key="home"/>
3808 <action function="page">main</action>
3809 </action>
3810
3811 <action>
3812 <touch key="back"/>
3813 <action function="page">filemanageroptions</action>
3814 </action>
3815 </page>
3816
3817 <page name="filemanagerrenamefolder">
3818 <template name="page"/>
3819
3820 <text style="text_l">
3821 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003823 </text>
3824
3825 <text style="text_m">
3826 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <text style="text_m_accent">
3831 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <input>
3836 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3837 <text>%tw_filemanager_rename%</text>
3838 <data name="tw_filemanager_rename"/>
3839 <restrict minlen="1" maxlen="128"/>
3840 <actions>
3841 <action function="set">tw_fm_text2=to</action>
3842 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3843 <action function="set">tw_include_text3=1</action>
3844 <action function="set">tw_back=filemanageroptions</action>
3845 <action function="page">filemanagerconfirm</action>
3846 </actions>
3847 </input>
3848
3849 <fill color="%accent_color%">
3850 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3851 </fill>
3852
3853 <button style="main_button_half_height">
3854 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 <action function="page">filemanageroptions</action>
3857 </button>
3858
3859 <template name="keyboardtemplate"/>
3860
3861 <action>
3862 <touch key="home"/>
3863 <action function="page">main</action>
3864 </action>
3865
3866 <action>
3867 <touch key="back"/>
3868 <action function="page">filemanageroptions</action>
3869 </action>
3870 </page>
3871
3872 <page name="filemanagerchmod">
3873 <template name="page"/>
3874
3875 <text style="text_l">
3876 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 </text>
3879
3880 <text style="text_m">
3881 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 </text>
3884
3885 <text style="text_m_accent">
3886 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 </text>
3889
3890 <input>
3891 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3892 <text>%tw_filemanager_rename%</text>
3893 <data name="tw_filemanager_rename"/>
3894 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3895 <actions>
3896 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3897 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3898 <action function="set">tw_back=filemanageroptions</action>
3899 <action function="page">filemanagerconfirm</action>
3900 </actions>
3901 </input>
3902
3903 <fill color="%accent_color%">
3904 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3905 </fill>
3906
3907 <button style="main_button_half_height">
3908 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003910 <action function="page">filemanageroptions</action>
3911 </button>
3912
3913 <template name="keyboardtemplate"/>
3914
3915 <action>
3916 <touch key="home"/>
3917 <action function="page">main</action>
3918 </action>
3919
3920 <action>
3921 <touch key="back"/>
3922 <action function="page">filemanageroptions</action>
3923 </action>
3924 </page>
3925
3926 <page name="filemanagerconfirm">
3927 <template name="page"/>
3928
3929 <text style="text_l">
3930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m">
3935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <text style="text_m_accent">
3940 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3941 <text>%tw_fm_text1%</text>
3942 </text>
3943
3944 <text style="text_m">
3945 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3946 <text>%tw_filename1%</text>
3947 </text>
3948
3949 <text style="text_m_accent">
3950 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3951 <text>%tw_fm_text2%</text>
3952 </text>
3953
3954 <text style="text_m">
3955 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3956 <text>%tw_fm_text3%</text>
3957 </text>
3958
3959 <text style="text_m">
3960 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <action function="page">filemanageraction</action>
3967 </slider>
3968
3969 <action>
3970 <touch key="back"/>
3971 <action function="page">%tw_back%</action>
3972 </action>
3973
3974 <action>
3975 <touch key="home"/>
3976 <action function="page">main</action>
3977 </action>
3978 </page>
3979
3980 <page name="filemanageraction">
3981 <template name="page"/>
3982
3983 <text style="text_l">
3984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 </text>
3987
3988 <text style="text_m">
3989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3990 <text>%tw_fm_text1%</text>
3991 </text>
3992
3993 <template name="console"/>
3994
3995 <template name="progress_bar"/>
3996
3997 <action>
3998 <conditions>
3999 <condition var1="tw_operation_state" var2="1"/>
4000 <condition var1="tw_operation_status" var2="0"/>
4001 </conditions>
4002 <actions>
4003 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004005 <action function="page">action_complete</action>
4006 </actions>
4007 </action>
4008
4009 <action>
4010 <conditions>
4011 <condition var1="tw_operation_state" var2="1"/>
4012 <condition var1="tw_operation_status" op="!=" var2="0"/>
4013 </conditions>
4014 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004015 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004016 <action function="page">action_complete</action>
4017 </actions>
4018 </action>
4019
4020 <action>
4021 <condition var1="tw_include_text3" var2="0"/>
4022 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4023 </action>
4024
4025 <action>
4026 <condition var1="tw_include_text3" var2="1"/>
4027 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4028 </action>
4029 </page>
4030
4031 <page name="decrypt">
4032 <template name="page"/>
4033
4034 <action>
4035 <condition var1="tw_crypto_pwtype" var2="2"/>
4036 <action function="page">decrypt_pattern</action>
4037 </action>
4038
4039 <text style="text_l">
4040 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 </text>
4043
4044 <text style="text_m">
4045 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 </text>
4048
4049 <text style="text_m_accent">
4050 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004051 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004052 </text>
4053
4054 <input>
4055 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4056 <text>%tw_crypto_display%</text>
4057 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4058 <restrict minlen="1" maxlen="254"/>
4059 <action function="page">trydecrypt</action>
4060 </input>
4061
4062 <fill color="%accent_color%">
4063 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4064 </fill>
4065
4066 <fill color="%text_fail_color%">
4067 <condition var1="tw_password_fail" var2="1"/>
4068 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4069 </fill>
4070
4071 <text style="text_m_fail">
4072 <condition var1="tw_password_fail" var2="1"/>
4073 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004074 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 </text>
4076
4077 <button style="main_button_half_height">
4078 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <actions>
4081 <action function="set">tw_page_done=1</action>
4082 <action function="page">main</action>
4083 </actions>
4084 </button>
4085
z31s1g608d7ff2016-01-18 19:47:25 +01004086 <button style="main_button_half_height">
4087 <placement x="%center_x%" y="%row10_y%"/>
4088 <text>{@sel_lang_btn=Select Language}</text>
4089 <action function="overlay">select_language</action>
4090 </button>
4091
z31s1g28f0a922015-11-07 18:50:22 +01004092 <template name="keyboardtemplate"/>
4093 </page>
4094
4095 <page name="decrypt_pattern">
4096 <template name="page"/>
4097
4098 <text style="text_l">
4099 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004100 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004101 </text>
4102
4103 <text style="text_m">
4104 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004105 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004106 </text>
4107
4108 <text style="text_m_accent">
4109 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004110 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004111 </text>
4112
Aleksa Saraib25a1832015-12-31 17:36:00 +01004113 <text style="text_m_fail">
4114 <condition var1="tw_password_fail" var2="1"/>
4115 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004116 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004117 </text>
4118
z31s1g28f0a922015-11-07 18:50:22 +01004119 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004120 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004121 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4122 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4123 <data name="tw_crypto_password"/>
4124 <action function="page">trydecrypt</action>
4125 </patternpassword>
4126
Aleksa Saraib25a1832015-12-31 17:36:00 +01004127 <button style="button_quarter_width">
4128 <placement x="%indent%" y="%row19a_y%"/>
4129 <text>3x3</text>
4130 <action function="set">tw_gui_pattern_grid_size=3</action>
4131 </button>
4132
4133 <button style="button_quarter_width">
4134 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4135 <text>4x4</text>
4136 <action function="set">tw_gui_pattern_grid_size=4</action>
4137 </button>
4138
4139 <button style="button_quarter_width">
4140 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4141 <text>5x5</text>
4142 <action function="set">tw_gui_pattern_grid_size=5</action>
4143 </button>
4144
4145 <button style="button_quarter_width">
4146 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4147 <text>6x6</text>
4148 <action function="set">tw_gui_pattern_grid_size=6</action>
4149 </button>
4150
z31s1g28f0a922015-11-07 18:50:22 +01004151 <button style="main_button_half_height">
4152 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 <actions>
4155 <action function="set">tw_page_done=1</action>
4156 <action function="page">main</action>
4157 </actions>
4158 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004159
4160 <button style="main_button_half_height">
4161 <placement x="%center_x%" y="%row21a_y%"/>
4162 <text>{@sel_lang_btn=Select Language}</text>
4163 <action function="overlay">select_language</action>
4164 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004165 </page>
4166
4167 <page name="trydecrypt">
4168 <template name="page"/>
4169
4170 <text style="text_l">
4171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004172 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004173 </text>
4174
4175 <text style="text_m">
4176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 </text>
4179
4180 <template name="console"/>
4181
4182 <template name="progress_bar"/>
4183
4184 <action>
4185 <action function="decrypt"/>
4186 </action>
4187
4188 <action>
4189 <conditions>
4190 <condition var1="tw_operation_state" var2="1"/>
4191 <condition var1="tw_operation_status" op="!=" var2="0"/>
4192 </conditions>
4193 <actions>
4194 <action function="set">tw_password_fail=1</action>
4195 <action function="page">decrypt</action>
4196 </actions>
4197 </action>
4198
4199 <action>
4200 <conditions>
4201 <condition var1="tw_operation_state" var2="1"/>
4202 <condition var1="tw_operation_status" op="=" var2="0"/>
4203 </conditions>
4204 <actions>
4205 <action function="set">tw_page_done=1</action>
4206 <action function="page">main</action>
4207 </actions>
4208 </action>
4209 </page>
4210
z31s1g28f0a922015-11-07 18:50:22 +01004211 <page name="terminalcommand">
4212 <template name="page"/>
4213
z31s1g56189522016-01-13 19:12:40 +01004214 <fill color="%background_color%">
4215 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004216 </fill>
4217
z31s1g56189522016-01-13 19:12:40 +01004218 <terminal>
4219 <condition var1="tw_hide_kb" var2="0"/>
4220 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4221 </terminal>
4222
4223 <terminal>
4224 <condition var1="tw_hide_kb" var2="1"/>
4225 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4226 </terminal>
4227
4228 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004229
4230 <template name="keyboardtemplate"/>
4231
z31s1g608d7ff2016-01-18 19:47:25 +01004232 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004233 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004234 </fill>
z31s1g56189522016-01-13 19:12:40 +01004235
z31s1g608d7ff2016-01-18 19:47:25 +01004236 <button>
z31s1g56189522016-01-13 19:12:40 +01004237 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4238 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4239 <image resource="back" />
4240 <condition var1="tw_busy" var2="0" />
4241 <actions>
4242 <action function="set">tw_hide_kb=0</action>
4243 <action function="key">back</action>
4244 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004245 </button>
z31s1g56189522016-01-13 19:12:40 +01004246
z31s1g608d7ff2016-01-18 19:47:25 +01004247 <button>
z31s1g56189522016-01-13 19:12:40 +01004248 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4249 <condition var1="tw_hide_kb" op="=" var2="0" />
4250 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4251 <image resource="kb_hide" />
4252 <condition var1="tw_busy" var2="0" />
4253 <actions>
4254 <action function="set">tw_hide_kb=1</action>
4255 <action function="page">terminalcommand</action>
4256 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004257 </button>
z31s1g56189522016-01-13 19:12:40 +01004258
z31s1g608d7ff2016-01-18 19:47:25 +01004259 <button>
z31s1g56189522016-01-13 19:12:40 +01004260 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4261 <condition var1="tw_hide_kb" op="=" var2="1" />
4262 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4263 <image resource="kb_show" />
4264 <condition var1="tw_busy" var2="0" />
4265 <actions>
4266 <action function="set">tw_hide_kb=0</action>
4267 <action function="page">terminalcommand</action>
4268 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004269 </button>
z31s1g56189522016-01-13 19:12:40 +01004270
z31s1g608d7ff2016-01-18 19:47:25 +01004271 <button>
z31s1g56189522016-01-13 19:12:40 +01004272 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4273 <image resource="home" />
4274 <condition var1="tw_busy" var2="0" />
4275 <actions>
4276 <action function="set">tw_hide_kb=0</action>
4277 <action function="key">home</action>
4278 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004279 </button>
z31s1g56189522016-01-13 19:12:40 +01004280
z31s1g608d7ff2016-01-18 19:47:25 +01004281 <button>
z31s1g56189522016-01-13 19:12:40 +01004282 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4283 <condition var1="tw_hide_kb" op="=" var2="0" />
4284 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4285 <image resource="kb_hide" />
4286 <condition var1="tw_busy" var2="0" />
4287 <actions>
4288 <action function="set">tw_hide_kb=1</action>
4289 <action function="page">terminalcommand</action>
4290 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004291 </button>
z31s1g56189522016-01-13 19:12:40 +01004292
z31s1g608d7ff2016-01-18 19:47:25 +01004293 <button>
z31s1g56189522016-01-13 19:12:40 +01004294 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4295 <condition var1="tw_hide_kb" op="=" var2="1" />
4296 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4297 <image resource="kb_show" />
4298 <condition var1="tw_busy" var2="0" />
4299 <actions>
4300 <action function="set">tw_hide_kb=0</action>
4301 <action function="page">terminalcommand</action>
4302 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004303 </button>
z31s1g56189522016-01-13 19:12:40 +01004304
z31s1g608d7ff2016-01-18 19:47:25 +01004305 <button>
z31s1g56189522016-01-13 19:12:40 +01004306 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4307 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4308 <image resource="back" />
4309 <condition var1="tw_busy" var2="0" />
4310 <actions>
4311 <action function="set">tw_hide_kb=0</action>
4312 <action function="key">back</action>
4313 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004314 </button>
z31s1g56189522016-01-13 19:12:40 +01004315
z31s1g28f0a922015-11-07 18:50:22 +01004316 <action>
4317 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004318 <actions>
4319 <action function="set">tw_hide_kb=0</action>
4320 <action function="page">main</action>
4321 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004322 </action>
4323
4324 <action>
4325 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004326 <actions>
4327 <action function="set">tw_hide_kb=0</action>
4328 <action function="page">advanced</action>
4329 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </action>
z31s1g56189522016-01-13 19:12:40 +01004331
z31s1g608d7ff2016-01-18 19:47:25 +01004332 <action>
z31s1g56189522016-01-13 19:12:40 +01004333 <touch key="power+voldown" />
4334 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004335 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004336 </page>
4337
4338 <page name="sideload">
4339 <template name="page"/>
4340
4341 <text style="text_l">
4342 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <text style="text_m">
4347 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 </text>
4350
4351 <checkbox>
4352 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 <data variable="tw_wipe_dalvik"/>
4355 </checkbox>
4356
4357 <checkbox>
4358 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004360 <data variable="tw_wipe_cache"/>
4361 </checkbox>
4362
4363 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004364 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004365 <actions>
4366 <action function="set">tw_back=advanced</action>
4367 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4369 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4370 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004371 <action function="set">tw_has_cancel=1</action>
4372 <action function="set">tw_show_reboot=1</action>
4373 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4374 <action function="page">action_page</action>
4375 </actions>
4376 </slider>
4377
4378 <action>
4379 <touch key="home"/>
4380 <action function="page">main</action>
4381 </action>
4382
4383 <action>
4384 <touch key="back"/>
4385 <action function="page">advanced</action>
4386 </action>
4387 </page>
4388
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004389 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004390 <template name="page"/>
4391
4392 <text style="text_l">
4393 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004394 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004395 </text>
4396
4397 <text style="text_m">
4398 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004399 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <text style="text_m_accent">
4403 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004404 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </text>
4406
z31s1g28f0a922015-11-07 18:50:22 +01004407 <text style="text_m_fail">
4408 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004409 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 </text>
4411
4412 <text style="text_m_fail">
4413 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004414 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004415 </text>
4416
4417 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004418 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004419 <actions>
4420 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004421 <action function="set">tw_action=fixcontexts</action>
4422 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4423 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004425 <action function="set">tw_show_reboot=1</action>
4426 <action function="page">action_page</action>
4427 </actions>
4428 </slider>
4429
4430 <action>
4431 <touch key="home"/>
4432 <action function="page">main</action>
4433 </action>
4434
4435 <action>
4436 <touch key="back"/>
4437 <action function="page">advanced</action>
4438 </action>
4439 </page>
4440
4441 <page name="installsu">
4442 <template name="page"/>
4443
4444 <text style="text_l">
4445 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <text style="text_m">
4450 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m_accent">
4455 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m">
4460 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m">
4465 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <button style="main_button_half_height">
4470 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004471 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004472 <action function="set">tw_page_done=1</action>
4473 </button>
4474
4475 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 <actions>
4478 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004480 <action function="set">tw_action_text2=</action>
4481 <action function="page">singleaction_page</action>
4482 </actions>
4483 </slider>
4484 </page>
4485
4486 <page name="slideout">
4487 <fill color="%background_color%">
4488 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4489 </fill>
4490
4491 <console>
4492 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4493 </console>
4494
4495 <button>
4496 <fill color="%transparent%"/>
4497 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4498 <action function="overlay"/>
4499 </button>
4500
4501 <action>
4502 <touch key="power+voldown"/>
4503 <action function="screenshot"/>
4504 </action>
4505 </page>
4506
4507 <page name="select_storage">
4508 <fill color="%semi_transparent%">
4509 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4510 </fill>
4511
4512 <fill color="%background_color%">
4513 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4514 </fill>
4515
4516 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004518 <data name="tw_storage_path"/>
4519 <listtype name="storage"/>
4520 </partitionlist>
4521
4522 <button style="button_third_width">
4523 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004524 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004525 <actions>
4526 <action function="set">tw_clear_destination=%tw_back%</action>
4527 <action function="overlay"/>
4528 <action function="page">clear_vars</action>
4529 </actions>
4530 </button>
4531
4532 <fill color="#000000">
4533 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4534 </fill>
4535
4536 <button>
4537 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4538 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4539 <image resource="back"/>
4540 <condition var1="tw_busy" var2="0"/>
4541 <actions>
4542 <action function="overlay"/>
4543 <action function="key">%tw_back%</action>
4544 </actions>
4545 </button>
4546
4547 <button>
4548 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4549 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4550 <image resource="console"/>
4551 <condition var1="tw_busy" var2="0"/>
4552 <action function="overlay">slideout</action>
4553 </button>
4554
4555 <button>
4556 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4557 <image resource="home"/>
4558 <condition var1="tw_busy" var2="0"/>
4559 <actions>
4560 <action function="overlay"/>
4561 <action function="key">home</action>
4562 </actions>
4563 </button>
4564
4565 <button>
4566 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4567 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4568 <image resource="console"/>
4569 <condition var1="tw_busy" var2="0"/>
4570 <action function="overlay">slideout</action>
4571 </button>
4572
4573 <button>
4574 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4575 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4576 <image resource="back"/>
4577 <condition var1="tw_busy" var2="0"/>
4578 <actions>
4579 <action function="overlay"/>
4580 <action function="key">%tw_back%</action>
4581 </actions>
4582 </button>
4583
4584 <action>
4585 <touch key="power+voldown"/>
4586 <action function="screenshot"/>
4587 </action>
4588 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004589
4590 <page name="select_language">
4591 <fill color="%semi_transparent%">
4592 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4593 </fill>
4594
4595 <fill color="%background_color%">
4596 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4597 </fill>
4598
4599 <listbox>
4600 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4601 <text>{@select_language=Select Language:}</text>
4602 <icon selected="radio_true" unselected="radio_false" />
4603 <data name="tw_language" />
4604 </listbox>
4605
4606 <button style="button_third_width">
4607 <placement x="%dialog_button_x%" y="%row14_y%"/>
4608 <text>{@ok_btn=OK}</text>
4609 <actions>
4610 <action function="overlay"/>
4611 <action function="setlanguage"></action>
4612 </actions>
4613 </button>
4614
4615 <fill color="#000000">
4616 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4617 </fill>
4618
4619 <button>
4620 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4621 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4622 <image resource="back"/>
4623 <condition var1="tw_busy" var2="0"/>
4624 <actions>
4625 <action function="overlay"/>
4626 <action function="key">%tw_back%</action>
4627 </actions>
4628 </button>
4629
4630 <button>
4631 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4632 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4633 <image resource="console"/>
4634 <condition var1="tw_busy" var2="0"/>
4635 <action function="overlay">slideout</action>
4636 </button>
4637
4638 <button>
4639 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4640 <image resource="home"/>
4641 <condition var1="tw_busy" var2="0"/>
4642 <actions>
4643 <action function="overlay"/>
4644 <action function="key">home</action>
4645 </actions>
4646 </button>
4647
4648 <button>
4649 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4650 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4651 <image resource="console"/>
4652 <condition var1="tw_busy" var2="0"/>
4653 <action function="overlay">slideout</action>
4654 </button>
4655
4656 <button>
4657 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4658 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4659 <image resource="back"/>
4660 <condition var1="tw_busy" var2="0"/>
4661 <actions>
4662 <action function="overlay"/>
4663 <action function="key">%tw_back%</action>
4664 </actions>
4665 </button>
4666
4667 <action>
4668 <touch key="power+voldown"/>
4669 <action function="screenshot"/>
4670 </action>
4671 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004672 </pages>
4673</recovery>