blob: 6b7453845de2858eac0ccfaee6eedbd118bd2c3c [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%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@disable_backup_space_chk=Disable Free Space Check}</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>
Ethan Yonker74db1572015-10-28 12:44:49 -05002850 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002851 <data variable="tw_skip_md5_generate"/>
2852 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002853 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002854 <data variable="tw_skip_md5_check"/>
2855 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002856 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002857 <data variable="tw_military_time"/>
2858 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002860 <data variable="tw_samsung_navbar"/>
2861 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002862 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002863 <data variable="tw_simulate_actions"/>
2864 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002866 <condition var1="tw_simulate_actions" var2="1"/>
2867 <data variable="tw_simulate_fail"/>
2868 </listitem>
2869 </listbox>
2870
2871 <button style="main_button_half_height">
2872 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002873 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002874 <actions>
2875 <action function="set">tw_samsung_navbar=0</action>
2876 <action function="set">tw_tab_icons=0</action>
2877 <action function="restoredefaultsettings"/>
2878 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002879 </button>
2880
2881 <action>
2882 <touch key="home"/>
2883 <action function="page">main</action>
2884 </action>
2885
2886 <action>
2887 <touch key="back"/>
2888 <action function="page">main</action>
2889 </action>
2890 </page>
2891
2892 <page name="settings_timezone">
2893 <template name="page"/>
2894
2895 <text style="text_l">
2896 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 </text>
2899
2900 <text style="text_m">
2901 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002902 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002903 </text>
2904
2905 <template name="tabs_settings"/>
2906
2907 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002908 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002909 </fill>
2910
2911 <listbox>
2912 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002914 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2916 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2917 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2918 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2919 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2920 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2921 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2922 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2923 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2924 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2925 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2926 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2927 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2928 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2929 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2930 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2931 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2932 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2933 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2934 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2935 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2936 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2937 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2938 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002939 </listbox>
2940
2941 <text style="text_m_accent">
2942 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 </text>
2945
2946 <button style="button_quarter_width">
2947 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 <action function="set">tw_time_zone_guioffset=0</action>
2950 </button>
2951
2952 <button style="button_quarter_width">
2953 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <action function="set">tw_time_zone_guioffset=15</action>
2956 </button>
2957
2958 <button style="button_quarter_width">
2959 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002960 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002961 <action function="set">tw_time_zone_guioffset=30</action>
2962 </button>
2963
2964 <button style="button_quarter_width">
2965 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <action function="set">tw_time_zone_guioffset=45</action>
2968 </button>
2969
2970 <checkbox>
2971 <placement x="%indent%" y="%row18a_y%"/>
2972 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002974 <data variable="tw_time_zone_guidst"/>
2975 <image checked="checkbox_true" unchecked="checkbox_false"/>
2976 </checkbox>
2977
2978 <text color="%text_color%">
2979 <font resource="font_m"/>
2980 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </text>
2983
2984 <button>
2985 <highlight color="%highlight_color%"/>
2986 <placement x="%center_x%" y="%row21a_y%"/>
2987 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <image resource="main_button_half_height"/>
2990 <action function="setguitimezone"/>
2991 </button>
2992
2993 <action>
2994 <touch key="home"/>
2995 <action function="page">main</action>
2996 </action>
2997
2998 <action>
2999 <touch key="back"/>
3000 <action function="page">main</action>
3001 </action>
3002 </page>
3003
3004 <page name="settings_screen">
3005 <template name="page"/>
3006
3007 <text style="text_l">
3008 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </text>
3011
3012 <text style="text_m">
3013 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 </text>
3016
3017 <template name="tabs_settings"/>
3018
3019 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003021 </fill>
3022
3023 <button>
3024 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3025 <font resource="font_m" color="%text_color%"/>
3026 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3027 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003028 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003029 <image resource="checkbox_false"/>
3030 <action function="set">tw_screen_timeout_secs=60</action>
3031 </button>
3032
3033 <button>
3034 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3035 <font resource="font_m" color="%text_color%"/>
3036 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3037 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <image resource="checkbox_true"/>
3040 <action function="set">tw_screen_timeout_secs=0</action>
3041 </button>
3042
3043 <slidervalue>
3044 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3045 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3046 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003047 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003048 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3049 </slidervalue>
3050
3051 <slidervalue>
3052 <condition var1="tw_has_brightnesss_file" var2="1"/>
3053 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 <data variable="tw_brightness_pct" min="10" max="100"/>
3056 <actions>
3057 <action function="set">tw_brightness=%tw_brightness_max%</action>
3058 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3059 <action function="compute">tw_brightness/100</action>
3060 <action function="setbrightness">%tw_brightness%</action>
3061 </actions>
3062 </slidervalue>
3063
3064 <action>
3065 <touch key="home"/>
3066 <action function="page">main</action>
3067 </action>
3068
3069 <action>
3070 <touch key="back"/>
3071 <action function="page">main</action>
3072 </action>
3073 </page>
3074
3075 <page name="settings_vibration">
3076 <template name="page"/>
3077
3078 <text style="text_l">
3079 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </text>
3082
3083 <text style="text_m">
3084 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </text>
3087
3088 <template name="tabs_settings"/>
3089
3090 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003092 </fill>
3093
3094 <slidervalue>
3095 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003097 <data variable="tw_button_vibrate" min="0" max="300"/>
3098 </slidervalue>
3099
3100 <slidervalue>
3101 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3104 </slidervalue>
3105
3106 <slidervalue>
3107 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <data variable="tw_action_vibrate" min="0" max="500"/>
3110 </slidervalue>
3111
3112 <action>
3113 <touch key="home"/>
3114 <action function="page">main</action>
3115 </action>
3116
3117 <action>
3118 <touch key="back"/>
3119 <action function="page">main</action>
3120 </action>
3121 </page>
3122
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <page name="settings_language">
3124 <template name="page"/>
3125
3126 <text style="text_l">
3127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3128 <text>{@settings_hdr=Settings}</text>
3129 </text>
3130
3131 <text style="text_m">
3132 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3133 <text>{@language_hdr=Language - %tw_language_display%}</text>
3134 </text>
3135
3136 <template name="tabs_settings"/>
3137
3138 <fill color="%text_color%">
3139 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3140 </fill>
3141
3142 <listbox>
3143 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3144 <text>{@select_language=Select Language:}</text>
3145 <icon selected="radio_true" unselected="radio_false" />
3146 <data name="tw_language" />
3147 </listbox>
3148
3149 <button style="main_button_half_height">
3150 <placement x="%center_x%" y="%row21a_y%"/>
3151 <text>{@set_language_btn=Set Language}</text>
3152 <action function="setlanguage"></action>
3153 </button>
3154
3155 <action>
3156 <touch key="home" />
3157 <action function="page">main</action>
3158 </action>
3159
3160 <action>
3161 <touch key="back" />
3162 <action function="page">settings</action>
3163 </action>
3164 </page>
3165
z31s1g28f0a922015-11-07 18:50:22 +01003166 <page name="advanced">
3167 <template name="page"/>
3168
3169 <text style="text_l">
3170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </text>
3173
3174 <button style="main_button">
3175 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <actions>
3178 <action function="set">tw_back=advanced</action>
3179 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3181 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3182 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3183 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <action function="page">confirm_action</action>
3185 </actions>
3186 </button>
3187
3188 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003189 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003191 <text>{@fix_context_btn=Fix Contexts}</text>
3192 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003193 </button>
3194
3195 <button style="main_button">
3196 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003199 <actions>
3200 <action function="set">partitionlisterror=0</action>
3201 <action function="page">partsdcardsel</action>
3202 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003203 </button>
3204
3205 <button style="main_button">
3206 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="page">filemanagerlist</action>
3209 </button>
3210
3211 <button style="main_button">
3212 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003214 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </button>
3216
3217 <button style="main_button">
3218 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <action function="reload"/>
3221 </button>
3222
3223 <button style="main_button">
3224 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <action function="page">sideload</action>
3227 </button>
3228
3229 <button style="main_button">
3230 <condition var1="tw_show_dumlock" var2="1"/>
3231 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003233 <action function="page">htcdumlock</action>
3234 </button>
3235
3236 <button style="main_button">
3237 <condition var1="tw_has_injecttwrp" var2="1"/>
3238 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <actions>
3241 <action function="set">tw_back=advanced</action>
3242 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3244 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3245 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3246 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003247 <action function="page">confirm_action</action>
3248 </actions>
3249 </button>
3250
3251 <action>
3252 <touch key="home"/>
3253 <action function="page">main</action>
3254 </action>
3255
3256 <action>
3257 <touch key="back"/>
3258 <action function="page">main</action>
3259 </action>
3260 </page>
3261
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <page name="partsdcardsel">
3263 <template name="page"/>
3264
3265 <text style="text_l">
3266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3267 <text>{@advanced_hdr=Advanced}</text>
3268 </text>
3269
3270 <text style="text_m">
3271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3272 <text>{@part_sd_hdr=Partition SD Card}</text>
3273 </text>
3274
z31s1g782e1c92016-01-30 16:50:09 +01003275 <partitionlist>
3276 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003277 <text>{@sel_storage_list=Select Storage}</text>
3278 <data name="tw_storage_path"/>
3279 <listtype name="storage"/>
3280 </partitionlist>
3281
3282 <text style="text_m_fail">
3283 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003284 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003285 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3286 </text>
3287
z31s1g782e1c92016-01-30 16:50:09 +01003288 <button style="main_button_half_height">
3289 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003290 <text>{@ok_btn=OK}</text>
3291 <actions>
3292 <action function="getpartitiondetails">tw_storage_path</action>
3293 <action function="page">partsdcardcheck</action>
3294 </actions>
3295 </button>
3296
3297 <action>
3298 <touch key="home"/>
3299 <action function="page">main</action>
3300 </action>
3301
3302 <action>
3303 <touch key="back"/>
3304 <action function="page">advanced</action>
3305 </action>
3306 </page>
3307
3308 <page name="partsdcardcheck">
3309 <action>
3310 <condition var1="tw_partition_removable" op="=" var2="1"/>
3311 <actions>
3312 <action function="set">partitionlisterror=0</action>
3313 <action function="page">partsdcard</action>
3314 </actions>
3315 </action>
3316
3317 <action>
3318 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3319 <actions>
3320 <action function="set">partitionlisterror=1</action>
3321 <action function="page">partsdcardsel</action>
3322 </actions>
3323 </action>
3324 </page>
3325
z31s1g28f0a922015-11-07 18:50:22 +01003326 <page name="partsdcard">
3327 <template name="page"/>
3328
3329 <text style="text_l">
3330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </text>
3338
3339 <text style="text_m_fail">
3340 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 </text>
3343
3344 <text style="text_m_fail">
3345 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </text>
3348
3349 <text style="text_m_accent">
3350 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </text>
3353
3354 <text style="text_m">
3355 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3356 <text>%tw_sdext_size%</text>
3357 </text>
3358
3359 <button style="button_quarter_width">
3360 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003362 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 </button>
3364
3365 <button style="button_quarter_width">
3366 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003368 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 </button>
3370
3371 <text style="text_m_accent">
3372 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003374 </text>
3375
3376 <text style="text_m">
3377 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3378 <text>%tw_swap_size%</text>
3379 </text>
3380
3381 <button style="button_quarter_width">
3382 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003384 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 </button>
3386
3387 <button style="button_quarter_width">
3388 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003390 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003391 </button>
3392
3393 <text style="text_m_accent">
3394 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 </text>
3397
3398 <text style="text_m">
3399 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3400 <text>%tw_sdpart_file_system%</text>
3401 </text>
3402
3403 <button style="button_quarter_width">
3404 <placement x="%indent%" y="%row14_y%"/>
3405 <text>EXT3</text>
3406 <action function="set">tw_sdpart_file_system=ext3</action>
3407 </button>
3408
3409 <button style="button_quarter_width">
3410 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3411 <text>EXT4</text>
3412 <action function="set">tw_sdpart_file_system=ext4</action>
3413 </button>
3414
3415 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 <action function="page">partsdcardaction</action>
3418 <actions>
3419 <action function="set">tw_back=partsdcard</action>
3420 <action function="set">tw_action=partitionsd</action>
3421 <action function="set">tw_has_action2=1</action>
3422 <action function="set">tw_action2=set</action>
3423 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3425 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3426 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003427 <action function="page">action_page</action>
3428 </actions>
3429 </slider>
3430
3431 <action>
3432 <touch key="home"/>
3433 <action function="page">main</action>
3434 </action>
3435
3436 <action>
3437 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003438 <actions>
3439 <action function="set">partitionlisterror=0</action>
3440 <action function="page">partsdcardsel</action>
3441 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003442 </action>
3443 </page>
3444
3445 <page name="htcdumlock">
3446 <template name="page"/>
3447
3448 <text style="text_l">
3449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003451 </text>
3452
3453 <text style="text_m">
3454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 </text>
3457
3458 <button style="main_button_half_height_full_width">
3459 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <actions>
3462 <action function="set">tw_back=htcdumlock</action>
3463 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3465 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3466 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3467 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003468 <action function="page">confirm_action</action>
3469 </actions>
3470 </button>
3471
3472 <button style="main_button_half_height_full_width">
3473 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003475 <actions>
3476 <action function="set">tw_back=htcdumlock</action>
3477 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003478 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3479 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3480 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3481 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003482 <action function="page">confirm_action</action>
3483 </actions>
3484 </button>
3485
3486 <button style="main_button_half_height_full_width">
3487 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003488 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003489 <actions>
3490 <action function="set">tw_back=htcdumlock</action>
3491 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3493 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3494 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3495 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003496 <action function="page">confirm_action</action>
3497 </actions>
3498 </button>
3499
3500 <action>
3501 <touch key="home"/>
3502 <action function="page">main</action>
3503 </action>
3504
3505 <action>
3506 <touch key="back"/>
3507 <action function="page">advanced</action>
3508 </action>
3509 </page>
3510
3511 <page name="lock">
3512 <background color="%semi_transparent%"/>
3513
3514 <image>
3515 <image resource="unlock_icon"/>
3516 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3517 </image>
3518
3519 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003521 <action function="overlay"/>
3522 </slider>
3523 </page>
3524
3525 <page name="filemanagerlist">
3526 <template name="page"/>
3527
3528 <text style="text_l">
3529 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003531 </text>
3532
3533 <text style="text_m">
3534 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 </text>
3537
3538 <template name="sort_options"/>
3539
3540 <fileselector>
3541 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3542 <text>%tw_file_location1%</text>
3543 <filter folders="1" files="1"/>
3544 <path name="tw_file_location1" default="/"/>
3545 <data name="tw_filename1"/>
3546 <selection name="tw_selection1"/>
3547 </fileselector>
3548
3549 <button style="fab">
3550 <image resource="fab_selectfolder"/>
3551 <actions>
3552 <action function="set">tw_filename1=tw_file_location1</action>
3553 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003555 <action function="page">filemanageroptions</action>
3556 </actions>
3557 </button>
3558
3559 <action>
3560 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="set">tw_fm_isfolder=0</action>
3563 </actions>
3564 </action>
3565
3566 <action>
3567 <touch key="home"/>
3568 <action function="page">main</action>
3569 </action>
3570
3571 <action>
3572 <touch key="back"/>
3573 <action function="page">advanced</action>
3574 </action>
3575
3576 <action>
3577 <condition var1="tw_filename1" op="modified"/>
3578 <action function="page">filemanageroptions</action>
3579 </action>
3580 </page>
3581
3582 <page name="filemanageroptions">
3583 <template name="page"/>
3584
3585 <text style="text_l">
3586 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 </text>
3589
3590 <text style="text_m">
3591 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003593 </text>
3594
3595 <text style="text_m_accent">
3596 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 </text>
3599
3600 <text style="text_m">
3601 <placement x="%indent%" y="%row3_y%"/>
3602 <text>%tw_filename1%</text>
3603 </text>
3604
3605 <button style="main_button_half_height">
3606 <condition var1="tw_fm_isfolder" var2="0"/>
3607 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 <actions>
3610 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <action function="page">choosedestinationfolder</action>
3613 </actions>
3614 </button>
3615
3616 <button style="main_button_half_height">
3617 <condition var1="tw_fm_isfolder" var2="1"/>
3618 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 <actions>
3621 <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 -05003622 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003623 <action function="page">choosedestinationfolder</action>
3624 </actions>
3625 </button>
3626
3627 <button style="main_button_half_height">
3628 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003629 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003630 <actions>
3631 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003633 <action function="page">choosedestinationfolder</action>
3634 </actions>
3635 </button>
3636
3637 <button style="main_button_half_height">
3638 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 <actions>
3641 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <action function="set">tw_fm_text2=</action>
3644 <action function="set">tw_fm_text3=</action>
3645 <action function="set">tw_include_text3=0</action>
3646 <action function="set">tw_back=filemanageroptions</action>
3647 <action function="page">filemanagerconfirm</action>
3648 </actions>
3649 </button>
3650
3651 <button style="main_button_half_height">
3652 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 <actions>
3655 <action function="set">tw_filemanager_rename=0000</action>
3656 <action function="set">tw_fm_text2=</action>
3657 <action function="set">tw_fm_text3=</action>
3658 <action function="set">tw_include_text3=0</action>
3659 <action function="set">tw_back=filemanageroptions</action>
3660 <action function="page">filemanagerchmod</action>
3661 </actions>
3662 </button>
3663
3664 <button style="main_button_half_height">
3665 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <actions>
3668 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003670 <action function="set">tw_fm_text2=</action>
3671 <action function="set">tw_fm_text3=</action>
3672 <action function="set">tw_include_text3=0</action>
3673 <action function="set">tw_back=filemanageroptions</action>
3674 <action function="page">filemanagerconfirm</action>
3675 </actions>
3676 </button>
3677
3678 <button style="main_button_half_height">
3679 <condition var1="tw_fm_isfolder" var2="0"/>
3680 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003682 <actions>
3683 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <action function="set">tw_filemanager_command=mv</action>
3686 <action function="page">filemanagerrenamefile</action>
3687 </actions>
3688 </button>
3689
3690 <button style="main_button_half_height">
3691 <condition var1="tw_fm_isfolder" var2="1"/>
3692 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 <actions>
3695 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003697 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3698 <action function="page">filemanagerrenamefolder</action>
3699 </actions>
3700 </button>
3701
3702 <action>
3703 <touch key="home"/>
3704 <action function="page">main</action>
3705 </action>
3706
3707 <action>
3708 <touch key="back"/>
3709 <action function="page">filemanagerlist</action>
3710 </action>
3711 </page>
3712
3713 <page name="choosedestinationfolder">
3714 <template name="page"/>
3715
3716 <text style="text_l">
3717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </text>
3720
3721 <text style="text_m">
3722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </text>
3725
3726 <template name="sort_options"/>
3727
3728 <fileselector>
3729 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3730 <text>%tw_file_location2%</text>
3731 <filter folders="1" files="0"/>
3732 <path name="tw_file_location2" default="/"/>
3733 <data name="tw_filename2"/>
3734 <selection name="tw_selection2"/>
3735 </fileselector>
3736
3737 <button style="fab">
3738 <image resource="fab_selectfolder"/>
3739 <actions>
3740 <action function="set">tw_fm_text2=to</action>
3741 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3742 <action function="set">tw_include_text3=1</action>
3743 <action function="set">tw_back=filemanageroptions</action>
3744 <action function="page">filemanagerconfirm</action>
3745 </actions>
3746 </button>
3747
3748 <action>
3749 <touch key="home"/>
3750 <action function="page">main</action>
3751 </action>
3752
3753 <action>
3754 <touch key="back"/>
3755 <action function="page">filemanageroptions</action>
3756 </action>
3757 </page>
3758
3759 <page name="filemanagerrenamefile">
3760 <template name="page"/>
3761
3762 <text style="text_l">
3763 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 </text>
3766
3767 <text style="text_m">
3768 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003770 </text>
3771
3772 <text style="text_m_accent">
3773 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003775 </text>
3776
3777 <input>
3778 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3779 <text>%tw_filemanager_rename%</text>
3780 <data name="tw_filemanager_rename"/>
3781 <restrict minlen="1" maxlen="128"/>
3782 <actions>
3783 <action function="set">tw_fm_text2=to</action>
3784 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3785 <action function="set">tw_include_text3=1</action>
3786 <action function="set">tw_back=filemanageroptions</action>
3787 <action function="page">filemanagerconfirm</action>
3788 </actions>
3789 </input>
3790
3791 <fill color="%accent_color%">
3792 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3793 </fill>
3794
3795 <button style="main_button_half_height">
3796 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 <action function="page">filemanageroptions</action>
3799 </button>
3800
3801 <template name="keyboardtemplate"/>
3802
3803 <action>
3804 <touch key="home"/>
3805 <action function="page">main</action>
3806 </action>
3807
3808 <action>
3809 <touch key="back"/>
3810 <action function="page">filemanageroptions</action>
3811 </action>
3812 </page>
3813
3814 <page name="filemanagerrenamefolder">
3815 <template name="page"/>
3816
3817 <text style="text_l">
3818 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003820 </text>
3821
3822 <text style="text_m">
3823 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </text>
3826
3827 <text style="text_m_accent">
3828 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003830 </text>
3831
3832 <input>
3833 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3834 <text>%tw_filemanager_rename%</text>
3835 <data name="tw_filemanager_rename"/>
3836 <restrict minlen="1" maxlen="128"/>
3837 <actions>
3838 <action function="set">tw_fm_text2=to</action>
3839 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3840 <action function="set">tw_include_text3=1</action>
3841 <action function="set">tw_back=filemanageroptions</action>
3842 <action function="page">filemanagerconfirm</action>
3843 </actions>
3844 </input>
3845
3846 <fill color="%accent_color%">
3847 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3848 </fill>
3849
3850 <button style="main_button_half_height">
3851 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 <action function="page">filemanageroptions</action>
3854 </button>
3855
3856 <template name="keyboardtemplate"/>
3857
3858 <action>
3859 <touch key="home"/>
3860 <action function="page">main</action>
3861 </action>
3862
3863 <action>
3864 <touch key="back"/>
3865 <action function="page">filemanageroptions</action>
3866 </action>
3867 </page>
3868
3869 <page name="filemanagerchmod">
3870 <template name="page"/>
3871
3872 <text style="text_l">
3873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <text style="text_m">
3878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <text style="text_m_accent">
3883 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003885 </text>
3886
3887 <input>
3888 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3889 <text>%tw_filemanager_rename%</text>
3890 <data name="tw_filemanager_rename"/>
3891 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3892 <actions>
3893 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3894 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3895 <action function="set">tw_back=filemanageroptions</action>
3896 <action function="page">filemanagerconfirm</action>
3897 </actions>
3898 </input>
3899
3900 <fill color="%accent_color%">
3901 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3902 </fill>
3903
3904 <button style="main_button_half_height">
3905 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003906 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003907 <action function="page">filemanageroptions</action>
3908 </button>
3909
3910 <template name="keyboardtemplate"/>
3911
3912 <action>
3913 <touch key="home"/>
3914 <action function="page">main</action>
3915 </action>
3916
3917 <action>
3918 <touch key="back"/>
3919 <action function="page">filemanageroptions</action>
3920 </action>
3921 </page>
3922
3923 <page name="filemanagerconfirm">
3924 <template name="page"/>
3925
3926 <text style="text_l">
3927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003928 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003929 </text>
3930
3931 <text style="text_m">
3932 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 </text>
3935
3936 <text style="text_m_accent">
3937 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3938 <text>%tw_fm_text1%</text>
3939 </text>
3940
3941 <text style="text_m">
3942 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3943 <text>%tw_filename1%</text>
3944 </text>
3945
3946 <text style="text_m_accent">
3947 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3948 <text>%tw_fm_text2%</text>
3949 </text>
3950
3951 <text style="text_m">
3952 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3953 <text>%tw_fm_text3%</text>
3954 </text>
3955
3956 <text style="text_m">
3957 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 </text>
3960
3961 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 <action function="page">filemanageraction</action>
3964 </slider>
3965
3966 <action>
3967 <touch key="back"/>
3968 <action function="page">%tw_back%</action>
3969 </action>
3970
3971 <action>
3972 <touch key="home"/>
3973 <action function="page">main</action>
3974 </action>
3975 </page>
3976
3977 <page name="filemanageraction">
3978 <template name="page"/>
3979
3980 <text style="text_l">
3981 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </text>
3984
3985 <text style="text_m">
3986 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3987 <text>%tw_fm_text1%</text>
3988 </text>
3989
3990 <template name="console"/>
3991
3992 <template name="progress_bar"/>
3993
3994 <action>
3995 <conditions>
3996 <condition var1="tw_operation_state" var2="1"/>
3997 <condition var1="tw_operation_status" var2="0"/>
3998 </conditions>
3999 <actions>
4000 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004002 <action function="page">action_complete</action>
4003 </actions>
4004 </action>
4005
4006 <action>
4007 <conditions>
4008 <condition var1="tw_operation_state" var2="1"/>
4009 <condition var1="tw_operation_status" op="!=" var2="0"/>
4010 </conditions>
4011 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004013 <action function="page">action_complete</action>
4014 </actions>
4015 </action>
4016
4017 <action>
4018 <condition var1="tw_include_text3" var2="0"/>
4019 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4020 </action>
4021
4022 <action>
4023 <condition var1="tw_include_text3" var2="1"/>
4024 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4025 </action>
4026 </page>
4027
4028 <page name="decrypt">
4029 <template name="page"/>
4030
4031 <action>
4032 <condition var1="tw_crypto_pwtype" var2="2"/>
4033 <action function="page">decrypt_pattern</action>
4034 </action>
4035
4036 <text style="text_l">
4037 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004038 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004039 </text>
4040
4041 <text style="text_m">
4042 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004043 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004044 </text>
4045
4046 <text style="text_m_accent">
4047 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 </text>
4050
4051 <input>
4052 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4053 <text>%tw_crypto_display%</text>
4054 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4055 <restrict minlen="1" maxlen="254"/>
4056 <action function="page">trydecrypt</action>
4057 </input>
4058
4059 <fill color="%accent_color%">
4060 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4061 </fill>
4062
4063 <fill color="%text_fail_color%">
4064 <condition var1="tw_password_fail" var2="1"/>
4065 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4066 </fill>
4067
4068 <text style="text_m_fail">
4069 <condition var1="tw_password_fail" var2="1"/>
4070 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004071 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004072 </text>
4073
4074 <button style="main_button_half_height">
4075 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004077 <actions>
4078 <action function="set">tw_page_done=1</action>
4079 <action function="page">main</action>
4080 </actions>
4081 </button>
4082
z31s1g608d7ff2016-01-18 19:47:25 +01004083 <button style="main_button_half_height">
4084 <placement x="%center_x%" y="%row10_y%"/>
4085 <text>{@sel_lang_btn=Select Language}</text>
4086 <action function="overlay">select_language</action>
4087 </button>
4088
z31s1g28f0a922015-11-07 18:50:22 +01004089 <template name="keyboardtemplate"/>
4090 </page>
4091
4092 <page name="decrypt_pattern">
4093 <template name="page"/>
4094
4095 <text style="text_l">
4096 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004097 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004098 </text>
4099
4100 <text style="text_m">
4101 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004102 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004103 </text>
4104
4105 <text style="text_m_accent">
4106 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 </text>
4109
Aleksa Saraib25a1832015-12-31 17:36:00 +01004110 <text style="text_m_fail">
4111 <condition var1="tw_password_fail" var2="1"/>
4112 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004113 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004114 </text>
4115
z31s1g28f0a922015-11-07 18:50:22 +01004116 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004117 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004118 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4119 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4120 <data name="tw_crypto_password"/>
4121 <action function="page">trydecrypt</action>
4122 </patternpassword>
4123
Aleksa Saraib25a1832015-12-31 17:36:00 +01004124 <button style="button_quarter_width">
4125 <placement x="%indent%" y="%row19a_y%"/>
4126 <text>3x3</text>
4127 <action function="set">tw_gui_pattern_grid_size=3</action>
4128 </button>
4129
4130 <button style="button_quarter_width">
4131 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4132 <text>4x4</text>
4133 <action function="set">tw_gui_pattern_grid_size=4</action>
4134 </button>
4135
4136 <button style="button_quarter_width">
4137 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4138 <text>5x5</text>
4139 <action function="set">tw_gui_pattern_grid_size=5</action>
4140 </button>
4141
4142 <button style="button_quarter_width">
4143 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4144 <text>6x6</text>
4145 <action function="set">tw_gui_pattern_grid_size=6</action>
4146 </button>
4147
z31s1g28f0a922015-11-07 18:50:22 +01004148 <button style="main_button_half_height">
4149 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 <actions>
4152 <action function="set">tw_page_done=1</action>
4153 <action function="page">main</action>
4154 </actions>
4155 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004156
4157 <button style="main_button_half_height">
4158 <placement x="%center_x%" y="%row21a_y%"/>
4159 <text>{@sel_lang_btn=Select Language}</text>
4160 <action function="overlay">select_language</action>
4161 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004162 </page>
4163
4164 <page name="trydecrypt">
4165 <template name="page"/>
4166
4167 <text style="text_l">
4168 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 </text>
4171
4172 <text style="text_m">
4173 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004175 </text>
4176
4177 <template name="console"/>
4178
4179 <template name="progress_bar"/>
4180
4181 <action>
4182 <action function="decrypt"/>
4183 </action>
4184
4185 <action>
4186 <conditions>
4187 <condition var1="tw_operation_state" var2="1"/>
4188 <condition var1="tw_operation_status" op="!=" var2="0"/>
4189 </conditions>
4190 <actions>
4191 <action function="set">tw_password_fail=1</action>
4192 <action function="page">decrypt</action>
4193 </actions>
4194 </action>
4195
4196 <action>
4197 <conditions>
4198 <condition var1="tw_operation_state" var2="1"/>
4199 <condition var1="tw_operation_status" op="=" var2="0"/>
4200 </conditions>
4201 <actions>
4202 <action function="set">tw_page_done=1</action>
4203 <action function="page">main</action>
4204 </actions>
4205 </action>
4206 </page>
4207
z31s1g28f0a922015-11-07 18:50:22 +01004208 <page name="terminalcommand">
4209 <template name="page"/>
4210
z31s1g56189522016-01-13 19:12:40 +01004211 <fill color="%background_color%">
4212 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004213 </fill>
4214
z31s1g56189522016-01-13 19:12:40 +01004215 <terminal>
4216 <condition var1="tw_hide_kb" var2="0"/>
4217 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4218 </terminal>
4219
4220 <terminal>
4221 <condition var1="tw_hide_kb" var2="1"/>
4222 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4223 </terminal>
4224
4225 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004226
4227 <template name="keyboardtemplate"/>
4228
z31s1g608d7ff2016-01-18 19:47:25 +01004229 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004230 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004231 </fill>
z31s1g56189522016-01-13 19:12:40 +01004232
z31s1g608d7ff2016-01-18 19:47:25 +01004233 <button>
z31s1g56189522016-01-13 19:12:40 +01004234 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4235 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4236 <image resource="back" />
4237 <condition var1="tw_busy" var2="0" />
4238 <actions>
4239 <action function="set">tw_hide_kb=0</action>
4240 <action function="key">back</action>
4241 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004242 </button>
z31s1g56189522016-01-13 19:12:40 +01004243
z31s1g608d7ff2016-01-18 19:47:25 +01004244 <button>
z31s1g56189522016-01-13 19:12:40 +01004245 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4246 <condition var1="tw_hide_kb" op="=" var2="0" />
4247 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4248 <image resource="kb_hide" />
4249 <condition var1="tw_busy" var2="0" />
4250 <actions>
4251 <action function="set">tw_hide_kb=1</action>
4252 <action function="page">terminalcommand</action>
4253 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004254 </button>
z31s1g56189522016-01-13 19:12:40 +01004255
z31s1g608d7ff2016-01-18 19:47:25 +01004256 <button>
z31s1g56189522016-01-13 19:12:40 +01004257 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4258 <condition var1="tw_hide_kb" op="=" var2="1" />
4259 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4260 <image resource="kb_show" />
4261 <condition var1="tw_busy" var2="0" />
4262 <actions>
4263 <action function="set">tw_hide_kb=0</action>
4264 <action function="page">terminalcommand</action>
4265 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004266 </button>
z31s1g56189522016-01-13 19:12:40 +01004267
z31s1g608d7ff2016-01-18 19:47:25 +01004268 <button>
z31s1g56189522016-01-13 19:12:40 +01004269 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4270 <image resource="home" />
4271 <condition var1="tw_busy" var2="0" />
4272 <actions>
4273 <action function="set">tw_hide_kb=0</action>
4274 <action function="key">home</action>
4275 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004276 </button>
z31s1g56189522016-01-13 19:12:40 +01004277
z31s1g608d7ff2016-01-18 19:47:25 +01004278 <button>
z31s1g56189522016-01-13 19:12:40 +01004279 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4280 <condition var1="tw_hide_kb" op="=" var2="0" />
4281 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4282 <image resource="kb_hide" />
4283 <condition var1="tw_busy" var2="0" />
4284 <actions>
4285 <action function="set">tw_hide_kb=1</action>
4286 <action function="page">terminalcommand</action>
4287 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004288 </button>
z31s1g56189522016-01-13 19:12:40 +01004289
z31s1g608d7ff2016-01-18 19:47:25 +01004290 <button>
z31s1g56189522016-01-13 19:12:40 +01004291 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4292 <condition var1="tw_hide_kb" op="=" var2="1" />
4293 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4294 <image resource="kb_show" />
4295 <condition var1="tw_busy" var2="0" />
4296 <actions>
4297 <action function="set">tw_hide_kb=0</action>
4298 <action function="page">terminalcommand</action>
4299 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004300 </button>
z31s1g56189522016-01-13 19:12:40 +01004301
z31s1g608d7ff2016-01-18 19:47:25 +01004302 <button>
z31s1g56189522016-01-13 19:12:40 +01004303 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4304 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4305 <image resource="back" />
4306 <condition var1="tw_busy" var2="0" />
4307 <actions>
4308 <action function="set">tw_hide_kb=0</action>
4309 <action function="key">back</action>
4310 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004311 </button>
z31s1g56189522016-01-13 19:12:40 +01004312
z31s1g28f0a922015-11-07 18:50:22 +01004313 <action>
4314 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004315 <actions>
4316 <action function="set">tw_hide_kb=0</action>
4317 <action function="page">main</action>
4318 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004319 </action>
4320
4321 <action>
4322 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004323 <actions>
4324 <action function="set">tw_hide_kb=0</action>
4325 <action function="page">advanced</action>
4326 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </action>
z31s1g56189522016-01-13 19:12:40 +01004328
z31s1g608d7ff2016-01-18 19:47:25 +01004329 <action>
z31s1g56189522016-01-13 19:12:40 +01004330 <touch key="power+voldown" />
4331 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004332 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004333 </page>
4334
4335 <page name="sideload">
4336 <template name="page"/>
4337
4338 <text style="text_l">
4339 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 </text>
4342
4343 <text style="text_m">
4344 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 </text>
4347
4348 <checkbox>
4349 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 <data variable="tw_wipe_dalvik"/>
4352 </checkbox>
4353
4354 <checkbox>
4355 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 <data variable="tw_wipe_cache"/>
4358 </checkbox>
4359
4360 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 <actions>
4363 <action function="set">tw_back=advanced</action>
4364 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004365 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4366 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4367 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004368 <action function="set">tw_has_cancel=1</action>
4369 <action function="set">tw_show_reboot=1</action>
4370 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4371 <action function="page">action_page</action>
4372 </actions>
4373 </slider>
4374
4375 <action>
4376 <touch key="home"/>
4377 <action function="page">main</action>
4378 </action>
4379
4380 <action>
4381 <touch key="back"/>
4382 <action function="page">advanced</action>
4383 </action>
4384 </page>
4385
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004386 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004387 <template name="page"/>
4388
4389 <text style="text_l">
4390 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004391 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004392 </text>
4393
4394 <text style="text_m">
4395 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004396 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <text style="text_m_accent">
4400 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004401 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 </text>
4403
z31s1g28f0a922015-11-07 18:50:22 +01004404 <text style="text_m_fail">
4405 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004406 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <text style="text_m_fail">
4410 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004411 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004415 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004416 <actions>
4417 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004418 <action function="set">tw_action=fixcontexts</action>
4419 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4420 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004422 <action function="set">tw_show_reboot=1</action>
4423 <action function="page">action_page</action>
4424 </actions>
4425 </slider>
4426
4427 <action>
4428 <touch key="home"/>
4429 <action function="page">main</action>
4430 </action>
4431
4432 <action>
4433 <touch key="back"/>
4434 <action function="page">advanced</action>
4435 </action>
4436 </page>
4437
4438 <page name="installsu">
4439 <template name="page"/>
4440
4441 <text style="text_l">
4442 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004444 </text>
4445
4446 <text style="text_m">
4447 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004449 </text>
4450
4451 <text style="text_m_accent">
4452 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 </text>
4455
4456 <text style="text_m">
4457 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004458 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004459 </text>
4460
4461 <text style="text_m">
4462 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004463 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004464 </text>
4465
4466 <button style="main_button_half_height">
4467 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004468 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 <action function="set">tw_page_done=1</action>
4470 </button>
4471
4472 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 <actions>
4475 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004477 <action function="set">tw_action_text2=</action>
4478 <action function="page">singleaction_page</action>
4479 </actions>
4480 </slider>
4481 </page>
4482
4483 <page name="slideout">
4484 <fill color="%background_color%">
4485 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4486 </fill>
4487
4488 <console>
4489 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4490 </console>
4491
4492 <button>
4493 <fill color="%transparent%"/>
4494 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4495 <action function="overlay"/>
4496 </button>
4497
4498 <action>
4499 <touch key="power+voldown"/>
4500 <action function="screenshot"/>
4501 </action>
4502 </page>
4503
4504 <page name="select_storage">
4505 <fill color="%semi_transparent%">
4506 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4507 </fill>
4508
4509 <fill color="%background_color%">
4510 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4511 </fill>
4512
4513 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 <data name="tw_storage_path"/>
4516 <listtype name="storage"/>
4517 </partitionlist>
4518
4519 <button style="button_third_width">
4520 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 <actions>
4523 <action function="set">tw_clear_destination=%tw_back%</action>
4524 <action function="overlay"/>
4525 <action function="page">clear_vars</action>
4526 </actions>
4527 </button>
4528
4529 <fill color="#000000">
4530 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4531 </fill>
4532
4533 <button>
4534 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4535 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4536 <image resource="back"/>
4537 <condition var1="tw_busy" var2="0"/>
4538 <actions>
4539 <action function="overlay"/>
4540 <action function="key">%tw_back%</action>
4541 </actions>
4542 </button>
4543
4544 <button>
4545 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4546 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4547 <image resource="console"/>
4548 <condition var1="tw_busy" var2="0"/>
4549 <action function="overlay">slideout</action>
4550 </button>
4551
4552 <button>
4553 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4554 <image resource="home"/>
4555 <condition var1="tw_busy" var2="0"/>
4556 <actions>
4557 <action function="overlay"/>
4558 <action function="key">home</action>
4559 </actions>
4560 </button>
4561
4562 <button>
4563 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4564 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4565 <image resource="console"/>
4566 <condition var1="tw_busy" var2="0"/>
4567 <action function="overlay">slideout</action>
4568 </button>
4569
4570 <button>
4571 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4572 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4573 <image resource="back"/>
4574 <condition var1="tw_busy" var2="0"/>
4575 <actions>
4576 <action function="overlay"/>
4577 <action function="key">%tw_back%</action>
4578 </actions>
4579 </button>
4580
4581 <action>
4582 <touch key="power+voldown"/>
4583 <action function="screenshot"/>
4584 </action>
4585 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004586
4587 <page name="select_language">
4588 <fill color="%semi_transparent%">
4589 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4590 </fill>
4591
4592 <fill color="%background_color%">
4593 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4594 </fill>
4595
4596 <listbox>
4597 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4598 <text>{@select_language=Select Language:}</text>
4599 <icon selected="radio_true" unselected="radio_false" />
4600 <data name="tw_language" />
4601 </listbox>
4602
4603 <button style="button_third_width">
4604 <placement x="%dialog_button_x%" y="%row14_y%"/>
4605 <text>{@ok_btn=OK}</text>
4606 <actions>
4607 <action function="overlay"/>
4608 <action function="setlanguage"></action>
4609 </actions>
4610 </button>
4611
4612 <fill color="#000000">
4613 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4614 </fill>
4615
4616 <button>
4617 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4618 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4619 <image resource="back"/>
4620 <condition var1="tw_busy" var2="0"/>
4621 <actions>
4622 <action function="overlay"/>
4623 <action function="key">%tw_back%</action>
4624 </actions>
4625 </button>
4626
4627 <button>
4628 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4629 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4630 <image resource="console"/>
4631 <condition var1="tw_busy" var2="0"/>
4632 <action function="overlay">slideout</action>
4633 </button>
4634
4635 <button>
4636 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4637 <image resource="home"/>
4638 <condition var1="tw_busy" var2="0"/>
4639 <actions>
4640 <action function="overlay"/>
4641 <action function="key">home</action>
4642 </actions>
4643 </button>
4644
4645 <button>
4646 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4647 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4648 <image resource="console"/>
4649 <condition var1="tw_busy" var2="0"/>
4650 <action function="overlay">slideout</action>
4651 </button>
4652
4653 <button>
4654 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4655 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4656 <image resource="back"/>
4657 <condition var1="tw_busy" var2="0"/>
4658 <actions>
4659 <action function="overlay"/>
4660 <action function="key">%tw_back%</action>
4661 </actions>
4662 </button>
4663
4664 <action>
4665 <touch key="power+voldown"/>
4666 <action function="screenshot"/>
4667 </action>
4668 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </pages>
4670</recovery>