blob: dbd43054b3faf3c49decba16ae64904a096294e0 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
113 </style>
114
115 <style name="partitionlist">
116 <highlight color="%fileselector_highlight_color%"/>
117 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
118 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
119 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
120 <icon selected="checkbox_true" unselected="checkbox_false"/>
121 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
122 <background color="%background_color%"/>
123 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
124 </style>
125
126 <style name="partitionlist_storage">
127 <highlight color="%fileselector_highlight_color%"/>
128 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
129 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
130 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
131 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
132 <icon selected="radio_true" unselected="radio_false"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
136 </style>
137
138 <style name="slider">
139 <placement x="%center_x%" y="%row23_y%"/>
140 <font resource="font_s" color="%text_color%"/>
141 <resource base="slider" used="slider_used" touch="slider_touch"/>
142 </style>
143
144 <style name="slidervalue">
145 <resource handle="handle"/>
146 <font resource="font_m" color="%text_color%"/>
147 <colors line="%fileselector_linecolor%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100150
151 <style name="patternpassword">
152 <size name="tw_gui_pattern_grid_size" default="3"/>
153 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100154 </styles>
155
156 <pages>
157 <page name="main">
158 <action>
159 <actions>
160 <action function="set">tw_clear_destination=main2</action>
161 <action function="page">clear_vars</action>
162 </actions>
163 </action>
164 </page>
165
166 <page name="main2">
167 <template name="page"/>
168
169 <text style="text_l">
170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500171 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100172 </text>
173
174 <text style="text_m">
175 <condition var1="tw_no_cpu_temp" var2="0"/>
176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
177 <text>%tw_version%</text>
178 </text>
179
180 <button style="main_button">
181 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 <actions>
184 <action function="queueclear"/>
185 <action function="set">tw_selectimage=0</action>
186 <action function="page">install</action>
187 </actions>
188 </button>
189
190 <button style="main_button">
191 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500192 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100193 <action function="page">wipe</action>
194 </button>
195
196 <button style="main_button">
197 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 <action function="page">backup</action>
200 </button>
201
202 <button style="main_button">
203 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500204 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100205 <action function="page">restore</action>
206 </button>
207
208 <button style="main_button">
209 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500210 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100211 <action function="page">mount</action>
212 </button>
213
214 <button style="main_button">
215 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500216 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100217 <action function="page">settings</action>
218 </button>
219
220 <button style="main_button">
221 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 <action function="page">advanced</action>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">reboot</action>
230 </button>
231 </page>
232
233 <page name="install">
234 <template name="page"/>
235
236 <text style="text_l">
237 <condition var1="tw_selectimage" var2="0"/>
238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 </text>
241
242 <text style="text_l">
243 <condition var1="tw_selectimage" var2="1"/>
244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 </text>
247
248 <text style="text_m">
249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <template name="sort_options"/>
254
255 <fileselector>
256 <condition var1="tw_selectimage" var2="0"/>
257 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
258 <text>%tw_zip_location%</text>
259 <filter extn=".zip" folders="1" files="1"/>
260 <path name="tw_zip_location" default="/sdcard"/>
261 <data name="tw_filename"/>
262 <selection name="tw_file"/>
263 </fileselector>
264
265 <fileselector>
266 <condition var1="tw_selectimage" var2="1"/>
267 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
268 <text>%tw_zip_location%</text>
269 <filter extn=".img" folders="1" files="1"/>
270 <path name="tw_zip_location" default="/sdcard"/>
271 <data name="tw_filename"/>
272 <selection name="tw_file"/>
273 </fileselector>
274
275 <button style="main_button_half_height">
276 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <actions>
279 <action function="set">tw_back=install</action>
280 <action function="overlay">select_storage</action>
281 </actions>
282 </button>
283
284 <button style="main_button_half_height">
285 <condition var1="tw_selectimage" var2="0"/>
286 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <actions>
289 <action function="set">tw_selectimage=1</action>
290 <action function="page">install</action>
291 </actions>
292 </button>
293
294 <button style="main_button_half_height">
295 <condition var1="tw_selectimage" var2="1"/>
296 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500297 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100298 <actions>
299 <action function="set">tw_selectimage=0</action>
300 <action function="page">install</action>
301 </actions>
302 </button>
303
304 <action>
305 <conditions>
306 <condition var1="tw_selectimage" var2="0"/>
307 <condition var1="tw_filename" op="modified"/>
308 </conditions>
309 <actions>
310 <action function="queuezip"/>
311 <action function="page">flash_confirm</action>
312 </actions>
313 </action>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="1"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <action function="page">flashimage_confirm</action>
321 </action>
322
323 <action>
324 <touch key="back"/>
325 <action function="page">main</action>
326 </action>
327
328 <action>
329 <touch key="home"/>
330 <action function="page">main</action>
331 </action>
332 </page>
333
334 <page name="flash_confirm">
335 <template name="page"/>
336
337 <text style="text_l">
338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500339 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100340 </text>
341
342 <text style="text_m">
343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500344 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100345 </text>
346
347 <text style="text_m_accent">
348 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <text style="text_m_accent">
353 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 </text>
356
357 <text style="text_m">
358 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500359 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100360 </text>
361
362 <text style="text_m_accent">
363 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 </text>
366
367 <text style="text_m">
368 <placement x="%indent%" y="%row8_y%"/>
369 <text>%tw_zip_location%</text>
370 </text>
371
372 <text style="text_m_accent">
373 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 </text>
376
377 <text style="text_m">
378 <placement x="%indent%" y="%row10a_y%"/>
379 <text>%tw_file%</text>
380 </text>
381
382 <checkbox>
383 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100385 <data variable="tw_signed_zip_verify"/>
386 </checkbox>
387
388 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500389 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500391 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
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>
Matt Mower8dc25b72016-04-25 23:06:53 -05002907 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2908 <data variable="tw_install_reboot"/>
2909 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002910 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002911 <data variable="tw_rm_rf"/>
2912 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002913 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2914 <data variable="tw_disable_free_space"/>
2915 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002916 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002917 <data variable="tw_skip_md5_generate"/>
2918 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002919 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002920 <data variable="tw_skip_md5_check"/>
2921 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002922 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002923 <data variable="tw_military_time"/>
2924 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01002926 <data variable="tw_samsung_navbar"/>
2927 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002928 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002929 <data variable="tw_simulate_actions"/>
2930 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002932 <condition var1="tw_simulate_actions" var2="1"/>
2933 <data variable="tw_simulate_fail"/>
2934 </listitem>
2935 </listbox>
2936
2937 <button style="main_button_half_height">
2938 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01002940 <actions>
2941 <action function="set">tw_samsung_navbar=0</action>
2942 <action function="set">tw_tab_icons=0</action>
2943 <action function="restoredefaultsettings"/>
2944 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01002945 </button>
2946
2947 <action>
2948 <touch key="home"/>
2949 <action function="page">main</action>
2950 </action>
2951
2952 <action>
2953 <touch key="back"/>
2954 <action function="page">main</action>
2955 </action>
2956 </page>
2957
2958 <page name="settings_timezone">
2959 <template name="page"/>
2960
2961 <text style="text_l">
2962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002963 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002964 </text>
2965
2966 <text style="text_m">
2967 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002969 </text>
2970
2971 <template name="tabs_settings"/>
2972
2973 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </fill>
2976
2977 <listbox>
2978 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2982 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2983 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2984 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2985 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2986 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2987 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2988 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2989 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2990 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2991 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2992 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2993 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2994 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2995 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2996 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2997 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2998 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2999 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3000 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3001 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3002 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3003 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3004 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003005 </listbox>
3006
3007 <text style="text_m_accent">
3008 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </text>
3011
3012 <button style="button_quarter_width">
3013 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 <action function="set">tw_time_zone_guioffset=0</action>
3016 </button>
3017
3018 <button style="button_quarter_width">
3019 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <action function="set">tw_time_zone_guioffset=15</action>
3022 </button>
3023
3024 <button style="button_quarter_width">
3025 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 <action function="set">tw_time_zone_guioffset=30</action>
3028 </button>
3029
3030 <button style="button_quarter_width">
3031 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 <action function="set">tw_time_zone_guioffset=45</action>
3034 </button>
3035
3036 <checkbox>
3037 <placement x="%indent%" y="%row18a_y%"/>
3038 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003039 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003040 <data variable="tw_time_zone_guidst"/>
3041 <image checked="checkbox_true" unchecked="checkbox_false"/>
3042 </checkbox>
3043
3044 <text color="%text_color%">
3045 <font resource="font_m"/>
3046 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003047 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003048 </text>
3049
3050 <button>
3051 <highlight color="%highlight_color%"/>
3052 <placement x="%center_x%" y="%row21a_y%"/>
3053 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 <image resource="main_button_half_height"/>
3056 <action function="setguitimezone"/>
3057 </button>
3058
3059 <action>
3060 <touch key="home"/>
3061 <action function="page">main</action>
3062 </action>
3063
3064 <action>
3065 <touch key="back"/>
3066 <action function="page">main</action>
3067 </action>
3068 </page>
3069
3070 <page name="settings_screen">
3071 <template name="page"/>
3072
3073 <text style="text_l">
3074 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 </text>
3077
3078 <text style="text_m">
3079 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </text>
3082
3083 <template name="tabs_settings"/>
3084
3085 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003087 </fill>
3088
3089 <button>
3090 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3091 <font resource="font_m" color="%text_color%"/>
3092 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3093 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003095 <image resource="checkbox_false"/>
3096 <action function="set">tw_screen_timeout_secs=60</action>
3097 </button>
3098
3099 <button>
3100 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3101 <font resource="font_m" color="%text_color%"/>
3102 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3103 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003105 <image resource="checkbox_true"/>
3106 <action function="set">tw_screen_timeout_secs=0</action>
3107 </button>
3108
3109 <slidervalue>
3110 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3111 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3112 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003114 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3115 </slidervalue>
3116
3117 <slidervalue>
3118 <condition var1="tw_has_brightnesss_file" var2="1"/>
3119 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <data variable="tw_brightness_pct" min="10" max="100"/>
3122 <actions>
3123 <action function="set">tw_brightness=%tw_brightness_max%</action>
3124 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3125 <action function="compute">tw_brightness/100</action>
3126 <action function="setbrightness">%tw_brightness%</action>
3127 </actions>
3128 </slidervalue>
3129
3130 <action>
3131 <touch key="home"/>
3132 <action function="page">main</action>
3133 </action>
3134
3135 <action>
3136 <touch key="back"/>
3137 <action function="page">main</action>
3138 </action>
3139 </page>
3140
3141 <page name="settings_vibration">
3142 <template name="page"/>
3143
3144 <text style="text_l">
3145 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 </text>
3148
3149 <text style="text_m">
3150 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 </text>
3153
3154 <template name="tabs_settings"/>
3155
3156 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003158 </fill>
3159
3160 <slidervalue>
3161 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <data variable="tw_button_vibrate" min="0" max="300"/>
3164 </slidervalue>
3165
3166 <slidervalue>
3167 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3170 </slidervalue>
3171
3172 <slidervalue>
3173 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003174 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003175 <data variable="tw_action_vibrate" min="0" max="500"/>
3176 </slidervalue>
3177
3178 <action>
3179 <touch key="home"/>
3180 <action function="page">main</action>
3181 </action>
3182
3183 <action>
3184 <touch key="back"/>
3185 <action function="page">main</action>
3186 </action>
3187 </page>
3188
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <page name="settings_language">
3190 <template name="page"/>
3191
3192 <text style="text_l">
3193 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3194 <text>{@settings_hdr=Settings}</text>
3195 </text>
3196
3197 <text style="text_m">
3198 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3199 <text>{@language_hdr=Language - %tw_language_display%}</text>
3200 </text>
3201
3202 <template name="tabs_settings"/>
3203
3204 <fill color="%text_color%">
3205 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3206 </fill>
3207
3208 <listbox>
3209 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3210 <text>{@select_language=Select Language:}</text>
3211 <icon selected="radio_true" unselected="radio_false" />
3212 <data name="tw_language" />
3213 </listbox>
3214
3215 <button style="main_button_half_height">
3216 <placement x="%center_x%" y="%row21a_y%"/>
3217 <text>{@set_language_btn=Set Language}</text>
3218 <action function="setlanguage"></action>
3219 </button>
3220
3221 <action>
3222 <touch key="home" />
3223 <action function="page">main</action>
3224 </action>
3225
3226 <action>
3227 <touch key="back" />
3228 <action function="page">settings</action>
3229 </action>
3230 </page>
3231
z31s1g28f0a922015-11-07 18:50:22 +01003232 <page name="advanced">
3233 <template name="page"/>
3234
3235 <text style="text_l">
3236 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 </text>
3239
3240 <button style="main_button">
3241 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 <actions>
3244 <action function="set">tw_back=advanced</action>
3245 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3247 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3248 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3249 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003250 <action function="page">confirm_action</action>
3251 </actions>
3252 </button>
3253
3254 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003255 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003256 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003257 <text>{@fix_context_btn=Fix Contexts}</text>
3258 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003259 </button>
3260
3261 <button style="main_button">
3262 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3263 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003265 <actions>
3266 <action function="set">partitionlisterror=0</action>
3267 <action function="page">partsdcardsel</action>
3268 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </button>
3270
3271 <button style="main_button">
3272 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 <action function="page">filemanagerlist</action>
3275 </button>
3276
3277 <button style="main_button">
3278 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003279 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003280 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003281 </button>
3282
3283 <button style="main_button">
3284 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 <action function="reload"/>
3287 </button>
3288
3289 <button style="main_button">
3290 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <action function="page">sideload</action>
3293 </button>
3294
3295 <button style="main_button">
3296 <condition var1="tw_show_dumlock" var2="1"/>
3297 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 <action function="page">htcdumlock</action>
3300 </button>
3301
3302 <button style="main_button">
3303 <condition var1="tw_has_injecttwrp" var2="1"/>
3304 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <actions>
3307 <action function="set">tw_back=advanced</action>
3308 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3310 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3311 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3312 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003313 <action function="page">confirm_action</action>
3314 </actions>
3315 </button>
3316
3317 <action>
3318 <touch key="home"/>
3319 <action function="page">main</action>
3320 </action>
3321
3322 <action>
3323 <touch key="back"/>
3324 <action function="page">main</action>
3325 </action>
3326 </page>
3327
Ethan Yonker483e9f42016-01-11 22:21:18 -06003328 <page name="partsdcardsel">
3329 <template name="page"/>
3330
3331 <text style="text_l">
3332 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3333 <text>{@advanced_hdr=Advanced}</text>
3334 </text>
3335
3336 <text style="text_m">
3337 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3338 <text>{@part_sd_hdr=Partition SD Card}</text>
3339 </text>
3340
z31s1g782e1c92016-01-30 16:50:09 +01003341 <partitionlist>
3342 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003343 <text>{@sel_storage_list=Select Storage}</text>
3344 <data name="tw_storage_path"/>
3345 <listtype name="storage"/>
3346 </partitionlist>
3347
3348 <text style="text_m_fail">
3349 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003350 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003351 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3352 </text>
3353
z31s1g782e1c92016-01-30 16:50:09 +01003354 <button style="main_button_half_height">
3355 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003356 <text>{@ok_btn=OK}</text>
3357 <actions>
3358 <action function="getpartitiondetails">tw_storage_path</action>
3359 <action function="page">partsdcardcheck</action>
3360 </actions>
3361 </button>
3362
3363 <action>
3364 <touch key="home"/>
3365 <action function="page">main</action>
3366 </action>
3367
3368 <action>
3369 <touch key="back"/>
3370 <action function="page">advanced</action>
3371 </action>
3372 </page>
3373
3374 <page name="partsdcardcheck">
3375 <action>
3376 <condition var1="tw_partition_removable" op="=" var2="1"/>
3377 <actions>
3378 <action function="set">partitionlisterror=0</action>
3379 <action function="page">partsdcard</action>
3380 </actions>
3381 </action>
3382
3383 <action>
3384 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3385 <actions>
3386 <action function="set">partitionlisterror=1</action>
3387 <action function="page">partsdcardsel</action>
3388 </actions>
3389 </action>
3390 </page>
3391
z31s1g28f0a922015-11-07 18:50:22 +01003392 <page name="partsdcard">
3393 <template name="page"/>
3394
3395 <text style="text_l">
3396 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003398 </text>
3399
3400 <text style="text_m">
3401 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003402 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003403 </text>
3404
3405 <text style="text_m_fail">
3406 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003408 </text>
3409
3410 <text style="text_m_fail">
3411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003412 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003413 </text>
3414
3415 <text style="text_m_accent">
3416 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003417 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003418 </text>
3419
3420 <text style="text_m">
3421 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3422 <text>%tw_sdext_size%</text>
3423 </text>
3424
3425 <button style="button_quarter_width">
3426 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003428 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003429 </button>
3430
3431 <button style="button_quarter_width">
3432 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003434 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003435 </button>
3436
3437 <text style="text_m_accent">
3438 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <text style="text_m">
3443 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3444 <text>%tw_swap_size%</text>
3445 </text>
3446
3447 <button style="button_quarter_width">
3448 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003450 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003451 </button>
3452
3453 <button style="button_quarter_width">
3454 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003456 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003457 </button>
3458
3459 <text style="text_m_accent">
3460 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003462 </text>
3463
3464 <text style="text_m">
3465 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3466 <text>%tw_sdpart_file_system%</text>
3467 </text>
3468
3469 <button style="button_quarter_width">
3470 <placement x="%indent%" y="%row14_y%"/>
3471 <text>EXT3</text>
3472 <action function="set">tw_sdpart_file_system=ext3</action>
3473 </button>
3474
3475 <button style="button_quarter_width">
3476 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3477 <text>EXT4</text>
3478 <action function="set">tw_sdpart_file_system=ext4</action>
3479 </button>
3480
3481 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003482 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003483 <action function="page">partsdcardaction</action>
3484 <actions>
3485 <action function="set">tw_back=partsdcard</action>
3486 <action function="set">tw_action=partitionsd</action>
3487 <action function="set">tw_has_action2=1</action>
3488 <action function="set">tw_action2=set</action>
3489 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3491 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3492 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <action function="page">action_page</action>
3494 </actions>
3495 </slider>
3496
3497 <action>
3498 <touch key="home"/>
3499 <action function="page">main</action>
3500 </action>
3501
3502 <action>
3503 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003504 <actions>
3505 <action function="set">partitionlisterror=0</action>
3506 <action function="page">partsdcardsel</action>
3507 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003508 </action>
3509 </page>
3510
3511 <page name="htcdumlock">
3512 <template name="page"/>
3513
3514 <text style="text_l">
3515 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003517 </text>
3518
3519 <text style="text_m">
3520 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003522 </text>
3523
3524 <button style="main_button_half_height_full_width">
3525 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <actions>
3528 <action function="set">tw_back=htcdumlock</action>
3529 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3531 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3532 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3533 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <action function="page">confirm_action</action>
3535 </actions>
3536 </button>
3537
3538 <button style="main_button_half_height_full_width">
3539 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003540 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <actions>
3542 <action function="set">tw_back=htcdumlock</action>
3543 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3545 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3546 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3547 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003548 <action function="page">confirm_action</action>
3549 </actions>
3550 </button>
3551
3552 <button style="main_button_half_height_full_width">
3553 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003555 <actions>
3556 <action function="set">tw_back=htcdumlock</action>
3557 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3559 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3560 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3561 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="page">confirm_action</action>
3563 </actions>
3564 </button>
3565
3566 <action>
3567 <touch key="home"/>
3568 <action function="page">main</action>
3569 </action>
3570
3571 <action>
3572 <touch key="back"/>
3573 <action function="page">advanced</action>
3574 </action>
3575 </page>
3576
3577 <page name="lock">
3578 <background color="%semi_transparent%"/>
3579
3580 <image>
3581 <image resource="unlock_icon"/>
3582 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3583 </image>
3584
3585 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <action function="overlay"/>
3588 </slider>
3589 </page>
3590
3591 <page name="filemanagerlist">
3592 <template name="page"/>
3593
3594 <text style="text_l">
3595 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003597 </text>
3598
3599 <text style="text_m">
3600 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003601 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003602 </text>
3603
3604 <template name="sort_options"/>
3605
3606 <fileselector>
3607 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3608 <text>%tw_file_location1%</text>
3609 <filter folders="1" files="1"/>
3610 <path name="tw_file_location1" default="/"/>
3611 <data name="tw_filename1"/>
3612 <selection name="tw_selection1"/>
3613 </fileselector>
3614
3615 <button style="fab">
3616 <image resource="fab_selectfolder"/>
3617 <actions>
3618 <action function="set">tw_filename1=tw_file_location1</action>
3619 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <action function="page">filemanageroptions</action>
3622 </actions>
3623 </button>
3624
3625 <action>
3626 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <action function="set">tw_fm_isfolder=0</action>
3629 </actions>
3630 </action>
3631
3632 <action>
3633 <touch key="home"/>
3634 <action function="page">main</action>
3635 </action>
3636
3637 <action>
3638 <touch key="back"/>
3639 <action function="page">advanced</action>
3640 </action>
3641
3642 <action>
3643 <condition var1="tw_filename1" op="modified"/>
3644 <action function="page">filemanageroptions</action>
3645 </action>
3646 </page>
3647
3648 <page name="filemanageroptions">
3649 <template name="page"/>
3650
3651 <text style="text_l">
3652 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 </text>
3655
3656 <text style="text_m">
3657 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003658 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003659 </text>
3660
3661 <text style="text_m_accent">
3662 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003664 </text>
3665
3666 <text style="text_m">
3667 <placement x="%indent%" y="%row3_y%"/>
3668 <text>%tw_filename1%</text>
3669 </text>
3670
3671 <button style="main_button_half_height">
3672 <condition var1="tw_fm_isfolder" var2="0"/>
3673 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <actions>
3676 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003678 <action function="page">choosedestinationfolder</action>
3679 </actions>
3680 </button>
3681
3682 <button style="main_button_half_height">
3683 <condition var1="tw_fm_isfolder" var2="1"/>
3684 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 <actions>
3687 <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 -05003688 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003689 <action function="page">choosedestinationfolder</action>
3690 </actions>
3691 </button>
3692
3693 <button style="main_button_half_height">
3694 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003696 <actions>
3697 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003699 <action function="page">choosedestinationfolder</action>
3700 </actions>
3701 </button>
3702
3703 <button style="main_button_half_height">
3704 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003705 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003706 <actions>
3707 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003709 <action function="set">tw_fm_text2=</action>
3710 <action function="set">tw_fm_text3=</action>
3711 <action function="set">tw_include_text3=0</action>
3712 <action function="set">tw_back=filemanageroptions</action>
3713 <action function="page">filemanagerconfirm</action>
3714 </actions>
3715 </button>
3716
3717 <button style="main_button_half_height">
3718 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 <actions>
3721 <action function="set">tw_filemanager_rename=0000</action>
3722 <action function="set">tw_fm_text2=</action>
3723 <action function="set">tw_fm_text3=</action>
3724 <action function="set">tw_include_text3=0</action>
3725 <action function="set">tw_back=filemanageroptions</action>
3726 <action function="page">filemanagerchmod</action>
3727 </actions>
3728 </button>
3729
3730 <button style="main_button_half_height">
3731 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 <actions>
3734 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003736 <action function="set">tw_fm_text2=</action>
3737 <action function="set">tw_fm_text3=</action>
3738 <action function="set">tw_include_text3=0</action>
3739 <action function="set">tw_back=filemanageroptions</action>
3740 <action function="page">filemanagerconfirm</action>
3741 </actions>
3742 </button>
3743
3744 <button style="main_button_half_height">
3745 <condition var1="tw_fm_isfolder" var2="0"/>
3746 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <actions>
3749 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <action function="set">tw_filemanager_command=mv</action>
3752 <action function="page">filemanagerrenamefile</action>
3753 </actions>
3754 </button>
3755
3756 <button style="main_button_half_height">
3757 <condition var1="tw_fm_isfolder" var2="1"/>
3758 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <actions>
3761 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003763 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3764 <action function="page">filemanagerrenamefolder</action>
3765 </actions>
3766 </button>
3767
3768 <action>
3769 <touch key="home"/>
3770 <action function="page">main</action>
3771 </action>
3772
3773 <action>
3774 <touch key="back"/>
3775 <action function="page">filemanagerlist</action>
3776 </action>
3777 </page>
3778
3779 <page name="choosedestinationfolder">
3780 <template name="page"/>
3781
3782 <text style="text_l">
3783 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003785 </text>
3786
3787 <text style="text_m">
3788 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </text>
3791
3792 <template name="sort_options"/>
3793
3794 <fileselector>
3795 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3796 <text>%tw_file_location2%</text>
3797 <filter folders="1" files="0"/>
3798 <path name="tw_file_location2" default="/"/>
3799 <data name="tw_filename2"/>
3800 <selection name="tw_selection2"/>
3801 </fileselector>
3802
3803 <button style="fab">
3804 <image resource="fab_selectfolder"/>
3805 <actions>
3806 <action function="set">tw_fm_text2=to</action>
3807 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3808 <action function="set">tw_include_text3=1</action>
3809 <action function="set">tw_back=filemanageroptions</action>
3810 <action function="page">filemanagerconfirm</action>
3811 </actions>
3812 </button>
3813
3814 <action>
3815 <touch key="home"/>
3816 <action function="page">main</action>
3817 </action>
3818
3819 <action>
3820 <touch key="back"/>
3821 <action function="page">filemanageroptions</action>
3822 </action>
3823 </page>
3824
3825 <page name="filemanagerrenamefile">
3826 <template name="page"/>
3827
3828 <text style="text_l">
3829 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003830 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003831 </text>
3832
3833 <text style="text_m">
3834 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003835 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003836 </text>
3837
3838 <text style="text_m_accent">
3839 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003841 </text>
3842
3843 <input>
3844 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3845 <text>%tw_filemanager_rename%</text>
3846 <data name="tw_filemanager_rename"/>
3847 <restrict minlen="1" maxlen="128"/>
3848 <actions>
3849 <action function="set">tw_fm_text2=to</action>
3850 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3851 <action function="set">tw_include_text3=1</action>
3852 <action function="set">tw_back=filemanageroptions</action>
3853 <action function="page">filemanagerconfirm</action>
3854 </actions>
3855 </input>
3856
3857 <fill color="%accent_color%">
3858 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3859 </fill>
3860
3861 <button style="main_button_half_height">
3862 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003864 <action function="page">filemanageroptions</action>
3865 </button>
3866
3867 <template name="keyboardtemplate"/>
3868
3869 <action>
3870 <touch key="home"/>
3871 <action function="page">main</action>
3872 </action>
3873
3874 <action>
3875 <touch key="back"/>
3876 <action function="page">filemanageroptions</action>
3877 </action>
3878 </page>
3879
3880 <page name="filemanagerrenamefolder">
3881 <template name="page"/>
3882
3883 <text style="text_l">
3884 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 </text>
3887
3888 <text style="text_m">
3889 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 </text>
3892
3893 <text style="text_m_accent">
3894 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 </text>
3897
3898 <input>
3899 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3900 <text>%tw_filemanager_rename%</text>
3901 <data name="tw_filemanager_rename"/>
3902 <restrict minlen="1" maxlen="128"/>
3903 <actions>
3904 <action function="set">tw_fm_text2=to</action>
3905 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3906 <action function="set">tw_include_text3=1</action>
3907 <action function="set">tw_back=filemanageroptions</action>
3908 <action function="page">filemanagerconfirm</action>
3909 </actions>
3910 </input>
3911
3912 <fill color="%accent_color%">
3913 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3914 </fill>
3915
3916 <button style="main_button_half_height">
3917 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003919 <action function="page">filemanageroptions</action>
3920 </button>
3921
3922 <template name="keyboardtemplate"/>
3923
3924 <action>
3925 <touch key="home"/>
3926 <action function="page">main</action>
3927 </action>
3928
3929 <action>
3930 <touch key="back"/>
3931 <action function="page">filemanageroptions</action>
3932 </action>
3933 </page>
3934
3935 <page name="filemanagerchmod">
3936 <template name="page"/>
3937
3938 <text style="text_l">
3939 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <text style="text_m">
3944 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003946 </text>
3947
3948 <text style="text_m_accent">
3949 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <input>
3954 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3955 <text>%tw_filemanager_rename%</text>
3956 <data name="tw_filemanager_rename"/>
3957 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3958 <actions>
3959 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3960 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3961 <action function="set">tw_back=filemanageroptions</action>
3962 <action function="page">filemanagerconfirm</action>
3963 </actions>
3964 </input>
3965
3966 <fill color="%accent_color%">
3967 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3968 </fill>
3969
3970 <button style="main_button_half_height">
3971 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003972 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003973 <action function="page">filemanageroptions</action>
3974 </button>
3975
3976 <template name="keyboardtemplate"/>
3977
3978 <action>
3979 <touch key="home"/>
3980 <action function="page">main</action>
3981 </action>
3982
3983 <action>
3984 <touch key="back"/>
3985 <action function="page">filemanageroptions</action>
3986 </action>
3987 </page>
3988
3989 <page name="filemanagerconfirm">
3990 <template name="page"/>
3991
3992 <text style="text_l">
3993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003995 </text>
3996
3997 <text style="text_m">
3998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004000 </text>
4001
4002 <text style="text_m_accent">
4003 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4004 <text>%tw_fm_text1%</text>
4005 </text>
4006
4007 <text style="text_m">
4008 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4009 <text>%tw_filename1%</text>
4010 </text>
4011
4012 <text style="text_m_accent">
4013 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4014 <text>%tw_fm_text2%</text>
4015 </text>
4016
4017 <text style="text_m">
4018 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4019 <text>%tw_fm_text3%</text>
4020 </text>
4021
4022 <text style="text_m">
4023 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004024 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004025 </text>
4026
4027 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004029 <action function="page">filemanageraction</action>
4030 </slider>
4031
4032 <action>
4033 <touch key="back"/>
4034 <action function="page">%tw_back%</action>
4035 </action>
4036
4037 <action>
4038 <touch key="home"/>
4039 <action function="page">main</action>
4040 </action>
4041 </page>
4042
4043 <page name="filemanageraction">
4044 <template name="page"/>
4045
4046 <text style="text_l">
4047 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 </text>
4050
4051 <text style="text_m">
4052 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4053 <text>%tw_fm_text1%</text>
4054 </text>
4055
4056 <template name="console"/>
4057
4058 <template name="progress_bar"/>
4059
4060 <action>
4061 <conditions>
4062 <condition var1="tw_operation_state" var2="1"/>
4063 <condition var1="tw_operation_status" var2="0"/>
4064 </conditions>
4065 <actions>
4066 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004067 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004068 <action function="page">action_complete</action>
4069 </actions>
4070 </action>
4071
4072 <action>
4073 <conditions>
4074 <condition var1="tw_operation_state" var2="1"/>
4075 <condition var1="tw_operation_status" op="!=" var2="0"/>
4076 </conditions>
4077 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <action function="page">action_complete</action>
4080 </actions>
4081 </action>
4082
4083 <action>
4084 <condition var1="tw_include_text3" var2="0"/>
4085 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4086 </action>
4087
4088 <action>
4089 <condition var1="tw_include_text3" var2="1"/>
4090 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4091 </action>
4092 </page>
4093
4094 <page name="decrypt">
4095 <template name="page"/>
4096
4097 <action>
4098 <condition var1="tw_crypto_pwtype" var2="2"/>
4099 <action function="page">decrypt_pattern</action>
4100 </action>
4101
4102 <text style="text_l">
4103 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <text style="text_m">
4108 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004110 </text>
4111
4112 <text style="text_m_accent">
4113 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004115 </text>
4116
4117 <input>
4118 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4119 <text>%tw_crypto_display%</text>
4120 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4121 <restrict minlen="1" maxlen="254"/>
4122 <action function="page">trydecrypt</action>
4123 </input>
4124
4125 <fill color="%accent_color%">
4126 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4127 </fill>
4128
4129 <fill color="%text_fail_color%">
4130 <condition var1="tw_password_fail" var2="1"/>
4131 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4132 </fill>
4133
4134 <text style="text_m_fail">
4135 <condition var1="tw_password_fail" var2="1"/>
4136 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004137 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 </text>
4139
4140 <button style="main_button_half_height">
4141 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 <actions>
4144 <action function="set">tw_page_done=1</action>
4145 <action function="page">main</action>
4146 </actions>
4147 </button>
4148
z31s1g608d7ff2016-01-18 19:47:25 +01004149 <button style="main_button_half_height">
4150 <placement x="%center_x%" y="%row10_y%"/>
4151 <text>{@sel_lang_btn=Select Language}</text>
4152 <action function="overlay">select_language</action>
4153 </button>
4154
z31s1g28f0a922015-11-07 18:50:22 +01004155 <template name="keyboardtemplate"/>
4156 </page>
4157
4158 <page name="decrypt_pattern">
4159 <template name="page"/>
4160
4161 <text style="text_l">
4162 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004163 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004164 </text>
4165
4166 <text style="text_m">
4167 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004168 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004169 </text>
4170
4171 <text style="text_m_accent">
4172 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
Aleksa Saraib25a1832015-12-31 17:36:00 +01004176 <text style="text_m_fail">
4177 <condition var1="tw_password_fail" var2="1"/>
4178 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004179 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004180 </text>
4181
z31s1g28f0a922015-11-07 18:50:22 +01004182 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004183 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004184 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4185 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4186 <data name="tw_crypto_password"/>
4187 <action function="page">trydecrypt</action>
4188 </patternpassword>
4189
Aleksa Saraib25a1832015-12-31 17:36:00 +01004190 <button style="button_quarter_width">
4191 <placement x="%indent%" y="%row19a_y%"/>
4192 <text>3x3</text>
4193 <action function="set">tw_gui_pattern_grid_size=3</action>
4194 </button>
4195
4196 <button style="button_quarter_width">
4197 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4198 <text>4x4</text>
4199 <action function="set">tw_gui_pattern_grid_size=4</action>
4200 </button>
4201
4202 <button style="button_quarter_width">
4203 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4204 <text>5x5</text>
4205 <action function="set">tw_gui_pattern_grid_size=5</action>
4206 </button>
4207
4208 <button style="button_quarter_width">
4209 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4210 <text>6x6</text>
4211 <action function="set">tw_gui_pattern_grid_size=6</action>
4212 </button>
4213
z31s1g28f0a922015-11-07 18:50:22 +01004214 <button style="main_button_half_height">
4215 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004217 <actions>
4218 <action function="set">tw_page_done=1</action>
4219 <action function="page">main</action>
4220 </actions>
4221 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004222
4223 <button style="main_button_half_height">
4224 <placement x="%center_x%" y="%row21a_y%"/>
4225 <text>{@sel_lang_btn=Select Language}</text>
4226 <action function="overlay">select_language</action>
4227 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </page>
4229
4230 <page name="trydecrypt">
4231 <template name="page"/>
4232
4233 <text style="text_l">
4234 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004236 </text>
4237
4238 <text style="text_m">
4239 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </text>
4242
4243 <template name="console"/>
4244
4245 <template name="progress_bar"/>
4246
4247 <action>
4248 <action function="decrypt"/>
4249 </action>
4250
4251 <action>
4252 <conditions>
4253 <condition var1="tw_operation_state" var2="1"/>
4254 <condition var1="tw_operation_status" op="!=" var2="0"/>
4255 </conditions>
4256 <actions>
4257 <action function="set">tw_password_fail=1</action>
4258 <action function="page">decrypt</action>
4259 </actions>
4260 </action>
4261
4262 <action>
4263 <conditions>
4264 <condition var1="tw_operation_state" var2="1"/>
4265 <condition var1="tw_operation_status" op="=" var2="0"/>
4266 </conditions>
4267 <actions>
4268 <action function="set">tw_page_done=1</action>
4269 <action function="page">main</action>
4270 </actions>
4271 </action>
4272 </page>
4273
z31s1g28f0a922015-11-07 18:50:22 +01004274 <page name="terminalcommand">
4275 <template name="page"/>
4276
z31s1g56189522016-01-13 19:12:40 +01004277 <fill color="%background_color%">
4278 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004279 </fill>
4280
z31s1g56189522016-01-13 19:12:40 +01004281 <terminal>
4282 <condition var1="tw_hide_kb" var2="0"/>
4283 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4284 </terminal>
4285
4286 <terminal>
4287 <condition var1="tw_hide_kb" var2="1"/>
4288 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4289 </terminal>
4290
4291 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004292
4293 <template name="keyboardtemplate"/>
4294
z31s1g608d7ff2016-01-18 19:47:25 +01004295 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004296 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004297 </fill>
z31s1g56189522016-01-13 19:12:40 +01004298
z31s1g608d7ff2016-01-18 19:47:25 +01004299 <button>
z31s1g56189522016-01-13 19:12:40 +01004300 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4301 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4302 <image resource="back" />
4303 <condition var1="tw_busy" var2="0" />
4304 <actions>
4305 <action function="set">tw_hide_kb=0</action>
4306 <action function="key">back</action>
4307 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004308 </button>
z31s1g56189522016-01-13 19:12:40 +01004309
z31s1g608d7ff2016-01-18 19:47:25 +01004310 <button>
z31s1g56189522016-01-13 19:12:40 +01004311 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4312 <condition var1="tw_hide_kb" op="=" var2="0" />
4313 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4314 <image resource="kb_hide" />
4315 <condition var1="tw_busy" var2="0" />
4316 <actions>
4317 <action function="set">tw_hide_kb=1</action>
4318 <action function="page">terminalcommand</action>
4319 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004320 </button>
z31s1g56189522016-01-13 19:12:40 +01004321
z31s1g608d7ff2016-01-18 19:47:25 +01004322 <button>
z31s1g56189522016-01-13 19:12:40 +01004323 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4324 <condition var1="tw_hide_kb" op="=" var2="1" />
4325 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4326 <image resource="kb_show" />
4327 <condition var1="tw_busy" var2="0" />
4328 <actions>
4329 <action function="set">tw_hide_kb=0</action>
4330 <action function="page">terminalcommand</action>
4331 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004332 </button>
z31s1g56189522016-01-13 19:12:40 +01004333
z31s1g608d7ff2016-01-18 19:47:25 +01004334 <button>
z31s1g56189522016-01-13 19:12:40 +01004335 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4336 <image resource="home" />
4337 <condition var1="tw_busy" var2="0" />
4338 <actions>
4339 <action function="set">tw_hide_kb=0</action>
4340 <action function="key">home</action>
4341 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004342 </button>
z31s1g56189522016-01-13 19:12:40 +01004343
z31s1g608d7ff2016-01-18 19:47:25 +01004344 <button>
z31s1g56189522016-01-13 19:12:40 +01004345 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4346 <condition var1="tw_hide_kb" op="=" var2="0" />
4347 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4348 <image resource="kb_hide" />
4349 <condition var1="tw_busy" var2="0" />
4350 <actions>
4351 <action function="set">tw_hide_kb=1</action>
4352 <action function="page">terminalcommand</action>
4353 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004354 </button>
z31s1g56189522016-01-13 19:12:40 +01004355
z31s1g608d7ff2016-01-18 19:47:25 +01004356 <button>
z31s1g56189522016-01-13 19:12:40 +01004357 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4358 <condition var1="tw_hide_kb" op="=" var2="1" />
4359 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4360 <image resource="kb_show" />
4361 <condition var1="tw_busy" var2="0" />
4362 <actions>
4363 <action function="set">tw_hide_kb=0</action>
4364 <action function="page">terminalcommand</action>
4365 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004366 </button>
z31s1g56189522016-01-13 19:12:40 +01004367
z31s1g608d7ff2016-01-18 19:47:25 +01004368 <button>
z31s1g56189522016-01-13 19:12:40 +01004369 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4370 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4371 <image resource="back" />
4372 <condition var1="tw_busy" var2="0" />
4373 <actions>
4374 <action function="set">tw_hide_kb=0</action>
4375 <action function="key">back</action>
4376 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004377 </button>
z31s1g56189522016-01-13 19:12:40 +01004378
z31s1g28f0a922015-11-07 18:50:22 +01004379 <action>
4380 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004381 <actions>
4382 <action function="set">tw_hide_kb=0</action>
4383 <action function="page">main</action>
4384 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004385 </action>
4386
4387 <action>
4388 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004389 <actions>
4390 <action function="set">tw_hide_kb=0</action>
4391 <action function="page">advanced</action>
4392 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004393 </action>
z31s1g56189522016-01-13 19:12:40 +01004394
z31s1g608d7ff2016-01-18 19:47:25 +01004395 <action>
z31s1g56189522016-01-13 19:12:40 +01004396 <touch key="power+voldown" />
4397 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004398 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004399 </page>
4400
4401 <page name="sideload">
4402 <template name="page"/>
4403
4404 <text style="text_l">
4405 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <text style="text_m">
4410 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <checkbox>
4415 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <data variable="tw_wipe_dalvik"/>
4418 </checkbox>
4419
4420 <checkbox>
4421 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 <data variable="tw_wipe_cache"/>
4424 </checkbox>
4425
4426 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004428 <actions>
4429 <action function="set">tw_back=advanced</action>
4430 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4432 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4433 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004434 <action function="set">tw_has_cancel=1</action>
4435 <action function="set">tw_show_reboot=1</action>
4436 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4437 <action function="page">action_page</action>
4438 </actions>
4439 </slider>
4440
4441 <action>
4442 <touch key="home"/>
4443 <action function="page">main</action>
4444 </action>
4445
4446 <action>
4447 <touch key="back"/>
4448 <action function="page">advanced</action>
4449 </action>
4450 </page>
4451
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004452 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004453 <template name="page"/>
4454
4455 <text style="text_l">
4456 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004458 </text>
4459
4460 <text style="text_m">
4461 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004462 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004463 </text>
4464
4465 <text style="text_m_accent">
4466 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004467 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004468 </text>
4469
z31s1g28f0a922015-11-07 18:50:22 +01004470 <text style="text_m_fail">
4471 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004472 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004473 </text>
4474
4475 <text style="text_m_fail">
4476 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004477 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004478 </text>
4479
4480 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004481 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 <actions>
4483 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004484 <action function="set">tw_action=fixcontexts</action>
4485 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4486 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <action function="set">tw_show_reboot=1</action>
4489 <action function="page">action_page</action>
4490 </actions>
4491 </slider>
4492
4493 <action>
4494 <touch key="home"/>
4495 <action function="page">main</action>
4496 </action>
4497
4498 <action>
4499 <touch key="back"/>
4500 <action function="page">advanced</action>
4501 </action>
4502 </page>
4503
4504 <page name="installsu">
4505 <template name="page"/>
4506
4507 <text style="text_l">
4508 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <text style="text_m">
4513 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 </text>
4516
4517 <text style="text_m_accent">
4518 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 </text>
4521
4522 <text style="text_m">
4523 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004524 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004525 </text>
4526
4527 <text style="text_m">
4528 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004529 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004530 </text>
4531
4532 <button style="main_button_half_height">
4533 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <action function="set">tw_page_done=1</action>
4536 </button>
4537
4538 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <actions>
4541 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004543 <action function="set">tw_action_text2=</action>
4544 <action function="page">singleaction_page</action>
4545 </actions>
4546 </slider>
4547 </page>
4548
4549 <page name="slideout">
4550 <fill color="%background_color%">
4551 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4552 </fill>
4553
4554 <console>
4555 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4556 </console>
4557
4558 <button>
4559 <fill color="%transparent%"/>
4560 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4561 <action function="overlay"/>
4562 </button>
4563
4564 <action>
4565 <touch key="power+voldown"/>
4566 <action function="screenshot"/>
4567 </action>
4568 </page>
4569
4570 <page name="select_storage">
4571 <fill color="%semi_transparent%">
4572 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4573 </fill>
4574
4575 <fill color="%background_color%">
4576 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4577 </fill>
4578
4579 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004580 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004581 <data name="tw_storage_path"/>
4582 <listtype name="storage"/>
4583 </partitionlist>
4584
4585 <button style="button_third_width">
4586 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004587 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004588 <actions>
4589 <action function="set">tw_clear_destination=%tw_back%</action>
4590 <action function="overlay"/>
4591 <action function="page">clear_vars</action>
4592 </actions>
4593 </button>
4594
4595 <fill color="#000000">
4596 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4597 </fill>
4598
4599 <button>
4600 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4601 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4602 <image resource="back"/>
4603 <condition var1="tw_busy" var2="0"/>
4604 <actions>
4605 <action function="overlay"/>
4606 <action function="key">%tw_back%</action>
4607 </actions>
4608 </button>
4609
4610 <button>
4611 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4612 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4613 <image resource="console"/>
4614 <condition var1="tw_busy" var2="0"/>
4615 <action function="overlay">slideout</action>
4616 </button>
4617
4618 <button>
4619 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4620 <image resource="home"/>
4621 <condition var1="tw_busy" var2="0"/>
4622 <actions>
4623 <action function="overlay"/>
4624 <action function="key">home</action>
4625 </actions>
4626 </button>
4627
4628 <button>
4629 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4630 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4631 <image resource="console"/>
4632 <condition var1="tw_busy" var2="0"/>
4633 <action function="overlay">slideout</action>
4634 </button>
4635
4636 <button>
4637 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4638 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4639 <image resource="back"/>
4640 <condition var1="tw_busy" var2="0"/>
4641 <actions>
4642 <action function="overlay"/>
4643 <action function="key">%tw_back%</action>
4644 </actions>
4645 </button>
4646
4647 <action>
4648 <touch key="power+voldown"/>
4649 <action function="screenshot"/>
4650 </action>
4651 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004652
4653 <page name="select_language">
4654 <fill color="%semi_transparent%">
4655 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4656 </fill>
4657
4658 <fill color="%background_color%">
4659 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4660 </fill>
4661
4662 <listbox>
4663 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4664 <text>{@select_language=Select Language:}</text>
4665 <icon selected="radio_true" unselected="radio_false" />
4666 <data name="tw_language" />
4667 </listbox>
4668
4669 <button style="button_third_width">
4670 <placement x="%dialog_button_x%" y="%row14_y%"/>
4671 <text>{@ok_btn=OK}</text>
4672 <actions>
4673 <action function="overlay"/>
4674 <action function="setlanguage"></action>
4675 </actions>
4676 </button>
4677
4678 <fill color="#000000">
4679 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4680 </fill>
4681
4682 <button>
4683 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4684 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4685 <image resource="back"/>
4686 <condition var1="tw_busy" var2="0"/>
4687 <actions>
4688 <action function="overlay"/>
4689 <action function="key">%tw_back%</action>
4690 </actions>
4691 </button>
4692
4693 <button>
4694 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4695 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4696 <image resource="console"/>
4697 <condition var1="tw_busy" var2="0"/>
4698 <action function="overlay">slideout</action>
4699 </button>
4700
4701 <button>
4702 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4703 <image resource="home"/>
4704 <condition var1="tw_busy" var2="0"/>
4705 <actions>
4706 <action function="overlay"/>
4707 <action function="key">home</action>
4708 </actions>
4709 </button>
4710
4711 <button>
4712 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4713 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4714 <image resource="console"/>
4715 <condition var1="tw_busy" var2="0"/>
4716 <action function="overlay">slideout</action>
4717 </button>
4718
4719 <button>
4720 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4721 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4722 <image resource="back"/>
4723 <condition var1="tw_busy" var2="0"/>
4724 <actions>
4725 <action function="overlay"/>
4726 <action function="key">%tw_back%</action>
4727 </actions>
4728 </button>
4729
4730 <action>
4731 <touch key="power+voldown"/>
4732 <action function="screenshot"/>
4733 </action>
4734 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004735 </pages>
4736</recovery>