blob: 507f3841beff4fbb570a63f5484b67abd2c78938 [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>
Matt Mower9a2a2052016-05-31 21:31:22 -0500533
534 <action>
535 <conditions>
536 <condition var1="tw_install_reboot" var2="1"/>
537 <condition var1="tw_operation_status" var2="0"/>
538 <condition var1="tw_reboot_system" var2="1"/>
539 </conditions>
540 <actions>
541 <action function="set">tw_sleep=%tw_sleep_total%</action>
542 <action function="page">flash_sleep_and_reboot</action>
543 </actions>
544 </action>
545 </page>
546
547 <page name="flash_sleep_and_reboot">
548 <template name="page"/>
549
550 <text style="text_l">
551 <placement x="%col1_x_header%" y="%row3_header_y%"/>
552 <text>{@install_zip_hdr=Install Zip}</text>
553 </text>
554
555 <text style="text_m">
556 <placement x="%col1_x_header%" y="%row4_header_y%"/>
557 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
558 </text>
559
560 <template name="console"/>
561
562 <template name="progress_bar"/>
563
564 <button style="main_button_half_height">
565 <condition var1="tw_sleep" op="&gt;" var2="0"/>
566 <placement x="%center_x%" y="%row21a_y%"/>
567 <text>{@cancel_btn=Cancel}</text>
568 <actions>
569 <action function="set">tw_install_reboot=0</action>
570 <action function="page">flash_done</action>
571 </actions>
572 </button>
573
574 <action>
575 <conditions>
576 <condition var1="tw_sleep" var2="tw_sleep_total"/>
577 <condition var1="tw_install_reboot" var2="1"/>
578 </conditions>
579 <action function="sleepcounter">%tw_sleep_total%</action>
580 </action>
581
582 <action>
583 <conditions>
584 <condition var1="tw_sleep" var2="0"/>
585 <condition var1="tw_install_reboot" var2="1"/>
586 </conditions>
587 <actions>
588 <action function="sleep">50000</action>
589 <action function="set">tw_back=main2</action>
590 <action function="page">reboot_system_routine</action>
591 </actions>
592 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </page>
594
595 <page name="flashimage_confirm">
596 <template name="page"/>
597
598 <text style="text_l">
599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500600 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100601 </text>
602
603 <text style="text_m">
604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500605 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100606 </text>
607
608 <text style="text_m_accent">
609 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500610 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100611 </text>
612
613 <text style="text_m">
614 <placement x="%indent%" y="%row3_y%"/>
615 <text>%tw_zip_location%</text>
616 </text>
617
618 <text style="text_m_accent">
619 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 </text>
622
623 <text style="text_m">
624 <placement x="%indent%" y="%row5a_y%"/>
625 <text>%tw_file%</text>
626 </text>
627
628 <partitionlist>
629 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
630 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <data name="tw_flash_partition"/>
633 <listtype name="flashimg"/>
634 </partitionlist>
635
636 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 <actions>
639 <action function="set">tw_back=flashimage_confirm</action>
640 <action function="set">tw_action=flashimage</action>
641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500642 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100643 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500644 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100645 <action function="page">action_page</action>
646 </actions>
647 <action function="flashimage"/>
648 </slider>
649
650 <action>
651 <touch key="back"/>
652 <actions>
653 <action function="set">tw_clear_destination=install</action>
654 <action function="page">clear_vars</action>
655 </actions>
656 </action>
657
658 <action>
659 <touch key="home"/>
660 <actions>
661 <action function="set">tw_clear_destination=main2</action>
662 <action function="page">clear_vars</action>
663 </actions>
664 </action>
665 </page>
666
667 <page name="clear_vars">
668 <action>
669 <action function="set">tw_operation_state=0</action>
670 <action function="set">tw_text1=</action>
671 <action function="set">tw_text2=</action>
672 <action function="set">tw_text3=</action>
673 <action function="set">tw_text4=</action>
674 <action function="set">tw_action_text1=</action>
675 <action function="set">tw_action_text2=</action>
676 <action function="set">tw_action_param=</action>
677 <action function="set">tw_has_action2=0</action>
678 <action function="set">tw_action2=</action>
679 <action function="set">tw_action2_param=</action>
680 <action function="set">tw_has_cancel=0</action>
681 <action function="set">tw_cancel_action=</action>
682 <action function="set">tw_cancel_param=</action>
683 <action function="set">tw_show_exclamation=0</action>
684 <action function="set">tw_show_reboot=0</action>
685 <action function="page">%tw_clear_destination%</action>
686 </action>
687 </page>
688
689 <page name="confirm_action">
690 <template name="page"/>
691
692 <text style="text_l">
693 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100695 </text>
696
697 <text style="text_m">
698 <placement x="%col1_x_header%" y="%row4_header_y%"/>
699 <text/>
700 </text>
701
702 <text style="text_m_accent">
703 <placement x="%center_x%" y="%row2_y%" placement="5"/>
704 <text>%tw_text1%</text>
705 </text>
706
707 <text style="text_m_accent">
708 <placement x="%center_x%" y="%row3_y%" placement="5"/>
709 <text>%tw_text2%</text>
710 </text>
711
712 <text style="text_m">
713 <placement x="%center_x%" y="%row4_y%" placement="5"/>
714 <text>%tw_text3%</text>
715 </text>
716
717 <text style="text_m">
718 <placement x="%center_x%" y="%row5_y%" placement="5"/>
719 <text>%tw_text4%</text>
720 </text>
721
722 <text style="text_m">
723 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500724 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100725 </text>
726
727 <slider>
728 <text>%tw_slider_text%</text>
729 <action function="page">action_page</action>
730 </slider>
731
732 <action>
733 <touch key="back"/>
734 <actions>
735 <action function="set">tw_clear_destination=%tw_back%</action>
736 <action function="page">clear_vars</action>
737 </actions>
738 </action>
739
740 <action>
741 <touch key="home"/>
742 <action function="page">main</action>
743 </action>
744 </page>
745
746 <page name="action_page">
747 <template name="page"/>
748
749 <text style="text_l">
750 <placement x="%col1_x_header%" y="%row3_header_y%"/>
751 <text>%tw_action_text1%</text>
752 </text>
753
754 <text style="text_m">
755 <placement x="%col1_x_header%" y="%row4_header_y%"/>
756 <text>%tw_action_text2%</text>
757 </text>
758
759 <template name="console"/>
760
761 <template name="progress_bar"/>
762
763 <button style="main_button_half_height">
764 <condition var1="tw_has_cancel" var2="1"/>
765 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500766 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100767 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
768 </button>
769
770 <action>
771 <condition var1="tw_operation_state" var2="1"/>
772 <actions>
773 <action function="page">action_complete</action>
774 </actions>
775 </action>
776
777 <action>
778 <condition var1="tw_has_action2" var2="0"/>
779 <actions>
780 <action function="%tw_action%">%tw_action_param%</action>
781 </actions>
782 </action>
783
784 <action>
785 <condition var1="tw_has_action2" var2="1"/>
786 <actions>
787 <action function="%tw_action%">%tw_action_param%</action>
788 <action function="%tw_action2%">%tw_action2_param%</action>
789 </actions>
790 </action>
791 </page>
792
793 <page name="singleaction_page">
794 <template name="page"/>
795
796 <text style="text_l">
797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
798 <text>%tw_action_text1%</text>
799 </text>
800
801 <text style="text_m">
802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
803 <text>%tw_action_text2%</text>
804 </text>
805
806 <template name="console"/>
807
808 <template name="progress_bar"/>
809
810 <action>
811 <condition var1="tw_operation_state" var2="1"/>
812 <actions>
813 <action function="set">tw_page_done=1</action>
814 </actions>
815 </action>
816
817 <action>
818 <condition var1="tw_has_action2" var2="0"/>
819 <actions>
820 <action function="%tw_action%">%tw_action_param%</action>
821 </actions>
822 </action>
823
824 <action>
825 <condition var1="tw_has_action2" var2="1"/>
826 <actions>
827 <action function="%tw_action%">%tw_action_param%</action>
828 <action function="%tw_action2%">%tw_action2_param%</action>
829 </actions>
830 </action>
831 </page>
832
833 <page name="action_complete">
834 <template name="page"/>
835
836 <text style="text_l">
837 <placement x="%col1_x_header%" y="%row3_header_y%"/>
838 <text>%tw_complete_text1%</text>
839 </text>
840
841 <text style="text_m_fail">
842 <condition var1="tw_operation_status" op="!=" var2="0"/>
843 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500844 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100845 </text>
846
847 <text style="text_m">
848 <condition var1="tw_operation_status" var2="0"/>
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100851 </text>
852
853 <template name="console"/>
854
855 <button style="main_button_half_height">
856 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 <actions>
859 <action function="set">tw_clear_destination=%tw_back%</action>
860 <action function="page">clear_vars</action>
861 </actions>
862 </button>
863
864 <button style="main_button_half_height">
865 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500866 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100867 <actions>
868 <action function="set">tw_back=main2</action>
869 <action function="set">tw_action=reboot</action>
870 <action function="set">tw_action_param=system</action>
871 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500872 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
873 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100874 <action function="set">tw_text3=</action>
875 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500876 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100877 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500878 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
879 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100880 <action function="page">rebootcheck</action>
881 </actions>
882 </button>
883
884 <action>
885 <touch key="home"/>
886 <actions>
887 <action function="set">tw_clear_destination=main2</action>
888 <action function="page">clear_vars</action>
889 </actions>
890 </action>
891
892 <action>
893 <touch key="back"/>
894 <actions>
895 <action function="set">tw_clear_destination=%tw_back%</action>
896 <action function="page">clear_vars</action>
897 </actions>
898 </action>
899 </page>
900
901 <page name="filecheck">
902 <action>
903 <action function="fileexists">%tw_filecheck%</action>
904 </action>
905
906 <action>
907 <conditions>
908 <condition var1="tw_operation_state" var2="1"/>
909 <condition var1="tw_operation_status" var2="0"/>
910 </conditions>
911 <actions>
912 <action function="set">tw_fileexists=1</action>
913 <action function="page">%tw_existpage%</action>
914 </actions>
915 </action>
916
917 <action>
918 <conditions>
919 <condition var1="tw_operation_state" var2="1"/>
920 <condition var1="tw_operation_status" var2="1"/>
921 </conditions>
922 <actions>
923 <action function="set">tw_fileexists=0</action>
924 <action function="page">%tw_notexistpage%</action>
925 </actions>
926 </action>
927 </page>
928
929 <page name="rebootcheck">
930 <action>
931 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
932 <action function="reboot">%tw_action_param%</action>
933 </action>
934
935 <action>
936 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
937 <action function="page">confirm_action</action>
938 </action>
939 </page>
940
941 <page name="wipe">
942 <template name="page"/>
943
944 <text style="text_l">
945 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500946 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100947 </text>
948
949 <text style="text_m">
950 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </text>
953
954 <text style="text_m_accent">
955 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500956 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100957 </text>
958
959 <text style="text_m_accent">
960 <condition var1="tw_has_data_media" var2="1"/>
961 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500962 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100963 </text>
964
965 <text style="text_m_accent">
966 <conditions>
967 <condition var1="tw_has_android_secure" var2="1"/>
968 <condition var1="fileexists" var2="/and-sec"/>
969 </conditions>
970 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500971 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100972 </text>
973
974 <text style="text_m_accent">
975 <condition var1="tw_has_sdext_partition" var2="1"/>
976 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <text style="text_m">
981 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500982 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100983 </text>
984
985 <text style="text_m">
986 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500987 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100988 </text>
989
990 <text style="text_m">
991 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500992 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100993 </text>
994
995 <button style="main_button_half_height">
996 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500997 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100998 <actions>
999 <action function="set">partitionlisterror=0</action>
1000 <action function="page">advancedwipe</action>
1001 </actions>
1002 </button>
1003
1004 <button style="main_button_half_height">
1005 <condition var1="tw_has_data_media" var2="1"/>
1006 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001008 <action function="page">formatdata</action>
1009 </button>
1010
1011 <button style="main_button_half_height">
1012 <conditions>
1013 <condition var1="tw_is_encrypted" var2="1"/>
1014 <condition var1="tw_has_data_media" var2="0"/>
1015 </conditions>
1016 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001017 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001018 <actions>
1019 <action function="set">tw_back=wipe</action>
1020 <action function="set">tw_action=wipe</action>
1021 <action function="set">tw_action_param=DATAMEDIA</action>
1022 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001023 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001024 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1026 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1027 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001028 <action function="page">confirm_action</action>
1029 </actions>
1030 </button>
1031
1032 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001033 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001034 <actions>
1035 <action function="set">tw_back=wipe</action>
1036 <action function="set">tw_action=wipe</action>
1037 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1039 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001040 <action function="page">action_page</action>
1041 </actions>
1042 </slider>
1043
1044 <action>
1045 <touch key="back"/>
1046 <action function="page">main</action>
1047 </action>
1048
1049 <action>
1050 <touch key="home"/>
1051 <action function="page">main</action>
1052 </action>
1053 </page>
1054
1055 <page name="advancedwipe">
1056 <template name="page"/>
1057
1058 <action>
1059 <action function="set">tw_wipe_list=</action>
1060 </action>
1061
1062 <text style="text_l">
1063 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <text style="text_m">
1068 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 </text>
1071
1072 <partitionlist>
1073 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001074 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001075 <data name="tw_wipe_list"/>
1076 <listtype name="wipe"/>
1077 </partitionlist>
1078
1079 <text style="text_m_fail">
1080 <condition var1="partitionlisterror" var2="1"/>
1081 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <button style="main_button_half_height_full_width">
1086 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001089 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001090 <action function="page">checkpartitionlist</action>
1091 </actions>
1092 </button>
1093
1094 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001096 <actions>
1097 <action function="set">tw_back=advancedwipe</action>
1098 <action function="set">tw_action=wipe</action>
1099 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1101 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1102 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001103 <action function="page">action_page</action>
1104 </actions>
1105 </slider>
1106
1107 <action>
1108 <touch key="home"/>
1109 <action function="page">main</action>
1110 </action>
1111
1112 <action>
1113 <touch key="back"/>
1114 <action function="page">wipe</action>
1115 </action>
1116 </page>
1117
1118 <page name="formatdata">
1119 <template name="page"/>
1120
1121 <text style="text_l">
1122 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001123 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001124 </text>
1125
1126 <text style="text_m">
1127 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001129 </text>
1130
1131 <text style="text_m_fail">
1132 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001133 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001134 </text>
1135
1136 <text style="text_m_fail">
1137 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 </text>
1140
1141 <text style="text_m_fail">
1142 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001144 </text>
1145
Ethan Yonker66a19492015-12-10 10:19:45 -06001146 <text style="text_m_fail">
1147 <condition var1="tw_has_adopted_storage" var2="1"/>
1148 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1149 <text>{@format_data_adopted=Including Adopted Storage}</text>
1150 </text>
1151
z31s1g28f0a922015-11-07 18:50:22 +01001152 <text style="text_m">
1153 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001154 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001155 </text>
1156
1157 <text style="text_m">
1158 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001160 </text>
1161
1162 <input>
1163 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1164 <text>%tw_confirm_formatdata%</text>
1165 <data name="tw_confirm_formatdata"/>
1166 <restrict minlen="3" maxlen="3" allow="yes"/>
1167 <action function="page">formatdata_confirm</action>
1168 </input>
1169
1170 <fill color="%accent_color%">
1171 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1172 </fill>
1173
1174 <template name="keyboardtemplate"/>
1175
1176 <action>
1177 <touch key="home"/>
1178 <action function="page">main</action>
1179 </action>
1180
1181 <action>
1182 <touch key="back"/>
1183 <action function="page">wipe</action>
1184 </action>
1185 </page>
1186
1187 <page name="formatdata_confirm">
1188 <action>
1189 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1190 <actions>
1191 <action function="set">tw_back=formatdata</action>
1192 <action function="set">tw_action=wipe</action>
1193 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1195 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001196 <action function="page">action_page</action>
1197 </actions>
1198 </action>
1199
1200 <action>
1201 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1202 <action function="page">formatdata</action>
1203 </action>
1204 </page>
1205
1206 <page name="checkpartitionlist">
1207 <action>
1208 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1209 <actions>
1210 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001211 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001212 <action function="page">partitionoptions</action>
1213 </actions>
1214 </action>
1215
1216 <action>
1217 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1218 <actions>
1219 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001220 <action function="page">advancedwipe</action>
1221 </actions>
1222 </action>
1223 </page>
1224
1225 <page name="partitionoptions">
1226 <template name="page"/>
1227
1228 <text style="text_l">
1229 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001230 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001231 </text>
1232
1233 <text style="text_m">
1234 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m_accent">
1239 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m_accent">
1244 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 </text>
1247
1248 <text style="text_m">
1249 <condition var1="tw_partition_is_present" var2="1"/>
1250 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
1254 <text style="text_m">
1255 <condition var1="tw_partition_is_present" var2="0"/>
1256 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
1260 <text style="text_m">
1261 <condition var1="tw_partition_removable" var2="1"/>
1262 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001263 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001264 </text>
1265
1266 <text style="text_m">
1267 <condition var1="tw_partition_removable" var2="0"/>
1268 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001269 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001270 </text>
1271
1272 <text style="text_m">
1273 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001275 </text>
1276
1277 <text style="text_m">
1278 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001279 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001280 </text>
1281
1282 <text style="text_m">
1283 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001284 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001285 </text>
1286
1287 <text style="text_m">
1288 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001289 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001290 </text>
1291
1292 <button style="main_button_half_height">
1293 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1294 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 <actions>
1297 <action function="set">tw_back=partitionoptions</action>
1298 <action function="set">tw_action=resize</action>
1299 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1300 <action function="set">tw_has_action2=1</action>
1301 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001302 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001303 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1306 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1307 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001308 <action function="page">confirm_action</action>
1309 </actions>
1310 </button>
1311
1312 <button style="main_button_half_height">
1313 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1314 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 <actions>
1317 <action function="set">tw_back=partitionoptions</action>
1318 <action function="set">tw_action=repair</action>
1319 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1320 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1324 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1325 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001326 <action function="page">confirm_action</action>
1327 </actions>
1328 </button>
1329
1330 <button style="main_button_half_height">
1331 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 <action function="page">selectfilesystem</action>
1334 </button>
1335
1336 <action>
1337 <touch key="home"/>
1338 <action function="page">main</action>
1339 </action>
1340
1341 <action>
1342 <touch key="back"/>
1343 <action function="page">advancedwipe</action>
1344 </action>
1345 </page>
1346
1347 <page name="refreshfilesystem">
1348 <action>
1349 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1350 <actions>
1351 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001352 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001353 <action function="page">selectfilesystem</action>
1354 </actions>
1355 </action>
1356
1357 <action>
1358 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1359 <actions>
1360 <action function="set">partitionlisterror=1</action>
1361 <action function="set">tw_wipe_list=</action>
1362 <action function="page">advancedwipe</action>
1363 </actions>
1364 </action>
1365 </page>
1366
1367 <page name="selectfilesystem">
1368 <template name="page"/>
1369
1370 <text style="text_l">
1371 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001372 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001373 </text>
1374
1375 <text style="text_m">
1376 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m_accent">
1381 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m_accent">
1386 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m_fail">
1391 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <text style="text_m_fail">
1396 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001397 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001398 </text>
1399
1400 <button style="main_button_half_height">
1401 <condition var1="tw_partition_ext" op="=" var2="1"/>
1402 <placement x="%indent%" y="%row15a_y%"/>
1403 <text>EXT2</text>
1404 <actions>
1405 <action function="set">tw_back=refreshfilesystem</action>
1406 <action function="set">tw_action=changefilesystem</action>
1407 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1408 <action function="set">tw_action_new_file_system=ext2</action>
1409 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1411 <action function="set">tw_text2=EXT2</action>
1412 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1413 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1414 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001415 <action function="page">confirm_action</action>
1416 </actions>
1417 </button>
1418
1419 <button style="main_button_half_height">
1420 <condition var1="tw_partition_ext" op="=" var2="1"/>
1421 <placement x="%indent%" y="%row18a_y%"/>
1422 <text>EXT3</text>
1423 <actions>
1424 <action function="set">tw_back=refreshfilesystem</action>
1425 <action function="set">tw_action=changefilesystem</action>
1426 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1427 <action function="set">tw_action_new_file_system=ext3</action>
1428 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1430 <action function="set">tw_text2=EXT3</action>
1431 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1432 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1433 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001434 <action function="page">confirm_action</action>
1435 </actions>
1436 </button>
1437
1438 <button style="main_button_half_height">
1439 <condition var1="tw_partition_ext" op="=" var2="1"/>
1440 <placement x="%indent%" y="%row21a_y%"/>
1441 <text>EXT4</text>
1442 <actions>
1443 <action function="set">tw_back=refreshfilesystem</action>
1444 <action function="set">tw_action=changefilesystem</action>
1445 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1446 <action function="set">tw_action_new_file_system=ext4</action>
1447 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001448 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1449 <action function="set">tw_text2=EXT4</action>
1450 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1451 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1452 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">confirm_action</action>
1454 </actions>
1455 </button>
1456
1457 <button style="main_button_half_height">
1458 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1459 <placement x="%center_x%" y="%row15a_y%"/>
1460 <text>FAT</text>
1461 <actions>
1462 <action function="set">tw_back=refreshfilesystem</action>
1463 <action function="set">tw_action=changefilesystem</action>
1464 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1465 <action function="set">tw_action_new_file_system=vfat</action>
1466 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001467 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1468 <action function="set">tw_text2=FAT</action>
1469 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1470 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1471 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001472 <action function="page">confirm_action</action>
1473 </actions>
1474 </button>
1475
1476 <button style="main_button_half_height">
1477 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1478 <placement x="%center_x%" y="%row18a_y%"/>
1479 <text>exFAT</text>
1480 <actions>
1481 <action function="set">tw_back=refreshfilesystem</action>
1482 <action function="set">tw_action=changefilesystem</action>
1483 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1484 <action function="set">tw_action_new_file_system=exfat</action>
1485 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001486 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1487 <action function="set">tw_text2=exFAT</action>
1488 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1489 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1490 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001491 <action function="page">confirm_action</action>
1492 </actions>
1493 </button>
1494
1495 <button style="main_button_half_height">
1496 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1497 <placement x="%center_x%" y="%row21a_y%"/>
1498 <text>F2FS</text>
1499 <actions>
1500 <action function="set">tw_back=refreshfilesystem</action>
1501 <action function="set">tw_action=changefilesystem</action>
1502 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1503 <action function="set">tw_action_new_file_system=f2fs</action>
1504 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1506 <action function="set">tw_text2=F2FS</action>
1507 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1508 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1509 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001510 <action function="page">confirm_action</action>
1511 </actions>
1512 </button>
1513
1514 <action>
1515 <touch key="home"/>
1516 <action function="page">main</action>
1517 </action>
1518
1519 <action>
1520 <touch key="back"/>
1521 <action function="page">partitionoptions</action>
1522 </action>
1523 </page>
1524
1525 <page name="backup">
1526 <template name="page"/>
1527
1528 <text style="text_l">
1529 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001531 </text>
1532
1533 <text style="text_m">
1534 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001535 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001536 </text>
1537
1538 <template name="tabs_backup"/>
1539
1540 <fill color="%text_color%">
1541 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1542 </fill>
1543
1544 <button style="tab">
1545 <conditions>
1546 <condition var1="tw_include_encrypted_backup" var2="1"/>
1547 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001548 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001549 </conditions>
1550 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <font resource="font_s" color="%text_color%"/>
1553 <actions>
1554 <action function="set">tw_password_not_match=0</action>
1555 <action function="page">backupencryption</action>
1556 </actions>
1557 </button>
1558
1559 <button style="tab">
1560 <conditions>
1561 <condition var1="tw_include_encrypted_backup" var2="1"/>
1562 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001563 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001564 </conditions>
1565 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001566 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001567 <font resource="font_s" color="%text_success_color%"/>
1568 <actions>
1569 <action function="set">tw_password_not_match=0</action>
1570 <action function="page">backupencryption</action>
1571 </actions>
1572 </button>
1573
1574 <text style="text_m_accent">
1575 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001576 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001577 </text>
1578
1579 <text style="text_m">
1580 <placement x="%indent%" y="%row4a_y%"/>
1581 <text>%tw_backup_name%</text>
1582 </text>
1583
1584 <fill color="%fileselector_linecolor%">
1585 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1586 </fill>
1587
1588 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001589 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1591 <fill color="%transparent%"/>
1592 <actions>
1593 <action function="set">tw_fileexists=0</action>
1594 <action function="page">backupname1</action>
1595 </actions>
1596 </button>
1597
1598 <partitionlist>
1599 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <data name="tw_backup_list"/>
1602 <listtype name="backup"/>
1603 </partitionlist>
1604
1605 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001606 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001609 <actions>
1610 <action function="set">tw_back=backup</action>
1611 <action function="overlay">select_storage</action>
1612 </actions>
1613 </button>
1614
1615 <button style="main_button_half_height">
1616 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <actions>
1619 <action function="refreshsizes"/>
1620 <action function="page">backup</action>
1621 </actions>
1622 </button>
1623
1624 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <action function="page">backup_run</action>
1627 </slider>
1628
1629 <action>
1630 <touch key="home"/>
1631 <action function="page">main</action>
1632 </action>
1633
1634 <action>
1635 <touch key="back"/>
1636 <action function="page">main</action>
1637 </action>
1638 </page>
1639
1640 <page name="backup_options">
1641 <template name="page"/>
1642
1643 <text style="text_l">
1644 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <text style="text_m">
1649 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <template name="tabs_backup"/>
1654
1655 <fill color="%text_color%">
1656 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1657 </fill>
1658
1659 <button style="tab">
1660 <conditions>
1661 <condition var1="tw_include_encrypted_backup" var2="1"/>
1662 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001663 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </conditions>
1665 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001666 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001667 <font resource="font_s" color="%text_color%"/>
1668 <actions>
1669 <action function="set">tw_password_not_match=0</action>
1670 <action function="page">backupencryption</action>
1671 </actions>
1672 </button>
1673
1674 <button style="tab">
1675 <conditions>
1676 <condition var1="tw_include_encrypted_backup" var2="1"/>
1677 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001678 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </conditions>
1680 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001681 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001682 <font resource="font_s" color="%text_success_color%"/>
1683 <actions>
1684 <action function="set">tw_password_not_match=0</action>
1685 <action function="page">backupencryption</action>
1686 </actions>
1687 </button>
1688
1689 <checkbox>
1690 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001691 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <data variable="tw_use_compression"/>
1693 </checkbox>
1694
1695 <checkbox>
1696 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <data variable="tw_skip_md5_generate"/>
1699 </checkbox>
1700
1701 <checkbox>
1702 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001703 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001704 <data variable="tw_disable_free_space"/>
1705 </checkbox>
1706
1707 <action>
1708 <touch key="home"/>
1709 <action function="page">main</action>
1710 </action>
1711
1712 <action>
1713 <touch key="back"/>
1714 <action function="page">backup</action>
1715 </action>
1716 </page>
1717
1718 <page name="backupname1">
1719 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001720 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <action function="generatebackupname"/>
1722 </action>
1723
1724 <action>
1725 <action function="page">backupname2</action>
1726 </action>
1727 </page>
1728
1729 <page name="backupname2">
1730 <template name="page"/>
1731
1732 <text style="text_l">
1733 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <text style="text_m">
1738 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001739 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001740 </text>
1741
1742 <template name="tabs_backup"/>
1743
1744 <fill color="%text_color%">
1745 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1746 </fill>
1747
1748 <button style="tab">
1749 <conditions>
1750 <condition var1="tw_include_encrypted_backup" var2="1"/>
1751 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001752 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001753 </conditions>
1754 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001755 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001756 <font resource="font_s" color="%text_color%"/>
1757 <actions>
1758 <action function="set">tw_password_not_match=0</action>
1759 <action function="page">backupencryption</action>
1760 </actions>
1761 </button>
1762
1763 <button style="tab">
1764 <conditions>
1765 <condition var1="tw_include_encrypted_backup" var2="1"/>
1766 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001767 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001768 </conditions>
1769 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 <font resource="font_s" color="%text_success_color%"/>
1772 <actions>
1773 <action function="set">tw_password_not_match=0</action>
1774 <action function="page">backupencryption</action>
1775 </actions>
1776 </button>
1777
1778 <text style="text_m_accent">
1779 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001780 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001781 </text>
1782
1783 <input>
1784 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1785 <text>%tw_backup_name%</text>
1786 <data name="tw_backup_name"/>
1787 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1788 <actions>
1789 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1790 <action function="set">tw_existpage=backupname2</action>
1791 <action function="set">tw_notexistpage=backup</action>
1792 <action function="page">filecheck</action>
1793 </actions>
1794 </input>
1795
1796 <fill color="%accent_color%">
1797 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1798 </fill>
1799
1800 <fill color="%text_fail_color%">
1801 <condition var1="tw_fileexists" var2="1"/>
1802 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1803 </fill>
1804
1805 <text style="text_m_fail">
1806 <condition var1="tw_fileexists" var2="1"/>
1807 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <button style="main_button_half_height">
1812 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001814 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001815 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001816 <action function="page">backup</action>
1817 </actions>
1818 </button>
1819
1820 <button style="main_button_half_height">
1821 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 <action function="appenddatetobackupname"/>
1824 </button>
1825
1826 <template name="keyboardtemplate"/>
1827
1828 <action>
1829 <touch key="home"/>
1830 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001832 <action function="page">main</action>
1833 </actions>
1834 </action>
1835
1836 <action>
1837 <touch key="back"/>
1838 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001839 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001840 <action function="page">backup</action>
1841 </actions>
1842 </action>
1843 </page>
1844
1845 <page name="backupencryption">
1846 <template name="page"/>
1847
1848 <text style="text_l">
1849 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001850 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001851 </text>
1852
1853 <text style="text_m">
1854 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001856 </text>
1857
1858 <template name="tabs_backup"/>
1859
1860 <button style="tab">
1861 <conditions>
1862 <condition var1="tw_include_encrypted_backup" var2="1"/>
1863 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001864 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001865 </conditions>
1866 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001867 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001868 <font resource="font_s" color="%text_color%"/>
1869 <actions>
1870 <action function="set">tw_password_not_match=0</action>
1871 <action function="page">backupencryption</action>
1872 </actions>
1873 </button>
1874
1875 <button style="tab">
1876 <conditions>
1877 <condition var1="tw_include_encrypted_backup" var2="1"/>
1878 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001879 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001880 </conditions>
1881 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001882 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001883 <font resource="font_s" color="%text_success_color%"/>
1884 <actions>
1885 <action function="set">tw_password_not_match=0</action>
1886 <action function="page">backupencryption</action>
1887 </actions>
1888 </button>
1889
1890 <fill color="%text_color%">
1891 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1892 </fill>
1893
1894 <text style="text_m_accent">
1895 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001896 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001897 </text>
1898
1899 <text style="text_m">
1900 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001901 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001902 </text>
1903
1904 <input>
1905 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1906 <text>%tw_backup_encrypt_display%</text>
1907 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1908 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1909 <action function="page">backupencryption2</action>
1910 </input>
1911
1912 <fill color="%accent_color%">
1913 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1914 </fill>
1915
1916 <fill color="%text_fail_color%">
1917 <condition var1="tw_password_not_match" var2="1"/>
1918 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1919 </fill>
1920
1921 <text style="text_m_fail">
1922 <condition var1="tw_password_not_match" var2="1"/>
1923 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001924 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001925 </text>
1926
1927 <button style="main_button_half_height">
1928 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001929 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001930 <actions>
1931 <action function="set">tw_encrypt_backup=0</action>
1932 <action function="set">tw_backup_password=</action>
1933 <action function="set">tw_backup_password2=</action>
1934 <action function="set">tw_backup_encrypt_display=</action>
1935 <action function="set">tw_backup_encrypt_display2=</action>
1936 <action function="page">backup</action>
1937 </actions>
1938 </button>
1939
1940 <template name="keyboardtemplate"/>
1941
1942 <action>
1943 <touch key="home"/>
1944 <action function="page">main</action>
1945 </action>
1946
1947 <action>
1948 <touch key="back"/>
1949 <action function="page">backup</action>
1950 </action>
1951 </page>
1952
1953 <page name="backupencryption2">
1954 <template name="page"/>
1955
1956 <text style="text_l">
1957 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001958 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001959 </text>
1960
1961 <text style="text_m">
1962 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001963 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001964 </text>
1965
1966 <template name="tabs_backup"/>
1967
1968 <button style="tab">
1969 <conditions>
1970 <condition var1="tw_include_encrypted_backup" var2="1"/>
1971 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001972 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001973 </conditions>
1974 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001975 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001976 <font resource="font_s" color="%text_color%"/>
1977 <actions>
1978 <action function="set">tw_password_not_match=0</action>
1979 <action function="page">backupencryption</action>
1980 </actions>
1981 </button>
1982
1983 <button style="tab">
1984 <conditions>
1985 <condition var1="tw_include_encrypted_backup" var2="1"/>
1986 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001987 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001988 </conditions>
1989 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 <font resource="font_s" color="%text_success_color%"/>
1992 <actions>
1993 <action function="set">tw_password_not_match=0</action>
1994 <action function="page">backupencryption</action>
1995 </actions>
1996 </button>
1997
1998 <fill color="%text_color%">
1999 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2000 </fill>
2001
2002 <text style="text_m_accent">
2003 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002004 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002005 </text>
2006
2007 <text style="text_m">
2008 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002009 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002010 </text>
2011
2012 <input>
2013 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2014 <text>%tw_backup_encrypt_display2%</text>
2015 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2016 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2017 <action function="page">checkbackuppassword</action>
2018 </input>
2019
2020 <fill color="%accent_color%">
2021 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2022 </fill>
2023
2024 <button style="main_button_half_height">
2025 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002027 <actions>
2028 <action function="set">tw_encrypt_backup=0</action>
2029 <action function="set">tw_backup_password=</action>
2030 <action function="set">tw_backup_password2=</action>
2031 <action function="set">tw_backup_encrypt_display=</action>
2032 <action function="set">tw_backup_encrypt_display2=</action>
2033 <action function="page">backup</action>
2034 </actions>
2035 </button>
2036
2037 <template name="keyboardtemplate"/>
2038
2039 <action>
2040 <touch key="home"/>
2041 <action function="page">main</action>
2042 </action>
2043
2044 <action>
2045 <touch key="back"/>
2046 <action function="page">backup</action>
2047 </action>
2048 </page>
2049
2050 <page name="checkbackuppassword">
2051 <action>
2052 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2053 <actions>
2054 <action function="set">tw_encrypt_backup=1</action>
2055 <action function="page">backup</action>
2056 </actions>
2057 </action>
2058
2059 <action>
2060 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2061 <actions>
2062 <action function="set">tw_encrypt_backup=0</action>
2063 <action function="set">tw_password_not_match=1</action>
2064 <action function="set">tw_backup_password=</action>
2065 <action function="set">tw_backup_password2=</action>
2066 <action function="set">tw_backup_encrypt_display=</action>
2067 <action function="set">tw_backup_encrypt_display2=</action>
2068 <action function="page">backupencryption</action>
2069 </actions>
2070 </action>
2071 </page>
2072
2073 <page name="backup_run">
2074 <template name="page"/>
2075
2076 <text style="text_l">
2077 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2078 <text>%tw_operation%</text>
2079 </text>
2080
2081 <text style="text_m">
2082 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2083 <text>%tw_partition% Partition</text>
2084 </text>
2085
2086 <template name="console"/>
2087
2088 <template name="progress_bar"/>
2089
2090 <text style="text_m_accent">
2091 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <text style="text_m">
2096 <placement x="%indent%" y="%row20_y%"/>
2097 <text>%tw_file_progress%</text>
2098 </text>
2099
2100 <text style="text_m">
2101 <placement x="%indent%" y="%row21_y%"/>
2102 <text>%tw_size_progress%</text>
2103 </text>
2104
2105 <button style="main_button_half_height">
2106 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002107 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002108 <action function="cancelbackup"/>
2109 </button>
2110
2111 <action>
2112 <action function="nandroid">backup</action>
2113 </action>
2114
2115 <action>
2116 <condition var1="tw_operation_state" var2="1"/>
2117 <condition var1="tw_cancel_backup" var2="0"/>
2118 <actions>
2119 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002120 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002121 <action function="set">tw_show_reboot=1</action>
2122 <action function="page">action_complete</action>
2123 </actions>
2124 </action>
2125
2126 <action>
2127 <condition var1="tw_operation_state" var2="1"/>
2128 <condition var1="tw_cancel_backup" var2="1"/>
2129 <actions>
2130 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002131 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002132 <action function="set">tw_show_reboot=1</action>
2133 <action function="page">action_complete</action>
2134 </actions>
2135 </action>
2136 </page>
2137
2138 <page name="restore">
2139 <template name="page"/>
2140
2141 <text style="text_l">
2142 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </text>
2145
2146 <text style="text_m">
2147 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002148 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002149 </text>
2150
2151 <template name="sort_options"/>
2152
2153 <fileselector>
2154 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002155 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002156 <filter folders="1" files="0" nav="0"/>
2157 <path name="tw_backups_folder"/>
2158 <data name="tw_restore" default=""/>
2159 <selection name="tw_restore_name"/>
2160 </fileselector>
2161
2162 <button style="main_button_half_height">
2163 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002164 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002165 <actions>
2166 <action function="set">tw_back=restore</action>
2167 <action function="overlay">select_storage</action>
2168 </actions>
2169 </button>
2170
2171 <action>
2172 <condition var1="tw_restore" op="modified"/>
2173 <actions>
2174 <action function="readBackup"/>
2175 <action function="page">restore_read</action>
2176 </actions>
2177 </action>
2178
2179 <action>
2180 <touch key="home"/>
2181 <action function="page">main</action>
2182 </action>
2183
2184 <action>
2185 <touch key="back"/>
2186 <action function="page">main</action>
2187 </action>
2188 </page>
2189
2190 <page name="restore_read">
2191 <action>
2192 <condition var1="tw_restore_encrypted" var2="1"/>
2193 <actions>
2194 <action function="set">tw_password_fail=0</action>
2195 <action function="page">restore_decrypt</action>
2196 </actions>
2197 </action>
2198
2199 <action>
2200 <condition var1="tw_restore_encrypted" var2="0"/>
2201 <actions>
2202 <action function="page">restore_select</action>
2203 </actions>
2204 </action>
2205 </page>
2206
2207 <page name="restore_decrypt">
2208 <template name="page"/>
2209
2210 <text style="text_l">
2211 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m">
2216 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <text style="text_m_accent">
2221 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002222 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002223 </text>
2224
2225 <input>
2226 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2227 <text>%tw_restore_display%</text>
2228 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2229 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2230 <action function="page">try_restore_decrypt</action>
2231 </input>
2232
2233 <fill color="%accent_color%">
2234 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2235 </fill>
2236
2237 <fill color="%text_fail_color%">
2238 <condition var1="tw_password_fail" var2="1"/>
2239 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2240 </fill>
2241
2242 <text style="text_m_fail">
2243 <condition var1="tw_password_fail" var2="1"/>
2244 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 </text>
2247
2248 <button style="main_button_half_height">
2249 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002250 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002251 <actions>
2252 <action function="set">tw_page_done=1</action>
2253 <action function="page">restore</action>
2254 </actions>
2255 </button>
2256
2257 <button style="main_button_half_height">
2258 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002259 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002260 <actions>
2261 <action function="set">tw_back=restore</action>
2262 <action function="set">tw_action=cmd</action>
2263 <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 -05002264 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2265 <action function="set">tw_text2=%tw_restore_name%</action>
2266 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2267 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2268 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2269 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <action function="page">confirm_action</action>
2271 </actions>
2272 </button>
2273
2274 <template name="keyboardtemplate"/>
2275
2276 <action>
2277 <touch key="home"/>
2278 <action function="page">main</action>
2279 </action>
2280
2281 <action>
2282 <touch key="back"/>
2283 <action function="page">restore</action>
2284 </action>
2285 </page>
2286
2287 <page name="try_restore_decrypt">
2288 <template name="page"/>
2289
2290 <text style="text_l">
2291 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <text style="text_m">
2296 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002297 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002298 </text>
2299
2300 <template name="console"/>
2301
2302 <template name="progress_bar"/>
2303
2304 <action>
2305 <action function="decrypt_backup"/>
2306 </action>
2307
2308 <action>
2309 <conditions>
2310 <condition var1="tw_operation_state" var2="1"/>
2311 <condition var1="tw_operation_status" op="!=" var2="0"/>
2312 </conditions>
2313 <actions>
2314 <action function="set">tw_password_fail=1</action>
2315 <action function="page">restore_decrypt</action>
2316 </actions>
2317 </action>
2318
2319 <action>
2320 <conditions>
2321 <condition var1="tw_operation_state" var2="1"/>
2322 <condition var1="tw_operation_status" op="=" var2="0"/>
2323 </conditions>
2324 <actions>
2325 <action function="set">tw_page_done=1</action>
2326 <action function="page">restore_select</action>
2327 </actions>
2328 </action>
2329 </page>
2330
2331 <page name="restore_select">
2332 <template name="page"/>
2333
2334 <text style="text_l">
2335 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002336 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002337 </text>
2338
2339 <text style="text_m">
2340 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <text style="text_m_accent">
2345 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <text style="text_m">
2350 <placement x="%indent%" y="%row3_y%"/>
2351 <text>%tw_restore_name%</text>
2352 </text>
2353
2354 <fill color="%fileselector_linecolor%">
2355 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2356 </fill>
2357
2358 <button>
2359 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2360 <fill color="%transparent%"/>
2361 <actions>
2362 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2363 <action function="set">tw_fileexists=0</action>
2364 <action function="page">renamebackup</action>
2365 </actions>
2366 </button>
2367
2368 <partitionlist>
2369 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2372 <listtype name="restore"/>
2373 </partitionlist>
2374
2375 <checkbox>
2376 <placement x="%indent%" y="%row17_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002377 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002378 <data variable="tw_skip_md5_check"/>
2379 </checkbox>
2380
2381 <button style="main_button_half_height">
2382 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002383 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002384 <actions>
2385 <action function="set">tw_back=restore</action>
2386 <action function="set">tw_action=cmd</action>
2387 <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 -05002388 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002389 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002390 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2391 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2392 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2393 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002394 <action function="page">confirm_action</action>
2395 </actions>
2396 </button>
2397
2398 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002399 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002400 <action function="page">restore_run</action>
2401 </slider>
2402
2403 <action>
2404 <touch key="home"/>
2405 <action function="page">main</action>
2406 </action>
2407
2408 <action>
2409 <touch key="back"/>
2410 <action function="page">restore</action>
2411 </action>
2412 </page>
2413
2414 <page name="renamebackup">
2415 <template name="page"/>
2416
2417 <text style="text_l">
2418 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m">
2423 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002424 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002425 </text>
2426
2427 <text style="text_m_accent">
2428 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002429 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002430 </text>
2431
2432 <input>
2433 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2434 <text>%tw_backup_rename%</text>
2435 <data name="tw_backup_rename"/>
2436 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2437 <actions>
2438 <action function="set">tw_back=restore</action>
2439 <action function="set">tw_action=cmd</action>
2440 <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 -05002441 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2442 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2443 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2444 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2445 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2447 <action function="set">tw_existpage=renamebackup</action>
2448 <action function="set">tw_notexistpage=confirm_action</action>
2449 <action function="page">filecheck</action>
2450 </actions>
2451 </input>
2452
2453 <fill color="%accent_color%">
2454 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2455 </fill>
2456
2457 <fill color="%text_fail_color%">
2458 <condition var1="tw_fileexists" var2="1"/>
2459 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2460 </fill>
2461
2462 <text style="text_m_fail">
2463 <condition var1="tw_fileexists" var2="1"/>
2464 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002465 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002466 </text>
2467
2468 <button style="main_button_half_height">
2469 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002470 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002471 <action function="page">restore_select</action>
2472 </button>
2473
2474 <template name="keyboardtemplate"/>
2475
2476 <action>
2477 <touch key="home"/>
2478 <action function="page">main</action>
2479 </action>
2480
2481 <action>
2482 <touch key="back"/>
2483 <action function="page">restore_select</action>
2484 </action>
2485 </page>
2486
2487 <page name="restore_run">
2488 <template name="page"/>
2489
2490 <text style="text_l">
2491 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002492 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002493 </text>
2494
2495 <text style="text_m">
2496 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2497 <text>%tw_operation% %tw_partition%</text>
2498 </text>
2499
2500 <template name="console"/>
2501
2502 <template name="progress_bar"/>
2503
2504 <text style="text_m_accent">
2505 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002506 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <text style="text_m">
2510 <placement x="%indent%" y="%row20_y%"/>
2511 <text>%tw_size_progress%</text>
2512 </text>
2513
2514 <action>
2515 <condition var1="tw_operation_state" var2="1"/>
2516 <actions>
2517 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002518 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002519 <action function="set">tw_show_reboot=1</action>
2520 <action function="page">action_complete</action>
2521 </actions>
2522 </action>
2523
2524 <action>
2525 <action function="nandroid">restore</action>
2526 </action>
2527 </page>
2528
2529 <page name="mount">
2530 <template name="page"/>
2531
2532 <text style="text_l">
2533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <text style="text_m">
2538 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <partitionlist>
2543 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <listtype name="mount"/>
2546 </partitionlist>
2547
2548 <button style="checkbox">
2549 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2550 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <image resource="checkbox_false"/>
2553 <action function="mountsystemtoggle">1</action>
2554 </button>
2555
2556 <button style="checkbox">
2557 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2558 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002559 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002560 <image resource="checkbox_true"/>
2561 <actions>
2562 <action function="set">tw_lifetime_writes=2</action>
2563 <action function="page">system_readonly_check</action>
2564 </actions>
2565 </button>
2566
2567 <button style="main_button_half_height">
2568 <condition var1="tw_has_usb_storage" var2="1"/>
2569 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002570 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002571 <action function="page">usb_mount</action>
2572 </button>
2573
2574 <button style="main_button_half_height">
2575 <conditions>
2576 <condition var1="tw_is_encrypted" var2="1"/>
2577 <condition var1="tw_is_decrypted" var2="0"/>
2578 </conditions>
2579 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002580 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002581 <action function="page">decrypt</action>
2582 </button>
2583
2584 <button style="main_button_half_height">
2585 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002586 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002587 <actions>
2588 <action function="set">tw_back=mount</action>
2589 <action function="overlay">select_storage</action>
2590 </actions>
2591 </button>
2592
2593 <button style="main_button_half_height">
2594 <conditions>
2595 <condition var1="tw_has_mtp" var2="1"/>
2596 <condition var1="tw_mtp_enabled" var2="0"/>
2597 </conditions>
2598 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 <action function="startmtp"/>
2601 </button>
2602
2603 <button style="main_button_half_height">
2604 <conditions>
2605 <condition var1="tw_has_mtp" var2="1"/>
2606 <condition var1="tw_mtp_enabled" var2="1"/>
2607 </conditions>
2608 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002609 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002610 <action function="stopmtp"/>
2611 </button>
2612
2613 <action>
2614 <touch key="home"/>
2615 <action function="page">main</action>
2616 </action>
2617
2618 <action>
2619 <touch key="back"/>
2620 <action function="page">main</action>
2621 </action>
2622 </page>
2623
2624 <page name="usb_mount">
2625 <template name="page"/>
2626
2627 <text style="text_l">
2628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002629 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 </text>
2631
2632 <text style="text_m">
2633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002634 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 </text>
2636
2637 <text style="text_m_accent">
2638 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 </text>
2641
2642 <text style="text_m">
2643 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 </text>
2646
2647 <text style="text_m">
2648 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002650 </text>
2651
2652 <button style="main_button_half_height">
2653 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="page">usb_umount</action>
2656 </button>
2657
2658 <action>
2659 <action function="mount">usb</action>
2660 <action function="set">tw_busy=1</action>
2661 </action>
2662 </page>
2663
2664 <page name="usb_umount">
2665 <action>
2666 <action function="unmount">usb</action>
2667 </action>
2668
2669 <action>
2670 <action function="page">mount</action>
2671 <action function="set">tw_busy=0</action>
2672 </action>
2673 </page>
2674
2675 <page name="system_readonly_check">
2676 <action>
2677 <action function="checkpartitionlifetimewrites">/system</action>
2678 </action>
2679
2680 <action>
2681 <condition var1="tw_lifetime_writes" var2="1"/>
2682 <actions>
2683 <action function="mountsystemtoggle">0</action>
2684 <action function="page">mount</action>
2685 </actions>
2686 </action>
2687
2688 <action>
2689 <condition var1="tw_lifetime_writes" var2="0"/>
2690 <actions>
2691 <action function="set">tw_back=mount</action>
2692 <action function="page">system_readonly</action>
2693 </actions>
2694 </action>
2695 </page>
2696
2697 <page name="reboot">
2698 <template name="page"/>
2699
2700 <text style="text_l">
2701 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002702 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002703 </text>
2704
2705 <button style="main_button">
2706 <condition var1="tw_reboot_system" var2="1"/>
2707 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <text>{@rb_system_btn=System}</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=system</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 <button style="main_button">
2724 <condition var1="tw_reboot_poweroff" var2="1"/>
2725 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002727 <actions>
2728 <action function="set">tw_back=reboot</action>
2729 <action function="set">tw_action=reboot</action>
2730 <action function="set">tw_action_param=poweroff</action>
2731 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002732 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2733 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2734 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2735 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2736 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002737 <action function="page">rebootcheck</action>
2738 </actions>
2739 </button>
2740
2741 <button style="main_button">
2742 <condition var1="tw_reboot_recovery" var2="1"/>
2743 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002744 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002745 <actions>
2746 <action function="set">tw_back=reboot</action>
2747 <action function="set">tw_action=reboot</action>
2748 <action function="set">tw_action_param=recovery</action>
2749 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002750 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2751 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2752 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2753 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2754 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002755 <action function="page">rebootcheck</action>
2756 </actions>
2757 </button>
2758
2759 <button style="main_button">
2760 <condition var1="tw_reboot_bootloader" var2="1"/>
2761 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 <actions>
2764 <action function="set">tw_back=reboot</action>
2765 <action function="set">tw_action=reboot</action>
2766 <action function="set">tw_action_param=bootloader</action>
2767 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2769 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2770 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2771 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2772 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002773 <action function="page">rebootcheck</action>
2774 </actions>
2775 </button>
2776
2777 <button style="main_button">
2778 <condition var1="tw_download_mode" var2="1"/>
2779 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <actions>
2782 <action function="set">tw_back=reboot</action>
2783 <action function="set">tw_action=reboot</action>
2784 <action function="set">tw_action_param=download</action>
2785 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2787 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2788 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2789 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2790 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002791 <action function="page">rebootcheck</action>
2792 </actions>
2793 </button>
2794
2795 <action>
2796 <touch key="home"/>
2797 <action function="page">main</action>
2798 </action>
2799
2800 <action>
2801 <touch key="back"/>
2802 <action function="page">main</action>
2803 </action>
2804 </page>
2805
2806 <page name="system_readonly">
2807 <template name="page"/>
2808
2809 <text style="text_l">
2810 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 </text>
2813
2814 <text style="text_m_accent">
2815 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002816 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002817 </text>
2818
2819 <text style="text_m">
2820 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002821 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002822 </text>
2823
2824 <text style="text_m">
2825 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 </text>
2828
2829 <text style="text_m">
2830 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002831 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002832 </text>
2833
2834 <text style="text_m">
2835 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 </text>
2838
2839 <text style="text_m_fail">
2840 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 </text>
2843
2844 <text style="text_m_fail">
2845 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002846 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002847 </text>
2848
2849 <checkbox>
2850 <condition var1="tw_is_encrypted" var2="0"/>
2851 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002852 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002853 <data variable="tw_never_show_system_ro_page"/>
2854 </checkbox>
2855
2856 <button style="main_button_half_height">
2857 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002858 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002859 <actions>
2860 <action function="mountsystemtoggle">1</action>
2861 <action function="set">tw_page_done=1</action>
2862 <action function="page">%tw_back%</action>
2863 </actions>
2864 </button>
2865
z31s1g608d7ff2016-01-18 19:47:25 +01002866 <button style="main_button_half_height">
2867 <placement x="%center_x%" y="%row18a_y%"/>
2868 <text>{@sel_lang_btn=Select Language}</text>
2869 <action function="overlay">select_language</action>
2870 </button>
2871
z31s1g28f0a922015-11-07 18:50:22 +01002872 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002873 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002874 <actions>
2875 <action function="mountsystemtoggle">0</action>
2876 <action function="set">tw_page_done=1</action>
2877 <action function="page">%tw_back%</action>
2878 </actions>
2879 </slider>
2880 </page>
2881
2882 <page name="settings">
2883 <template name="page"/>
2884
2885 <text style="text_l">
2886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002887 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002888 </text>
2889
2890 <text style="text_m">
2891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002893 </text>
2894
2895 <template name="tabs_settings"/>
2896
2897 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002898 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002899 </fill>
2900
2901 <listbox style="scrolllist">
2902 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
2903 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002904 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002905 <data variable="tw_signed_zip_verify"/>
2906 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002907 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002908 <data variable="tw_rm_rf"/>
2909 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002910 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2911 <data variable="tw_disable_free_space"/>
2912 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002914 <data variable="tw_skip_md5_generate"/>
2915 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002916 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002917 <data variable="tw_skip_md5_check"/>
2918 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002920 <data variable="tw_military_time"/>
2921 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002922 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002923 <data variable="tw_samsung_navbar"/>
2924 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002926 <data variable="tw_simulate_actions"/>
2927 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002928 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002929 <condition var1="tw_simulate_actions" var2="1"/>
2930 <data variable="tw_simulate_fail"/>
2931 </listitem>
2932 </listbox>
2933
2934 <button style="main_button_half_height">
2935 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002937 <actions>
2938 <action function="set">tw_samsung_navbar=0</action>
2939 <action function="set">tw_tab_icons=0</action>
2940 <action function="restoredefaultsettings"/>
2941 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002942 </button>
2943
2944 <action>
2945 <touch key="home"/>
2946 <action function="page">main</action>
2947 </action>
2948
2949 <action>
2950 <touch key="back"/>
2951 <action function="page">main</action>
2952 </action>
2953 </page>
2954
2955 <page name="settings_timezone">
2956 <template name="page"/>
2957
2958 <text style="text_l">
2959 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002960 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002961 </text>
2962
2963 <text style="text_m">
2964 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 </text>
2967
2968 <template name="tabs_settings"/>
2969
2970 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002971 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002972 </fill>
2973
2974 <listbox>
2975 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2979 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2980 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2981 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2982 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2983 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2984 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2985 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2986 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2987 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2988 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2989 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2990 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2991 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2992 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2993 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2994 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2995 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2996 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2997 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2998 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2999 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3000 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3001 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003002 </listbox>
3003
3004 <text style="text_m_accent">
3005 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003007 </text>
3008
3009 <button style="button_quarter_width">
3010 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 <action function="set">tw_time_zone_guioffset=0</action>
3013 </button>
3014
3015 <button style="button_quarter_width">
3016 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 <action function="set">tw_time_zone_guioffset=15</action>
3019 </button>
3020
3021 <button style="button_quarter_width">
3022 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <action function="set">tw_time_zone_guioffset=30</action>
3025 </button>
3026
3027 <button style="button_quarter_width">
3028 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <action function="set">tw_time_zone_guioffset=45</action>
3031 </button>
3032
3033 <checkbox>
3034 <placement x="%indent%" y="%row18a_y%"/>
3035 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 <data variable="tw_time_zone_guidst"/>
3038 <image checked="checkbox_true" unchecked="checkbox_false"/>
3039 </checkbox>
3040
3041 <text color="%text_color%">
3042 <font resource="font_m"/>
3043 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003044 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003045 </text>
3046
3047 <button>
3048 <highlight color="%highlight_color%"/>
3049 <placement x="%center_x%" y="%row21a_y%"/>
3050 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 <image resource="main_button_half_height"/>
3053 <action function="setguitimezone"/>
3054 </button>
3055
3056 <action>
3057 <touch key="home"/>
3058 <action function="page">main</action>
3059 </action>
3060
3061 <action>
3062 <touch key="back"/>
3063 <action function="page">main</action>
3064 </action>
3065 </page>
3066
3067 <page name="settings_screen">
3068 <template name="page"/>
3069
3070 <text style="text_l">
3071 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 </text>
3074
3075 <text style="text_m">
3076 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 </text>
3079
3080 <template name="tabs_settings"/>
3081
3082 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003084 </fill>
3085
3086 <button>
3087 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3088 <font resource="font_m" color="%text_color%"/>
3089 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3090 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <image resource="checkbox_false"/>
3093 <action function="set">tw_screen_timeout_secs=60</action>
3094 </button>
3095
3096 <button>
3097 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3098 <font resource="font_m" color="%text_color%"/>
3099 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3100 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003102 <image resource="checkbox_true"/>
3103 <action function="set">tw_screen_timeout_secs=0</action>
3104 </button>
3105
3106 <slidervalue>
3107 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3108 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3109 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003111 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3112 </slidervalue>
3113
3114 <slidervalue>
3115 <condition var1="tw_has_brightnesss_file" var2="1"/>
3116 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003117 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003118 <data variable="tw_brightness_pct" min="10" max="100"/>
3119 <actions>
3120 <action function="set">tw_brightness=%tw_brightness_max%</action>
3121 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3122 <action function="compute">tw_brightness/100</action>
3123 <action function="setbrightness">%tw_brightness%</action>
3124 </actions>
3125 </slidervalue>
3126
3127 <action>
3128 <touch key="home"/>
3129 <action function="page">main</action>
3130 </action>
3131
3132 <action>
3133 <touch key="back"/>
3134 <action function="page">main</action>
3135 </action>
3136 </page>
3137
3138 <page name="settings_vibration">
3139 <template name="page"/>
3140
3141 <text style="text_l">
3142 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003144 </text>
3145
3146 <text style="text_m">
3147 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003148 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003149 </text>
3150
3151 <template name="tabs_settings"/>
3152
3153 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003155 </fill>
3156
3157 <slidervalue>
3158 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <data variable="tw_button_vibrate" min="0" max="300"/>
3161 </slidervalue>
3162
3163 <slidervalue>
3164 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3167 </slidervalue>
3168
3169 <slidervalue>
3170 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <data variable="tw_action_vibrate" min="0" max="500"/>
3173 </slidervalue>
3174
3175 <action>
3176 <touch key="home"/>
3177 <action function="page">main</action>
3178 </action>
3179
3180 <action>
3181 <touch key="back"/>
3182 <action function="page">main</action>
3183 </action>
3184 </page>
3185
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <page name="settings_language">
3187 <template name="page"/>
3188
3189 <text style="text_l">
3190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3191 <text>{@settings_hdr=Settings}</text>
3192 </text>
3193
3194 <text style="text_m">
3195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3196 <text>{@language_hdr=Language - %tw_language_display%}</text>
3197 </text>
3198
3199 <template name="tabs_settings"/>
3200
3201 <fill color="%text_color%">
3202 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3203 </fill>
3204
3205 <listbox>
3206 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3207 <text>{@select_language=Select Language:}</text>
3208 <icon selected="radio_true" unselected="radio_false" />
3209 <data name="tw_language" />
3210 </listbox>
3211
3212 <button style="main_button_half_height">
3213 <placement x="%center_x%" y="%row21a_y%"/>
3214 <text>{@set_language_btn=Set Language}</text>
3215 <action function="setlanguage"></action>
3216 </button>
3217
3218 <action>
3219 <touch key="home" />
3220 <action function="page">main</action>
3221 </action>
3222
3223 <action>
3224 <touch key="back" />
3225 <action function="page">settings</action>
3226 </action>
3227 </page>
3228
z31s1g28f0a922015-11-07 18:50:22 +01003229 <page name="advanced">
3230 <template name="page"/>
3231
3232 <text style="text_l">
3233 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 </text>
3236
3237 <button style="main_button">
3238 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <actions>
3241 <action function="set">tw_back=advanced</action>
3242 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3244 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3245 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3246 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003247 <action function="page">confirm_action</action>
3248 </actions>
3249 </button>
3250
3251 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003252 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003253 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003254 <text>{@fix_context_btn=Fix Contexts}</text>
3255 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </button>
3257
3258 <button style="main_button">
3259 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3260 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <actions>
3263 <action function="set">partitionlisterror=0</action>
3264 <action function="page">partsdcardsel</action>
3265 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </button>
3267
3268 <button style="main_button">
3269 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003270 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003271 <action function="page">filemanagerlist</action>
3272 </button>
3273
3274 <button style="main_button">
3275 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003277 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003278 </button>
3279
3280 <button style="main_button">
3281 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 <action function="reload"/>
3284 </button>
3285
3286 <button style="main_button">
3287 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 <action function="page">sideload</action>
3290 </button>
3291
3292 <button style="main_button">
3293 <condition var1="tw_show_dumlock" var2="1"/>
3294 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <action function="page">htcdumlock</action>
3297 </button>
3298
3299 <button style="main_button">
3300 <condition var1="tw_has_injecttwrp" var2="1"/>
3301 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <actions>
3304 <action function="set">tw_back=advanced</action>
3305 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003306 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3307 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3308 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3309 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <action function="page">confirm_action</action>
3311 </actions>
3312 </button>
3313
3314 <action>
3315 <touch key="home"/>
3316 <action function="page">main</action>
3317 </action>
3318
3319 <action>
3320 <touch key="back"/>
3321 <action function="page">main</action>
3322 </action>
3323 </page>
3324
Ethan Yonker483e9f42016-01-11 22:21:18 -06003325 <page name="partsdcardsel">
3326 <template name="page"/>
3327
3328 <text style="text_l">
3329 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3330 <text>{@advanced_hdr=Advanced}</text>
3331 </text>
3332
3333 <text style="text_m">
3334 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3335 <text>{@part_sd_hdr=Partition SD Card}</text>
3336 </text>
3337
z31s1g782e1c92016-01-30 16:50:09 +01003338 <partitionlist>
3339 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003340 <text>{@sel_storage_list=Select Storage}</text>
3341 <data name="tw_storage_path"/>
3342 <listtype name="storage"/>
3343 </partitionlist>
3344
3345 <text style="text_m_fail">
3346 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003347 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003348 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3349 </text>
3350
z31s1g782e1c92016-01-30 16:50:09 +01003351 <button style="main_button_half_height">
3352 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003353 <text>{@ok_btn=OK}</text>
3354 <actions>
3355 <action function="getpartitiondetails">tw_storage_path</action>
3356 <action function="page">partsdcardcheck</action>
3357 </actions>
3358 </button>
3359
3360 <action>
3361 <touch key="home"/>
3362 <action function="page">main</action>
3363 </action>
3364
3365 <action>
3366 <touch key="back"/>
3367 <action function="page">advanced</action>
3368 </action>
3369 </page>
3370
3371 <page name="partsdcardcheck">
3372 <action>
3373 <condition var1="tw_partition_removable" op="=" var2="1"/>
3374 <actions>
3375 <action function="set">partitionlisterror=0</action>
3376 <action function="page">partsdcard</action>
3377 </actions>
3378 </action>
3379
3380 <action>
3381 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3382 <actions>
3383 <action function="set">partitionlisterror=1</action>
3384 <action function="page">partsdcardsel</action>
3385 </actions>
3386 </action>
3387 </page>
3388
z31s1g28f0a922015-11-07 18:50:22 +01003389 <page name="partsdcard">
3390 <template name="page"/>
3391
3392 <text style="text_l">
3393 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003395 </text>
3396
3397 <text style="text_m">
3398 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 </text>
3401
3402 <text style="text_m_fail">
3403 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003405 </text>
3406
3407 <text style="text_m_fail">
3408 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 </text>
3411
3412 <text style="text_m_accent">
3413 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003414 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003415 </text>
3416
3417 <text style="text_m">
3418 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3419 <text>%tw_sdext_size%</text>
3420 </text>
3421
3422 <button style="button_quarter_width">
3423 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003425 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003426 </button>
3427
3428 <button style="button_quarter_width">
3429 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003431 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003432 </button>
3433
3434 <text style="text_m_accent">
3435 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 </text>
3438
3439 <text style="text_m">
3440 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3441 <text>%tw_swap_size%</text>
3442 </text>
3443
3444 <button style="button_quarter_width">
3445 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003447 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </button>
3449
3450 <button style="button_quarter_width">
3451 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003453 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003454 </button>
3455
3456 <text style="text_m_accent">
3457 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </text>
3460
3461 <text style="text_m">
3462 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3463 <text>%tw_sdpart_file_system%</text>
3464 </text>
3465
3466 <button style="button_quarter_width">
3467 <placement x="%indent%" y="%row14_y%"/>
3468 <text>EXT3</text>
3469 <action function="set">tw_sdpart_file_system=ext3</action>
3470 </button>
3471
3472 <button style="button_quarter_width">
3473 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3474 <text>EXT4</text>
3475 <action function="set">tw_sdpart_file_system=ext4</action>
3476 </button>
3477
3478 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <action function="page">partsdcardaction</action>
3481 <actions>
3482 <action function="set">tw_back=partsdcard</action>
3483 <action function="set">tw_action=partitionsd</action>
3484 <action function="set">tw_has_action2=1</action>
3485 <action function="set">tw_action2=set</action>
3486 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3488 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3489 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003490 <action function="page">action_page</action>
3491 </actions>
3492 </slider>
3493
3494 <action>
3495 <touch key="home"/>
3496 <action function="page">main</action>
3497 </action>
3498
3499 <action>
3500 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003501 <actions>
3502 <action function="set">partitionlisterror=0</action>
3503 <action function="page">partsdcardsel</action>
3504 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003505 </action>
3506 </page>
3507
3508 <page name="htcdumlock">
3509 <template name="page"/>
3510
3511 <text style="text_l">
3512 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 </text>
3515
3516 <text style="text_m">
3517 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </text>
3520
3521 <button style="main_button_half_height_full_width">
3522 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <actions>
3525 <action function="set">tw_back=htcdumlock</action>
3526 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3528 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3529 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3530 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003531 <action function="page">confirm_action</action>
3532 </actions>
3533 </button>
3534
3535 <button style="main_button_half_height_full_width">
3536 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <actions>
3539 <action function="set">tw_back=htcdumlock</action>
3540 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3542 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3543 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3544 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003545 <action function="page">confirm_action</action>
3546 </actions>
3547 </button>
3548
3549 <button style="main_button_half_height_full_width">
3550 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <actions>
3553 <action function="set">tw_back=htcdumlock</action>
3554 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3556 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3557 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3558 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <action function="page">confirm_action</action>
3560 </actions>
3561 </button>
3562
3563 <action>
3564 <touch key="home"/>
3565 <action function="page">main</action>
3566 </action>
3567
3568 <action>
3569 <touch key="back"/>
3570 <action function="page">advanced</action>
3571 </action>
3572 </page>
3573
3574 <page name="lock">
3575 <background color="%semi_transparent%"/>
3576
3577 <image>
3578 <image resource="unlock_icon"/>
3579 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3580 </image>
3581
3582 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 <action function="overlay"/>
3585 </slider>
3586 </page>
3587
3588 <page name="filemanagerlist">
3589 <template name="page"/>
3590
3591 <text style="text_l">
3592 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </text>
3595
3596 <text style="text_m">
3597 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003599 </text>
3600
3601 <template name="sort_options"/>
3602
3603 <fileselector>
3604 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3605 <text>%tw_file_location1%</text>
3606 <filter folders="1" files="1"/>
3607 <path name="tw_file_location1" default="/"/>
3608 <data name="tw_filename1"/>
3609 <selection name="tw_selection1"/>
3610 </fileselector>
3611
3612 <button style="fab">
3613 <image resource="fab_selectfolder"/>
3614 <actions>
3615 <action function="set">tw_filename1=tw_file_location1</action>
3616 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <action function="page">filemanageroptions</action>
3619 </actions>
3620 </button>
3621
3622 <action>
3623 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <action function="set">tw_fm_isfolder=0</action>
3626 </actions>
3627 </action>
3628
3629 <action>
3630 <touch key="home"/>
3631 <action function="page">main</action>
3632 </action>
3633
3634 <action>
3635 <touch key="back"/>
3636 <action function="page">advanced</action>
3637 </action>
3638
3639 <action>
3640 <condition var1="tw_filename1" op="modified"/>
3641 <action function="page">filemanageroptions</action>
3642 </action>
3643 </page>
3644
3645 <page name="filemanageroptions">
3646 <template name="page"/>
3647
3648 <text style="text_l">
3649 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 </text>
3652
3653 <text style="text_m">
3654 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 </text>
3657
3658 <text style="text_m_accent">
3659 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 </text>
3662
3663 <text style="text_m">
3664 <placement x="%indent%" y="%row3_y%"/>
3665 <text>%tw_filename1%</text>
3666 </text>
3667
3668 <button style="main_button_half_height">
3669 <condition var1="tw_fm_isfolder" var2="0"/>
3670 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 <actions>
3673 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <action function="page">choosedestinationfolder</action>
3676 </actions>
3677 </button>
3678
3679 <button style="main_button_half_height">
3680 <condition var1="tw_fm_isfolder" var2="1"/>
3681 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003683 <actions>
3684 <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 -05003685 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003686 <action function="page">choosedestinationfolder</action>
3687 </actions>
3688 </button>
3689
3690 <button style="main_button_half_height">
3691 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 <actions>
3694 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003696 <action function="page">choosedestinationfolder</action>
3697 </actions>
3698 </button>
3699
3700 <button style="main_button_half_height">
3701 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 <actions>
3704 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003705 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003706 <action function="set">tw_fm_text2=</action>
3707 <action function="set">tw_fm_text3=</action>
3708 <action function="set">tw_include_text3=0</action>
3709 <action function="set">tw_back=filemanageroptions</action>
3710 <action function="page">filemanagerconfirm</action>
3711 </actions>
3712 </button>
3713
3714 <button style="main_button_half_height">
3715 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003717 <actions>
3718 <action function="set">tw_filemanager_rename=0000</action>
3719 <action function="set">tw_fm_text2=</action>
3720 <action function="set">tw_fm_text3=</action>
3721 <action function="set">tw_include_text3=0</action>
3722 <action function="set">tw_back=filemanageroptions</action>
3723 <action function="page">filemanagerchmod</action>
3724 </actions>
3725 </button>
3726
3727 <button style="main_button_half_height">
3728 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <actions>
3731 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003733 <action function="set">tw_fm_text2=</action>
3734 <action function="set">tw_fm_text3=</action>
3735 <action function="set">tw_include_text3=0</action>
3736 <action function="set">tw_back=filemanageroptions</action>
3737 <action function="page">filemanagerconfirm</action>
3738 </actions>
3739 </button>
3740
3741 <button style="main_button_half_height">
3742 <condition var1="tw_fm_isfolder" var2="0"/>
3743 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 <actions>
3746 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <action function="set">tw_filemanager_command=mv</action>
3749 <action function="page">filemanagerrenamefile</action>
3750 </actions>
3751 </button>
3752
3753 <button style="main_button_half_height">
3754 <condition var1="tw_fm_isfolder" var2="1"/>
3755 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003757 <actions>
3758 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3761 <action function="page">filemanagerrenamefolder</action>
3762 </actions>
3763 </button>
3764
3765 <action>
3766 <touch key="home"/>
3767 <action function="page">main</action>
3768 </action>
3769
3770 <action>
3771 <touch key="back"/>
3772 <action function="page">filemanagerlist</action>
3773 </action>
3774 </page>
3775
3776 <page name="choosedestinationfolder">
3777 <template name="page"/>
3778
3779 <text style="text_l">
3780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 </text>
3783
3784 <text style="text_m">
3785 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 </text>
3788
3789 <template name="sort_options"/>
3790
3791 <fileselector>
3792 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3793 <text>%tw_file_location2%</text>
3794 <filter folders="1" files="0"/>
3795 <path name="tw_file_location2" default="/"/>
3796 <data name="tw_filename2"/>
3797 <selection name="tw_selection2"/>
3798 </fileselector>
3799
3800 <button style="fab">
3801 <image resource="fab_selectfolder"/>
3802 <actions>
3803 <action function="set">tw_fm_text2=to</action>
3804 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3805 <action function="set">tw_include_text3=1</action>
3806 <action function="set">tw_back=filemanageroptions</action>
3807 <action function="page">filemanagerconfirm</action>
3808 </actions>
3809 </button>
3810
3811 <action>
3812 <touch key="home"/>
3813 <action function="page">main</action>
3814 </action>
3815
3816 <action>
3817 <touch key="back"/>
3818 <action function="page">filemanageroptions</action>
3819 </action>
3820 </page>
3821
3822 <page name="filemanagerrenamefile">
3823 <template name="page"/>
3824
3825 <text style="text_l">
3826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <text style="text_m_accent">
3836 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003837 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003838 </text>
3839
3840 <input>
3841 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3842 <text>%tw_filemanager_rename%</text>
3843 <data name="tw_filemanager_rename"/>
3844 <restrict minlen="1" maxlen="128"/>
3845 <actions>
3846 <action function="set">tw_fm_text2=to</action>
3847 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3848 <action function="set">tw_include_text3=1</action>
3849 <action function="set">tw_back=filemanageroptions</action>
3850 <action function="page">filemanagerconfirm</action>
3851 </actions>
3852 </input>
3853
3854 <fill color="%accent_color%">
3855 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3856 </fill>
3857
3858 <button style="main_button_half_height">
3859 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 <action function="page">filemanageroptions</action>
3862 </button>
3863
3864 <template name="keyboardtemplate"/>
3865
3866 <action>
3867 <touch key="home"/>
3868 <action function="page">main</action>
3869 </action>
3870
3871 <action>
3872 <touch key="back"/>
3873 <action function="page">filemanageroptions</action>
3874 </action>
3875 </page>
3876
3877 <page name="filemanagerrenamefolder">
3878 <template name="page"/>
3879
3880 <text style="text_l">
3881 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 </text>
3884
3885 <text style="text_m">
3886 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 </text>
3889
3890 <text style="text_m_accent">
3891 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003892 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003893 </text>
3894
3895 <input>
3896 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3897 <text>%tw_filemanager_rename%</text>
3898 <data name="tw_filemanager_rename"/>
3899 <restrict minlen="1" maxlen="128"/>
3900 <actions>
3901 <action function="set">tw_fm_text2=to</action>
3902 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3903 <action function="set">tw_include_text3=1</action>
3904 <action function="set">tw_back=filemanageroptions</action>
3905 <action function="page">filemanagerconfirm</action>
3906 </actions>
3907 </input>
3908
3909 <fill color="%accent_color%">
3910 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3911 </fill>
3912
3913 <button style="main_button_half_height">
3914 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 <action function="page">filemanageroptions</action>
3917 </button>
3918
3919 <template name="keyboardtemplate"/>
3920
3921 <action>
3922 <touch key="home"/>
3923 <action function="page">main</action>
3924 </action>
3925
3926 <action>
3927 <touch key="back"/>
3928 <action function="page">filemanageroptions</action>
3929 </action>
3930 </page>
3931
3932 <page name="filemanagerchmod">
3933 <template name="page"/>
3934
3935 <text style="text_l">
3936 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <text style="text_m">
3941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 </text>
3944
3945 <text style="text_m_accent">
3946 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </text>
3949
3950 <input>
3951 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3952 <text>%tw_filemanager_rename%</text>
3953 <data name="tw_filemanager_rename"/>
3954 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3955 <actions>
3956 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3957 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3958 <action function="set">tw_back=filemanageroptions</action>
3959 <action function="page">filemanagerconfirm</action>
3960 </actions>
3961 </input>
3962
3963 <fill color="%accent_color%">
3964 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3965 </fill>
3966
3967 <button style="main_button_half_height">
3968 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003970 <action function="page">filemanageroptions</action>
3971 </button>
3972
3973 <template name="keyboardtemplate"/>
3974
3975 <action>
3976 <touch key="home"/>
3977 <action function="page">main</action>
3978 </action>
3979
3980 <action>
3981 <touch key="back"/>
3982 <action function="page">filemanageroptions</action>
3983 </action>
3984 </page>
3985
3986 <page name="filemanagerconfirm">
3987 <template name="page"/>
3988
3989 <text style="text_l">
3990 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </text>
3993
3994 <text style="text_m">
3995 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
3999 <text style="text_m_accent">
4000 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4001 <text>%tw_fm_text1%</text>
4002 </text>
4003
4004 <text style="text_m">
4005 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4006 <text>%tw_filename1%</text>
4007 </text>
4008
4009 <text style="text_m_accent">
4010 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4011 <text>%tw_fm_text2%</text>
4012 </text>
4013
4014 <text style="text_m">
4015 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4016 <text>%tw_fm_text3%</text>
4017 </text>
4018
4019 <text style="text_m">
4020 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004021 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004022 </text>
4023
4024 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004025 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004026 <action function="page">filemanageraction</action>
4027 </slider>
4028
4029 <action>
4030 <touch key="back"/>
4031 <action function="page">%tw_back%</action>
4032 </action>
4033
4034 <action>
4035 <touch key="home"/>
4036 <action function="page">main</action>
4037 </action>
4038 </page>
4039
4040 <page name="filemanageraction">
4041 <template name="page"/>
4042
4043 <text style="text_l">
4044 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <text style="text_m">
4049 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4050 <text>%tw_fm_text1%</text>
4051 </text>
4052
4053 <template name="console"/>
4054
4055 <template name="progress_bar"/>
4056
4057 <action>
4058 <conditions>
4059 <condition var1="tw_operation_state" var2="1"/>
4060 <condition var1="tw_operation_status" var2="0"/>
4061 </conditions>
4062 <actions>
4063 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004065 <action function="page">action_complete</action>
4066 </actions>
4067 </action>
4068
4069 <action>
4070 <conditions>
4071 <condition var1="tw_operation_state" var2="1"/>
4072 <condition var1="tw_operation_status" op="!=" var2="0"/>
4073 </conditions>
4074 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004076 <action function="page">action_complete</action>
4077 </actions>
4078 </action>
4079
4080 <action>
4081 <condition var1="tw_include_text3" var2="0"/>
4082 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4083 </action>
4084
4085 <action>
4086 <condition var1="tw_include_text3" var2="1"/>
4087 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4088 </action>
4089 </page>
4090
4091 <page name="decrypt">
4092 <template name="page"/>
4093
4094 <action>
4095 <condition var1="tw_crypto_pwtype" var2="2"/>
4096 <action function="page">decrypt_pattern</action>
4097 </action>
4098
4099 <text style="text_l">
4100 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <text style="text_m">
4105 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 </text>
4108
4109 <text style="text_m_accent">
4110 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004112 </text>
4113
4114 <input>
4115 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4116 <text>%tw_crypto_display%</text>
4117 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4118 <restrict minlen="1" maxlen="254"/>
4119 <action function="page">trydecrypt</action>
4120 </input>
4121
4122 <fill color="%accent_color%">
4123 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4124 </fill>
4125
4126 <fill color="%text_fail_color%">
4127 <condition var1="tw_password_fail" var2="1"/>
4128 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4129 </fill>
4130
4131 <text style="text_m_fail">
4132 <condition var1="tw_password_fail" var2="1"/>
4133 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004134 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004135 </text>
4136
4137 <button style="main_button_half_height">
4138 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004139 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004140 <actions>
4141 <action function="set">tw_page_done=1</action>
4142 <action function="page">main</action>
4143 </actions>
4144 </button>
4145
z31s1g608d7ff2016-01-18 19:47:25 +01004146 <button style="main_button_half_height">
4147 <placement x="%center_x%" y="%row10_y%"/>
4148 <text>{@sel_lang_btn=Select Language}</text>
4149 <action function="overlay">select_language</action>
4150 </button>
4151
z31s1g28f0a922015-11-07 18:50:22 +01004152 <template name="keyboardtemplate"/>
4153 </page>
4154
4155 <page name="decrypt_pattern">
4156 <template name="page"/>
4157
4158 <text style="text_l">
4159 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 </text>
4162
4163 <text style="text_m">
4164 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004166 </text>
4167
4168 <text style="text_m_accent">
4169 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004171 </text>
4172
Aleksa Saraib25a1832015-12-31 17:36:00 +01004173 <text style="text_m_fail">
4174 <condition var1="tw_password_fail" var2="1"/>
4175 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004176 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004177 </text>
4178
z31s1g28f0a922015-11-07 18:50:22 +01004179 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004180 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004181 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4182 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4183 <data name="tw_crypto_password"/>
4184 <action function="page">trydecrypt</action>
4185 </patternpassword>
4186
Aleksa Saraib25a1832015-12-31 17:36:00 +01004187 <button style="button_quarter_width">
4188 <placement x="%indent%" y="%row19a_y%"/>
4189 <text>3x3</text>
4190 <action function="set">tw_gui_pattern_grid_size=3</action>
4191 </button>
4192
4193 <button style="button_quarter_width">
4194 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4195 <text>4x4</text>
4196 <action function="set">tw_gui_pattern_grid_size=4</action>
4197 </button>
4198
4199 <button style="button_quarter_width">
4200 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4201 <text>5x5</text>
4202 <action function="set">tw_gui_pattern_grid_size=5</action>
4203 </button>
4204
4205 <button style="button_quarter_width">
4206 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4207 <text>6x6</text>
4208 <action function="set">tw_gui_pattern_grid_size=6</action>
4209 </button>
4210
z31s1g28f0a922015-11-07 18:50:22 +01004211 <button style="main_button_half_height">
4212 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 <actions>
4215 <action function="set">tw_page_done=1</action>
4216 <action function="page">main</action>
4217 </actions>
4218 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004219
4220 <button style="main_button_half_height">
4221 <placement x="%center_x%" y="%row21a_y%"/>
4222 <text>{@sel_lang_btn=Select Language}</text>
4223 <action function="overlay">select_language</action>
4224 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004225 </page>
4226
4227 <page name="trydecrypt">
4228 <template name="page"/>
4229
4230 <text style="text_l">
4231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m">
4236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004238 </text>
4239
4240 <template name="console"/>
4241
4242 <template name="progress_bar"/>
4243
4244 <action>
4245 <action function="decrypt"/>
4246 </action>
4247
4248 <action>
4249 <conditions>
4250 <condition var1="tw_operation_state" var2="1"/>
4251 <condition var1="tw_operation_status" op="!=" var2="0"/>
4252 </conditions>
4253 <actions>
4254 <action function="set">tw_password_fail=1</action>
4255 <action function="page">decrypt</action>
4256 </actions>
4257 </action>
4258
4259 <action>
4260 <conditions>
4261 <condition var1="tw_operation_state" var2="1"/>
4262 <condition var1="tw_operation_status" op="=" var2="0"/>
4263 </conditions>
4264 <actions>
4265 <action function="set">tw_page_done=1</action>
4266 <action function="page">main</action>
4267 </actions>
4268 </action>
4269 </page>
4270
z31s1g28f0a922015-11-07 18:50:22 +01004271 <page name="terminalcommand">
4272 <template name="page"/>
4273
z31s1g56189522016-01-13 19:12:40 +01004274 <fill color="%background_color%">
4275 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </fill>
4277
z31s1g56189522016-01-13 19:12:40 +01004278 <terminal>
4279 <condition var1="tw_hide_kb" var2="0"/>
4280 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4281 </terminal>
4282
4283 <terminal>
4284 <condition var1="tw_hide_kb" var2="1"/>
4285 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4286 </terminal>
4287
4288 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004289
4290 <template name="keyboardtemplate"/>
4291
z31s1g608d7ff2016-01-18 19:47:25 +01004292 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004293 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004294 </fill>
z31s1g56189522016-01-13 19:12:40 +01004295
z31s1g608d7ff2016-01-18 19:47:25 +01004296 <button>
z31s1g56189522016-01-13 19:12:40 +01004297 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4298 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4299 <image resource="back" />
4300 <condition var1="tw_busy" var2="0" />
4301 <actions>
4302 <action function="set">tw_hide_kb=0</action>
4303 <action function="key">back</action>
4304 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004305 </button>
z31s1g56189522016-01-13 19:12:40 +01004306
z31s1g608d7ff2016-01-18 19:47:25 +01004307 <button>
z31s1g56189522016-01-13 19:12:40 +01004308 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4309 <condition var1="tw_hide_kb" op="=" var2="0" />
4310 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4311 <image resource="kb_hide" />
4312 <condition var1="tw_busy" var2="0" />
4313 <actions>
4314 <action function="set">tw_hide_kb=1</action>
4315 <action function="page">terminalcommand</action>
4316 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004317 </button>
z31s1g56189522016-01-13 19:12:40 +01004318
z31s1g608d7ff2016-01-18 19:47:25 +01004319 <button>
z31s1g56189522016-01-13 19:12:40 +01004320 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4321 <condition var1="tw_hide_kb" op="=" var2="1" />
4322 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4323 <image resource="kb_show" />
4324 <condition var1="tw_busy" var2="0" />
4325 <actions>
4326 <action function="set">tw_hide_kb=0</action>
4327 <action function="page">terminalcommand</action>
4328 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004329 </button>
z31s1g56189522016-01-13 19:12:40 +01004330
z31s1g608d7ff2016-01-18 19:47:25 +01004331 <button>
z31s1g56189522016-01-13 19:12:40 +01004332 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4333 <image resource="home" />
4334 <condition var1="tw_busy" var2="0" />
4335 <actions>
4336 <action function="set">tw_hide_kb=0</action>
4337 <action function="key">home</action>
4338 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004339 </button>
z31s1g56189522016-01-13 19:12:40 +01004340
z31s1g608d7ff2016-01-18 19:47:25 +01004341 <button>
z31s1g56189522016-01-13 19:12:40 +01004342 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4343 <condition var1="tw_hide_kb" op="=" var2="0" />
4344 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4345 <image resource="kb_hide" />
4346 <condition var1="tw_busy" var2="0" />
4347 <actions>
4348 <action function="set">tw_hide_kb=1</action>
4349 <action function="page">terminalcommand</action>
4350 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004351 </button>
z31s1g56189522016-01-13 19:12:40 +01004352
z31s1g608d7ff2016-01-18 19:47:25 +01004353 <button>
z31s1g56189522016-01-13 19:12:40 +01004354 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4355 <condition var1="tw_hide_kb" op="=" var2="1" />
4356 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4357 <image resource="kb_show" />
4358 <condition var1="tw_busy" var2="0" />
4359 <actions>
4360 <action function="set">tw_hide_kb=0</action>
4361 <action function="page">terminalcommand</action>
4362 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004363 </button>
z31s1g56189522016-01-13 19:12:40 +01004364
z31s1g608d7ff2016-01-18 19:47:25 +01004365 <button>
z31s1g56189522016-01-13 19:12:40 +01004366 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4367 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4368 <image resource="back" />
4369 <condition var1="tw_busy" var2="0" />
4370 <actions>
4371 <action function="set">tw_hide_kb=0</action>
4372 <action function="key">back</action>
4373 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004374 </button>
z31s1g56189522016-01-13 19:12:40 +01004375
z31s1g28f0a922015-11-07 18:50:22 +01004376 <action>
4377 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004378 <actions>
4379 <action function="set">tw_hide_kb=0</action>
4380 <action function="page">main</action>
4381 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004382 </action>
4383
4384 <action>
4385 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004386 <actions>
4387 <action function="set">tw_hide_kb=0</action>
4388 <action function="page">advanced</action>
4389 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004390 </action>
z31s1g56189522016-01-13 19:12:40 +01004391
z31s1g608d7ff2016-01-18 19:47:25 +01004392 <action>
z31s1g56189522016-01-13 19:12:40 +01004393 <touch key="power+voldown" />
4394 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004395 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004396 </page>
4397
4398 <page name="sideload">
4399 <template name="page"/>
4400
4401 <text style="text_l">
4402 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 </text>
4405
4406 <text style="text_m">
4407 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004408 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004409 </text>
4410
4411 <checkbox>
4412 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004413 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004414 <data variable="tw_wipe_dalvik"/>
4415 </checkbox>
4416
4417 <checkbox>
4418 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004420 <data variable="tw_wipe_cache"/>
4421 </checkbox>
4422
4423 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 <actions>
4426 <action function="set">tw_back=advanced</action>
4427 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4429 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4430 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004431 <action function="set">tw_has_cancel=1</action>
4432 <action function="set">tw_show_reboot=1</action>
4433 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4434 <action function="page">action_page</action>
4435 </actions>
4436 </slider>
4437
4438 <action>
4439 <touch key="home"/>
4440 <action function="page">main</action>
4441 </action>
4442
4443 <action>
4444 <touch key="back"/>
4445 <action function="page">advanced</action>
4446 </action>
4447 </page>
4448
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004449 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004450 <template name="page"/>
4451
4452 <text style="text_l">
4453 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 </text>
4456
4457 <text style="text_m">
4458 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004459 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 </text>
4461
4462 <text style="text_m_accent">
4463 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004464 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004465 </text>
4466
z31s1g28f0a922015-11-07 18:50:22 +01004467 <text style="text_m_fail">
4468 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004469 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 </text>
4471
4472 <text style="text_m_fail">
4473 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004474 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004475 </text>
4476
4477 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004478 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004479 <actions>
4480 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004481 <action function="set">tw_action=fixcontexts</action>
4482 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4483 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004485 <action function="set">tw_show_reboot=1</action>
4486 <action function="page">action_page</action>
4487 </actions>
4488 </slider>
4489
4490 <action>
4491 <touch key="home"/>
4492 <action function="page">main</action>
4493 </action>
4494
4495 <action>
4496 <touch key="back"/>
4497 <action function="page">advanced</action>
4498 </action>
4499 </page>
4500
4501 <page name="installsu">
4502 <template name="page"/>
4503
4504 <text style="text_l">
4505 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </text>
4508
4509 <text style="text_m">
4510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </text>
4513
4514 <text style="text_m_accent">
4515 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <text style="text_m">
4520 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 </text>
4523
4524 <text style="text_m">
4525 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 </text>
4528
4529 <button style="main_button_half_height">
4530 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004531 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004532 <action function="set">tw_page_done=1</action>
4533 </button>
4534
4535 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004537 <actions>
4538 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <action function="set">tw_action_text2=</action>
4541 <action function="page">singleaction_page</action>
4542 </actions>
4543 </slider>
4544 </page>
4545
4546 <page name="slideout">
4547 <fill color="%background_color%">
4548 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4549 </fill>
4550
4551 <console>
4552 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4553 </console>
4554
4555 <button>
4556 <fill color="%transparent%"/>
4557 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4558 <action function="overlay"/>
4559 </button>
4560
4561 <action>
4562 <touch key="power+voldown"/>
4563 <action function="screenshot"/>
4564 </action>
4565 </page>
4566
4567 <page name="select_storage">
4568 <fill color="%semi_transparent%">
4569 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4570 </fill>
4571
4572 <fill color="%background_color%">
4573 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4574 </fill>
4575
4576 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004577 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004578 <data name="tw_storage_path"/>
4579 <listtype name="storage"/>
4580 </partitionlist>
4581
4582 <button style="button_third_width">
4583 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004584 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004585 <actions>
4586 <action function="set">tw_clear_destination=%tw_back%</action>
4587 <action function="overlay"/>
4588 <action function="page">clear_vars</action>
4589 </actions>
4590 </button>
4591
4592 <fill color="#000000">
4593 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4594 </fill>
4595
4596 <button>
4597 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4598 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4599 <image resource="back"/>
4600 <condition var1="tw_busy" var2="0"/>
4601 <actions>
4602 <action function="overlay"/>
4603 <action function="key">%tw_back%</action>
4604 </actions>
4605 </button>
4606
4607 <button>
4608 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4609 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4610 <image resource="console"/>
4611 <condition var1="tw_busy" var2="0"/>
4612 <action function="overlay">slideout</action>
4613 </button>
4614
4615 <button>
4616 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4617 <image resource="home"/>
4618 <condition var1="tw_busy" var2="0"/>
4619 <actions>
4620 <action function="overlay"/>
4621 <action function="key">home</action>
4622 </actions>
4623 </button>
4624
4625 <button>
4626 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4627 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4628 <image resource="console"/>
4629 <condition var1="tw_busy" var2="0"/>
4630 <action function="overlay">slideout</action>
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="back"/>
4637 <condition var1="tw_busy" var2="0"/>
4638 <actions>
4639 <action function="overlay"/>
4640 <action function="key">%tw_back%</action>
4641 </actions>
4642 </button>
4643
4644 <action>
4645 <touch key="power+voldown"/>
4646 <action function="screenshot"/>
4647 </action>
4648 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004649
4650 <page name="select_language">
4651 <fill color="%semi_transparent%">
4652 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4653 </fill>
4654
4655 <fill color="%background_color%">
4656 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4657 </fill>
4658
4659 <listbox>
4660 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4661 <text>{@select_language=Select Language:}</text>
4662 <icon selected="radio_true" unselected="radio_false" />
4663 <data name="tw_language" />
4664 </listbox>
4665
4666 <button style="button_third_width">
4667 <placement x="%dialog_button_x%" y="%row14_y%"/>
4668 <text>{@ok_btn=OK}</text>
4669 <actions>
4670 <action function="overlay"/>
4671 <action function="setlanguage"></action>
4672 </actions>
4673 </button>
4674
4675 <fill color="#000000">
4676 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4677 </fill>
4678
4679 <button>
4680 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4681 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4682 <image resource="back"/>
4683 <condition var1="tw_busy" var2="0"/>
4684 <actions>
4685 <action function="overlay"/>
4686 <action function="key">%tw_back%</action>
4687 </actions>
4688 </button>
4689
4690 <button>
4691 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4692 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4693 <image resource="console"/>
4694 <condition var1="tw_busy" var2="0"/>
4695 <action function="overlay">slideout</action>
4696 </button>
4697
4698 <button>
4699 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4700 <image resource="home"/>
4701 <condition var1="tw_busy" var2="0"/>
4702 <actions>
4703 <action function="overlay"/>
4704 <action function="key">home</action>
4705 </actions>
4706 </button>
4707
4708 <button>
4709 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4710 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4711 <image resource="console"/>
4712 <condition var1="tw_busy" var2="0"/>
4713 <action function="overlay">slideout</action>
4714 </button>
4715
4716 <button>
4717 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4718 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4719 <image resource="back"/>
4720 <condition var1="tw_busy" var2="0"/>
4721 <actions>
4722 <action function="overlay"/>
4723 <action function="key">%tw_back%</action>
4724 </actions>
4725 </button>
4726
4727 <action>
4728 <touch key="power+voldown"/>
4729 <action function="screenshot"/>
4730 </action>
4731 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004732 </pages>
4733</recovery>