blob: f0ba791fbf252699f43c110546bf6a9cd2e38579 [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
Ethan Yonker1b190162016-12-05 15:25:19 -06001702 <text style="text_m">
1703 <condition var1="tw_has_boot_slots" var2="1"/>
1704 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1705 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1706 </text>
1707
1708 <button style="main_button">
1709 <condition var1="tw_has_boot_slots" var2="1"/>
1710 <placement x="%indent%" y="%row19_y%"/>
1711 <text>{@boot_slot_a=Slot A}</text>
1712 <actions>
1713 <action function="set">tw_back=backup_options</action>
1714 <action function="set">tw_action=setbootslot</action>
1715 <action function="set">tw_action_param=A</action>
1716 <action function="set">tw_has_action2=0</action>
1717 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1718 <action function="set">tw_action_text2=</action>
1719 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1720 <action function="page">action_page</action>
1721 </actions>
1722 </button>
1723
1724 <button style="main_button">
1725 <condition var1="tw_has_boot_slots" var2="1"/>
1726 <placement x="%center_x%" y="%row19_y%"/>
1727 <text>{@boot_slot_b=Slot B}</text>
1728 <actions>
1729 <action function="set">tw_back=backup_options</action>
1730 <action function="set">tw_action=setbootslot</action>
1731 <action function="set">tw_action_param=B</action>
1732 <action function="set">tw_has_action2=0</action>
1733 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1734 <action function="set">tw_action_text2=</action>
1735 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1736 <action function="page">action_page</action>
1737 </actions>
1738 </button>
1739
z31s1g28f0a922015-11-07 18:50:22 +01001740 <action>
1741 <touch key="home"/>
1742 <action function="page">main</action>
1743 </action>
1744
1745 <action>
1746 <touch key="back"/>
1747 <action function="page">backup</action>
1748 </action>
1749 </page>
1750
1751 <page name="backupname1">
1752 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001753 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <action function="generatebackupname"/>
1755 </action>
1756
1757 <action>
1758 <action function="page">backupname2</action>
1759 </action>
1760 </page>
1761
1762 <page name="backupname2">
1763 <template name="page"/>
1764
1765 <text style="text_l">
1766 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001767 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001768 </text>
1769
1770 <text style="text_m">
1771 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001772 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001773 </text>
1774
1775 <template name="tabs_backup"/>
1776
1777 <fill color="%text_color%">
1778 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1779 </fill>
1780
1781 <button style="tab">
1782 <conditions>
1783 <condition var1="tw_include_encrypted_backup" var2="1"/>
1784 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001785 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001786 </conditions>
1787 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001788 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001789 <font resource="font_s" color="%text_color%"/>
1790 <actions>
1791 <action function="set">tw_password_not_match=0</action>
1792 <action function="page">backupencryption</action>
1793 </actions>
1794 </button>
1795
1796 <button style="tab">
1797 <conditions>
1798 <condition var1="tw_include_encrypted_backup" var2="1"/>
1799 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001800 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001801 </conditions>
1802 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 <font resource="font_s" color="%text_success_color%"/>
1805 <actions>
1806 <action function="set">tw_password_not_match=0</action>
1807 <action function="page">backupencryption</action>
1808 </actions>
1809 </button>
1810
1811 <text style="text_m_accent">
1812 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001814 </text>
1815
1816 <input>
1817 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1818 <text>%tw_backup_name%</text>
1819 <data name="tw_backup_name"/>
1820 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1821 <actions>
1822 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1823 <action function="set">tw_existpage=backupname2</action>
1824 <action function="set">tw_notexistpage=backup</action>
1825 <action function="page">filecheck</action>
1826 </actions>
1827 </input>
1828
1829 <fill color="%accent_color%">
1830 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1831 </fill>
1832
1833 <fill color="%text_fail_color%">
1834 <condition var1="tw_fileexists" var2="1"/>
1835 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1836 </fill>
1837
1838 <text style="text_m_fail">
1839 <condition var1="tw_fileexists" var2="1"/>
1840 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001842 </text>
1843
1844 <button style="main_button_half_height">
1845 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001846 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001847 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001849 <action function="page">backup</action>
1850 </actions>
1851 </button>
1852
1853 <button style="main_button_half_height">
1854 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001856 <action function="appenddatetobackupname"/>
1857 </button>
1858
1859 <template name="keyboardtemplate"/>
1860
1861 <action>
1862 <touch key="home"/>
1863 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001865 <action function="page">main</action>
1866 </actions>
1867 </action>
1868
1869 <action>
1870 <touch key="back"/>
1871 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001872 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001873 <action function="page">backup</action>
1874 </actions>
1875 </action>
1876 </page>
1877
1878 <page name="backupencryption">
1879 <template name="page"/>
1880
1881 <text style="text_l">
1882 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001884 </text>
1885
1886 <text style="text_m">
1887 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001889 </text>
1890
1891 <template name="tabs_backup"/>
1892
1893 <button style="tab">
1894 <conditions>
1895 <condition var1="tw_include_encrypted_backup" var2="1"/>
1896 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001897 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </conditions>
1899 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001900 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001901 <font resource="font_s" color="%text_color%"/>
1902 <actions>
1903 <action function="set">tw_password_not_match=0</action>
1904 <action function="page">backupencryption</action>
1905 </actions>
1906 </button>
1907
1908 <button style="tab">
1909 <conditions>
1910 <condition var1="tw_include_encrypted_backup" var2="1"/>
1911 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001912 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </conditions>
1914 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 <font resource="font_s" color="%text_success_color%"/>
1917 <actions>
1918 <action function="set">tw_password_not_match=0</action>
1919 <action function="page">backupencryption</action>
1920 </actions>
1921 </button>
1922
1923 <fill color="%text_color%">
1924 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1925 </fill>
1926
1927 <text style="text_m_accent">
1928 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001929 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001930 </text>
1931
1932 <text style="text_m">
1933 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001934 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </text>
1936
1937 <input>
1938 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1939 <text>%tw_backup_encrypt_display%</text>
1940 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1941 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1942 <action function="page">backupencryption2</action>
1943 </input>
1944
1945 <fill color="%accent_color%">
1946 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1947 </fill>
1948
1949 <fill color="%text_fail_color%">
1950 <condition var1="tw_password_not_match" var2="1"/>
1951 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1952 </fill>
1953
1954 <text style="text_m_fail">
1955 <condition var1="tw_password_not_match" var2="1"/>
1956 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001957 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001958 </text>
1959
1960 <button style="main_button_half_height">
1961 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001962 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001963 <actions>
1964 <action function="set">tw_encrypt_backup=0</action>
1965 <action function="set">tw_backup_password=</action>
1966 <action function="set">tw_backup_password2=</action>
1967 <action function="set">tw_backup_encrypt_display=</action>
1968 <action function="set">tw_backup_encrypt_display2=</action>
1969 <action function="page">backup</action>
1970 </actions>
1971 </button>
1972
1973 <template name="keyboardtemplate"/>
1974
1975 <action>
1976 <touch key="home"/>
1977 <action function="page">main</action>
1978 </action>
1979
1980 <action>
1981 <touch key="back"/>
1982 <action function="page">backup</action>
1983 </action>
1984 </page>
1985
1986 <page name="backupencryption2">
1987 <template name="page"/>
1988
1989 <text style="text_l">
1990 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001992 </text>
1993
1994 <text style="text_m">
1995 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001997 </text>
1998
1999 <template name="tabs_backup"/>
2000
2001 <button style="tab">
2002 <conditions>
2003 <condition var1="tw_include_encrypted_backup" var2="1"/>
2004 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002005 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002006 </conditions>
2007 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002008 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002009 <font resource="font_s" color="%text_color%"/>
2010 <actions>
2011 <action function="set">tw_password_not_match=0</action>
2012 <action function="page">backupencryption</action>
2013 </actions>
2014 </button>
2015
2016 <button style="tab">
2017 <conditions>
2018 <condition var1="tw_include_encrypted_backup" var2="1"/>
2019 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002020 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002021 </conditions>
2022 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 <font resource="font_s" color="%text_success_color%"/>
2025 <actions>
2026 <action function="set">tw_password_not_match=0</action>
2027 <action function="page">backupencryption</action>
2028 </actions>
2029 </button>
2030
2031 <fill color="%text_color%">
2032 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2033 </fill>
2034
2035 <text style="text_m_accent">
2036 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002037 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002038 </text>
2039
2040 <text style="text_m">
2041 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002042 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002043 </text>
2044
2045 <input>
2046 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2047 <text>%tw_backup_encrypt_display2%</text>
2048 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2049 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2050 <action function="page">checkbackuppassword</action>
2051 </input>
2052
2053 <fill color="%accent_color%">
2054 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2055 </fill>
2056
2057 <button style="main_button_half_height">
2058 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 <actions>
2061 <action function="set">tw_encrypt_backup=0</action>
2062 <action function="set">tw_backup_password=</action>
2063 <action function="set">tw_backup_password2=</action>
2064 <action function="set">tw_backup_encrypt_display=</action>
2065 <action function="set">tw_backup_encrypt_display2=</action>
2066 <action function="page">backup</action>
2067 </actions>
2068 </button>
2069
2070 <template name="keyboardtemplate"/>
2071
2072 <action>
2073 <touch key="home"/>
2074 <action function="page">main</action>
2075 </action>
2076
2077 <action>
2078 <touch key="back"/>
2079 <action function="page">backup</action>
2080 </action>
2081 </page>
2082
2083 <page name="checkbackuppassword">
2084 <action>
2085 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2086 <actions>
2087 <action function="set">tw_encrypt_backup=1</action>
2088 <action function="page">backup</action>
2089 </actions>
2090 </action>
2091
2092 <action>
2093 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2094 <actions>
2095 <action function="set">tw_encrypt_backup=0</action>
2096 <action function="set">tw_password_not_match=1</action>
2097 <action function="set">tw_backup_password=</action>
2098 <action function="set">tw_backup_password2=</action>
2099 <action function="set">tw_backup_encrypt_display=</action>
2100 <action function="set">tw_backup_encrypt_display2=</action>
2101 <action function="page">backupencryption</action>
2102 </actions>
2103 </action>
2104 </page>
2105
2106 <page name="backup_run">
2107 <template name="page"/>
2108
2109 <text style="text_l">
2110 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2111 <text>%tw_operation%</text>
2112 </text>
2113
2114 <text style="text_m">
2115 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2116 <text>%tw_partition% Partition</text>
2117 </text>
2118
2119 <template name="console"/>
2120
2121 <template name="progress_bar"/>
2122
2123 <text style="text_m_accent">
2124 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002125 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002126 </text>
2127
2128 <text style="text_m">
2129 <placement x="%indent%" y="%row20_y%"/>
2130 <text>%tw_file_progress%</text>
2131 </text>
2132
2133 <text style="text_m">
2134 <placement x="%indent%" y="%row21_y%"/>
2135 <text>%tw_size_progress%</text>
2136 </text>
2137
2138 <button style="main_button_half_height">
2139 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002140 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002141 <action function="cancelbackup"/>
2142 </button>
2143
2144 <action>
2145 <action function="nandroid">backup</action>
2146 </action>
2147
2148 <action>
2149 <condition var1="tw_operation_state" var2="1"/>
2150 <condition var1="tw_cancel_backup" var2="0"/>
2151 <actions>
2152 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002153 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002154 <action function="set">tw_show_reboot=1</action>
2155 <action function="page">action_complete</action>
2156 </actions>
2157 </action>
2158
2159 <action>
2160 <condition var1="tw_operation_state" var2="1"/>
2161 <condition var1="tw_cancel_backup" var2="1"/>
2162 <actions>
2163 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002164 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002165 <action function="set">tw_show_reboot=1</action>
2166 <action function="page">action_complete</action>
2167 </actions>
2168 </action>
2169 </page>
2170
2171 <page name="restore">
2172 <template name="page"/>
2173
2174 <text style="text_l">
2175 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002176 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002177 </text>
2178
2179 <text style="text_m">
2180 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002181 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002182 </text>
2183
2184 <template name="sort_options"/>
2185
2186 <fileselector>
2187 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002188 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002189 <filter folders="1" files="0" nav="0"/>
2190 <path name="tw_backups_folder"/>
2191 <data name="tw_restore" default=""/>
2192 <selection name="tw_restore_name"/>
2193 </fileselector>
2194
2195 <button style="main_button_half_height">
2196 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002197 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002198 <actions>
2199 <action function="set">tw_back=restore</action>
2200 <action function="overlay">select_storage</action>
2201 </actions>
2202 </button>
2203
2204 <action>
2205 <condition var1="tw_restore" op="modified"/>
2206 <actions>
2207 <action function="readBackup"/>
2208 <action function="page">restore_read</action>
2209 </actions>
2210 </action>
2211
2212 <action>
2213 <touch key="home"/>
2214 <action function="page">main</action>
2215 </action>
2216
2217 <action>
2218 <touch key="back"/>
2219 <action function="page">main</action>
2220 </action>
2221 </page>
2222
2223 <page name="restore_read">
2224 <action>
2225 <condition var1="tw_restore_encrypted" var2="1"/>
2226 <actions>
2227 <action function="set">tw_password_fail=0</action>
2228 <action function="page">restore_decrypt</action>
2229 </actions>
2230 </action>
2231
2232 <action>
2233 <condition var1="tw_restore_encrypted" var2="0"/>
2234 <actions>
2235 <action function="page">restore_select</action>
2236 </actions>
2237 </action>
2238 </page>
2239
2240 <page name="restore_decrypt">
2241 <template name="page"/>
2242
2243 <text style="text_l">
2244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 </text>
2247
2248 <text style="text_m">
2249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002250 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002251 </text>
2252
2253 <text style="text_m_accent">
2254 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002255 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002256 </text>
2257
2258 <input>
2259 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2260 <text>%tw_restore_display%</text>
2261 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2262 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2263 <action function="page">try_restore_decrypt</action>
2264 </input>
2265
2266 <fill color="%accent_color%">
2267 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2268 </fill>
2269
2270 <fill color="%text_fail_color%">
2271 <condition var1="tw_password_fail" var2="1"/>
2272 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2273 </fill>
2274
2275 <text style="text_m_fail">
2276 <condition var1="tw_password_fail" var2="1"/>
2277 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002278 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </text>
2280
2281 <button style="main_button_half_height">
2282 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002283 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002284 <actions>
2285 <action function="set">tw_page_done=1</action>
2286 <action function="page">restore</action>
2287 </actions>
2288 </button>
2289
2290 <button style="main_button_half_height">
2291 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 <actions>
2294 <action function="set">tw_back=restore</action>
2295 <action function="set">tw_action=cmd</action>
2296 <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 -05002297 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2298 <action function="set">tw_text2=%tw_restore_name%</action>
2299 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2300 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2301 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2302 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002303 <action function="page">confirm_action</action>
2304 </actions>
2305 </button>
2306
2307 <template name="keyboardtemplate"/>
2308
2309 <action>
2310 <touch key="home"/>
2311 <action function="page">main</action>
2312 </action>
2313
2314 <action>
2315 <touch key="back"/>
2316 <action function="page">restore</action>
2317 </action>
2318 </page>
2319
2320 <page name="try_restore_decrypt">
2321 <template name="page"/>
2322
2323 <text style="text_l">
2324 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002325 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002326 </text>
2327
2328 <text style="text_m">
2329 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002331 </text>
2332
2333 <template name="console"/>
2334
2335 <template name="progress_bar"/>
2336
2337 <action>
2338 <action function="decrypt_backup"/>
2339 </action>
2340
2341 <action>
2342 <conditions>
2343 <condition var1="tw_operation_state" var2="1"/>
2344 <condition var1="tw_operation_status" op="!=" var2="0"/>
2345 </conditions>
2346 <actions>
2347 <action function="set">tw_password_fail=1</action>
2348 <action function="page">restore_decrypt</action>
2349 </actions>
2350 </action>
2351
2352 <action>
2353 <conditions>
2354 <condition var1="tw_operation_state" var2="1"/>
2355 <condition var1="tw_operation_status" op="=" var2="0"/>
2356 </conditions>
2357 <actions>
2358 <action function="set">tw_page_done=1</action>
2359 <action function="page">restore_select</action>
2360 </actions>
2361 </action>
2362 </page>
2363
2364 <page name="restore_select">
2365 <template name="page"/>
2366
2367 <text style="text_l">
2368 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 </text>
2371
2372 <text style="text_m">
2373 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002374 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002375 </text>
2376
2377 <text style="text_m_accent">
2378 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002379 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002380 </text>
2381
2382 <text style="text_m">
2383 <placement x="%indent%" y="%row3_y%"/>
2384 <text>%tw_restore_name%</text>
2385 </text>
2386
2387 <fill color="%fileselector_linecolor%">
2388 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2389 </fill>
2390
2391 <button>
2392 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2393 <fill color="%transparent%"/>
2394 <actions>
2395 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2396 <action function="set">tw_fileexists=0</action>
2397 <action function="page">renamebackup</action>
2398 </actions>
2399 </button>
2400
2401 <partitionlist>
2402 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002403 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002404 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2405 <listtype name="restore"/>
2406 </partitionlist>
2407
2408 <checkbox>
2409 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002410 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002411 <data variable="tw_skip_md5_check"/>
2412 </checkbox>
2413
2414 <button style="main_button_half_height">
2415 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002416 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <actions>
2418 <action function="set">tw_back=restore</action>
2419 <action function="set">tw_action=cmd</action>
2420 <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 -05002421 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002423 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2424 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2425 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2426 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002427 <action function="page">confirm_action</action>
2428 </actions>
2429 </button>
2430
2431 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <action function="page">restore_run</action>
2434 </slider>
2435
2436 <action>
2437 <touch key="home"/>
2438 <action function="page">main</action>
2439 </action>
2440
2441 <action>
2442 <touch key="back"/>
2443 <action function="page">restore</action>
2444 </action>
2445 </page>
2446
2447 <page name="renamebackup">
2448 <template name="page"/>
2449
2450 <text style="text_l">
2451 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002452 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </text>
2454
2455 <text style="text_m">
2456 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <text style="text_m_accent">
2461 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 </text>
2464
2465 <input>
2466 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2467 <text>%tw_backup_rename%</text>
2468 <data name="tw_backup_rename"/>
2469 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2470 <actions>
2471 <action function="set">tw_back=restore</action>
2472 <action function="set">tw_action=cmd</action>
2473 <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 -05002474 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2475 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2476 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2477 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2478 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002479 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2480 <action function="set">tw_existpage=renamebackup</action>
2481 <action function="set">tw_notexistpage=confirm_action</action>
2482 <action function="page">filecheck</action>
2483 </actions>
2484 </input>
2485
2486 <fill color="%accent_color%">
2487 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2488 </fill>
2489
2490 <fill color="%text_fail_color%">
2491 <condition var1="tw_fileexists" var2="1"/>
2492 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2493 </fill>
2494
2495 <text style="text_m_fail">
2496 <condition var1="tw_fileexists" var2="1"/>
2497 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 </text>
2500
2501 <button style="main_button_half_height">
2502 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002503 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002504 <action function="page">restore_select</action>
2505 </button>
2506
2507 <template name="keyboardtemplate"/>
2508
2509 <action>
2510 <touch key="home"/>
2511 <action function="page">main</action>
2512 </action>
2513
2514 <action>
2515 <touch key="back"/>
2516 <action function="page">restore_select</action>
2517 </action>
2518 </page>
2519
2520 <page name="restore_run">
2521 <template name="page"/>
2522
2523 <text style="text_l">
2524 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 </text>
2527
2528 <text style="text_m">
2529 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2530 <text>%tw_operation% %tw_partition%</text>
2531 </text>
2532
2533 <template name="console"/>
2534
2535 <template name="progress_bar"/>
2536
2537 <text style="text_m_accent">
2538 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <text style="text_m">
2543 <placement x="%indent%" y="%row20_y%"/>
2544 <text>%tw_size_progress%</text>
2545 </text>
2546
2547 <action>
2548 <condition var1="tw_operation_state" var2="1"/>
2549 <actions>
2550 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002551 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <action function="set">tw_show_reboot=1</action>
2553 <action function="page">action_complete</action>
2554 </actions>
2555 </action>
2556
2557 <action>
2558 <action function="nandroid">restore</action>
2559 </action>
2560 </page>
2561
2562 <page name="mount">
2563 <template name="page"/>
2564
2565 <text style="text_l">
2566 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <text style="text_m">
2571 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 </text>
2574
2575 <partitionlist>
2576 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 <listtype name="mount"/>
2579 </partitionlist>
2580
2581 <button style="checkbox">
2582 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2583 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 <image resource="checkbox_false"/>
2586 <action function="mountsystemtoggle">1</action>
2587 </button>
2588
2589 <button style="checkbox">
2590 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2591 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002592 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <image resource="checkbox_true"/>
2594 <actions>
2595 <action function="set">tw_lifetime_writes=2</action>
2596 <action function="page">system_readonly_check</action>
2597 </actions>
2598 </button>
2599
2600 <button style="main_button_half_height">
2601 <condition var1="tw_has_usb_storage" var2="1"/>
2602 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002603 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002604 <action function="page">usb_mount</action>
2605 </button>
2606
2607 <button style="main_button_half_height">
2608 <conditions>
2609 <condition var1="tw_is_encrypted" var2="1"/>
2610 <condition var1="tw_is_decrypted" var2="0"/>
2611 </conditions>
2612 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 <action function="page">decrypt</action>
2615 </button>
2616
2617 <button style="main_button_half_height">
2618 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002619 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002620 <actions>
2621 <action function="set">tw_back=mount</action>
2622 <action function="overlay">select_storage</action>
2623 </actions>
2624 </button>
2625
2626 <button style="main_button_half_height">
2627 <conditions>
2628 <condition var1="tw_has_mtp" var2="1"/>
2629 <condition var1="tw_mtp_enabled" var2="0"/>
2630 </conditions>
2631 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002633 <action function="startmtp"/>
2634 </button>
2635
2636 <button style="main_button_half_height">
2637 <conditions>
2638 <condition var1="tw_has_mtp" var2="1"/>
2639 <condition var1="tw_mtp_enabled" var2="1"/>
2640 </conditions>
2641 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <action function="stopmtp"/>
2644 </button>
2645
2646 <action>
2647 <touch key="home"/>
2648 <action function="page">main</action>
2649 </action>
2650
2651 <action>
2652 <touch key="back"/>
2653 <action function="page">main</action>
2654 </action>
2655 </page>
2656
2657 <page name="usb_mount">
2658 <template name="page"/>
2659
2660 <text style="text_l">
2661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 </text>
2664
2665 <text style="text_m">
2666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002667 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <text style="text_m_accent">
2671 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 </text>
2674
2675 <text style="text_m">
2676 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002677 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002678 </text>
2679
2680 <text style="text_m">
2681 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002683 </text>
2684
2685 <button style="main_button_half_height">
2686 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002688 <action function="page">usb_umount</action>
2689 </button>
2690
2691 <action>
2692 <action function="mount">usb</action>
2693 <action function="set">tw_busy=1</action>
2694 </action>
2695 </page>
2696
2697 <page name="usb_umount">
2698 <action>
2699 <action function="unmount">usb</action>
2700 </action>
2701
2702 <action>
2703 <action function="page">mount</action>
2704 <action function="set">tw_busy=0</action>
2705 </action>
2706 </page>
2707
2708 <page name="system_readonly_check">
2709 <action>
2710 <action function="checkpartitionlifetimewrites">/system</action>
2711 </action>
2712
2713 <action>
2714 <condition var1="tw_lifetime_writes" var2="1"/>
2715 <actions>
2716 <action function="mountsystemtoggle">0</action>
2717 <action function="page">mount</action>
2718 </actions>
2719 </action>
2720
2721 <action>
2722 <condition var1="tw_lifetime_writes" var2="0"/>
2723 <actions>
2724 <action function="set">tw_back=mount</action>
2725 <action function="page">system_readonly</action>
2726 </actions>
2727 </action>
2728 </page>
2729
2730 <page name="reboot">
2731 <template name="page"/>
2732
2733 <text style="text_l">
2734 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002735 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002736 </text>
2737
2738 <button style="main_button">
2739 <condition var1="tw_reboot_system" var2="1"/>
2740 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002741 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <actions>
2743 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002744 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002745 </actions>
2746 </button>
2747
2748 <button style="main_button">
2749 <condition var1="tw_reboot_poweroff" var2="1"/>
2750 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002752 <actions>
2753 <action function="set">tw_back=reboot</action>
2754 <action function="set">tw_action=reboot</action>
2755 <action function="set">tw_action_param=poweroff</action>
2756 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2758 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2759 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2760 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2761 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002762 <action function="page">rebootcheck</action>
2763 </actions>
2764 </button>
2765
2766 <button style="main_button">
2767 <condition var1="tw_reboot_recovery" var2="1"/>
2768 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002769 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002770 <actions>
2771 <action function="set">tw_back=reboot</action>
2772 <action function="set">tw_action=reboot</action>
2773 <action function="set">tw_action_param=recovery</action>
2774 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2776 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2777 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2778 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2779 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <action function="page">rebootcheck</action>
2781 </actions>
2782 </button>
2783
2784 <button style="main_button">
2785 <condition var1="tw_reboot_bootloader" var2="1"/>
2786 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002787 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002788 <actions>
2789 <action function="set">tw_back=reboot</action>
2790 <action function="set">tw_action=reboot</action>
2791 <action function="set">tw_action_param=bootloader</action>
2792 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002793 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2794 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2795 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2796 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2797 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002798 <action function="page">rebootcheck</action>
2799 </actions>
2800 </button>
2801
2802 <button style="main_button">
2803 <condition var1="tw_download_mode" var2="1"/>
2804 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002805 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002806 <actions>
2807 <action function="set">tw_back=reboot</action>
2808 <action function="set">tw_action=reboot</action>
2809 <action function="set">tw_action_param=download</action>
2810 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2812 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2813 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2814 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2815 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002816 <action function="page">rebootcheck</action>
2817 </actions>
2818 </button>
2819
Ethan Yonker1b190162016-12-05 15:25:19 -06002820 <text style="text_m">
2821 <condition var1="tw_has_boot_slots" var2="1"/>
2822 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2823 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2824 </text>
2825
2826 <button style="main_button">
2827 <condition var1="tw_has_boot_slots" var2="1"/>
2828 <placement x="%indent%" y="%row19_y%"/>
2829 <text>{@boot_slot_a=Slot A}</text>
2830 <actions>
2831 <action function="set">tw_back=reboot</action>
2832 <action function="set">tw_action=setbootslot</action>
2833 <action function="set">tw_action_param=A</action>
2834 <action function="set">tw_has_action2=0</action>
2835 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2836 <action function="set">tw_action_text2=</action>
2837 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2838 <action function="page">action_page</action>
2839 </actions>
2840 </button>
2841
2842 <button style="main_button">
2843 <condition var1="tw_has_boot_slots" var2="1"/>
2844 <placement x="%center_x%" y="%row19_y%"/>
2845 <text>{@boot_slot_b=Slot B}</text>
2846 <actions>
2847 <action function="set">tw_back=reboot</action>
2848 <action function="set">tw_action=setbootslot</action>
2849 <action function="set">tw_action_param=B</action>
2850 <action function="set">tw_has_action2=0</action>
2851 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2852 <action function="set">tw_action_text2=</action>
2853 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2854 <action function="page">action_page</action>
2855 </actions>
2856 </button>
2857
z31s1g28f0a922015-11-07 18:50:22 +01002858 <action>
2859 <touch key="home"/>
2860 <action function="page">main</action>
2861 </action>
2862
2863 <action>
2864 <touch key="back"/>
2865 <action function="page">main</action>
2866 </action>
2867 </page>
2868
2869 <page name="system_readonly">
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>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <text style="text_m_accent">
2878 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <text style="text_m">
2883 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <text style="text_m">
2888 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </text>
2891
2892 <text style="text_m">
2893 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002894 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002895 </text>
2896
2897 <text style="text_m">
2898 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002899 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002900 </text>
2901
2902 <text style="text_m_fail">
2903 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002904 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </text>
2906
2907 <text style="text_m_fail">
2908 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002910 </text>
2911
2912 <checkbox>
2913 <condition var1="tw_is_encrypted" var2="0"/>
2914 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002916 <data variable="tw_never_show_system_ro_page"/>
2917 </checkbox>
2918
2919 <button style="main_button_half_height">
2920 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002921 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <actions>
2923 <action function="mountsystemtoggle">1</action>
2924 <action function="set">tw_page_done=1</action>
2925 <action function="page">%tw_back%</action>
2926 </actions>
2927 </button>
2928
z31s1g608d7ff2016-01-18 19:47:25 +01002929 <button style="main_button_half_height">
2930 <placement x="%center_x%" y="%row18a_y%"/>
2931 <text>{@sel_lang_btn=Select Language}</text>
2932 <action function="overlay">select_language</action>
2933 </button>
2934
z31s1g28f0a922015-11-07 18:50:22 +01002935 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 <actions>
2938 <action function="mountsystemtoggle">0</action>
2939 <action function="set">tw_page_done=1</action>
2940 <action function="page">%tw_back%</action>
2941 </actions>
2942 </slider>
2943 </page>
2944
2945 <page name="settings">
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>{@settings_gen_hdr=General Settings}</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="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002962 </fill>
2963
2964 <listbox style="scrolllist">
2965 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2966 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002968 <data variable="tw_signed_zip_verify"/>
2969 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002970 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2971 <data variable="tw_install_reboot"/>
2972 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002974 <data variable="tw_rm_rf"/>
2975 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002976 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2977 <data variable="tw_disable_free_space"/>
2978 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002980 <data variable="tw_skip_md5_generate"/>
2981 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002982 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002983 <data variable="tw_skip_md5_check"/>
2984 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002986 <data variable="tw_military_time"/>
2987 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002989 <data variable="tw_samsung_navbar"/>
2990 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002992 <data variable="tw_simulate_actions"/>
2993 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002995 <condition var1="tw_simulate_actions" var2="1"/>
2996 <data variable="tw_simulate_fail"/>
2997 </listitem>
2998 </listbox>
2999
3000 <button style="main_button_half_height">
3001 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003003 <actions>
3004 <action function="set">tw_samsung_navbar=0</action>
3005 <action function="set">tw_tab_icons=0</action>
3006 <action function="restoredefaultsettings"/>
3007 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003008 </button>
3009
3010 <action>
3011 <touch key="home"/>
3012 <action function="page">main</action>
3013 </action>
3014
3015 <action>
3016 <touch key="back"/>
3017 <action function="page">main</action>
3018 </action>
3019 </page>
3020
3021 <page name="settings_timezone">
3022 <template name="page"/>
3023
3024 <text style="text_l">
3025 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 </text>
3028
3029 <text style="text_m">
3030 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003032 </text>
3033
3034 <template name="tabs_settings"/>
3035
3036 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003038 </fill>
3039
3040 <listbox>
3041 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003044 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3045 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3046 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3047 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3048 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3049 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3050 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3051 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3052 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3053 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3054 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3055 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3056 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3057 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3058 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3059 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3060 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3061 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3062 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3063 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3064 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3065 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3066 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3067 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </listbox>
3069
3070 <text style="text_m_accent">
3071 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 </text>
3074
3075 <button style="button_quarter_width">
3076 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 <action function="set">tw_time_zone_guioffset=0</action>
3079 </button>
3080
3081 <button style="button_quarter_width">
3082 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 <action function="set">tw_time_zone_guioffset=15</action>
3085 </button>
3086
3087 <button style="button_quarter_width">
3088 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003090 <action function="set">tw_time_zone_guioffset=30</action>
3091 </button>
3092
3093 <button style="button_quarter_width">
3094 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003096 <action function="set">tw_time_zone_guioffset=45</action>
3097 </button>
3098
3099 <checkbox>
3100 <placement x="%indent%" y="%row18a_y%"/>
3101 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <data variable="tw_time_zone_guidst"/>
3104 <image checked="checkbox_true" unchecked="checkbox_false"/>
3105 </checkbox>
3106
3107 <text color="%text_color%">
3108 <font resource="font_m"/>
3109 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003111 </text>
3112
3113 <button>
3114 <highlight color="%highlight_color%"/>
3115 <placement x="%center_x%" y="%row21a_y%"/>
3116 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003117 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003118 <image resource="main_button_half_height"/>
3119 <action function="setguitimezone"/>
3120 </button>
3121
3122 <action>
3123 <touch key="home"/>
3124 <action function="page">main</action>
3125 </action>
3126
3127 <action>
3128 <touch key="back"/>
3129 <action function="page">main</action>
3130 </action>
3131 </page>
3132
3133 <page name="settings_screen">
3134 <template name="page"/>
3135
3136 <text style="text_l">
3137 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <text style="text_m">
3142 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003144 </text>
3145
3146 <template name="tabs_settings"/>
3147
3148 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003150 </fill>
3151
3152 <button>
3153 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3154 <font resource="font_m" color="%text_color%"/>
3155 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3156 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003158 <image resource="checkbox_false"/>
3159 <action function="set">tw_screen_timeout_secs=60</action>
3160 </button>
3161
3162 <button>
3163 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3164 <font resource="font_m" color="%text_color%"/>
3165 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3166 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003167 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003168 <image resource="checkbox_true"/>
3169 <action function="set">tw_screen_timeout_secs=0</action>
3170 </button>
3171
3172 <slidervalue>
3173 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3174 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3175 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3178 </slidervalue>
3179
3180 <slidervalue>
3181 <condition var1="tw_has_brightnesss_file" var2="1"/>
3182 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <data variable="tw_brightness_pct" min="10" max="100"/>
3185 <actions>
3186 <action function="set">tw_brightness=%tw_brightness_max%</action>
3187 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3188 <action function="compute">tw_brightness/100</action>
3189 <action function="setbrightness">%tw_brightness%</action>
3190 </actions>
3191 </slidervalue>
3192
3193 <action>
3194 <touch key="home"/>
3195 <action function="page">main</action>
3196 </action>
3197
3198 <action>
3199 <touch key="back"/>
3200 <action function="page">main</action>
3201 </action>
3202 </page>
3203
3204 <page name="settings_vibration">
3205 <template name="page"/>
3206
3207 <text style="text_l">
3208 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 </text>
3211
3212 <text style="text_m">
3213 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <template name="tabs_settings"/>
3218
3219 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003221 </fill>
3222
3223 <slidervalue>
3224 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <data variable="tw_button_vibrate" min="0" max="300"/>
3227 </slidervalue>
3228
3229 <slidervalue>
3230 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3233 </slidervalue>
3234
3235 <slidervalue>
3236 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 <data variable="tw_action_vibrate" min="0" max="500"/>
3239 </slidervalue>
3240
3241 <action>
3242 <touch key="home"/>
3243 <action function="page">main</action>
3244 </action>
3245
3246 <action>
3247 <touch key="back"/>
3248 <action function="page">main</action>
3249 </action>
3250 </page>
3251
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <page name="settings_language">
3253 <template name="page"/>
3254
3255 <text style="text_l">
3256 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3257 <text>{@settings_hdr=Settings}</text>
3258 </text>
3259
3260 <text style="text_m">
3261 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3262 <text>{@language_hdr=Language - %tw_language_display%}</text>
3263 </text>
3264
3265 <template name="tabs_settings"/>
3266
3267 <fill color="%text_color%">
3268 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3269 </fill>
3270
3271 <listbox>
3272 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3273 <text>{@select_language=Select Language:}</text>
3274 <icon selected="radio_true" unselected="radio_false" />
3275 <data name="tw_language" />
3276 </listbox>
3277
3278 <button style="main_button_half_height">
3279 <placement x="%center_x%" y="%row21a_y%"/>
3280 <text>{@set_language_btn=Set Language}</text>
3281 <action function="setlanguage"></action>
3282 </button>
3283
3284 <action>
3285 <touch key="home" />
3286 <action function="page">main</action>
3287 </action>
3288
3289 <action>
3290 <touch key="back" />
3291 <action function="page">settings</action>
3292 </action>
3293 </page>
3294
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003295 <page name="copylog">
3296 <template name="page"/>
3297
3298 <text style="text_l">
3299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3300 <text>{@copying_log=Copy Logs to SD Card}</text>
3301 </text>
3302
3303 <checkbox>
3304 <placement x="%indent%" y="%row4_y%"/>
3305 <text>{@include_kernel_log=Include Kernel Log}</text>
3306 <data variable="tw_include_kernel_log" value="1"/>
3307 </checkbox>
3308
3309 <slider>
3310 <text>{@copying_log=Copy Logs to SD Card}</text>
3311 <actions>
3312 <action function="set">tw_back=advanced</action>
3313 <action function="set">tw_action=copylog</action>
3314 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3315 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3316 <action function="page">action_page</action>
3317 </actions>
3318 </slider>
3319
3320 <action>
3321 <touch key="home"/>
3322 <action function="page">main</action>
3323 </action>
3324
3325 <action>
3326 <touch key="back"/>
3327 <actions>
3328 <action function="page">advanced</action>
3329 </actions>
3330 </action>
3331
3332 </page>
3333
z31s1g28f0a922015-11-07 18:50:22 +01003334 <page name="advanced">
3335 <template name="page"/>
3336
3337 <text style="text_l">
3338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <button style="main_button">
3343 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003345 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </button>
3347
3348 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003349 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003351 <text>{@fix_context_btn=Fix Contexts}</text>
3352 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003353 </button>
3354
3355 <button style="main_button">
3356 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3357 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003359 <actions>
3360 <action function="set">partitionlisterror=0</action>
3361 <action function="page">partsdcardsel</action>
3362 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003363 </button>
3364
3365 <button style="main_button">
3366 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003368 <action function="page">filemanagerlist</action>
3369 </button>
3370
3371 <button style="main_button">
3372 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003374 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003375 </button>
3376
3377 <button style="main_button">
3378 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003379 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <action function="reload"/>
3381 </button>
3382
3383 <button style="main_button">
3384 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003385 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <action function="page">sideload</action>
3387 </button>
3388
3389 <button style="main_button">
3390 <condition var1="tw_show_dumlock" var2="1"/>
3391 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="page">htcdumlock</action>
3394 </button>
3395
3396 <button style="main_button">
3397 <condition var1="tw_has_injecttwrp" var2="1"/>
3398 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <actions>
3401 <action function="set">tw_back=advanced</action>
3402 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3404 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3405 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3406 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <action function="page">confirm_action</action>
3408 </actions>
3409 </button>
3410
3411 <action>
3412 <touch key="home"/>
3413 <action function="page">main</action>
3414 </action>
3415
3416 <action>
3417 <touch key="back"/>
3418 <action function="page">main</action>
3419 </action>
3420 </page>
3421
Ethan Yonker483e9f42016-01-11 22:21:18 -06003422 <page name="partsdcardsel">
3423 <template name="page"/>
3424
3425 <text style="text_l">
3426 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3427 <text>{@advanced_hdr=Advanced}</text>
3428 </text>
3429
3430 <text style="text_m">
3431 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3432 <text>{@part_sd_hdr=Partition SD Card}</text>
3433 </text>
3434
z31s1g782e1c92016-01-30 16:50:09 +01003435 <partitionlist>
3436 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003437 <text>{@sel_storage_list=Select Storage}</text>
3438 <data name="tw_storage_path"/>
3439 <listtype name="storage"/>
3440 </partitionlist>
3441
3442 <text style="text_m_fail">
3443 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003444 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003445 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3446 </text>
3447
z31s1g782e1c92016-01-30 16:50:09 +01003448 <button style="main_button_half_height">
3449 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003450 <text>{@ok_btn=OK}</text>
3451 <actions>
3452 <action function="getpartitiondetails">tw_storage_path</action>
3453 <action function="page">partsdcardcheck</action>
3454 </actions>
3455 </button>
3456
3457 <action>
3458 <touch key="home"/>
3459 <action function="page">main</action>
3460 </action>
3461
3462 <action>
3463 <touch key="back"/>
3464 <action function="page">advanced</action>
3465 </action>
3466 </page>
3467
3468 <page name="partsdcardcheck">
3469 <action>
3470 <condition var1="tw_partition_removable" op="=" var2="1"/>
3471 <actions>
3472 <action function="set">partitionlisterror=0</action>
3473 <action function="page">partsdcard</action>
3474 </actions>
3475 </action>
3476
3477 <action>
3478 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3479 <actions>
3480 <action function="set">partitionlisterror=1</action>
3481 <action function="page">partsdcardsel</action>
3482 </actions>
3483 </action>
3484 </page>
3485
z31s1g28f0a922015-11-07 18:50:22 +01003486 <page name="partsdcard">
3487 <template name="page"/>
3488
3489 <text style="text_l">
3490 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 </text>
3493
3494 <text style="text_m">
3495 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </text>
3498
3499 <text style="text_m_fail">
3500 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <text style="text_m_fail">
3505 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 </text>
3508
3509 <text style="text_m_accent">
3510 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003512 </text>
3513
3514 <text style="text_m">
3515 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3516 <text>%tw_sdext_size%</text>
3517 </text>
3518
3519 <button style="button_quarter_width">
3520 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003522 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003523 </button>
3524
3525 <button style="button_quarter_width">
3526 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003528 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003529 </button>
3530
3531 <text style="text_m_accent">
3532 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 </text>
3535
3536 <text style="text_m">
3537 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3538 <text>%tw_swap_size%</text>
3539 </text>
3540
3541 <button style="button_quarter_width">
3542 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003544 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </button>
3546
3547 <button style="button_quarter_width">
3548 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003550 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003551 </button>
3552
3553 <text style="text_m_accent">
3554 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </text>
3557
3558 <text style="text_m">
3559 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3560 <text>%tw_sdpart_file_system%</text>
3561 </text>
3562
3563 <button style="button_quarter_width">
3564 <placement x="%indent%" y="%row14_y%"/>
3565 <text>EXT3</text>
3566 <action function="set">tw_sdpart_file_system=ext3</action>
3567 </button>
3568
3569 <button style="button_quarter_width">
3570 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3571 <text>EXT4</text>
3572 <action function="set">tw_sdpart_file_system=ext4</action>
3573 </button>
3574
3575 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003577 <action function="page">partsdcardaction</action>
3578 <actions>
3579 <action function="set">tw_back=partsdcard</action>
3580 <action function="set">tw_action=partitionsd</action>
3581 <action function="set">tw_has_action2=1</action>
3582 <action function="set">tw_action2=set</action>
3583 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003584 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3585 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3586 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <action function="page">action_page</action>
3588 </actions>
3589 </slider>
3590
3591 <action>
3592 <touch key="home"/>
3593 <action function="page">main</action>
3594 </action>
3595
3596 <action>
3597 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003598 <actions>
3599 <action function="set">partitionlisterror=0</action>
3600 <action function="page">partsdcardsel</action>
3601 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003602 </action>
3603 </page>
3604
3605 <page name="htcdumlock">
3606 <template name="page"/>
3607
3608 <text style="text_l">
3609 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </text>
3612
3613 <text style="text_m">
3614 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 </text>
3617
3618 <button style="main_button_half_height_full_width">
3619 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <actions>
3622 <action function="set">tw_back=htcdumlock</action>
3623 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3625 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3626 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3627 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <action function="page">confirm_action</action>
3629 </actions>
3630 </button>
3631
3632 <button style="main_button_half_height_full_width">
3633 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 <actions>
3636 <action function="set">tw_back=htcdumlock</action>
3637 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3639 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3640 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3641 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003642 <action function="page">confirm_action</action>
3643 </actions>
3644 </button>
3645
3646 <button style="main_button_half_height_full_width">
3647 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <actions>
3650 <action function="set">tw_back=htcdumlock</action>
3651 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003652 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3653 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3654 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3655 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <action function="page">confirm_action</action>
3657 </actions>
3658 </button>
3659
3660 <action>
3661 <touch key="home"/>
3662 <action function="page">main</action>
3663 </action>
3664
3665 <action>
3666 <touch key="back"/>
3667 <action function="page">advanced</action>
3668 </action>
3669 </page>
3670
3671 <page name="lock">
3672 <background color="%semi_transparent%"/>
3673
3674 <image>
3675 <image resource="unlock_icon"/>
3676 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3677 </image>
3678
3679 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003680 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003681 <action function="overlay"/>
3682 </slider>
3683 </page>
3684
3685 <page name="filemanagerlist">
3686 <template name="page"/>
3687
3688 <text style="text_l">
3689 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <text style="text_m">
3694 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003696 </text>
3697
3698 <template name="sort_options"/>
3699
3700 <fileselector>
3701 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3702 <text>%tw_file_location1%</text>
3703 <filter folders="1" files="1"/>
3704 <path name="tw_file_location1" default="/"/>
3705 <data name="tw_filename1"/>
3706 <selection name="tw_selection1"/>
3707 </fileselector>
3708
3709 <button style="fab">
3710 <image resource="fab_selectfolder"/>
3711 <actions>
3712 <action function="set">tw_filename1=tw_file_location1</action>
3713 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003714 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003715 <action function="page">filemanageroptions</action>
3716 </actions>
3717 </button>
3718
3719 <action>
3720 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003722 <action function="set">tw_fm_isfolder=0</action>
3723 </actions>
3724 </action>
3725
3726 <action>
3727 <touch key="home"/>
3728 <action function="page">main</action>
3729 </action>
3730
3731 <action>
3732 <touch key="back"/>
3733 <action function="page">advanced</action>
3734 </action>
3735
3736 <action>
3737 <condition var1="tw_filename1" op="modified"/>
3738 <action function="page">filemanageroptions</action>
3739 </action>
3740 </page>
3741
3742 <page name="filemanageroptions">
3743 <template name="page"/>
3744
3745 <text style="text_l">
3746 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 </text>
3749
3750 <text style="text_m">
3751 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003753 </text>
3754
3755 <text style="text_m_accent">
3756 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </text>
3759
3760 <text style="text_m">
3761 <placement x="%indent%" y="%row3_y%"/>
3762 <text>%tw_filename1%</text>
3763 </text>
3764
3765 <button style="main_button_half_height">
3766 <condition var1="tw_fm_isfolder" var2="0"/>
3767 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <actions>
3770 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003772 <action function="page">choosedestinationfolder</action>
3773 </actions>
3774 </button>
3775
3776 <button style="main_button_half_height">
3777 <condition var1="tw_fm_isfolder" var2="1"/>
3778 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <actions>
3781 <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 -05003782 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003783 <action function="page">choosedestinationfolder</action>
3784 </actions>
3785 </button>
3786
3787 <button style="main_button_half_height">
3788 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <actions>
3791 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003793 <action function="page">choosedestinationfolder</action>
3794 </actions>
3795 </button>
3796
3797 <button style="main_button_half_height">
3798 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 <actions>
3801 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003803 <action function="set">tw_fm_text2=</action>
3804 <action function="set">tw_fm_text3=</action>
3805 <action function="set">tw_include_text3=0</action>
3806 <action function="set">tw_back=filemanageroptions</action>
3807 <action function="page">filemanagerconfirm</action>
3808 </actions>
3809 </button>
3810
3811 <button style="main_button_half_height">
3812 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003814 <actions>
3815 <action function="set">tw_filemanager_rename=0000</action>
3816 <action function="set">tw_fm_text2=</action>
3817 <action function="set">tw_fm_text3=</action>
3818 <action function="set">tw_include_text3=0</action>
3819 <action function="set">tw_back=filemanageroptions</action>
3820 <action function="page">filemanagerchmod</action>
3821 </actions>
3822 </button>
3823
3824 <button style="main_button_half_height">
3825 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003827 <actions>
3828 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003830 <action function="set">tw_fm_text2=</action>
3831 <action function="set">tw_fm_text3=</action>
3832 <action function="set">tw_include_text3=0</action>
3833 <action function="set">tw_back=filemanageroptions</action>
3834 <action function="page">filemanagerconfirm</action>
3835 </actions>
3836 </button>
3837
3838 <button style="main_button_half_height">
3839 <condition var1="tw_fm_isfolder" var2="0"/>
3840 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003841 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003842 <actions>
3843 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003845 <action function="set">tw_filemanager_command=mv</action>
3846 <action function="page">filemanagerrenamefile</action>
3847 </actions>
3848 </button>
3849
3850 <button style="main_button_half_height">
3851 <condition var1="tw_fm_isfolder" var2="1"/>
3852 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 <actions>
3855 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003857 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3858 <action function="page">filemanagerrenamefolder</action>
3859 </actions>
3860 </button>
3861
3862 <action>
3863 <touch key="home"/>
3864 <action function="page">main</action>
3865 </action>
3866
3867 <action>
3868 <touch key="back"/>
3869 <action function="page">filemanagerlist</action>
3870 </action>
3871 </page>
3872
3873 <page name="choosedestinationfolder">
3874 <template name="page"/>
3875
3876 <text style="text_l">
3877 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 </text>
3880
3881 <text style="text_m">
3882 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 </text>
3885
3886 <template name="sort_options"/>
3887
3888 <fileselector>
3889 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3890 <text>%tw_file_location2%</text>
3891 <filter folders="1" files="0"/>
3892 <path name="tw_file_location2" default="/"/>
3893 <data name="tw_filename2"/>
3894 <selection name="tw_selection2"/>
3895 </fileselector>
3896
3897 <button style="fab">
3898 <image resource="fab_selectfolder"/>
3899 <actions>
3900 <action function="set">tw_fm_text2=to</action>
3901 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3902 <action function="set">tw_include_text3=1</action>
3903 <action function="set">tw_back=filemanageroptions</action>
3904 <action function="page">filemanagerconfirm</action>
3905 </actions>
3906 </button>
3907
3908 <action>
3909 <touch key="home"/>
3910 <action function="page">main</action>
3911 </action>
3912
3913 <action>
3914 <touch key="back"/>
3915 <action function="page">filemanageroptions</action>
3916 </action>
3917 </page>
3918
3919 <page name="filemanagerrenamefile">
3920 <template name="page"/>
3921
3922 <text style="text_l">
3923 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003925 </text>
3926
3927 <text style="text_m">
3928 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003930 </text>
3931
3932 <text style="text_m_accent">
3933 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003934 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003935 </text>
3936
3937 <input>
3938 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3939 <text>%tw_filemanager_rename%</text>
3940 <data name="tw_filemanager_rename"/>
3941 <restrict minlen="1" maxlen="128"/>
3942 <actions>
3943 <action function="set">tw_fm_text2=to</action>
3944 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3945 <action function="set">tw_include_text3=1</action>
3946 <action function="set">tw_back=filemanageroptions</action>
3947 <action function="page">filemanagerconfirm</action>
3948 </actions>
3949 </input>
3950
3951 <fill color="%accent_color%">
3952 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3953 </fill>
3954
3955 <button style="main_button_half_height">
3956 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 <action function="page">filemanageroptions</action>
3959 </button>
3960
3961 <template name="keyboardtemplate"/>
3962
3963 <action>
3964 <touch key="home"/>
3965 <action function="page">main</action>
3966 </action>
3967
3968 <action>
3969 <touch key="back"/>
3970 <action function="page">filemanageroptions</action>
3971 </action>
3972 </page>
3973
3974 <page name="filemanagerrenamefolder">
3975 <template name="page"/>
3976
3977 <text style="text_l">
3978 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003979 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003980 </text>
3981
3982 <text style="text_m">
3983 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003984 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 </text>
3986
3987 <text style="text_m_accent">
3988 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 </text>
3991
3992 <input>
3993 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3994 <text>%tw_filemanager_rename%</text>
3995 <data name="tw_filemanager_rename"/>
3996 <restrict minlen="1" maxlen="128"/>
3997 <actions>
3998 <action function="set">tw_fm_text2=to</action>
3999 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4000 <action function="set">tw_include_text3=1</action>
4001 <action function="set">tw_back=filemanageroptions</action>
4002 <action function="page">filemanagerconfirm</action>
4003 </actions>
4004 </input>
4005
4006 <fill color="%accent_color%">
4007 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4008 </fill>
4009
4010 <button style="main_button_half_height">
4011 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 <action function="page">filemanageroptions</action>
4014 </button>
4015
4016 <template name="keyboardtemplate"/>
4017
4018 <action>
4019 <touch key="home"/>
4020 <action function="page">main</action>
4021 </action>
4022
4023 <action>
4024 <touch key="back"/>
4025 <action function="page">filemanageroptions</action>
4026 </action>
4027 </page>
4028
4029 <page name="filemanagerchmod">
4030 <template name="page"/>
4031
4032 <text style="text_l">
4033 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004034 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004035 </text>
4036
4037 <text style="text_m">
4038 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <text style="text_m_accent">
4043 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 </text>
4046
4047 <input>
4048 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4049 <text>%tw_filemanager_rename%</text>
4050 <data name="tw_filemanager_rename"/>
4051 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4052 <actions>
4053 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4054 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4055 <action function="set">tw_back=filemanageroptions</action>
4056 <action function="page">filemanagerconfirm</action>
4057 </actions>
4058 </input>
4059
4060 <fill color="%accent_color%">
4061 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4062 </fill>
4063
4064 <button style="main_button_half_height">
4065 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004066 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004067 <action function="page">filemanageroptions</action>
4068 </button>
4069
4070 <template name="keyboardtemplate"/>
4071
4072 <action>
4073 <touch key="home"/>
4074 <action function="page">main</action>
4075 </action>
4076
4077 <action>
4078 <touch key="back"/>
4079 <action function="page">filemanageroptions</action>
4080 </action>
4081 </page>
4082
4083 <page name="filemanagerconfirm">
4084 <template name="page"/>
4085
4086 <text style="text_l">
4087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
4091 <text style="text_m">
4092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004094 </text>
4095
4096 <text style="text_m_accent">
4097 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4098 <text>%tw_fm_text1%</text>
4099 </text>
4100
4101 <text style="text_m">
4102 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4103 <text>%tw_filename1%</text>
4104 </text>
4105
4106 <text style="text_m_accent">
4107 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4108 <text>%tw_fm_text2%</text>
4109 </text>
4110
4111 <text style="text_m">
4112 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4113 <text>%tw_fm_text3%</text>
4114 </text>
4115
4116 <text style="text_m">
4117 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004119 </text>
4120
4121 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 <action function="page">filemanageraction</action>
4124 </slider>
4125
4126 <action>
4127 <touch key="back"/>
4128 <action function="page">%tw_back%</action>
4129 </action>
4130
4131 <action>
4132 <touch key="home"/>
4133 <action function="page">main</action>
4134 </action>
4135 </page>
4136
4137 <page name="filemanageraction">
4138 <template name="page"/>
4139
4140 <text style="text_l">
4141 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <text style="text_m">
4146 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4147 <text>%tw_fm_text1%</text>
4148 </text>
4149
4150 <template name="console"/>
4151
4152 <template name="progress_bar"/>
4153
4154 <action>
4155 <conditions>
4156 <condition var1="tw_operation_state" var2="1"/>
4157 <condition var1="tw_operation_status" var2="0"/>
4158 </conditions>
4159 <actions>
4160 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004162 <action function="page">action_complete</action>
4163 </actions>
4164 </action>
4165
4166 <action>
4167 <conditions>
4168 <condition var1="tw_operation_state" var2="1"/>
4169 <condition var1="tw_operation_status" op="!=" var2="0"/>
4170 </conditions>
4171 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004172 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004173 <action function="page">action_complete</action>
4174 </actions>
4175 </action>
4176
4177 <action>
4178 <condition var1="tw_include_text3" var2="0"/>
4179 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4180 </action>
4181
4182 <action>
4183 <condition var1="tw_include_text3" var2="1"/>
4184 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4185 </action>
4186 </page>
4187
4188 <page name="decrypt">
4189 <template name="page"/>
4190
4191 <action>
4192 <condition var1="tw_crypto_pwtype" var2="2"/>
4193 <action function="page">decrypt_pattern</action>
4194 </action>
4195
4196 <text style="text_l">
4197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004198 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004199 </text>
4200
4201 <text style="text_m">
4202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 </text>
4205
4206 <text style="text_m_accent">
4207 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </text>
4210
4211 <input>
4212 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4213 <text>%tw_crypto_display%</text>
4214 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4215 <restrict minlen="1" maxlen="254"/>
4216 <action function="page">trydecrypt</action>
4217 </input>
4218
4219 <fill color="%accent_color%">
4220 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4221 </fill>
4222
4223 <fill color="%text_fail_color%">
4224 <condition var1="tw_password_fail" var2="1"/>
4225 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4226 </fill>
4227
4228 <text style="text_m_fail">
4229 <condition var1="tw_password_fail" var2="1"/>
4230 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004231 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 </text>
4233
4234 <button style="main_button_half_height">
4235 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004236 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004237 <actions>
4238 <action function="set">tw_page_done=1</action>
4239 <action function="page">main</action>
4240 </actions>
4241 </button>
4242
z31s1g608d7ff2016-01-18 19:47:25 +01004243 <button style="main_button_half_height">
4244 <placement x="%center_x%" y="%row10_y%"/>
4245 <text>{@sel_lang_btn=Select Language}</text>
4246 <action function="overlay">select_language</action>
4247 </button>
4248
z31s1g28f0a922015-11-07 18:50:22 +01004249 <template name="keyboardtemplate"/>
4250 </page>
4251
4252 <page name="decrypt_pattern">
4253 <template name="page"/>
4254
4255 <text style="text_l">
4256 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004257 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004258 </text>
4259
4260 <text style="text_m">
4261 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004262 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004263 </text>
4264
4265 <text style="text_m_accent">
4266 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004267 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004268 </text>
4269
Aleksa Saraib25a1832015-12-31 17:36:00 +01004270 <text style="text_m_fail">
4271 <condition var1="tw_password_fail" var2="1"/>
4272 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004273 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004274 </text>
4275
z31s1g28f0a922015-11-07 18:50:22 +01004276 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004277 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004278 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4279 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4280 <data name="tw_crypto_password"/>
4281 <action function="page">trydecrypt</action>
4282 </patternpassword>
4283
Aleksa Saraib25a1832015-12-31 17:36:00 +01004284 <button style="button_quarter_width">
4285 <placement x="%indent%" y="%row19a_y%"/>
4286 <text>3x3</text>
4287 <action function="set">tw_gui_pattern_grid_size=3</action>
4288 </button>
4289
4290 <button style="button_quarter_width">
4291 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4292 <text>4x4</text>
4293 <action function="set">tw_gui_pattern_grid_size=4</action>
4294 </button>
4295
4296 <button style="button_quarter_width">
4297 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4298 <text>5x5</text>
4299 <action function="set">tw_gui_pattern_grid_size=5</action>
4300 </button>
4301
4302 <button style="button_quarter_width">
4303 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4304 <text>6x6</text>
4305 <action function="set">tw_gui_pattern_grid_size=6</action>
4306 </button>
4307
z31s1g28f0a922015-11-07 18:50:22 +01004308 <button style="main_button_half_height">
4309 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 <actions>
4312 <action function="set">tw_page_done=1</action>
4313 <action function="page">main</action>
4314 </actions>
4315 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004316
4317 <button style="main_button_half_height">
4318 <placement x="%center_x%" y="%row21a_y%"/>
4319 <text>{@sel_lang_btn=Select Language}</text>
4320 <action function="overlay">select_language</action>
4321 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004322 </page>
4323
4324 <page name="trydecrypt">
4325 <template name="page"/>
4326
4327 <text style="text_l">
4328 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </text>
4331
4332 <text style="text_m">
4333 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004334 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004335 </text>
4336
4337 <template name="console"/>
4338
4339 <template name="progress_bar"/>
4340
4341 <action>
4342 <action function="decrypt"/>
4343 </action>
4344
4345 <action>
4346 <conditions>
4347 <condition var1="tw_operation_state" var2="1"/>
4348 <condition var1="tw_operation_status" op="!=" var2="0"/>
4349 </conditions>
4350 <actions>
4351 <action function="set">tw_password_fail=1</action>
4352 <action function="page">decrypt</action>
4353 </actions>
4354 </action>
4355
4356 <action>
4357 <conditions>
4358 <condition var1="tw_operation_state" var2="1"/>
4359 <condition var1="tw_operation_status" op="=" var2="0"/>
4360 </conditions>
4361 <actions>
4362 <action function="set">tw_page_done=1</action>
4363 <action function="page">main</action>
4364 </actions>
4365 </action>
4366 </page>
4367
z31s1g28f0a922015-11-07 18:50:22 +01004368 <page name="terminalcommand">
4369 <template name="page"/>
4370
z31s1g56189522016-01-13 19:12:40 +01004371 <fill color="%background_color%">
4372 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004373 </fill>
4374
z31s1g56189522016-01-13 19:12:40 +01004375 <terminal>
4376 <condition var1="tw_hide_kb" var2="0"/>
4377 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4378 </terminal>
4379
4380 <terminal>
4381 <condition var1="tw_hide_kb" var2="1"/>
4382 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4383 </terminal>
4384
4385 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004386
4387 <template name="keyboardtemplate"/>
4388
z31s1g608d7ff2016-01-18 19:47:25 +01004389 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004390 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004391 </fill>
z31s1g56189522016-01-13 19:12:40 +01004392
z31s1g608d7ff2016-01-18 19:47:25 +01004393 <button>
z31s1g56189522016-01-13 19:12:40 +01004394 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4395 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4396 <image resource="back" />
4397 <condition var1="tw_busy" var2="0" />
4398 <actions>
4399 <action function="set">tw_hide_kb=0</action>
4400 <action function="key">back</action>
4401 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004402 </button>
z31s1g56189522016-01-13 19:12:40 +01004403
z31s1g608d7ff2016-01-18 19:47:25 +01004404 <button>
z31s1g56189522016-01-13 19:12:40 +01004405 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4406 <condition var1="tw_hide_kb" op="=" var2="0" />
4407 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4408 <image resource="kb_hide" />
4409 <condition var1="tw_busy" var2="0" />
4410 <actions>
4411 <action function="set">tw_hide_kb=1</action>
4412 <action function="page">terminalcommand</action>
4413 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004414 </button>
z31s1g56189522016-01-13 19:12:40 +01004415
z31s1g608d7ff2016-01-18 19:47:25 +01004416 <button>
z31s1g56189522016-01-13 19:12:40 +01004417 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4418 <condition var1="tw_hide_kb" op="=" var2="1" />
4419 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4420 <image resource="kb_show" />
4421 <condition var1="tw_busy" var2="0" />
4422 <actions>
4423 <action function="set">tw_hide_kb=0</action>
4424 <action function="page">terminalcommand</action>
4425 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004426 </button>
z31s1g56189522016-01-13 19:12:40 +01004427
z31s1g608d7ff2016-01-18 19:47:25 +01004428 <button>
z31s1g56189522016-01-13 19:12:40 +01004429 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4430 <image resource="home" />
4431 <condition var1="tw_busy" var2="0" />
4432 <actions>
4433 <action function="set">tw_hide_kb=0</action>
4434 <action function="key">home</action>
4435 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004436 </button>
z31s1g56189522016-01-13 19:12:40 +01004437
z31s1g608d7ff2016-01-18 19:47:25 +01004438 <button>
z31s1g56189522016-01-13 19:12:40 +01004439 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4440 <condition var1="tw_hide_kb" op="=" var2="0" />
4441 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4442 <image resource="kb_hide" />
4443 <condition var1="tw_busy" var2="0" />
4444 <actions>
4445 <action function="set">tw_hide_kb=1</action>
4446 <action function="page">terminalcommand</action>
4447 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004448 </button>
z31s1g56189522016-01-13 19:12:40 +01004449
z31s1g608d7ff2016-01-18 19:47:25 +01004450 <button>
z31s1g56189522016-01-13 19:12:40 +01004451 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4452 <condition var1="tw_hide_kb" op="=" var2="1" />
4453 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4454 <image resource="kb_show" />
4455 <condition var1="tw_busy" var2="0" />
4456 <actions>
4457 <action function="set">tw_hide_kb=0</action>
4458 <action function="page">terminalcommand</action>
4459 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004460 </button>
z31s1g56189522016-01-13 19:12:40 +01004461
z31s1g608d7ff2016-01-18 19:47:25 +01004462 <button>
z31s1g56189522016-01-13 19:12:40 +01004463 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4464 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4465 <image resource="back" />
4466 <condition var1="tw_busy" var2="0" />
4467 <actions>
4468 <action function="set">tw_hide_kb=0</action>
4469 <action function="key">back</action>
4470 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004471 </button>
z31s1g56189522016-01-13 19:12:40 +01004472
z31s1g28f0a922015-11-07 18:50:22 +01004473 <action>
4474 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004475 <actions>
4476 <action function="set">tw_hide_kb=0</action>
4477 <action function="page">main</action>
4478 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004479 </action>
4480
4481 <action>
4482 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004483 <actions>
4484 <action function="set">tw_hide_kb=0</action>
4485 <action function="page">advanced</action>
4486 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004487 </action>
z31s1g56189522016-01-13 19:12:40 +01004488
z31s1g608d7ff2016-01-18 19:47:25 +01004489 <action>
z31s1g56189522016-01-13 19:12:40 +01004490 <touch key="power+voldown" />
4491 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004492 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004493 </page>
4494
4495 <page name="sideload">
4496 <template name="page"/>
4497
4498 <text style="text_l">
4499 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004500 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004501 </text>
4502
4503 <text style="text_m">
4504 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </text>
4507
4508 <checkbox>
4509 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004510 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004511 <data variable="tw_wipe_dalvik"/>
4512 </checkbox>
4513
4514 <checkbox>
4515 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 <data variable="tw_wipe_cache"/>
4518 </checkbox>
4519
4520 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 <actions>
4523 <action function="set">tw_back=advanced</action>
4524 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004525 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4526 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4527 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004528 <action function="set">tw_has_cancel=1</action>
4529 <action function="set">tw_show_reboot=1</action>
4530 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4531 <action function="page">action_page</action>
4532 </actions>
4533 </slider>
4534
4535 <action>
4536 <touch key="home"/>
4537 <action function="page">main</action>
4538 </action>
4539
4540 <action>
4541 <touch key="back"/>
4542 <action function="page">advanced</action>
4543 </action>
4544 </page>
4545
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004546 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004547 <template name="page"/>
4548
4549 <text style="text_l">
4550 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 </text>
4553
4554 <text style="text_m">
4555 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004556 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004557 </text>
4558
4559 <text style="text_m_accent">
4560 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004561 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004562 </text>
4563
z31s1g28f0a922015-11-07 18:50:22 +01004564 <text style="text_m_fail">
4565 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004566 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004567 </text>
4568
4569 <text style="text_m_fail">
4570 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004571 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 </text>
4573
4574 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004575 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004576 <actions>
4577 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004578 <action function="set">tw_action=fixcontexts</action>
4579 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4580 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004581 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004582 <action function="set">tw_show_reboot=1</action>
4583 <action function="page">action_page</action>
4584 </actions>
4585 </slider>
4586
4587 <action>
4588 <touch key="home"/>
4589 <action function="page">main</action>
4590 </action>
4591
4592 <action>
4593 <touch key="back"/>
4594 <action function="page">advanced</action>
4595 </action>
4596 </page>
4597
4598 <page name="installsu">
4599 <template name="page"/>
4600
4601 <text style="text_l">
4602 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004603 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </text>
4605
4606 <text style="text_m">
4607 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004608 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </text>
4610
4611 <text style="text_m_accent">
4612 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004614 </text>
4615
4616 <text style="text_m">
4617 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004618 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </text>
4620
4621 <text style="text_m">
4622 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <button style="main_button_half_height">
4627 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 <action function="set">tw_page_done=1</action>
4630 </button>
4631
4632 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004633 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 <actions>
4635 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004637 <action function="set">tw_action_text2=</action>
4638 <action function="page">singleaction_page</action>
4639 </actions>
4640 </slider>
4641 </page>
4642
4643 <page name="slideout">
4644 <fill color="%background_color%">
4645 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4646 </fill>
4647
4648 <console>
4649 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4650 </console>
4651
4652 <button>
4653 <fill color="%transparent%"/>
4654 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4655 <action function="overlay"/>
4656 </button>
4657
4658 <action>
4659 <touch key="power+voldown"/>
4660 <action function="screenshot"/>
4661 </action>
4662 </page>
4663
4664 <page name="select_storage">
4665 <fill color="%semi_transparent%">
4666 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4667 </fill>
4668
4669 <fill color="%background_color%">
4670 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4671 </fill>
4672
4673 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004674 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 <data name="tw_storage_path"/>
4676 <listtype name="storage"/>
4677 </partitionlist>
4678
4679 <button style="button_third_width">
4680 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004681 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 <actions>
4683 <action function="set">tw_clear_destination=%tw_back%</action>
4684 <action function="overlay"/>
4685 <action function="page">clear_vars</action>
4686 </actions>
4687 </button>
4688
4689 <fill color="#000000">
4690 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4691 </fill>
4692
4693 <button>
4694 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4695 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4696 <image resource="back"/>
4697 <condition var1="tw_busy" var2="0"/>
4698 <actions>
4699 <action function="overlay"/>
4700 <action function="key">%tw_back%</action>
4701 </actions>
4702 </button>
4703
4704 <button>
4705 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4706 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4707 <image resource="console"/>
4708 <condition var1="tw_busy" var2="0"/>
4709 <action function="overlay">slideout</action>
4710 </button>
4711
4712 <button>
4713 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4714 <image resource="home"/>
4715 <condition var1="tw_busy" var2="0"/>
4716 <actions>
4717 <action function="overlay"/>
4718 <action function="key">home</action>
4719 </actions>
4720 </button>
4721
4722 <button>
4723 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4724 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4725 <image resource="console"/>
4726 <condition var1="tw_busy" var2="0"/>
4727 <action function="overlay">slideout</action>
4728 </button>
4729
4730 <button>
4731 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4732 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4733 <image resource="back"/>
4734 <condition var1="tw_busy" var2="0"/>
4735 <actions>
4736 <action function="overlay"/>
4737 <action function="key">%tw_back%</action>
4738 </actions>
4739 </button>
4740
4741 <action>
4742 <touch key="power+voldown"/>
4743 <action function="screenshot"/>
4744 </action>
4745 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004746
4747 <page name="select_language">
4748 <fill color="%semi_transparent%">
4749 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4750 </fill>
4751
4752 <fill color="%background_color%">
4753 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4754 </fill>
4755
4756 <listbox>
4757 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4758 <text>{@select_language=Select Language:}</text>
4759 <icon selected="radio_true" unselected="radio_false" />
4760 <data name="tw_language" />
4761 </listbox>
4762
4763 <button style="button_third_width">
4764 <placement x="%dialog_button_x%" y="%row14_y%"/>
4765 <text>{@ok_btn=OK}</text>
4766 <actions>
4767 <action function="overlay"/>
4768 <action function="setlanguage"></action>
4769 </actions>
4770 </button>
4771
4772 <fill color="#000000">
4773 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4774 </fill>
4775
4776 <button>
4777 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4778 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4779 <image resource="back"/>
4780 <condition var1="tw_busy" var2="0"/>
4781 <actions>
4782 <action function="overlay"/>
4783 <action function="key">%tw_back%</action>
4784 </actions>
4785 </button>
4786
4787 <button>
4788 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4789 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4790 <image resource="console"/>
4791 <condition var1="tw_busy" var2="0"/>
4792 <action function="overlay">slideout</action>
4793 </button>
4794
4795 <button>
4796 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4797 <image resource="home"/>
4798 <condition var1="tw_busy" var2="0"/>
4799 <actions>
4800 <action function="overlay"/>
4801 <action function="key">home</action>
4802 </actions>
4803 </button>
4804
4805 <button>
4806 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4807 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4808 <image resource="console"/>
4809 <condition var1="tw_busy" var2="0"/>
4810 <action function="overlay">slideout</action>
4811 </button>
4812
4813 <button>
4814 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4815 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4816 <image resource="back"/>
4817 <condition var1="tw_busy" var2="0"/>
4818 <actions>
4819 <action function="overlay"/>
4820 <action function="key">%tw_back%</action>
4821 </actions>
4822 </button>
4823
4824 <action>
4825 <touch key="power+voldown"/>
4826 <action function="screenshot"/>
4827 </action>
4828 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004829 </pages>
4830</recovery>