blob: e9be654a61d8f0c2019550424a6e837083287cdf [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
Matt Mower908dd252016-05-25 02:26:50 -0500389 <placement x="%indent%" y="%row13a_y%" />
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower908dd252016-05-25 02:26:50 -0500391 <data variable="tw_install_reboot" />
bigbiffa869fc72016-03-01 19:40:36 -0500392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500503 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </actions>
505 </button>
506
507 <action>
508 <touch key="back"/>
509 <actions>
510 <action function="set">tw_clear_destination=install</action>
511 <action function="page">clear_vars</action>
512 </actions>
513 </action>
514
515 <action>
516 <touch key="home"/>
517 <actions>
518 <action function="set">tw_clear_destination=main2</action>
519 <action function="page">clear_vars</action>
520 </actions>
521 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500522
523 <action>
524 <conditions>
525 <condition var1="tw_install_reboot" var2="1"/>
526 <condition var1="tw_operation_status" var2="0"/>
527 <condition var1="tw_reboot_system" var2="1"/>
528 </conditions>
529 <actions>
530 <action function="set">tw_sleep=%tw_sleep_total%</action>
531 <action function="page">flash_sleep_and_reboot</action>
532 </actions>
533 </action>
534 </page>
535
536 <page name="flash_sleep_and_reboot">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
541 <text>{@install_zip_hdr=Install Zip}</text>
542 </text>
543
544 <text style="text_m">
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
546 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
547 </text>
548
549 <template name="console"/>
550
551 <template name="progress_bar"/>
552
553 <button style="main_button_half_height">
554 <condition var1="tw_sleep" op="&gt;" var2="0"/>
555 <placement x="%center_x%" y="%row21a_y%"/>
556 <text>{@cancel_btn=Cancel}</text>
557 <actions>
558 <action function="set">tw_install_reboot=0</action>
559 <action function="page">flash_done</action>
560 </actions>
561 </button>
562
563 <action>
564 <conditions>
565 <condition var1="tw_sleep" var2="tw_sleep_total"/>
566 <condition var1="tw_install_reboot" var2="1"/>
567 </conditions>
568 <action function="sleepcounter">%tw_sleep_total%</action>
569 </action>
570
571 <action>
572 <conditions>
573 <condition var1="tw_sleep" var2="0"/>
574 <condition var1="tw_install_reboot" var2="1"/>
575 </conditions>
576 <actions>
577 <action function="sleep">50000</action>
578 <action function="set">tw_back=main2</action>
579 <action function="page">reboot_system_routine</action>
580 </actions>
581 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </page>
583
584 <page name="flashimage_confirm">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500594 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100595 </text>
596
597 <text style="text_m_accent">
598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500599 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </text>
601
602 <text style="text_m">
603 <placement x="%indent%" y="%row3_y%"/>
604 <text>%tw_zip_location%</text>
605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row5a_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <partitionlist>
618 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
619 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <data name="tw_flash_partition"/>
622 <listtype name="flashimg"/>
623 </partitionlist>
624
625 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <actions>
628 <action function="set">tw_back=flashimage_confirm</action>
629 <action function="set">tw_action=flashimage</action>
630 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <action function="page">action_page</action>
635 </actions>
636 <action function="flashimage"/>
637 </slider>
638
639 <action>
640 <touch key="back"/>
641 <actions>
642 <action function="set">tw_clear_destination=install</action>
643 <action function="page">clear_vars</action>
644 </actions>
645 </action>
646
647 <action>
648 <touch key="home"/>
649 <actions>
650 <action function="set">tw_clear_destination=main2</action>
651 <action function="page">clear_vars</action>
652 </actions>
653 </action>
654 </page>
655
656 <page name="clear_vars">
657 <action>
658 <action function="set">tw_operation_state=0</action>
659 <action function="set">tw_text1=</action>
660 <action function="set">tw_text2=</action>
661 <action function="set">tw_text3=</action>
662 <action function="set">tw_text4=</action>
663 <action function="set">tw_action_text1=</action>
664 <action function="set">tw_action_text2=</action>
665 <action function="set">tw_action_param=</action>
666 <action function="set">tw_has_action2=0</action>
667 <action function="set">tw_action2=</action>
668 <action function="set">tw_action2_param=</action>
669 <action function="set">tw_has_cancel=0</action>
670 <action function="set">tw_cancel_action=</action>
671 <action function="set">tw_cancel_param=</action>
672 <action function="set">tw_show_exclamation=0</action>
673 <action function="set">tw_show_reboot=0</action>
674 <action function="page">%tw_clear_destination%</action>
675 </action>
676 </page>
677
Matt Mower908dd252016-05-25 02:26:50 -0500678 <page name="reboot_system_routine">
679 <action>
680 <action function="set">tw_action=reboot</action>
681 <action function="set">tw_action_param=system</action>
682 <action function="set">tw_has_action2=0</action>
683 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
684 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
685 <action function="set">tw_text3=</action>
686 <action function="set">tw_text4=</action>
687 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
688 <action function="set">tw_action_text2=</action>
689 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
690 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
691 <action function="page">rebootcheck</action>
692 </action>
693 </page>
694
z31s1g28f0a922015-11-07 18:50:22 +0100695 <page name="confirm_action">
696 <template name="page"/>
697
698 <text style="text_l">
699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 </text>
702
703 <text style="text_m">
704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
705 <text/>
706 </text>
707
708 <text style="text_m_accent">
709 <placement x="%center_x%" y="%row2_y%" placement="5"/>
710 <text>%tw_text1%</text>
711 </text>
712
713 <text style="text_m_accent">
714 <placement x="%center_x%" y="%row3_y%" placement="5"/>
715 <text>%tw_text2%</text>
716 </text>
717
718 <text style="text_m">
719 <placement x="%center_x%" y="%row4_y%" placement="5"/>
720 <text>%tw_text3%</text>
721 </text>
722
723 <text style="text_m">
724 <placement x="%center_x%" y="%row5_y%" placement="5"/>
725 <text>%tw_text4%</text>
726 </text>
727
728 <text style="text_m">
729 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500730 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100731 </text>
732
733 <slider>
734 <text>%tw_slider_text%</text>
735 <action function="page">action_page</action>
736 </slider>
737
738 <action>
739 <touch key="back"/>
740 <actions>
741 <action function="set">tw_clear_destination=%tw_back%</action>
742 <action function="page">clear_vars</action>
743 </actions>
744 </action>
745
746 <action>
747 <touch key="home"/>
748 <action function="page">main</action>
749 </action>
750 </page>
751
752 <page name="action_page">
753 <template name="page"/>
754
755 <text style="text_l">
756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
757 <text>%tw_action_text1%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%col1_x_header%" y="%row4_header_y%"/>
762 <text>%tw_action_text2%</text>
763 </text>
764
765 <template name="console"/>
766
767 <template name="progress_bar"/>
768
769 <button style="main_button_half_height">
770 <condition var1="tw_has_cancel" var2="1"/>
771 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
774 </button>
775
776 <action>
777 <condition var1="tw_operation_state" var2="1"/>
778 <actions>
779 <action function="page">action_complete</action>
780 </actions>
781 </action>
782
783 <action>
784 <condition var1="tw_has_action2" var2="0"/>
785 <actions>
786 <action function="%tw_action%">%tw_action_param%</action>
787 </actions>
788 </action>
789
790 <action>
791 <condition var1="tw_has_action2" var2="1"/>
792 <actions>
793 <action function="%tw_action%">%tw_action_param%</action>
794 <action function="%tw_action2%">%tw_action2_param%</action>
795 </actions>
796 </action>
797 </page>
798
799 <page name="singleaction_page">
800 <template name="page"/>
801
802 <text style="text_l">
803 <placement x="%col1_x_header%" y="%row3_header_y%"/>
804 <text>%tw_action_text1%</text>
805 </text>
806
807 <text style="text_m">
808 <placement x="%col1_x_header%" y="%row4_header_y%"/>
809 <text>%tw_action_text2%</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <action>
817 <condition var1="tw_operation_state" var2="1"/>
818 <actions>
819 <action function="set">tw_page_done=1</action>
820 </actions>
821 </action>
822
823 <action>
824 <condition var1="tw_has_action2" var2="0"/>
825 <actions>
826 <action function="%tw_action%">%tw_action_param%</action>
827 </actions>
828 </action>
829
830 <action>
831 <condition var1="tw_has_action2" var2="1"/>
832 <actions>
833 <action function="%tw_action%">%tw_action_param%</action>
834 <action function="%tw_action2%">%tw_action2_param%</action>
835 </actions>
836 </action>
837 </page>
838
839 <page name="action_complete">
840 <template name="page"/>
841
842 <text style="text_l">
843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
844 <text>%tw_complete_text1%</text>
845 </text>
846
847 <text style="text_m_fail">
848 <condition var1="tw_operation_status" op="!=" var2="0"/>
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100851 </text>
852
853 <text style="text_m">
854 <condition var1="tw_operation_status" var2="0"/>
855 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500856 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </text>
858
859 <template name="console"/>
860
861 <button style="main_button_half_height">
862 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 <actions>
865 <action function="set">tw_clear_destination=%tw_back%</action>
866 <action function="page">clear_vars</action>
867 </actions>
868 </button>
869
870 <button style="main_button_half_height">
871 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500872 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100873 <actions>
874 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500875 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </actions>
877 </button>
878
879 <action>
880 <touch key="home"/>
881 <actions>
882 <action function="set">tw_clear_destination=main2</action>
883 <action function="page">clear_vars</action>
884 </actions>
885 </action>
886
887 <action>
888 <touch key="back"/>
889 <actions>
890 <action function="set">tw_clear_destination=%tw_back%</action>
891 <action function="page">clear_vars</action>
892 </actions>
893 </action>
894 </page>
895
896 <page name="filecheck">
897 <action>
898 <action function="fileexists">%tw_filecheck%</action>
899 </action>
900
901 <action>
902 <conditions>
903 <condition var1="tw_operation_state" var2="1"/>
904 <condition var1="tw_operation_status" var2="0"/>
905 </conditions>
906 <actions>
907 <action function="set">tw_fileexists=1</action>
908 <action function="page">%tw_existpage%</action>
909 </actions>
910 </action>
911
912 <action>
913 <conditions>
914 <condition var1="tw_operation_state" var2="1"/>
915 <condition var1="tw_operation_status" var2="1"/>
916 </conditions>
917 <actions>
918 <action function="set">tw_fileexists=0</action>
919 <action function="page">%tw_notexistpage%</action>
920 </actions>
921 </action>
922 </page>
923
924 <page name="rebootcheck">
925 <action>
926 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
927 <action function="reboot">%tw_action_param%</action>
928 </action>
929
930 <action>
931 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
932 <action function="page">confirm_action</action>
933 </action>
934 </page>
935
936 <page name="wipe">
937 <template name="page"/>
938
939 <text style="text_l">
940 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500941 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100942 </text>
943
944 <text style="text_m">
945 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500946 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100947 </text>
948
949 <text style="text_m_accent">
950 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </text>
953
954 <text style="text_m_accent">
955 <condition var1="tw_has_data_media" var2="1"/>
956 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100958 </text>
959
960 <text style="text_m_accent">
961 <conditions>
962 <condition var1="tw_has_android_secure" var2="1"/>
963 <condition var1="fileexists" var2="/and-sec"/>
964 </conditions>
965 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100967 </text>
968
969 <text style="text_m_accent">
970 <condition var1="tw_has_sdext_partition" var2="1"/>
971 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500972 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100973 </text>
974
975 <text style="text_m">
976 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <text style="text_m">
981 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500982 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100983 </text>
984
985 <text style="text_m">
986 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500987 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100988 </text>
989
990 <button style="main_button_half_height">
991 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500992 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100993 <actions>
994 <action function="set">partitionlisterror=0</action>
995 <action function="page">advancedwipe</action>
996 </actions>
997 </button>
998
999 <button style="main_button_half_height">
1000 <condition var1="tw_has_data_media" var2="1"/>
1001 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001002 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001003 <action function="page">formatdata</action>
1004 </button>
1005
1006 <button style="main_button_half_height">
1007 <conditions>
1008 <condition var1="tw_is_encrypted" var2="1"/>
1009 <condition var1="tw_has_data_media" var2="0"/>
1010 </conditions>
1011 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001012 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001013 <actions>
1014 <action function="set">tw_back=wipe</action>
1015 <action function="set">tw_action=wipe</action>
1016 <action function="set">tw_action_param=DATAMEDIA</action>
1017 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001018 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001019 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1021 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1022 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001023 <action function="page">confirm_action</action>
1024 </actions>
1025 </button>
1026
1027 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001028 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001029 <actions>
1030 <action function="set">tw_back=wipe</action>
1031 <action function="set">tw_action=wipe</action>
1032 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001033 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1034 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001035 <action function="page">action_page</action>
1036 </actions>
1037 </slider>
1038
1039 <action>
1040 <touch key="back"/>
1041 <action function="page">main</action>
1042 </action>
1043
1044 <action>
1045 <touch key="home"/>
1046 <action function="page">main</action>
1047 </action>
1048 </page>
1049
1050 <page name="advancedwipe">
1051 <template name="page"/>
1052
1053 <action>
1054 <action function="set">tw_wipe_list=</action>
1055 </action>
1056
1057 <text style="text_l">
1058 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 </text>
1061
1062 <text style="text_m">
1063 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <partitionlist>
1068 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <data name="tw_wipe_list"/>
1071 <listtype name="wipe"/>
1072 </partitionlist>
1073
1074 <text style="text_m_fail">
1075 <condition var1="partitionlisterror" var2="1"/>
1076 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <button style="main_button_half_height_full_width">
1081 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001084 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001085 <action function="page">checkpartitionlist</action>
1086 </actions>
1087 </button>
1088
1089 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 <actions>
1092 <action function="set">tw_back=advancedwipe</action>
1093 <action function="set">tw_action=wipe</action>
1094 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1096 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1097 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001098 <action function="page">action_page</action>
1099 </actions>
1100 </slider>
1101
1102 <action>
1103 <touch key="home"/>
1104 <action function="page">main</action>
1105 </action>
1106
1107 <action>
1108 <touch key="back"/>
1109 <action function="page">wipe</action>
1110 </action>
1111 </page>
1112
1113 <page name="formatdata">
1114 <template name="page"/>
1115
1116 <text style="text_l">
1117 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001118 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001119 </text>
1120
1121 <text style="text_m">
1122 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001123 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001124 </text>
1125
1126 <text style="text_m_fail">
1127 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001129 </text>
1130
1131 <text style="text_m_fail">
1132 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001133 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001134 </text>
1135
1136 <text style="text_m_fail">
1137 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 </text>
1140
Ethan Yonker66a19492015-12-10 10:19:45 -06001141 <text style="text_m_fail">
1142 <condition var1="tw_has_adopted_storage" var2="1"/>
1143 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1144 <text>{@format_data_adopted=Including Adopted Storage}</text>
1145 </text>
1146
z31s1g28f0a922015-11-07 18:50:22 +01001147 <text style="text_m">
1148 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001149 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001150 </text>
1151
1152 <text style="text_m">
1153 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001154 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001155 </text>
1156
1157 <input>
1158 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1159 <text>%tw_confirm_formatdata%</text>
1160 <data name="tw_confirm_formatdata"/>
1161 <restrict minlen="3" maxlen="3" allow="yes"/>
1162 <action function="page">formatdata_confirm</action>
1163 </input>
1164
1165 <fill color="%accent_color%">
1166 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1167 </fill>
1168
1169 <template name="keyboardtemplate"/>
1170
1171 <action>
1172 <touch key="home"/>
1173 <action function="page">main</action>
1174 </action>
1175
1176 <action>
1177 <touch key="back"/>
1178 <action function="page">wipe</action>
1179 </action>
1180 </page>
1181
1182 <page name="formatdata_confirm">
1183 <action>
1184 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1185 <actions>
1186 <action function="set">tw_back=formatdata</action>
1187 <action function="set">tw_action=wipe</action>
1188 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001189 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1190 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001191 <action function="page">action_page</action>
1192 </actions>
1193 </action>
1194
1195 <action>
1196 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1197 <action function="page">formatdata</action>
1198 </action>
1199 </page>
1200
1201 <page name="checkpartitionlist">
1202 <action>
1203 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1204 <actions>
1205 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001206 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001207 <action function="page">partitionoptions</action>
1208 </actions>
1209 </action>
1210
1211 <action>
1212 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1213 <actions>
1214 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001215 <action function="page">advancedwipe</action>
1216 </actions>
1217 </action>
1218 </page>
1219
1220 <page name="partitionoptions">
1221 <template name="page"/>
1222
1223 <text style="text_l">
1224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001225 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001226 </text>
1227
1228 <text style="text_m">
1229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001230 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001231 </text>
1232
1233 <text style="text_m_accent">
1234 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m_accent">
1239 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <condition var1="tw_partition_is_present" var2="1"/>
1245 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <condition var1="tw_partition_is_present" var2="0"/>
1251 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m">
1256 <condition var1="tw_partition_removable" var2="1"/>
1257 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 </text>
1260
1261 <text style="text_m">
1262 <condition var1="tw_partition_removable" var2="0"/>
1263 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001265 </text>
1266
1267 <text style="text_m">
1268 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001275 </text>
1276
1277 <text style="text_m">
1278 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001279 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001280 </text>
1281
1282 <text style="text_m">
1283 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001284 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001285 </text>
1286
1287 <button style="main_button_half_height">
1288 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1289 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 <actions>
1292 <action function="set">tw_back=partitionoptions</action>
1293 <action function="set">tw_action=resize</action>
1294 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1295 <action function="set">tw_has_action2=1</action>
1296 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001297 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001299 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1301 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1302 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001303 <action function="page">confirm_action</action>
1304 </actions>
1305 </button>
1306
1307 <button style="main_button_half_height">
1308 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1309 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <actions>
1312 <action function="set">tw_back=partitionoptions</action>
1313 <action function="set">tw_action=repair</action>
1314 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1315 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001317 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1319 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1320 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <action function="page">confirm_action</action>
1322 </actions>
1323 </button>
1324
1325 <button style="main_button_half_height">
1326 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="page">selectfilesystem</action>
1329 </button>
1330
1331 <action>
1332 <touch key="home"/>
1333 <action function="page">main</action>
1334 </action>
1335
1336 <action>
1337 <touch key="back"/>
1338 <action function="page">advancedwipe</action>
1339 </action>
1340 </page>
1341
1342 <page name="refreshfilesystem">
1343 <action>
1344 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1345 <actions>
1346 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001347 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001348 <action function="page">selectfilesystem</action>
1349 </actions>
1350 </action>
1351
1352 <action>
1353 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1354 <actions>
1355 <action function="set">partitionlisterror=1</action>
1356 <action function="set">tw_wipe_list=</action>
1357 <action function="page">advancedwipe</action>
1358 </actions>
1359 </action>
1360 </page>
1361
1362 <page name="selectfilesystem">
1363 <template name="page"/>
1364
1365 <text style="text_l">
1366 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001372 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001373 </text>
1374
1375 <text style="text_m_accent">
1376 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m_accent">
1381 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m_fail">
1386 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m_fail">
1391 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <button style="main_button_half_height">
1396 <condition var1="tw_partition_ext" op="=" var2="1"/>
1397 <placement x="%indent%" y="%row15a_y%"/>
1398 <text>EXT2</text>
1399 <actions>
1400 <action function="set">tw_back=refreshfilesystem</action>
1401 <action function="set">tw_action=changefilesystem</action>
1402 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1403 <action function="set">tw_action_new_file_system=ext2</action>
1404 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1406 <action function="set">tw_text2=EXT2</action>
1407 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1408 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1409 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="page">confirm_action</action>
1411 </actions>
1412 </button>
1413
1414 <button style="main_button_half_height">
1415 <condition var1="tw_partition_ext" op="=" var2="1"/>
1416 <placement x="%indent%" y="%row18a_y%"/>
1417 <text>EXT3</text>
1418 <actions>
1419 <action function="set">tw_back=refreshfilesystem</action>
1420 <action function="set">tw_action=changefilesystem</action>
1421 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1422 <action function="set">tw_action_new_file_system=ext3</action>
1423 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1425 <action function="set">tw_text2=EXT3</action>
1426 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1427 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1428 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001429 <action function="page">confirm_action</action>
1430 </actions>
1431 </button>
1432
1433 <button style="main_button_half_height">
1434 <condition var1="tw_partition_ext" op="=" var2="1"/>
1435 <placement x="%indent%" y="%row21a_y%"/>
1436 <text>EXT4</text>
1437 <actions>
1438 <action function="set">tw_back=refreshfilesystem</action>
1439 <action function="set">tw_action=changefilesystem</action>
1440 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1441 <action function="set">tw_action_new_file_system=ext4</action>
1442 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1444 <action function="set">tw_text2=EXT4</action>
1445 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1446 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1447 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001448 <action function="page">confirm_action</action>
1449 </actions>
1450 </button>
1451
1452 <button style="main_button_half_height">
1453 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1454 <placement x="%center_x%" y="%row15a_y%"/>
1455 <text>FAT</text>
1456 <actions>
1457 <action function="set">tw_back=refreshfilesystem</action>
1458 <action function="set">tw_action=changefilesystem</action>
1459 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1460 <action function="set">tw_action_new_file_system=vfat</action>
1461 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001462 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1463 <action function="set">tw_text2=FAT</action>
1464 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1465 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1466 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001467 <action function="page">confirm_action</action>
1468 </actions>
1469 </button>
1470
1471 <button style="main_button_half_height">
1472 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1473 <placement x="%center_x%" y="%row18a_y%"/>
1474 <text>exFAT</text>
1475 <actions>
1476 <action function="set">tw_back=refreshfilesystem</action>
1477 <action function="set">tw_action=changefilesystem</action>
1478 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1479 <action function="set">tw_action_new_file_system=exfat</action>
1480 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001481 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1482 <action function="set">tw_text2=exFAT</action>
1483 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1484 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1485 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001486 <action function="page">confirm_action</action>
1487 </actions>
1488 </button>
1489
1490 <button style="main_button_half_height">
1491 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1492 <placement x="%center_x%" y="%row21a_y%"/>
1493 <text>F2FS</text>
1494 <actions>
1495 <action function="set">tw_back=refreshfilesystem</action>
1496 <action function="set">tw_action=changefilesystem</action>
1497 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1498 <action function="set">tw_action_new_file_system=f2fs</action>
1499 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1501 <action function="set">tw_text2=F2FS</action>
1502 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1503 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1504 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001505 <action function="page">confirm_action</action>
1506 </actions>
1507 </button>
1508
1509 <action>
1510 <touch key="home"/>
1511 <action function="page">main</action>
1512 </action>
1513
1514 <action>
1515 <touch key="back"/>
1516 <action function="page">partitionoptions</action>
1517 </action>
1518 </page>
1519
1520 <page name="backup">
1521 <template name="page"/>
1522
1523 <text style="text_l">
1524 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001531 </text>
1532
1533 <template name="tabs_backup"/>
1534
1535 <fill color="%text_color%">
1536 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1537 </fill>
1538
1539 <button style="tab">
1540 <conditions>
1541 <condition var1="tw_include_encrypted_backup" var2="1"/>
1542 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001543 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001544 </conditions>
1545 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001547 <font resource="font_s" color="%text_color%"/>
1548 <actions>
1549 <action function="set">tw_password_not_match=0</action>
1550 <action function="page">backupencryption</action>
1551 </actions>
1552 </button>
1553
1554 <button style="tab">
1555 <conditions>
1556 <condition var1="tw_include_encrypted_backup" var2="1"/>
1557 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001558 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001559 </conditions>
1560 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001561 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001562 <font resource="font_s" color="%text_success_color%"/>
1563 <actions>
1564 <action function="set">tw_password_not_match=0</action>
1565 <action function="page">backupencryption</action>
1566 </actions>
1567 </button>
1568
1569 <text style="text_m_accent">
1570 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 </text>
1573
1574 <text style="text_m">
1575 <placement x="%indent%" y="%row4a_y%"/>
1576 <text>%tw_backup_name%</text>
1577 </text>
1578
1579 <fill color="%fileselector_linecolor%">
1580 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1581 </fill>
1582
1583 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001584 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1586 <fill color="%transparent%"/>
1587 <actions>
1588 <action function="set">tw_fileexists=0</action>
1589 <action function="page">backupname1</action>
1590 </actions>
1591 </button>
1592
1593 <partitionlist>
1594 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <data name="tw_backup_list"/>
1597 <listtype name="backup"/>
1598 </partitionlist>
1599
1600 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001601 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <actions>
1605 <action function="set">tw_back=backup</action>
1606 <action function="overlay">select_storage</action>
1607 </actions>
1608 </button>
1609
1610 <button style="main_button_half_height">
1611 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001612 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001613 <actions>
1614 <action function="refreshsizes"/>
1615 <action function="page">backup</action>
1616 </actions>
1617 </button>
1618
1619 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001620 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001621 <action function="page">backup_run</action>
1622 </slider>
1623
1624 <action>
1625 <touch key="home"/>
1626 <action function="page">main</action>
1627 </action>
1628
1629 <action>
1630 <touch key="back"/>
1631 <action function="page">main</action>
1632 </action>
1633 </page>
1634
1635 <page name="backup_options">
1636 <template name="page"/>
1637
1638 <text style="text_l">
1639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <template name="tabs_backup"/>
1649
1650 <fill color="%text_color%">
1651 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1652 </fill>
1653
1654 <button style="tab">
1655 <conditions>
1656 <condition var1="tw_include_encrypted_backup" var2="1"/>
1657 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001658 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </conditions>
1660 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 <font resource="font_s" color="%text_color%"/>
1663 <actions>
1664 <action function="set">tw_password_not_match=0</action>
1665 <action function="page">backupencryption</action>
1666 </actions>
1667 </button>
1668
1669 <button style="tab">
1670 <conditions>
1671 <condition var1="tw_include_encrypted_backup" var2="1"/>
1672 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001673 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </conditions>
1675 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 <font resource="font_s" color="%text_success_color%"/>
1678 <actions>
1679 <action function="set">tw_password_not_match=0</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </button>
1683
1684 <checkbox>
1685 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <data variable="tw_use_compression"/>
1688 </checkbox>
1689
1690 <checkbox>
1691 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <data variable="tw_skip_md5_generate"/>
1694 </checkbox>
1695
1696 <checkbox>
1697 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001698 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <data variable="tw_disable_free_space"/>
1700 </checkbox>
1701
1702 <action>
1703 <touch key="home"/>
1704 <action function="page">main</action>
1705 </action>
1706
1707 <action>
1708 <touch key="back"/>
1709 <action function="page">backup</action>
1710 </action>
1711 </page>
1712
1713 <page name="backupname1">
1714 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="generatebackupname"/>
1717 </action>
1718
1719 <action>
1720 <action function="page">backupname2</action>
1721 </action>
1722 </page>
1723
1724 <page name="backupname2">
1725 <template name="page"/>
1726
1727 <text style="text_l">
1728 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001729 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001730 </text>
1731
1732 <text style="text_m">
1733 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <template name="tabs_backup"/>
1738
1739 <fill color="%text_color%">
1740 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1741 </fill>
1742
1743 <button style="tab">
1744 <conditions>
1745 <condition var1="tw_include_encrypted_backup" var2="1"/>
1746 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001747 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001748 </conditions>
1749 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <font resource="font_s" color="%text_color%"/>
1752 <actions>
1753 <action function="set">tw_password_not_match=0</action>
1754 <action function="page">backupencryption</action>
1755 </actions>
1756 </button>
1757
1758 <button style="tab">
1759 <conditions>
1760 <condition var1="tw_include_encrypted_backup" var2="1"/>
1761 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001762 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001763 </conditions>
1764 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001765 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001766 <font resource="font_s" color="%text_success_color%"/>
1767 <actions>
1768 <action function="set">tw_password_not_match=0</action>
1769 <action function="page">backupencryption</action>
1770 </actions>
1771 </button>
1772
1773 <text style="text_m_accent">
1774 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <input>
1779 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1780 <text>%tw_backup_name%</text>
1781 <data name="tw_backup_name"/>
1782 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1783 <actions>
1784 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1785 <action function="set">tw_existpage=backupname2</action>
1786 <action function="set">tw_notexistpage=backup</action>
1787 <action function="page">filecheck</action>
1788 </actions>
1789 </input>
1790
1791 <fill color="%accent_color%">
1792 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1793 </fill>
1794
1795 <fill color="%text_fail_color%">
1796 <condition var1="tw_fileexists" var2="1"/>
1797 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1798 </fill>
1799
1800 <text style="text_m_fail">
1801 <condition var1="tw_fileexists" var2="1"/>
1802 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <button style="main_button_half_height">
1807 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <action function="page">backup</action>
1812 </actions>
1813 </button>
1814
1815 <button style="main_button_half_height">
1816 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 <action function="appenddatetobackupname"/>
1819 </button>
1820
1821 <template name="keyboardtemplate"/>
1822
1823 <action>
1824 <touch key="home"/>
1825 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">main</action>
1828 </actions>
1829 </action>
1830
1831 <action>
1832 <touch key="back"/>
1833 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001834 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001835 <action function="page">backup</action>
1836 </actions>
1837 </action>
1838 </page>
1839
1840 <page name="backupencryption">
1841 <template name="page"/>
1842
1843 <text style="text_l">
1844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001845 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001846 </text>
1847
1848 <text style="text_m">
1849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001850 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001851 </text>
1852
1853 <template name="tabs_backup"/>
1854
1855 <button style="tab">
1856 <conditions>
1857 <condition var1="tw_include_encrypted_backup" var2="1"/>
1858 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001859 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001860 </conditions>
1861 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001863 <font resource="font_s" color="%text_color%"/>
1864 <actions>
1865 <action function="set">tw_password_not_match=0</action>
1866 <action function="page">backupencryption</action>
1867 </actions>
1868 </button>
1869
1870 <button style="tab">
1871 <conditions>
1872 <condition var1="tw_include_encrypted_backup" var2="1"/>
1873 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001874 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001875 </conditions>
1876 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <font resource="font_s" color="%text_success_color%"/>
1879 <actions>
1880 <action function="set">tw_password_not_match=0</action>
1881 <action function="page">backupencryption</action>
1882 </actions>
1883 </button>
1884
1885 <fill color="%text_color%">
1886 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1887 </fill>
1888
1889 <text style="text_m_accent">
1890 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001892 </text>
1893
1894 <text style="text_m">
1895 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001896 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001897 </text>
1898
1899 <input>
1900 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1901 <text>%tw_backup_encrypt_display%</text>
1902 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1903 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1904 <action function="page">backupencryption2</action>
1905 </input>
1906
1907 <fill color="%accent_color%">
1908 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1909 </fill>
1910
1911 <fill color="%text_fail_color%">
1912 <condition var1="tw_password_not_match" var2="1"/>
1913 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1914 </fill>
1915
1916 <text style="text_m_fail">
1917 <condition var1="tw_password_not_match" var2="1"/>
1918 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 </text>
1921
1922 <button style="main_button_half_height">
1923 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001924 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001925 <actions>
1926 <action function="set">tw_encrypt_backup=0</action>
1927 <action function="set">tw_backup_password=</action>
1928 <action function="set">tw_backup_password2=</action>
1929 <action function="set">tw_backup_encrypt_display=</action>
1930 <action function="set">tw_backup_encrypt_display2=</action>
1931 <action function="page">backup</action>
1932 </actions>
1933 </button>
1934
1935 <template name="keyboardtemplate"/>
1936
1937 <action>
1938 <touch key="home"/>
1939 <action function="page">main</action>
1940 </action>
1941
1942 <action>
1943 <touch key="back"/>
1944 <action function="page">backup</action>
1945 </action>
1946 </page>
1947
1948 <page name="backupencryption2">
1949 <template name="page"/>
1950
1951 <text style="text_l">
1952 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001953 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001954 </text>
1955
1956 <text style="text_m">
1957 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001958 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001959 </text>
1960
1961 <template name="tabs_backup"/>
1962
1963 <button style="tab">
1964 <conditions>
1965 <condition var1="tw_include_encrypted_backup" var2="1"/>
1966 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001967 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001968 </conditions>
1969 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001970 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001971 <font resource="font_s" color="%text_color%"/>
1972 <actions>
1973 <action function="set">tw_password_not_match=0</action>
1974 <action function="page">backupencryption</action>
1975 </actions>
1976 </button>
1977
1978 <button style="tab">
1979 <conditions>
1980 <condition var1="tw_include_encrypted_backup" var2="1"/>
1981 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001982 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001983 </conditions>
1984 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 <font resource="font_s" color="%text_success_color%"/>
1987 <actions>
1988 <action function="set">tw_password_not_match=0</action>
1989 <action function="page">backupencryption</action>
1990 </actions>
1991 </button>
1992
1993 <fill color="%text_color%">
1994 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1995 </fill>
1996
1997 <text style="text_m_accent">
1998 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001999 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002000 </text>
2001
2002 <text style="text_m">
2003 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002004 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002005 </text>
2006
2007 <input>
2008 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2009 <text>%tw_backup_encrypt_display2%</text>
2010 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2011 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2012 <action function="page">checkbackuppassword</action>
2013 </input>
2014
2015 <fill color="%accent_color%">
2016 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2017 </fill>
2018
2019 <button style="main_button_half_height">
2020 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002021 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002022 <actions>
2023 <action function="set">tw_encrypt_backup=0</action>
2024 <action function="set">tw_backup_password=</action>
2025 <action function="set">tw_backup_password2=</action>
2026 <action function="set">tw_backup_encrypt_display=</action>
2027 <action function="set">tw_backup_encrypt_display2=</action>
2028 <action function="page">backup</action>
2029 </actions>
2030 </button>
2031
2032 <template name="keyboardtemplate"/>
2033
2034 <action>
2035 <touch key="home"/>
2036 <action function="page">main</action>
2037 </action>
2038
2039 <action>
2040 <touch key="back"/>
2041 <action function="page">backup</action>
2042 </action>
2043 </page>
2044
2045 <page name="checkbackuppassword">
2046 <action>
2047 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2048 <actions>
2049 <action function="set">tw_encrypt_backup=1</action>
2050 <action function="page">backup</action>
2051 </actions>
2052 </action>
2053
2054 <action>
2055 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2056 <actions>
2057 <action function="set">tw_encrypt_backup=0</action>
2058 <action function="set">tw_password_not_match=1</action>
2059 <action function="set">tw_backup_password=</action>
2060 <action function="set">tw_backup_password2=</action>
2061 <action function="set">tw_backup_encrypt_display=</action>
2062 <action function="set">tw_backup_encrypt_display2=</action>
2063 <action function="page">backupencryption</action>
2064 </actions>
2065 </action>
2066 </page>
2067
2068 <page name="backup_run">
2069 <template name="page"/>
2070
2071 <text style="text_l">
2072 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2073 <text>%tw_operation%</text>
2074 </text>
2075
2076 <text style="text_m">
2077 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2078 <text>%tw_partition% Partition</text>
2079 </text>
2080
2081 <template name="console"/>
2082
2083 <template name="progress_bar"/>
2084
2085 <text style="text_m_accent">
2086 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002087 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002088 </text>
2089
2090 <text style="text_m">
2091 <placement x="%indent%" y="%row20_y%"/>
2092 <text>%tw_file_progress%</text>
2093 </text>
2094
2095 <text style="text_m">
2096 <placement x="%indent%" y="%row21_y%"/>
2097 <text>%tw_size_progress%</text>
2098 </text>
2099
2100 <button style="main_button_half_height">
2101 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002102 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002103 <action function="cancelbackup"/>
2104 </button>
2105
2106 <action>
2107 <action function="nandroid">backup</action>
2108 </action>
2109
2110 <action>
2111 <condition var1="tw_operation_state" var2="1"/>
2112 <condition var1="tw_cancel_backup" var2="0"/>
2113 <actions>
2114 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002116 <action function="set">tw_show_reboot=1</action>
2117 <action function="page">action_complete</action>
2118 </actions>
2119 </action>
2120
2121 <action>
2122 <condition var1="tw_operation_state" var2="1"/>
2123 <condition var1="tw_cancel_backup" var2="1"/>
2124 <actions>
2125 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <action function="set">tw_show_reboot=1</action>
2128 <action function="page">action_complete</action>
2129 </actions>
2130 </action>
2131 </page>
2132
2133 <page name="restore">
2134 <template name="page"/>
2135
2136 <text style="text_l">
2137 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <text style="text_m">
2142 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </text>
2145
2146 <template name="sort_options"/>
2147
2148 <fileselector>
2149 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002150 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002151 <filter folders="1" files="0" nav="0"/>
2152 <path name="tw_backups_folder"/>
2153 <data name="tw_restore" default=""/>
2154 <selection name="tw_restore_name"/>
2155 </fileselector>
2156
2157 <button style="main_button_half_height">
2158 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 <actions>
2161 <action function="set">tw_back=restore</action>
2162 <action function="overlay">select_storage</action>
2163 </actions>
2164 </button>
2165
2166 <action>
2167 <condition var1="tw_restore" op="modified"/>
2168 <actions>
2169 <action function="readBackup"/>
2170 <action function="page">restore_read</action>
2171 </actions>
2172 </action>
2173
2174 <action>
2175 <touch key="home"/>
2176 <action function="page">main</action>
2177 </action>
2178
2179 <action>
2180 <touch key="back"/>
2181 <action function="page">main</action>
2182 </action>
2183 </page>
2184
2185 <page name="restore_read">
2186 <action>
2187 <condition var1="tw_restore_encrypted" var2="1"/>
2188 <actions>
2189 <action function="set">tw_password_fail=0</action>
2190 <action function="page">restore_decrypt</action>
2191 </actions>
2192 </action>
2193
2194 <action>
2195 <condition var1="tw_restore_encrypted" var2="0"/>
2196 <actions>
2197 <action function="page">restore_select</action>
2198 </actions>
2199 </action>
2200 </page>
2201
2202 <page name="restore_decrypt">
2203 <template name="page"/>
2204
2205 <text style="text_l">
2206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002208 </text>
2209
2210 <text style="text_m">
2211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m_accent">
2216 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <input>
2221 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2222 <text>%tw_restore_display%</text>
2223 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2224 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2225 <action function="page">try_restore_decrypt</action>
2226 </input>
2227
2228 <fill color="%accent_color%">
2229 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2230 </fill>
2231
2232 <fill color="%text_fail_color%">
2233 <condition var1="tw_password_fail" var2="1"/>
2234 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2235 </fill>
2236
2237 <text style="text_m_fail">
2238 <condition var1="tw_password_fail" var2="1"/>
2239 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002240 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002241 </text>
2242
2243 <button style="main_button_half_height">
2244 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 <actions>
2247 <action function="set">tw_page_done=1</action>
2248 <action function="page">restore</action>
2249 </actions>
2250 </button>
2251
2252 <button style="main_button_half_height">
2253 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002254 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002255 <actions>
2256 <action function="set">tw_back=restore</action>
2257 <action function="set">tw_action=cmd</action>
2258 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002259 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2260 <action function="set">tw_text2=%tw_restore_name%</action>
2261 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2262 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2263 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2264 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <action function="page">confirm_action</action>
2266 </actions>
2267 </button>
2268
2269 <template name="keyboardtemplate"/>
2270
2271 <action>
2272 <touch key="home"/>
2273 <action function="page">main</action>
2274 </action>
2275
2276 <action>
2277 <touch key="back"/>
2278 <action function="page">restore</action>
2279 </action>
2280 </page>
2281
2282 <page name="try_restore_decrypt">
2283 <template name="page"/>
2284
2285 <text style="text_l">
2286 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002287 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002288 </text>
2289
2290 <text style="text_m">
2291 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <template name="console"/>
2296
2297 <template name="progress_bar"/>
2298
2299 <action>
2300 <action function="decrypt_backup"/>
2301 </action>
2302
2303 <action>
2304 <conditions>
2305 <condition var1="tw_operation_state" var2="1"/>
2306 <condition var1="tw_operation_status" op="!=" var2="0"/>
2307 </conditions>
2308 <actions>
2309 <action function="set">tw_password_fail=1</action>
2310 <action function="page">restore_decrypt</action>
2311 </actions>
2312 </action>
2313
2314 <action>
2315 <conditions>
2316 <condition var1="tw_operation_state" var2="1"/>
2317 <condition var1="tw_operation_status" op="=" var2="0"/>
2318 </conditions>
2319 <actions>
2320 <action function="set">tw_page_done=1</action>
2321 <action function="page">restore_select</action>
2322 </actions>
2323 </action>
2324 </page>
2325
2326 <page name="restore_select">
2327 <template name="page"/>
2328
2329 <text style="text_l">
2330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002331 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002332 </text>
2333
2334 <text style="text_m">
2335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002336 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002337 </text>
2338
2339 <text style="text_m_accent">
2340 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <text style="text_m">
2345 <placement x="%indent%" y="%row3_y%"/>
2346 <text>%tw_restore_name%</text>
2347 </text>
2348
2349 <fill color="%fileselector_linecolor%">
2350 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2351 </fill>
2352
2353 <button>
2354 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2355 <fill color="%transparent%"/>
2356 <actions>
2357 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2358 <action function="set">tw_fileexists=0</action>
2359 <action function="page">renamebackup</action>
2360 </actions>
2361 </button>
2362
2363 <partitionlist>
2364 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2367 <listtype name="restore"/>
2368 </partitionlist>
2369
2370 <checkbox>
2371 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002372 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002373 <data variable="tw_skip_md5_check"/>
2374 </checkbox>
2375
2376 <button style="main_button_half_height">
2377 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 <actions>
2380 <action function="set">tw_back=restore</action>
2381 <action function="set">tw_action=cmd</action>
2382 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002383 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002384 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002385 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2386 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2387 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2388 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002389 <action function="page">confirm_action</action>
2390 </actions>
2391 </button>
2392
2393 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 <action function="page">restore_run</action>
2396 </slider>
2397
2398 <action>
2399 <touch key="home"/>
2400 <action function="page">main</action>
2401 </action>
2402
2403 <action>
2404 <touch key="back"/>
2405 <action function="page">restore</action>
2406 </action>
2407 </page>
2408
2409 <page name="renamebackup">
2410 <template name="page"/>
2411
2412 <text style="text_l">
2413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <text style="text_m">
2418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m_accent">
2423 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002424 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002425 </text>
2426
2427 <input>
2428 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2429 <text>%tw_backup_rename%</text>
2430 <data name="tw_backup_rename"/>
2431 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2432 <actions>
2433 <action function="set">tw_back=restore</action>
2434 <action function="set">tw_action=cmd</action>
2435 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002436 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2437 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2438 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2439 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2440 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2442 <action function="set">tw_existpage=renamebackup</action>
2443 <action function="set">tw_notexistpage=confirm_action</action>
2444 <action function="page">filecheck</action>
2445 </actions>
2446 </input>
2447
2448 <fill color="%accent_color%">
2449 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2450 </fill>
2451
2452 <fill color="%text_fail_color%">
2453 <condition var1="tw_fileexists" var2="1"/>
2454 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2455 </fill>
2456
2457 <text style="text_m_fail">
2458 <condition var1="tw_fileexists" var2="1"/>
2459 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 </text>
2462
2463 <button style="main_button_half_height">
2464 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002465 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002466 <action function="page">restore_select</action>
2467 </button>
2468
2469 <template name="keyboardtemplate"/>
2470
2471 <action>
2472 <touch key="home"/>
2473 <action function="page">main</action>
2474 </action>
2475
2476 <action>
2477 <touch key="back"/>
2478 <action function="page">restore_select</action>
2479 </action>
2480 </page>
2481
2482 <page name="restore_run">
2483 <template name="page"/>
2484
2485 <text style="text_l">
2486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002487 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002488 </text>
2489
2490 <text style="text_m">
2491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2492 <text>%tw_operation% %tw_partition%</text>
2493 </text>
2494
2495 <template name="console"/>
2496
2497 <template name="progress_bar"/>
2498
2499 <text style="text_m_accent">
2500 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002501 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002502 </text>
2503
2504 <text style="text_m">
2505 <placement x="%indent%" y="%row20_y%"/>
2506 <text>%tw_size_progress%</text>
2507 </text>
2508
2509 <action>
2510 <condition var1="tw_operation_state" var2="1"/>
2511 <actions>
2512 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002513 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002514 <action function="set">tw_show_reboot=1</action>
2515 <action function="page">action_complete</action>
2516 </actions>
2517 </action>
2518
2519 <action>
2520 <action function="nandroid">restore</action>
2521 </action>
2522 </page>
2523
2524 <page name="mount">
2525 <template name="page"/>
2526
2527 <text style="text_l">
2528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002530 </text>
2531
2532 <text style="text_m">
2533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <partitionlist>
2538 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <listtype name="mount"/>
2541 </partitionlist>
2542
2543 <button style="checkbox">
2544 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2545 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002546 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002547 <image resource="checkbox_false"/>
2548 <action function="mountsystemtoggle">1</action>
2549 </button>
2550
2551 <button style="checkbox">
2552 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2553 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <image resource="checkbox_true"/>
2556 <actions>
2557 <action function="set">tw_lifetime_writes=2</action>
2558 <action function="page">system_readonly_check</action>
2559 </actions>
2560 </button>
2561
2562 <button style="main_button_half_height">
2563 <condition var1="tw_has_usb_storage" var2="1"/>
2564 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 <action function="page">usb_mount</action>
2567 </button>
2568
2569 <button style="main_button_half_height">
2570 <conditions>
2571 <condition var1="tw_is_encrypted" var2="1"/>
2572 <condition var1="tw_is_decrypted" var2="0"/>
2573 </conditions>
2574 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002576 <action function="page">decrypt</action>
2577 </button>
2578
2579 <button style="main_button_half_height">
2580 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <actions>
2583 <action function="set">tw_back=mount</action>
2584 <action function="overlay">select_storage</action>
2585 </actions>
2586 </button>
2587
2588 <button style="main_button_half_height">
2589 <conditions>
2590 <condition var1="tw_has_mtp" var2="1"/>
2591 <condition var1="tw_mtp_enabled" var2="0"/>
2592 </conditions>
2593 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <action function="startmtp"/>
2596 </button>
2597
2598 <button style="main_button_half_height">
2599 <conditions>
2600 <condition var1="tw_has_mtp" var2="1"/>
2601 <condition var1="tw_mtp_enabled" var2="1"/>
2602 </conditions>
2603 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002604 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="stopmtp"/>
2606 </button>
2607
2608 <action>
2609 <touch key="home"/>
2610 <action function="page">main</action>
2611 </action>
2612
2613 <action>
2614 <touch key="back"/>
2615 <action function="page">main</action>
2616 </action>
2617 </page>
2618
2619 <page name="usb_mount">
2620 <template name="page"/>
2621
2622 <text style="text_l">
2623 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <text style="text_m">
2628 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002629 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 </text>
2631
2632 <text style="text_m_accent">
2633 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 </text>
2636
2637 <text style="text_m">
2638 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 </text>
2641
2642 <text style="text_m">
2643 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 </text>
2646
2647 <button style="main_button_half_height">
2648 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002650 <action function="page">usb_umount</action>
2651 </button>
2652
2653 <action>
2654 <action function="mount">usb</action>
2655 <action function="set">tw_busy=1</action>
2656 </action>
2657 </page>
2658
2659 <page name="usb_umount">
2660 <action>
2661 <action function="unmount">usb</action>
2662 </action>
2663
2664 <action>
2665 <action function="page">mount</action>
2666 <action function="set">tw_busy=0</action>
2667 </action>
2668 </page>
2669
2670 <page name="system_readonly_check">
2671 <action>
2672 <action function="checkpartitionlifetimewrites">/system</action>
2673 </action>
2674
2675 <action>
2676 <condition var1="tw_lifetime_writes" var2="1"/>
2677 <actions>
2678 <action function="mountsystemtoggle">0</action>
2679 <action function="page">mount</action>
2680 </actions>
2681 </action>
2682
2683 <action>
2684 <condition var1="tw_lifetime_writes" var2="0"/>
2685 <actions>
2686 <action function="set">tw_back=mount</action>
2687 <action function="page">system_readonly</action>
2688 </actions>
2689 </action>
2690 </page>
2691
2692 <page name="reboot">
2693 <template name="page"/>
2694
2695 <text style="text_l">
2696 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002697 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002698 </text>
2699
2700 <button style="main_button">
2701 <condition var1="tw_reboot_system" var2="1"/>
2702 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002704 <actions>
2705 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002706 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </actions>
2708 </button>
2709
2710 <button style="main_button">
2711 <condition var1="tw_reboot_poweroff" var2="1"/>
2712 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 <actions>
2715 <action function="set">tw_back=reboot</action>
2716 <action function="set">tw_action=reboot</action>
2717 <action function="set">tw_action_param=poweroff</action>
2718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2720 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2721 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2722 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2723 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002724 <action function="page">rebootcheck</action>
2725 </actions>
2726 </button>
2727
2728 <button style="main_button">
2729 <condition var1="tw_reboot_recovery" var2="1"/>
2730 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002731 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002732 <actions>
2733 <action function="set">tw_back=reboot</action>
2734 <action function="set">tw_action=reboot</action>
2735 <action function="set">tw_action_param=recovery</action>
2736 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2738 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2739 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2740 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2741 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <action function="page">rebootcheck</action>
2743 </actions>
2744 </button>
2745
2746 <button style="main_button">
2747 <condition var1="tw_reboot_bootloader" var2="1"/>
2748 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 <actions>
2751 <action function="set">tw_back=reboot</action>
2752 <action function="set">tw_action=reboot</action>
2753 <action function="set">tw_action_param=bootloader</action>
2754 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2756 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2757 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2758 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2759 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002760 <action function="page">rebootcheck</action>
2761 </actions>
2762 </button>
2763
2764 <button style="main_button">
2765 <condition var1="tw_download_mode" var2="1"/>
2766 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <actions>
2769 <action function="set">tw_back=reboot</action>
2770 <action function="set">tw_action=reboot</action>
2771 <action function="set">tw_action_param=download</action>
2772 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002773 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2774 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2775 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2776 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2777 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002778 <action function="page">rebootcheck</action>
2779 </actions>
2780 </button>
2781
2782 <action>
2783 <touch key="home"/>
2784 <action function="page">main</action>
2785 </action>
2786
2787 <action>
2788 <touch key="back"/>
2789 <action function="page">main</action>
2790 </action>
2791 </page>
2792
2793 <page name="system_readonly">
2794 <template name="page"/>
2795
2796 <text style="text_l">
2797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 </text>
2800
2801 <text style="text_m_accent">
2802 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m">
2807 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <text style="text_m">
2812 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 </text>
2815
2816 <text style="text_m">
2817 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 </text>
2820
2821 <text style="text_m">
2822 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002824 </text>
2825
2826 <text style="text_m_fail">
2827 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 </text>
2830
2831 <text style="text_m_fail">
2832 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002834 </text>
2835
2836 <checkbox>
2837 <condition var1="tw_is_encrypted" var2="0"/>
2838 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002839 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002840 <data variable="tw_never_show_system_ro_page"/>
2841 </checkbox>
2842
2843 <button style="main_button_half_height">
2844 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <actions>
2847 <action function="mountsystemtoggle">1</action>
2848 <action function="set">tw_page_done=1</action>
2849 <action function="page">%tw_back%</action>
2850 </actions>
2851 </button>
2852
z31s1g608d7ff2016-01-18 19:47:25 +01002853 <button style="main_button_half_height">
2854 <placement x="%center_x%" y="%row18a_y%"/>
2855 <text>{@sel_lang_btn=Select Language}</text>
2856 <action function="overlay">select_language</action>
2857 </button>
2858
z31s1g28f0a922015-11-07 18:50:22 +01002859 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 <actions>
2862 <action function="mountsystemtoggle">0</action>
2863 <action function="set">tw_page_done=1</action>
2864 <action function="page">%tw_back%</action>
2865 </actions>
2866 </slider>
2867 </page>
2868
2869 <page name="settings">
2870 <template name="page"/>
2871
2872 <text style="text_l">
2873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <text style="text_m">
2878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <template name="tabs_settings"/>
2883
2884 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002886 </fill>
2887
2888 <listbox style="scrolllist">
2889 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2890 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002891 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002892 <data variable="tw_signed_zip_verify"/>
2893 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002894 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2895 <data variable="tw_install_reboot"/>
2896 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002898 <data variable="tw_rm_rf"/>
2899 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002900 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2901 <data variable="tw_disable_free_space"/>
2902 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002904 <data variable="tw_skip_md5_generate"/>
2905 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002906 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002907 <data variable="tw_skip_md5_check"/>
2908 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002910 <data variable="tw_military_time"/>
2911 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002912 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002913 <data variable="tw_samsung_navbar"/>
2914 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002916 <data variable="tw_simulate_actions"/>
2917 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002918 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002919 <condition var1="tw_simulate_actions" var2="1"/>
2920 <data variable="tw_simulate_fail"/>
2921 </listitem>
2922 </listbox>
2923
2924 <button style="main_button_half_height">
2925 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002927 <actions>
2928 <action function="set">tw_samsung_navbar=0</action>
2929 <action function="set">tw_tab_icons=0</action>
2930 <action function="restoredefaultsettings"/>
2931 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </button>
2933
2934 <action>
2935 <touch key="home"/>
2936 <action function="page">main</action>
2937 </action>
2938
2939 <action>
2940 <touch key="back"/>
2941 <action function="page">main</action>
2942 </action>
2943 </page>
2944
2945 <page name="settings_timezone">
2946 <template name="page"/>
2947
2948 <text style="text_l">
2949 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 </text>
2952
2953 <text style="text_m">
2954 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002955 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002956 </text>
2957
2958 <template name="tabs_settings"/>
2959
2960 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002961 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002962 </fill>
2963
2964 <listbox>
2965 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2969 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2970 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2971 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2972 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2973 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2974 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2975 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2976 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2977 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2978 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2979 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2980 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2981 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2982 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2983 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2984 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2985 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2986 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2987 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2988 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2989 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2990 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2991 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </listbox>
2993
2994 <text style="text_m_accent">
2995 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <button style="button_quarter_width">
3000 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <action function="set">tw_time_zone_guioffset=0</action>
3003 </button>
3004
3005 <button style="button_quarter_width">
3006 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <action function="set">tw_time_zone_guioffset=15</action>
3009 </button>
3010
3011 <button style="button_quarter_width">
3012 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <action function="set">tw_time_zone_guioffset=30</action>
3015 </button>
3016
3017 <button style="button_quarter_width">
3018 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <action function="set">tw_time_zone_guioffset=45</action>
3021 </button>
3022
3023 <checkbox>
3024 <placement x="%indent%" y="%row18a_y%"/>
3025 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 <data variable="tw_time_zone_guidst"/>
3028 <image checked="checkbox_true" unchecked="checkbox_false"/>
3029 </checkbox>
3030
3031 <text color="%text_color%">
3032 <font resource="font_m"/>
3033 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 </text>
3036
3037 <button>
3038 <highlight color="%highlight_color%"/>
3039 <placement x="%center_x%" y="%row21a_y%"/>
3040 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003041 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003042 <image resource="main_button_half_height"/>
3043 <action function="setguitimezone"/>
3044 </button>
3045
3046 <action>
3047 <touch key="home"/>
3048 <action function="page">main</action>
3049 </action>
3050
3051 <action>
3052 <touch key="back"/>
3053 <action function="page">main</action>
3054 </action>
3055 </page>
3056
3057 <page name="settings_screen">
3058 <template name="page"/>
3059
3060 <text style="text_l">
3061 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </text>
3064
3065 <text style="text_m">
3066 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <template name="tabs_settings"/>
3071
3072 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </fill>
3075
3076 <button>
3077 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3078 <font resource="font_m" color="%text_color%"/>
3079 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3080 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003082 <image resource="checkbox_false"/>
3083 <action function="set">tw_screen_timeout_secs=60</action>
3084 </button>
3085
3086 <button>
3087 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3088 <font resource="font_m" color="%text_color%"/>
3089 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3090 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <image resource="checkbox_true"/>
3093 <action function="set">tw_screen_timeout_secs=0</action>
3094 </button>
3095
3096 <slidervalue>
3097 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3098 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3099 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003100 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003101 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3102 </slidervalue>
3103
3104 <slidervalue>
3105 <condition var1="tw_has_brightnesss_file" var2="1"/>
3106 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <data variable="tw_brightness_pct" min="10" max="100"/>
3109 <actions>
3110 <action function="set">tw_brightness=%tw_brightness_max%</action>
3111 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3112 <action function="compute">tw_brightness/100</action>
3113 <action function="setbrightness">%tw_brightness%</action>
3114 </actions>
3115 </slidervalue>
3116
3117 <action>
3118 <touch key="home"/>
3119 <action function="page">main</action>
3120 </action>
3121
3122 <action>
3123 <touch key="back"/>
3124 <action function="page">main</action>
3125 </action>
3126 </page>
3127
3128 <page name="settings_vibration">
3129 <template name="page"/>
3130
3131 <text style="text_l">
3132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <template name="tabs_settings"/>
3142
3143 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </fill>
3146
3147 <slidervalue>
3148 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <data variable="tw_button_vibrate" min="0" max="300"/>
3151 </slidervalue>
3152
3153 <slidervalue>
3154 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3157 </slidervalue>
3158
3159 <slidervalue>
3160 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003161 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003162 <data variable="tw_action_vibrate" min="0" max="500"/>
3163 </slidervalue>
3164
3165 <action>
3166 <touch key="home"/>
3167 <action function="page">main</action>
3168 </action>
3169
3170 <action>
3171 <touch key="back"/>
3172 <action function="page">main</action>
3173 </action>
3174 </page>
3175
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <page name="settings_language">
3177 <template name="page"/>
3178
3179 <text style="text_l">
3180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3181 <text>{@settings_hdr=Settings}</text>
3182 </text>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3186 <text>{@language_hdr=Language - %tw_language_display%}</text>
3187 </text>
3188
3189 <template name="tabs_settings"/>
3190
3191 <fill color="%text_color%">
3192 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3193 </fill>
3194
3195 <listbox>
3196 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3197 <text>{@select_language=Select Language:}</text>
3198 <icon selected="radio_true" unselected="radio_false" />
3199 <data name="tw_language" />
3200 </listbox>
3201
3202 <button style="main_button_half_height">
3203 <placement x="%center_x%" y="%row21a_y%"/>
3204 <text>{@set_language_btn=Set Language}</text>
3205 <action function="setlanguage"></action>
3206 </button>
3207
3208 <action>
3209 <touch key="home" />
3210 <action function="page">main</action>
3211 </action>
3212
3213 <action>
3214 <touch key="back" />
3215 <action function="page">settings</action>
3216 </action>
3217 </page>
3218
z31s1g28f0a922015-11-07 18:50:22 +01003219 <page name="advanced">
3220 <template name="page"/>
3221
3222 <text style="text_l">
3223 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <button style="main_button">
3228 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <actions>
3231 <action function="set">tw_back=advanced</action>
3232 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3234 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3235 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3236 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003237 <action function="page">confirm_action</action>
3238 </actions>
3239 </button>
3240
3241 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003242 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003243 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003244 <text>{@fix_context_btn=Fix Contexts}</text>
3245 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003246 </button>
3247
3248 <button style="main_button">
3249 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3250 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003252 <actions>
3253 <action function="set">partitionlisterror=0</action>
3254 <action function="page">partsdcardsel</action>
3255 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </button>
3257
3258 <button style="main_button">
3259 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003261 <action function="page">filemanagerlist</action>
3262 </button>
3263
3264 <button style="main_button">
3265 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003267 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </button>
3269
3270 <button style="main_button">
3271 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <action function="reload"/>
3274 </button>
3275
3276 <button style="main_button">
3277 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003278 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003279 <action function="page">sideload</action>
3280 </button>
3281
3282 <button style="main_button">
3283 <condition var1="tw_show_dumlock" var2="1"/>
3284 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 <action function="page">htcdumlock</action>
3287 </button>
3288
3289 <button style="main_button">
3290 <condition var1="tw_has_injecttwrp" var2="1"/>
3291 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <actions>
3294 <action function="set">tw_back=advanced</action>
3295 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003296 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3297 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3298 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3299 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003300 <action function="page">confirm_action</action>
3301 </actions>
3302 </button>
3303
3304 <action>
3305 <touch key="home"/>
3306 <action function="page">main</action>
3307 </action>
3308
3309 <action>
3310 <touch key="back"/>
3311 <action function="page">main</action>
3312 </action>
3313 </page>
3314
Ethan Yonker483e9f42016-01-11 22:21:18 -06003315 <page name="partsdcardsel">
3316 <template name="page"/>
3317
3318 <text style="text_l">
3319 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3320 <text>{@advanced_hdr=Advanced}</text>
3321 </text>
3322
3323 <text style="text_m">
3324 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3325 <text>{@part_sd_hdr=Partition SD Card}</text>
3326 </text>
3327
z31s1g782e1c92016-01-30 16:50:09 +01003328 <partitionlist>
3329 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003330 <text>{@sel_storage_list=Select Storage}</text>
3331 <data name="tw_storage_path"/>
3332 <listtype name="storage"/>
3333 </partitionlist>
3334
3335 <text style="text_m_fail">
3336 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003337 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003338 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3339 </text>
3340
z31s1g782e1c92016-01-30 16:50:09 +01003341 <button style="main_button_half_height">
3342 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003343 <text>{@ok_btn=OK}</text>
3344 <actions>
3345 <action function="getpartitiondetails">tw_storage_path</action>
3346 <action function="page">partsdcardcheck</action>
3347 </actions>
3348 </button>
3349
3350 <action>
3351 <touch key="home"/>
3352 <action function="page">main</action>
3353 </action>
3354
3355 <action>
3356 <touch key="back"/>
3357 <action function="page">advanced</action>
3358 </action>
3359 </page>
3360
3361 <page name="partsdcardcheck">
3362 <action>
3363 <condition var1="tw_partition_removable" op="=" var2="1"/>
3364 <actions>
3365 <action function="set">partitionlisterror=0</action>
3366 <action function="page">partsdcard</action>
3367 </actions>
3368 </action>
3369
3370 <action>
3371 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3372 <actions>
3373 <action function="set">partitionlisterror=1</action>
3374 <action function="page">partsdcardsel</action>
3375 </actions>
3376 </action>
3377 </page>
3378
z31s1g28f0a922015-11-07 18:50:22 +01003379 <page name="partsdcard">
3380 <template name="page"/>
3381
3382 <text style="text_l">
3383 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 </text>
3386
3387 <text style="text_m">
3388 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003390 </text>
3391
3392 <text style="text_m_fail">
3393 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003395 </text>
3396
3397 <text style="text_m_fail">
3398 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 </text>
3401
3402 <text style="text_m_accent">
3403 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003405 </text>
3406
3407 <text style="text_m">
3408 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3409 <text>%tw_sdext_size%</text>
3410 </text>
3411
3412 <button style="button_quarter_width">
3413 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003414 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003415 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003416 </button>
3417
3418 <button style="button_quarter_width">
3419 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003421 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </button>
3423
3424 <text style="text_m_accent">
3425 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003426 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003427 </text>
3428
3429 <text style="text_m">
3430 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3431 <text>%tw_swap_size%</text>
3432 </text>
3433
3434 <button style="button_quarter_width">
3435 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003437 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </button>
3439
3440 <button style="button_quarter_width">
3441 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003443 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </button>
3445
3446 <text style="text_m_accent">
3447 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 </text>
3450
3451 <text style="text_m">
3452 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3453 <text>%tw_sdpart_file_system%</text>
3454 </text>
3455
3456 <button style="button_quarter_width">
3457 <placement x="%indent%" y="%row14_y%"/>
3458 <text>EXT3</text>
3459 <action function="set">tw_sdpart_file_system=ext3</action>
3460 </button>
3461
3462 <button style="button_quarter_width">
3463 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3464 <text>EXT4</text>
3465 <action function="set">tw_sdpart_file_system=ext4</action>
3466 </button>
3467
3468 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <action function="page">partsdcardaction</action>
3471 <actions>
3472 <action function="set">tw_back=partsdcard</action>
3473 <action function="set">tw_action=partitionsd</action>
3474 <action function="set">tw_has_action2=1</action>
3475 <action function="set">tw_action2=set</action>
3476 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003477 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3478 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3479 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <action function="page">action_page</action>
3481 </actions>
3482 </slider>
3483
3484 <action>
3485 <touch key="home"/>
3486 <action function="page">main</action>
3487 </action>
3488
3489 <action>
3490 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003491 <actions>
3492 <action function="set">partitionlisterror=0</action>
3493 <action function="page">partsdcardsel</action>
3494 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003495 </action>
3496 </page>
3497
3498 <page name="htcdumlock">
3499 <template name="page"/>
3500
3501 <text style="text_l">
3502 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 </text>
3505
3506 <text style="text_m">
3507 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003509 </text>
3510
3511 <button style="main_button_half_height_full_width">
3512 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <actions>
3515 <action function="set">tw_back=htcdumlock</action>
3516 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3518 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3519 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3520 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003521 <action function="page">confirm_action</action>
3522 </actions>
3523 </button>
3524
3525 <button style="main_button_half_height_full_width">
3526 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003528 <actions>
3529 <action function="set">tw_back=htcdumlock</action>
3530 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3532 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3533 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3534 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <action function="page">confirm_action</action>
3536 </actions>
3537 </button>
3538
3539 <button style="main_button_half_height_full_width">
3540 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003542 <actions>
3543 <action function="set">tw_back=htcdumlock</action>
3544 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3546 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3547 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3548 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <action function="page">confirm_action</action>
3550 </actions>
3551 </button>
3552
3553 <action>
3554 <touch key="home"/>
3555 <action function="page">main</action>
3556 </action>
3557
3558 <action>
3559 <touch key="back"/>
3560 <action function="page">advanced</action>
3561 </action>
3562 </page>
3563
3564 <page name="lock">
3565 <background color="%semi_transparent%"/>
3566
3567 <image>
3568 <image resource="unlock_icon"/>
3569 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3570 </image>
3571
3572 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003574 <action function="overlay"/>
3575 </slider>
3576 </page>
3577
3578 <page name="filemanagerlist">
3579 <template name="page"/>
3580
3581 <text style="text_l">
3582 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 </text>
3585
3586 <text style="text_m">
3587 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </text>
3590
3591 <template name="sort_options"/>
3592
3593 <fileselector>
3594 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3595 <text>%tw_file_location1%</text>
3596 <filter folders="1" files="1"/>
3597 <path name="tw_file_location1" default="/"/>
3598 <data name="tw_filename1"/>
3599 <selection name="tw_selection1"/>
3600 </fileselector>
3601
3602 <button style="fab">
3603 <image resource="fab_selectfolder"/>
3604 <actions>
3605 <action function="set">tw_filename1=tw_file_location1</action>
3606 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003608 <action function="page">filemanageroptions</action>
3609 </actions>
3610 </button>
3611
3612 <action>
3613 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <action function="set">tw_fm_isfolder=0</action>
3616 </actions>
3617 </action>
3618
3619 <action>
3620 <touch key="home"/>
3621 <action function="page">main</action>
3622 </action>
3623
3624 <action>
3625 <touch key="back"/>
3626 <action function="page">advanced</action>
3627 </action>
3628
3629 <action>
3630 <condition var1="tw_filename1" op="modified"/>
3631 <action function="page">filemanageroptions</action>
3632 </action>
3633 </page>
3634
3635 <page name="filemanageroptions">
3636 <template name="page"/>
3637
3638 <text style="text_l">
3639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <text style="text_m">
3644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </text>
3647
3648 <text style="text_m_accent">
3649 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 </text>
3652
3653 <text style="text_m">
3654 <placement x="%indent%" y="%row3_y%"/>
3655 <text>%tw_filename1%</text>
3656 </text>
3657
3658 <button style="main_button_half_height">
3659 <condition var1="tw_fm_isfolder" var2="0"/>
3660 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 <actions>
3663 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="page">choosedestinationfolder</action>
3666 </actions>
3667 </button>
3668
3669 <button style="main_button_half_height">
3670 <condition var1="tw_fm_isfolder" var2="1"/>
3671 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <actions>
3674 <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 -05003675 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003676 <action function="page">choosedestinationfolder</action>
3677 </actions>
3678 </button>
3679
3680 <button style="main_button_half_height">
3681 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003683 <actions>
3684 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003686 <action function="page">choosedestinationfolder</action>
3687 </actions>
3688 </button>
3689
3690 <button style="main_button_half_height">
3691 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 <actions>
3694 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003696 <action function="set">tw_fm_text2=</action>
3697 <action function="set">tw_fm_text3=</action>
3698 <action function="set">tw_include_text3=0</action>
3699 <action function="set">tw_back=filemanageroptions</action>
3700 <action function="page">filemanagerconfirm</action>
3701 </actions>
3702 </button>
3703
3704 <button style="main_button_half_height">
3705 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 <actions>
3708 <action function="set">tw_filemanager_rename=0000</action>
3709 <action function="set">tw_fm_text2=</action>
3710 <action function="set">tw_fm_text3=</action>
3711 <action function="set">tw_include_text3=0</action>
3712 <action function="set">tw_back=filemanageroptions</action>
3713 <action function="page">filemanagerchmod</action>
3714 </actions>
3715 </button>
3716
3717 <button style="main_button_half_height">
3718 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 <actions>
3721 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003723 <action function="set">tw_fm_text2=</action>
3724 <action function="set">tw_fm_text3=</action>
3725 <action function="set">tw_include_text3=0</action>
3726 <action function="set">tw_back=filemanageroptions</action>
3727 <action function="page">filemanagerconfirm</action>
3728 </actions>
3729 </button>
3730
3731 <button style="main_button_half_height">
3732 <condition var1="tw_fm_isfolder" var2="0"/>
3733 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003734 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003735 <actions>
3736 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <action function="set">tw_filemanager_command=mv</action>
3739 <action function="page">filemanagerrenamefile</action>
3740 </actions>
3741 </button>
3742
3743 <button style="main_button_half_height">
3744 <condition var1="tw_fm_isfolder" var2="1"/>
3745 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 <actions>
3748 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003750 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3751 <action function="page">filemanagerrenamefolder</action>
3752 </actions>
3753 </button>
3754
3755 <action>
3756 <touch key="home"/>
3757 <action function="page">main</action>
3758 </action>
3759
3760 <action>
3761 <touch key="back"/>
3762 <action function="page">filemanagerlist</action>
3763 </action>
3764 </page>
3765
3766 <page name="choosedestinationfolder">
3767 <template name="page"/>
3768
3769 <text style="text_l">
3770 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 </text>
3773
3774 <text style="text_m">
3775 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 </text>
3778
3779 <template name="sort_options"/>
3780
3781 <fileselector>
3782 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3783 <text>%tw_file_location2%</text>
3784 <filter folders="1" files="0"/>
3785 <path name="tw_file_location2" default="/"/>
3786 <data name="tw_filename2"/>
3787 <selection name="tw_selection2"/>
3788 </fileselector>
3789
3790 <button style="fab">
3791 <image resource="fab_selectfolder"/>
3792 <actions>
3793 <action function="set">tw_fm_text2=to</action>
3794 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3795 <action function="set">tw_include_text3=1</action>
3796 <action function="set">tw_back=filemanageroptions</action>
3797 <action function="page">filemanagerconfirm</action>
3798 </actions>
3799 </button>
3800
3801 <action>
3802 <touch key="home"/>
3803 <action function="page">main</action>
3804 </action>
3805
3806 <action>
3807 <touch key="back"/>
3808 <action function="page">filemanageroptions</action>
3809 </action>
3810 </page>
3811
3812 <page name="filemanagerrenamefile">
3813 <template name="page"/>
3814
3815 <text style="text_l">
3816 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003818 </text>
3819
3820 <text style="text_m">
3821 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003823 </text>
3824
3825 <text style="text_m_accent">
3826 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <input>
3831 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3832 <text>%tw_filemanager_rename%</text>
3833 <data name="tw_filemanager_rename"/>
3834 <restrict minlen="1" maxlen="128"/>
3835 <actions>
3836 <action function="set">tw_fm_text2=to</action>
3837 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3838 <action function="set">tw_include_text3=1</action>
3839 <action function="set">tw_back=filemanageroptions</action>
3840 <action function="page">filemanagerconfirm</action>
3841 </actions>
3842 </input>
3843
3844 <fill color="%accent_color%">
3845 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3846 </fill>
3847
3848 <button style="main_button_half_height">
3849 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003850 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003851 <action function="page">filemanageroptions</action>
3852 </button>
3853
3854 <template name="keyboardtemplate"/>
3855
3856 <action>
3857 <touch key="home"/>
3858 <action function="page">main</action>
3859 </action>
3860
3861 <action>
3862 <touch key="back"/>
3863 <action function="page">filemanageroptions</action>
3864 </action>
3865 </page>
3866
3867 <page name="filemanagerrenamefolder">
3868 <template name="page"/>
3869
3870 <text style="text_l">
3871 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003873 </text>
3874
3875 <text style="text_m">
3876 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 </text>
3879
3880 <text style="text_m_accent">
3881 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 </text>
3884
3885 <input>
3886 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3887 <text>%tw_filemanager_rename%</text>
3888 <data name="tw_filemanager_rename"/>
3889 <restrict minlen="1" maxlen="128"/>
3890 <actions>
3891 <action function="set">tw_fm_text2=to</action>
3892 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3893 <action function="set">tw_include_text3=1</action>
3894 <action function="set">tw_back=filemanageroptions</action>
3895 <action function="page">filemanagerconfirm</action>
3896 </actions>
3897 </input>
3898
3899 <fill color="%accent_color%">
3900 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3901 </fill>
3902
3903 <button style="main_button_half_height">
3904 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="page">filemanageroptions</action>
3907 </button>
3908
3909 <template name="keyboardtemplate"/>
3910
3911 <action>
3912 <touch key="home"/>
3913 <action function="page">main</action>
3914 </action>
3915
3916 <action>
3917 <touch key="back"/>
3918 <action function="page">filemanageroptions</action>
3919 </action>
3920 </page>
3921
3922 <page name="filemanagerchmod">
3923 <template name="page"/>
3924
3925 <text style="text_l">
3926 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 </text>
3934
3935 <text style="text_m_accent">
3936 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <input>
3941 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3942 <text>%tw_filemanager_rename%</text>
3943 <data name="tw_filemanager_rename"/>
3944 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3945 <actions>
3946 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3947 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3948 <action function="set">tw_back=filemanageroptions</action>
3949 <action function="page">filemanagerconfirm</action>
3950 </actions>
3951 </input>
3952
3953 <fill color="%accent_color%">
3954 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3955 </fill>
3956
3957 <button style="main_button_half_height">
3958 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <action function="page">filemanageroptions</action>
3961 </button>
3962
3963 <template name="keyboardtemplate"/>
3964
3965 <action>
3966 <touch key="home"/>
3967 <action function="page">main</action>
3968 </action>
3969
3970 <action>
3971 <touch key="back"/>
3972 <action function="page">filemanageroptions</action>
3973 </action>
3974 </page>
3975
3976 <page name="filemanagerconfirm">
3977 <template name="page"/>
3978
3979 <text style="text_l">
3980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m">
3985 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m_accent">
3990 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3991 <text>%tw_fm_text1%</text>
3992 </text>
3993
3994 <text style="text_m">
3995 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3996 <text>%tw_filename1%</text>
3997 </text>
3998
3999 <text style="text_m_accent">
4000 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4001 <text>%tw_fm_text2%</text>
4002 </text>
4003
4004 <text style="text_m">
4005 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4006 <text>%tw_fm_text3%</text>
4007 </text>
4008
4009 <text style="text_m">
4010 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 </text>
4013
4014 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004015 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004016 <action function="page">filemanageraction</action>
4017 </slider>
4018
4019 <action>
4020 <touch key="back"/>
4021 <action function="page">%tw_back%</action>
4022 </action>
4023
4024 <action>
4025 <touch key="home"/>
4026 <action function="page">main</action>
4027 </action>
4028 </page>
4029
4030 <page name="filemanageraction">
4031 <template name="page"/>
4032
4033 <text style="text_l">
4034 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004036 </text>
4037
4038 <text style="text_m">
4039 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4040 <text>%tw_fm_text1%</text>
4041 </text>
4042
4043 <template name="console"/>
4044
4045 <template name="progress_bar"/>
4046
4047 <action>
4048 <conditions>
4049 <condition var1="tw_operation_state" var2="1"/>
4050 <condition var1="tw_operation_status" var2="0"/>
4051 </conditions>
4052 <actions>
4053 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004054 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004055 <action function="page">action_complete</action>
4056 </actions>
4057 </action>
4058
4059 <action>
4060 <conditions>
4061 <condition var1="tw_operation_state" var2="1"/>
4062 <condition var1="tw_operation_status" op="!=" var2="0"/>
4063 </conditions>
4064 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004066 <action function="page">action_complete</action>
4067 </actions>
4068 </action>
4069
4070 <action>
4071 <condition var1="tw_include_text3" var2="0"/>
4072 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4073 </action>
4074
4075 <action>
4076 <condition var1="tw_include_text3" var2="1"/>
4077 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4078 </action>
4079 </page>
4080
4081 <page name="decrypt">
4082 <template name="page"/>
4083
4084 <action>
4085 <condition var1="tw_crypto_pwtype" var2="2"/>
4086 <action function="page">decrypt_pattern</action>
4087 </action>
4088
4089 <text style="text_l">
4090 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <text style="text_m">
4095 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <text style="text_m_accent">
4100 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <input>
4105 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4106 <text>%tw_crypto_display%</text>
4107 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4108 <restrict minlen="1" maxlen="254"/>
4109 <action function="page">trydecrypt</action>
4110 </input>
4111
4112 <fill color="%accent_color%">
4113 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4114 </fill>
4115
4116 <fill color="%text_fail_color%">
4117 <condition var1="tw_password_fail" var2="1"/>
4118 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4119 </fill>
4120
4121 <text style="text_m_fail">
4122 <condition var1="tw_password_fail" var2="1"/>
4123 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004124 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004125 </text>
4126
4127 <button style="main_button_half_height">
4128 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004129 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004130 <actions>
4131 <action function="set">tw_page_done=1</action>
4132 <action function="page">main</action>
4133 </actions>
4134 </button>
4135
z31s1g608d7ff2016-01-18 19:47:25 +01004136 <button style="main_button_half_height">
4137 <placement x="%center_x%" y="%row10_y%"/>
4138 <text>{@sel_lang_btn=Select Language}</text>
4139 <action function="overlay">select_language</action>
4140 </button>
4141
z31s1g28f0a922015-11-07 18:50:22 +01004142 <template name="keyboardtemplate"/>
4143 </page>
4144
4145 <page name="decrypt_pattern">
4146 <template name="page"/>
4147
4148 <text style="text_l">
4149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m">
4154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <text style="text_m_accent">
4159 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 </text>
4162
Aleksa Saraib25a1832015-12-31 17:36:00 +01004163 <text style="text_m_fail">
4164 <condition var1="tw_password_fail" var2="1"/>
4165 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004166 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004167 </text>
4168
z31s1g28f0a922015-11-07 18:50:22 +01004169 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004170 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004171 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4172 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4173 <data name="tw_crypto_password"/>
4174 <action function="page">trydecrypt</action>
4175 </patternpassword>
4176
Aleksa Saraib25a1832015-12-31 17:36:00 +01004177 <button style="button_quarter_width">
4178 <placement x="%indent%" y="%row19a_y%"/>
4179 <text>3x3</text>
4180 <action function="set">tw_gui_pattern_grid_size=3</action>
4181 </button>
4182
4183 <button style="button_quarter_width">
4184 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4185 <text>4x4</text>
4186 <action function="set">tw_gui_pattern_grid_size=4</action>
4187 </button>
4188
4189 <button style="button_quarter_width">
4190 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4191 <text>5x5</text>
4192 <action function="set">tw_gui_pattern_grid_size=5</action>
4193 </button>
4194
4195 <button style="button_quarter_width">
4196 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4197 <text>6x6</text>
4198 <action function="set">tw_gui_pattern_grid_size=6</action>
4199 </button>
4200
z31s1g28f0a922015-11-07 18:50:22 +01004201 <button style="main_button_half_height">
4202 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 <actions>
4205 <action function="set">tw_page_done=1</action>
4206 <action function="page">main</action>
4207 </actions>
4208 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004209
4210 <button style="main_button_half_height">
4211 <placement x="%center_x%" y="%row21a_y%"/>
4212 <text>{@sel_lang_btn=Select Language}</text>
4213 <action function="overlay">select_language</action>
4214 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004215 </page>
4216
4217 <page name="trydecrypt">
4218 <template name="page"/>
4219
4220 <text style="text_l">
4221 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004222 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </text>
4224
4225 <text style="text_m">
4226 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </text>
4229
4230 <template name="console"/>
4231
4232 <template name="progress_bar"/>
4233
4234 <action>
4235 <action function="decrypt"/>
4236 </action>
4237
4238 <action>
4239 <conditions>
4240 <condition var1="tw_operation_state" var2="1"/>
4241 <condition var1="tw_operation_status" op="!=" var2="0"/>
4242 </conditions>
4243 <actions>
4244 <action function="set">tw_password_fail=1</action>
4245 <action function="page">decrypt</action>
4246 </actions>
4247 </action>
4248
4249 <action>
4250 <conditions>
4251 <condition var1="tw_operation_state" var2="1"/>
4252 <condition var1="tw_operation_status" op="=" var2="0"/>
4253 </conditions>
4254 <actions>
4255 <action function="set">tw_page_done=1</action>
4256 <action function="page">main</action>
4257 </actions>
4258 </action>
4259 </page>
4260
z31s1g28f0a922015-11-07 18:50:22 +01004261 <page name="terminalcommand">
4262 <template name="page"/>
4263
z31s1g56189522016-01-13 19:12:40 +01004264 <fill color="%background_color%">
4265 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004266 </fill>
4267
z31s1g56189522016-01-13 19:12:40 +01004268 <terminal>
4269 <condition var1="tw_hide_kb" var2="0"/>
4270 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4271 </terminal>
4272
4273 <terminal>
4274 <condition var1="tw_hide_kb" var2="1"/>
4275 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4276 </terminal>
4277
4278 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004279
4280 <template name="keyboardtemplate"/>
4281
z31s1g608d7ff2016-01-18 19:47:25 +01004282 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004283 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004284 </fill>
z31s1g56189522016-01-13 19:12:40 +01004285
z31s1g608d7ff2016-01-18 19:47:25 +01004286 <button>
z31s1g56189522016-01-13 19:12:40 +01004287 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4288 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4289 <image resource="back" />
4290 <condition var1="tw_busy" var2="0" />
4291 <actions>
4292 <action function="set">tw_hide_kb=0</action>
4293 <action function="key">back</action>
4294 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004295 </button>
z31s1g56189522016-01-13 19:12:40 +01004296
z31s1g608d7ff2016-01-18 19:47:25 +01004297 <button>
z31s1g56189522016-01-13 19:12:40 +01004298 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4299 <condition var1="tw_hide_kb" op="=" var2="0" />
4300 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4301 <image resource="kb_hide" />
4302 <condition var1="tw_busy" var2="0" />
4303 <actions>
4304 <action function="set">tw_hide_kb=1</action>
4305 <action function="page">terminalcommand</action>
4306 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004307 </button>
z31s1g56189522016-01-13 19:12:40 +01004308
z31s1g608d7ff2016-01-18 19:47:25 +01004309 <button>
z31s1g56189522016-01-13 19:12:40 +01004310 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4311 <condition var1="tw_hide_kb" op="=" var2="1" />
4312 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4313 <image resource="kb_show" />
4314 <condition var1="tw_busy" var2="0" />
4315 <actions>
4316 <action function="set">tw_hide_kb=0</action>
4317 <action function="page">terminalcommand</action>
4318 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004319 </button>
z31s1g56189522016-01-13 19:12:40 +01004320
z31s1g608d7ff2016-01-18 19:47:25 +01004321 <button>
z31s1g56189522016-01-13 19:12:40 +01004322 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4323 <image resource="home" />
4324 <condition var1="tw_busy" var2="0" />
4325 <actions>
4326 <action function="set">tw_hide_kb=0</action>
4327 <action function="key">home</action>
4328 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004329 </button>
z31s1g56189522016-01-13 19:12:40 +01004330
z31s1g608d7ff2016-01-18 19:47:25 +01004331 <button>
z31s1g56189522016-01-13 19:12:40 +01004332 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4333 <condition var1="tw_hide_kb" op="=" var2="0" />
4334 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4335 <image resource="kb_hide" />
4336 <condition var1="tw_busy" var2="0" />
4337 <actions>
4338 <action function="set">tw_hide_kb=1</action>
4339 <action function="page">terminalcommand</action>
4340 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004341 </button>
z31s1g56189522016-01-13 19:12:40 +01004342
z31s1g608d7ff2016-01-18 19:47:25 +01004343 <button>
z31s1g56189522016-01-13 19:12:40 +01004344 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4345 <condition var1="tw_hide_kb" op="=" var2="1" />
4346 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4347 <image resource="kb_show" />
4348 <condition var1="tw_busy" var2="0" />
4349 <actions>
4350 <action function="set">tw_hide_kb=0</action>
4351 <action function="page">terminalcommand</action>
4352 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004353 </button>
z31s1g56189522016-01-13 19:12:40 +01004354
z31s1g608d7ff2016-01-18 19:47:25 +01004355 <button>
z31s1g56189522016-01-13 19:12:40 +01004356 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4357 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4358 <image resource="back" />
4359 <condition var1="tw_busy" var2="0" />
4360 <actions>
4361 <action function="set">tw_hide_kb=0</action>
4362 <action function="key">back</action>
4363 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004364 </button>
z31s1g56189522016-01-13 19:12:40 +01004365
z31s1g28f0a922015-11-07 18:50:22 +01004366 <action>
4367 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004368 <actions>
4369 <action function="set">tw_hide_kb=0</action>
4370 <action function="page">main</action>
4371 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004372 </action>
4373
4374 <action>
4375 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004376 <actions>
4377 <action function="set">tw_hide_kb=0</action>
4378 <action function="page">advanced</action>
4379 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </action>
z31s1g56189522016-01-13 19:12:40 +01004381
z31s1g608d7ff2016-01-18 19:47:25 +01004382 <action>
z31s1g56189522016-01-13 19:12:40 +01004383 <touch key="power+voldown" />
4384 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004385 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004386 </page>
4387
4388 <page name="sideload">
4389 <template name="page"/>
4390
4391 <text style="text_l">
4392 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004393 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 </text>
4395
4396 <text style="text_m">
4397 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004398 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004399 </text>
4400
4401 <checkbox>
4402 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 <data variable="tw_wipe_dalvik"/>
4405 </checkbox>
4406
4407 <checkbox>
4408 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 <data variable="tw_wipe_cache"/>
4411 </checkbox>
4412
4413 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004415 <actions>
4416 <action function="set">tw_back=advanced</action>
4417 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004418 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4419 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4420 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004421 <action function="set">tw_has_cancel=1</action>
4422 <action function="set">tw_show_reboot=1</action>
4423 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4424 <action function="page">action_page</action>
4425 </actions>
4426 </slider>
4427
4428 <action>
4429 <touch key="home"/>
4430 <action function="page">main</action>
4431 </action>
4432
4433 <action>
4434 <touch key="back"/>
4435 <action function="page">advanced</action>
4436 </action>
4437 </page>
4438
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004439 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004440 <template name="page"/>
4441
4442 <text style="text_l">
4443 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <text style="text_m">
4448 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004449 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </text>
4451
4452 <text style="text_m_accent">
4453 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004454 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 </text>
4456
z31s1g28f0a922015-11-07 18:50:22 +01004457 <text style="text_m_fail">
4458 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004459 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 </text>
4461
4462 <text style="text_m_fail">
4463 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004464 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004465 </text>
4466
4467 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004468 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 <actions>
4470 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004471 <action function="set">tw_action=fixcontexts</action>
4472 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4473 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004474 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004475 <action function="set">tw_show_reboot=1</action>
4476 <action function="page">action_page</action>
4477 </actions>
4478 </slider>
4479
4480 <action>
4481 <touch key="home"/>
4482 <action function="page">main</action>
4483 </action>
4484
4485 <action>
4486 <touch key="back"/>
4487 <action function="page">advanced</action>
4488 </action>
4489 </page>
4490
4491 <page name="installsu">
4492 <template name="page"/>
4493
4494 <text style="text_l">
4495 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </text>
4498
4499 <text style="text_m">
4500 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </text>
4503
4504 <text style="text_m_accent">
4505 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </text>
4508
4509 <text style="text_m">
4510 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </text>
4513
4514 <text style="text_m">
4515 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <button style="main_button_half_height">
4520 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 <action function="set">tw_page_done=1</action>
4523 </button>
4524
4525 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 <actions>
4528 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004529 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004530 <action function="set">tw_action_text2=</action>
4531 <action function="page">singleaction_page</action>
4532 </actions>
4533 </slider>
4534 </page>
4535
4536 <page name="slideout">
4537 <fill color="%background_color%">
4538 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4539 </fill>
4540
4541 <console>
4542 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4543 </console>
4544
4545 <button>
4546 <fill color="%transparent%"/>
4547 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4548 <action function="overlay"/>
4549 </button>
4550
4551 <action>
4552 <touch key="power+voldown"/>
4553 <action function="screenshot"/>
4554 </action>
4555 </page>
4556
4557 <page name="select_storage">
4558 <fill color="%semi_transparent%">
4559 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4560 </fill>
4561
4562 <fill color="%background_color%">
4563 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4564 </fill>
4565
4566 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004567 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004568 <data name="tw_storage_path"/>
4569 <listtype name="storage"/>
4570 </partitionlist>
4571
4572 <button style="button_third_width">
4573 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 <actions>
4576 <action function="set">tw_clear_destination=%tw_back%</action>
4577 <action function="overlay"/>
4578 <action function="page">clear_vars</action>
4579 </actions>
4580 </button>
4581
4582 <fill color="#000000">
4583 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4584 </fill>
4585
4586 <button>
4587 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4588 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4589 <image resource="back"/>
4590 <condition var1="tw_busy" var2="0"/>
4591 <actions>
4592 <action function="overlay"/>
4593 <action function="key">%tw_back%</action>
4594 </actions>
4595 </button>
4596
4597 <button>
4598 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4599 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4600 <image resource="console"/>
4601 <condition var1="tw_busy" var2="0"/>
4602 <action function="overlay">slideout</action>
4603 </button>
4604
4605 <button>
4606 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4607 <image resource="home"/>
4608 <condition var1="tw_busy" var2="0"/>
4609 <actions>
4610 <action function="overlay"/>
4611 <action function="key">home</action>
4612 </actions>
4613 </button>
4614
4615 <button>
4616 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4617 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4618 <image resource="console"/>
4619 <condition var1="tw_busy" var2="0"/>
4620 <action function="overlay">slideout</action>
4621 </button>
4622
4623 <button>
4624 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4625 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4626 <image resource="back"/>
4627 <condition var1="tw_busy" var2="0"/>
4628 <actions>
4629 <action function="overlay"/>
4630 <action function="key">%tw_back%</action>
4631 </actions>
4632 </button>
4633
4634 <action>
4635 <touch key="power+voldown"/>
4636 <action function="screenshot"/>
4637 </action>
4638 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004639
4640 <page name="select_language">
4641 <fill color="%semi_transparent%">
4642 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4643 </fill>
4644
4645 <fill color="%background_color%">
4646 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4647 </fill>
4648
4649 <listbox>
4650 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4651 <text>{@select_language=Select Language:}</text>
4652 <icon selected="radio_true" unselected="radio_false" />
4653 <data name="tw_language" />
4654 </listbox>
4655
4656 <button style="button_third_width">
4657 <placement x="%dialog_button_x%" y="%row14_y%"/>
4658 <text>{@ok_btn=OK}</text>
4659 <actions>
4660 <action function="overlay"/>
4661 <action function="setlanguage"></action>
4662 </actions>
4663 </button>
4664
4665 <fill color="#000000">
4666 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4667 </fill>
4668
4669 <button>
4670 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4671 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4672 <image resource="back"/>
4673 <condition var1="tw_busy" var2="0"/>
4674 <actions>
4675 <action function="overlay"/>
4676 <action function="key">%tw_back%</action>
4677 </actions>
4678 </button>
4679
4680 <button>
4681 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4682 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4683 <image resource="console"/>
4684 <condition var1="tw_busy" var2="0"/>
4685 <action function="overlay">slideout</action>
4686 </button>
4687
4688 <button>
4689 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4690 <image resource="home"/>
4691 <condition var1="tw_busy" var2="0"/>
4692 <actions>
4693 <action function="overlay"/>
4694 <action function="key">home</action>
4695 </actions>
4696 </button>
4697
4698 <button>
4699 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4700 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4701 <image resource="console"/>
4702 <condition var1="tw_busy" var2="0"/>
4703 <action function="overlay">slideout</action>
4704 </button>
4705
4706 <button>
4707 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4708 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4709 <image resource="back"/>
4710 <condition var1="tw_busy" var2="0"/>
4711 <actions>
4712 <action function="overlay"/>
4713 <action function="key">%tw_back%</action>
4714 </actions>
4715 </button>
4716
4717 <action>
4718 <touch key="power+voldown"/>
4719 <action function="screenshot"/>
4720 </action>
4721 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004722 </pages>
4723</recovery>