blob: 03e3982a2d2168b0e1d9d9548b95922fa3ad7125 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
bigbiffa869fc72016-03-01 19:40:36 -0500389 <placement x="%indent%" y="%row13a_y%" />
390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
391 <data variable="tw_install_reboot" />
392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
503 <action function="set">tw_action=reboot</action>
504 <action function="set">tw_action_param=system</action>
505 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500506 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
507 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100508 <action function="set">tw_text3=</action>
509 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500510 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100511 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
513 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100514 <action function="page">rebootcheck</action>
515 </actions>
516 </button>
517
518 <action>
519 <touch key="back"/>
520 <actions>
521 <action function="set">tw_clear_destination=install</action>
522 <action function="page">clear_vars</action>
523 </actions>
524 </action>
525
526 <action>
527 <touch key="home"/>
528 <actions>
529 <action function="set">tw_clear_destination=main2</action>
530 <action function="page">clear_vars</action>
531 </actions>
532 </action>
533 </page>
534
535 <page name="flashimage_confirm">
536 <template name="page"/>
537
538 <text style="text_l">
539 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500540 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100541 </text>
542
543 <text style="text_m">
544 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500545 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100546 </text>
547
548 <text style="text_m_accent">
549 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100551 </text>
552
553 <text style="text_m">
554 <placement x="%indent%" y="%row3_y%"/>
555 <text>%tw_zip_location%</text>
556 </text>
557
558 <text style="text_m_accent">
559 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100561 </text>
562
563 <text style="text_m">
564 <placement x="%indent%" y="%row5a_y%"/>
565 <text>%tw_file%</text>
566 </text>
567
568 <partitionlist>
569 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
570 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500571 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100572 <data name="tw_flash_partition"/>
573 <listtype name="flashimg"/>
574 </partitionlist>
575
576 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500577 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100578 <actions>
579 <action function="set">tw_back=flashimage_confirm</action>
580 <action function="set">tw_action=flashimage</action>
581 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500582 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100583 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500584 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100585 <action function="page">action_page</action>
586 </actions>
587 <action function="flashimage"/>
588 </slider>
589
590 <action>
591 <touch key="back"/>
592 <actions>
593 <action function="set">tw_clear_destination=install</action>
594 <action function="page">clear_vars</action>
595 </actions>
596 </action>
597
598 <action>
599 <touch key="home"/>
600 <actions>
601 <action function="set">tw_clear_destination=main2</action>
602 <action function="page">clear_vars</action>
603 </actions>
604 </action>
605 </page>
606
607 <page name="clear_vars">
608 <action>
609 <action function="set">tw_operation_state=0</action>
610 <action function="set">tw_text1=</action>
611 <action function="set">tw_text2=</action>
612 <action function="set">tw_text3=</action>
613 <action function="set">tw_text4=</action>
614 <action function="set">tw_action_text1=</action>
615 <action function="set">tw_action_text2=</action>
616 <action function="set">tw_action_param=</action>
617 <action function="set">tw_has_action2=0</action>
618 <action function="set">tw_action2=</action>
619 <action function="set">tw_action2_param=</action>
620 <action function="set">tw_has_cancel=0</action>
621 <action function="set">tw_cancel_action=</action>
622 <action function="set">tw_cancel_param=</action>
623 <action function="set">tw_show_exclamation=0</action>
624 <action function="set">tw_show_reboot=0</action>
625 <action function="page">%tw_clear_destination%</action>
626 </action>
627 </page>
628
629 <page name="confirm_action">
630 <template name="page"/>
631
632 <text style="text_l">
633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100635 </text>
636
637 <text style="text_m">
638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
639 <text/>
640 </text>
641
642 <text style="text_m_accent">
643 <placement x="%center_x%" y="%row2_y%" placement="5"/>
644 <text>%tw_text1%</text>
645 </text>
646
647 <text style="text_m_accent">
648 <placement x="%center_x%" y="%row3_y%" placement="5"/>
649 <text>%tw_text2%</text>
650 </text>
651
652 <text style="text_m">
653 <placement x="%center_x%" y="%row4_y%" placement="5"/>
654 <text>%tw_text3%</text>
655 </text>
656
657 <text style="text_m">
658 <placement x="%center_x%" y="%row5_y%" placement="5"/>
659 <text>%tw_text4%</text>
660 </text>
661
662 <text style="text_m">
663 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500664 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100665 </text>
666
667 <slider>
668 <text>%tw_slider_text%</text>
669 <action function="page">action_page</action>
670 </slider>
671
672 <action>
673 <touch key="back"/>
674 <actions>
675 <action function="set">tw_clear_destination=%tw_back%</action>
676 <action function="page">clear_vars</action>
677 </actions>
678 </action>
679
680 <action>
681 <touch key="home"/>
682 <action function="page">main</action>
683 </action>
684 </page>
685
686 <page name="action_page">
687 <template name="page"/>
688
689 <text style="text_l">
690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
691 <text>%tw_action_text1%</text>
692 </text>
693
694 <text style="text_m">
695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
696 <text>%tw_action_text2%</text>
697 </text>
698
699 <template name="console"/>
700
701 <template name="progress_bar"/>
702
703 <button style="main_button_half_height">
704 <condition var1="tw_has_cancel" var2="1"/>
705 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500706 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100707 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
708 </button>
709
710 <action>
711 <condition var1="tw_operation_state" var2="1"/>
712 <actions>
713 <action function="page">action_complete</action>
714 </actions>
715 </action>
716
717 <action>
718 <condition var1="tw_has_action2" var2="0"/>
719 <actions>
720 <action function="%tw_action%">%tw_action_param%</action>
721 </actions>
722 </action>
723
724 <action>
725 <condition var1="tw_has_action2" var2="1"/>
726 <actions>
727 <action function="%tw_action%">%tw_action_param%</action>
728 <action function="%tw_action2%">%tw_action2_param%</action>
729 </actions>
730 </action>
731 </page>
732
733 <page name="singleaction_page">
734 <template name="page"/>
735
736 <text style="text_l">
737 <placement x="%col1_x_header%" y="%row3_header_y%"/>
738 <text>%tw_action_text1%</text>
739 </text>
740
741 <text style="text_m">
742 <placement x="%col1_x_header%" y="%row4_header_y%"/>
743 <text>%tw_action_text2%</text>
744 </text>
745
746 <template name="console"/>
747
748 <template name="progress_bar"/>
749
750 <action>
751 <condition var1="tw_operation_state" var2="1"/>
752 <actions>
753 <action function="set">tw_page_done=1</action>
754 </actions>
755 </action>
756
757 <action>
758 <condition var1="tw_has_action2" var2="0"/>
759 <actions>
760 <action function="%tw_action%">%tw_action_param%</action>
761 </actions>
762 </action>
763
764 <action>
765 <condition var1="tw_has_action2" var2="1"/>
766 <actions>
767 <action function="%tw_action%">%tw_action_param%</action>
768 <action function="%tw_action2%">%tw_action2_param%</action>
769 </actions>
770 </action>
771 </page>
772
773 <page name="action_complete">
774 <template name="page"/>
775
776 <text style="text_l">
777 <placement x="%col1_x_header%" y="%row3_header_y%"/>
778 <text>%tw_complete_text1%</text>
779 </text>
780
781 <text style="text_m_fail">
782 <condition var1="tw_operation_status" op="!=" var2="0"/>
783 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500784 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100785 </text>
786
787 <text style="text_m">
788 <condition var1="tw_operation_status" var2="0"/>
789 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500790 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100791 </text>
792
793 <template name="console"/>
794
795 <button style="main_button_half_height">
796 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500797 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100798 <actions>
799 <action function="set">tw_clear_destination=%tw_back%</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </button>
803
804 <button style="main_button_half_height">
805 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100807 <actions>
808 <action function="set">tw_back=main2</action>
809 <action function="set">tw_action=reboot</action>
810 <action function="set">tw_action_param=system</action>
811 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500812 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
813 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100814 <action function="set">tw_text3=</action>
815 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500816 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100817 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500818 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
819 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100820 <action function="page">rebootcheck</action>
821 </actions>
822 </button>
823
824 <action>
825 <touch key="home"/>
826 <actions>
827 <action function="set">tw_clear_destination=main2</action>
828 <action function="page">clear_vars</action>
829 </actions>
830 </action>
831
832 <action>
833 <touch key="back"/>
834 <actions>
835 <action function="set">tw_clear_destination=%tw_back%</action>
836 <action function="page">clear_vars</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="filecheck">
842 <action>
843 <action function="fileexists">%tw_filecheck%</action>
844 </action>
845
846 <action>
847 <conditions>
848 <condition var1="tw_operation_state" var2="1"/>
849 <condition var1="tw_operation_status" var2="0"/>
850 </conditions>
851 <actions>
852 <action function="set">tw_fileexists=1</action>
853 <action function="page">%tw_existpage%</action>
854 </actions>
855 </action>
856
857 <action>
858 <conditions>
859 <condition var1="tw_operation_state" var2="1"/>
860 <condition var1="tw_operation_status" var2="1"/>
861 </conditions>
862 <actions>
863 <action function="set">tw_fileexists=0</action>
864 <action function="page">%tw_notexistpage%</action>
865 </actions>
866 </action>
867 </page>
868
869 <page name="rebootcheck">
870 <action>
871 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
872 <action function="reboot">%tw_action_param%</action>
873 </action>
874
875 <action>
876 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
877 <action function="page">confirm_action</action>
878 </action>
879 </page>
880
881 <page name="wipe">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500886 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100887 </text>
888
889 <text style="text_m">
890 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500891 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100892 </text>
893
894 <text style="text_m_accent">
895 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500896 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100897 </text>
898
899 <text style="text_m_accent">
900 <condition var1="tw_has_data_media" var2="1"/>
901 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500902 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100903 </text>
904
905 <text style="text_m_accent">
906 <conditions>
907 <condition var1="tw_has_android_secure" var2="1"/>
908 <condition var1="fileexists" var2="/and-sec"/>
909 </conditions>
910 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 </text>
913
914 <text style="text_m_accent">
915 <condition var1="tw_has_sdext_partition" var2="1"/>
916 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500917 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100918 </text>
919
920 <text style="text_m">
921 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <text style="text_m">
926 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500927 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </text>
929
930 <text style="text_m">
931 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500932 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100933 </text>
934
935 <button style="main_button_half_height">
936 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500937 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100938 <actions>
939 <action function="set">partitionlisterror=0</action>
940 <action function="page">advancedwipe</action>
941 </actions>
942 </button>
943
944 <button style="main_button_half_height">
945 <condition var1="tw_has_data_media" var2="1"/>
946 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500947 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100948 <action function="page">formatdata</action>
949 </button>
950
951 <button style="main_button_half_height">
952 <conditions>
953 <condition var1="tw_is_encrypted" var2="1"/>
954 <condition var1="tw_has_data_media" var2="0"/>
955 </conditions>
956 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500957 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100958 <actions>
959 <action function="set">tw_back=wipe</action>
960 <action function="set">tw_action=wipe</action>
961 <action function="set">tw_action_param=DATAMEDIA</action>
962 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100964 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500965 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
966 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
967 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100968 <action function="page">confirm_action</action>
969 </actions>
970 </button>
971
972 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <actions>
975 <action function="set">tw_back=wipe</action>
976 <action function="set">tw_action=wipe</action>
977 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500978 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
979 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100980 <action function="page">action_page</action>
981 </actions>
982 </slider>
983
984 <action>
985 <touch key="back"/>
986 <action function="page">main</action>
987 </action>
988
989 <action>
990 <touch key="home"/>
991 <action function="page">main</action>
992 </action>
993 </page>
994
995 <page name="advancedwipe">
996 <template name="page"/>
997
998 <action>
999 <action function="set">tw_wipe_list=</action>
1000 </action>
1001
1002 <text style="text_l">
1003 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m">
1008 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001009 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001010 </text>
1011
1012 <partitionlist>
1013 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 <data name="tw_wipe_list"/>
1016 <listtype name="wipe"/>
1017 </partitionlist>
1018
1019 <text style="text_m_fail">
1020 <condition var1="partitionlisterror" var2="1"/>
1021 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <button style="main_button_half_height_full_width">
1026 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001029 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001030 <action function="page">checkpartitionlist</action>
1031 </actions>
1032 </button>
1033
1034 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 <actions>
1037 <action function="set">tw_back=advancedwipe</action>
1038 <action function="set">tw_action=wipe</action>
1039 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1041 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1042 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001043 <action function="page">action_page</action>
1044 </actions>
1045 </slider>
1046
1047 <action>
1048 <touch key="home"/>
1049 <action function="page">main</action>
1050 </action>
1051
1052 <action>
1053 <touch key="back"/>
1054 <action function="page">wipe</action>
1055 </action>
1056 </page>
1057
1058 <page name="formatdata">
1059 <template name="page"/>
1060
1061 <text style="text_l">
1062 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 </text>
1065
1066 <text style="text_m">
1067 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 </text>
1070
1071 <text style="text_m_fail">
1072 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 </text>
1075
1076 <text style="text_m_fail">
1077 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 </text>
1080
1081 <text style="text_m_fail">
1082 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 </text>
1085
Ethan Yonker66a19492015-12-10 10:19:45 -06001086 <text style="text_m_fail">
1087 <condition var1="tw_has_adopted_storage" var2="1"/>
1088 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1089 <text>{@format_data_adopted=Including Adopted Storage}</text>
1090 </text>
1091
z31s1g28f0a922015-11-07 18:50:22 +01001092 <text style="text_m">
1093 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001094 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001095 </text>
1096
1097 <text style="text_m">
1098 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <input>
1103 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1104 <text>%tw_confirm_formatdata%</text>
1105 <data name="tw_confirm_formatdata"/>
1106 <restrict minlen="3" maxlen="3" allow="yes"/>
1107 <action function="page">formatdata_confirm</action>
1108 </input>
1109
1110 <fill color="%accent_color%">
1111 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1112 </fill>
1113
1114 <template name="keyboardtemplate"/>
1115
1116 <action>
1117 <touch key="home"/>
1118 <action function="page">main</action>
1119 </action>
1120
1121 <action>
1122 <touch key="back"/>
1123 <action function="page">wipe</action>
1124 </action>
1125 </page>
1126
1127 <page name="formatdata_confirm">
1128 <action>
1129 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1130 <actions>
1131 <action function="set">tw_back=formatdata</action>
1132 <action function="set">tw_action=wipe</action>
1133 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1135 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001136 <action function="page">action_page</action>
1137 </actions>
1138 </action>
1139
1140 <action>
1141 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1142 <action function="page">formatdata</action>
1143 </action>
1144 </page>
1145
1146 <page name="checkpartitionlist">
1147 <action>
1148 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1149 <actions>
1150 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001151 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001152 <action function="page">partitionoptions</action>
1153 </actions>
1154 </action>
1155
1156 <action>
1157 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1158 <actions>
1159 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001160 <action function="page">advancedwipe</action>
1161 </actions>
1162 </action>
1163 </page>
1164
1165 <page name="partitionoptions">
1166 <template name="page"/>
1167
1168 <text style="text_l">
1169 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 </text>
1172
1173 <text style="text_m">
1174 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001175 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001176 </text>
1177
1178 <text style="text_m_accent">
1179 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m_accent">
1184 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
1188 <text style="text_m">
1189 <condition var1="tw_partition_is_present" var2="1"/>
1190 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <condition var1="tw_partition_is_present" var2="0"/>
1196 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <condition var1="tw_partition_removable" var2="1"/>
1202 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
1206 <text style="text_m">
1207 <condition var1="tw_partition_removable" var2="0"/>
1208 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 </text>
1211
1212 <text style="text_m">
1213 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <text style="text_m">
1223 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001224 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001225 </text>
1226
1227 <text style="text_m">
1228 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 </text>
1231
1232 <button style="main_button_half_height">
1233 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1234 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 <actions>
1237 <action function="set">tw_back=partitionoptions</action>
1238 <action function="set">tw_action=resize</action>
1239 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1240 <action function="set">tw_has_action2=1</action>
1241 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001242 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001244 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1246 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1247 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001248 <action function="page">confirm_action</action>
1249 </actions>
1250 </button>
1251
1252 <button style="main_button_half_height">
1253 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1254 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <actions>
1257 <action function="set">tw_back=partitionoptions</action>
1258 <action function="set">tw_action=repair</action>
1259 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1260 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1264 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1265 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001266 <action function="page">confirm_action</action>
1267 </actions>
1268 </button>
1269
1270 <button style="main_button_half_height">
1271 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <action function="page">selectfilesystem</action>
1274 </button>
1275
1276 <action>
1277 <touch key="home"/>
1278 <action function="page">main</action>
1279 </action>
1280
1281 <action>
1282 <touch key="back"/>
1283 <action function="page">advancedwipe</action>
1284 </action>
1285 </page>
1286
1287 <page name="refreshfilesystem">
1288 <action>
1289 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1290 <actions>
1291 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001292 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <action function="page">selectfilesystem</action>
1294 </actions>
1295 </action>
1296
1297 <action>
1298 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1299 <actions>
1300 <action function="set">partitionlisterror=1</action>
1301 <action function="set">tw_wipe_list=</action>
1302 <action function="page">advancedwipe</action>
1303 </actions>
1304 </action>
1305 </page>
1306
1307 <page name="selectfilesystem">
1308 <template name="page"/>
1309
1310 <text style="text_l">
1311 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m_accent">
1321 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m_accent">
1326 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m_fail">
1331 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <text style="text_m_fail">
1336 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 </text>
1339
1340 <button style="main_button_half_height">
1341 <condition var1="tw_partition_ext" op="=" var2="1"/>
1342 <placement x="%indent%" y="%row15a_y%"/>
1343 <text>EXT2</text>
1344 <actions>
1345 <action function="set">tw_back=refreshfilesystem</action>
1346 <action function="set">tw_action=changefilesystem</action>
1347 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1348 <action function="set">tw_action_new_file_system=ext2</action>
1349 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1351 <action function="set">tw_text2=EXT2</action>
1352 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1353 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1354 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001355 <action function="page">confirm_action</action>
1356 </actions>
1357 </button>
1358
1359 <button style="main_button_half_height">
1360 <condition var1="tw_partition_ext" op="=" var2="1"/>
1361 <placement x="%indent%" y="%row18a_y%"/>
1362 <text>EXT3</text>
1363 <actions>
1364 <action function="set">tw_back=refreshfilesystem</action>
1365 <action function="set">tw_action=changefilesystem</action>
1366 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1367 <action function="set">tw_action_new_file_system=ext3</action>
1368 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1370 <action function="set">tw_text2=EXT3</action>
1371 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1372 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1373 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001374 <action function="page">confirm_action</action>
1375 </actions>
1376 </button>
1377
1378 <button style="main_button_half_height">
1379 <condition var1="tw_partition_ext" op="=" var2="1"/>
1380 <placement x="%indent%" y="%row21a_y%"/>
1381 <text>EXT4</text>
1382 <actions>
1383 <action function="set">tw_back=refreshfilesystem</action>
1384 <action function="set">tw_action=changefilesystem</action>
1385 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1386 <action function="set">tw_action_new_file_system=ext4</action>
1387 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1389 <action function="set">tw_text2=EXT4</action>
1390 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1391 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1392 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">confirm_action</action>
1394 </actions>
1395 </button>
1396
1397 <button style="main_button_half_height">
1398 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1399 <placement x="%center_x%" y="%row15a_y%"/>
1400 <text>FAT</text>
1401 <actions>
1402 <action function="set">tw_back=refreshfilesystem</action>
1403 <action function="set">tw_action=changefilesystem</action>
1404 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1405 <action function="set">tw_action_new_file_system=vfat</action>
1406 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1408 <action function="set">tw_text2=FAT</action>
1409 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1410 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1411 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <action function="page">confirm_action</action>
1413 </actions>
1414 </button>
1415
1416 <button style="main_button_half_height">
1417 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1418 <placement x="%center_x%" y="%row18a_y%"/>
1419 <text>exFAT</text>
1420 <actions>
1421 <action function="set">tw_back=refreshfilesystem</action>
1422 <action function="set">tw_action=changefilesystem</action>
1423 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1424 <action function="set">tw_action_new_file_system=exfat</action>
1425 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001426 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1427 <action function="set">tw_text2=exFAT</action>
1428 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1429 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1430 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001431 <action function="page">confirm_action</action>
1432 </actions>
1433 </button>
1434
1435 <button style="main_button_half_height">
1436 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1437 <placement x="%center_x%" y="%row21a_y%"/>
1438 <text>F2FS</text>
1439 <actions>
1440 <action function="set">tw_back=refreshfilesystem</action>
1441 <action function="set">tw_action=changefilesystem</action>
1442 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1443 <action function="set">tw_action_new_file_system=f2fs</action>
1444 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1446 <action function="set">tw_text2=F2FS</action>
1447 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1448 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1449 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001450 <action function="page">confirm_action</action>
1451 </actions>
1452 </button>
1453
1454 <action>
1455 <touch key="home"/>
1456 <action function="page">main</action>
1457 </action>
1458
1459 <action>
1460 <touch key="back"/>
1461 <action function="page">partitionoptions</action>
1462 </action>
1463 </page>
1464
1465 <page name="backup">
1466 <template name="page"/>
1467
1468 <text style="text_l">
1469 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001471 </text>
1472
1473 <text style="text_m">
1474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001475 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001476 </text>
1477
1478 <template name="tabs_backup"/>
1479
1480 <fill color="%text_color%">
1481 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1482 </fill>
1483
1484 <button style="tab">
1485 <conditions>
1486 <condition var1="tw_include_encrypted_backup" var2="1"/>
1487 <condition var1="tw_encrypt_backup" var2="0"/>
1488 </conditions>
1489 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 <font resource="font_s" color="%text_color%"/>
1492 <actions>
1493 <action function="set">tw_password_not_match=0</action>
1494 <action function="page">backupencryption</action>
1495 </actions>
1496 </button>
1497
1498 <button style="tab">
1499 <conditions>
1500 <condition var1="tw_include_encrypted_backup" var2="1"/>
1501 <condition var1="tw_encrypt_backup" var2="1"/>
1502 </conditions>
1503 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001504 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001505 <font resource="font_s" color="%text_success_color%"/>
1506 <actions>
1507 <action function="set">tw_password_not_match=0</action>
1508 <action function="page">backupencryption</action>
1509 </actions>
1510 </button>
1511
1512 <text style="text_m_accent">
1513 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m">
1518 <placement x="%indent%" y="%row4a_y%"/>
1519 <text>%tw_backup_name%</text>
1520 </text>
1521
1522 <fill color="%fileselector_linecolor%">
1523 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1524 </fill>
1525
1526 <button>
1527 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1528 <fill color="%transparent%"/>
1529 <actions>
1530 <action function="set">tw_fileexists=0</action>
1531 <action function="page">backupname1</action>
1532 </actions>
1533 </button>
1534
1535 <partitionlist>
1536 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001538 <data name="tw_backup_list"/>
1539 <listtype name="backup"/>
1540 </partitionlist>
1541
1542 <button style="main_button_half_height">
1543 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001544 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001545 <actions>
1546 <action function="set">tw_back=backup</action>
1547 <action function="overlay">select_storage</action>
1548 </actions>
1549 </button>
1550
1551 <button style="main_button_half_height">
1552 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 <actions>
1555 <action function="refreshsizes"/>
1556 <action function="page">backup</action>
1557 </actions>
1558 </button>
1559
1560 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001561 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001562 <action function="page">backup_run</action>
1563 </slider>
1564
1565 <action>
1566 <touch key="home"/>
1567 <action function="page">main</action>
1568 </action>
1569
1570 <action>
1571 <touch key="back"/>
1572 <action function="page">main</action>
1573 </action>
1574 </page>
1575
1576 <page name="backup_options">
1577 <template name="page"/>
1578
1579 <text style="text_l">
1580 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001581 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001582 </text>
1583
1584 <text style="text_m">
1585 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001586 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001587 </text>
1588
1589 <template name="tabs_backup"/>
1590
1591 <fill color="%text_color%">
1592 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1593 </fill>
1594
1595 <button style="tab">
1596 <conditions>
1597 <condition var1="tw_include_encrypted_backup" var2="1"/>
1598 <condition var1="tw_encrypt_backup" var2="0"/>
1599 </conditions>
1600 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <font resource="font_s" color="%text_color%"/>
1603 <actions>
1604 <action function="set">tw_password_not_match=0</action>
1605 <action function="page">backupencryption</action>
1606 </actions>
1607 </button>
1608
1609 <button style="tab">
1610 <conditions>
1611 <condition var1="tw_include_encrypted_backup" var2="1"/>
1612 <condition var1="tw_encrypt_backup" var2="1"/>
1613 </conditions>
1614 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001616 <font resource="font_s" color="%text_success_color%"/>
1617 <actions>
1618 <action function="set">tw_password_not_match=0</action>
1619 <action function="page">backupencryption</action>
1620 </actions>
1621 </button>
1622
1623 <checkbox>
1624 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <data variable="tw_use_compression"/>
1627 </checkbox>
1628
1629 <checkbox>
1630 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 <data variable="tw_skip_md5_generate"/>
1633 </checkbox>
1634
1635 <checkbox>
1636 <placement x="%indent%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001637 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001638 <data variable="tw_disable_free_space"/>
1639 </checkbox>
1640
1641 <action>
1642 <touch key="home"/>
1643 <action function="page">main</action>
1644 </action>
1645
1646 <action>
1647 <touch key="back"/>
1648 <action function="page">backup</action>
1649 </action>
1650 </page>
1651
1652 <page name="backupname1">
1653 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001655 <action function="generatebackupname"/>
1656 </action>
1657
1658 <action>
1659 <action function="page">backupname2</action>
1660 </action>
1661 </page>
1662
1663 <page name="backupname2">
1664 <template name="page"/>
1665
1666 <text style="text_l">
1667 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </text>
1675
1676 <template name="tabs_backup"/>
1677
1678 <fill color="%text_color%">
1679 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1680 </fill>
1681
1682 <button style="tab">
1683 <conditions>
1684 <condition var1="tw_include_encrypted_backup" var2="1"/>
1685 <condition var1="tw_encrypt_backup" var2="0"/>
1686 </conditions>
1687 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001688 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001689 <font resource="font_s" color="%text_color%"/>
1690 <actions>
1691 <action function="set">tw_password_not_match=0</action>
1692 <action function="page">backupencryption</action>
1693 </actions>
1694 </button>
1695
1696 <button style="tab">
1697 <conditions>
1698 <condition var1="tw_include_encrypted_backup" var2="1"/>
1699 <condition var1="tw_encrypt_backup" var2="1"/>
1700 </conditions>
1701 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001702 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001703 <font resource="font_s" color="%text_success_color%"/>
1704 <actions>
1705 <action function="set">tw_password_not_match=0</action>
1706 <action function="page">backupencryption</action>
1707 </actions>
1708 </button>
1709
1710 <text style="text_m_accent">
1711 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001712 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001713 </text>
1714
1715 <input>
1716 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1717 <text>%tw_backup_name%</text>
1718 <data name="tw_backup_name"/>
1719 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1720 <actions>
1721 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1722 <action function="set">tw_existpage=backupname2</action>
1723 <action function="set">tw_notexistpage=backup</action>
1724 <action function="page">filecheck</action>
1725 </actions>
1726 </input>
1727
1728 <fill color="%accent_color%">
1729 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1730 </fill>
1731
1732 <fill color="%text_fail_color%">
1733 <condition var1="tw_fileexists" var2="1"/>
1734 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1735 </fill>
1736
1737 <text style="text_m_fail">
1738 <condition var1="tw_fileexists" var2="1"/>
1739 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </text>
1742
1743 <button style="main_button_half_height">
1744 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001748 <action function="page">backup</action>
1749 </actions>
1750 </button>
1751
1752 <button style="main_button_half_height">
1753 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001754 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001755 <action function="appenddatetobackupname"/>
1756 </button>
1757
1758 <template name="keyboardtemplate"/>
1759
1760 <action>
1761 <touch key="home"/>
1762 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <action function="page">main</action>
1765 </actions>
1766 </action>
1767
1768 <action>
1769 <touch key="back"/>
1770 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001771 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001772 <action function="page">backup</action>
1773 </actions>
1774 </action>
1775 </page>
1776
1777 <page name="backupencryption">
1778 <template name="page"/>
1779
1780 <text style="text_l">
1781 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001782 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001783 </text>
1784
1785 <text style="text_m">
1786 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001787 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001788 </text>
1789
1790 <template name="tabs_backup"/>
1791
1792 <button style="tab">
1793 <conditions>
1794 <condition var1="tw_include_encrypted_backup" var2="1"/>
1795 <condition var1="tw_encrypt_backup" var2="0"/>
1796 </conditions>
1797 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001798 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001799 <font resource="font_s" color="%text_color%"/>
1800 <actions>
1801 <action function="set">tw_password_not_match=0</action>
1802 <action function="page">backupencryption</action>
1803 </actions>
1804 </button>
1805
1806 <button style="tab">
1807 <conditions>
1808 <condition var1="tw_include_encrypted_backup" var2="1"/>
1809 <condition var1="tw_encrypt_backup" var2="1"/>
1810 </conditions>
1811 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001812 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001813 <font resource="font_s" color="%text_success_color%"/>
1814 <actions>
1815 <action function="set">tw_password_not_match=0</action>
1816 <action function="page">backupencryption</action>
1817 </actions>
1818 </button>
1819
1820 <fill color="%text_color%">
1821 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1822 </fill>
1823
1824 <text style="text_m_accent">
1825 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 </text>
1828
1829 <text style="text_m">
1830 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <input>
1835 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1836 <text>%tw_backup_encrypt_display%</text>
1837 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1838 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1839 <action function="page">backupencryption2</action>
1840 </input>
1841
1842 <fill color="%accent_color%">
1843 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1844 </fill>
1845
1846 <fill color="%text_fail_color%">
1847 <condition var1="tw_password_not_match" var2="1"/>
1848 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1849 </fill>
1850
1851 <text style="text_m_fail">
1852 <condition var1="tw_password_not_match" var2="1"/>
1853 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001854 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001855 </text>
1856
1857 <button style="main_button_half_height">
1858 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001859 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001860 <actions>
1861 <action function="set">tw_encrypt_backup=0</action>
1862 <action function="set">tw_backup_password=</action>
1863 <action function="set">tw_backup_password2=</action>
1864 <action function="set">tw_backup_encrypt_display=</action>
1865 <action function="set">tw_backup_encrypt_display2=</action>
1866 <action function="page">backup</action>
1867 </actions>
1868 </button>
1869
1870 <template name="keyboardtemplate"/>
1871
1872 <action>
1873 <touch key="home"/>
1874 <action function="page">main</action>
1875 </action>
1876
1877 <action>
1878 <touch key="back"/>
1879 <action function="page">backup</action>
1880 </action>
1881 </page>
1882
1883 <page name="backupencryption2">
1884 <template name="page"/>
1885
1886 <text style="text_l">
1887 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001889 </text>
1890
1891 <text style="text_m">
1892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <template name="tabs_backup"/>
1897
1898 <button style="tab">
1899 <conditions>
1900 <condition var1="tw_include_encrypted_backup" var2="1"/>
1901 <condition var1="tw_encrypt_backup" var2="0"/>
1902 </conditions>
1903 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001905 <font resource="font_s" color="%text_color%"/>
1906 <actions>
1907 <action function="set">tw_password_not_match=0</action>
1908 <action function="page">backupencryption</action>
1909 </actions>
1910 </button>
1911
1912 <button style="tab">
1913 <conditions>
1914 <condition var1="tw_include_encrypted_backup" var2="1"/>
1915 <condition var1="tw_encrypt_backup" var2="1"/>
1916 </conditions>
1917 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001919 <font resource="font_s" color="%text_success_color%"/>
1920 <actions>
1921 <action function="set">tw_password_not_match=0</action>
1922 <action function="page">backupencryption</action>
1923 </actions>
1924 </button>
1925
1926 <fill color="%text_color%">
1927 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1928 </fill>
1929
1930 <text style="text_m_accent">
1931 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001933 </text>
1934
1935 <text style="text_m">
1936 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </text>
1939
1940 <input>
1941 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1942 <text>%tw_backup_encrypt_display2%</text>
1943 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1944 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1945 <action function="page">checkbackuppassword</action>
1946 </input>
1947
1948 <fill color="%accent_color%">
1949 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1950 </fill>
1951
1952 <button style="main_button_half_height">
1953 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001954 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001955 <actions>
1956 <action function="set">tw_encrypt_backup=0</action>
1957 <action function="set">tw_backup_password=</action>
1958 <action function="set">tw_backup_password2=</action>
1959 <action function="set">tw_backup_encrypt_display=</action>
1960 <action function="set">tw_backup_encrypt_display2=</action>
1961 <action function="page">backup</action>
1962 </actions>
1963 </button>
1964
1965 <template name="keyboardtemplate"/>
1966
1967 <action>
1968 <touch key="home"/>
1969 <action function="page">main</action>
1970 </action>
1971
1972 <action>
1973 <touch key="back"/>
1974 <action function="page">backup</action>
1975 </action>
1976 </page>
1977
1978 <page name="checkbackuppassword">
1979 <action>
1980 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1981 <actions>
1982 <action function="set">tw_encrypt_backup=1</action>
1983 <action function="page">backup</action>
1984 </actions>
1985 </action>
1986
1987 <action>
1988 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1989 <actions>
1990 <action function="set">tw_encrypt_backup=0</action>
1991 <action function="set">tw_password_not_match=1</action>
1992 <action function="set">tw_backup_password=</action>
1993 <action function="set">tw_backup_password2=</action>
1994 <action function="set">tw_backup_encrypt_display=</action>
1995 <action function="set">tw_backup_encrypt_display2=</action>
1996 <action function="page">backupencryption</action>
1997 </actions>
1998 </action>
1999 </page>
2000
2001 <page name="backup_run">
2002 <template name="page"/>
2003
2004 <text style="text_l">
2005 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2006 <text>%tw_operation%</text>
2007 </text>
2008
2009 <text style="text_m">
2010 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2011 <text>%tw_partition% Partition</text>
2012 </text>
2013
2014 <template name="console"/>
2015
2016 <template name="progress_bar"/>
2017
2018 <text style="text_m_accent">
2019 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002020 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002021 </text>
2022
2023 <text style="text_m">
2024 <placement x="%indent%" y="%row20_y%"/>
2025 <text>%tw_file_progress%</text>
2026 </text>
2027
2028 <text style="text_m">
2029 <placement x="%indent%" y="%row21_y%"/>
2030 <text>%tw_size_progress%</text>
2031 </text>
2032
2033 <button style="main_button_half_height">
2034 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 <action function="cancelbackup"/>
2037 </button>
2038
2039 <action>
2040 <action function="nandroid">backup</action>
2041 </action>
2042
2043 <action>
2044 <condition var1="tw_operation_state" var2="1"/>
2045 <condition var1="tw_cancel_backup" var2="0"/>
2046 <actions>
2047 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002049 <action function="set">tw_show_reboot=1</action>
2050 <action function="page">action_complete</action>
2051 </actions>
2052 </action>
2053
2054 <action>
2055 <condition var1="tw_operation_state" var2="1"/>
2056 <condition var1="tw_cancel_backup" var2="1"/>
2057 <actions>
2058 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002060 <action function="set">tw_show_reboot=1</action>
2061 <action function="page">action_complete</action>
2062 </actions>
2063 </action>
2064 </page>
2065
2066 <page name="restore">
2067 <template name="page"/>
2068
2069 <text style="text_l">
2070 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002071 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002072 </text>
2073
2074 <text style="text_m">
2075 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002076 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002077 </text>
2078
2079 <template name="sort_options"/>
2080
2081 <fileselector>
2082 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 <filter folders="1" files="0" nav="0"/>
2085 <path name="tw_backups_folder"/>
2086 <data name="tw_restore" default=""/>
2087 <selection name="tw_restore_name"/>
2088 </fileselector>
2089
2090 <button style="main_button_half_height">
2091 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 <actions>
2094 <action function="set">tw_back=restore</action>
2095 <action function="overlay">select_storage</action>
2096 </actions>
2097 </button>
2098
2099 <action>
2100 <condition var1="tw_restore" op="modified"/>
2101 <actions>
2102 <action function="readBackup"/>
2103 <action function="page">restore_read</action>
2104 </actions>
2105 </action>
2106
2107 <action>
2108 <touch key="home"/>
2109 <action function="page">main</action>
2110 </action>
2111
2112 <action>
2113 <touch key="back"/>
2114 <action function="page">main</action>
2115 </action>
2116 </page>
2117
2118 <page name="restore_read">
2119 <action>
2120 <condition var1="tw_restore_encrypted" var2="1"/>
2121 <actions>
2122 <action function="set">tw_password_fail=0</action>
2123 <action function="page">restore_decrypt</action>
2124 </actions>
2125 </action>
2126
2127 <action>
2128 <condition var1="tw_restore_encrypted" var2="0"/>
2129 <actions>
2130 <action function="page">restore_select</action>
2131 </actions>
2132 </action>
2133 </page>
2134
2135 <page name="restore_decrypt">
2136 <template name="page"/>
2137
2138 <text style="text_l">
2139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002140 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002141 </text>
2142
2143 <text style="text_m">
2144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002145 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </text>
2147
2148 <text style="text_m_accent">
2149 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002150 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002151 </text>
2152
2153 <input>
2154 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2155 <text>%tw_restore_display%</text>
2156 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2157 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2158 <action function="page">try_restore_decrypt</action>
2159 </input>
2160
2161 <fill color="%accent_color%">
2162 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2163 </fill>
2164
2165 <fill color="%text_fail_color%">
2166 <condition var1="tw_password_fail" var2="1"/>
2167 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2168 </fill>
2169
2170 <text style="text_m_fail">
2171 <condition var1="tw_password_fail" var2="1"/>
2172 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002173 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002174 </text>
2175
2176 <button style="main_button_half_height">
2177 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002178 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002179 <actions>
2180 <action function="set">tw_page_done=1</action>
2181 <action function="page">restore</action>
2182 </actions>
2183 </button>
2184
2185 <button style="main_button_half_height">
2186 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002187 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002188 <actions>
2189 <action function="set">tw_back=restore</action>
2190 <action function="set">tw_action=cmd</action>
2191 <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 -05002192 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2193 <action function="set">tw_text2=%tw_restore_name%</action>
2194 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2195 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2196 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2197 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002198 <action function="page">confirm_action</action>
2199 </actions>
2200 </button>
2201
2202 <template name="keyboardtemplate"/>
2203
2204 <action>
2205 <touch key="home"/>
2206 <action function="page">main</action>
2207 </action>
2208
2209 <action>
2210 <touch key="back"/>
2211 <action function="page">restore</action>
2212 </action>
2213 </page>
2214
2215 <page name="try_restore_decrypt">
2216 <template name="page"/>
2217
2218 <text style="text_l">
2219 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 </text>
2222
2223 <text style="text_m">
2224 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <template name="console"/>
2229
2230 <template name="progress_bar"/>
2231
2232 <action>
2233 <action function="decrypt_backup"/>
2234 </action>
2235
2236 <action>
2237 <conditions>
2238 <condition var1="tw_operation_state" var2="1"/>
2239 <condition var1="tw_operation_status" op="!=" var2="0"/>
2240 </conditions>
2241 <actions>
2242 <action function="set">tw_password_fail=1</action>
2243 <action function="page">restore_decrypt</action>
2244 </actions>
2245 </action>
2246
2247 <action>
2248 <conditions>
2249 <condition var1="tw_operation_state" var2="1"/>
2250 <condition var1="tw_operation_status" op="=" var2="0"/>
2251 </conditions>
2252 <actions>
2253 <action function="set">tw_page_done=1</action>
2254 <action function="page">restore_select</action>
2255 </actions>
2256 </action>
2257 </page>
2258
2259 <page name="restore_select">
2260 <template name="page"/>
2261
2262 <text style="text_l">
2263 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 </text>
2266
2267 <text style="text_m">
2268 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002269 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002270 </text>
2271
2272 <text style="text_m_accent">
2273 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002274 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002275 </text>
2276
2277 <text style="text_m">
2278 <placement x="%indent%" y="%row3_y%"/>
2279 <text>%tw_restore_name%</text>
2280 </text>
2281
2282 <fill color="%fileselector_linecolor%">
2283 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2284 </fill>
2285
2286 <button>
2287 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2288 <fill color="%transparent%"/>
2289 <actions>
2290 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2291 <action function="set">tw_fileexists=0</action>
2292 <action function="page">renamebackup</action>
2293 </actions>
2294 </button>
2295
2296 <partitionlist>
2297 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2300 <listtype name="restore"/>
2301 </partitionlist>
2302
2303 <checkbox>
2304 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002305 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 <data variable="tw_skip_md5_check"/>
2307 </checkbox>
2308
2309 <button style="main_button_half_height">
2310 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 <actions>
2313 <action function="set">tw_back=restore</action>
2314 <action function="set">tw_action=cmd</action>
2315 <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 -05002316 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002317 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002318 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2319 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2320 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2321 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="page">confirm_action</action>
2323 </actions>
2324 </button>
2325
2326 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 <action function="page">restore_run</action>
2329 </slider>
2330
2331 <action>
2332 <touch key="home"/>
2333 <action function="page">main</action>
2334 </action>
2335
2336 <action>
2337 <touch key="back"/>
2338 <action function="page">restore</action>
2339 </action>
2340 </page>
2341
2342 <page name="renamebackup">
2343 <template name="page"/>
2344
2345 <text style="text_l">
2346 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002347 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002348 </text>
2349
2350 <text style="text_m">
2351 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002353 </text>
2354
2355 <text style="text_m_accent">
2356 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002358 </text>
2359
2360 <input>
2361 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2362 <text>%tw_backup_rename%</text>
2363 <data name="tw_backup_rename"/>
2364 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2365 <actions>
2366 <action function="set">tw_back=restore</action>
2367 <action function="set">tw_action=cmd</action>
2368 <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 -05002369 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2370 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2371 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2372 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2373 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002374 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2375 <action function="set">tw_existpage=renamebackup</action>
2376 <action function="set">tw_notexistpage=confirm_action</action>
2377 <action function="page">filecheck</action>
2378 </actions>
2379 </input>
2380
2381 <fill color="%accent_color%">
2382 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2383 </fill>
2384
2385 <fill color="%text_fail_color%">
2386 <condition var1="tw_fileexists" var2="1"/>
2387 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2388 </fill>
2389
2390 <text style="text_m_fail">
2391 <condition var1="tw_fileexists" var2="1"/>
2392 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002393 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002394 </text>
2395
2396 <button style="main_button_half_height">
2397 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002398 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002399 <action function="page">restore_select</action>
2400 </button>
2401
2402 <template name="keyboardtemplate"/>
2403
2404 <action>
2405 <touch key="home"/>
2406 <action function="page">main</action>
2407 </action>
2408
2409 <action>
2410 <touch key="back"/>
2411 <action function="page">restore_select</action>
2412 </action>
2413 </page>
2414
2415 <page name="restore_run">
2416 <template name="page"/>
2417
2418 <text style="text_l">
2419 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 </text>
2422
2423 <text style="text_m">
2424 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2425 <text>%tw_operation% %tw_partition%</text>
2426 </text>
2427
2428 <template name="console"/>
2429
2430 <template name="progress_bar"/>
2431
2432 <text style="text_m_accent">
2433 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002434 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002435 </text>
2436
2437 <text style="text_m">
2438 <placement x="%indent%" y="%row20_y%"/>
2439 <text>%tw_size_progress%</text>
2440 </text>
2441
2442 <action>
2443 <condition var1="tw_operation_state" var2="1"/>
2444 <actions>
2445 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002446 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002447 <action function="set">tw_show_reboot=1</action>
2448 <action function="page">action_complete</action>
2449 </actions>
2450 </action>
2451
2452 <action>
2453 <action function="nandroid">restore</action>
2454 </action>
2455 </page>
2456
2457 <page name="mount">
2458 <template name="page"/>
2459
2460 <text style="text_l">
2461 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 </text>
2464
2465 <text style="text_m">
2466 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 </text>
2469
2470 <partitionlist>
2471 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002472 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002473 <listtype name="mount"/>
2474 </partitionlist>
2475
2476 <button style="checkbox">
2477 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2478 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 <image resource="checkbox_false"/>
2481 <action function="mountsystemtoggle">1</action>
2482 </button>
2483
2484 <button style="checkbox">
2485 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2486 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002487 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002488 <image resource="checkbox_true"/>
2489 <actions>
2490 <action function="set">tw_lifetime_writes=2</action>
2491 <action function="page">system_readonly_check</action>
2492 </actions>
2493 </button>
2494
2495 <button style="main_button_half_height">
2496 <condition var1="tw_has_usb_storage" var2="1"/>
2497 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 <action function="page">usb_mount</action>
2500 </button>
2501
2502 <button style="main_button_half_height">
2503 <conditions>
2504 <condition var1="tw_is_encrypted" var2="1"/>
2505 <condition var1="tw_is_decrypted" var2="0"/>
2506 </conditions>
2507 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 <action function="page">decrypt</action>
2510 </button>
2511
2512 <button style="main_button_half_height">
2513 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002514 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002515 <actions>
2516 <action function="set">tw_back=mount</action>
2517 <action function="overlay">select_storage</action>
2518 </actions>
2519 </button>
2520
2521 <button style="main_button_half_height">
2522 <conditions>
2523 <condition var1="tw_has_mtp" var2="1"/>
2524 <condition var1="tw_mtp_enabled" var2="0"/>
2525 </conditions>
2526 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 <action function="startmtp"/>
2529 </button>
2530
2531 <button style="main_button_half_height">
2532 <conditions>
2533 <condition var1="tw_has_mtp" var2="1"/>
2534 <condition var1="tw_mtp_enabled" var2="1"/>
2535 </conditions>
2536 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="stopmtp"/>
2539 </button>
2540
2541 <action>
2542 <touch key="home"/>
2543 <action function="page">main</action>
2544 </action>
2545
2546 <action>
2547 <touch key="back"/>
2548 <action function="page">main</action>
2549 </action>
2550 </page>
2551
2552 <page name="usb_mount">
2553 <template name="page"/>
2554
2555 <text style="text_l">
2556 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002557 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002558 </text>
2559
2560 <text style="text_m">
2561 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002562 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002563 </text>
2564
2565 <text style="text_m_accent">
2566 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <text style="text_m">
2571 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 </text>
2574
2575 <text style="text_m">
2576 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 </text>
2579
2580 <button style="main_button_half_height">
2581 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002582 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002583 <action function="page">usb_umount</action>
2584 </button>
2585
2586 <action>
2587 <action function="mount">usb</action>
2588 <action function="set">tw_busy=1</action>
2589 </action>
2590 </page>
2591
2592 <page name="usb_umount">
2593 <action>
2594 <action function="unmount">usb</action>
2595 </action>
2596
2597 <action>
2598 <action function="page">mount</action>
2599 <action function="set">tw_busy=0</action>
2600 </action>
2601 </page>
2602
2603 <page name="system_readonly_check">
2604 <action>
2605 <action function="checkpartitionlifetimewrites">/system</action>
2606 </action>
2607
2608 <action>
2609 <condition var1="tw_lifetime_writes" var2="1"/>
2610 <actions>
2611 <action function="mountsystemtoggle">0</action>
2612 <action function="page">mount</action>
2613 </actions>
2614 </action>
2615
2616 <action>
2617 <condition var1="tw_lifetime_writes" var2="0"/>
2618 <actions>
2619 <action function="set">tw_back=mount</action>
2620 <action function="page">system_readonly</action>
2621 </actions>
2622 </action>
2623 </page>
2624
2625 <page name="reboot">
2626 <template name="page"/>
2627
2628 <text style="text_l">
2629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002630 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 </text>
2632
2633 <button style="main_button">
2634 <condition var1="tw_reboot_system" var2="1"/>
2635 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <actions>
2638 <action function="set">tw_back=reboot</action>
2639 <action function="set">tw_action=reboot</action>
2640 <action function="set">tw_action_param=system</action>
2641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2643 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2644 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2645 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2646 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="page">rebootcheck</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button">
2652 <condition var1="tw_reboot_poweroff" var2="1"/>
2653 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <actions>
2656 <action function="set">tw_back=reboot</action>
2657 <action function="set">tw_action=reboot</action>
2658 <action function="set">tw_action_param=poweroff</action>
2659 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002660 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2661 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2662 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2663 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2664 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="page">rebootcheck</action>
2666 </actions>
2667 </button>
2668
2669 <button style="main_button">
2670 <condition var1="tw_reboot_recovery" var2="1"/>
2671 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 <actions>
2674 <action function="set">tw_back=reboot</action>
2675 <action function="set">tw_action=reboot</action>
2676 <action function="set">tw_action_param=recovery</action>
2677 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2679 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2680 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2681 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2682 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002683 <action function="page">rebootcheck</action>
2684 </actions>
2685 </button>
2686
2687 <button style="main_button">
2688 <condition var1="tw_reboot_bootloader" var2="1"/>
2689 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002691 <actions>
2692 <action function="set">tw_back=reboot</action>
2693 <action function="set">tw_action=reboot</action>
2694 <action function="set">tw_action_param=bootloader</action>
2695 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2697 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2698 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2699 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2700 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002701 <action function="page">rebootcheck</action>
2702 </actions>
2703 </button>
2704
2705 <button style="main_button">
2706 <condition var1="tw_download_mode" var2="1"/>
2707 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002709 <actions>
2710 <action function="set">tw_back=reboot</action>
2711 <action function="set">tw_action=reboot</action>
2712 <action function="set">tw_action_param=download</action>
2713 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2715 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2716 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2717 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2718 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002719 <action function="page">rebootcheck</action>
2720 </actions>
2721 </button>
2722
2723 <action>
2724 <touch key="home"/>
2725 <action function="page">main</action>
2726 </action>
2727
2728 <action>
2729 <touch key="back"/>
2730 <action function="page">main</action>
2731 </action>
2732 </page>
2733
2734 <page name="system_readonly">
2735 <template name="page"/>
2736
2737 <text style="text_l">
2738 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 </text>
2741
2742 <text style="text_m_accent">
2743 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002744 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002745 </text>
2746
2747 <text style="text_m">
2748 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 </text>
2751
2752 <text style="text_m">
2753 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002754 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002755 </text>
2756
2757 <text style="text_m">
2758 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002759 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002760 </text>
2761
2762 <text style="text_m">
2763 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002764 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002765 </text>
2766
2767 <text style="text_m_fail">
2768 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002769 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002770 </text>
2771
2772 <text style="text_m_fail">
2773 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 </text>
2776
2777 <checkbox>
2778 <condition var1="tw_is_encrypted" var2="0"/>
2779 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <data variable="tw_never_show_system_ro_page"/>
2782 </checkbox>
2783
2784 <button style="main_button_half_height">
2785 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 <actions>
2788 <action function="mountsystemtoggle">1</action>
2789 <action function="set">tw_page_done=1</action>
2790 <action function="page">%tw_back%</action>
2791 </actions>
2792 </button>
2793
z31s1g608d7ff2016-01-18 19:47:25 +01002794 <button style="main_button_half_height">
2795 <placement x="%center_x%" y="%row18a_y%"/>
2796 <text>{@sel_lang_btn=Select Language}</text>
2797 <action function="overlay">select_language</action>
2798 </button>
2799
z31s1g28f0a922015-11-07 18:50:22 +01002800 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 <actions>
2803 <action function="mountsystemtoggle">0</action>
2804 <action function="set">tw_page_done=1</action>
2805 <action function="page">%tw_back%</action>
2806 </actions>
2807 </slider>
2808 </page>
2809
2810 <page name="settings">
2811 <template name="page"/>
2812
2813 <text style="text_l">
2814 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002815 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002816 </text>
2817
2818 <text style="text_m">
2819 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002821 </text>
2822
2823 <template name="tabs_settings"/>
2824
2825 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002827 </fill>
2828
2829 <listbox style="scrolllist">
2830 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2831 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002833 <data variable="tw_signed_zip_verify"/>
2834 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002835 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002836 <data variable="tw_rm_rf"/>
2837 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002838 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002839 <data variable="tw_skip_md5_generate"/>
2840 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002841 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002842 <data variable="tw_skip_md5_check"/>
2843 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002845 <data variable="tw_military_time"/>
2846 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002848 <data variable="tw_samsung_navbar"/>
2849 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002850 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002851 <data variable="tw_simulate_actions"/>
2852 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002854 <condition var1="tw_simulate_actions" var2="1"/>
2855 <data variable="tw_simulate_fail"/>
2856 </listitem>
2857 </listbox>
2858
2859 <button style="main_button_half_height">
2860 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002861 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002862 <actions>
2863 <action function="set">tw_samsung_navbar=0</action>
2864 <action function="set">tw_tab_icons=0</action>
2865 <action function="restoredefaultsettings"/>
2866 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002867 </button>
2868
2869 <action>
2870 <touch key="home"/>
2871 <action function="page">main</action>
2872 </action>
2873
2874 <action>
2875 <touch key="back"/>
2876 <action function="page">main</action>
2877 </action>
2878 </page>
2879
2880 <page name="settings_timezone">
2881 <template name="page"/>
2882
2883 <text style="text_l">
2884 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002886 </text>
2887
2888 <text style="text_m">
2889 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002891 </text>
2892
2893 <template name="tabs_settings"/>
2894
2895 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002896 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002897 </fill>
2898
2899 <listbox>
2900 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002901 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002902 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2904 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2905 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2906 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2907 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2908 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2909 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2910 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2911 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2912 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2913 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2914 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2915 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2916 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2917 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2918 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2919 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2920 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2921 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2922 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2923 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2924 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2925 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2926 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002927 </listbox>
2928
2929 <text style="text_m_accent">
2930 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </text>
2933
2934 <button style="button_quarter_width">
2935 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 <action function="set">tw_time_zone_guioffset=0</action>
2938 </button>
2939
2940 <button style="button_quarter_width">
2941 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002942 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002943 <action function="set">tw_time_zone_guioffset=15</action>
2944 </button>
2945
2946 <button style="button_quarter_width">
2947 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 <action function="set">tw_time_zone_guioffset=30</action>
2950 </button>
2951
2952 <button style="button_quarter_width">
2953 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <action function="set">tw_time_zone_guioffset=45</action>
2956 </button>
2957
2958 <checkbox>
2959 <placement x="%indent%" y="%row18a_y%"/>
2960 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002961 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002962 <data variable="tw_time_zone_guidst"/>
2963 <image checked="checkbox_true" unchecked="checkbox_false"/>
2964 </checkbox>
2965
2966 <text color="%text_color%">
2967 <font resource="font_m"/>
2968 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002969 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002970 </text>
2971
2972 <button>
2973 <highlight color="%highlight_color%"/>
2974 <placement x="%center_x%" y="%row21a_y%"/>
2975 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 <image resource="main_button_half_height"/>
2978 <action function="setguitimezone"/>
2979 </button>
2980
2981 <action>
2982 <touch key="home"/>
2983 <action function="page">main</action>
2984 </action>
2985
2986 <action>
2987 <touch key="back"/>
2988 <action function="page">main</action>
2989 </action>
2990 </page>
2991
2992 <page name="settings_screen">
2993 <template name="page"/>
2994
2995 <text style="text_l">
2996 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002997 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002998 </text>
2999
3000 <text style="text_m">
3001 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003003 </text>
3004
3005 <template name="tabs_settings"/>
3006
3007 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </fill>
3010
3011 <button>
3012 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3013 <font resource="font_m" color="%text_color%"/>
3014 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3015 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003017 <image resource="checkbox_false"/>
3018 <action function="set">tw_screen_timeout_secs=60</action>
3019 </button>
3020
3021 <button>
3022 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3023 <font resource="font_m" color="%text_color%"/>
3024 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3025 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 <image resource="checkbox_true"/>
3028 <action function="set">tw_screen_timeout_secs=0</action>
3029 </button>
3030
3031 <slidervalue>
3032 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3033 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3034 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3037 </slidervalue>
3038
3039 <slidervalue>
3040 <condition var1="tw_has_brightnesss_file" var2="1"/>
3041 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 <data variable="tw_brightness_pct" min="10" max="100"/>
3044 <actions>
3045 <action function="set">tw_brightness=%tw_brightness_max%</action>
3046 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3047 <action function="compute">tw_brightness/100</action>
3048 <action function="setbrightness">%tw_brightness%</action>
3049 </actions>
3050 </slidervalue>
3051
3052 <action>
3053 <touch key="home"/>
3054 <action function="page">main</action>
3055 </action>
3056
3057 <action>
3058 <touch key="back"/>
3059 <action function="page">main</action>
3060 </action>
3061 </page>
3062
3063 <page name="settings_vibration">
3064 <template name="page"/>
3065
3066 <text style="text_l">
3067 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </text>
3070
3071 <text style="text_m">
3072 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </text>
3075
3076 <template name="tabs_settings"/>
3077
3078 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003080 </fill>
3081
3082 <slidervalue>
3083 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <data variable="tw_button_vibrate" min="0" max="300"/>
3086 </slidervalue>
3087
3088 <slidervalue>
3089 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3092 </slidervalue>
3093
3094 <slidervalue>
3095 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003097 <data variable="tw_action_vibrate" min="0" max="500"/>
3098 </slidervalue>
3099
3100 <action>
3101 <touch key="home"/>
3102 <action function="page">main</action>
3103 </action>
3104
3105 <action>
3106 <touch key="back"/>
3107 <action function="page">main</action>
3108 </action>
3109 </page>
3110
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <page name="settings_language">
3112 <template name="page"/>
3113
3114 <text style="text_l">
3115 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3116 <text>{@settings_hdr=Settings}</text>
3117 </text>
3118
3119 <text style="text_m">
3120 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3121 <text>{@language_hdr=Language - %tw_language_display%}</text>
3122 </text>
3123
3124 <template name="tabs_settings"/>
3125
3126 <fill color="%text_color%">
3127 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3128 </fill>
3129
3130 <listbox>
3131 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3132 <text>{@select_language=Select Language:}</text>
3133 <icon selected="radio_true" unselected="radio_false" />
3134 <data name="tw_language" />
3135 </listbox>
3136
3137 <button style="main_button_half_height">
3138 <placement x="%center_x%" y="%row21a_y%"/>
3139 <text>{@set_language_btn=Set Language}</text>
3140 <action function="setlanguage"></action>
3141 </button>
3142
3143 <action>
3144 <touch key="home" />
3145 <action function="page">main</action>
3146 </action>
3147
3148 <action>
3149 <touch key="back" />
3150 <action function="page">settings</action>
3151 </action>
3152 </page>
3153
z31s1g28f0a922015-11-07 18:50:22 +01003154 <page name="advanced">
3155 <template name="page"/>
3156
3157 <text style="text_l">
3158 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 </text>
3161
3162 <button style="main_button">
3163 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003164 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003165 <actions>
3166 <action function="set">tw_back=advanced</action>
3167 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3169 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3170 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3171 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <action function="page">confirm_action</action>
3173 </actions>
3174 </button>
3175
3176 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003177 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003178 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003179 <text>{@fix_context_btn=Fix Contexts}</text>
3180 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003181 </button>
3182
3183 <button style="main_button">
3184 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3185 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003187 <actions>
3188 <action function="set">partitionlisterror=0</action>
3189 <action function="page">partsdcardsel</action>
3190 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003191 </button>
3192
3193 <button style="main_button">
3194 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <action function="page">filemanagerlist</action>
3197 </button>
3198
3199 <button style="main_button">
3200 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003202 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003203 </button>
3204
3205 <button style="main_button">
3206 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="reload"/>
3209 </button>
3210
3211 <button style="main_button">
3212 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003214 <action function="page">sideload</action>
3215 </button>
3216
3217 <button style="main_button">
3218 <condition var1="tw_show_dumlock" var2="1"/>
3219 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003221 <action function="page">htcdumlock</action>
3222 </button>
3223
3224 <button style="main_button">
3225 <condition var1="tw_has_injecttwrp" var2="1"/>
3226 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <actions>
3229 <action function="set">tw_back=advanced</action>
3230 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3232 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3233 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3234 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <action function="page">confirm_action</action>
3236 </actions>
3237 </button>
3238
3239 <action>
3240 <touch key="home"/>
3241 <action function="page">main</action>
3242 </action>
3243
3244 <action>
3245 <touch key="back"/>
3246 <action function="page">main</action>
3247 </action>
3248 </page>
3249
Ethan Yonker483e9f42016-01-11 22:21:18 -06003250 <page name="partsdcardsel">
3251 <template name="page"/>
3252
3253 <text style="text_l">
3254 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3255 <text>{@advanced_hdr=Advanced}</text>
3256 </text>
3257
3258 <text style="text_m">
3259 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3260 <text>{@part_sd_hdr=Partition SD Card}</text>
3261 </text>
3262
z31s1g782e1c92016-01-30 16:50:09 +01003263 <partitionlist>
3264 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003265 <text>{@sel_storage_list=Select Storage}</text>
3266 <data name="tw_storage_path"/>
3267 <listtype name="storage"/>
3268 </partitionlist>
3269
3270 <text style="text_m_fail">
3271 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003272 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003273 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3274 </text>
3275
z31s1g782e1c92016-01-30 16:50:09 +01003276 <button style="main_button_half_height">
3277 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003278 <text>{@ok_btn=OK}</text>
3279 <actions>
3280 <action function="getpartitiondetails">tw_storage_path</action>
3281 <action function="page">partsdcardcheck</action>
3282 </actions>
3283 </button>
3284
3285 <action>
3286 <touch key="home"/>
3287 <action function="page">main</action>
3288 </action>
3289
3290 <action>
3291 <touch key="back"/>
3292 <action function="page">advanced</action>
3293 </action>
3294 </page>
3295
3296 <page name="partsdcardcheck">
3297 <action>
3298 <condition var1="tw_partition_removable" op="=" var2="1"/>
3299 <actions>
3300 <action function="set">partitionlisterror=0</action>
3301 <action function="page">partsdcard</action>
3302 </actions>
3303 </action>
3304
3305 <action>
3306 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3307 <actions>
3308 <action function="set">partitionlisterror=1</action>
3309 <action function="page">partsdcardsel</action>
3310 </actions>
3311 </action>
3312 </page>
3313
z31s1g28f0a922015-11-07 18:50:22 +01003314 <page name="partsdcard">
3315 <template name="page"/>
3316
3317 <text style="text_l">
3318 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </text>
3321
3322 <text style="text_m">
3323 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 </text>
3326
3327 <text style="text_m_fail">
3328 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </text>
3331
3332 <text style="text_m_fail">
3333 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </text>
3336
3337 <text style="text_m_accent">
3338 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <text style="text_m">
3343 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3344 <text>%tw_sdext_size%</text>
3345 </text>
3346
3347 <button style="button_quarter_width">
3348 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003350 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </button>
3352
3353 <button style="button_quarter_width">
3354 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003356 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003357 </button>
3358
3359 <text style="text_m_accent">
3360 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </text>
3363
3364 <text style="text_m">
3365 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3366 <text>%tw_swap_size%</text>
3367 </text>
3368
3369 <button style="button_quarter_width">
3370 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003372 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </button>
3374
3375 <button style="button_quarter_width">
3376 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003378 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003379 </button>
3380
3381 <text style="text_m_accent">
3382 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003384 </text>
3385
3386 <text style="text_m">
3387 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3388 <text>%tw_sdpart_file_system%</text>
3389 </text>
3390
3391 <button style="button_quarter_width">
3392 <placement x="%indent%" y="%row14_y%"/>
3393 <text>EXT3</text>
3394 <action function="set">tw_sdpart_file_system=ext3</action>
3395 </button>
3396
3397 <button style="button_quarter_width">
3398 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3399 <text>EXT4</text>
3400 <action function="set">tw_sdpart_file_system=ext4</action>
3401 </button>
3402
3403 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003405 <action function="page">partsdcardaction</action>
3406 <actions>
3407 <action function="set">tw_back=partsdcard</action>
3408 <action function="set">tw_action=partitionsd</action>
3409 <action function="set">tw_has_action2=1</action>
3410 <action function="set">tw_action2=set</action>
3411 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003412 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3413 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3414 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003415 <action function="page">action_page</action>
3416 </actions>
3417 </slider>
3418
3419 <action>
3420 <touch key="home"/>
3421 <action function="page">main</action>
3422 </action>
3423
3424 <action>
3425 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003426 <actions>
3427 <action function="set">partitionlisterror=0</action>
3428 <action function="page">partsdcardsel</action>
3429 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003430 </action>
3431 </page>
3432
3433 <page name="htcdumlock">
3434 <template name="page"/>
3435
3436 <text style="text_l">
3437 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </text>
3440
3441 <text style="text_m">
3442 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </text>
3445
3446 <button style="main_button_half_height_full_width">
3447 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <actions>
3450 <action function="set">tw_back=htcdumlock</action>
3451 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3453 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3454 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3455 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <action function="page">confirm_action</action>
3457 </actions>
3458 </button>
3459
3460 <button style="main_button_half_height_full_width">
3461 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <actions>
3464 <action function="set">tw_back=htcdumlock</action>
3465 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3467 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3468 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3469 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <action function="page">confirm_action</action>
3471 </actions>
3472 </button>
3473
3474 <button style="main_button_half_height_full_width">
3475 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 <actions>
3478 <action function="set">tw_back=htcdumlock</action>
3479 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3481 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3482 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3483 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003484 <action function="page">confirm_action</action>
3485 </actions>
3486 </button>
3487
3488 <action>
3489 <touch key="home"/>
3490 <action function="page">main</action>
3491 </action>
3492
3493 <action>
3494 <touch key="back"/>
3495 <action function="page">advanced</action>
3496 </action>
3497 </page>
3498
3499 <page name="lock">
3500 <background color="%semi_transparent%"/>
3501
3502 <image>
3503 <image resource="unlock_icon"/>
3504 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3505 </image>
3506
3507 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <action function="overlay"/>
3510 </slider>
3511 </page>
3512
3513 <page name="filemanagerlist">
3514 <template name="page"/>
3515
3516 <text style="text_l">
3517 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </text>
3520
3521 <text style="text_m">
3522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 </text>
3525
3526 <template name="sort_options"/>
3527
3528 <fileselector>
3529 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3530 <text>%tw_file_location1%</text>
3531 <filter folders="1" files="1"/>
3532 <path name="tw_file_location1" default="/"/>
3533 <data name="tw_filename1"/>
3534 <selection name="tw_selection1"/>
3535 </fileselector>
3536
3537 <button style="fab">
3538 <image resource="fab_selectfolder"/>
3539 <actions>
3540 <action function="set">tw_filename1=tw_file_location1</action>
3541 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <action function="page">filemanageroptions</action>
3544 </actions>
3545 </button>
3546
3547 <action>
3548 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003550 <action function="set">tw_fm_isfolder=0</action>
3551 </actions>
3552 </action>
3553
3554 <action>
3555 <touch key="home"/>
3556 <action function="page">main</action>
3557 </action>
3558
3559 <action>
3560 <touch key="back"/>
3561 <action function="page">advanced</action>
3562 </action>
3563
3564 <action>
3565 <condition var1="tw_filename1" op="modified"/>
3566 <action function="page">filemanageroptions</action>
3567 </action>
3568 </page>
3569
3570 <page name="filemanageroptions">
3571 <template name="page"/>
3572
3573 <text style="text_l">
3574 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 </text>
3577
3578 <text style="text_m">
3579 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003580 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003581 </text>
3582
3583 <text style="text_m_accent">
3584 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 </text>
3587
3588 <text style="text_m">
3589 <placement x="%indent%" y="%row3_y%"/>
3590 <text>%tw_filename1%</text>
3591 </text>
3592
3593 <button style="main_button_half_height">
3594 <condition var1="tw_fm_isfolder" var2="0"/>
3595 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003597 <actions>
3598 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <action function="page">choosedestinationfolder</action>
3601 </actions>
3602 </button>
3603
3604 <button style="main_button_half_height">
3605 <condition var1="tw_fm_isfolder" var2="1"/>
3606 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 <actions>
3609 <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 -05003610 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <action function="page">choosedestinationfolder</action>
3612 </actions>
3613 </button>
3614
3615 <button style="main_button_half_height">
3616 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <actions>
3619 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <action function="page">choosedestinationfolder</action>
3622 </actions>
3623 </button>
3624
3625 <button style="main_button_half_height">
3626 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <action function="set">tw_fm_text2=</action>
3632 <action function="set">tw_fm_text3=</action>
3633 <action function="set">tw_include_text3=0</action>
3634 <action function="set">tw_back=filemanageroptions</action>
3635 <action function="page">filemanagerconfirm</action>
3636 </actions>
3637 </button>
3638
3639 <button style="main_button_half_height">
3640 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003642 <actions>
3643 <action function="set">tw_filemanager_rename=0000</action>
3644 <action function="set">tw_fm_text2=</action>
3645 <action function="set">tw_fm_text3=</action>
3646 <action function="set">tw_include_text3=0</action>
3647 <action function="set">tw_back=filemanageroptions</action>
3648 <action function="page">filemanagerchmod</action>
3649 </actions>
3650 </button>
3651
3652 <button style="main_button_half_height">
3653 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 <actions>
3656 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003658 <action function="set">tw_fm_text2=</action>
3659 <action function="set">tw_fm_text3=</action>
3660 <action function="set">tw_include_text3=0</action>
3661 <action function="set">tw_back=filemanageroptions</action>
3662 <action function="page">filemanagerconfirm</action>
3663 </actions>
3664 </button>
3665
3666 <button style="main_button_half_height">
3667 <condition var1="tw_fm_isfolder" var2="0"/>
3668 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 <actions>
3671 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="set">tw_filemanager_command=mv</action>
3674 <action function="page">filemanagerrenamefile</action>
3675 </actions>
3676 </button>
3677
3678 <button style="main_button_half_height">
3679 <condition var1="tw_fm_isfolder" var2="1"/>
3680 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003682 <actions>
3683 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3686 <action function="page">filemanagerrenamefolder</action>
3687 </actions>
3688 </button>
3689
3690 <action>
3691 <touch key="home"/>
3692 <action function="page">main</action>
3693 </action>
3694
3695 <action>
3696 <touch key="back"/>
3697 <action function="page">filemanagerlist</action>
3698 </action>
3699 </page>
3700
3701 <page name="choosedestinationfolder">
3702 <template name="page"/>
3703
3704 <text style="text_l">
3705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </text>
3708
3709 <text style="text_m">
3710 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003711 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003712 </text>
3713
3714 <template name="sort_options"/>
3715
3716 <fileselector>
3717 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3718 <text>%tw_file_location2%</text>
3719 <filter folders="1" files="0"/>
3720 <path name="tw_file_location2" default="/"/>
3721 <data name="tw_filename2"/>
3722 <selection name="tw_selection2"/>
3723 </fileselector>
3724
3725 <button style="fab">
3726 <image resource="fab_selectfolder"/>
3727 <actions>
3728 <action function="set">tw_fm_text2=to</action>
3729 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3730 <action function="set">tw_include_text3=1</action>
3731 <action function="set">tw_back=filemanageroptions</action>
3732 <action function="page">filemanagerconfirm</action>
3733 </actions>
3734 </button>
3735
3736 <action>
3737 <touch key="home"/>
3738 <action function="page">main</action>
3739 </action>
3740
3741 <action>
3742 <touch key="back"/>
3743 <action function="page">filemanageroptions</action>
3744 </action>
3745 </page>
3746
3747 <page name="filemanagerrenamefile">
3748 <template name="page"/>
3749
3750 <text style="text_l">
3751 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003753 </text>
3754
3755 <text style="text_m">
3756 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </text>
3759
3760 <text style="text_m_accent">
3761 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003763 </text>
3764
3765 <input>
3766 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3767 <text>%tw_filemanager_rename%</text>
3768 <data name="tw_filemanager_rename"/>
3769 <restrict minlen="1" maxlen="128"/>
3770 <actions>
3771 <action function="set">tw_fm_text2=to</action>
3772 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3773 <action function="set">tw_include_text3=1</action>
3774 <action function="set">tw_back=filemanageroptions</action>
3775 <action function="page">filemanagerconfirm</action>
3776 </actions>
3777 </input>
3778
3779 <fill color="%accent_color%">
3780 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3781 </fill>
3782
3783 <button style="main_button_half_height">
3784 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003786 <action function="page">filemanageroptions</action>
3787 </button>
3788
3789 <template name="keyboardtemplate"/>
3790
3791 <action>
3792 <touch key="home"/>
3793 <action function="page">main</action>
3794 </action>
3795
3796 <action>
3797 <touch key="back"/>
3798 <action function="page">filemanageroptions</action>
3799 </action>
3800 </page>
3801
3802 <page name="filemanagerrenamefolder">
3803 <template name="page"/>
3804
3805 <text style="text_l">
3806 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003808 </text>
3809
3810 <text style="text_m">
3811 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003812 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003813 </text>
3814
3815 <text style="text_m_accent">
3816 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003817 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003818 </text>
3819
3820 <input>
3821 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3822 <text>%tw_filemanager_rename%</text>
3823 <data name="tw_filemanager_rename"/>
3824 <restrict minlen="1" maxlen="128"/>
3825 <actions>
3826 <action function="set">tw_fm_text2=to</action>
3827 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3828 <action function="set">tw_include_text3=1</action>
3829 <action function="set">tw_back=filemanageroptions</action>
3830 <action function="page">filemanagerconfirm</action>
3831 </actions>
3832 </input>
3833
3834 <fill color="%accent_color%">
3835 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3836 </fill>
3837
3838 <button style="main_button_half_height">
3839 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003841 <action function="page">filemanageroptions</action>
3842 </button>
3843
3844 <template name="keyboardtemplate"/>
3845
3846 <action>
3847 <touch key="home"/>
3848 <action function="page">main</action>
3849 </action>
3850
3851 <action>
3852 <touch key="back"/>
3853 <action function="page">filemanageroptions</action>
3854 </action>
3855 </page>
3856
3857 <page name="filemanagerchmod">
3858 <template name="page"/>
3859
3860 <text style="text_l">
3861 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003862 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003863 </text>
3864
3865 <text style="text_m">
3866 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003867 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003868 </text>
3869
3870 <text style="text_m_accent">
3871 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003873 </text>
3874
3875 <input>
3876 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3877 <text>%tw_filemanager_rename%</text>
3878 <data name="tw_filemanager_rename"/>
3879 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3880 <actions>
3881 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3882 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3883 <action function="set">tw_back=filemanageroptions</action>
3884 <action function="page">filemanagerconfirm</action>
3885 </actions>
3886 </input>
3887
3888 <fill color="%accent_color%">
3889 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3890 </fill>
3891
3892 <button style="main_button_half_height">
3893 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003894 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003895 <action function="page">filemanageroptions</action>
3896 </button>
3897
3898 <template name="keyboardtemplate"/>
3899
3900 <action>
3901 <touch key="home"/>
3902 <action function="page">main</action>
3903 </action>
3904
3905 <action>
3906 <touch key="back"/>
3907 <action function="page">filemanageroptions</action>
3908 </action>
3909 </page>
3910
3911 <page name="filemanagerconfirm">
3912 <template name="page"/>
3913
3914 <text style="text_l">
3915 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003916 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003917 </text>
3918
3919 <text style="text_m">
3920 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 </text>
3923
3924 <text style="text_m_accent">
3925 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3926 <text>%tw_fm_text1%</text>
3927 </text>
3928
3929 <text style="text_m">
3930 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3931 <text>%tw_filename1%</text>
3932 </text>
3933
3934 <text style="text_m_accent">
3935 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3936 <text>%tw_fm_text2%</text>
3937 </text>
3938
3939 <text style="text_m">
3940 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3941 <text>%tw_fm_text3%</text>
3942 </text>
3943
3944 <text style="text_m">
3945 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003947 </text>
3948
3949 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 <action function="page">filemanageraction</action>
3952 </slider>
3953
3954 <action>
3955 <touch key="back"/>
3956 <action function="page">%tw_back%</action>
3957 </action>
3958
3959 <action>
3960 <touch key="home"/>
3961 <action function="page">main</action>
3962 </action>
3963 </page>
3964
3965 <page name="filemanageraction">
3966 <template name="page"/>
3967
3968 <text style="text_l">
3969 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003970 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </text>
3972
3973 <text style="text_m">
3974 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3975 <text>%tw_fm_text1%</text>
3976 </text>
3977
3978 <template name="console"/>
3979
3980 <template name="progress_bar"/>
3981
3982 <action>
3983 <conditions>
3984 <condition var1="tw_operation_state" var2="1"/>
3985 <condition var1="tw_operation_status" var2="0"/>
3986 </conditions>
3987 <actions>
3988 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003990 <action function="page">action_complete</action>
3991 </actions>
3992 </action>
3993
3994 <action>
3995 <conditions>
3996 <condition var1="tw_operation_state" var2="1"/>
3997 <condition var1="tw_operation_status" op="!=" var2="0"/>
3998 </conditions>
3999 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004001 <action function="page">action_complete</action>
4002 </actions>
4003 </action>
4004
4005 <action>
4006 <condition var1="tw_include_text3" var2="0"/>
4007 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4008 </action>
4009
4010 <action>
4011 <condition var1="tw_include_text3" var2="1"/>
4012 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4013 </action>
4014 </page>
4015
4016 <page name="decrypt">
4017 <template name="page"/>
4018
4019 <action>
4020 <condition var1="tw_crypto_pwtype" var2="2"/>
4021 <action function="page">decrypt_pattern</action>
4022 </action>
4023
4024 <text style="text_l">
4025 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004027 </text>
4028
4029 <text style="text_m">
4030 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004031 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004032 </text>
4033
4034 <text style="text_m_accent">
4035 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <input>
4040 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4041 <text>%tw_crypto_display%</text>
4042 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4043 <restrict minlen="1" maxlen="254"/>
4044 <action function="page">trydecrypt</action>
4045 </input>
4046
4047 <fill color="%accent_color%">
4048 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4049 </fill>
4050
4051 <fill color="%text_fail_color%">
4052 <condition var1="tw_password_fail" var2="1"/>
4053 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4054 </fill>
4055
4056 <text style="text_m_fail">
4057 <condition var1="tw_password_fail" var2="1"/>
4058 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004059 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004060 </text>
4061
4062 <button style="main_button_half_height">
4063 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004065 <actions>
4066 <action function="set">tw_page_done=1</action>
4067 <action function="page">main</action>
4068 </actions>
4069 </button>
4070
z31s1g608d7ff2016-01-18 19:47:25 +01004071 <button style="main_button_half_height">
4072 <placement x="%center_x%" y="%row10_y%"/>
4073 <text>{@sel_lang_btn=Select Language}</text>
4074 <action function="overlay">select_language</action>
4075 </button>
4076
z31s1g28f0a922015-11-07 18:50:22 +01004077 <template name="keyboardtemplate"/>
4078 </page>
4079
4080 <page name="decrypt_pattern">
4081 <template name="page"/>
4082
4083 <text style="text_l">
4084 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004086 </text>
4087
4088 <text style="text_m">
4089 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 </text>
4092
4093 <text style="text_m_accent">
4094 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004096 </text>
4097
Aleksa Saraib25a1832015-12-31 17:36:00 +01004098 <text style="text_m_fail">
4099 <condition var1="tw_password_fail" var2="1"/>
4100 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004101 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004102 </text>
4103
z31s1g28f0a922015-11-07 18:50:22 +01004104 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004105 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004106 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4107 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4108 <data name="tw_crypto_password"/>
4109 <action function="page">trydecrypt</action>
4110 </patternpassword>
4111
Aleksa Saraib25a1832015-12-31 17:36:00 +01004112 <button style="button_quarter_width">
4113 <placement x="%indent%" y="%row19a_y%"/>
4114 <text>3x3</text>
4115 <action function="set">tw_gui_pattern_grid_size=3</action>
4116 </button>
4117
4118 <button style="button_quarter_width">
4119 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4120 <text>4x4</text>
4121 <action function="set">tw_gui_pattern_grid_size=4</action>
4122 </button>
4123
4124 <button style="button_quarter_width">
4125 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4126 <text>5x5</text>
4127 <action function="set">tw_gui_pattern_grid_size=5</action>
4128 </button>
4129
4130 <button style="button_quarter_width">
4131 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4132 <text>6x6</text>
4133 <action function="set">tw_gui_pattern_grid_size=6</action>
4134 </button>
4135
z31s1g28f0a922015-11-07 18:50:22 +01004136 <button style="main_button_half_height">
4137 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004138 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004139 <actions>
4140 <action function="set">tw_page_done=1</action>
4141 <action function="page">main</action>
4142 </actions>
4143 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004144
4145 <button style="main_button_half_height">
4146 <placement x="%center_x%" y="%row21a_y%"/>
4147 <text>{@sel_lang_btn=Select Language}</text>
4148 <action function="overlay">select_language</action>
4149 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </page>
4151
4152 <page name="trydecrypt">
4153 <template name="page"/>
4154
4155 <text style="text_l">
4156 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004158 </text>
4159
4160 <text style="text_m">
4161 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004163 </text>
4164
4165 <template name="console"/>
4166
4167 <template name="progress_bar"/>
4168
4169 <action>
4170 <action function="decrypt"/>
4171 </action>
4172
4173 <action>
4174 <conditions>
4175 <condition var1="tw_operation_state" var2="1"/>
4176 <condition var1="tw_operation_status" op="!=" var2="0"/>
4177 </conditions>
4178 <actions>
4179 <action function="set">tw_password_fail=1</action>
4180 <action function="page">decrypt</action>
4181 </actions>
4182 </action>
4183
4184 <action>
4185 <conditions>
4186 <condition var1="tw_operation_state" var2="1"/>
4187 <condition var1="tw_operation_status" op="=" var2="0"/>
4188 </conditions>
4189 <actions>
4190 <action function="set">tw_page_done=1</action>
4191 <action function="page">main</action>
4192 </actions>
4193 </action>
4194 </page>
4195
z31s1g28f0a922015-11-07 18:50:22 +01004196 <page name="terminalcommand">
4197 <template name="page"/>
4198
z31s1g56189522016-01-13 19:12:40 +01004199 <fill color="%background_color%">
4200 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </fill>
4202
z31s1g56189522016-01-13 19:12:40 +01004203 <terminal>
4204 <condition var1="tw_hide_kb" var2="0"/>
4205 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4206 </terminal>
4207
4208 <terminal>
4209 <condition var1="tw_hide_kb" var2="1"/>
4210 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4211 </terminal>
4212
4213 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004214
4215 <template name="keyboardtemplate"/>
4216
z31s1g608d7ff2016-01-18 19:47:25 +01004217 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004218 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004219 </fill>
z31s1g56189522016-01-13 19:12:40 +01004220
z31s1g608d7ff2016-01-18 19:47:25 +01004221 <button>
z31s1g56189522016-01-13 19:12:40 +01004222 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4223 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4224 <image resource="back" />
4225 <condition var1="tw_busy" var2="0" />
4226 <actions>
4227 <action function="set">tw_hide_kb=0</action>
4228 <action function="key">back</action>
4229 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004230 </button>
z31s1g56189522016-01-13 19:12:40 +01004231
z31s1g608d7ff2016-01-18 19:47:25 +01004232 <button>
z31s1g56189522016-01-13 19:12:40 +01004233 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4234 <condition var1="tw_hide_kb" op="=" var2="0" />
4235 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4236 <image resource="kb_hide" />
4237 <condition var1="tw_busy" var2="0" />
4238 <actions>
4239 <action function="set">tw_hide_kb=1</action>
4240 <action function="page">terminalcommand</action>
4241 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004242 </button>
z31s1g56189522016-01-13 19:12:40 +01004243
z31s1g608d7ff2016-01-18 19:47:25 +01004244 <button>
z31s1g56189522016-01-13 19:12:40 +01004245 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4246 <condition var1="tw_hide_kb" op="=" var2="1" />
4247 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4248 <image resource="kb_show" />
4249 <condition var1="tw_busy" var2="0" />
4250 <actions>
4251 <action function="set">tw_hide_kb=0</action>
4252 <action function="page">terminalcommand</action>
4253 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004254 </button>
z31s1g56189522016-01-13 19:12:40 +01004255
z31s1g608d7ff2016-01-18 19:47:25 +01004256 <button>
z31s1g56189522016-01-13 19:12:40 +01004257 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4258 <image resource="home" />
4259 <condition var1="tw_busy" var2="0" />
4260 <actions>
4261 <action function="set">tw_hide_kb=0</action>
4262 <action function="key">home</action>
4263 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004264 </button>
z31s1g56189522016-01-13 19:12:40 +01004265
z31s1g608d7ff2016-01-18 19:47:25 +01004266 <button>
z31s1g56189522016-01-13 19:12:40 +01004267 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4268 <condition var1="tw_hide_kb" op="=" var2="0" />
4269 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4270 <image resource="kb_hide" />
4271 <condition var1="tw_busy" var2="0" />
4272 <actions>
4273 <action function="set">tw_hide_kb=1</action>
4274 <action function="page">terminalcommand</action>
4275 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004276 </button>
z31s1g56189522016-01-13 19:12:40 +01004277
z31s1g608d7ff2016-01-18 19:47:25 +01004278 <button>
z31s1g56189522016-01-13 19:12:40 +01004279 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4280 <condition var1="tw_hide_kb" op="=" var2="1" />
4281 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4282 <image resource="kb_show" />
4283 <condition var1="tw_busy" var2="0" />
4284 <actions>
4285 <action function="set">tw_hide_kb=0</action>
4286 <action function="page">terminalcommand</action>
4287 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004288 </button>
z31s1g56189522016-01-13 19:12:40 +01004289
z31s1g608d7ff2016-01-18 19:47:25 +01004290 <button>
z31s1g56189522016-01-13 19:12:40 +01004291 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4292 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4293 <image resource="back" />
4294 <condition var1="tw_busy" var2="0" />
4295 <actions>
4296 <action function="set">tw_hide_kb=0</action>
4297 <action function="key">back</action>
4298 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004299 </button>
z31s1g56189522016-01-13 19:12:40 +01004300
z31s1g28f0a922015-11-07 18:50:22 +01004301 <action>
4302 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004303 <actions>
4304 <action function="set">tw_hide_kb=0</action>
4305 <action function="page">main</action>
4306 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </action>
4308
4309 <action>
4310 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004311 <actions>
4312 <action function="set">tw_hide_kb=0</action>
4313 <action function="page">advanced</action>
4314 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004315 </action>
z31s1g56189522016-01-13 19:12:40 +01004316
z31s1g608d7ff2016-01-18 19:47:25 +01004317 <action>
z31s1g56189522016-01-13 19:12:40 +01004318 <touch key="power+voldown" />
4319 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004320 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </page>
4322
4323 <page name="sideload">
4324 <template name="page"/>
4325
4326 <text style="text_l">
4327 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004328 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004329 </text>
4330
4331 <text style="text_m">
4332 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004333 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004334 </text>
4335
4336 <checkbox>
4337 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004338 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004339 <data variable="tw_wipe_dalvik"/>
4340 </checkbox>
4341
4342 <checkbox>
4343 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 <data variable="tw_wipe_cache"/>
4346 </checkbox>
4347
4348 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004349 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004350 <actions>
4351 <action function="set">tw_back=advanced</action>
4352 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4354 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4355 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <action function="set">tw_has_cancel=1</action>
4357 <action function="set">tw_show_reboot=1</action>
4358 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4359 <action function="page">action_page</action>
4360 </actions>
4361 </slider>
4362
4363 <action>
4364 <touch key="home"/>
4365 <action function="page">main</action>
4366 </action>
4367
4368 <action>
4369 <touch key="back"/>
4370 <action function="page">advanced</action>
4371 </action>
4372 </page>
4373
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004374 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004375 <template name="page"/>
4376
4377 <text style="text_l">
4378 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </text>
4381
4382 <text style="text_m">
4383 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004384 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004385 </text>
4386
4387 <text style="text_m_accent">
4388 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004389 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 </text>
4391
z31s1g28f0a922015-11-07 18:50:22 +01004392 <text style="text_m_fail">
4393 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004394 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004395 </text>
4396
4397 <text style="text_m_fail">
4398 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004399 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004403 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 <actions>
4405 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004406 <action function="set">tw_action=fixcontexts</action>
4407 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4408 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004410 <action function="set">tw_show_reboot=1</action>
4411 <action function="page">action_page</action>
4412 </actions>
4413 </slider>
4414
4415 <action>
4416 <touch key="home"/>
4417 <action function="page">main</action>
4418 </action>
4419
4420 <action>
4421 <touch key="back"/>
4422 <action function="page">advanced</action>
4423 </action>
4424 </page>
4425
4426 <page name="installsu">
4427 <template name="page"/>
4428
4429 <text style="text_l">
4430 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 </text>
4433
4434 <text style="text_m">
4435 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004437 </text>
4438
4439 <text style="text_m_accent">
4440 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m">
4445 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <text style="text_m">
4450 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <button style="main_button_half_height">
4455 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 <action function="set">tw_page_done=1</action>
4458 </button>
4459
4460 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 <actions>
4463 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004464 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004465 <action function="set">tw_action_text2=</action>
4466 <action function="page">singleaction_page</action>
4467 </actions>
4468 </slider>
4469 </page>
4470
4471 <page name="slideout">
4472 <fill color="%background_color%">
4473 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4474 </fill>
4475
4476 <console>
4477 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4478 </console>
4479
4480 <button>
4481 <fill color="%transparent%"/>
4482 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4483 <action function="overlay"/>
4484 </button>
4485
4486 <action>
4487 <touch key="power+voldown"/>
4488 <action function="screenshot"/>
4489 </action>
4490 </page>
4491
4492 <page name="select_storage">
4493 <fill color="%semi_transparent%">
4494 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4495 </fill>
4496
4497 <fill color="%background_color%">
4498 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4499 </fill>
4500
4501 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004502 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004503 <data name="tw_storage_path"/>
4504 <listtype name="storage"/>
4505 </partitionlist>
4506
4507 <button style="button_third_width">
4508 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 <actions>
4511 <action function="set">tw_clear_destination=%tw_back%</action>
4512 <action function="overlay"/>
4513 <action function="page">clear_vars</action>
4514 </actions>
4515 </button>
4516
4517 <fill color="#000000">
4518 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4519 </fill>
4520
4521 <button>
4522 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4523 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4524 <image resource="back"/>
4525 <condition var1="tw_busy" var2="0"/>
4526 <actions>
4527 <action function="overlay"/>
4528 <action function="key">%tw_back%</action>
4529 </actions>
4530 </button>
4531
4532 <button>
4533 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4534 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4535 <image resource="console"/>
4536 <condition var1="tw_busy" var2="0"/>
4537 <action function="overlay">slideout</action>
4538 </button>
4539
4540 <button>
4541 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4542 <image resource="home"/>
4543 <condition var1="tw_busy" var2="0"/>
4544 <actions>
4545 <action function="overlay"/>
4546 <action function="key">home</action>
4547 </actions>
4548 </button>
4549
4550 <button>
4551 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4552 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4553 <image resource="console"/>
4554 <condition var1="tw_busy" var2="0"/>
4555 <action function="overlay">slideout</action>
4556 </button>
4557
4558 <button>
4559 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4560 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4561 <image resource="back"/>
4562 <condition var1="tw_busy" var2="0"/>
4563 <actions>
4564 <action function="overlay"/>
4565 <action function="key">%tw_back%</action>
4566 </actions>
4567 </button>
4568
4569 <action>
4570 <touch key="power+voldown"/>
4571 <action function="screenshot"/>
4572 </action>
4573 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004574
4575 <page name="select_language">
4576 <fill color="%semi_transparent%">
4577 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4578 </fill>
4579
4580 <fill color="%background_color%">
4581 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4582 </fill>
4583
4584 <listbox>
4585 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4586 <text>{@select_language=Select Language:}</text>
4587 <icon selected="radio_true" unselected="radio_false" />
4588 <data name="tw_language" />
4589 </listbox>
4590
4591 <button style="button_third_width">
4592 <placement x="%dialog_button_x%" y="%row14_y%"/>
4593 <text>{@ok_btn=OK}</text>
4594 <actions>
4595 <action function="overlay"/>
4596 <action function="setlanguage"></action>
4597 </actions>
4598 </button>
4599
4600 <fill color="#000000">
4601 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4602 </fill>
4603
4604 <button>
4605 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4606 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4607 <image resource="back"/>
4608 <condition var1="tw_busy" var2="0"/>
4609 <actions>
4610 <action function="overlay"/>
4611 <action function="key">%tw_back%</action>
4612 </actions>
4613 </button>
4614
4615 <button>
4616 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4617 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4618 <image resource="console"/>
4619 <condition var1="tw_busy" var2="0"/>
4620 <action function="overlay">slideout</action>
4621 </button>
4622
4623 <button>
4624 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4625 <image resource="home"/>
4626 <condition var1="tw_busy" var2="0"/>
4627 <actions>
4628 <action function="overlay"/>
4629 <action function="key">home</action>
4630 </actions>
4631 </button>
4632
4633 <button>
4634 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4635 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4636 <image resource="console"/>
4637 <condition var1="tw_busy" var2="0"/>
4638 <action function="overlay">slideout</action>
4639 </button>
4640
4641 <button>
4642 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4643 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4644 <image resource="back"/>
4645 <condition var1="tw_busy" var2="0"/>
4646 <actions>
4647 <action function="overlay"/>
4648 <action function="key">%tw_back%</action>
4649 </actions>
4650 </button>
4651
4652 <action>
4653 <touch key="power+voldown"/>
4654 <action function="screenshot"/>
4655 </action>
4656 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004657 </pages>
4658</recovery>