blob: 11ae8740ea1aff6884aef5bf57523c883d0415c6 [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>
Matt Mower908dd252016-05-25 02:26:50 -0500389 <placement x="%indent%" y="%row13a_y%" />
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower908dd252016-05-25 02:26:50 -0500391 <data variable="tw_install_reboot" />
bigbiffa869fc72016-03-01 19:40:36 -0500392 </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>
Matt Mower908dd252016-05-25 02:26:50 -0500503 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </actions>
505 </button>
506
507 <action>
508 <touch key="back"/>
509 <actions>
510 <action function="set">tw_clear_destination=install</action>
511 <action function="page">clear_vars</action>
512 </actions>
513 </action>
514
515 <action>
516 <touch key="home"/>
517 <actions>
518 <action function="set">tw_clear_destination=main2</action>
519 <action function="page">clear_vars</action>
520 </actions>
521 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500522
523 <action>
524 <conditions>
525 <condition var1="tw_install_reboot" var2="1"/>
526 <condition var1="tw_operation_status" var2="0"/>
527 <condition var1="tw_reboot_system" var2="1"/>
528 </conditions>
529 <actions>
530 <action function="set">tw_sleep=%tw_sleep_total%</action>
531 <action function="page">flash_sleep_and_reboot</action>
532 </actions>
533 </action>
534 </page>
535
536 <page name="flash_sleep_and_reboot">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
541 <text>{@install_zip_hdr=Install Zip}</text>
542 </text>
543
544 <text style="text_m">
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
546 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
547 </text>
548
549 <template name="console"/>
550
551 <template name="progress_bar"/>
552
553 <button style="main_button_half_height">
554 <condition var1="tw_sleep" op="&gt;" var2="0"/>
555 <placement x="%center_x%" y="%row21a_y%"/>
556 <text>{@cancel_btn=Cancel}</text>
557 <actions>
558 <action function="set">tw_install_reboot=0</action>
559 <action function="page">flash_done</action>
560 </actions>
561 </button>
562
563 <action>
564 <conditions>
565 <condition var1="tw_sleep" var2="tw_sleep_total"/>
566 <condition var1="tw_install_reboot" var2="1"/>
567 </conditions>
568 <action function="sleepcounter">%tw_sleep_total%</action>
569 </action>
570
571 <action>
572 <conditions>
573 <condition var1="tw_sleep" var2="0"/>
574 <condition var1="tw_install_reboot" var2="1"/>
575 </conditions>
576 <actions>
577 <action function="sleep">50000</action>
578 <action function="set">tw_back=main2</action>
579 <action function="page">reboot_system_routine</action>
580 </actions>
581 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </page>
583
584 <page name="flashimage_confirm">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500594 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100595 </text>
596
597 <text style="text_m_accent">
598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500599 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </text>
601
602 <text style="text_m">
603 <placement x="%indent%" y="%row3_y%"/>
604 <text>%tw_zip_location%</text>
605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row5a_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <partitionlist>
618 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
619 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <data name="tw_flash_partition"/>
622 <listtype name="flashimg"/>
623 </partitionlist>
624
625 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <actions>
628 <action function="set">tw_back=flashimage_confirm</action>
629 <action function="set">tw_action=flashimage</action>
630 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <action function="page">action_page</action>
635 </actions>
636 <action function="flashimage"/>
637 </slider>
638
639 <action>
640 <touch key="back"/>
641 <actions>
642 <action function="set">tw_clear_destination=install</action>
643 <action function="page">clear_vars</action>
644 </actions>
645 </action>
646
647 <action>
648 <touch key="home"/>
649 <actions>
650 <action function="set">tw_clear_destination=main2</action>
651 <action function="page">clear_vars</action>
652 </actions>
653 </action>
654 </page>
655
656 <page name="clear_vars">
657 <action>
658 <action function="set">tw_operation_state=0</action>
659 <action function="set">tw_text1=</action>
660 <action function="set">tw_text2=</action>
661 <action function="set">tw_text3=</action>
662 <action function="set">tw_text4=</action>
663 <action function="set">tw_action_text1=</action>
664 <action function="set">tw_action_text2=</action>
665 <action function="set">tw_action_param=</action>
666 <action function="set">tw_has_action2=0</action>
667 <action function="set">tw_action2=</action>
668 <action function="set">tw_action2_param=</action>
669 <action function="set">tw_has_cancel=0</action>
670 <action function="set">tw_cancel_action=</action>
671 <action function="set">tw_cancel_param=</action>
672 <action function="set">tw_show_exclamation=0</action>
673 <action function="set">tw_show_reboot=0</action>
674 <action function="page">%tw_clear_destination%</action>
675 </action>
676 </page>
677
Matt Mower908dd252016-05-25 02:26:50 -0500678 <page name="reboot_system_routine">
679 <action>
680 <action function="set">tw_action=reboot</action>
681 <action function="set">tw_action_param=system</action>
682 <action function="set">tw_has_action2=0</action>
683 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
684 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
685 <action function="set">tw_text3=</action>
686 <action function="set">tw_text4=</action>
687 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
688 <action function="set">tw_action_text2=</action>
689 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
690 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
691 <action function="page">rebootcheck</action>
692 </action>
693 </page>
694
z31s1g28f0a922015-11-07 18:50:22 +0100695 <page name="confirm_action">
696 <template name="page"/>
697
698 <text style="text_l">
699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 </text>
702
703 <text style="text_m">
704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
705 <text/>
706 </text>
707
708 <text style="text_m_accent">
709 <placement x="%center_x%" y="%row2_y%" placement="5"/>
710 <text>%tw_text1%</text>
711 </text>
712
713 <text style="text_m_accent">
714 <placement x="%center_x%" y="%row3_y%" placement="5"/>
715 <text>%tw_text2%</text>
716 </text>
717
718 <text style="text_m">
719 <placement x="%center_x%" y="%row4_y%" placement="5"/>
720 <text>%tw_text3%</text>
721 </text>
722
723 <text style="text_m">
724 <placement x="%center_x%" y="%row5_y%" placement="5"/>
725 <text>%tw_text4%</text>
726 </text>
727
728 <text style="text_m">
729 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500730 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100731 </text>
732
733 <slider>
734 <text>%tw_slider_text%</text>
735 <action function="page">action_page</action>
736 </slider>
737
738 <action>
739 <touch key="back"/>
740 <actions>
741 <action function="set">tw_clear_destination=%tw_back%</action>
742 <action function="page">clear_vars</action>
743 </actions>
744 </action>
745
746 <action>
747 <touch key="home"/>
748 <action function="page">main</action>
749 </action>
750 </page>
751
752 <page name="action_page">
753 <template name="page"/>
754
755 <text style="text_l">
756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
757 <text>%tw_action_text1%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%col1_x_header%" y="%row4_header_y%"/>
762 <text>%tw_action_text2%</text>
763 </text>
764
765 <template name="console"/>
766
767 <template name="progress_bar"/>
768
769 <button style="main_button_half_height">
770 <condition var1="tw_has_cancel" var2="1"/>
771 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
774 </button>
775
776 <action>
777 <condition var1="tw_operation_state" var2="1"/>
778 <actions>
779 <action function="page">action_complete</action>
780 </actions>
781 </action>
782
783 <action>
784 <condition var1="tw_has_action2" var2="0"/>
785 <actions>
786 <action function="%tw_action%">%tw_action_param%</action>
787 </actions>
788 </action>
789
790 <action>
791 <condition var1="tw_has_action2" var2="1"/>
792 <actions>
793 <action function="%tw_action%">%tw_action_param%</action>
794 <action function="%tw_action2%">%tw_action2_param%</action>
795 </actions>
796 </action>
797 </page>
798
799 <page name="singleaction_page">
800 <template name="page"/>
801
802 <text style="text_l">
803 <placement x="%col1_x_header%" y="%row3_header_y%"/>
804 <text>%tw_action_text1%</text>
805 </text>
806
807 <text style="text_m">
808 <placement x="%col1_x_header%" y="%row4_header_y%"/>
809 <text>%tw_action_text2%</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <action>
817 <condition var1="tw_operation_state" var2="1"/>
818 <actions>
819 <action function="set">tw_page_done=1</action>
820 </actions>
821 </action>
822
823 <action>
824 <condition var1="tw_has_action2" var2="0"/>
825 <actions>
826 <action function="%tw_action%">%tw_action_param%</action>
827 </actions>
828 </action>
829
830 <action>
831 <condition var1="tw_has_action2" var2="1"/>
832 <actions>
833 <action function="%tw_action%">%tw_action_param%</action>
834 <action function="%tw_action2%">%tw_action2_param%</action>
835 </actions>
836 </action>
837 </page>
838
839 <page name="action_complete">
840 <template name="page"/>
841
842 <text style="text_l">
843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
844 <text>%tw_complete_text1%</text>
845 </text>
846
847 <text style="text_m_fail">
848 <condition var1="tw_operation_status" op="!=" var2="0"/>
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100851 </text>
852
853 <text style="text_m">
854 <condition var1="tw_operation_status" var2="0"/>
855 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500856 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </text>
858
859 <template name="console"/>
860
861 <button style="main_button_half_height">
862 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 <actions>
865 <action function="set">tw_clear_destination=%tw_back%</action>
866 <action function="page">clear_vars</action>
867 </actions>
868 </button>
869
870 <button style="main_button_half_height">
871 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500872 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100873 <actions>
874 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500875 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </actions>
877 </button>
878
879 <action>
880 <touch key="home"/>
881 <actions>
882 <action function="set">tw_clear_destination=main2</action>
883 <action function="page">clear_vars</action>
884 </actions>
885 </action>
886
887 <action>
888 <touch key="back"/>
889 <actions>
890 <action function="set">tw_clear_destination=%tw_back%</action>
891 <action function="page">clear_vars</action>
892 </actions>
893 </action>
894 </page>
895
896 <page name="filecheck">
897 <action>
898 <action function="fileexists">%tw_filecheck%</action>
899 </action>
900
901 <action>
902 <conditions>
903 <condition var1="tw_operation_state" var2="1"/>
904 <condition var1="tw_operation_status" var2="0"/>
905 </conditions>
906 <actions>
907 <action function="set">tw_fileexists=1</action>
908 <action function="page">%tw_existpage%</action>
909 </actions>
910 </action>
911
912 <action>
913 <conditions>
914 <condition var1="tw_operation_state" var2="1"/>
915 <condition var1="tw_operation_status" var2="1"/>
916 </conditions>
917 <actions>
918 <action function="set">tw_fileexists=0</action>
919 <action function="page">%tw_notexistpage%</action>
920 </actions>
921 </action>
922 </page>
923
924 <page name="rebootcheck">
925 <action>
926 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
927 <action function="reboot">%tw_action_param%</action>
928 </action>
929
930 <action>
931 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
932 <action function="page">confirm_action</action>
933 </action>
934 </page>
935
936 <page name="wipe">
937 <template name="page"/>
938
939 <text style="text_l">
940 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500941 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100942 </text>
943
944 <text style="text_m">
945 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500946 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100947 </text>
948
949 <text style="text_m_accent">
950 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </text>
953
954 <text style="text_m_accent">
955 <condition var1="tw_has_data_media" var2="1"/>
956 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100958 </text>
959
960 <text style="text_m_accent">
961 <conditions>
962 <condition var1="tw_has_android_secure" var2="1"/>
963 <condition var1="fileexists" var2="/and-sec"/>
964 </conditions>
965 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100967 </text>
968
969 <text style="text_m_accent">
970 <condition var1="tw_has_sdext_partition" var2="1"/>
971 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500972 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100973 </text>
974
975 <text style="text_m">
976 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <text style="text_m">
981 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500982 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100983 </text>
984
985 <text style="text_m">
986 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500987 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100988 </text>
989
990 <button style="main_button_half_height">
991 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500992 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100993 <actions>
994 <action function="set">partitionlisterror=0</action>
995 <action function="page">advancedwipe</action>
996 </actions>
997 </button>
998
999 <button style="main_button_half_height">
1000 <condition var1="tw_has_data_media" var2="1"/>
1001 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001002 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001003 <action function="page">formatdata</action>
1004 </button>
1005
1006 <button style="main_button_half_height">
1007 <conditions>
1008 <condition var1="tw_is_encrypted" var2="1"/>
1009 <condition var1="tw_has_data_media" var2="0"/>
1010 </conditions>
1011 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001012 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001013 <actions>
1014 <action function="set">tw_back=wipe</action>
1015 <action function="set">tw_action=wipe</action>
1016 <action function="set">tw_action_param=DATAMEDIA</action>
1017 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001018 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001019 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1021 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1022 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001023 <action function="page">confirm_action</action>
1024 </actions>
1025 </button>
1026
1027 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001028 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001029 <actions>
1030 <action function="set">tw_back=wipe</action>
1031 <action function="set">tw_action=wipe</action>
1032 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001033 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1034 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001035 <action function="page">action_page</action>
1036 </actions>
1037 </slider>
1038
1039 <action>
1040 <touch key="back"/>
1041 <action function="page">main</action>
1042 </action>
1043
1044 <action>
1045 <touch key="home"/>
1046 <action function="page">main</action>
1047 </action>
1048 </page>
1049
1050 <page name="advancedwipe">
1051 <template name="page"/>
1052
1053 <action>
1054 <action function="set">tw_wipe_list=</action>
1055 </action>
1056
1057 <text style="text_l">
1058 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 </text>
1061
1062 <text style="text_m">
1063 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <partitionlist>
1068 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <data name="tw_wipe_list"/>
1071 <listtype name="wipe"/>
1072 </partitionlist>
1073
1074 <text style="text_m_fail">
1075 <condition var1="partitionlisterror" var2="1"/>
1076 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <button style="main_button_half_height_full_width">
1081 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001084 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001085 <action function="page">checkpartitionlist</action>
1086 </actions>
1087 </button>
1088
1089 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 <actions>
1092 <action function="set">tw_back=advancedwipe</action>
1093 <action function="set">tw_action=wipe</action>
1094 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1096 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1097 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001098 <action function="page">action_page</action>
1099 </actions>
1100 </slider>
1101
1102 <action>
1103 <touch key="home"/>
1104 <action function="page">main</action>
1105 </action>
1106
1107 <action>
1108 <touch key="back"/>
1109 <action function="page">wipe</action>
1110 </action>
1111 </page>
1112
1113 <page name="formatdata">
1114 <template name="page"/>
1115
1116 <text style="text_l">
1117 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001118 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001119 </text>
1120
1121 <text style="text_m">
1122 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001123 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001124 </text>
1125
1126 <text style="text_m_fail">
1127 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001129 </text>
1130
1131 <text style="text_m_fail">
1132 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001133 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001134 </text>
1135
1136 <text style="text_m_fail">
1137 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 </text>
1140
Ethan Yonker66a19492015-12-10 10:19:45 -06001141 <text style="text_m_fail">
1142 <condition var1="tw_has_adopted_storage" var2="1"/>
1143 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1144 <text>{@format_data_adopted=Including Adopted Storage}</text>
1145 </text>
1146
z31s1g28f0a922015-11-07 18:50:22 +01001147 <text style="text_m">
1148 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001149 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001150 </text>
1151
1152 <text style="text_m">
1153 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001154 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001155 </text>
1156
1157 <input>
1158 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1159 <text>%tw_confirm_formatdata%</text>
1160 <data name="tw_confirm_formatdata"/>
1161 <restrict minlen="3" maxlen="3" allow="yes"/>
1162 <action function="page">formatdata_confirm</action>
1163 </input>
1164
1165 <fill color="%accent_color%">
1166 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1167 </fill>
1168
1169 <template name="keyboardtemplate"/>
1170
1171 <action>
1172 <touch key="home"/>
1173 <action function="page">main</action>
1174 </action>
1175
1176 <action>
1177 <touch key="back"/>
1178 <action function="page">wipe</action>
1179 </action>
1180 </page>
1181
1182 <page name="formatdata_confirm">
1183 <action>
1184 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1185 <actions>
1186 <action function="set">tw_back=formatdata</action>
1187 <action function="set">tw_action=wipe</action>
1188 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001189 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1190 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001191 <action function="page">action_page</action>
1192 </actions>
1193 </action>
1194
1195 <action>
1196 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1197 <action function="page">formatdata</action>
1198 </action>
1199 </page>
1200
1201 <page name="checkpartitionlist">
1202 <action>
1203 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1204 <actions>
1205 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001206 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001207 <action function="page">partitionoptions</action>
1208 </actions>
1209 </action>
1210
1211 <action>
1212 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1213 <actions>
1214 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001215 <action function="page">advancedwipe</action>
1216 </actions>
1217 </action>
1218 </page>
1219
1220 <page name="partitionoptions">
1221 <template name="page"/>
1222
1223 <text style="text_l">
1224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001225 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001226 </text>
1227
1228 <text style="text_m">
1229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001230 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001231 </text>
1232
1233 <text style="text_m_accent">
1234 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m_accent">
1239 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <condition var1="tw_partition_is_present" var2="1"/>
1245 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <condition var1="tw_partition_is_present" var2="0"/>
1251 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m">
1256 <condition var1="tw_partition_removable" var2="1"/>
1257 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 </text>
1260
1261 <text style="text_m">
1262 <condition var1="tw_partition_removable" var2="0"/>
1263 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001265 </text>
1266
1267 <text style="text_m">
1268 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001275 </text>
1276
1277 <text style="text_m">
1278 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001279 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001280 </text>
1281
1282 <text style="text_m">
1283 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001284 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001285 </text>
1286
1287 <button style="main_button_half_height">
1288 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1289 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 <actions>
1292 <action function="set">tw_back=partitionoptions</action>
1293 <action function="set">tw_action=resize</action>
1294 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1295 <action function="set">tw_has_action2=1</action>
1296 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001297 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001299 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1301 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1302 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001303 <action function="page">confirm_action</action>
1304 </actions>
1305 </button>
1306
1307 <button style="main_button_half_height">
1308 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1309 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <actions>
1312 <action function="set">tw_back=partitionoptions</action>
1313 <action function="set">tw_action=repair</action>
1314 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1315 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001317 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1319 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1320 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <action function="page">confirm_action</action>
1322 </actions>
1323 </button>
1324
1325 <button style="main_button_half_height">
1326 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="page">selectfilesystem</action>
1329 </button>
1330
1331 <action>
1332 <touch key="home"/>
1333 <action function="page">main</action>
1334 </action>
1335
1336 <action>
1337 <touch key="back"/>
1338 <action function="page">advancedwipe</action>
1339 </action>
1340 </page>
1341
1342 <page name="refreshfilesystem">
1343 <action>
1344 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1345 <actions>
1346 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001347 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001348 <action function="page">selectfilesystem</action>
1349 </actions>
1350 </action>
1351
1352 <action>
1353 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1354 <actions>
1355 <action function="set">partitionlisterror=1</action>
1356 <action function="set">tw_wipe_list=</action>
1357 <action function="page">advancedwipe</action>
1358 </actions>
1359 </action>
1360 </page>
1361
1362 <page name="selectfilesystem">
1363 <template name="page"/>
1364
1365 <text style="text_l">
1366 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001372 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001373 </text>
1374
1375 <text style="text_m_accent">
1376 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m_accent">
1381 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m_fail">
1386 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m_fail">
1391 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <button style="main_button_half_height">
1396 <condition var1="tw_partition_ext" op="=" var2="1"/>
1397 <placement x="%indent%" y="%row15a_y%"/>
1398 <text>EXT2</text>
1399 <actions>
1400 <action function="set">tw_back=refreshfilesystem</action>
1401 <action function="set">tw_action=changefilesystem</action>
1402 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1403 <action function="set">tw_action_new_file_system=ext2</action>
1404 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1406 <action function="set">tw_text2=EXT2</action>
1407 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1408 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1409 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="page">confirm_action</action>
1411 </actions>
1412 </button>
1413
1414 <button style="main_button_half_height">
1415 <condition var1="tw_partition_ext" op="=" var2="1"/>
1416 <placement x="%indent%" y="%row18a_y%"/>
1417 <text>EXT3</text>
1418 <actions>
1419 <action function="set">tw_back=refreshfilesystem</action>
1420 <action function="set">tw_action=changefilesystem</action>
1421 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1422 <action function="set">tw_action_new_file_system=ext3</action>
1423 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1425 <action function="set">tw_text2=EXT3</action>
1426 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1427 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1428 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001429 <action function="page">confirm_action</action>
1430 </actions>
1431 </button>
1432
1433 <button style="main_button_half_height">
1434 <condition var1="tw_partition_ext" op="=" var2="1"/>
1435 <placement x="%indent%" y="%row21a_y%"/>
1436 <text>EXT4</text>
1437 <actions>
1438 <action function="set">tw_back=refreshfilesystem</action>
1439 <action function="set">tw_action=changefilesystem</action>
1440 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1441 <action function="set">tw_action_new_file_system=ext4</action>
1442 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1444 <action function="set">tw_text2=EXT4</action>
1445 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1446 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1447 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001448 <action function="page">confirm_action</action>
1449 </actions>
1450 </button>
1451
1452 <button style="main_button_half_height">
1453 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1454 <placement x="%center_x%" y="%row15a_y%"/>
1455 <text>FAT</text>
1456 <actions>
1457 <action function="set">tw_back=refreshfilesystem</action>
1458 <action function="set">tw_action=changefilesystem</action>
1459 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1460 <action function="set">tw_action_new_file_system=vfat</action>
1461 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001462 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1463 <action function="set">tw_text2=FAT</action>
1464 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1465 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1466 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001467 <action function="page">confirm_action</action>
1468 </actions>
1469 </button>
1470
1471 <button style="main_button_half_height">
1472 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1473 <placement x="%center_x%" y="%row18a_y%"/>
1474 <text>exFAT</text>
1475 <actions>
1476 <action function="set">tw_back=refreshfilesystem</action>
1477 <action function="set">tw_action=changefilesystem</action>
1478 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1479 <action function="set">tw_action_new_file_system=exfat</action>
1480 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001481 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1482 <action function="set">tw_text2=exFAT</action>
1483 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1484 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1485 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001486 <action function="page">confirm_action</action>
1487 </actions>
1488 </button>
1489
1490 <button style="main_button_half_height">
1491 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1492 <placement x="%center_x%" y="%row21a_y%"/>
1493 <text>F2FS</text>
1494 <actions>
1495 <action function="set">tw_back=refreshfilesystem</action>
1496 <action function="set">tw_action=changefilesystem</action>
1497 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1498 <action function="set">tw_action_new_file_system=f2fs</action>
1499 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1501 <action function="set">tw_text2=F2FS</action>
1502 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1503 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1504 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001505 <action function="page">confirm_action</action>
1506 </actions>
1507 </button>
1508
1509 <action>
1510 <touch key="home"/>
1511 <action function="page">main</action>
1512 </action>
1513
1514 <action>
1515 <touch key="back"/>
1516 <action function="page">partitionoptions</action>
1517 </action>
1518 </page>
1519
1520 <page name="backup">
1521 <template name="page"/>
1522
1523 <text style="text_l">
1524 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001531 </text>
1532
1533 <template name="tabs_backup"/>
1534
1535 <fill color="%text_color%">
1536 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1537 </fill>
1538
1539 <button style="tab">
1540 <conditions>
1541 <condition var1="tw_include_encrypted_backup" var2="1"/>
1542 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001543 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001544 </conditions>
1545 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001547 <font resource="font_s" color="%text_color%"/>
1548 <actions>
1549 <action function="set">tw_password_not_match=0</action>
1550 <action function="page">backupencryption</action>
1551 </actions>
1552 </button>
1553
1554 <button style="tab">
1555 <conditions>
1556 <condition var1="tw_include_encrypted_backup" var2="1"/>
1557 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001558 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001559 </conditions>
1560 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001561 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001562 <font resource="font_s" color="%text_success_color%"/>
1563 <actions>
1564 <action function="set">tw_password_not_match=0</action>
1565 <action function="page">backupencryption</action>
1566 </actions>
1567 </button>
1568
1569 <text style="text_m_accent">
1570 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 </text>
1573
1574 <text style="text_m">
1575 <placement x="%indent%" y="%row4a_y%"/>
1576 <text>%tw_backup_name%</text>
1577 </text>
1578
1579 <fill color="%fileselector_linecolor%">
1580 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1581 </fill>
1582
1583 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001584 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1586 <fill color="%transparent%"/>
1587 <actions>
1588 <action function="set">tw_fileexists=0</action>
1589 <action function="page">backupname1</action>
1590 </actions>
1591 </button>
1592
1593 <partitionlist>
1594 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <data name="tw_backup_list"/>
1597 <listtype name="backup"/>
1598 </partitionlist>
1599
1600 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001601 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <actions>
1605 <action function="set">tw_back=backup</action>
1606 <action function="overlay">select_storage</action>
1607 </actions>
1608 </button>
1609
1610 <button style="main_button_half_height">
1611 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001612 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001613 <actions>
1614 <action function="refreshsizes"/>
1615 <action function="page">backup</action>
1616 </actions>
1617 </button>
1618
1619 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001620 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001621 <action function="page">backup_run</action>
1622 </slider>
1623
1624 <action>
1625 <touch key="home"/>
1626 <action function="page">main</action>
1627 </action>
1628
1629 <action>
1630 <touch key="back"/>
1631 <action function="page">main</action>
1632 </action>
1633 </page>
1634
1635 <page name="backup_options">
1636 <template name="page"/>
1637
1638 <text style="text_l">
1639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <template name="tabs_backup"/>
1649
1650 <fill color="%text_color%">
1651 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1652 </fill>
1653
1654 <button style="tab">
1655 <conditions>
1656 <condition var1="tw_include_encrypted_backup" var2="1"/>
1657 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001658 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </conditions>
1660 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 <font resource="font_s" color="%text_color%"/>
1663 <actions>
1664 <action function="set">tw_password_not_match=0</action>
1665 <action function="page">backupencryption</action>
1666 </actions>
1667 </button>
1668
1669 <button style="tab">
1670 <conditions>
1671 <condition var1="tw_include_encrypted_backup" var2="1"/>
1672 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001673 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </conditions>
1675 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 <font resource="font_s" color="%text_success_color%"/>
1678 <actions>
1679 <action function="set">tw_password_not_match=0</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </button>
1683
1684 <checkbox>
1685 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <data variable="tw_use_compression"/>
1688 </checkbox>
1689
1690 <checkbox>
1691 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <data variable="tw_skip_md5_generate"/>
1694 </checkbox>
1695
1696 <checkbox>
1697 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001698 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <data variable="tw_disable_free_space"/>
1700 </checkbox>
1701
1702 <action>
1703 <touch key="home"/>
1704 <action function="page">main</action>
1705 </action>
1706
1707 <action>
1708 <touch key="back"/>
1709 <action function="page">backup</action>
1710 </action>
1711 </page>
1712
1713 <page name="backupname1">
1714 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="generatebackupname"/>
1717 </action>
1718
1719 <action>
1720 <action function="page">backupname2</action>
1721 </action>
1722 </page>
1723
1724 <page name="backupname2">
1725 <template name="page"/>
1726
1727 <text style="text_l">
1728 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001729 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001730 </text>
1731
1732 <text style="text_m">
1733 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <template name="tabs_backup"/>
1738
1739 <fill color="%text_color%">
1740 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1741 </fill>
1742
1743 <button style="tab">
1744 <conditions>
1745 <condition var1="tw_include_encrypted_backup" var2="1"/>
1746 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001747 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001748 </conditions>
1749 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <font resource="font_s" color="%text_color%"/>
1752 <actions>
1753 <action function="set">tw_password_not_match=0</action>
1754 <action function="page">backupencryption</action>
1755 </actions>
1756 </button>
1757
1758 <button style="tab">
1759 <conditions>
1760 <condition var1="tw_include_encrypted_backup" var2="1"/>
1761 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001762 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001763 </conditions>
1764 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001765 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001766 <font resource="font_s" color="%text_success_color%"/>
1767 <actions>
1768 <action function="set">tw_password_not_match=0</action>
1769 <action function="page">backupencryption</action>
1770 </actions>
1771 </button>
1772
1773 <text style="text_m_accent">
1774 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <input>
1779 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1780 <text>%tw_backup_name%</text>
1781 <data name="tw_backup_name"/>
1782 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1783 <actions>
1784 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1785 <action function="set">tw_existpage=backupname2</action>
1786 <action function="set">tw_notexistpage=backup</action>
1787 <action function="page">filecheck</action>
1788 </actions>
1789 </input>
1790
1791 <fill color="%accent_color%">
1792 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1793 </fill>
1794
1795 <fill color="%text_fail_color%">
1796 <condition var1="tw_fileexists" var2="1"/>
1797 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1798 </fill>
1799
1800 <text style="text_m_fail">
1801 <condition var1="tw_fileexists" var2="1"/>
1802 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <button style="main_button_half_height">
1807 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <action function="page">backup</action>
1812 </actions>
1813 </button>
1814
1815 <button style="main_button_half_height">
1816 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 <action function="appenddatetobackupname"/>
1819 </button>
1820
1821 <template name="keyboardtemplate"/>
1822
1823 <action>
1824 <touch key="home"/>
1825 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">main</action>
1828 </actions>
1829 </action>
1830
1831 <action>
1832 <touch key="back"/>
1833 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001834 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001835 <action function="page">backup</action>
1836 </actions>
1837 </action>
1838 </page>
1839
1840 <page name="backupencryption">
1841 <template name="page"/>
1842
1843 <text style="text_l">
1844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001845 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001846 </text>
1847
1848 <text style="text_m">
1849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001850 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001851 </text>
1852
1853 <template name="tabs_backup"/>
1854
1855 <button style="tab">
1856 <conditions>
1857 <condition var1="tw_include_encrypted_backup" var2="1"/>
1858 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001859 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001860 </conditions>
1861 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001863 <font resource="font_s" color="%text_color%"/>
1864 <actions>
1865 <action function="set">tw_password_not_match=0</action>
1866 <action function="page">backupencryption</action>
1867 </actions>
1868 </button>
1869
1870 <button style="tab">
1871 <conditions>
1872 <condition var1="tw_include_encrypted_backup" var2="1"/>
1873 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001874 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001875 </conditions>
1876 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <font resource="font_s" color="%text_success_color%"/>
1879 <actions>
1880 <action function="set">tw_password_not_match=0</action>
1881 <action function="page">backupencryption</action>
1882 </actions>
1883 </button>
1884
1885 <fill color="%text_color%">
1886 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1887 </fill>
1888
1889 <text style="text_m_accent">
1890 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001892 </text>
1893
1894 <text style="text_m">
1895 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001896 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001897 </text>
1898
1899 <input>
1900 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1901 <text>%tw_backup_encrypt_display%</text>
1902 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1903 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1904 <action function="page">backupencryption2</action>
1905 </input>
1906
1907 <fill color="%accent_color%">
1908 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1909 </fill>
1910
1911 <fill color="%text_fail_color%">
1912 <condition var1="tw_password_not_match" var2="1"/>
1913 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1914 </fill>
1915
1916 <text style="text_m_fail">
1917 <condition var1="tw_password_not_match" var2="1"/>
1918 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 </text>
1921
1922 <button style="main_button_half_height">
1923 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001924 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001925 <actions>
1926 <action function="set">tw_encrypt_backup=0</action>
1927 <action function="set">tw_backup_password=</action>
1928 <action function="set">tw_backup_password2=</action>
1929 <action function="set">tw_backup_encrypt_display=</action>
1930 <action function="set">tw_backup_encrypt_display2=</action>
1931 <action function="page">backup</action>
1932 </actions>
1933 </button>
1934
1935 <template name="keyboardtemplate"/>
1936
1937 <action>
1938 <touch key="home"/>
1939 <action function="page">main</action>
1940 </action>
1941
1942 <action>
1943 <touch key="back"/>
1944 <action function="page">backup</action>
1945 </action>
1946 </page>
1947
1948 <page name="backupencryption2">
1949 <template name="page"/>
1950
1951 <text style="text_l">
1952 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001953 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001954 </text>
1955
1956 <text style="text_m">
1957 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001958 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001959 </text>
1960
1961 <template name="tabs_backup"/>
1962
1963 <button style="tab">
1964 <conditions>
1965 <condition var1="tw_include_encrypted_backup" var2="1"/>
1966 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001967 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001968 </conditions>
1969 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001970 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001971 <font resource="font_s" color="%text_color%"/>
1972 <actions>
1973 <action function="set">tw_password_not_match=0</action>
1974 <action function="page">backupencryption</action>
1975 </actions>
1976 </button>
1977
1978 <button style="tab">
1979 <conditions>
1980 <condition var1="tw_include_encrypted_backup" var2="1"/>
1981 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001982 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001983 </conditions>
1984 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 <font resource="font_s" color="%text_success_color%"/>
1987 <actions>
1988 <action function="set">tw_password_not_match=0</action>
1989 <action function="page">backupencryption</action>
1990 </actions>
1991 </button>
1992
1993 <fill color="%text_color%">
1994 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1995 </fill>
1996
1997 <text style="text_m_accent">
1998 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001999 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002000 </text>
2001
2002 <text style="text_m">
2003 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002004 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002005 </text>
2006
2007 <input>
2008 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2009 <text>%tw_backup_encrypt_display2%</text>
2010 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2011 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2012 <action function="page">checkbackuppassword</action>
2013 </input>
2014
2015 <fill color="%accent_color%">
2016 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2017 </fill>
2018
2019 <button style="main_button_half_height">
2020 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002021 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002022 <actions>
2023 <action function="set">tw_encrypt_backup=0</action>
2024 <action function="set">tw_backup_password=</action>
2025 <action function="set">tw_backup_password2=</action>
2026 <action function="set">tw_backup_encrypt_display=</action>
2027 <action function="set">tw_backup_encrypt_display2=</action>
2028 <action function="page">backup</action>
2029 </actions>
2030 </button>
2031
2032 <template name="keyboardtemplate"/>
2033
2034 <action>
2035 <touch key="home"/>
2036 <action function="page">main</action>
2037 </action>
2038
2039 <action>
2040 <touch key="back"/>
2041 <action function="page">backup</action>
2042 </action>
2043 </page>
2044
2045 <page name="checkbackuppassword">
2046 <action>
2047 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2048 <actions>
2049 <action function="set">tw_encrypt_backup=1</action>
2050 <action function="page">backup</action>
2051 </actions>
2052 </action>
2053
2054 <action>
2055 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2056 <actions>
2057 <action function="set">tw_encrypt_backup=0</action>
2058 <action function="set">tw_password_not_match=1</action>
2059 <action function="set">tw_backup_password=</action>
2060 <action function="set">tw_backup_password2=</action>
2061 <action function="set">tw_backup_encrypt_display=</action>
2062 <action function="set">tw_backup_encrypt_display2=</action>
2063 <action function="page">backupencryption</action>
2064 </actions>
2065 </action>
2066 </page>
2067
2068 <page name="backup_run">
2069 <template name="page"/>
2070
2071 <text style="text_l">
2072 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2073 <text>%tw_operation%</text>
2074 </text>
2075
2076 <text style="text_m">
2077 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2078 <text>%tw_partition% Partition</text>
2079 </text>
2080
2081 <template name="console"/>
2082
2083 <template name="progress_bar"/>
2084
2085 <text style="text_m_accent">
2086 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002087 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002088 </text>
2089
2090 <text style="text_m">
2091 <placement x="%indent%" y="%row20_y%"/>
2092 <text>%tw_file_progress%</text>
2093 </text>
2094
2095 <text style="text_m">
2096 <placement x="%indent%" y="%row21_y%"/>
2097 <text>%tw_size_progress%</text>
2098 </text>
2099
2100 <button style="main_button_half_height">
2101 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002102 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002103 <action function="cancelbackup"/>
2104 </button>
2105
2106 <action>
2107 <action function="nandroid">backup</action>
2108 </action>
2109
2110 <action>
2111 <condition var1="tw_operation_state" var2="1"/>
2112 <condition var1="tw_cancel_backup" var2="0"/>
2113 <actions>
2114 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002116 <action function="set">tw_show_reboot=1</action>
2117 <action function="page">action_complete</action>
2118 </actions>
2119 </action>
2120
2121 <action>
2122 <condition var1="tw_operation_state" var2="1"/>
2123 <condition var1="tw_cancel_backup" var2="1"/>
2124 <actions>
2125 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <action function="set">tw_show_reboot=1</action>
2128 <action function="page">action_complete</action>
2129 </actions>
2130 </action>
2131 </page>
2132
2133 <page name="restore">
2134 <template name="page"/>
2135
2136 <text style="text_l">
2137 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <text style="text_m">
2142 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </text>
2145
2146 <template name="sort_options"/>
2147
2148 <fileselector>
2149 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002150 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002151 <filter folders="1" files="0" nav="0"/>
2152 <path name="tw_backups_folder"/>
2153 <data name="tw_restore" default=""/>
2154 <selection name="tw_restore_name"/>
2155 </fileselector>
2156
2157 <button style="main_button_half_height">
2158 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 <actions>
2161 <action function="set">tw_back=restore</action>
2162 <action function="overlay">select_storage</action>
2163 </actions>
2164 </button>
2165
2166 <action>
2167 <condition var1="tw_restore" op="modified"/>
2168 <actions>
2169 <action function="readBackup"/>
2170 <action function="page">restore_read</action>
2171 </actions>
2172 </action>
2173
2174 <action>
2175 <touch key="home"/>
2176 <action function="page">main</action>
2177 </action>
2178
2179 <action>
2180 <touch key="back"/>
2181 <action function="page">main</action>
2182 </action>
2183 </page>
2184
2185 <page name="restore_read">
2186 <action>
2187 <condition var1="tw_restore_encrypted" var2="1"/>
2188 <actions>
2189 <action function="set">tw_password_fail=0</action>
2190 <action function="page">restore_decrypt</action>
2191 </actions>
2192 </action>
2193
2194 <action>
2195 <condition var1="tw_restore_encrypted" var2="0"/>
2196 <actions>
2197 <action function="page">restore_select</action>
2198 </actions>
2199 </action>
2200 </page>
2201
2202 <page name="restore_decrypt">
2203 <template name="page"/>
2204
2205 <text style="text_l">
2206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002208 </text>
2209
2210 <text style="text_m">
2211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m_accent">
2216 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <input>
2221 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2222 <text>%tw_restore_display%</text>
2223 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2224 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2225 <action function="page">try_restore_decrypt</action>
2226 </input>
2227
2228 <fill color="%accent_color%">
2229 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2230 </fill>
2231
2232 <fill color="%text_fail_color%">
2233 <condition var1="tw_password_fail" var2="1"/>
2234 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2235 </fill>
2236
2237 <text style="text_m_fail">
2238 <condition var1="tw_password_fail" var2="1"/>
2239 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002240 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002241 </text>
2242
2243 <button style="main_button_half_height">
2244 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 <actions>
2247 <action function="set">tw_page_done=1</action>
2248 <action function="page">restore</action>
2249 </actions>
2250 </button>
2251
2252 <button style="main_button_half_height">
2253 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002254 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002255 <actions>
2256 <action function="set">tw_back=restore</action>
2257 <action function="set">tw_action=cmd</action>
2258 <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 -05002259 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2260 <action function="set">tw_text2=%tw_restore_name%</action>
2261 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2262 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2263 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2264 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <action function="page">confirm_action</action>
2266 </actions>
2267 </button>
2268
2269 <template name="keyboardtemplate"/>
2270
2271 <action>
2272 <touch key="home"/>
2273 <action function="page">main</action>
2274 </action>
2275
2276 <action>
2277 <touch key="back"/>
2278 <action function="page">restore</action>
2279 </action>
2280 </page>
2281
2282 <page name="try_restore_decrypt">
2283 <template name="page"/>
2284
2285 <text style="text_l">
2286 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002287 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002288 </text>
2289
2290 <text style="text_m">
2291 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <template name="console"/>
2296
2297 <template name="progress_bar"/>
2298
2299 <action>
2300 <action function="decrypt_backup"/>
2301 </action>
2302
2303 <action>
2304 <conditions>
2305 <condition var1="tw_operation_state" var2="1"/>
2306 <condition var1="tw_operation_status" op="!=" var2="0"/>
2307 </conditions>
2308 <actions>
2309 <action function="set">tw_password_fail=1</action>
2310 <action function="page">restore_decrypt</action>
2311 </actions>
2312 </action>
2313
2314 <action>
2315 <conditions>
2316 <condition var1="tw_operation_state" var2="1"/>
2317 <condition var1="tw_operation_status" op="=" var2="0"/>
2318 </conditions>
2319 <actions>
2320 <action function="set">tw_page_done=1</action>
2321 <action function="page">restore_select</action>
2322 </actions>
2323 </action>
2324 </page>
2325
2326 <page name="restore_select">
2327 <template name="page"/>
2328
2329 <text style="text_l">
2330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002331 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002332 </text>
2333
2334 <text style="text_m">
2335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002336 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002337 </text>
2338
2339 <text style="text_m_accent">
2340 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <text style="text_m">
2345 <placement x="%indent%" y="%row3_y%"/>
2346 <text>%tw_restore_name%</text>
2347 </text>
2348
2349 <fill color="%fileselector_linecolor%">
2350 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2351 </fill>
2352
2353 <button>
2354 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2355 <fill color="%transparent%"/>
2356 <actions>
2357 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2358 <action function="set">tw_fileexists=0</action>
2359 <action function="page">renamebackup</action>
2360 </actions>
2361 </button>
2362
2363 <partitionlist>
2364 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2367 <listtype name="restore"/>
2368 </partitionlist>
2369
2370 <checkbox>
2371 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002372 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002373 <data variable="tw_skip_md5_check"/>
2374 </checkbox>
2375
2376 <button style="main_button_half_height">
2377 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 <actions>
2380 <action function="set">tw_back=restore</action>
2381 <action function="set">tw_action=cmd</action>
2382 <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 -05002383 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002384 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002385 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2386 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2387 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2388 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002389 <action function="page">confirm_action</action>
2390 </actions>
2391 </button>
2392
2393 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 <action function="page">restore_run</action>
2396 </slider>
2397
2398 <action>
2399 <touch key="home"/>
2400 <action function="page">main</action>
2401 </action>
2402
2403 <action>
2404 <touch key="back"/>
2405 <action function="page">restore</action>
2406 </action>
2407 </page>
2408
2409 <page name="renamebackup">
2410 <template name="page"/>
2411
2412 <text style="text_l">
2413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <text style="text_m">
2418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m_accent">
2423 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002424 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002425 </text>
2426
2427 <input>
2428 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2429 <text>%tw_backup_rename%</text>
2430 <data name="tw_backup_rename"/>
2431 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2432 <actions>
2433 <action function="set">tw_back=restore</action>
2434 <action function="set">tw_action=cmd</action>
2435 <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 -05002436 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2437 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2438 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2439 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2440 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2442 <action function="set">tw_existpage=renamebackup</action>
2443 <action function="set">tw_notexistpage=confirm_action</action>
2444 <action function="page">filecheck</action>
2445 </actions>
2446 </input>
2447
2448 <fill color="%accent_color%">
2449 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2450 </fill>
2451
2452 <fill color="%text_fail_color%">
2453 <condition var1="tw_fileexists" var2="1"/>
2454 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2455 </fill>
2456
2457 <text style="text_m_fail">
2458 <condition var1="tw_fileexists" var2="1"/>
2459 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 </text>
2462
2463 <button style="main_button_half_height">
2464 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002465 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002466 <action function="page">restore_select</action>
2467 </button>
2468
2469 <template name="keyboardtemplate"/>
2470
2471 <action>
2472 <touch key="home"/>
2473 <action function="page">main</action>
2474 </action>
2475
2476 <action>
2477 <touch key="back"/>
2478 <action function="page">restore_select</action>
2479 </action>
2480 </page>
2481
2482 <page name="restore_run">
2483 <template name="page"/>
2484
2485 <text style="text_l">
2486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002487 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002488 </text>
2489
2490 <text style="text_m">
2491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2492 <text>%tw_operation% %tw_partition%</text>
2493 </text>
2494
2495 <template name="console"/>
2496
2497 <template name="progress_bar"/>
2498
2499 <text style="text_m_accent">
2500 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002501 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002502 </text>
2503
2504 <text style="text_m">
2505 <placement x="%indent%" y="%row20_y%"/>
2506 <text>%tw_size_progress%</text>
2507 </text>
2508
2509 <action>
2510 <condition var1="tw_operation_state" var2="1"/>
2511 <actions>
2512 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002513 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002514 <action function="set">tw_show_reboot=1</action>
2515 <action function="page">action_complete</action>
2516 </actions>
2517 </action>
2518
2519 <action>
2520 <action function="nandroid">restore</action>
2521 </action>
2522 </page>
2523
2524 <page name="mount">
2525 <template name="page"/>
2526
2527 <text style="text_l">
2528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002530 </text>
2531
2532 <text style="text_m">
2533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <partitionlist>
2538 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <listtype name="mount"/>
2541 </partitionlist>
2542
2543 <button style="checkbox">
2544 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2545 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002546 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002547 <image resource="checkbox_false"/>
2548 <action function="mountsystemtoggle">1</action>
2549 </button>
2550
2551 <button style="checkbox">
2552 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2553 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <image resource="checkbox_true"/>
2556 <actions>
2557 <action function="set">tw_lifetime_writes=2</action>
2558 <action function="page">system_readonly_check</action>
2559 </actions>
2560 </button>
2561
2562 <button style="main_button_half_height">
2563 <condition var1="tw_has_usb_storage" var2="1"/>
2564 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 <action function="page">usb_mount</action>
2567 </button>
2568
2569 <button style="main_button_half_height">
2570 <conditions>
2571 <condition var1="tw_is_encrypted" var2="1"/>
2572 <condition var1="tw_is_decrypted" var2="0"/>
2573 </conditions>
2574 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002576 <action function="page">decrypt</action>
2577 </button>
2578
2579 <button style="main_button_half_height">
2580 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <actions>
2583 <action function="set">tw_back=mount</action>
2584 <action function="overlay">select_storage</action>
2585 </actions>
2586 </button>
2587
2588 <button style="main_button_half_height">
2589 <conditions>
2590 <condition var1="tw_has_mtp" var2="1"/>
2591 <condition var1="tw_mtp_enabled" var2="0"/>
2592 </conditions>
2593 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <action function="startmtp"/>
2596 </button>
2597
2598 <button style="main_button_half_height">
2599 <conditions>
2600 <condition var1="tw_has_mtp" var2="1"/>
2601 <condition var1="tw_mtp_enabled" var2="1"/>
2602 </conditions>
2603 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002604 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="stopmtp"/>
2606 </button>
2607
2608 <action>
2609 <touch key="home"/>
2610 <action function="page">main</action>
2611 </action>
2612
2613 <action>
2614 <touch key="back"/>
2615 <action function="page">main</action>
2616 </action>
2617 </page>
2618
2619 <page name="usb_mount">
2620 <template name="page"/>
2621
2622 <text style="text_l">
2623 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <text style="text_m">
2628 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002629 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 </text>
2631
2632 <text style="text_m_accent">
2633 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 </text>
2636
2637 <text style="text_m">
2638 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 </text>
2641
2642 <text style="text_m">
2643 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 </text>
2646
2647 <button style="main_button_half_height">
2648 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002650 <action function="page">usb_umount</action>
2651 </button>
2652
2653 <action>
2654 <action function="mount">usb</action>
2655 <action function="set">tw_busy=1</action>
2656 </action>
2657 </page>
2658
2659 <page name="usb_umount">
2660 <action>
2661 <action function="unmount">usb</action>
2662 </action>
2663
2664 <action>
2665 <action function="page">mount</action>
2666 <action function="set">tw_busy=0</action>
2667 </action>
2668 </page>
2669
2670 <page name="system_readonly_check">
2671 <action>
2672 <action function="checkpartitionlifetimewrites">/system</action>
2673 </action>
2674
2675 <action>
2676 <condition var1="tw_lifetime_writes" var2="1"/>
2677 <actions>
2678 <action function="mountsystemtoggle">0</action>
2679 <action function="page">mount</action>
2680 </actions>
2681 </action>
2682
2683 <action>
2684 <condition var1="tw_lifetime_writes" var2="0"/>
2685 <actions>
2686 <action function="set">tw_back=mount</action>
2687 <action function="page">system_readonly</action>
2688 </actions>
2689 </action>
2690 </page>
2691
2692 <page name="reboot">
2693 <template name="page"/>
2694
2695 <text style="text_l">
2696 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002697 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002698 </text>
2699
2700 <button style="main_button">
2701 <condition var1="tw_reboot_system" var2="1"/>
2702 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002704 <actions>
2705 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002706 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </actions>
2708 </button>
2709
2710 <button style="main_button">
2711 <condition var1="tw_reboot_poweroff" var2="1"/>
2712 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 <actions>
2715 <action function="set">tw_back=reboot</action>
2716 <action function="set">tw_action=reboot</action>
2717 <action function="set">tw_action_param=poweroff</action>
2718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2720 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2721 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2722 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2723 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002724 <action function="page">rebootcheck</action>
2725 </actions>
2726 </button>
2727
2728 <button style="main_button">
2729 <condition var1="tw_reboot_recovery" var2="1"/>
2730 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002731 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002732 <actions>
2733 <action function="set">tw_back=reboot</action>
2734 <action function="set">tw_action=reboot</action>
2735 <action function="set">tw_action_param=recovery</action>
2736 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2738 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2739 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2740 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2741 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <action function="page">rebootcheck</action>
2743 </actions>
2744 </button>
2745
2746 <button style="main_button">
2747 <condition var1="tw_reboot_bootloader" var2="1"/>
2748 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 <actions>
2751 <action function="set">tw_back=reboot</action>
2752 <action function="set">tw_action=reboot</action>
2753 <action function="set">tw_action_param=bootloader</action>
2754 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2756 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2757 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2758 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2759 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002760 <action function="page">rebootcheck</action>
2761 </actions>
2762 </button>
2763
2764 <button style="main_button">
2765 <condition var1="tw_download_mode" var2="1"/>
2766 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <actions>
2769 <action function="set">tw_back=reboot</action>
2770 <action function="set">tw_action=reboot</action>
2771 <action function="set">tw_action_param=download</action>
2772 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002773 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2774 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2775 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2776 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2777 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002778 <action function="page">rebootcheck</action>
2779 </actions>
2780 </button>
2781
2782 <action>
2783 <touch key="home"/>
2784 <action function="page">main</action>
2785 </action>
2786
2787 <action>
2788 <touch key="back"/>
2789 <action function="page">main</action>
2790 </action>
2791 </page>
2792
2793 <page name="system_readonly">
2794 <template name="page"/>
2795
2796 <text style="text_l">
2797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 </text>
2800
2801 <text style="text_m_accent">
2802 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m">
2807 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <text style="text_m">
2812 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 </text>
2815
2816 <text style="text_m">
2817 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 </text>
2820
2821 <text style="text_m">
2822 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002824 </text>
2825
2826 <text style="text_m_fail">
2827 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 </text>
2830
2831 <text style="text_m_fail">
2832 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002834 </text>
2835
2836 <checkbox>
2837 <condition var1="tw_is_encrypted" var2="0"/>
2838 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002839 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002840 <data variable="tw_never_show_system_ro_page"/>
2841 </checkbox>
2842
2843 <button style="main_button_half_height">
2844 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <actions>
2847 <action function="mountsystemtoggle">1</action>
2848 <action function="set">tw_page_done=1</action>
2849 <action function="page">%tw_back%</action>
2850 </actions>
2851 </button>
2852
z31s1g608d7ff2016-01-18 19:47:25 +01002853 <button style="main_button_half_height">
2854 <placement x="%center_x%" y="%row18a_y%"/>
2855 <text>{@sel_lang_btn=Select Language}</text>
2856 <action function="overlay">select_language</action>
2857 </button>
2858
z31s1g28f0a922015-11-07 18:50:22 +01002859 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 <actions>
2862 <action function="mountsystemtoggle">0</action>
2863 <action function="set">tw_page_done=1</action>
2864 <action function="page">%tw_back%</action>
2865 </actions>
2866 </slider>
2867 </page>
2868
2869 <page name="settings">
2870 <template name="page"/>
2871
2872 <text style="text_l">
2873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <text style="text_m">
2878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <template name="tabs_settings"/>
2883
2884 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002886 </fill>
2887
2888 <listbox style="scrolllist">
2889 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2890 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002891 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002892 <data variable="tw_signed_zip_verify"/>
2893 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002894 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2895 <data variable="tw_install_reboot"/>
2896 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002898 <data variable="tw_rm_rf"/>
2899 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002900 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2901 <data variable="tw_disable_free_space"/>
2902 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002904 <data variable="tw_skip_md5_generate"/>
2905 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002906 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002907 <data variable="tw_skip_md5_check"/>
2908 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002910 <data variable="tw_military_time"/>
2911 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002912 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002913 <data variable="tw_samsung_navbar"/>
2914 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002916 <data variable="tw_simulate_actions"/>
2917 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002918 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002919 <condition var1="tw_simulate_actions" var2="1"/>
2920 <data variable="tw_simulate_fail"/>
2921 </listitem>
2922 </listbox>
2923
2924 <button style="main_button_half_height">
2925 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002927 <actions>
2928 <action function="set">tw_samsung_navbar=0</action>
2929 <action function="set">tw_tab_icons=0</action>
2930 <action function="restoredefaultsettings"/>
2931 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </button>
2933
2934 <action>
2935 <touch key="home"/>
2936 <action function="page">main</action>
2937 </action>
2938
2939 <action>
2940 <touch key="back"/>
2941 <action function="page">main</action>
2942 </action>
2943 </page>
2944
2945 <page name="settings_timezone">
2946 <template name="page"/>
2947
2948 <text style="text_l">
2949 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 </text>
2952
2953 <text style="text_m">
2954 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002955 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002956 </text>
2957
2958 <template name="tabs_settings"/>
2959
2960 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002961 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002962 </fill>
2963
2964 <listbox>
2965 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2969 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2970 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2971 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2972 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2973 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2974 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2975 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2976 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2977 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2978 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2979 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2980 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2981 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2982 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2983 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2984 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2985 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2986 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2987 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2988 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2989 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2990 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2991 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </listbox>
2993
2994 <text style="text_m_accent">
2995 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <button style="button_quarter_width">
3000 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <action function="set">tw_time_zone_guioffset=0</action>
3003 </button>
3004
3005 <button style="button_quarter_width">
3006 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <action function="set">tw_time_zone_guioffset=15</action>
3009 </button>
3010
3011 <button style="button_quarter_width">
3012 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <action function="set">tw_time_zone_guioffset=30</action>
3015 </button>
3016
3017 <button style="button_quarter_width">
3018 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <action function="set">tw_time_zone_guioffset=45</action>
3021 </button>
3022
3023 <checkbox>
3024 <placement x="%indent%" y="%row18a_y%"/>
3025 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 <data variable="tw_time_zone_guidst"/>
3028 <image checked="checkbox_true" unchecked="checkbox_false"/>
3029 </checkbox>
3030
3031 <text color="%text_color%">
3032 <font resource="font_m"/>
3033 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 </text>
3036
3037 <button>
3038 <highlight color="%highlight_color%"/>
3039 <placement x="%center_x%" y="%row21a_y%"/>
3040 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003041 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003042 <image resource="main_button_half_height"/>
3043 <action function="setguitimezone"/>
3044 </button>
3045
3046 <action>
3047 <touch key="home"/>
3048 <action function="page">main</action>
3049 </action>
3050
3051 <action>
3052 <touch key="back"/>
3053 <action function="page">main</action>
3054 </action>
3055 </page>
3056
3057 <page name="settings_screen">
3058 <template name="page"/>
3059
3060 <text style="text_l">
3061 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </text>
3064
3065 <text style="text_m">
3066 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <template name="tabs_settings"/>
3071
3072 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </fill>
3075
3076 <button>
3077 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3078 <font resource="font_m" color="%text_color%"/>
3079 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3080 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003082 <image resource="checkbox_false"/>
3083 <action function="set">tw_screen_timeout_secs=60</action>
3084 </button>
3085
3086 <button>
3087 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3088 <font resource="font_m" color="%text_color%"/>
3089 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3090 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <image resource="checkbox_true"/>
3093 <action function="set">tw_screen_timeout_secs=0</action>
3094 </button>
3095
3096 <slidervalue>
3097 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3098 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3099 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003100 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003101 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3102 </slidervalue>
3103
3104 <slidervalue>
3105 <condition var1="tw_has_brightnesss_file" var2="1"/>
3106 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <data variable="tw_brightness_pct" min="10" max="100"/>
3109 <actions>
3110 <action function="set">tw_brightness=%tw_brightness_max%</action>
3111 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3112 <action function="compute">tw_brightness/100</action>
3113 <action function="setbrightness">%tw_brightness%</action>
3114 </actions>
3115 </slidervalue>
3116
3117 <action>
3118 <touch key="home"/>
3119 <action function="page">main</action>
3120 </action>
3121
3122 <action>
3123 <touch key="back"/>
3124 <action function="page">main</action>
3125 </action>
3126 </page>
3127
3128 <page name="settings_vibration">
3129 <template name="page"/>
3130
3131 <text style="text_l">
3132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <template name="tabs_settings"/>
3142
3143 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </fill>
3146
3147 <slidervalue>
3148 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <data variable="tw_button_vibrate" min="0" max="300"/>
3151 </slidervalue>
3152
3153 <slidervalue>
3154 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3157 </slidervalue>
3158
3159 <slidervalue>
3160 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003161 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003162 <data variable="tw_action_vibrate" min="0" max="500"/>
3163 </slidervalue>
3164
3165 <action>
3166 <touch key="home"/>
3167 <action function="page">main</action>
3168 </action>
3169
3170 <action>
3171 <touch key="back"/>
3172 <action function="page">main</action>
3173 </action>
3174 </page>
3175
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <page name="settings_language">
3177 <template name="page"/>
3178
3179 <text style="text_l">
3180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3181 <text>{@settings_hdr=Settings}</text>
3182 </text>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3186 <text>{@language_hdr=Language - %tw_language_display%}</text>
3187 </text>
3188
3189 <template name="tabs_settings"/>
3190
3191 <fill color="%text_color%">
3192 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3193 </fill>
3194
3195 <listbox>
3196 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3197 <text>{@select_language=Select Language:}</text>
3198 <icon selected="radio_true" unselected="radio_false" />
3199 <data name="tw_language" />
3200 </listbox>
3201
3202 <button style="main_button_half_height">
3203 <placement x="%center_x%" y="%row21a_y%"/>
3204 <text>{@set_language_btn=Set Language}</text>
3205 <action function="setlanguage"></action>
3206 </button>
3207
3208 <action>
3209 <touch key="home" />
3210 <action function="page">main</action>
3211 </action>
3212
3213 <action>
3214 <touch key="back" />
3215 <action function="page">settings</action>
3216 </action>
3217 </page>
3218
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003219 <page name="copylog">
3220 <template name="page"/>
3221
3222 <text style="text_l">
3223 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3224 <text>{@copying_log=Copy Logs to SD Card}</text>
3225 </text>
3226
3227 <checkbox>
3228 <placement x="%indent%" y="%row4_y%"/>
3229 <text>{@include_kernel_log=Include Kernel Log}</text>
3230 <data variable="tw_include_kernel_log" value="1"/>
3231 </checkbox>
3232
3233 <slider>
3234 <text>{@copying_log=Copy Logs to SD Card}</text>
3235 <actions>
3236 <action function="set">tw_back=advanced</action>
3237 <action function="set">tw_action=copylog</action>
3238 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3239 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3240 <action function="page">action_page</action>
3241 </actions>
3242 </slider>
3243
3244 <action>
3245 <touch key="home"/>
3246 <action function="page">main</action>
3247 </action>
3248
3249 <action>
3250 <touch key="back"/>
3251 <actions>
3252 <action function="page">advanced</action>
3253 </actions>
3254 </action>
3255
3256 </page>
3257
z31s1g28f0a922015-11-07 18:50:22 +01003258 <page name="advanced">
3259 <template name="page"/>
3260
3261 <text style="text_l">
3262 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003263 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003264 </text>
3265
3266 <button style="main_button">
3267 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003269 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003270 </button>
3271
3272 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003273 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003274 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003275 <text>{@fix_context_btn=Fix Contexts}</text>
3276 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003277 </button>
3278
3279 <button style="main_button">
3280 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3281 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003283 <actions>
3284 <action function="set">partitionlisterror=0</action>
3285 <action function="page">partsdcardsel</action>
3286 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003287 </button>
3288
3289 <button style="main_button">
3290 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <action function="page">filemanagerlist</action>
3293 </button>
3294
3295 <button style="main_button">
3296 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003298 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </button>
3300
3301 <button style="main_button">
3302 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 <action function="reload"/>
3305 </button>
3306
3307 <button style="main_button">
3308 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <action function="page">sideload</action>
3311 </button>
3312
3313 <button style="main_button">
3314 <condition var1="tw_show_dumlock" var2="1"/>
3315 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 <action function="page">htcdumlock</action>
3318 </button>
3319
3320 <button style="main_button">
3321 <condition var1="tw_has_injecttwrp" var2="1"/>
3322 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 <actions>
3325 <action function="set">tw_back=advanced</action>
3326 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003327 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3328 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3329 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3330 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">confirm_action</action>
3332 </actions>
3333 </button>
3334
3335 <action>
3336 <touch key="home"/>
3337 <action function="page">main</action>
3338 </action>
3339
3340 <action>
3341 <touch key="back"/>
3342 <action function="page">main</action>
3343 </action>
3344 </page>
3345
Ethan Yonker483e9f42016-01-11 22:21:18 -06003346 <page name="partsdcardsel">
3347 <template name="page"/>
3348
3349 <text style="text_l">
3350 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3351 <text>{@advanced_hdr=Advanced}</text>
3352 </text>
3353
3354 <text style="text_m">
3355 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3356 <text>{@part_sd_hdr=Partition SD Card}</text>
3357 </text>
3358
z31s1g782e1c92016-01-30 16:50:09 +01003359 <partitionlist>
3360 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003361 <text>{@sel_storage_list=Select Storage}</text>
3362 <data name="tw_storage_path"/>
3363 <listtype name="storage"/>
3364 </partitionlist>
3365
3366 <text style="text_m_fail">
3367 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003368 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003369 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3370 </text>
3371
z31s1g782e1c92016-01-30 16:50:09 +01003372 <button style="main_button_half_height">
3373 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003374 <text>{@ok_btn=OK}</text>
3375 <actions>
3376 <action function="getpartitiondetails">tw_storage_path</action>
3377 <action function="page">partsdcardcheck</action>
3378 </actions>
3379 </button>
3380
3381 <action>
3382 <touch key="home"/>
3383 <action function="page">main</action>
3384 </action>
3385
3386 <action>
3387 <touch key="back"/>
3388 <action function="page">advanced</action>
3389 </action>
3390 </page>
3391
3392 <page name="partsdcardcheck">
3393 <action>
3394 <condition var1="tw_partition_removable" op="=" var2="1"/>
3395 <actions>
3396 <action function="set">partitionlisterror=0</action>
3397 <action function="page">partsdcard</action>
3398 </actions>
3399 </action>
3400
3401 <action>
3402 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3403 <actions>
3404 <action function="set">partitionlisterror=1</action>
3405 <action function="page">partsdcardsel</action>
3406 </actions>
3407 </action>
3408 </page>
3409
z31s1g28f0a922015-11-07 18:50:22 +01003410 <page name="partsdcard">
3411 <template name="page"/>
3412
3413 <text style="text_l">
3414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003416 </text>
3417
3418 <text style="text_m">
3419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003421 </text>
3422
3423 <text style="text_m_fail">
3424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003425 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003426 </text>
3427
3428 <text style="text_m_fail">
3429 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 </text>
3432
3433 <text style="text_m_accent">
3434 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003436 </text>
3437
3438 <text style="text_m">
3439 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3440 <text>%tw_sdext_size%</text>
3441 </text>
3442
3443 <button style="button_quarter_width">
3444 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003446 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003447 </button>
3448
3449 <button style="button_quarter_width">
3450 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003451 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003452 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </button>
3454
3455 <text style="text_m_accent">
3456 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 </text>
3459
3460 <text style="text_m">
3461 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3462 <text>%tw_swap_size%</text>
3463 </text>
3464
3465 <button style="button_quarter_width">
3466 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003468 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003469 </button>
3470
3471 <button style="button_quarter_width">
3472 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003474 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003475 </button>
3476
3477 <text style="text_m_accent">
3478 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </text>
3481
3482 <text style="text_m">
3483 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3484 <text>%tw_sdpart_file_system%</text>
3485 </text>
3486
3487 <button style="button_quarter_width">
3488 <placement x="%indent%" y="%row14_y%"/>
3489 <text>EXT3</text>
3490 <action function="set">tw_sdpart_file_system=ext3</action>
3491 </button>
3492
3493 <button style="button_quarter_width">
3494 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3495 <text>EXT4</text>
3496 <action function="set">tw_sdpart_file_system=ext4</action>
3497 </button>
3498
3499 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <action function="page">partsdcardaction</action>
3502 <actions>
3503 <action function="set">tw_back=partsdcard</action>
3504 <action function="set">tw_action=partitionsd</action>
3505 <action function="set">tw_has_action2=1</action>
3506 <action function="set">tw_action2=set</action>
3507 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3509 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3510 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003511 <action function="page">action_page</action>
3512 </actions>
3513 </slider>
3514
3515 <action>
3516 <touch key="home"/>
3517 <action function="page">main</action>
3518 </action>
3519
3520 <action>
3521 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003522 <actions>
3523 <action function="set">partitionlisterror=0</action>
3524 <action function="page">partsdcardsel</action>
3525 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003526 </action>
3527 </page>
3528
3529 <page name="htcdumlock">
3530 <template name="page"/>
3531
3532 <text style="text_l">
3533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 </text>
3536
3537 <text style="text_m">
3538 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003540 </text>
3541
3542 <button style="main_button_half_height_full_width">
3543 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003545 <actions>
3546 <action function="set">tw_back=htcdumlock</action>
3547 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3549 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3550 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3551 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <action function="page">confirm_action</action>
3553 </actions>
3554 </button>
3555
3556 <button style="main_button_half_height_full_width">
3557 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <actions>
3560 <action function="set">tw_back=htcdumlock</action>
3561 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003562 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3563 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3564 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3565 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003566 <action function="page">confirm_action</action>
3567 </actions>
3568 </button>
3569
3570 <button style="main_button_half_height_full_width">
3571 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <actions>
3574 <action function="set">tw_back=htcdumlock</action>
3575 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3577 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3578 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3579 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <action function="page">confirm_action</action>
3581 </actions>
3582 </button>
3583
3584 <action>
3585 <touch key="home"/>
3586 <action function="page">main</action>
3587 </action>
3588
3589 <action>
3590 <touch key="back"/>
3591 <action function="page">advanced</action>
3592 </action>
3593 </page>
3594
3595 <page name="lock">
3596 <background color="%semi_transparent%"/>
3597
3598 <image>
3599 <image resource="unlock_icon"/>
3600 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3601 </image>
3602
3603 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 <action function="overlay"/>
3606 </slider>
3607 </page>
3608
3609 <page name="filemanagerlist">
3610 <template name="page"/>
3611
3612 <text style="text_l">
3613 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003615 </text>
3616
3617 <text style="text_m">
3618 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 </text>
3621
3622 <template name="sort_options"/>
3623
3624 <fileselector>
3625 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3626 <text>%tw_file_location1%</text>
3627 <filter folders="1" files="1"/>
3628 <path name="tw_file_location1" default="/"/>
3629 <data name="tw_filename1"/>
3630 <selection name="tw_selection1"/>
3631 </fileselector>
3632
3633 <button style="fab">
3634 <image resource="fab_selectfolder"/>
3635 <actions>
3636 <action function="set">tw_filename1=tw_file_location1</action>
3637 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003639 <action function="page">filemanageroptions</action>
3640 </actions>
3641 </button>
3642
3643 <action>
3644 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <action function="set">tw_fm_isfolder=0</action>
3647 </actions>
3648 </action>
3649
3650 <action>
3651 <touch key="home"/>
3652 <action function="page">main</action>
3653 </action>
3654
3655 <action>
3656 <touch key="back"/>
3657 <action function="page">advanced</action>
3658 </action>
3659
3660 <action>
3661 <condition var1="tw_filename1" op="modified"/>
3662 <action function="page">filemanageroptions</action>
3663 </action>
3664 </page>
3665
3666 <page name="filemanageroptions">
3667 <template name="page"/>
3668
3669 <text style="text_l">
3670 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 </text>
3673
3674 <text style="text_m">
3675 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003677 </text>
3678
3679 <text style="text_m_accent">
3680 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003682 </text>
3683
3684 <text style="text_m">
3685 <placement x="%indent%" y="%row3_y%"/>
3686 <text>%tw_filename1%</text>
3687 </text>
3688
3689 <button style="main_button_half_height">
3690 <condition var1="tw_fm_isfolder" var2="0"/>
3691 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 <actions>
3694 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003696 <action function="page">choosedestinationfolder</action>
3697 </actions>
3698 </button>
3699
3700 <button style="main_button_half_height">
3701 <condition var1="tw_fm_isfolder" var2="1"/>
3702 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 <actions>
3705 <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 -05003706 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003707 <action function="page">choosedestinationfolder</action>
3708 </actions>
3709 </button>
3710
3711 <button style="main_button_half_height">
3712 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 <actions>
3715 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003717 <action function="page">choosedestinationfolder</action>
3718 </actions>
3719 </button>
3720
3721 <button style="main_button_half_height">
3722 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003724 <actions>
3725 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003727 <action function="set">tw_fm_text2=</action>
3728 <action function="set">tw_fm_text3=</action>
3729 <action function="set">tw_include_text3=0</action>
3730 <action function="set">tw_back=filemanageroptions</action>
3731 <action function="page">filemanagerconfirm</action>
3732 </actions>
3733 </button>
3734
3735 <button style="main_button_half_height">
3736 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <actions>
3739 <action function="set">tw_filemanager_rename=0000</action>
3740 <action function="set">tw_fm_text2=</action>
3741 <action function="set">tw_fm_text3=</action>
3742 <action function="set">tw_include_text3=0</action>
3743 <action function="set">tw_back=filemanageroptions</action>
3744 <action function="page">filemanagerchmod</action>
3745 </actions>
3746 </button>
3747
3748 <button style="main_button_half_height">
3749 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <actions>
3752 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003753 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003754 <action function="set">tw_fm_text2=</action>
3755 <action function="set">tw_fm_text3=</action>
3756 <action function="set">tw_include_text3=0</action>
3757 <action function="set">tw_back=filemanageroptions</action>
3758 <action function="page">filemanagerconfirm</action>
3759 </actions>
3760 </button>
3761
3762 <button style="main_button_half_height">
3763 <condition var1="tw_fm_isfolder" var2="0"/>
3764 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 <actions>
3767 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <action function="set">tw_filemanager_command=mv</action>
3770 <action function="page">filemanagerrenamefile</action>
3771 </actions>
3772 </button>
3773
3774 <button style="main_button_half_height">
3775 <condition var1="tw_fm_isfolder" var2="1"/>
3776 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 <actions>
3779 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003781 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3782 <action function="page">filemanagerrenamefolder</action>
3783 </actions>
3784 </button>
3785
3786 <action>
3787 <touch key="home"/>
3788 <action function="page">main</action>
3789 </action>
3790
3791 <action>
3792 <touch key="back"/>
3793 <action function="page">filemanagerlist</action>
3794 </action>
3795 </page>
3796
3797 <page name="choosedestinationfolder">
3798 <template name="page"/>
3799
3800 <text style="text_l">
3801 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003803 </text>
3804
3805 <text style="text_m">
3806 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003808 </text>
3809
3810 <template name="sort_options"/>
3811
3812 <fileselector>
3813 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3814 <text>%tw_file_location2%</text>
3815 <filter folders="1" files="0"/>
3816 <path name="tw_file_location2" default="/"/>
3817 <data name="tw_filename2"/>
3818 <selection name="tw_selection2"/>
3819 </fileselector>
3820
3821 <button style="fab">
3822 <image resource="fab_selectfolder"/>
3823 <actions>
3824 <action function="set">tw_fm_text2=to</action>
3825 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3826 <action function="set">tw_include_text3=1</action>
3827 <action function="set">tw_back=filemanageroptions</action>
3828 <action function="page">filemanagerconfirm</action>
3829 </actions>
3830 </button>
3831
3832 <action>
3833 <touch key="home"/>
3834 <action function="page">main</action>
3835 </action>
3836
3837 <action>
3838 <touch key="back"/>
3839 <action function="page">filemanageroptions</action>
3840 </action>
3841 </page>
3842
3843 <page name="filemanagerrenamefile">
3844 <template name="page"/>
3845
3846 <text style="text_l">
3847 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <text style="text_m">
3852 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <text style="text_m_accent">
3857 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <input>
3862 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3863 <text>%tw_filemanager_rename%</text>
3864 <data name="tw_filemanager_rename"/>
3865 <restrict minlen="1" maxlen="128"/>
3866 <actions>
3867 <action function="set">tw_fm_text2=to</action>
3868 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3869 <action function="set">tw_include_text3=1</action>
3870 <action function="set">tw_back=filemanageroptions</action>
3871 <action function="page">filemanagerconfirm</action>
3872 </actions>
3873 </input>
3874
3875 <fill color="%accent_color%">
3876 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3877 </fill>
3878
3879 <button style="main_button_half_height">
3880 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003882 <action function="page">filemanageroptions</action>
3883 </button>
3884
3885 <template name="keyboardtemplate"/>
3886
3887 <action>
3888 <touch key="home"/>
3889 <action function="page">main</action>
3890 </action>
3891
3892 <action>
3893 <touch key="back"/>
3894 <action function="page">filemanageroptions</action>
3895 </action>
3896 </page>
3897
3898 <page name="filemanagerrenamefolder">
3899 <template name="page"/>
3900
3901 <text style="text_l">
3902 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003904 </text>
3905
3906 <text style="text_m">
3907 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003909 </text>
3910
3911 <text style="text_m_accent">
3912 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003914 </text>
3915
3916 <input>
3917 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3918 <text>%tw_filemanager_rename%</text>
3919 <data name="tw_filemanager_rename"/>
3920 <restrict minlen="1" maxlen="128"/>
3921 <actions>
3922 <action function="set">tw_fm_text2=to</action>
3923 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3924 <action function="set">tw_include_text3=1</action>
3925 <action function="set">tw_back=filemanageroptions</action>
3926 <action function="page">filemanagerconfirm</action>
3927 </actions>
3928 </input>
3929
3930 <fill color="%accent_color%">
3931 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3932 </fill>
3933
3934 <button style="main_button_half_height">
3935 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 <action function="page">filemanageroptions</action>
3938 </button>
3939
3940 <template name="keyboardtemplate"/>
3941
3942 <action>
3943 <touch key="home"/>
3944 <action function="page">main</action>
3945 </action>
3946
3947 <action>
3948 <touch key="back"/>
3949 <action function="page">filemanageroptions</action>
3950 </action>
3951 </page>
3952
3953 <page name="filemanagerchmod">
3954 <template name="page"/>
3955
3956 <text style="text_l">
3957 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 </text>
3960
3961 <text style="text_m">
3962 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 </text>
3965
3966 <text style="text_m_accent">
3967 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003969 </text>
3970
3971 <input>
3972 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3973 <text>%tw_filemanager_rename%</text>
3974 <data name="tw_filemanager_rename"/>
3975 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3976 <actions>
3977 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3978 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3979 <action function="set">tw_back=filemanageroptions</action>
3980 <action function="page">filemanagerconfirm</action>
3981 </actions>
3982 </input>
3983
3984 <fill color="%accent_color%">
3985 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3986 </fill>
3987
3988 <button style="main_button_half_height">
3989 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 <action function="page">filemanageroptions</action>
3992 </button>
3993
3994 <template name="keyboardtemplate"/>
3995
3996 <action>
3997 <touch key="home"/>
3998 <action function="page">main</action>
3999 </action>
4000
4001 <action>
4002 <touch key="back"/>
4003 <action function="page">filemanageroptions</action>
4004 </action>
4005 </page>
4006
4007 <page name="filemanagerconfirm">
4008 <template name="page"/>
4009
4010 <text style="text_l">
4011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <text style="text_m">
4016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m_accent">
4021 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4022 <text>%tw_fm_text1%</text>
4023 </text>
4024
4025 <text style="text_m">
4026 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4027 <text>%tw_filename1%</text>
4028 </text>
4029
4030 <text style="text_m_accent">
4031 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4032 <text>%tw_fm_text2%</text>
4033 </text>
4034
4035 <text style="text_m">
4036 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4037 <text>%tw_fm_text3%</text>
4038 </text>
4039
4040 <text style="text_m">
4041 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004042 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004043 </text>
4044
4045 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 <action function="page">filemanageraction</action>
4048 </slider>
4049
4050 <action>
4051 <touch key="back"/>
4052 <action function="page">%tw_back%</action>
4053 </action>
4054
4055 <action>
4056 <touch key="home"/>
4057 <action function="page">main</action>
4058 </action>
4059 </page>
4060
4061 <page name="filemanageraction">
4062 <template name="page"/>
4063
4064 <text style="text_l">
4065 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004066 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004067 </text>
4068
4069 <text style="text_m">
4070 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4071 <text>%tw_fm_text1%</text>
4072 </text>
4073
4074 <template name="console"/>
4075
4076 <template name="progress_bar"/>
4077
4078 <action>
4079 <conditions>
4080 <condition var1="tw_operation_state" var2="1"/>
4081 <condition var1="tw_operation_status" var2="0"/>
4082 </conditions>
4083 <actions>
4084 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004086 <action function="page">action_complete</action>
4087 </actions>
4088 </action>
4089
4090 <action>
4091 <conditions>
4092 <condition var1="tw_operation_state" var2="1"/>
4093 <condition var1="tw_operation_status" op="!=" var2="0"/>
4094 </conditions>
4095 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004097 <action function="page">action_complete</action>
4098 </actions>
4099 </action>
4100
4101 <action>
4102 <condition var1="tw_include_text3" var2="0"/>
4103 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4104 </action>
4105
4106 <action>
4107 <condition var1="tw_include_text3" var2="1"/>
4108 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4109 </action>
4110 </page>
4111
4112 <page name="decrypt">
4113 <template name="page"/>
4114
4115 <action>
4116 <condition var1="tw_crypto_pwtype" var2="2"/>
4117 <action function="page">decrypt_pattern</action>
4118 </action>
4119
4120 <text style="text_l">
4121 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 </text>
4124
4125 <text style="text_m">
4126 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004127 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004128 </text>
4129
4130 <text style="text_m_accent">
4131 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 </text>
4134
4135 <input>
4136 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4137 <text>%tw_crypto_display%</text>
4138 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4139 <restrict minlen="1" maxlen="254"/>
4140 <action function="page">trydecrypt</action>
4141 </input>
4142
4143 <fill color="%accent_color%">
4144 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4145 </fill>
4146
4147 <fill color="%text_fail_color%">
4148 <condition var1="tw_password_fail" var2="1"/>
4149 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4150 </fill>
4151
4152 <text style="text_m_fail">
4153 <condition var1="tw_password_fail" var2="1"/>
4154 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004155 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <button style="main_button_half_height">
4159 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 <actions>
4162 <action function="set">tw_page_done=1</action>
4163 <action function="page">main</action>
4164 </actions>
4165 </button>
4166
z31s1g608d7ff2016-01-18 19:47:25 +01004167 <button style="main_button_half_height">
4168 <placement x="%center_x%" y="%row10_y%"/>
4169 <text>{@sel_lang_btn=Select Language}</text>
4170 <action function="overlay">select_language</action>
4171 </button>
4172
z31s1g28f0a922015-11-07 18:50:22 +01004173 <template name="keyboardtemplate"/>
4174 </page>
4175
4176 <page name="decrypt_pattern">
4177 <template name="page"/>
4178
4179 <text style="text_l">
4180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004181 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004182 </text>
4183
4184 <text style="text_m">
4185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 </text>
4188
4189 <text style="text_m_accent">
4190 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004192 </text>
4193
Aleksa Saraib25a1832015-12-31 17:36:00 +01004194 <text style="text_m_fail">
4195 <condition var1="tw_password_fail" var2="1"/>
4196 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004197 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004198 </text>
4199
z31s1g28f0a922015-11-07 18:50:22 +01004200 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004201 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004202 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4203 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4204 <data name="tw_crypto_password"/>
4205 <action function="page">trydecrypt</action>
4206 </patternpassword>
4207
Aleksa Saraib25a1832015-12-31 17:36:00 +01004208 <button style="button_quarter_width">
4209 <placement x="%indent%" y="%row19a_y%"/>
4210 <text>3x3</text>
4211 <action function="set">tw_gui_pattern_grid_size=3</action>
4212 </button>
4213
4214 <button style="button_quarter_width">
4215 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4216 <text>4x4</text>
4217 <action function="set">tw_gui_pattern_grid_size=4</action>
4218 </button>
4219
4220 <button style="button_quarter_width">
4221 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4222 <text>5x5</text>
4223 <action function="set">tw_gui_pattern_grid_size=5</action>
4224 </button>
4225
4226 <button style="button_quarter_width">
4227 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4228 <text>6x6</text>
4229 <action function="set">tw_gui_pattern_grid_size=6</action>
4230 </button>
4231
z31s1g28f0a922015-11-07 18:50:22 +01004232 <button style="main_button_half_height">
4233 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004234 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004235 <actions>
4236 <action function="set">tw_page_done=1</action>
4237 <action function="page">main</action>
4238 </actions>
4239 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004240
4241 <button style="main_button_half_height">
4242 <placement x="%center_x%" y="%row21a_y%"/>
4243 <text>{@sel_lang_btn=Select Language}</text>
4244 <action function="overlay">select_language</action>
4245 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004246 </page>
4247
4248 <page name="trydecrypt">
4249 <template name="page"/>
4250
4251 <text style="text_l">
4252 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 </text>
4255
4256 <text style="text_m">
4257 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 </text>
4260
4261 <template name="console"/>
4262
4263 <template name="progress_bar"/>
4264
4265 <action>
4266 <action function="decrypt"/>
4267 </action>
4268
4269 <action>
4270 <conditions>
4271 <condition var1="tw_operation_state" var2="1"/>
4272 <condition var1="tw_operation_status" op="!=" var2="0"/>
4273 </conditions>
4274 <actions>
4275 <action function="set">tw_password_fail=1</action>
4276 <action function="page">decrypt</action>
4277 </actions>
4278 </action>
4279
4280 <action>
4281 <conditions>
4282 <condition var1="tw_operation_state" var2="1"/>
4283 <condition var1="tw_operation_status" op="=" var2="0"/>
4284 </conditions>
4285 <actions>
4286 <action function="set">tw_page_done=1</action>
4287 <action function="page">main</action>
4288 </actions>
4289 </action>
4290 </page>
4291
z31s1g28f0a922015-11-07 18:50:22 +01004292 <page name="terminalcommand">
4293 <template name="page"/>
4294
z31s1g56189522016-01-13 19:12:40 +01004295 <fill color="%background_color%">
4296 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004297 </fill>
4298
z31s1g56189522016-01-13 19:12:40 +01004299 <terminal>
4300 <condition var1="tw_hide_kb" var2="0"/>
4301 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4302 </terminal>
4303
4304 <terminal>
4305 <condition var1="tw_hide_kb" var2="1"/>
4306 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4307 </terminal>
4308
4309 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004310
4311 <template name="keyboardtemplate"/>
4312
z31s1g608d7ff2016-01-18 19:47:25 +01004313 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004314 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004315 </fill>
z31s1g56189522016-01-13 19:12:40 +01004316
z31s1g608d7ff2016-01-18 19:47:25 +01004317 <button>
z31s1g56189522016-01-13 19:12:40 +01004318 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4319 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4320 <image resource="back" />
4321 <condition var1="tw_busy" var2="0" />
4322 <actions>
4323 <action function="set">tw_hide_kb=0</action>
4324 <action function="key">back</action>
4325 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004326 </button>
z31s1g56189522016-01-13 19:12:40 +01004327
z31s1g608d7ff2016-01-18 19:47:25 +01004328 <button>
z31s1g56189522016-01-13 19:12:40 +01004329 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4330 <condition var1="tw_hide_kb" op="=" var2="0" />
4331 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4332 <image resource="kb_hide" />
4333 <condition var1="tw_busy" var2="0" />
4334 <actions>
4335 <action function="set">tw_hide_kb=1</action>
4336 <action function="page">terminalcommand</action>
4337 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004338 </button>
z31s1g56189522016-01-13 19:12:40 +01004339
z31s1g608d7ff2016-01-18 19:47:25 +01004340 <button>
z31s1g56189522016-01-13 19:12:40 +01004341 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4342 <condition var1="tw_hide_kb" op="=" var2="1" />
4343 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4344 <image resource="kb_show" />
4345 <condition var1="tw_busy" var2="0" />
4346 <actions>
4347 <action function="set">tw_hide_kb=0</action>
4348 <action function="page">terminalcommand</action>
4349 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004350 </button>
z31s1g56189522016-01-13 19:12:40 +01004351
z31s1g608d7ff2016-01-18 19:47:25 +01004352 <button>
z31s1g56189522016-01-13 19:12:40 +01004353 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4354 <image resource="home" />
4355 <condition var1="tw_busy" var2="0" />
4356 <actions>
4357 <action function="set">tw_hide_kb=0</action>
4358 <action function="key">home</action>
4359 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004360 </button>
z31s1g56189522016-01-13 19:12:40 +01004361
z31s1g608d7ff2016-01-18 19:47:25 +01004362 <button>
z31s1g56189522016-01-13 19:12:40 +01004363 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4364 <condition var1="tw_hide_kb" op="=" var2="0" />
4365 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4366 <image resource="kb_hide" />
4367 <condition var1="tw_busy" var2="0" />
4368 <actions>
4369 <action function="set">tw_hide_kb=1</action>
4370 <action function="page">terminalcommand</action>
4371 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004372 </button>
z31s1g56189522016-01-13 19:12:40 +01004373
z31s1g608d7ff2016-01-18 19:47:25 +01004374 <button>
z31s1g56189522016-01-13 19:12:40 +01004375 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4376 <condition var1="tw_hide_kb" op="=" var2="1" />
4377 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4378 <image resource="kb_show" />
4379 <condition var1="tw_busy" var2="0" />
4380 <actions>
4381 <action function="set">tw_hide_kb=0</action>
4382 <action function="page">terminalcommand</action>
4383 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004384 </button>
z31s1g56189522016-01-13 19:12:40 +01004385
z31s1g608d7ff2016-01-18 19:47:25 +01004386 <button>
z31s1g56189522016-01-13 19:12:40 +01004387 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4388 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4389 <image resource="back" />
4390 <condition var1="tw_busy" var2="0" />
4391 <actions>
4392 <action function="set">tw_hide_kb=0</action>
4393 <action function="key">back</action>
4394 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004395 </button>
z31s1g56189522016-01-13 19:12:40 +01004396
z31s1g28f0a922015-11-07 18:50:22 +01004397 <action>
4398 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004399 <actions>
4400 <action function="set">tw_hide_kb=0</action>
4401 <action function="page">main</action>
4402 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004403 </action>
4404
4405 <action>
4406 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004407 <actions>
4408 <action function="set">tw_hide_kb=0</action>
4409 <action function="page">advanced</action>
4410 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004411 </action>
z31s1g56189522016-01-13 19:12:40 +01004412
z31s1g608d7ff2016-01-18 19:47:25 +01004413 <action>
z31s1g56189522016-01-13 19:12:40 +01004414 <touch key="power+voldown" />
4415 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004416 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </page>
4418
4419 <page name="sideload">
4420 <template name="page"/>
4421
4422 <text style="text_l">
4423 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m">
4428 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <checkbox>
4433 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 <data variable="tw_wipe_dalvik"/>
4436 </checkbox>
4437
4438 <checkbox>
4439 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004440 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004441 <data variable="tw_wipe_cache"/>
4442 </checkbox>
4443
4444 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 <actions>
4447 <action function="set">tw_back=advanced</action>
4448 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4450 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4451 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004452 <action function="set">tw_has_cancel=1</action>
4453 <action function="set">tw_show_reboot=1</action>
4454 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4455 <action function="page">action_page</action>
4456 </actions>
4457 </slider>
4458
4459 <action>
4460 <touch key="home"/>
4461 <action function="page">main</action>
4462 </action>
4463
4464 <action>
4465 <touch key="back"/>
4466 <action function="page">advanced</action>
4467 </action>
4468 </page>
4469
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004470 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004471 <template name="page"/>
4472
4473 <text style="text_l">
4474 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004475 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004476 </text>
4477
4478 <text style="text_m">
4479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004480 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004481 </text>
4482
4483 <text style="text_m_accent">
4484 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004485 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004486 </text>
4487
z31s1g28f0a922015-11-07 18:50:22 +01004488 <text style="text_m_fail">
4489 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004490 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </text>
4492
4493 <text style="text_m_fail">
4494 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004495 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 </text>
4497
4498 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004499 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004500 <actions>
4501 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004502 <action function="set">tw_action=fixcontexts</action>
4503 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4504 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004506 <action function="set">tw_show_reboot=1</action>
4507 <action function="page">action_page</action>
4508 </actions>
4509 </slider>
4510
4511 <action>
4512 <touch key="home"/>
4513 <action function="page">main</action>
4514 </action>
4515
4516 <action>
4517 <touch key="back"/>
4518 <action function="page">advanced</action>
4519 </action>
4520 </page>
4521
4522 <page name="installsu">
4523 <template name="page"/>
4524
4525 <text style="text_l">
4526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004527 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004528 </text>
4529
4530 <text style="text_m">
4531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004532 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004533 </text>
4534
4535 <text style="text_m_accent">
4536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </text>
4539
4540 <text style="text_m">
4541 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </text>
4544
4545 <text style="text_m">
4546 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <button style="main_button_half_height">
4551 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004552 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004553 <action function="set">tw_page_done=1</action>
4554 </button>
4555
4556 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004557 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004558 <actions>
4559 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004561 <action function="set">tw_action_text2=</action>
4562 <action function="page">singleaction_page</action>
4563 </actions>
4564 </slider>
4565 </page>
4566
4567 <page name="slideout">
4568 <fill color="%background_color%">
4569 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4570 </fill>
4571
4572 <console>
4573 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4574 </console>
4575
4576 <button>
4577 <fill color="%transparent%"/>
4578 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4579 <action function="overlay"/>
4580 </button>
4581
4582 <action>
4583 <touch key="power+voldown"/>
4584 <action function="screenshot"/>
4585 </action>
4586 </page>
4587
4588 <page name="select_storage">
4589 <fill color="%semi_transparent%">
4590 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4591 </fill>
4592
4593 <fill color="%background_color%">
4594 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4595 </fill>
4596
4597 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 <data name="tw_storage_path"/>
4600 <listtype name="storage"/>
4601 </partitionlist>
4602
4603 <button style="button_third_width">
4604 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004605 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004606 <actions>
4607 <action function="set">tw_clear_destination=%tw_back%</action>
4608 <action function="overlay"/>
4609 <action function="page">clear_vars</action>
4610 </actions>
4611 </button>
4612
4613 <fill color="#000000">
4614 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4615 </fill>
4616
4617 <button>
4618 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4619 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4620 <image resource="back"/>
4621 <condition var1="tw_busy" var2="0"/>
4622 <actions>
4623 <action function="overlay"/>
4624 <action function="key">%tw_back%</action>
4625 </actions>
4626 </button>
4627
4628 <button>
4629 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4630 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4631 <image resource="console"/>
4632 <condition var1="tw_busy" var2="0"/>
4633 <action function="overlay">slideout</action>
4634 </button>
4635
4636 <button>
4637 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4638 <image resource="home"/>
4639 <condition var1="tw_busy" var2="0"/>
4640 <actions>
4641 <action function="overlay"/>
4642 <action function="key">home</action>
4643 </actions>
4644 </button>
4645
4646 <button>
4647 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4648 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4649 <image resource="console"/>
4650 <condition var1="tw_busy" var2="0"/>
4651 <action function="overlay">slideout</action>
4652 </button>
4653
4654 <button>
4655 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4656 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4657 <image resource="back"/>
4658 <condition var1="tw_busy" var2="0"/>
4659 <actions>
4660 <action function="overlay"/>
4661 <action function="key">%tw_back%</action>
4662 </actions>
4663 </button>
4664
4665 <action>
4666 <touch key="power+voldown"/>
4667 <action function="screenshot"/>
4668 </action>
4669 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004670
4671 <page name="select_language">
4672 <fill color="%semi_transparent%">
4673 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4674 </fill>
4675
4676 <fill color="%background_color%">
4677 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4678 </fill>
4679
4680 <listbox>
4681 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4682 <text>{@select_language=Select Language:}</text>
4683 <icon selected="radio_true" unselected="radio_false" />
4684 <data name="tw_language" />
4685 </listbox>
4686
4687 <button style="button_third_width">
4688 <placement x="%dialog_button_x%" y="%row14_y%"/>
4689 <text>{@ok_btn=OK}</text>
4690 <actions>
4691 <action function="overlay"/>
4692 <action function="setlanguage"></action>
4693 </actions>
4694 </button>
4695
4696 <fill color="#000000">
4697 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4698 </fill>
4699
4700 <button>
4701 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4702 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4703 <image resource="back"/>
4704 <condition var1="tw_busy" var2="0"/>
4705 <actions>
4706 <action function="overlay"/>
4707 <action function="key">%tw_back%</action>
4708 </actions>
4709 </button>
4710
4711 <button>
4712 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4713 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4714 <image resource="console"/>
4715 <condition var1="tw_busy" var2="0"/>
4716 <action function="overlay">slideout</action>
4717 </button>
4718
4719 <button>
4720 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4721 <image resource="home"/>
4722 <condition var1="tw_busy" var2="0"/>
4723 <actions>
4724 <action function="overlay"/>
4725 <action function="key">home</action>
4726 </actions>
4727 </button>
4728
4729 <button>
4730 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4731 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4732 <image resource="console"/>
4733 <condition var1="tw_busy" var2="0"/>
4734 <action function="overlay">slideout</action>
4735 </button>
4736
4737 <button>
4738 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4739 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4740 <image resource="back"/>
4741 <condition var1="tw_busy" var2="0"/>
4742 <actions>
4743 <action function="overlay"/>
4744 <action function="key">%tw_back%</action>
4745 </actions>
4746 </button>
4747
4748 <action>
4749 <touch key="power+voldown"/>
4750 <action function="screenshot"/>
4751 </action>
4752 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004753 </pages>
4754</recovery>