blob: fdcbb08bd7515c384cf2d65089df10772cbcc750 [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%"/>
73 <fill color="%accent_color%"/>
74 <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>
389 <condition var1="tw_has_injecttwrp" var2="1"/>
390 <placement x="%indent%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500391 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100392 <data variable="tw_inject_after_zip"/>
393 </checkbox>
394
395 <button style="main_button_half_height">
396 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <action function="page">install</action>
399 </button>
400
401 <button style="main_button_half_height">
402 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <actions>
405 <action function="queueclear"/>
406 <action function="page">install</action>
407 </actions>
408 </button>
409
410 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500411 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100412 <action function="flash">flash_zip</action>
413 </slider>
414
415 <action>
416 <touch key="back"/>
417 <actions>
418 <action function="cancelzip"/>
419 <action function="page">install</action>
420 </actions>
421 </action>
422
423 <action>
424 <touch key="home"/>
425 <action function="page">main</action>
426 </action>
427 </page>
428
429 <page name="flash_zip">
430 <template name="page"/>
431
432 <text style="text_l">
433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500434 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100435 </text>
436
437 <text style="text_m">
438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
439 <text>%tw_file%</text>
440 </text>
441
442 <template name="console"/>
443
444 <template name="progress_bar"/>
445
446 <action>
447 <condition var1="tw_operation_state" var2="1"/>
448 <action function="page">flash_done</action>
449 </action>
450 </page>
451
452 <page name="flash_done">
453 <template name="page"/>
454
455 <text style="text_l">
456 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </text>
459
460 <text style="text_m_fail">
461 <condition var1="tw_operation_status" op="!=" var2="0"/>
462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m">
467 <condition var1="tw_operation_status" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <template name="console"/>
473
474 <button style="main_button_half_height">
475 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 <actions>
478 <action function="set">tw_back=flash_done</action>
479 <action function="set">tw_action=wipe</action>
480 <action function="set">tw_action_param=/cache</action>
481 <action function="set">tw_has_action2=1</action>
482 <action function="set">tw_action2=wipe</action>
483 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500484 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
485 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
486 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
487 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100488 <action function="page">confirm_action</action>
489 </actions>
490 </button>
491
492 <button style="main_button_half_height">
493 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500494 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <actions>
496 <action function="set">tw_back=main2</action>
497 <action function="set">tw_action=reboot</action>
498 <action function="set">tw_action_param=system</action>
499 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
501 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <action function="set">tw_text3=</action>
503 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500504 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100505 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500506 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
507 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100508 <action function="page">rebootcheck</action>
509 </actions>
510 </button>
511
512 <action>
513 <touch key="back"/>
514 <actions>
515 <action function="set">tw_clear_destination=install</action>
516 <action function="page">clear_vars</action>
517 </actions>
518 </action>
519
520 <action>
521 <touch key="home"/>
522 <actions>
523 <action function="set">tw_clear_destination=main2</action>
524 <action function="page">clear_vars</action>
525 </actions>
526 </action>
527 </page>
528
529 <page name="flashimage_confirm">
530 <template name="page"/>
531
532 <text style="text_l">
533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <text style="text_m">
538 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500539 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100540 </text>
541
542 <text style="text_m_accent">
543 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500544 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100545 </text>
546
547 <text style="text_m">
548 <placement x="%indent%" y="%row3_y%"/>
549 <text>%tw_zip_location%</text>
550 </text>
551
552 <text style="text_m_accent">
553 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100555 </text>
556
557 <text style="text_m">
558 <placement x="%indent%" y="%row5a_y%"/>
559 <text>%tw_file%</text>
560 </text>
561
562 <partitionlist>
563 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
564 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500565 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100566 <data name="tw_flash_partition"/>
567 <listtype name="flashimg"/>
568 </partitionlist>
569
570 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 <actions>
573 <action function="set">tw_back=flashimage_confirm</action>
574 <action function="set">tw_action=flashimage</action>
575 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500576 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100577 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500578 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100579 <action function="page">action_page</action>
580 </actions>
581 <action function="flashimage"/>
582 </slider>
583
584 <action>
585 <touch key="back"/>
586 <actions>
587 <action function="set">tw_clear_destination=install</action>
588 <action function="page">clear_vars</action>
589 </actions>
590 </action>
591
592 <action>
593 <touch key="home"/>
594 <actions>
595 <action function="set">tw_clear_destination=main2</action>
596 <action function="page">clear_vars</action>
597 </actions>
598 </action>
599 </page>
600
601 <page name="clear_vars">
602 <action>
603 <action function="set">tw_operation_state=0</action>
604 <action function="set">tw_text1=</action>
605 <action function="set">tw_text2=</action>
606 <action function="set">tw_text3=</action>
607 <action function="set">tw_text4=</action>
608 <action function="set">tw_action_text1=</action>
609 <action function="set">tw_action_text2=</action>
610 <action function="set">tw_action_param=</action>
611 <action function="set">tw_has_action2=0</action>
612 <action function="set">tw_action2=</action>
613 <action function="set">tw_action2_param=</action>
614 <action function="set">tw_has_cancel=0</action>
615 <action function="set">tw_cancel_action=</action>
616 <action function="set">tw_cancel_param=</action>
617 <action function="set">tw_show_exclamation=0</action>
618 <action function="set">tw_show_reboot=0</action>
619 <action function="page">%tw_clear_destination%</action>
620 </action>
621 </page>
622
623 <page name="confirm_action">
624 <template name="page"/>
625
626 <text style="text_l">
627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500628 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100629 </text>
630
631 <text style="text_m">
632 <placement x="%col1_x_header%" y="%row4_header_y%"/>
633 <text/>
634 </text>
635
636 <text style="text_m_accent">
637 <placement x="%center_x%" y="%row2_y%" placement="5"/>
638 <text>%tw_text1%</text>
639 </text>
640
641 <text style="text_m_accent">
642 <placement x="%center_x%" y="%row3_y%" placement="5"/>
643 <text>%tw_text2%</text>
644 </text>
645
646 <text style="text_m">
647 <placement x="%center_x%" y="%row4_y%" placement="5"/>
648 <text>%tw_text3%</text>
649 </text>
650
651 <text style="text_m">
652 <placement x="%center_x%" y="%row5_y%" placement="5"/>
653 <text>%tw_text4%</text>
654 </text>
655
656 <text style="text_m">
657 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <slider>
662 <text>%tw_slider_text%</text>
663 <action function="page">action_page</action>
664 </slider>
665
666 <action>
667 <touch key="back"/>
668 <actions>
669 <action function="set">tw_clear_destination=%tw_back%</action>
670 <action function="page">clear_vars</action>
671 </actions>
672 </action>
673
674 <action>
675 <touch key="home"/>
676 <action function="page">main</action>
677 </action>
678 </page>
679
680 <page name="action_page">
681 <template name="page"/>
682
683 <text style="text_l">
684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
685 <text>%tw_action_text1%</text>
686 </text>
687
688 <text style="text_m">
689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
690 <text>%tw_action_text2%</text>
691 </text>
692
693 <template name="console"/>
694
695 <template name="progress_bar"/>
696
697 <button style="main_button_half_height">
698 <condition var1="tw_has_cancel" var2="1"/>
699 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
702 </button>
703
704 <action>
705 <condition var1="tw_operation_state" var2="1"/>
706 <actions>
707 <action function="page">action_complete</action>
708 </actions>
709 </action>
710
711 <action>
712 <condition var1="tw_has_action2" var2="0"/>
713 <actions>
714 <action function="%tw_action%">%tw_action_param%</action>
715 </actions>
716 </action>
717
718 <action>
719 <condition var1="tw_has_action2" var2="1"/>
720 <actions>
721 <action function="%tw_action%">%tw_action_param%</action>
722 <action function="%tw_action2%">%tw_action2_param%</action>
723 </actions>
724 </action>
725 </page>
726
727 <page name="singleaction_page">
728 <template name="page"/>
729
730 <text style="text_l">
731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
732 <text>%tw_action_text1%</text>
733 </text>
734
735 <text style="text_m">
736 <placement x="%col1_x_header%" y="%row4_header_y%"/>
737 <text>%tw_action_text2%</text>
738 </text>
739
740 <template name="console"/>
741
742 <template name="progress_bar"/>
743
744 <action>
745 <condition var1="tw_operation_state" var2="1"/>
746 <actions>
747 <action function="set">tw_page_done=1</action>
748 </actions>
749 </action>
750
751 <action>
752 <condition var1="tw_has_action2" var2="0"/>
753 <actions>
754 <action function="%tw_action%">%tw_action_param%</action>
755 </actions>
756 </action>
757
758 <action>
759 <condition var1="tw_has_action2" var2="1"/>
760 <actions>
761 <action function="%tw_action%">%tw_action_param%</action>
762 <action function="%tw_action2%">%tw_action2_param%</action>
763 </actions>
764 </action>
765 </page>
766
767 <page name="action_complete">
768 <template name="page"/>
769
770 <text style="text_l">
771 <placement x="%col1_x_header%" y="%row3_header_y%"/>
772 <text>%tw_complete_text1%</text>
773 </text>
774
775 <text style="text_m_fail">
776 <condition var1="tw_operation_status" op="!=" var2="0"/>
777 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <text style="text_m">
782 <condition var1="tw_operation_status" var2="0"/>
783 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500784 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100785 </text>
786
787 <template name="console"/>
788
789 <button style="main_button_half_height">
790 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500791 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100792 <actions>
793 <action function="set">tw_clear_destination=%tw_back%</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </button>
797
798 <button style="main_button_half_height">
799 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500800 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100801 <actions>
802 <action function="set">tw_back=main2</action>
803 <action function="set">tw_action=reboot</action>
804 <action function="set">tw_action_param=system</action>
805 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
807 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100808 <action function="set">tw_text3=</action>
809 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500810 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100811 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500812 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
813 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100814 <action function="page">rebootcheck</action>
815 </actions>
816 </button>
817
818 <action>
819 <touch key="home"/>
820 <actions>
821 <action function="set">tw_clear_destination=main2</action>
822 <action function="page">clear_vars</action>
823 </actions>
824 </action>
825
826 <action>
827 <touch key="back"/>
828 <actions>
829 <action function="set">tw_clear_destination=%tw_back%</action>
830 <action function="page">clear_vars</action>
831 </actions>
832 </action>
833 </page>
834
835 <page name="filecheck">
836 <action>
837 <action function="fileexists">%tw_filecheck%</action>
838 </action>
839
840 <action>
841 <conditions>
842 <condition var1="tw_operation_state" var2="1"/>
843 <condition var1="tw_operation_status" var2="0"/>
844 </conditions>
845 <actions>
846 <action function="set">tw_fileexists=1</action>
847 <action function="page">%tw_existpage%</action>
848 </actions>
849 </action>
850
851 <action>
852 <conditions>
853 <condition var1="tw_operation_state" var2="1"/>
854 <condition var1="tw_operation_status" var2="1"/>
855 </conditions>
856 <actions>
857 <action function="set">tw_fileexists=0</action>
858 <action function="page">%tw_notexistpage%</action>
859 </actions>
860 </action>
861 </page>
862
863 <page name="rebootcheck">
864 <action>
865 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
866 <action function="reboot">%tw_action_param%</action>
867 </action>
868
869 <action>
870 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
871 <action function="page">confirm_action</action>
872 </action>
873 </page>
874
875 <page name="wipe">
876 <template name="page"/>
877
878 <text style="text_l">
879 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500880 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100881 </text>
882
883 <text style="text_m">
884 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500885 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100886 </text>
887
888 <text style="text_m_accent">
889 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500890 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100891 </text>
892
893 <text style="text_m_accent">
894 <condition var1="tw_has_data_media" var2="1"/>
895 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500896 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100897 </text>
898
899 <text style="text_m_accent">
900 <conditions>
901 <condition var1="tw_has_android_secure" var2="1"/>
902 <condition var1="fileexists" var2="/and-sec"/>
903 </conditions>
904 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 </text>
907
908 <text style="text_m_accent">
909 <condition var1="tw_has_sdext_partition" var2="1"/>
910 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 </text>
913
914 <text style="text_m">
915 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500916 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100917 </text>
918
919 <text style="text_m">
920 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500921 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100922 </text>
923
924 <text style="text_m">
925 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100927 </text>
928
929 <button style="main_button_half_height">
930 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500931 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100932 <actions>
933 <action function="set">partitionlisterror=0</action>
934 <action function="page">advancedwipe</action>
935 </actions>
936 </button>
937
938 <button style="main_button_half_height">
939 <condition var1="tw_has_data_media" var2="1"/>
940 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500941 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100942 <action function="page">formatdata</action>
943 </button>
944
945 <button style="main_button_half_height">
946 <conditions>
947 <condition var1="tw_is_encrypted" var2="1"/>
948 <condition var1="tw_has_data_media" var2="0"/>
949 </conditions>
950 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 <actions>
953 <action function="set">tw_back=wipe</action>
954 <action function="set">tw_action=wipe</action>
955 <action function="set">tw_action_param=DATAMEDIA</action>
956 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100958 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
960 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
961 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100962 <action function="page">confirm_action</action>
963 </actions>
964 </button>
965
966 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500967 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100968 <actions>
969 <action function="set">tw_back=wipe</action>
970 <action function="set">tw_action=wipe</action>
971 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500972 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
973 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <action function="page">action_page</action>
975 </actions>
976 </slider>
977
978 <action>
979 <touch key="back"/>
980 <action function="page">main</action>
981 </action>
982
983 <action>
984 <touch key="home"/>
985 <action function="page">main</action>
986 </action>
987 </page>
988
989 <page name="advancedwipe">
990 <template name="page"/>
991
992 <action>
993 <action function="set">tw_wipe_list=</action>
994 </action>
995
996 <text style="text_l">
997 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500998 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100999 </text>
1000
1001 <text style="text_m">
1002 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001003 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001004 </text>
1005
1006 <partitionlist>
1007 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001008 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001009 <data name="tw_wipe_list"/>
1010 <listtype name="wipe"/>
1011 </partitionlist>
1012
1013 <text style="text_m_fail">
1014 <condition var1="partitionlisterror" var2="1"/>
1015 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <button style="main_button_half_height_full_width">
1020 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001023 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001024 <action function="page">checkpartitionlist</action>
1025 </actions>
1026 </button>
1027
1028 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 <actions>
1031 <action function="set">tw_back=advancedwipe</action>
1032 <action function="set">tw_action=wipe</action>
1033 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1035 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1036 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001037 <action function="page">action_page</action>
1038 </actions>
1039 </slider>
1040
1041 <action>
1042 <touch key="home"/>
1043 <action function="page">main</action>
1044 </action>
1045
1046 <action>
1047 <touch key="back"/>
1048 <action function="page">wipe</action>
1049 </action>
1050 </page>
1051
1052 <page name="formatdata">
1053 <template name="page"/>
1054
1055 <text style="text_l">
1056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <text style="text_m">
1061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 </text>
1064
1065 <text style="text_m_fail">
1066 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001068 </text>
1069
1070 <text style="text_m_fail">
1071 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 </text>
1074
1075 <text style="text_m_fail">
1076 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <text style="text_m">
1081 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <input>
1091 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1092 <text>%tw_confirm_formatdata%</text>
1093 <data name="tw_confirm_formatdata"/>
1094 <restrict minlen="3" maxlen="3" allow="yes"/>
1095 <action function="page">formatdata_confirm</action>
1096 </input>
1097
1098 <fill color="%accent_color%">
1099 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1100 </fill>
1101
1102 <template name="keyboardtemplate"/>
1103
1104 <action>
1105 <touch key="home"/>
1106 <action function="page">main</action>
1107 </action>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">wipe</action>
1112 </action>
1113 </page>
1114
1115 <page name="formatdata_confirm">
1116 <action>
1117 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1118 <actions>
1119 <action function="set">tw_back=formatdata</action>
1120 <action function="set">tw_action=wipe</action>
1121 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1123 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001124 <action function="page">action_page</action>
1125 </actions>
1126 </action>
1127
1128 <action>
1129 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1130 <action function="page">formatdata</action>
1131 </action>
1132 </page>
1133
1134 <page name="checkpartitionlist">
1135 <action>
1136 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1137 <actions>
1138 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001139 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <action function="page">partitionoptions</action>
1141 </actions>
1142 </action>
1143
1144 <action>
1145 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1146 <actions>
1147 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001148 <action function="page">advancedwipe</action>
1149 </actions>
1150 </action>
1151 </page>
1152
1153 <page name="partitionoptions">
1154 <template name="page"/>
1155
1156 <text style="text_l">
1157 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001158 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001159 </text>
1160
1161 <text style="text_m">
1162 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <text style="text_m_accent">
1167 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 </text>
1170
1171 <text style="text_m_accent">
1172 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 </text>
1175
1176 <text style="text_m">
1177 <condition var1="tw_partition_is_present" var2="1"/>
1178 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 </text>
1181
1182 <text style="text_m">
1183 <condition var1="tw_partition_is_present" var2="0"/>
1184 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
1188 <text style="text_m">
1189 <condition var1="tw_partition_removable" var2="1"/>
1190 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <condition var1="tw_partition_removable" var2="0"/>
1196 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m">
1206 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m">
1211 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001213 </text>
1214
1215 <text style="text_m">
1216 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <button style="main_button_half_height">
1221 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1222 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 <actions>
1225 <action function="set">tw_back=partitionoptions</action>
1226 <action function="set">tw_action=resize</action>
1227 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1228 <action function="set">tw_has_action2=1</action>
1229 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001230 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001232 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1234 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1235 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <action function="page">confirm_action</action>
1237 </actions>
1238 </button>
1239
1240 <button style="main_button_half_height">
1241 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1242 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <actions>
1245 <action function="set">tw_back=partitionoptions</action>
1246 <action function="set">tw_action=repair</action>
1247 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1248 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001249 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1252 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1253 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="page">confirm_action</action>
1255 </actions>
1256 </button>
1257
1258 <button style="main_button_half_height">
1259 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 <action function="page">selectfilesystem</action>
1262 </button>
1263
1264 <action>
1265 <touch key="home"/>
1266 <action function="page">main</action>
1267 </action>
1268
1269 <action>
1270 <touch key="back"/>
1271 <action function="page">advancedwipe</action>
1272 </action>
1273 </page>
1274
1275 <page name="refreshfilesystem">
1276 <action>
1277 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001280 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="page">selectfilesystem</action>
1282 </actions>
1283 </action>
1284
1285 <action>
1286 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1287 <actions>
1288 <action function="set">partitionlisterror=1</action>
1289 <action function="set">tw_wipe_list=</action>
1290 <action function="page">advancedwipe</action>
1291 </actions>
1292 </action>
1293 </page>
1294
1295 <page name="selectfilesystem">
1296 <template name="page"/>
1297
1298 <text style="text_l">
1299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m_accent">
1309 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 </text>
1312
1313 <text style="text_m_accent">
1314 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <text style="text_m_fail">
1319 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 </text>
1322
1323 <text style="text_m_fail">
1324 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001325 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001326 </text>
1327
1328 <button style="main_button_half_height">
1329 <condition var1="tw_partition_ext" op="=" var2="1"/>
1330 <placement x="%indent%" y="%row15a_y%"/>
1331 <text>EXT2</text>
1332 <actions>
1333 <action function="set">tw_back=refreshfilesystem</action>
1334 <action function="set">tw_action=changefilesystem</action>
1335 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1336 <action function="set">tw_action_new_file_system=ext2</action>
1337 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1339 <action function="set">tw_text2=EXT2</action>
1340 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1341 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <condition var1="tw_partition_ext" op="=" var2="1"/>
1349 <placement x="%indent%" y="%row18a_y%"/>
1350 <text>EXT3</text>
1351 <actions>
1352 <action function="set">tw_back=refreshfilesystem</action>
1353 <action function="set">tw_action=changefilesystem</action>
1354 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1355 <action function="set">tw_action_new_file_system=ext3</action>
1356 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1358 <action function="set">tw_text2=EXT3</action>
1359 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1360 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1361 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001362 <action function="page">confirm_action</action>
1363 </actions>
1364 </button>
1365
1366 <button style="main_button_half_height">
1367 <condition var1="tw_partition_ext" op="=" var2="1"/>
1368 <placement x="%indent%" y="%row21a_y%"/>
1369 <text>EXT4</text>
1370 <actions>
1371 <action function="set">tw_back=refreshfilesystem</action>
1372 <action function="set">tw_action=changefilesystem</action>
1373 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1374 <action function="set">tw_action_new_file_system=ext4</action>
1375 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1377 <action function="set">tw_text2=EXT4</action>
1378 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1379 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1380 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001381 <action function="page">confirm_action</action>
1382 </actions>
1383 </button>
1384
1385 <button style="main_button_half_height">
1386 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1387 <placement x="%center_x%" y="%row15a_y%"/>
1388 <text>FAT</text>
1389 <actions>
1390 <action function="set">tw_back=refreshfilesystem</action>
1391 <action function="set">tw_action=changefilesystem</action>
1392 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1393 <action function="set">tw_action_new_file_system=vfat</action>
1394 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1396 <action function="set">tw_text2=FAT</action>
1397 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1398 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1399 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001400 <action function="page">confirm_action</action>
1401 </actions>
1402 </button>
1403
1404 <button style="main_button_half_height">
1405 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1406 <placement x="%center_x%" y="%row18a_y%"/>
1407 <text>exFAT</text>
1408 <actions>
1409 <action function="set">tw_back=refreshfilesystem</action>
1410 <action function="set">tw_action=changefilesystem</action>
1411 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1412 <action function="set">tw_action_new_file_system=exfat</action>
1413 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1415 <action function="set">tw_text2=exFAT</action>
1416 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1417 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1418 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001419 <action function="page">confirm_action</action>
1420 </actions>
1421 </button>
1422
1423 <button style="main_button_half_height">
1424 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1425 <placement x="%center_x%" y="%row21a_y%"/>
1426 <text>F2FS</text>
1427 <actions>
1428 <action function="set">tw_back=refreshfilesystem</action>
1429 <action function="set">tw_action=changefilesystem</action>
1430 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1431 <action function="set">tw_action_new_file_system=f2fs</action>
1432 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1434 <action function="set">tw_text2=F2FS</action>
1435 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1436 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1437 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001438 <action function="page">confirm_action</action>
1439 </actions>
1440 </button>
1441
1442 <action>
1443 <touch key="home"/>
1444 <action function="page">main</action>
1445 </action>
1446
1447 <action>
1448 <touch key="back"/>
1449 <action function="page">partitionoptions</action>
1450 </action>
1451 </page>
1452
1453 <page name="backup">
1454 <template name="page"/>
1455
1456 <text style="text_l">
1457 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <text style="text_m">
1462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001464 </text>
1465
1466 <template name="tabs_backup"/>
1467
1468 <fill color="%text_color%">
1469 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1470 </fill>
1471
1472 <button style="tab">
1473 <conditions>
1474 <condition var1="tw_include_encrypted_backup" var2="1"/>
1475 <condition var1="tw_encrypt_backup" var2="0"/>
1476 </conditions>
1477 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001478 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <font resource="font_s" color="%text_color%"/>
1480 <actions>
1481 <action function="set">tw_password_not_match=0</action>
1482 <action function="page">backupencryption</action>
1483 </actions>
1484 </button>
1485
1486 <button style="tab">
1487 <conditions>
1488 <condition var1="tw_include_encrypted_backup" var2="1"/>
1489 <condition var1="tw_encrypt_backup" var2="1"/>
1490 </conditions>
1491 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <font resource="font_s" color="%text_success_color%"/>
1494 <actions>
1495 <action function="set">tw_password_not_match=0</action>
1496 <action function="page">backupencryption</action>
1497 </actions>
1498 </button>
1499
1500 <text style="text_m_accent">
1501 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <text style="text_m">
1506 <placement x="%indent%" y="%row4a_y%"/>
1507 <text>%tw_backup_name%</text>
1508 </text>
1509
1510 <fill color="%fileselector_linecolor%">
1511 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1512 </fill>
1513
1514 <button>
1515 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1516 <fill color="%transparent%"/>
1517 <actions>
1518 <action function="set">tw_fileexists=0</action>
1519 <action function="page">backupname1</action>
1520 </actions>
1521 </button>
1522
1523 <partitionlist>
1524 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 <data name="tw_backup_list"/>
1527 <listtype name="backup"/>
1528 </partitionlist>
1529
1530 <button style="main_button_half_height">
1531 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <actions>
1534 <action function="set">tw_back=backup</action>
1535 <action function="overlay">select_storage</action>
1536 </actions>
1537 </button>
1538
1539 <button style="main_button_half_height">
1540 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <actions>
1543 <action function="refreshsizes"/>
1544 <action function="page">backup</action>
1545 </actions>
1546 </button>
1547
1548 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001549 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001550 <action function="page">backup_run</action>
1551 </slider>
1552
1553 <action>
1554 <touch key="home"/>
1555 <action function="page">main</action>
1556 </action>
1557
1558 <action>
1559 <touch key="back"/>
1560 <action function="page">main</action>
1561 </action>
1562 </page>
1563
1564 <page name="backup_options">
1565 <template name="page"/>
1566
1567 <text style="text_l">
1568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001570 </text>
1571
1572 <text style="text_m">
1573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001574 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001575 </text>
1576
1577 <template name="tabs_backup"/>
1578
1579 <fill color="%text_color%">
1580 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1581 </fill>
1582
1583 <button style="tab">
1584 <conditions>
1585 <condition var1="tw_include_encrypted_backup" var2="1"/>
1586 <condition var1="tw_encrypt_backup" var2="0"/>
1587 </conditions>
1588 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <font resource="font_s" color="%text_color%"/>
1591 <actions>
1592 <action function="set">tw_password_not_match=0</action>
1593 <action function="page">backupencryption</action>
1594 </actions>
1595 </button>
1596
1597 <button style="tab">
1598 <conditions>
1599 <condition var1="tw_include_encrypted_backup" var2="1"/>
1600 <condition var1="tw_encrypt_backup" var2="1"/>
1601 </conditions>
1602 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001603 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <font resource="font_s" color="%text_success_color%"/>
1605 <actions>
1606 <action function="set">tw_password_not_match=0</action>
1607 <action function="page">backupencryption</action>
1608 </actions>
1609 </button>
1610
1611 <checkbox>
1612 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <data variable="tw_use_compression"/>
1615 </checkbox>
1616
1617 <checkbox>
1618 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <data variable="tw_skip_md5_generate"/>
1621 </checkbox>
1622
1623 <checkbox>
1624 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <data variable="tw_disable_free_space"/>
1627 </checkbox>
1628
1629 <action>
1630 <touch key="home"/>
1631 <action function="page">main</action>
1632 </action>
1633
1634 <action>
1635 <touch key="back"/>
1636 <action function="page">backup</action>
1637 </action>
1638 </page>
1639
1640 <page name="backupname1">
1641 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="generatebackupname"/>
1644 </action>
1645
1646 <action>
1647 <action function="page">backupname2</action>
1648 </action>
1649 </page>
1650
1651 <page name="backupname2">
1652 <template name="page"/>
1653
1654 <text style="text_l">
1655 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 </text>
1663
1664 <template name="tabs_backup"/>
1665
1666 <fill color="%text_color%">
1667 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1668 </fill>
1669
1670 <button style="tab">
1671 <conditions>
1672 <condition var1="tw_include_encrypted_backup" var2="1"/>
1673 <condition var1="tw_encrypt_backup" var2="0"/>
1674 </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_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 <button style="tab">
1685 <conditions>
1686 <condition var1="tw_include_encrypted_backup" var2="1"/>
1687 <condition var1="tw_encrypt_backup" var2="1"/>
1688 </conditions>
1689 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <font resource="font_s" color="%text_success_color%"/>
1692 <actions>
1693 <action function="set">tw_password_not_match=0</action>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </button>
1697
1698 <text style="text_m_accent">
1699 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 </text>
1702
1703 <input>
1704 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1705 <text>%tw_backup_name%</text>
1706 <data name="tw_backup_name"/>
1707 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1708 <actions>
1709 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1710 <action function="set">tw_existpage=backupname2</action>
1711 <action function="set">tw_notexistpage=backup</action>
1712 <action function="page">filecheck</action>
1713 </actions>
1714 </input>
1715
1716 <fill color="%accent_color%">
1717 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1718 </fill>
1719
1720 <fill color="%text_fail_color%">
1721 <condition var1="tw_fileexists" var2="1"/>
1722 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1723 </fill>
1724
1725 <text style="text_m_fail">
1726 <condition var1="tw_fileexists" var2="1"/>
1727 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <button style="main_button_half_height">
1732 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001735 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001736 <action function="page">backup</action>
1737 </actions>
1738 </button>
1739
1740 <button style="main_button_half_height">
1741 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <action function="appenddatetobackupname"/>
1744 </button>
1745
1746 <template name="keyboardtemplate"/>
1747
1748 <action>
1749 <touch key="home"/>
1750 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001752 <action function="page">main</action>
1753 </actions>
1754 </action>
1755
1756 <action>
1757 <touch key="back"/>
1758 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001759 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001760 <action function="page">backup</action>
1761 </actions>
1762 </action>
1763 </page>
1764
1765 <page name="backupencryption">
1766 <template name="page"/>
1767
1768 <text style="text_l">
1769 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 </text>
1772
1773 <text style="text_m">
1774 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <template name="tabs_backup"/>
1779
1780 <button style="tab">
1781 <conditions>
1782 <condition var1="tw_include_encrypted_backup" var2="1"/>
1783 <condition var1="tw_encrypt_backup" var2="0"/>
1784 </conditions>
1785 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <font resource="font_s" color="%text_color%"/>
1788 <actions>
1789 <action function="set">tw_password_not_match=0</action>
1790 <action function="page">backupencryption</action>
1791 </actions>
1792 </button>
1793
1794 <button style="tab">
1795 <conditions>
1796 <condition var1="tw_include_encrypted_backup" var2="1"/>
1797 <condition var1="tw_encrypt_backup" var2="1"/>
1798 </conditions>
1799 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <font resource="font_s" color="%text_success_color%"/>
1802 <actions>
1803 <action function="set">tw_password_not_match=0</action>
1804 <action function="page">backupencryption</action>
1805 </actions>
1806 </button>
1807
1808 <fill color="%text_color%">
1809 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1810 </fill>
1811
1812 <text style="text_m_accent">
1813 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001814 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001815 </text>
1816
1817 <text style="text_m">
1818 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001819 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001820 </text>
1821
1822 <input>
1823 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1824 <text>%tw_backup_encrypt_display%</text>
1825 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1826 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1827 <action function="page">backupencryption2</action>
1828 </input>
1829
1830 <fill color="%accent_color%">
1831 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1832 </fill>
1833
1834 <fill color="%text_fail_color%">
1835 <condition var1="tw_password_not_match" var2="1"/>
1836 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1837 </fill>
1838
1839 <text style="text_m_fail">
1840 <condition var1="tw_password_not_match" var2="1"/>
1841 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001843 </text>
1844
1845 <button style="main_button_half_height">
1846 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001847 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <actions>
1849 <action function="set">tw_encrypt_backup=0</action>
1850 <action function="set">tw_backup_password=</action>
1851 <action function="set">tw_backup_password2=</action>
1852 <action function="set">tw_backup_encrypt_display=</action>
1853 <action function="set">tw_backup_encrypt_display2=</action>
1854 <action function="page">backup</action>
1855 </actions>
1856 </button>
1857
1858 <template name="keyboardtemplate"/>
1859
1860 <action>
1861 <touch key="home"/>
1862 <action function="page">main</action>
1863 </action>
1864
1865 <action>
1866 <touch key="back"/>
1867 <action function="page">backup</action>
1868 </action>
1869 </page>
1870
1871 <page name="backupencryption2">
1872 <template name="page"/>
1873
1874 <text style="text_l">
1875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001877 </text>
1878
1879 <text style="text_m">
1880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <template name="tabs_backup"/>
1885
1886 <button style="tab">
1887 <conditions>
1888 <condition var1="tw_include_encrypted_backup" var2="1"/>
1889 <condition var1="tw_encrypt_backup" var2="0"/>
1890 </conditions>
1891 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 <font resource="font_s" color="%text_color%"/>
1894 <actions>
1895 <action function="set">tw_password_not_match=0</action>
1896 <action function="page">backupencryption</action>
1897 </actions>
1898 </button>
1899
1900 <button style="tab">
1901 <conditions>
1902 <condition var1="tw_include_encrypted_backup" var2="1"/>
1903 <condition var1="tw_encrypt_backup" var2="1"/>
1904 </conditions>
1905 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 <font resource="font_s" color="%text_success_color%"/>
1908 <actions>
1909 <action function="set">tw_password_not_match=0</action>
1910 <action function="page">backupencryption</action>
1911 </actions>
1912 </button>
1913
1914 <fill color="%text_color%">
1915 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1916 </fill>
1917
1918 <text style="text_m_accent">
1919 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </text>
1922
1923 <text style="text_m">
1924 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001925 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001926 </text>
1927
1928 <input>
1929 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1930 <text>%tw_backup_encrypt_display2%</text>
1931 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1932 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1933 <action function="page">checkbackuppassword</action>
1934 </input>
1935
1936 <fill color="%accent_color%">
1937 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <button style="main_button_half_height">
1941 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_backup_password=</action>
1946 <action function="set">tw_backup_password2=</action>
1947 <action function="set">tw_backup_encrypt_display=</action>
1948 <action function="set">tw_backup_encrypt_display2=</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </button>
1952
1953 <template name="keyboardtemplate"/>
1954
1955 <action>
1956 <touch key="home"/>
1957 <action function="page">main</action>
1958 </action>
1959
1960 <action>
1961 <touch key="back"/>
1962 <action function="page">backup</action>
1963 </action>
1964 </page>
1965
1966 <page name="checkbackuppassword">
1967 <action>
1968 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1969 <actions>
1970 <action function="set">tw_encrypt_backup=1</action>
1971 <action function="page">backup</action>
1972 </actions>
1973 </action>
1974
1975 <action>
1976 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1977 <actions>
1978 <action function="set">tw_encrypt_backup=0</action>
1979 <action function="set">tw_password_not_match=1</action>
1980 <action function="set">tw_backup_password=</action>
1981 <action function="set">tw_backup_password2=</action>
1982 <action function="set">tw_backup_encrypt_display=</action>
1983 <action function="set">tw_backup_encrypt_display2=</action>
1984 <action function="page">backupencryption</action>
1985 </actions>
1986 </action>
1987 </page>
1988
1989 <page name="backup_run">
1990 <template name="page"/>
1991
1992 <text style="text_l">
1993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1994 <text>%tw_operation%</text>
1995 </text>
1996
1997 <text style="text_m">
1998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1999 <text>%tw_partition% Partition</text>
2000 </text>
2001
2002 <template name="console"/>
2003
2004 <template name="progress_bar"/>
2005
2006 <text style="text_m_accent">
2007 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002008 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002009 </text>
2010
2011 <text style="text_m">
2012 <placement x="%indent%" y="%row20_y%"/>
2013 <text>%tw_file_progress%</text>
2014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%indent%" y="%row21_y%"/>
2018 <text>%tw_size_progress%</text>
2019 </text>
2020
2021 <button style="main_button_half_height">
2022 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 <action function="cancelbackup"/>
2025 </button>
2026
2027 <action>
2028 <action function="nandroid">backup</action>
2029 </action>
2030
2031 <action>
2032 <condition var1="tw_operation_state" var2="1"/>
2033 <condition var1="tw_cancel_backup" var2="0"/>
2034 <actions>
2035 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002037 <action function="set">tw_show_reboot=1</action>
2038 <action function="page">action_complete</action>
2039 </actions>
2040 </action>
2041
2042 <action>
2043 <condition var1="tw_operation_state" var2="1"/>
2044 <condition var1="tw_cancel_backup" var2="1"/>
2045 <actions>
2046 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002047 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002048 <action function="set">tw_show_reboot=1</action>
2049 <action function="page">action_complete</action>
2050 </actions>
2051 </action>
2052 </page>
2053
2054 <page name="restore">
2055 <template name="page"/>
2056
2057 <text style="text_l">
2058 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <text style="text_m">
2063 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <template name="sort_options"/>
2068
2069 <fileselector>
2070 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002072 <filter folders="1" files="0" nav="0"/>
2073 <path name="tw_backups_folder"/>
2074 <data name="tw_restore" default=""/>
2075 <selection name="tw_restore_name"/>
2076 </fileselector>
2077
2078 <button style="main_button_half_height">
2079 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002080 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002081 <actions>
2082 <action function="set">tw_back=restore</action>
2083 <action function="overlay">select_storage</action>
2084 </actions>
2085 </button>
2086
2087 <action>
2088 <condition var1="tw_restore" op="modified"/>
2089 <actions>
2090 <action function="readBackup"/>
2091 <action function="page">restore_read</action>
2092 </actions>
2093 </action>
2094
2095 <action>
2096 <touch key="home"/>
2097 <action function="page">main</action>
2098 </action>
2099
2100 <action>
2101 <touch key="back"/>
2102 <action function="page">main</action>
2103 </action>
2104 </page>
2105
2106 <page name="restore_read">
2107 <action>
2108 <condition var1="tw_restore_encrypted" var2="1"/>
2109 <actions>
2110 <action function="set">tw_password_fail=0</action>
2111 <action function="page">restore_decrypt</action>
2112 </actions>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_restore_encrypted" var2="0"/>
2117 <actions>
2118 <action function="page">restore_select</action>
2119 </actions>
2120 </action>
2121 </page>
2122
2123 <page name="restore_decrypt">
2124 <template name="page"/>
2125
2126 <text style="text_l">
2127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <text style="text_m">
2132 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </text>
2135
2136 <text style="text_m_accent">
2137 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <input>
2142 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2143 <text>%tw_restore_display%</text>
2144 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2145 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2146 <action function="page">try_restore_decrypt</action>
2147 </input>
2148
2149 <fill color="%accent_color%">
2150 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <fill color="%text_fail_color%">
2154 <condition var1="tw_password_fail" var2="1"/>
2155 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2156 </fill>
2157
2158 <text style="text_m_fail">
2159 <condition var1="tw_password_fail" var2="1"/>
2160 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 </text>
2163
2164 <button style="main_button_half_height">
2165 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002166 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002167 <actions>
2168 <action function="set">tw_page_done=1</action>
2169 <action function="page">restore</action>
2170 </actions>
2171 </button>
2172
2173 <button style="main_button_half_height">
2174 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002176 <actions>
2177 <action function="set">tw_back=restore</action>
2178 <action function="set">tw_action=cmd</action>
2179 <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 -05002180 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2181 <action function="set">tw_text2=%tw_restore_name%</action>
2182 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2183 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2184 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2185 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002186 <action function="page">confirm_action</action>
2187 </actions>
2188 </button>
2189
2190 <template name="keyboardtemplate"/>
2191
2192 <action>
2193 <touch key="home"/>
2194 <action function="page">main</action>
2195 </action>
2196
2197 <action>
2198 <touch key="back"/>
2199 <action function="page">restore</action>
2200 </action>
2201 </page>
2202
2203 <page name="try_restore_decrypt">
2204 <template name="page"/>
2205
2206 <text style="text_l">
2207 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002213 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </text>
2215
2216 <template name="console"/>
2217
2218 <template name="progress_bar"/>
2219
2220 <action>
2221 <action function="decrypt_backup"/>
2222 </action>
2223
2224 <action>
2225 <conditions>
2226 <condition var1="tw_operation_state" var2="1"/>
2227 <condition var1="tw_operation_status" op="!=" var2="0"/>
2228 </conditions>
2229 <actions>
2230 <action function="set">tw_password_fail=1</action>
2231 <action function="page">restore_decrypt</action>
2232 </actions>
2233 </action>
2234
2235 <action>
2236 <conditions>
2237 <condition var1="tw_operation_state" var2="1"/>
2238 <condition var1="tw_operation_status" op="=" var2="0"/>
2239 </conditions>
2240 <actions>
2241 <action function="set">tw_page_done=1</action>
2242 <action function="page">restore_select</action>
2243 </actions>
2244 </action>
2245 </page>
2246
2247 <page name="restore_select">
2248 <template name="page"/>
2249
2250 <text style="text_l">
2251 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002252 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </text>
2254
2255 <text style="text_m">
2256 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <text style="text_m_accent">
2261 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002262 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002263 </text>
2264
2265 <text style="text_m">
2266 <placement x="%indent%" y="%row3_y%"/>
2267 <text>%tw_restore_name%</text>
2268 </text>
2269
2270 <fill color="%fileselector_linecolor%">
2271 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2272 </fill>
2273
2274 <button>
2275 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2276 <fill color="%transparent%"/>
2277 <actions>
2278 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2279 <action function="set">tw_fileexists=0</action>
2280 <action function="page">renamebackup</action>
2281 </actions>
2282 </button>
2283
2284 <partitionlist>
2285 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2288 <listtype name="restore"/>
2289 </partitionlist>
2290
2291 <checkbox>
2292 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002293 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <data variable="tw_skip_md5_check"/>
2295 </checkbox>
2296
2297 <button style="main_button_half_height">
2298 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002299 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <actions>
2301 <action function="set">tw_back=restore</action>
2302 <action function="set">tw_action=cmd</action>
2303 <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 -05002304 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002305 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2307 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2308 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2309 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002310 <action function="page">confirm_action</action>
2311 </actions>
2312 </button>
2313
2314 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002315 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <action function="page">restore_run</action>
2317 </slider>
2318
2319 <action>
2320 <touch key="home"/>
2321 <action function="page">main</action>
2322 </action>
2323
2324 <action>
2325 <touch key="back"/>
2326 <action function="page">restore</action>
2327 </action>
2328 </page>
2329
2330 <page name="renamebackup">
2331 <template name="page"/>
2332
2333 <text style="text_l">
2334 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <text style="text_m">
2339 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 </text>
2342
2343 <text style="text_m_accent">
2344 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <input>
2349 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2350 <text>%tw_backup_rename%</text>
2351 <data name="tw_backup_rename"/>
2352 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2353 <actions>
2354 <action function="set">tw_back=restore</action>
2355 <action function="set">tw_action=cmd</action>
2356 <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 -05002357 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2358 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2359 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2360 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2361 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002362 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2363 <action function="set">tw_existpage=renamebackup</action>
2364 <action function="set">tw_notexistpage=confirm_action</action>
2365 <action function="page">filecheck</action>
2366 </actions>
2367 </input>
2368
2369 <fill color="%accent_color%">
2370 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2371 </fill>
2372
2373 <fill color="%text_fail_color%">
2374 <condition var1="tw_fileexists" var2="1"/>
2375 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2376 </fill>
2377
2378 <text style="text_m_fail">
2379 <condition var1="tw_fileexists" var2="1"/>
2380 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <button style="main_button_half_height">
2385 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">restore_select</action>
2388 </button>
2389
2390 <template name="keyboardtemplate"/>
2391
2392 <action>
2393 <touch key="home"/>
2394 <action function="page">main</action>
2395 </action>
2396
2397 <action>
2398 <touch key="back"/>
2399 <action function="page">restore_select</action>
2400 </action>
2401 </page>
2402
2403 <page name="restore_run">
2404 <template name="page"/>
2405
2406 <text style="text_l">
2407 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002409 </text>
2410
2411 <text style="text_m">
2412 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2413 <text>%tw_operation% %tw_partition%</text>
2414 </text>
2415
2416 <template name="console"/>
2417
2418 <template name="progress_bar"/>
2419
2420 <text style="text_m_accent">
2421 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <text style="text_m">
2426 <placement x="%indent%" y="%row20_y%"/>
2427 <text>%tw_size_progress%</text>
2428 </text>
2429
2430 <action>
2431 <condition var1="tw_operation_state" var2="1"/>
2432 <actions>
2433 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002434 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002435 <action function="set">tw_show_reboot=1</action>
2436 <action function="page">action_complete</action>
2437 </actions>
2438 </action>
2439
2440 <action>
2441 <action function="nandroid">restore</action>
2442 </action>
2443 </page>
2444
2445 <page name="mount">
2446 <template name="page"/>
2447
2448 <text style="text_l">
2449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <partitionlist>
2459 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <listtype name="mount"/>
2462 </partitionlist>
2463
2464 <button style="checkbox">
2465 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2466 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <image resource="checkbox_false"/>
2469 <action function="mountsystemtoggle">1</action>
2470 </button>
2471
2472 <button style="checkbox">
2473 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2474 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <image resource="checkbox_true"/>
2477 <actions>
2478 <action function="set">tw_lifetime_writes=2</action>
2479 <action function="page">system_readonly_check</action>
2480 </actions>
2481 </button>
2482
2483 <button style="main_button_half_height">
2484 <condition var1="tw_has_usb_storage" var2="1"/>
2485 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <action function="page">usb_mount</action>
2488 </button>
2489
2490 <button style="main_button_half_height">
2491 <conditions>
2492 <condition var1="tw_is_encrypted" var2="1"/>
2493 <condition var1="tw_is_decrypted" var2="0"/>
2494 </conditions>
2495 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002496 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002497 <action function="page">decrypt</action>
2498 </button>
2499
2500 <button style="main_button_half_height">
2501 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002502 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <actions>
2504 <action function="set">tw_back=mount</action>
2505 <action function="overlay">select_storage</action>
2506 </actions>
2507 </button>
2508
2509 <button style="main_button_half_height">
2510 <conditions>
2511 <condition var1="tw_has_mtp" var2="1"/>
2512 <condition var1="tw_mtp_enabled" var2="0"/>
2513 </conditions>
2514 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 <action function="startmtp"/>
2517 </button>
2518
2519 <button style="main_button_half_height">
2520 <conditions>
2521 <condition var1="tw_has_mtp" var2="1"/>
2522 <condition var1="tw_mtp_enabled" var2="1"/>
2523 </conditions>
2524 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="stopmtp"/>
2527 </button>
2528
2529 <action>
2530 <touch key="home"/>
2531 <action function="page">main</action>
2532 </action>
2533
2534 <action>
2535 <touch key="back"/>
2536 <action function="page">main</action>
2537 </action>
2538 </page>
2539
2540 <page name="usb_mount">
2541 <template name="page"/>
2542
2543 <text style="text_l">
2544 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 </text>
2547
2548 <text style="text_m">
2549 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002550 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002551 </text>
2552
2553 <text style="text_m_accent">
2554 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002555 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002556 </text>
2557
2558 <text style="text_m">
2559 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002560 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002561 </text>
2562
2563 <text style="text_m">
2564 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 </text>
2567
2568 <button style="main_button_half_height">
2569 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002570 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002571 <action function="page">usb_umount</action>
2572 </button>
2573
2574 <action>
2575 <action function="mount">usb</action>
2576 <action function="set">tw_busy=1</action>
2577 </action>
2578 </page>
2579
2580 <page name="usb_umount">
2581 <action>
2582 <action function="unmount">usb</action>
2583 </action>
2584
2585 <action>
2586 <action function="page">mount</action>
2587 <action function="set">tw_busy=0</action>
2588 </action>
2589 </page>
2590
2591 <page name="system_readonly_check">
2592 <action>
2593 <action function="checkpartitionlifetimewrites">/system</action>
2594 </action>
2595
2596 <action>
2597 <condition var1="tw_lifetime_writes" var2="1"/>
2598 <actions>
2599 <action function="mountsystemtoggle">0</action>
2600 <action function="page">mount</action>
2601 </actions>
2602 </action>
2603
2604 <action>
2605 <condition var1="tw_lifetime_writes" var2="0"/>
2606 <actions>
2607 <action function="set">tw_back=mount</action>
2608 <action function="page">system_readonly</action>
2609 </actions>
2610 </action>
2611 </page>
2612
2613 <page name="reboot">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002618 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <button style="main_button">
2622 <condition var1="tw_reboot_system" var2="1"/>
2623 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 <actions>
2626 <action function="set">tw_back=reboot</action>
2627 <action function="set">tw_action=reboot</action>
2628 <action function="set">tw_action_param=system</action>
2629 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2631 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2632 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2633 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2634 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002635 <action function="page">rebootcheck</action>
2636 </actions>
2637 </button>
2638
2639 <button style="main_button">
2640 <condition var1="tw_reboot_poweroff" var2="1"/>
2641 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <actions>
2644 <action function="set">tw_back=reboot</action>
2645 <action function="set">tw_action=reboot</action>
2646 <action function="set">tw_action_param=poweroff</action>
2647 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2649 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2650 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2651 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2652 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <action function="page">rebootcheck</action>
2654 </actions>
2655 </button>
2656
2657 <button style="main_button">
2658 <condition var1="tw_reboot_recovery" var2="1"/>
2659 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002661 <actions>
2662 <action function="set">tw_back=reboot</action>
2663 <action function="set">tw_action=reboot</action>
2664 <action function="set">tw_action_param=recovery</action>
2665 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002666 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2667 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2668 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2669 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2670 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002671 <action function="page">rebootcheck</action>
2672 </actions>
2673 </button>
2674
2675 <button style="main_button">
2676 <condition var1="tw_reboot_bootloader" var2="1"/>
2677 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <actions>
2680 <action function="set">tw_back=reboot</action>
2681 <action function="set">tw_action=reboot</action>
2682 <action function="set">tw_action_param=bootloader</action>
2683 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2685 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2686 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2687 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2688 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002689 <action function="page">rebootcheck</action>
2690 </actions>
2691 </button>
2692
2693 <button style="main_button">
2694 <condition var1="tw_download_mode" var2="1"/>
2695 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 <actions>
2698 <action function="set">tw_back=reboot</action>
2699 <action function="set">tw_action=reboot</action>
2700 <action function="set">tw_action_param=download</action>
2701 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2703 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2704 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2705 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2706 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 <action function="page">rebootcheck</action>
2708 </actions>
2709 </button>
2710
2711 <action>
2712 <touch key="home"/>
2713 <action function="page">main</action>
2714 </action>
2715
2716 <action>
2717 <touch key="back"/>
2718 <action function="page">main</action>
2719 </action>
2720 </page>
2721
2722 <page name="system_readonly">
2723 <template name="page"/>
2724
2725 <text style="text_l">
2726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002727 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002728 </text>
2729
2730 <text style="text_m_accent">
2731 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002732 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002733 </text>
2734
2735 <text style="text_m">
2736 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002738 </text>
2739
2740 <text style="text_m">
2741 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002742 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002743 </text>
2744
2745 <text style="text_m">
2746 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <text style="text_m">
2751 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002752 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002753 </text>
2754
2755 <text style="text_m_fail">
2756 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <text style="text_m_fail">
2761 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <checkbox>
2766 <condition var1="tw_is_encrypted" var2="0"/>
2767 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <data variable="tw_never_show_system_ro_page"/>
2770 </checkbox>
2771
2772 <button style="main_button_half_height">
2773 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <actions>
2776 <action function="mountsystemtoggle">1</action>
2777 <action function="set">tw_page_done=1</action>
2778 <action function="page">%tw_back%</action>
2779 </actions>
2780 </button>
2781
2782 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002783 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002784 <actions>
2785 <action function="mountsystemtoggle">0</action>
2786 <action function="set">tw_page_done=1</action>
2787 <action function="page">%tw_back%</action>
2788 </actions>
2789 </slider>
2790 </page>
2791
2792 <page name="settings">
2793 <template name="page"/>
2794
2795 <text style="text_l">
2796 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002797 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002798 </text>
2799
2800 <text style="text_m">
2801 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002803 </text>
2804
2805 <template name="tabs_settings"/>
2806
2807 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </fill>
2810
2811 <listbox style="scrolllist">
2812 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2813 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002815 <data variable="tw_signed_zip_verify"/>
2816 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002818 <data variable="tw_rm_rf"/>
2819 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002821 <data variable="tw_skip_md5_generate"/>
2822 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002823 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002824 <data variable="tw_skip_md5_check"/>
2825 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002827 <data variable="tw_military_time"/>
2828 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002829 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002830 <data variable="tw_samsung_navbar"/>
2831 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002833 <data variable="tw_simulate_actions"/>
2834 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002835 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002836 <condition var1="tw_simulate_actions" var2="1"/>
2837 <data variable="tw_simulate_fail"/>
2838 </listitem>
2839 </listbox>
2840
2841 <button style="main_button_half_height">
2842 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="restoredefaultsettings"/>
2845 </button>
2846
2847 <action>
2848 <touch key="home"/>
2849 <action function="page">main</action>
2850 </action>
2851
2852 <action>
2853 <touch key="back"/>
2854 <action function="page">main</action>
2855 </action>
2856 </page>
2857
2858 <page name="settings_timezone">
2859 <template name="page"/>
2860
2861 <text style="text_l">
2862 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002864 </text>
2865
2866 <text style="text_m">
2867 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <template name="tabs_settings"/>
2872
2873 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </fill>
2876
2877 <listbox>
2878 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2882 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2883 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2884 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2885 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2886 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2887 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2888 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2889 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2890 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2891 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2892 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2893 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2894 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2895 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2896 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2897 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2898 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2899 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2900 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2901 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2902 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2903 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2904 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listbox>
2906
2907 <text style="text_m_accent">
2908 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002910 </text>
2911
2912 <button style="button_quarter_width">
2913 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 <action function="set">tw_time_zone_guioffset=0</action>
2916 </button>
2917
2918 <button style="button_quarter_width">
2919 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="set">tw_time_zone_guioffset=15</action>
2922 </button>
2923
2924 <button style="button_quarter_width">
2925 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 <action function="set">tw_time_zone_guioffset=30</action>
2928 </button>
2929
2930 <button style="button_quarter_width">
2931 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002933 <action function="set">tw_time_zone_guioffset=45</action>
2934 </button>
2935
2936 <checkbox>
2937 <placement x="%indent%" y="%row18a_y%"/>
2938 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <data variable="tw_time_zone_guidst"/>
2941 <image checked="checkbox_true" unchecked="checkbox_false"/>
2942 </checkbox>
2943
2944 <text color="%text_color%">
2945 <font resource="font_m"/>
2946 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 </text>
2949
2950 <button>
2951 <highlight color="%highlight_color%"/>
2952 <placement x="%center_x%" y="%row21a_y%"/>
2953 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="main_button_half_height"/>
2956 <action function="setguitimezone"/>
2957 </button>
2958
2959 <action>
2960 <touch key="home"/>
2961 <action function="page">main</action>
2962 </action>
2963
2964 <action>
2965 <touch key="back"/>
2966 <action function="page">main</action>
2967 </action>
2968 </page>
2969
2970 <page name="settings_screen">
2971 <template name="page"/>
2972
2973 <text style="text_l">
2974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <template name="tabs_settings"/>
2984
2985 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </fill>
2988
2989 <button>
2990 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
2991 <font resource="font_m" color="%text_color%"/>
2992 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2993 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <image resource="checkbox_false"/>
2996 <action function="set">tw_screen_timeout_secs=60</action>
2997 </button>
2998
2999 <button>
3000 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3001 <font resource="font_m" color="%text_color%"/>
3002 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3003 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="checkbox_true"/>
3006 <action function="set">tw_screen_timeout_secs=0</action>
3007 </button>
3008
3009 <slidervalue>
3010 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3011 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3012 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <condition var1="tw_has_brightnesss_file" var2="1"/>
3019 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <data variable="tw_brightness_pct" min="10" max="100"/>
3022 <actions>
3023 <action function="set">tw_brightness=%tw_brightness_max%</action>
3024 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3025 <action function="compute">tw_brightness/100</action>
3026 <action function="setbrightness">%tw_brightness%</action>
3027 </actions>
3028 </slidervalue>
3029
3030 <action>
3031 <touch key="home"/>
3032 <action function="page">main</action>
3033 </action>
3034
3035 <action>
3036 <touch key="back"/>
3037 <action function="page">main</action>
3038 </action>
3039 </page>
3040
3041 <page name="settings_vibration">
3042 <template name="page"/>
3043
3044 <text style="text_l">
3045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m">
3050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <template name="tabs_settings"/>
3055
3056 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </fill>
3059
3060 <slidervalue>
3061 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <data variable="tw_button_vibrate" min="0" max="300"/>
3064 </slidervalue>
3065
3066 <slidervalue>
3067 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3070 </slidervalue>
3071
3072 <slidervalue>
3073 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_action_vibrate" min="0" max="500"/>
3076 </slidervalue>
3077
3078 <action>
3079 <touch key="home"/>
3080 <action function="page">main</action>
3081 </action>
3082
3083 <action>
3084 <touch key="back"/>
3085 <action function="page">main</action>
3086 </action>
3087 </page>
3088
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <page name="settings_language">
3090 <template name="page"/>
3091
3092 <text style="text_l">
3093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3094 <text>{@settings_hdr=Settings}</text>
3095 </text>
3096
3097 <text style="text_m">
3098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3099 <text>{@language_hdr=Language - %tw_language_display%}</text>
3100 </text>
3101
3102 <template name="tabs_settings"/>
3103
3104 <fill color="%text_color%">
3105 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3106 </fill>
3107
3108 <listbox>
3109 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3110 <text>{@select_language=Select Language:}</text>
3111 <icon selected="radio_true" unselected="radio_false" />
3112 <data name="tw_language" />
3113 </listbox>
3114
3115 <button style="main_button_half_height">
3116 <placement x="%center_x%" y="%row21a_y%"/>
3117 <text>{@set_language_btn=Set Language}</text>
3118 <action function="setlanguage"></action>
3119 </button>
3120
3121 <action>
3122 <touch key="home" />
3123 <action function="page">main</action>
3124 </action>
3125
3126 <action>
3127 <touch key="back" />
3128 <action function="page">settings</action>
3129 </action>
3130 </page>
3131
z31s1g28f0a922015-11-07 18:50:22 +01003132 <page name="advanced">
3133 <template name="page"/>
3134
3135 <text style="text_l">
3136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003137 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003138 </text>
3139
3140 <button style="main_button">
3141 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003142 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003143 <actions>
3144 <action function="set">tw_back=advanced</action>
3145 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3147 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3148 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3149 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <action function="page">confirm_action</action>
3151 </actions>
3152 </button>
3153
3154 <button style="main_button">
3155 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 <action function="page">fixperms</action>
3158 </button>
3159
3160 <button style="main_button">
3161 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3162 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003164 <actions>
3165 <action function="set">partitionlisterror=0</action>
3166 <action function="page">partsdcardsel</action>
3167 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003168 </button>
3169
3170 <button style="main_button">
3171 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 <action function="page">filemanagerlist</action>
3174 </button>
3175
3176 <button style="main_button">
3177 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003179 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </button>
3181
3182 <button style="main_button">
3183 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003184 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003185 <action function="reload"/>
3186 </button>
3187
3188 <button style="main_button">
3189 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003190 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003191 <action function="page">sideload</action>
3192 </button>
3193
3194 <button style="main_button">
3195 <condition var1="tw_show_dumlock" var2="1"/>
3196 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003198 <action function="page">htcdumlock</action>
3199 </button>
3200
3201 <button style="main_button">
3202 <condition var1="tw_has_injecttwrp" var2="1"/>
3203 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003205 <actions>
3206 <action function="set">tw_back=advanced</action>
3207 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3209 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3210 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3211 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <action function="page">confirm_action</action>
3213 </actions>
3214 </button>
3215
3216 <action>
3217 <touch key="home"/>
3218 <action function="page">main</action>
3219 </action>
3220
3221 <action>
3222 <touch key="back"/>
3223 <action function="page">main</action>
3224 </action>
3225 </page>
3226
Ethan Yonker483e9f42016-01-11 22:21:18 -06003227 <page name="partsdcardsel">
3228 <template name="page"/>
3229
3230 <text style="text_l">
3231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3232 <text>{@advanced_hdr=Advanced}</text>
3233 </text>
3234
3235 <text style="text_m">
3236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3237 <text>{@part_sd_hdr=Partition SD Card}</text>
3238 </text>
3239
3240 <partitionlist style="partitionlist_storage">
3241 <text>{@sel_storage_list=Select Storage}</text>
3242 <data name="tw_storage_path"/>
3243 <listtype name="storage"/>
3244 </partitionlist>
3245
3246 <text style="text_m_fail">
3247 <condition var1="partitionlisterror" var2="1"/>
3248 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3249 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3250 </text>
3251
3252 <button style="button_third_width">
3253 <placement x="%dialog_button_x%" y="%row14_y%"/>
3254 <text>{@ok_btn=OK}</text>
3255 <actions>
3256 <action function="getpartitiondetails">tw_storage_path</action>
3257 <action function="page">partsdcardcheck</action>
3258 </actions>
3259 </button>
3260
3261 <action>
3262 <touch key="home"/>
3263 <action function="page">main</action>
3264 </action>
3265
3266 <action>
3267 <touch key="back"/>
3268 <action function="page">advanced</action>
3269 </action>
3270 </page>
3271
3272 <page name="partsdcardcheck">
3273 <action>
3274 <condition var1="tw_partition_removable" op="=" var2="1"/>
3275 <actions>
3276 <action function="set">partitionlisterror=0</action>
3277 <action function="page">partsdcard</action>
3278 </actions>
3279 </action>
3280
3281 <action>
3282 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3283 <actions>
3284 <action function="set">partitionlisterror=1</action>
3285 <action function="page">partsdcardsel</action>
3286 </actions>
3287 </action>
3288 </page>
3289
z31s1g28f0a922015-11-07 18:50:22 +01003290 <page name="partsdcard">
3291 <template name="page"/>
3292
3293 <text style="text_l">
3294 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <text style="text_m">
3299 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 </text>
3302
3303 <text style="text_m_fail">
3304 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 </text>
3307
3308 <text style="text_m_fail">
3309 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </text>
3312
3313 <text style="text_m_accent">
3314 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m">
3319 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3320 <text>%tw_sdext_size%</text>
3321 </text>
3322
3323 <button style="button_quarter_width">
3324 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003326 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </button>
3328
3329 <button style="button_quarter_width">
3330 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003332 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003333 </button>
3334
3335 <text style="text_m_accent">
3336 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003338 </text>
3339
3340 <text style="text_m">
3341 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3342 <text>%tw_swap_size%</text>
3343 </text>
3344
3345 <button style="button_quarter_width">
3346 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003348 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </button>
3350
3351 <button style="button_quarter_width">
3352 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003354 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003355 </button>
3356
3357 <text style="text_m_accent">
3358 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </text>
3361
3362 <text style="text_m">
3363 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3364 <text>%tw_sdpart_file_system%</text>
3365 </text>
3366
3367 <button style="button_quarter_width">
3368 <placement x="%indent%" y="%row14_y%"/>
3369 <text>EXT3</text>
3370 <action function="set">tw_sdpart_file_system=ext3</action>
3371 </button>
3372
3373 <button style="button_quarter_width">
3374 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3375 <text>EXT4</text>
3376 <action function="set">tw_sdpart_file_system=ext4</action>
3377 </button>
3378
3379 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <action function="page">partsdcardaction</action>
3382 <actions>
3383 <action function="set">tw_back=partsdcard</action>
3384 <action function="set">tw_action=partitionsd</action>
3385 <action function="set">tw_has_action2=1</action>
3386 <action function="set">tw_action2=set</action>
3387 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3389 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3390 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003391 <action function="page">action_page</action>
3392 </actions>
3393 </slider>
3394
3395 <action>
3396 <touch key="home"/>
3397 <action function="page">main</action>
3398 </action>
3399
3400 <action>
3401 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003402 <actions>
3403 <action function="set">partitionlisterror=0</action>
3404 <action function="page">partsdcardsel</action>
3405 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003406 </action>
3407 </page>
3408
3409 <page name="htcdumlock">
3410 <template name="page"/>
3411
3412 <text style="text_l">
3413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003414 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003415 </text>
3416
3417 <text style="text_m">
3418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003420 </text>
3421
3422 <button style="main_button_half_height_full_width">
3423 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <actions>
3426 <action function="set">tw_back=htcdumlock</action>
3427 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3429 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3430 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3431 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003432 <action function="page">confirm_action</action>
3433 </actions>
3434 </button>
3435
3436 <button style="main_button_half_height_full_width">
3437 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 <actions>
3440 <action function="set">tw_back=htcdumlock</action>
3441 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3443 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3444 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3445 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003446 <action function="page">confirm_action</action>
3447 </actions>
3448 </button>
3449
3450 <button style="main_button_half_height_full_width">
3451 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <actions>
3454 <action function="set">tw_back=htcdumlock</action>
3455 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3457 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3458 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3459 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003460 <action function="page">confirm_action</action>
3461 </actions>
3462 </button>
3463
3464 <action>
3465 <touch key="home"/>
3466 <action function="page">main</action>
3467 </action>
3468
3469 <action>
3470 <touch key="back"/>
3471 <action function="page">advanced</action>
3472 </action>
3473 </page>
3474
3475 <page name="lock">
3476 <background color="%semi_transparent%"/>
3477
3478 <image>
3479 <image resource="unlock_icon"/>
3480 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3481 </image>
3482
3483 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <action function="overlay"/>
3486 </slider>
3487 </page>
3488
3489 <page name="filemanagerlist">
3490 <template name="page"/>
3491
3492 <text style="text_l">
3493 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 </text>
3496
3497 <text style="text_m">
3498 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 </text>
3501
3502 <template name="sort_options"/>
3503
3504 <fileselector>
3505 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3506 <text>%tw_file_location1%</text>
3507 <filter folders="1" files="1"/>
3508 <path name="tw_file_location1" default="/"/>
3509 <data name="tw_filename1"/>
3510 <selection name="tw_selection1"/>
3511 </fileselector>
3512
3513 <button style="fab">
3514 <image resource="fab_selectfolder"/>
3515 <actions>
3516 <action function="set">tw_filename1=tw_file_location1</action>
3517 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <action function="page">filemanageroptions</action>
3520 </actions>
3521 </button>
3522
3523 <action>
3524 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003525 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003526 <action function="set">tw_fm_isfolder=0</action>
3527 </actions>
3528 </action>
3529
3530 <action>
3531 <touch key="home"/>
3532 <action function="page">main</action>
3533 </action>
3534
3535 <action>
3536 <touch key="back"/>
3537 <action function="page">advanced</action>
3538 </action>
3539
3540 <action>
3541 <condition var1="tw_filename1" op="modified"/>
3542 <action function="page">filemanageroptions</action>
3543 </action>
3544 </page>
3545
3546 <page name="filemanageroptions">
3547 <template name="page"/>
3548
3549 <text style="text_l">
3550 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 </text>
3553
3554 <text style="text_m">
3555 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003556 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003557 </text>
3558
3559 <text style="text_m_accent">
3560 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <text style="text_m">
3565 <placement x="%indent%" y="%row3_y%"/>
3566 <text>%tw_filename1%</text>
3567 </text>
3568
3569 <button style="main_button_half_height">
3570 <condition var1="tw_fm_isfolder" var2="0"/>
3571 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <actions>
3574 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003576 <action function="page">choosedestinationfolder</action>
3577 </actions>
3578 </button>
3579
3580 <button style="main_button_half_height">
3581 <condition var1="tw_fm_isfolder" var2="1"/>
3582 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 <actions>
3585 <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 -05003586 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <action function="page">choosedestinationfolder</action>
3588 </actions>
3589 </button>
3590
3591 <button style="main_button_half_height">
3592 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <actions>
3595 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003597 <action function="page">choosedestinationfolder</action>
3598 </actions>
3599 </button>
3600
3601 <button style="main_button_half_height">
3602 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 <actions>
3605 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <action function="set">tw_fm_text2=</action>
3608 <action function="set">tw_fm_text3=</action>
3609 <action function="set">tw_include_text3=0</action>
3610 <action function="set">tw_back=filemanageroptions</action>
3611 <action function="page">filemanagerconfirm</action>
3612 </actions>
3613 </button>
3614
3615 <button style="main_button_half_height">
3616 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <actions>
3619 <action function="set">tw_filemanager_rename=0000</action>
3620 <action function="set">tw_fm_text2=</action>
3621 <action function="set">tw_fm_text3=</action>
3622 <action function="set">tw_include_text3=0</action>
3623 <action function="set">tw_back=filemanageroptions</action>
3624 <action function="page">filemanagerchmod</action>
3625 </actions>
3626 </button>
3627
3628 <button style="main_button_half_height">
3629 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <actions>
3632 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003634 <action function="set">tw_fm_text2=</action>
3635 <action function="set">tw_fm_text3=</action>
3636 <action function="set">tw_include_text3=0</action>
3637 <action function="set">tw_back=filemanageroptions</action>
3638 <action function="page">filemanagerconfirm</action>
3639 </actions>
3640 </button>
3641
3642 <button style="main_button_half_height">
3643 <condition var1="tw_fm_isfolder" var2="0"/>
3644 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <actions>
3647 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <action function="set">tw_filemanager_command=mv</action>
3650 <action function="page">filemanagerrenamefile</action>
3651 </actions>
3652 </button>
3653
3654 <button style="main_button_half_height">
3655 <condition var1="tw_fm_isfolder" var2="1"/>
3656 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 <actions>
3659 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003661 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3662 <action function="page">filemanagerrenamefolder</action>
3663 </actions>
3664 </button>
3665
3666 <action>
3667 <touch key="home"/>
3668 <action function="page">main</action>
3669 </action>
3670
3671 <action>
3672 <touch key="back"/>
3673 <action function="page">filemanagerlist</action>
3674 </action>
3675 </page>
3676
3677 <page name="choosedestinationfolder">
3678 <template name="page"/>
3679
3680 <text style="text_l">
3681 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003683 </text>
3684
3685 <text style="text_m">
3686 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003688 </text>
3689
3690 <template name="sort_options"/>
3691
3692 <fileselector>
3693 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3694 <text>%tw_file_location2%</text>
3695 <filter folders="1" files="0"/>
3696 <path name="tw_file_location2" default="/"/>
3697 <data name="tw_filename2"/>
3698 <selection name="tw_selection2"/>
3699 </fileselector>
3700
3701 <button style="fab">
3702 <image resource="fab_selectfolder"/>
3703 <actions>
3704 <action function="set">tw_fm_text2=to</action>
3705 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3706 <action function="set">tw_include_text3=1</action>
3707 <action function="set">tw_back=filemanageroptions</action>
3708 <action function="page">filemanagerconfirm</action>
3709 </actions>
3710 </button>
3711
3712 <action>
3713 <touch key="home"/>
3714 <action function="page">main</action>
3715 </action>
3716
3717 <action>
3718 <touch key="back"/>
3719 <action function="page">filemanageroptions</action>
3720 </action>
3721 </page>
3722
3723 <page name="filemanagerrenamefile">
3724 <template name="page"/>
3725
3726 <text style="text_l">
3727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <text style="text_m">
3732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 </text>
3735
3736 <text style="text_m_accent">
3737 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </text>
3740
3741 <input>
3742 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3743 <text>%tw_filemanager_rename%</text>
3744 <data name="tw_filemanager_rename"/>
3745 <restrict minlen="1" maxlen="128"/>
3746 <actions>
3747 <action function="set">tw_fm_text2=to</action>
3748 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3749 <action function="set">tw_include_text3=1</action>
3750 <action function="set">tw_back=filemanageroptions</action>
3751 <action function="page">filemanagerconfirm</action>
3752 </actions>
3753 </input>
3754
3755 <fill color="%accent_color%">
3756 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3757 </fill>
3758
3759 <button style="main_button_half_height">
3760 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003761 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003762 <action function="page">filemanageroptions</action>
3763 </button>
3764
3765 <template name="keyboardtemplate"/>
3766
3767 <action>
3768 <touch key="home"/>
3769 <action function="page">main</action>
3770 </action>
3771
3772 <action>
3773 <touch key="back"/>
3774 <action function="page">filemanageroptions</action>
3775 </action>
3776 </page>
3777
3778 <page name="filemanagerrenamefolder">
3779 <template name="page"/>
3780
3781 <text style="text_l">
3782 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 </text>
3785
3786 <text style="text_m">
3787 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003788 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003789 </text>
3790
3791 <text style="text_m_accent">
3792 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003794 </text>
3795
3796 <input>
3797 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3798 <text>%tw_filemanager_rename%</text>
3799 <data name="tw_filemanager_rename"/>
3800 <restrict minlen="1" maxlen="128"/>
3801 <actions>
3802 <action function="set">tw_fm_text2=to</action>
3803 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3804 <action function="set">tw_include_text3=1</action>
3805 <action function="set">tw_back=filemanageroptions</action>
3806 <action function="page">filemanagerconfirm</action>
3807 </actions>
3808 </input>
3809
3810 <fill color="%accent_color%">
3811 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3812 </fill>
3813
3814 <button style="main_button_half_height">
3815 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003816 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003817 <action function="page">filemanageroptions</action>
3818 </button>
3819
3820 <template name="keyboardtemplate"/>
3821
3822 <action>
3823 <touch key="home"/>
3824 <action function="page">main</action>
3825 </action>
3826
3827 <action>
3828 <touch key="back"/>
3829 <action function="page">filemanageroptions</action>
3830 </action>
3831 </page>
3832
3833 <page name="filemanagerchmod">
3834 <template name="page"/>
3835
3836 <text style="text_l">
3837 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 </text>
3840
3841 <text style="text_m">
3842 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003843 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003844 </text>
3845
3846 <text style="text_m_accent">
3847 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <input>
3852 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3853 <text>%tw_filemanager_rename%</text>
3854 <data name="tw_filemanager_rename"/>
3855 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3856 <actions>
3857 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3858 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3859 <action function="set">tw_back=filemanageroptions</action>
3860 <action function="page">filemanagerconfirm</action>
3861 </actions>
3862 </input>
3863
3864 <fill color="%accent_color%">
3865 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3866 </fill>
3867
3868 <button style="main_button_half_height">
3869 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003871 <action function="page">filemanageroptions</action>
3872 </button>
3873
3874 <template name="keyboardtemplate"/>
3875
3876 <action>
3877 <touch key="home"/>
3878 <action function="page">main</action>
3879 </action>
3880
3881 <action>
3882 <touch key="back"/>
3883 <action function="page">filemanageroptions</action>
3884 </action>
3885 </page>
3886
3887 <page name="filemanagerconfirm">
3888 <template name="page"/>
3889
3890 <text style="text_l">
3891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003892 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003893 </text>
3894
3895 <text style="text_m">
3896 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </text>
3899
3900 <text style="text_m_accent">
3901 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3902 <text>%tw_fm_text1%</text>
3903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3907 <text>%tw_filename1%</text>
3908 </text>
3909
3910 <text style="text_m_accent">
3911 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3912 <text>%tw_fm_text2%</text>
3913 </text>
3914
3915 <text style="text_m">
3916 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3917 <text>%tw_fm_text3%</text>
3918 </text>
3919
3920 <text style="text_m">
3921 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003922 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003923 </text>
3924
3925 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 <action function="page">filemanageraction</action>
3928 </slider>
3929
3930 <action>
3931 <touch key="back"/>
3932 <action function="page">%tw_back%</action>
3933 </action>
3934
3935 <action>
3936 <touch key="home"/>
3937 <action function="page">main</action>
3938 </action>
3939 </page>
3940
3941 <page name="filemanageraction">
3942 <template name="page"/>
3943
3944 <text style="text_l">
3945 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003947 </text>
3948
3949 <text style="text_m">
3950 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3951 <text>%tw_fm_text1%</text>
3952 </text>
3953
3954 <template name="console"/>
3955
3956 <template name="progress_bar"/>
3957
3958 <action>
3959 <conditions>
3960 <condition var1="tw_operation_state" var2="1"/>
3961 <condition var1="tw_operation_status" var2="0"/>
3962 </conditions>
3963 <actions>
3964 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <action function="page">action_complete</action>
3967 </actions>
3968 </action>
3969
3970 <action>
3971 <conditions>
3972 <condition var1="tw_operation_state" var2="1"/>
3973 <condition var1="tw_operation_status" op="!=" var2="0"/>
3974 </conditions>
3975 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003977 <action function="page">action_complete</action>
3978 </actions>
3979 </action>
3980
3981 <action>
3982 <condition var1="tw_include_text3" var2="0"/>
3983 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3984 </action>
3985
3986 <action>
3987 <condition var1="tw_include_text3" var2="1"/>
3988 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3989 </action>
3990 </page>
3991
3992 <page name="decrypt">
3993 <template name="page"/>
3994
3995 <action>
3996 <condition var1="tw_crypto_pwtype" var2="2"/>
3997 <action function="page">decrypt_pattern</action>
3998 </action>
3999
4000 <text style="text_l">
4001 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004002 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004003 </text>
4004
4005 <text style="text_m">
4006 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004008 </text>
4009
4010 <text style="text_m_accent">
4011 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <input>
4016 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4017 <text>%tw_crypto_display%</text>
4018 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4019 <restrict minlen="1" maxlen="254"/>
4020 <action function="page">trydecrypt</action>
4021 </input>
4022
4023 <fill color="%accent_color%">
4024 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4025 </fill>
4026
4027 <fill color="%text_fail_color%">
4028 <condition var1="tw_password_fail" var2="1"/>
4029 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4030 </fill>
4031
4032 <text style="text_m_fail">
4033 <condition var1="tw_password_fail" var2="1"/>
4034 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004036 </text>
4037
4038 <button style="main_button_half_height">
4039 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 <actions>
4042 <action function="set">tw_page_done=1</action>
4043 <action function="page">main</action>
4044 </actions>
4045 </button>
4046
4047 <template name="keyboardtemplate"/>
4048 </page>
4049
4050 <page name="decrypt_pattern">
4051 <template name="page"/>
4052
4053 <text style="text_l">
4054 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004056 </text>
4057
4058 <text style="text_m">
4059 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004061 </text>
4062
4063 <text style="text_m_accent">
4064 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004066 </text>
4067
Aleksa Saraib25a1832015-12-31 17:36:00 +01004068 <text style="text_m_fail">
4069 <condition var1="tw_password_fail" var2="1"/>
4070 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4071 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4072 </text>
4073
z31s1g28f0a922015-11-07 18:50:22 +01004074 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004075 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004076 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4077 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4078 <data name="tw_crypto_password"/>
4079 <action function="page">trydecrypt</action>
4080 </patternpassword>
4081
Aleksa Saraib25a1832015-12-31 17:36:00 +01004082 <button style="button_quarter_width">
4083 <placement x="%indent%" y="%row19a_y%"/>
4084 <text>3x3</text>
4085 <action function="set">tw_gui_pattern_grid_size=3</action>
4086 </button>
4087
4088 <button style="button_quarter_width">
4089 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4090 <text>4x4</text>
4091 <action function="set">tw_gui_pattern_grid_size=4</action>
4092 </button>
4093
4094 <button style="button_quarter_width">
4095 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4096 <text>5x5</text>
4097 <action function="set">tw_gui_pattern_grid_size=5</action>
4098 </button>
4099
4100 <button style="button_quarter_width">
4101 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4102 <text>6x6</text>
4103 <action function="set">tw_gui_pattern_grid_size=6</action>
4104 </button>
4105
z31s1g28f0a922015-11-07 18:50:22 +01004106 <button style="main_button_half_height">
4107 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004108 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004109 <actions>
4110 <action function="set">tw_page_done=1</action>
4111 <action function="page">main</action>
4112 </actions>
4113 </button>
4114 </page>
4115
4116 <page name="trydecrypt">
4117 <template name="page"/>
4118
4119 <text style="text_l">
4120 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004121 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </text>
4123
4124 <text style="text_m">
4125 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004126 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004127 </text>
4128
4129 <template name="console"/>
4130
4131 <template name="progress_bar"/>
4132
4133 <action>
4134 <action function="decrypt"/>
4135 </action>
4136
4137 <action>
4138 <conditions>
4139 <condition var1="tw_operation_state" var2="1"/>
4140 <condition var1="tw_operation_status" op="!=" var2="0"/>
4141 </conditions>
4142 <actions>
4143 <action function="set">tw_password_fail=1</action>
4144 <action function="page">decrypt</action>
4145 </actions>
4146 </action>
4147
4148 <action>
4149 <conditions>
4150 <condition var1="tw_operation_state" var2="1"/>
4151 <condition var1="tw_operation_status" op="=" var2="0"/>
4152 </conditions>
4153 <actions>
4154 <action function="set">tw_page_done=1</action>
4155 <action function="page">main</action>
4156 </actions>
4157 </action>
4158 </page>
4159
z31s1g28f0a922015-11-07 18:50:22 +01004160 <page name="terminalcommand">
4161 <template name="page"/>
4162
z31s1g56189522016-01-13 19:12:40 +01004163 <fill color="%background_color%">
4164 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004165 </fill>
4166
z31s1g56189522016-01-13 19:12:40 +01004167 <terminal>
4168 <condition var1="tw_hide_kb" var2="0"/>
4169 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4170 </terminal>
4171
4172 <terminal>
4173 <condition var1="tw_hide_kb" var2="1"/>
4174 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4175 </terminal>
4176
4177 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004178
4179 <template name="keyboardtemplate"/>
4180
z31s1g56189522016-01-13 19:12:40 +01004181 <object type="fill" color="#000000">
4182 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4183 </object>
4184
4185 <object type="button">
4186 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4187 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4188 <image resource="back" />
4189 <condition var1="tw_busy" var2="0" />
4190 <actions>
4191 <action function="set">tw_hide_kb=0</action>
4192 <action function="key">back</action>
4193 </actions>
4194 </object>
4195
4196 <object type="button">
4197 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4198 <condition var1="tw_hide_kb" op="=" var2="0" />
4199 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4200 <image resource="kb_hide" />
4201 <condition var1="tw_busy" var2="0" />
4202 <actions>
4203 <action function="set">tw_hide_kb=1</action>
4204 <action function="page">terminalcommand</action>
4205 </actions>
4206 </object>
4207
4208 <object type="button">
4209 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4210 <condition var1="tw_hide_kb" op="=" var2="1" />
4211 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4212 <image resource="kb_show" />
4213 <condition var1="tw_busy" var2="0" />
4214 <actions>
4215 <action function="set">tw_hide_kb=0</action>
4216 <action function="page">terminalcommand</action>
4217 </actions>
4218 </object>
4219
4220 <object type="button">
4221 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4222 <image resource="home" />
4223 <condition var1="tw_busy" var2="0" />
4224 <actions>
4225 <action function="set">tw_hide_kb=0</action>
4226 <action function="key">home</action>
4227 </actions>
4228 </object>
4229
4230 <object type="button">
4231 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4232 <condition var1="tw_hide_kb" op="=" var2="0" />
4233 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4234 <image resource="kb_hide" />
4235 <condition var1="tw_busy" var2="0" />
4236 <actions>
4237 <action function="set">tw_hide_kb=1</action>
4238 <action function="page">terminalcommand</action>
4239 </actions>
4240 </object>
4241
4242 <object type="button">
4243 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4244 <condition var1="tw_hide_kb" op="=" var2="1" />
4245 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4246 <image resource="kb_show" />
4247 <condition var1="tw_busy" var2="0" />
4248 <actions>
4249 <action function="set">tw_hide_kb=0</action>
4250 <action function="page">terminalcommand</action>
4251 </actions>
4252 </object>
4253
4254 <object type="button">
4255 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4256 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4257 <image resource="back" />
4258 <condition var1="tw_busy" var2="0" />
4259 <actions>
4260 <action function="set">tw_hide_kb=0</action>
4261 <action function="key">back</action>
4262 </actions>
4263 </object>
4264
z31s1g28f0a922015-11-07 18:50:22 +01004265 <action>
4266 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004267 <actions>
4268 <action function="set">tw_hide_kb=0</action>
4269 <action function="page">main</action>
4270 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004271 </action>
4272
4273 <action>
4274 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004275 <actions>
4276 <action function="set">tw_hide_kb=0</action>
4277 <action function="page">advanced</action>
4278 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004279 </action>
z31s1g56189522016-01-13 19:12:40 +01004280
4281 <object type="action">
4282 <touch key="power+voldown" />
4283 <action function="screenshot" />
4284 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004285 </page>
4286
4287 <page name="sideload">
4288 <template name="page"/>
4289
4290 <text style="text_l">
4291 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004292 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004293 </text>
4294
4295 <text style="text_m">
4296 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004298 </text>
4299
4300 <checkbox>
4301 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004302 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004303 <data variable="tw_wipe_dalvik"/>
4304 </checkbox>
4305
4306 <checkbox>
4307 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004308 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004309 <data variable="tw_wipe_cache"/>
4310 </checkbox>
4311
4312 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004313 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004314 <actions>
4315 <action function="set">tw_back=advanced</action>
4316 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004317 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4318 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4319 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004320 <action function="set">tw_has_cancel=1</action>
4321 <action function="set">tw_show_reboot=1</action>
4322 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4323 <action function="page">action_page</action>
4324 </actions>
4325 </slider>
4326
4327 <action>
4328 <touch key="home"/>
4329 <action function="page">main</action>
4330 </action>
4331
4332 <action>
4333 <touch key="back"/>
4334 <action function="page">advanced</action>
4335 </action>
4336 </page>
4337
4338 <page name="fixperms">
4339 <template name="page"/>
4340
4341 <text style="text_l">
4342 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <text style="text_m">
4347 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 </text>
4350
4351 <text style="text_m_accent">
4352 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 </text>
4355
4356 <checkbox>
4357 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004358 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004359 <data variable="tw_fixperms_restorecon"/>
4360 </checkbox>
4361
4362 <text style="text_m_fail">
4363 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004364 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004365 </text>
4366
4367 <text style="text_m_fail">
4368 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 </text>
4371
4372 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004374 <actions>
4375 <action function="set">tw_back=advanced</action>
4376 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4378 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4379 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004380 <action function="set">tw_show_reboot=1</action>
4381 <action function="page">action_page</action>
4382 </actions>
4383 </slider>
4384
4385 <action>
4386 <touch key="home"/>
4387 <action function="page">main</action>
4388 </action>
4389
4390 <action>
4391 <touch key="back"/>
4392 <action function="page">advanced</action>
4393 </action>
4394 </page>
4395
4396 <page name="installsu">
4397 <template name="page"/>
4398
4399 <text style="text_l">
4400 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 </text>
4403
4404 <text style="text_m">
4405 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <text style="text_m_accent">
4410 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <text style="text_m">
4415 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </text>
4418
4419 <text style="text_m">
4420 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004422 </text>
4423
4424 <button style="main_button_half_height">
4425 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004427 <action function="set">tw_page_done=1</action>
4428 </button>
4429
4430 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 <actions>
4433 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004435 <action function="set">tw_action_text2=</action>
4436 <action function="page">singleaction_page</action>
4437 </actions>
4438 </slider>
4439 </page>
4440
4441 <page name="slideout">
4442 <fill color="%background_color%">
4443 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4444 </fill>
4445
4446 <console>
4447 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4448 </console>
4449
4450 <button>
4451 <fill color="%transparent%"/>
4452 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4453 <action function="overlay"/>
4454 </button>
4455
4456 <action>
4457 <touch key="power+voldown"/>
4458 <action function="screenshot"/>
4459 </action>
4460 </page>
4461
4462 <page name="select_storage">
4463 <fill color="%semi_transparent%">
4464 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4465 </fill>
4466
4467 <fill color="%background_color%">
4468 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4469 </fill>
4470
4471 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004472 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004473 <data name="tw_storage_path"/>
4474 <listtype name="storage"/>
4475 </partitionlist>
4476
4477 <button style="button_third_width">
4478 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 <actions>
4481 <action function="set">tw_clear_destination=%tw_back%</action>
4482 <action function="overlay"/>
4483 <action function="page">clear_vars</action>
4484 </actions>
4485 </button>
4486
4487 <fill color="#000000">
4488 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4489 </fill>
4490
4491 <button>
4492 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4493 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4494 <image resource="back"/>
4495 <condition var1="tw_busy" var2="0"/>
4496 <actions>
4497 <action function="overlay"/>
4498 <action function="key">%tw_back%</action>
4499 </actions>
4500 </button>
4501
4502 <button>
4503 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4504 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4505 <image resource="console"/>
4506 <condition var1="tw_busy" var2="0"/>
4507 <action function="overlay">slideout</action>
4508 </button>
4509
4510 <button>
4511 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4512 <image resource="home"/>
4513 <condition var1="tw_busy" var2="0"/>
4514 <actions>
4515 <action function="overlay"/>
4516 <action function="key">home</action>
4517 </actions>
4518 </button>
4519
4520 <button>
4521 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4522 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4523 <image resource="console"/>
4524 <condition var1="tw_busy" var2="0"/>
4525 <action function="overlay">slideout</action>
4526 </button>
4527
4528 <button>
4529 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4530 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4531 <image resource="back"/>
4532 <condition var1="tw_busy" var2="0"/>
4533 <actions>
4534 <action function="overlay"/>
4535 <action function="key">%tw_back%</action>
4536 </actions>
4537 </button>
4538
4539 <action>
4540 <touch key="power+voldown"/>
4541 <action function="screenshot"/>
4542 </action>
4543 </page>
4544 </pages>
4545</recovery>