blob: b0a16607b1197bdf738b222c223b44acc61bb882 [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 Mowera8a89d12016-12-30 18:10:37 -0600389 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500390 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600391 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500392 </checkbox>
393
394 <checkbox>
z31s1g28f0a922015-11-07 18:50:22 +0100395 <condition var1="tw_has_injecttwrp" var2="1"/>
bigbiffa869fc72016-03-01 19:40:36 -0500396 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 <data variable="tw_inject_after_zip"/>
399 </checkbox>
400
401 <button style="main_button_half_height">
402 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 <action function="page">install</action>
405 </button>
406
407 <button style="main_button_half_height">
408 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <actions>
411 <action function="queueclear"/>
412 <action function="page">install</action>
413 </actions>
414 </button>
415
416 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 <action function="flash">flash_zip</action>
419 </slider>
420
421 <action>
422 <touch key="back"/>
423 <actions>
424 <action function="cancelzip"/>
425 <action function="page">install</action>
426 </actions>
427 </action>
428
429 <action>
430 <touch key="home"/>
431 <action function="page">main</action>
432 </action>
433 </page>
434
435 <page name="flash_zip">
436 <template name="page"/>
437
438 <text style="text_l">
439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 </text>
442
443 <text style="text_m">
444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
445 <text>%tw_file%</text>
446 </text>
447
448 <template name="console"/>
449
450 <template name="progress_bar"/>
451
452 <action>
453 <condition var1="tw_operation_state" var2="1"/>
454 <action function="page">flash_done</action>
455 </action>
456 </page>
457
458 <page name="flash_done">
459 <template name="page"/>
460
461 <text style="text_l">
462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </text>
465
466 <text style="text_m_fail">
467 <condition var1="tw_operation_status" op="!=" var2="0"/>
468 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m">
473 <condition var1="tw_operation_status" var2="0"/>
474 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <template name="console"/>
479
480 <button style="main_button_half_height">
481 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 <actions>
484 <action function="set">tw_back=flash_done</action>
485 <action function="set">tw_action=wipe</action>
486 <action function="set">tw_action_param=/cache</action>
487 <action function="set">tw_has_action2=1</action>
488 <action function="set">tw_action2=wipe</action>
489 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
491 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
492 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
493 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <action function="page">confirm_action</action>
495 </actions>
496 </button>
497
498 <button style="main_button_half_height">
499 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 <actions>
502 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500503 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </actions>
505 </button>
506
507 <action>
508 <touch key="back"/>
509 <actions>
510 <action function="set">tw_clear_destination=install</action>
511 <action function="page">clear_vars</action>
512 </actions>
513 </action>
514
515 <action>
516 <touch key="home"/>
517 <actions>
518 <action function="set">tw_clear_destination=main2</action>
519 <action function="page">clear_vars</action>
520 </actions>
521 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500522
523 <action>
524 <conditions>
525 <condition var1="tw_install_reboot" var2="1"/>
526 <condition var1="tw_operation_status" var2="0"/>
527 <condition var1="tw_reboot_system" var2="1"/>
528 </conditions>
529 <actions>
530 <action function="set">tw_sleep=%tw_sleep_total%</action>
531 <action function="page">flash_sleep_and_reboot</action>
532 </actions>
533 </action>
534 </page>
535
536 <page name="flash_sleep_and_reboot">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
541 <text>{@install_zip_hdr=Install Zip}</text>
542 </text>
543
544 <text style="text_m">
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
546 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
547 </text>
548
549 <template name="console"/>
550
551 <template name="progress_bar"/>
552
553 <button style="main_button_half_height">
554 <condition var1="tw_sleep" op="&gt;" var2="0"/>
555 <placement x="%center_x%" y="%row21a_y%"/>
556 <text>{@cancel_btn=Cancel}</text>
557 <actions>
558 <action function="set">tw_install_reboot=0</action>
559 <action function="page">flash_done</action>
560 </actions>
561 </button>
562
563 <action>
564 <conditions>
565 <condition var1="tw_sleep" var2="tw_sleep_total"/>
566 <condition var1="tw_install_reboot" var2="1"/>
567 </conditions>
568 <action function="sleepcounter">%tw_sleep_total%</action>
569 </action>
570
571 <action>
572 <conditions>
573 <condition var1="tw_sleep" var2="0"/>
574 <condition var1="tw_install_reboot" var2="1"/>
575 </conditions>
576 <actions>
577 <action function="sleep">50000</action>
578 <action function="set">tw_back=main2</action>
579 <action function="page">reboot_system_routine</action>
580 </actions>
581 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </page>
583
584 <page name="flashimage_confirm">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500594 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100595 </text>
596
597 <text style="text_m_accent">
598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500599 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </text>
601
602 <text style="text_m">
603 <placement x="%indent%" y="%row3_y%"/>
604 <text>%tw_zip_location%</text>
605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row5a_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <partitionlist>
618 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
619 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500620 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100621 <data name="tw_flash_partition"/>
622 <listtype name="flashimg"/>
623 </partitionlist>
624
625 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <actions>
628 <action function="set">tw_back=flashimage_confirm</action>
629 <action function="set">tw_action=flashimage</action>
630 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500631 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100632 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100634 <action function="page">action_page</action>
635 </actions>
636 <action function="flashimage"/>
637 </slider>
638
639 <action>
640 <touch key="back"/>
641 <actions>
642 <action function="set">tw_clear_destination=install</action>
643 <action function="page">clear_vars</action>
644 </actions>
645 </action>
646
647 <action>
648 <touch key="home"/>
649 <actions>
650 <action function="set">tw_clear_destination=main2</action>
651 <action function="page">clear_vars</action>
652 </actions>
653 </action>
654 </page>
655
656 <page name="clear_vars">
657 <action>
658 <action function="set">tw_operation_state=0</action>
659 <action function="set">tw_text1=</action>
660 <action function="set">tw_text2=</action>
661 <action function="set">tw_text3=</action>
662 <action function="set">tw_text4=</action>
663 <action function="set">tw_action_text1=</action>
664 <action function="set">tw_action_text2=</action>
665 <action function="set">tw_action_param=</action>
666 <action function="set">tw_has_action2=0</action>
667 <action function="set">tw_action2=</action>
668 <action function="set">tw_action2_param=</action>
669 <action function="set">tw_has_cancel=0</action>
670 <action function="set">tw_cancel_action=</action>
671 <action function="set">tw_cancel_param=</action>
672 <action function="set">tw_show_exclamation=0</action>
673 <action function="set">tw_show_reboot=0</action>
674 <action function="page">%tw_clear_destination%</action>
675 </action>
676 </page>
677
Matt Mower908dd252016-05-25 02:26:50 -0500678 <page name="reboot_system_routine">
679 <action>
680 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500681 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500682 <action function="set">tw_has_action2=0</action>
683 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
684 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
685 <action function="set">tw_text3=</action>
686 <action function="set">tw_text4=</action>
687 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
688 <action function="set">tw_action_text2=</action>
689 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
690 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
691 <action function="page">rebootcheck</action>
692 </action>
693 </page>
694
z31s1g28f0a922015-11-07 18:50:22 +0100695 <page name="confirm_action">
696 <template name="page"/>
697
698 <text style="text_l">
699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500700 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100701 </text>
702
703 <text style="text_m">
704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
705 <text/>
706 </text>
707
708 <text style="text_m_accent">
709 <placement x="%center_x%" y="%row2_y%" placement="5"/>
710 <text>%tw_text1%</text>
711 </text>
712
713 <text style="text_m_accent">
714 <placement x="%center_x%" y="%row3_y%" placement="5"/>
715 <text>%tw_text2%</text>
716 </text>
717
718 <text style="text_m">
719 <placement x="%center_x%" y="%row4_y%" placement="5"/>
720 <text>%tw_text3%</text>
721 </text>
722
723 <text style="text_m">
724 <placement x="%center_x%" y="%row5_y%" placement="5"/>
725 <text>%tw_text4%</text>
726 </text>
727
728 <text style="text_m">
729 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500730 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100731 </text>
732
733 <slider>
734 <text>%tw_slider_text%</text>
735 <action function="page">action_page</action>
736 </slider>
737
738 <action>
739 <touch key="back"/>
740 <actions>
741 <action function="set">tw_clear_destination=%tw_back%</action>
742 <action function="page">clear_vars</action>
743 </actions>
744 </action>
745
746 <action>
747 <touch key="home"/>
748 <action function="page">main</action>
749 </action>
750 </page>
751
752 <page name="action_page">
753 <template name="page"/>
754
755 <text style="text_l">
756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
757 <text>%tw_action_text1%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%col1_x_header%" y="%row4_header_y%"/>
762 <text>%tw_action_text2%</text>
763 </text>
764
765 <template name="console"/>
766
767 <template name="progress_bar"/>
768
769 <button style="main_button_half_height">
770 <condition var1="tw_has_cancel" var2="1"/>
771 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
774 </button>
775
776 <action>
777 <condition var1="tw_operation_state" var2="1"/>
778 <actions>
779 <action function="page">action_complete</action>
780 </actions>
781 </action>
782
783 <action>
784 <condition var1="tw_has_action2" var2="0"/>
785 <actions>
786 <action function="%tw_action%">%tw_action_param%</action>
787 </actions>
788 </action>
789
790 <action>
791 <condition var1="tw_has_action2" var2="1"/>
792 <actions>
793 <action function="%tw_action%">%tw_action_param%</action>
794 <action function="%tw_action2%">%tw_action2_param%</action>
795 </actions>
796 </action>
797 </page>
798
799 <page name="singleaction_page">
800 <template name="page"/>
801
802 <text style="text_l">
803 <placement x="%col1_x_header%" y="%row3_header_y%"/>
804 <text>%tw_action_text1%</text>
805 </text>
806
807 <text style="text_m">
808 <placement x="%col1_x_header%" y="%row4_header_y%"/>
809 <text>%tw_action_text2%</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <action>
817 <condition var1="tw_operation_state" var2="1"/>
818 <actions>
819 <action function="set">tw_page_done=1</action>
820 </actions>
821 </action>
822
823 <action>
824 <condition var1="tw_has_action2" var2="0"/>
825 <actions>
826 <action function="%tw_action%">%tw_action_param%</action>
827 </actions>
828 </action>
829
830 <action>
831 <condition var1="tw_has_action2" var2="1"/>
832 <actions>
833 <action function="%tw_action%">%tw_action_param%</action>
834 <action function="%tw_action2%">%tw_action2_param%</action>
835 </actions>
836 </action>
837 </page>
838
839 <page name="action_complete">
840 <template name="page"/>
841
842 <text style="text_l">
843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
844 <text>%tw_complete_text1%</text>
845 </text>
846
847 <text style="text_m_fail">
848 <condition var1="tw_operation_status" op="!=" var2="0"/>
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100851 </text>
852
853 <text style="text_m">
854 <condition var1="tw_operation_status" var2="0"/>
855 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500856 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </text>
858
859 <template name="console"/>
860
861 <button style="main_button_half_height">
862 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 <actions>
865 <action function="set">tw_clear_destination=%tw_back%</action>
866 <action function="page">clear_vars</action>
867 </actions>
868 </button>
869
870 <button style="main_button_half_height">
871 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500872 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100873 <actions>
874 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500875 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100876 </actions>
877 </button>
878
879 <action>
880 <touch key="home"/>
881 <actions>
882 <action function="set">tw_clear_destination=main2</action>
883 <action function="page">clear_vars</action>
884 </actions>
885 </action>
886
887 <action>
888 <touch key="back"/>
889 <actions>
890 <action function="set">tw_clear_destination=%tw_back%</action>
891 <action function="page">clear_vars</action>
892 </actions>
893 </action>
894 </page>
895
896 <page name="filecheck">
897 <action>
898 <action function="fileexists">%tw_filecheck%</action>
899 </action>
900
901 <action>
902 <conditions>
903 <condition var1="tw_operation_state" var2="1"/>
904 <condition var1="tw_operation_status" var2="0"/>
905 </conditions>
906 <actions>
907 <action function="set">tw_fileexists=1</action>
908 <action function="page">%tw_existpage%</action>
909 </actions>
910 </action>
911
912 <action>
913 <conditions>
914 <condition var1="tw_operation_state" var2="1"/>
915 <condition var1="tw_operation_status" var2="1"/>
916 </conditions>
917 <actions>
918 <action function="set">tw_fileexists=0</action>
919 <action function="page">%tw_notexistpage%</action>
920 </actions>
921 </action>
922 </page>
923
924 <page name="rebootcheck">
925 <action>
926 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600927 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </action>
929
930 <action>
931 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
932 <action function="page">confirm_action</action>
933 </action>
934 </page>
935
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600936 <page name="appcheck">
937 <action>
938 <condition var1="tw_app_prompt" var2="1"/>
939 <action function="checkforapp"></action>
940 </action>
941
942 <action>
943 <condition var1="tw_app_prompt" op="!=" var2="1"/>
944 <action function="reboot">%tw_reboot_param%</action>
945 </action>
946
947 <action>
948 <condition var1="tw_app_install_status" var2="1"/>
949 <action function="page">rebootapp</action>
950 </action>
951
952 <action>
953 <condition var1="tw_app_install_status" var2="2"/>
954 <action function="reboot">%tw_reboot_param%</action>
955 </action>
956 </page>
957
z31s1g28f0a922015-11-07 18:50:22 +0100958 <page name="wipe">
959 <template name="page"/>
960
961 <text style="text_l">
962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100964 </text>
965
966 <text style="text_m">
967 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500968 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100969 </text>
970
971 <text style="text_m_accent">
972 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100974 </text>
975
976 <text style="text_m_accent">
977 <condition var1="tw_has_data_media" var2="1"/>
978 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500979 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100980 </text>
981
982 <text style="text_m_accent">
983 <conditions>
984 <condition var1="tw_has_android_secure" var2="1"/>
985 <condition var1="fileexists" var2="/and-sec"/>
986 </conditions>
987 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500988 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100989 </text>
990
991 <text style="text_m_accent">
992 <condition var1="tw_has_sdext_partition" var2="1"/>
993 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m">
998 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m">
1003 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m">
1008 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001009 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001010 </text>
1011
1012 <button style="main_button_half_height">
1013 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 <actions>
1016 <action function="set">partitionlisterror=0</action>
1017 <action function="page">advancedwipe</action>
1018 </actions>
1019 </button>
1020
1021 <button style="main_button_half_height">
1022 <condition var1="tw_has_data_media" var2="1"/>
1023 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001024 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001025 <action function="page">formatdata</action>
1026 </button>
1027
1028 <button style="main_button_half_height">
1029 <conditions>
1030 <condition var1="tw_is_encrypted" var2="1"/>
1031 <condition var1="tw_has_data_media" var2="0"/>
1032 </conditions>
1033 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001035 <actions>
1036 <action function="set">tw_back=wipe</action>
1037 <action function="set">tw_action=wipe</action>
1038 <action function="set">tw_action_param=DATAMEDIA</action>
1039 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1043 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1044 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001045 <action function="page">confirm_action</action>
1046 </actions>
1047 </button>
1048
1049 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <actions>
1052 <action function="set">tw_back=wipe</action>
1053 <action function="set">tw_action=wipe</action>
1054 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001055 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1056 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001057 <action function="page">action_page</action>
1058 </actions>
1059 </slider>
1060
1061 <action>
1062 <touch key="back"/>
1063 <action function="page">main</action>
1064 </action>
1065
1066 <action>
1067 <touch key="home"/>
1068 <action function="page">main</action>
1069 </action>
1070 </page>
1071
1072 <page name="advancedwipe">
1073 <template name="page"/>
1074
1075 <action>
1076 <action function="set">tw_wipe_list=</action>
1077 </action>
1078
1079 <text style="text_l">
1080 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 </text>
1083
1084 <text style="text_m">
1085 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001086 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001087 </text>
1088
1089 <partitionlist>
1090 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001091 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001092 <data name="tw_wipe_list"/>
1093 <listtype name="wipe"/>
1094 </partitionlist>
1095
1096 <text style="text_m_fail">
1097 <condition var1="partitionlisterror" var2="1"/>
1098 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 </text>
1101
1102 <button style="main_button_half_height_full_width">
1103 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001106 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001107 <action function="page">checkpartitionlist</action>
1108 </actions>
1109 </button>
1110
1111 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 <actions>
1114 <action function="set">tw_back=advancedwipe</action>
1115 <action function="set">tw_action=wipe</action>
1116 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1118 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1119 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001120 <action function="page">action_page</action>
1121 </actions>
1122 </slider>
1123
1124 <action>
1125 <touch key="home"/>
1126 <action function="page">main</action>
1127 </action>
1128
1129 <action>
1130 <touch key="back"/>
1131 <action function="page">wipe</action>
1132 </action>
1133 </page>
1134
1135 <page name="formatdata">
1136 <template name="page"/>
1137
1138 <text style="text_l">
1139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 </text>
1142
1143 <text style="text_m">
1144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001145 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001146 </text>
1147
1148 <text style="text_m_fail">
1149 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001150 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001151 </text>
1152
1153 <text style="text_m_fail">
1154 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001155 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001156 </text>
1157
1158 <text style="text_m_fail">
1159 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 </text>
1162
Ethan Yonker66a19492015-12-10 10:19:45 -06001163 <text style="text_m_fail">
1164 <condition var1="tw_has_adopted_storage" var2="1"/>
1165 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1166 <text>{@format_data_adopted=Including Adopted Storage}</text>
1167 </text>
1168
z31s1g28f0a922015-11-07 18:50:22 +01001169 <text style="text_m">
1170 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m">
1175 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <input>
1180 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1181 <text>%tw_confirm_formatdata%</text>
1182 <data name="tw_confirm_formatdata"/>
1183 <restrict minlen="3" maxlen="3" allow="yes"/>
1184 <action function="page">formatdata_confirm</action>
1185 </input>
1186
1187 <fill color="%accent_color%">
1188 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1189 </fill>
1190
1191 <template name="keyboardtemplate"/>
1192
1193 <action>
1194 <touch key="home"/>
1195 <action function="page">main</action>
1196 </action>
1197
1198 <action>
1199 <touch key="back"/>
1200 <action function="page">wipe</action>
1201 </action>
1202 </page>
1203
1204 <page name="formatdata_confirm">
1205 <action>
1206 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1207 <actions>
1208 <action function="set">tw_back=formatdata</action>
1209 <action function="set">tw_action=wipe</action>
1210 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1212 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001213 <action function="page">action_page</action>
1214 </actions>
1215 </action>
1216
1217 <action>
1218 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1219 <action function="page">formatdata</action>
1220 </action>
1221 </page>
1222
1223 <page name="checkpartitionlist">
1224 <action>
1225 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1226 <actions>
1227 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001228 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001229 <action function="page">partitionoptions</action>
1230 </actions>
1231 </action>
1232
1233 <action>
1234 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1235 <actions>
1236 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001237 <action function="page">advancedwipe</action>
1238 </actions>
1239 </action>
1240 </page>
1241
1242 <page name="partitionoptions">
1243 <template name="page"/>
1244
1245 <text style="text_l">
1246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m">
1251 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m_accent">
1256 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
1260 <text style="text_m_accent">
1261 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <condition var1="tw_partition_is_present" var2="1"/>
1267 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <condition var1="tw_partition_is_present" var2="0"/>
1273 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001275 </text>
1276
1277 <text style="text_m">
1278 <condition var1="tw_partition_removable" var2="1"/>
1279 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 </text>
1282
1283 <text style="text_m">
1284 <condition var1="tw_partition_removable" var2="0"/>
1285 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 </text>
1288
1289 <text style="text_m">
1290 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001291 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001292 </text>
1293
1294 <text style="text_m">
1295 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <text style="text_m">
1300 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m">
1305 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <button style="main_button_half_height">
1310 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1311 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 <actions>
1314 <action function="set">tw_back=partitionoptions</action>
1315 <action function="set">tw_action=resize</action>
1316 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1317 <action function="set">tw_has_action2=1</action>
1318 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001319 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1323 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1324 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001325 <action function="page">confirm_action</action>
1326 </actions>
1327 </button>
1328
1329 <button style="main_button_half_height">
1330 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1331 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 <actions>
1334 <action function="set">tw_back=partitionoptions</action>
1335 <action function="set">tw_action=repair</action>
1336 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1337 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1341 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1342 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001343 <action function="page">confirm_action</action>
1344 </actions>
1345 </button>
1346
1347 <button style="main_button_half_height">
1348 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 <action function="page">selectfilesystem</action>
1351 </button>
1352
1353 <action>
1354 <touch key="home"/>
1355 <action function="page">main</action>
1356 </action>
1357
1358 <action>
1359 <touch key="back"/>
1360 <action function="page">advancedwipe</action>
1361 </action>
1362 </page>
1363
1364 <page name="refreshfilesystem">
1365 <action>
1366 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1367 <actions>
1368 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001369 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001370 <action function="page">selectfilesystem</action>
1371 </actions>
1372 </action>
1373
1374 <action>
1375 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1376 <actions>
1377 <action function="set">partitionlisterror=1</action>
1378 <action function="set">tw_wipe_list=</action>
1379 <action function="page">advancedwipe</action>
1380 </actions>
1381 </action>
1382 </page>
1383
1384 <page name="selectfilesystem">
1385 <template name="page"/>
1386
1387 <text style="text_l">
1388 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001390 </text>
1391
1392 <text style="text_m">
1393 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001395 </text>
1396
1397 <text style="text_m_accent">
1398 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m_accent">
1403 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m_fail">
1408 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001410 </text>
1411
1412 <text style="text_m_fail">
1413 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001415 </text>
1416
1417 <button style="main_button_half_height">
1418 <condition var1="tw_partition_ext" op="=" var2="1"/>
1419 <placement x="%indent%" y="%row15a_y%"/>
1420 <text>EXT2</text>
1421 <actions>
1422 <action function="set">tw_back=refreshfilesystem</action>
1423 <action function="set">tw_action=changefilesystem</action>
1424 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1425 <action function="set">tw_action_new_file_system=ext2</action>
1426 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1428 <action function="set">tw_text2=EXT2</action>
1429 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1430 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1431 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001432 <action function="page">confirm_action</action>
1433 </actions>
1434 </button>
1435
1436 <button style="main_button_half_height">
1437 <condition var1="tw_partition_ext" op="=" var2="1"/>
1438 <placement x="%indent%" y="%row18a_y%"/>
1439 <text>EXT3</text>
1440 <actions>
1441 <action function="set">tw_back=refreshfilesystem</action>
1442 <action function="set">tw_action=changefilesystem</action>
1443 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1444 <action function="set">tw_action_new_file_system=ext3</action>
1445 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1447 <action function="set">tw_text2=EXT3</action>
1448 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1449 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1450 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001451 <action function="page">confirm_action</action>
1452 </actions>
1453 </button>
1454
1455 <button style="main_button_half_height">
1456 <condition var1="tw_partition_ext" op="=" var2="1"/>
1457 <placement x="%indent%" y="%row21a_y%"/>
1458 <text>EXT4</text>
1459 <actions>
1460 <action function="set">tw_back=refreshfilesystem</action>
1461 <action function="set">tw_action=changefilesystem</action>
1462 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1463 <action function="set">tw_action_new_file_system=ext4</action>
1464 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1466 <action function="set">tw_text2=EXT4</action>
1467 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1468 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1469 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001470 <action function="page">confirm_action</action>
1471 </actions>
1472 </button>
1473
1474 <button style="main_button_half_height">
1475 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1476 <placement x="%center_x%" y="%row15a_y%"/>
1477 <text>FAT</text>
1478 <actions>
1479 <action function="set">tw_back=refreshfilesystem</action>
1480 <action function="set">tw_action=changefilesystem</action>
1481 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1482 <action function="set">tw_action_new_file_system=vfat</action>
1483 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1485 <action function="set">tw_text2=FAT</action>
1486 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1487 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1488 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001489 <action function="page">confirm_action</action>
1490 </actions>
1491 </button>
1492
1493 <button style="main_button_half_height">
1494 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1495 <placement x="%center_x%" y="%row18a_y%"/>
1496 <text>exFAT</text>
1497 <actions>
1498 <action function="set">tw_back=refreshfilesystem</action>
1499 <action function="set">tw_action=changefilesystem</action>
1500 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1501 <action function="set">tw_action_new_file_system=exfat</action>
1502 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001503 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1504 <action function="set">tw_text2=exFAT</action>
1505 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1506 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1507 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001508 <action function="page">confirm_action</action>
1509 </actions>
1510 </button>
1511
1512 <button style="main_button_half_height">
1513 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1514 <placement x="%center_x%" y="%row21a_y%"/>
1515 <text>F2FS</text>
1516 <actions>
1517 <action function="set">tw_back=refreshfilesystem</action>
1518 <action function="set">tw_action=changefilesystem</action>
1519 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1520 <action function="set">tw_action_new_file_system=f2fs</action>
1521 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001522 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1523 <action function="set">tw_text2=F2FS</action>
1524 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1525 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1526 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001527 <action function="page">confirm_action</action>
1528 </actions>
1529 </button>
1530
1531 <action>
1532 <touch key="home"/>
1533 <action function="page">main</action>
1534 </action>
1535
1536 <action>
1537 <touch key="back"/>
1538 <action function="page">partitionoptions</action>
1539 </action>
1540 </page>
1541
1542 <page name="backup">
1543 <template name="page"/>
1544
1545 <text style="text_l">
1546 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 </text>
1549
1550 <text style="text_m">
1551 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001552 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001553 </text>
1554
1555 <template name="tabs_backup"/>
1556
1557 <fill color="%text_color%">
1558 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1559 </fill>
1560
1561 <button style="tab">
1562 <conditions>
1563 <condition var1="tw_include_encrypted_backup" var2="1"/>
1564 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001565 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001566 </conditions>
1567 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001568 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001569 <font resource="font_s" color="%text_color%"/>
1570 <actions>
1571 <action function="set">tw_password_not_match=0</action>
1572 <action function="page">backupencryption</action>
1573 </actions>
1574 </button>
1575
1576 <button style="tab">
1577 <conditions>
1578 <condition var1="tw_include_encrypted_backup" var2="1"/>
1579 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001580 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001581 </conditions>
1582 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 <font resource="font_s" color="%text_success_color%"/>
1585 <actions>
1586 <action function="set">tw_password_not_match=0</action>
1587 <action function="page">backupencryption</action>
1588 </actions>
1589 </button>
1590
1591 <text style="text_m_accent">
1592 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001593 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001594 </text>
1595
1596 <text style="text_m">
1597 <placement x="%indent%" y="%row4a_y%"/>
1598 <text>%tw_backup_name%</text>
1599 </text>
1600
1601 <fill color="%fileselector_linecolor%">
1602 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1603 </fill>
1604
1605 <button>
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="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1608 <fill color="%transparent%"/>
1609 <actions>
1610 <action function="set">tw_fileexists=0</action>
1611 <action function="page">backupname1</action>
1612 </actions>
1613 </button>
1614
1615 <partitionlist>
1616 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <data name="tw_backup_list"/>
1619 <listtype name="backup"/>
1620 </partitionlist>
1621
1622 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001623 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001625 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001626 <actions>
1627 <action function="set">tw_back=backup</action>
1628 <action function="overlay">select_storage</action>
1629 </actions>
1630 </button>
1631
1632 <button style="main_button_half_height">
1633 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001635 <actions>
1636 <action function="refreshsizes"/>
1637 <action function="page">backup</action>
1638 </actions>
1639 </button>
1640
1641 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <action function="page">backup_run</action>
1644 </slider>
1645
1646 <action>
1647 <touch key="home"/>
1648 <action function="page">main</action>
1649 </action>
1650
1651 <action>
1652 <touch key="back"/>
1653 <action function="page">main</action>
1654 </action>
1655 </page>
1656
1657 <page name="backup_options">
1658 <template name="page"/>
1659
1660 <text style="text_l">
1661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m">
1666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001667 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001668 </text>
1669
1670 <template name="tabs_backup"/>
1671
1672 <fill color="%text_color%">
1673 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1674 </fill>
1675
1676 <button style="tab">
1677 <conditions>
1678 <condition var1="tw_include_encrypted_backup" var2="1"/>
1679 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001680 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </conditions>
1682 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <font resource="font_s" color="%text_color%"/>
1685 <actions>
1686 <action function="set">tw_password_not_match=0</action>
1687 <action function="page">backupencryption</action>
1688 </actions>
1689 </button>
1690
1691 <button style="tab">
1692 <conditions>
1693 <condition var1="tw_include_encrypted_backup" var2="1"/>
1694 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001695 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001696 </conditions>
1697 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <font resource="font_s" color="%text_success_color%"/>
1700 <actions>
1701 <action function="set">tw_password_not_match=0</action>
1702 <action function="page">backupencryption</action>
1703 </actions>
1704 </button>
1705
1706 <checkbox>
1707 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <data variable="tw_use_compression"/>
1710 </checkbox>
1711
1712 <checkbox>
1713 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001714 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1715 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001716 </checkbox>
1717
1718 <checkbox>
1719 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001720 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <data variable="tw_disable_free_space"/>
1722 </checkbox>
1723
Ethan Yonker1b190162016-12-05 15:25:19 -06001724 <text style="text_m">
1725 <condition var1="tw_has_boot_slots" var2="1"/>
1726 <placement x="%center_x%" y="%row17_y%" placement="5"/>
1727 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1728 </text>
1729
1730 <button style="main_button">
1731 <condition var1="tw_has_boot_slots" var2="1"/>
1732 <placement x="%indent%" y="%row19_y%"/>
1733 <text>{@boot_slot_a=Slot A}</text>
1734 <actions>
1735 <action function="set">tw_back=backup_options</action>
1736 <action function="set">tw_action=setbootslot</action>
1737 <action function="set">tw_action_param=A</action>
1738 <action function="set">tw_has_action2=0</action>
1739 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1740 <action function="set">tw_action_text2=</action>
1741 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1742 <action function="page">action_page</action>
1743 </actions>
1744 </button>
1745
1746 <button style="main_button">
1747 <condition var1="tw_has_boot_slots" var2="1"/>
1748 <placement x="%center_x%" y="%row19_y%"/>
1749 <text>{@boot_slot_b=Slot B}</text>
1750 <actions>
1751 <action function="set">tw_back=backup_options</action>
1752 <action function="set">tw_action=setbootslot</action>
1753 <action function="set">tw_action_param=B</action>
1754 <action function="set">tw_has_action2=0</action>
1755 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1756 <action function="set">tw_action_text2=</action>
1757 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1758 <action function="page">action_page</action>
1759 </actions>
1760 </button>
1761
z31s1g28f0a922015-11-07 18:50:22 +01001762 <action>
1763 <touch key="home"/>
1764 <action function="page">main</action>
1765 </action>
1766
1767 <action>
1768 <touch key="back"/>
1769 <action function="page">backup</action>
1770 </action>
1771 </page>
1772
1773 <page name="backupname1">
1774 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <action function="generatebackupname"/>
1777 </action>
1778
1779 <action>
1780 <action function="page">backupname2</action>
1781 </action>
1782 </page>
1783
1784 <page name="backupname2">
1785 <template name="page"/>
1786
1787 <text style="text_l">
1788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001789 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001790 </text>
1791
1792 <text style="text_m">
1793 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001794 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001795 </text>
1796
1797 <template name="tabs_backup"/>
1798
1799 <fill color="%text_color%">
1800 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1801 </fill>
1802
1803 <button style="tab">
1804 <conditions>
1805 <condition var1="tw_include_encrypted_backup" var2="1"/>
1806 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001807 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001808 </conditions>
1809 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <font resource="font_s" color="%text_color%"/>
1812 <actions>
1813 <action function="set">tw_password_not_match=0</action>
1814 <action function="page">backupencryption</action>
1815 </actions>
1816 </button>
1817
1818 <button style="tab">
1819 <conditions>
1820 <condition var1="tw_include_encrypted_backup" var2="1"/>
1821 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001822 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </conditions>
1824 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 <font resource="font_s" color="%text_success_color%"/>
1827 <actions>
1828 <action function="set">tw_password_not_match=0</action>
1829 <action function="page">backupencryption</action>
1830 </actions>
1831 </button>
1832
1833 <text style="text_m_accent">
1834 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001835 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001836 </text>
1837
1838 <input>
1839 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1840 <text>%tw_backup_name%</text>
1841 <data name="tw_backup_name"/>
1842 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1843 <actions>
1844 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1845 <action function="set">tw_existpage=backupname2</action>
1846 <action function="set">tw_notexistpage=backup</action>
1847 <action function="page">filecheck</action>
1848 </actions>
1849 </input>
1850
1851 <fill color="%accent_color%">
1852 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1853 </fill>
1854
1855 <fill color="%text_fail_color%">
1856 <condition var1="tw_fileexists" var2="1"/>
1857 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1858 </fill>
1859
1860 <text style="text_m_fail">
1861 <condition var1="tw_fileexists" var2="1"/>
1862 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001863 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001864 </text>
1865
1866 <button style="main_button_half_height">
1867 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001868 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001869 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001871 <action function="page">backup</action>
1872 </actions>
1873 </button>
1874
1875 <button style="main_button_half_height">
1876 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <action function="appenddatetobackupname"/>
1879 </button>
1880
1881 <template name="keyboardtemplate"/>
1882
1883 <action>
1884 <touch key="home"/>
1885 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <action function="page">main</action>
1888 </actions>
1889 </action>
1890
1891 <action>
1892 <touch key="back"/>
1893 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001894 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001895 <action function="page">backup</action>
1896 </actions>
1897 </action>
1898 </page>
1899
1900 <page name="backupencryption">
1901 <template name="page"/>
1902
1903 <text style="text_l">
1904 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 </text>
1907
1908 <text style="text_m">
1909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001911 </text>
1912
1913 <template name="tabs_backup"/>
1914
1915 <button style="tab">
1916 <conditions>
1917 <condition var1="tw_include_encrypted_backup" var2="1"/>
1918 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001919 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001920 </conditions>
1921 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001923 <font resource="font_s" color="%text_color%"/>
1924 <actions>
1925 <action function="set">tw_password_not_match=0</action>
1926 <action function="page">backupencryption</action>
1927 </actions>
1928 </button>
1929
1930 <button style="tab">
1931 <conditions>
1932 <condition var1="tw_include_encrypted_backup" var2="1"/>
1933 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001934 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </conditions>
1936 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 <font resource="font_s" color="%text_success_color%"/>
1939 <actions>
1940 <action function="set">tw_password_not_match=0</action>
1941 <action function="page">backupencryption</action>
1942 </actions>
1943 </button>
1944
1945 <fill color="%text_color%">
1946 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1947 </fill>
1948
1949 <text style="text_m_accent">
1950 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001951 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001952 </text>
1953
1954 <text style="text_m">
1955 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 </text>
1958
1959 <input>
1960 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1961 <text>%tw_backup_encrypt_display%</text>
1962 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1963 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1964 <action function="page">backupencryption2</action>
1965 </input>
1966
1967 <fill color="%accent_color%">
1968 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1969 </fill>
1970
1971 <fill color="%text_fail_color%">
1972 <condition var1="tw_password_not_match" var2="1"/>
1973 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1974 </fill>
1975
1976 <text style="text_m_fail">
1977 <condition var1="tw_password_not_match" var2="1"/>
1978 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 </text>
1981
1982 <button style="main_button_half_height">
1983 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001984 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001985 <actions>
1986 <action function="set">tw_encrypt_backup=0</action>
1987 <action function="set">tw_backup_password=</action>
1988 <action function="set">tw_backup_password2=</action>
1989 <action function="set">tw_backup_encrypt_display=</action>
1990 <action function="set">tw_backup_encrypt_display2=</action>
1991 <action function="page">backup</action>
1992 </actions>
1993 </button>
1994
1995 <template name="keyboardtemplate"/>
1996
1997 <action>
1998 <touch key="home"/>
1999 <action function="page">main</action>
2000 </action>
2001
2002 <action>
2003 <touch key="back"/>
2004 <action function="page">backup</action>
2005 </action>
2006 </page>
2007
2008 <page name="backupencryption2">
2009 <template name="page"/>
2010
2011 <text style="text_l">
2012 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <template name="tabs_backup"/>
2022
2023 <button style="tab">
2024 <conditions>
2025 <condition var1="tw_include_encrypted_backup" var2="1"/>
2026 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002027 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002028 </conditions>
2029 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002030 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002031 <font resource="font_s" color="%text_color%"/>
2032 <actions>
2033 <action function="set">tw_password_not_match=0</action>
2034 <action function="page">backupencryption</action>
2035 </actions>
2036 </button>
2037
2038 <button style="tab">
2039 <conditions>
2040 <condition var1="tw_include_encrypted_backup" var2="1"/>
2041 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002042 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002043 </conditions>
2044 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002045 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002046 <font resource="font_s" color="%text_success_color%"/>
2047 <actions>
2048 <action function="set">tw_password_not_match=0</action>
2049 <action function="page">backupencryption</action>
2050 </actions>
2051 </button>
2052
2053 <fill color="%text_color%">
2054 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2055 </fill>
2056
2057 <text style="text_m_accent">
2058 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <text style="text_m">
2063 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <input>
2068 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2069 <text>%tw_backup_encrypt_display2%</text>
2070 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2071 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2072 <action function="page">checkbackuppassword</action>
2073 </input>
2074
2075 <fill color="%accent_color%">
2076 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2077 </fill>
2078
2079 <button style="main_button_half_height">
2080 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002081 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002082 <actions>
2083 <action function="set">tw_encrypt_backup=0</action>
2084 <action function="set">tw_backup_password=</action>
2085 <action function="set">tw_backup_password2=</action>
2086 <action function="set">tw_backup_encrypt_display=</action>
2087 <action function="set">tw_backup_encrypt_display2=</action>
2088 <action function="page">backup</action>
2089 </actions>
2090 </button>
2091
2092 <template name="keyboardtemplate"/>
2093
2094 <action>
2095 <touch key="home"/>
2096 <action function="page">main</action>
2097 </action>
2098
2099 <action>
2100 <touch key="back"/>
2101 <action function="page">backup</action>
2102 </action>
2103 </page>
2104
2105 <page name="checkbackuppassword">
2106 <action>
2107 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2108 <actions>
2109 <action function="set">tw_encrypt_backup=1</action>
2110 <action function="page">backup</action>
2111 </actions>
2112 </action>
2113
2114 <action>
2115 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2116 <actions>
2117 <action function="set">tw_encrypt_backup=0</action>
2118 <action function="set">tw_password_not_match=1</action>
2119 <action function="set">tw_backup_password=</action>
2120 <action function="set">tw_backup_password2=</action>
2121 <action function="set">tw_backup_encrypt_display=</action>
2122 <action function="set">tw_backup_encrypt_display2=</action>
2123 <action function="page">backupencryption</action>
2124 </actions>
2125 </action>
2126 </page>
2127
2128 <page name="backup_run">
2129 <template name="page"/>
2130
2131 <text style="text_l">
2132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2133 <text>%tw_operation%</text>
2134 </text>
2135
2136 <text style="text_m">
2137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2138 <text>%tw_partition% Partition</text>
2139 </text>
2140
2141 <template name="console"/>
2142
2143 <template name="progress_bar"/>
2144
2145 <text style="text_m_accent">
2146 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002147 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m">
2151 <placement x="%indent%" y="%row20_y%"/>
2152 <text>%tw_file_progress%</text>
2153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%indent%" y="%row21_y%"/>
2157 <text>%tw_size_progress%</text>
2158 </text>
2159
2160 <button style="main_button_half_height">
2161 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <action function="cancelbackup"/>
2164 </button>
2165
2166 <action>
2167 <action function="nandroid">backup</action>
2168 </action>
2169
2170 <action>
2171 <condition var1="tw_operation_state" var2="1"/>
2172 <condition var1="tw_cancel_backup" var2="0"/>
2173 <actions>
2174 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002176 <action function="set">tw_show_reboot=1</action>
2177 <action function="page">action_complete</action>
2178 </actions>
2179 </action>
2180
2181 <action>
2182 <condition var1="tw_operation_state" var2="1"/>
2183 <condition var1="tw_cancel_backup" var2="1"/>
2184 <actions>
2185 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002187 <action function="set">tw_show_reboot=1</action>
2188 <action function="page">action_complete</action>
2189 </actions>
2190 </action>
2191 </page>
2192
2193 <page name="restore">
2194 <template name="page"/>
2195
2196 <text style="text_l">
2197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <text style="text_m">
2202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 </text>
2205
2206 <template name="sort_options"/>
2207
2208 <fileselector>
2209 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002210 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002211 <filter folders="1" files="0" nav="0"/>
2212 <path name="tw_backups_folder"/>
2213 <data name="tw_restore" default=""/>
2214 <selection name="tw_restore_name"/>
2215 </fileselector>
2216
2217 <button style="main_button_half_height">
2218 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 <actions>
2221 <action function="set">tw_back=restore</action>
2222 <action function="overlay">select_storage</action>
2223 </actions>
2224 </button>
2225
2226 <action>
2227 <condition var1="tw_restore" op="modified"/>
2228 <actions>
2229 <action function="readBackup"/>
2230 <action function="page">restore_read</action>
2231 </actions>
2232 </action>
2233
2234 <action>
2235 <touch key="home"/>
2236 <action function="page">main</action>
2237 </action>
2238
2239 <action>
2240 <touch key="back"/>
2241 <action function="page">main</action>
2242 </action>
2243 </page>
2244
2245 <page name="restore_read">
2246 <action>
2247 <condition var1="tw_restore_encrypted" var2="1"/>
2248 <actions>
2249 <action function="set">tw_password_fail=0</action>
2250 <action function="page">restore_decrypt</action>
2251 </actions>
2252 </action>
2253
2254 <action>
2255 <condition var1="tw_restore_encrypted" var2="0"/>
2256 <actions>
2257 <action function="page">restore_select</action>
2258 </actions>
2259 </action>
2260 </page>
2261
2262 <page name="restore_decrypt">
2263 <template name="page"/>
2264
2265 <text style="text_l">
2266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </text>
2269
2270 <text style="text_m">
2271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002273 </text>
2274
2275 <text style="text_m_accent">
2276 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </text>
2279
2280 <input>
2281 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2282 <text>%tw_restore_display%</text>
2283 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2284 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2285 <action function="page">try_restore_decrypt</action>
2286 </input>
2287
2288 <fill color="%accent_color%">
2289 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2290 </fill>
2291
2292 <fill color="%text_fail_color%">
2293 <condition var1="tw_password_fail" var2="1"/>
2294 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2295 </fill>
2296
2297 <text style="text_m_fail">
2298 <condition var1="tw_password_fail" var2="1"/>
2299 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <button style="main_button_half_height">
2304 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 <actions>
2307 <action function="set">tw_page_done=1</action>
2308 <action function="page">restore</action>
2309 </actions>
2310 </button>
2311
2312 <button style="main_button_half_height">
2313 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 <actions>
2316 <action function="set">tw_back=restore</action>
2317 <action function="set">tw_action=cmd</action>
2318 <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 -05002319 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2320 <action function="set">tw_text2=%tw_restore_name%</action>
2321 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2322 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2323 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2324 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002325 <action function="page">confirm_action</action>
2326 </actions>
2327 </button>
2328
2329 <template name="keyboardtemplate"/>
2330
2331 <action>
2332 <touch key="home"/>
2333 <action function="page">main</action>
2334 </action>
2335
2336 <action>
2337 <touch key="back"/>
2338 <action function="page">restore</action>
2339 </action>
2340 </page>
2341
2342 <page name="try_restore_decrypt">
2343 <template name="page"/>
2344
2345 <text style="text_l">
2346 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002347 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002348 </text>
2349
2350 <text style="text_m">
2351 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002353 </text>
2354
2355 <template name="console"/>
2356
2357 <template name="progress_bar"/>
2358
2359 <action>
2360 <action function="decrypt_backup"/>
2361 </action>
2362
2363 <action>
2364 <conditions>
2365 <condition var1="tw_operation_state" var2="1"/>
2366 <condition var1="tw_operation_status" op="!=" var2="0"/>
2367 </conditions>
2368 <actions>
2369 <action function="set">tw_password_fail=1</action>
2370 <action function="page">restore_decrypt</action>
2371 </actions>
2372 </action>
2373
2374 <action>
2375 <conditions>
2376 <condition var1="tw_operation_state" var2="1"/>
2377 <condition var1="tw_operation_status" op="=" var2="0"/>
2378 </conditions>
2379 <actions>
2380 <action function="set">tw_page_done=1</action>
2381 <action function="page">restore_select</action>
2382 </actions>
2383 </action>
2384 </page>
2385
2386 <page name="restore_select">
2387 <template name="page"/>
2388
2389 <text style="text_l">
2390 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 </text>
2393
2394 <text style="text_m">
2395 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002396 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002397 </text>
2398
2399 <text style="text_m_accent">
2400 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 </text>
2403
2404 <text style="text_m">
2405 <placement x="%indent%" y="%row3_y%"/>
2406 <text>%tw_restore_name%</text>
2407 </text>
2408
2409 <fill color="%fileselector_linecolor%">
2410 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2411 </fill>
2412
2413 <button>
2414 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2415 <fill color="%transparent%"/>
2416 <actions>
2417 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2418 <action function="set">tw_fileexists=0</action>
2419 <action function="page">renamebackup</action>
2420 </actions>
2421 </button>
2422
2423 <partitionlist>
2424 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2427 <listtype name="restore"/>
2428 </partitionlist>
2429
2430 <checkbox>
2431 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002432 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2433 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </checkbox>
2435
2436 <button style="main_button_half_height">
2437 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002438 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002439 <actions>
2440 <action function="set">tw_back=restore</action>
2441 <action function="set">tw_action=cmd</action>
2442 <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 -05002443 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002444 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2446 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2447 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2448 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002449 <action function="page">confirm_action</action>
2450 </actions>
2451 </button>
2452
2453 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 <action function="page">restore_run</action>
2456 </slider>
2457
2458 <action>
2459 <touch key="home"/>
2460 <action function="page">main</action>
2461 </action>
2462
2463 <action>
2464 <touch key="back"/>
2465 <action function="page">restore</action>
2466 </action>
2467 </page>
2468
2469 <page name="renamebackup">
2470 <template name="page"/>
2471
2472 <text style="text_l">
2473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002474 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002475 </text>
2476
2477 <text style="text_m">
2478 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 </text>
2481
2482 <text style="text_m_accent">
2483 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 </text>
2486
2487 <input>
2488 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2489 <text>%tw_backup_rename%</text>
2490 <data name="tw_backup_rename"/>
2491 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2492 <actions>
2493 <action function="set">tw_back=restore</action>
2494 <action function="set">tw_action=cmd</action>
2495 <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 -05002496 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2497 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2498 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2499 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2500 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002501 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2502 <action function="set">tw_existpage=renamebackup</action>
2503 <action function="set">tw_notexistpage=confirm_action</action>
2504 <action function="page">filecheck</action>
2505 </actions>
2506 </input>
2507
2508 <fill color="%accent_color%">
2509 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2510 </fill>
2511
2512 <fill color="%text_fail_color%">
2513 <condition var1="tw_fileexists" var2="1"/>
2514 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2515 </fill>
2516
2517 <text style="text_m_fail">
2518 <condition var1="tw_fileexists" var2="1"/>
2519 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <button style="main_button_half_height">
2524 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="page">restore_select</action>
2527 </button>
2528
2529 <template name="keyboardtemplate"/>
2530
2531 <action>
2532 <touch key="home"/>
2533 <action function="page">main</action>
2534 </action>
2535
2536 <action>
2537 <touch key="back"/>
2538 <action function="page">restore_select</action>
2539 </action>
2540 </page>
2541
2542 <page name="restore_run">
2543 <template name="page"/>
2544
2545 <text style="text_l">
2546 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 </text>
2549
2550 <text style="text_m">
2551 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2552 <text>%tw_operation% %tw_partition%</text>
2553 </text>
2554
2555 <template name="console"/>
2556
2557 <template name="progress_bar"/>
2558
2559 <text style="text_m_accent">
2560 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002562 </text>
2563
2564 <text style="text_m">
2565 <placement x="%indent%" y="%row20_y%"/>
2566 <text>%tw_size_progress%</text>
2567 </text>
2568
2569 <action>
2570 <condition var1="tw_operation_state" var2="1"/>
2571 <actions>
2572 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002573 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002574 <action function="set">tw_show_reboot=1</action>
2575 <action function="page">action_complete</action>
2576 </actions>
2577 </action>
2578
2579 <action>
2580 <action function="nandroid">restore</action>
2581 </action>
2582 </page>
2583
2584 <page name="mount">
2585 <template name="page"/>
2586
2587 <text style="text_l">
2588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 </text>
2591
2592 <text style="text_m">
2593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 </text>
2596
2597 <partitionlist>
2598 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 <listtype name="mount"/>
2601 </partitionlist>
2602
2603 <button style="checkbox">
2604 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2605 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <image resource="checkbox_false"/>
2608 <action function="mountsystemtoggle">1</action>
2609 </button>
2610
2611 <button style="checkbox">
2612 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2613 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002615 <image resource="checkbox_true"/>
2616 <actions>
2617 <action function="set">tw_lifetime_writes=2</action>
2618 <action function="page">system_readonly_check</action>
2619 </actions>
2620 </button>
2621
2622 <button style="main_button_half_height">
2623 <condition var1="tw_has_usb_storage" var2="1"/>
2624 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="page">usb_mount</action>
2627 </button>
2628
2629 <button style="main_button_half_height">
2630 <conditions>
2631 <condition var1="tw_is_encrypted" var2="1"/>
2632 <condition var1="tw_is_decrypted" var2="0"/>
2633 </conditions>
2634 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <action function="page">decrypt</action>
2637 </button>
2638
2639 <button style="main_button_half_height">
2640 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <actions>
2643 <action function="set">tw_back=mount</action>
2644 <action function="overlay">select_storage</action>
2645 </actions>
2646 </button>
2647
2648 <button style="main_button_half_height">
2649 <conditions>
2650 <condition var1="tw_has_mtp" var2="1"/>
2651 <condition var1="tw_mtp_enabled" var2="0"/>
2652 </conditions>
2653 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="startmtp"/>
2656 </button>
2657
2658 <button style="main_button_half_height">
2659 <conditions>
2660 <condition var1="tw_has_mtp" var2="1"/>
2661 <condition var1="tw_mtp_enabled" var2="1"/>
2662 </conditions>
2663 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="stopmtp"/>
2666 </button>
2667
2668 <action>
2669 <touch key="home"/>
2670 <action function="page">main</action>
2671 </action>
2672
2673 <action>
2674 <touch key="back"/>
2675 <action function="page">main</action>
2676 </action>
2677 </page>
2678
2679 <page name="usb_mount">
2680 <template name="page"/>
2681
2682 <text style="text_l">
2683 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <text style="text_m">
2688 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002689 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002690 </text>
2691
2692 <text style="text_m_accent">
2693 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002695 </text>
2696
2697 <text style="text_m">
2698 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 </text>
2701
2702 <text style="text_m">
2703 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002704 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002705 </text>
2706
2707 <button style="main_button_half_height">
2708 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002709 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002710 <action function="page">usb_umount</action>
2711 </button>
2712
2713 <action>
2714 <action function="mount">usb</action>
2715 <action function="set">tw_busy=1</action>
2716 </action>
2717 </page>
2718
2719 <page name="usb_umount">
2720 <action>
2721 <action function="unmount">usb</action>
2722 </action>
2723
2724 <action>
2725 <action function="page">mount</action>
2726 <action function="set">tw_busy=0</action>
2727 </action>
2728 </page>
2729
2730 <page name="system_readonly_check">
2731 <action>
2732 <action function="checkpartitionlifetimewrites">/system</action>
2733 </action>
2734
2735 <action>
2736 <condition var1="tw_lifetime_writes" var2="1"/>
2737 <actions>
2738 <action function="mountsystemtoggle">0</action>
2739 <action function="page">mount</action>
2740 </actions>
2741 </action>
2742
2743 <action>
2744 <condition var1="tw_lifetime_writes" var2="0"/>
2745 <actions>
2746 <action function="set">tw_back=mount</action>
2747 <action function="page">system_readonly</action>
2748 </actions>
2749 </action>
2750 </page>
2751
2752 <page name="reboot">
2753 <template name="page"/>
2754
2755 <text style="text_l">
2756 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002757 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 </text>
2759
2760 <button style="main_button">
2761 <condition var1="tw_reboot_system" var2="1"/>
2762 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 <actions>
2765 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002766 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002767 </actions>
2768 </button>
2769
2770 <button style="main_button">
2771 <condition var1="tw_reboot_poweroff" var2="1"/>
2772 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002773 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002774 <actions>
2775 <action function="set">tw_back=reboot</action>
2776 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002777 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002778 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002779 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2781 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2782 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2783 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2784 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002785 <action function="page">rebootcheck</action>
2786 </actions>
2787 </button>
2788
2789 <button style="main_button">
2790 <condition var1="tw_reboot_recovery" var2="1"/>
2791 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 <actions>
2794 <action function="set">tw_back=reboot</action>
2795 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002796 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002797 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2800 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2801 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2802 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2803 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002804 <action function="page">rebootcheck</action>
2805 </actions>
2806 </button>
2807
2808 <button style="main_button">
2809 <condition var1="tw_reboot_bootloader" var2="1"/>
2810 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 <actions>
2813 <action function="set">tw_back=reboot</action>
2814 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002815 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002816 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002817 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2819 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2820 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2821 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002823 <action function="page">rebootcheck</action>
2824 </actions>
2825 </button>
2826
2827 <button style="main_button">
2828 <condition var1="tw_download_mode" var2="1"/>
2829 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 <actions>
2832 <action function="set">tw_back=reboot</action>
2833 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002834 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002835 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002836 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2838 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2839 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2840 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2841 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="page">rebootcheck</action>
2843 </actions>
2844 </button>
2845
Ethan Yonker1b190162016-12-05 15:25:19 -06002846 <text style="text_m">
2847 <condition var1="tw_has_boot_slots" var2="1"/>
2848 <placement x="%center_x%" y="%row17_y%" placement="5"/>
2849 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2850 </text>
2851
2852 <button style="main_button">
2853 <condition var1="tw_has_boot_slots" var2="1"/>
2854 <placement x="%indent%" y="%row19_y%"/>
2855 <text>{@boot_slot_a=Slot A}</text>
2856 <actions>
2857 <action function="set">tw_back=reboot</action>
2858 <action function="set">tw_action=setbootslot</action>
2859 <action function="set">tw_action_param=A</action>
2860 <action function="set">tw_has_action2=0</action>
2861 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2862 <action function="set">tw_action_text2=</action>
2863 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2864 <action function="page">action_page</action>
2865 </actions>
2866 </button>
2867
2868 <button style="main_button">
2869 <condition var1="tw_has_boot_slots" var2="1"/>
2870 <placement x="%center_x%" y="%row19_y%"/>
2871 <text>{@boot_slot_b=Slot B}</text>
2872 <actions>
2873 <action function="set">tw_back=reboot</action>
2874 <action function="set">tw_action=setbootslot</action>
2875 <action function="set">tw_action_param=B</action>
2876 <action function="set">tw_has_action2=0</action>
2877 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2878 <action function="set">tw_action_text2=</action>
2879 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2880 <action function="page">action_page</action>
2881 </actions>
2882 </button>
2883
z31s1g28f0a922015-11-07 18:50:22 +01002884 <action>
2885 <touch key="home"/>
2886 <action function="page">main</action>
2887 </action>
2888
2889 <action>
2890 <touch key="back"/>
2891 <action function="page">main</action>
2892 </action>
2893 </page>
2894
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002895 <page name="rebootapp">
2896 <template name="page"/>
2897
2898 <text style="text_l">
2899 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2900 <text>{@reboot_hdr=Reboot}</text>
2901 </text>
2902
2903 <text style="text_m">
2904 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2905 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2906 </text>
2907
2908 <text style="text_m_accent">
2909 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2910 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2911 </text>
2912
2913 <text style="text_m_accent">
2914 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2915 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2916 </text>
2917
2918 <checkbox>
2919 <placement x="%indent%" y="%row5_y%"/>
2920 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2921 <data variable="tw_app_prompt"/>
2922 </checkbox>
2923
2924 <checkbox>
2925 <condition var1="tw_mount_system_ro" var2="0"/>
2926 <placement x="%indent%" y="%row7_y%"/>
2927 <text>{@reboot_install_app_system=Install as a System App}</text>
2928 <data variable="tw_app_install_system"/>
2929 </checkbox>
2930
2931 <button style="main_button_half_height">
2932 <placement x="%indent%" y="%row16_y%"/>
2933 <text>{@su_cancel=Do not Install}</text>
2934 <action function="reboot">%tw_reboot_param%</action>
2935 </button>
2936
2937 <slider>
2938 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2939 <actions>
2940 <action function="set">tw_back=reboot</action>
2941 <action function="set">tw_action=installapp</action>
2942 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2943 <action function="set">tw_action_text2=</action>
2944 <action function="set">tw_has_action2=1</action>
2945 <action function="set">tw_action2=reboot</action>
2946 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2947 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2948 <action function="page">action_page</action>
2949 </actions>
2950 </slider>
2951
2952 <action>
2953 <touch key="home"/>
2954 <actions>
2955 <action function="set">tw_app_install_status=0</action>
2956 <action function="page">main</action>
2957 </actions>
2958 </action>
2959
2960 <action>
2961 <touch key="back"/>
2962 <actions>
2963 <action function="set">tw_app_install_status=0</action>
2964 <action function="page">reboot</action>
2965 </actions>
2966 </action>
2967 </page>
2968
z31s1g28f0a922015-11-07 18:50:22 +01002969 <page name="system_readonly">
2970 <template name="page"/>
2971
2972 <text style="text_l">
2973 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </text>
2976
2977 <text style="text_m_accent">
2978 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 </text>
2981
2982 <text style="text_m">
2983 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <text style="text_m">
2988 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <text style="text_m">
2993 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 </text>
2996
2997 <text style="text_m">
2998 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002999 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003000 </text>
3001
3002 <text style="text_m_fail">
3003 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 </text>
3006
3007 <text style="text_m_fail">
3008 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </text>
3011
3012 <checkbox>
3013 <condition var1="tw_is_encrypted" var2="0"/>
3014 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003015 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003016 <data variable="tw_never_show_system_ro_page"/>
3017 </checkbox>
3018
3019 <button style="main_button_half_height">
3020 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003021 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003022 <actions>
3023 <action function="mountsystemtoggle">1</action>
3024 <action function="set">tw_page_done=1</action>
3025 <action function="page">%tw_back%</action>
3026 </actions>
3027 </button>
3028
z31s1g608d7ff2016-01-18 19:47:25 +01003029 <button style="main_button_half_height">
3030 <placement x="%center_x%" y="%row18a_y%"/>
3031 <text>{@sel_lang_btn=Select Language}</text>
3032 <action function="overlay">select_language</action>
3033 </button>
3034
z31s1g28f0a922015-11-07 18:50:22 +01003035 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 <actions>
3038 <action function="mountsystemtoggle">0</action>
3039 <action function="set">tw_page_done=1</action>
3040 <action function="page">%tw_back%</action>
3041 </actions>
3042 </slider>
3043 </page>
3044
3045 <page name="settings">
3046 <template name="page"/>
3047
3048 <text style="text_l">
3049 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003051 </text>
3052
3053 <text style="text_m">
3054 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 </text>
3057
3058 <template name="tabs_settings"/>
3059
3060 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003062 </fill>
3063
3064 <listbox style="scrolllist">
3065 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3066 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003068 <data variable="tw_signed_zip_verify"/>
3069 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003070 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3071 <data variable="tw_install_reboot"/>
3072 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003074 <data variable="tw_rm_rf"/>
3075 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003076 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3077 <data variable="tw_disable_free_space"/>
3078 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003079 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3080 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003082 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3083 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003084 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003086 <data variable="tw_military_time"/>
3087 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003089 <data variable="tw_samsung_navbar"/>
3090 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003091 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3092 <data variable="tw_app_prompt"/>
3093 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003095 <data variable="tw_simulate_actions"/>
3096 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003098 <condition var1="tw_simulate_actions" var2="1"/>
3099 <data variable="tw_simulate_fail"/>
3100 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003101 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3102 <condition var1="tw_no_sha2" var2="0"/>
3103 <data variable="tw_use_sha2"/>
3104 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003105 </listbox>
3106
3107 <button style="main_button_half_height">
3108 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003110 <actions>
3111 <action function="set">tw_samsung_navbar=0</action>
3112 <action function="set">tw_tab_icons=0</action>
3113 <action function="restoredefaultsettings"/>
3114 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003115 </button>
3116
3117 <action>
3118 <touch key="home"/>
3119 <action function="page">main</action>
3120 </action>
3121
3122 <action>
3123 <touch key="back"/>
3124 <action function="page">main</action>
3125 </action>
3126 </page>
3127
3128 <page name="settings_timezone">
3129 <template name="page"/>
3130
3131 <text style="text_l">
3132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <template name="tabs_settings"/>
3142
3143 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </fill>
3146
3147 <listbox>
3148 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3152 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3153 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3154 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3155 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3156 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3157 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3158 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3159 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3160 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3161 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3162 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3163 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3164 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3165 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3166 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3167 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3168 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3169 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3170 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3171 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3172 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3173 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3174 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003175 </listbox>
3176
3177 <text style="text_m_accent">
3178 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </text>
3181
3182 <button style="button_quarter_width">
3183 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003184 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003185 <action function="set">tw_time_zone_guioffset=0</action>
3186 </button>
3187
3188 <button style="button_quarter_width">
3189 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003190 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003191 <action function="set">tw_time_zone_guioffset=15</action>
3192 </button>
3193
3194 <button style="button_quarter_width">
3195 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 <action function="set">tw_time_zone_guioffset=30</action>
3198 </button>
3199
3200 <button style="button_quarter_width">
3201 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="set">tw_time_zone_guioffset=45</action>
3204 </button>
3205
3206 <checkbox>
3207 <placement x="%indent%" y="%row18a_y%"/>
3208 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <data variable="tw_time_zone_guidst"/>
3211 <image checked="checkbox_true" unchecked="checkbox_false"/>
3212 </checkbox>
3213
3214 <text color="%text_color%">
3215 <font resource="font_m"/>
3216 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003218 </text>
3219
3220 <button>
3221 <highlight color="%highlight_color%"/>
3222 <placement x="%center_x%" y="%row21a_y%"/>
3223 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 <image resource="main_button_half_height"/>
3226 <action function="setguitimezone"/>
3227 </button>
3228
3229 <action>
3230 <touch key="home"/>
3231 <action function="page">main</action>
3232 </action>
3233
3234 <action>
3235 <touch key="back"/>
3236 <action function="page">main</action>
3237 </action>
3238 </page>
3239
3240 <page name="settings_screen">
3241 <template name="page"/>
3242
3243 <text style="text_l">
3244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 </text>
3247
3248 <text style="text_m">
3249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003251 </text>
3252
3253 <template name="tabs_settings"/>
3254
3255 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003257 </fill>
3258
3259 <button>
3260 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3261 <font resource="font_m" color="%text_color%"/>
3262 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3263 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003265 <image resource="checkbox_false"/>
3266 <action function="set">tw_screen_timeout_secs=60</action>
3267 </button>
3268
3269 <button>
3270 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3271 <font resource="font_m" color="%text_color%"/>
3272 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3273 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003275 <image resource="checkbox_true"/>
3276 <action function="set">tw_screen_timeout_secs=0</action>
3277 </button>
3278
3279 <slidervalue>
3280 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3281 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3282 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3285 </slidervalue>
3286
3287 <slidervalue>
3288 <condition var1="tw_has_brightnesss_file" var2="1"/>
3289 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <data variable="tw_brightness_pct" min="10" max="100"/>
3292 <actions>
3293 <action function="set">tw_brightness=%tw_brightness_max%</action>
3294 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3295 <action function="compute">tw_brightness/100</action>
3296 <action function="setbrightness">%tw_brightness%</action>
3297 </actions>
3298 </slidervalue>
3299
3300 <action>
3301 <touch key="home"/>
3302 <action function="page">main</action>
3303 </action>
3304
3305 <action>
3306 <touch key="back"/>
3307 <action function="page">main</action>
3308 </action>
3309 </page>
3310
3311 <page name="settings_vibration">
3312 <template name="page"/>
3313
3314 <text style="text_l">
3315 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 </text>
3318
3319 <text style="text_m">
3320 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 </text>
3323
3324 <template name="tabs_settings"/>
3325
3326 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003327 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003328 </fill>
3329
3330 <slidervalue>
3331 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <data variable="tw_button_vibrate" min="0" max="300"/>
3334 </slidervalue>
3335
3336 <slidervalue>
3337 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3340 </slidervalue>
3341
3342 <slidervalue>
3343 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003345 <data variable="tw_action_vibrate" min="0" max="500"/>
3346 </slidervalue>
3347
3348 <action>
3349 <touch key="home"/>
3350 <action function="page">main</action>
3351 </action>
3352
3353 <action>
3354 <touch key="back"/>
3355 <action function="page">main</action>
3356 </action>
3357 </page>
3358
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <page name="settings_language">
3360 <template name="page"/>
3361
3362 <text style="text_l">
3363 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3364 <text>{@settings_hdr=Settings}</text>
3365 </text>
3366
3367 <text style="text_m">
3368 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3369 <text>{@language_hdr=Language - %tw_language_display%}</text>
3370 </text>
3371
3372 <template name="tabs_settings"/>
3373
3374 <fill color="%text_color%">
3375 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3376 </fill>
3377
3378 <listbox>
3379 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3380 <text>{@select_language=Select Language:}</text>
3381 <icon selected="radio_true" unselected="radio_false" />
3382 <data name="tw_language" />
3383 </listbox>
3384
3385 <button style="main_button_half_height">
3386 <placement x="%center_x%" y="%row21a_y%"/>
3387 <text>{@set_language_btn=Set Language}</text>
3388 <action function="setlanguage"></action>
3389 </button>
3390
3391 <action>
3392 <touch key="home" />
3393 <action function="page">main</action>
3394 </action>
3395
3396 <action>
3397 <touch key="back" />
3398 <action function="page">settings</action>
3399 </action>
3400 </page>
3401
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003402 <page name="copylog">
3403 <template name="page"/>
3404
3405 <text style="text_l">
3406 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3407 <text>{@copying_log=Copy Logs to SD Card}</text>
3408 </text>
3409
3410 <checkbox>
3411 <placement x="%indent%" y="%row4_y%"/>
3412 <text>{@include_kernel_log=Include Kernel Log}</text>
3413 <data variable="tw_include_kernel_log" value="1"/>
3414 </checkbox>
3415
3416 <slider>
3417 <text>{@copying_log=Copy Logs to SD Card}</text>
3418 <actions>
3419 <action function="set">tw_back=advanced</action>
3420 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003421 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3422 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003423 <action function="page">action_page</action>
3424 </actions>
3425 </slider>
3426
3427 <action>
3428 <touch key="home"/>
3429 <action function="page">main</action>
3430 </action>
3431
3432 <action>
3433 <touch key="back"/>
3434 <actions>
3435 <action function="page">advanced</action>
3436 </actions>
3437 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003438 </page>
3439
z31s1g28f0a922015-11-07 18:50:22 +01003440 <page name="advanced">
3441 <template name="page"/>
3442
3443 <text style="text_l">
3444 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003446 </text>
3447
3448 <button style="main_button">
3449 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003451 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003452 </button>
3453
3454 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003455 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003457 <text>{@fix_context_btn=Fix Contexts}</text>
3458 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </button>
3460
3461 <button style="main_button">
3462 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3463 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003465 <actions>
3466 <action function="set">partitionlisterror=0</action>
3467 <action function="page">partsdcardsel</action>
3468 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003469 </button>
3470
3471 <button style="main_button">
3472 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003474 <action function="page">filemanagerlist</action>
3475 </button>
3476
3477 <button style="main_button">
3478 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003480 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </button>
3482
3483 <button style="main_button">
3484 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 <action function="reload"/>
3487 </button>
3488
3489 <button style="main_button">
3490 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 <action function="page">sideload</action>
3493 </button>
3494
3495 <button style="main_button">
3496 <condition var1="tw_show_dumlock" var2="1"/>
3497 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 <action function="page">htcdumlock</action>
3500 </button>
3501
3502 <button style="main_button">
3503 <condition var1="tw_has_injecttwrp" var2="1"/>
3504 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003505 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003506 <actions>
3507 <action function="set">tw_back=advanced</action>
3508 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3510 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3511 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3512 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <action function="page">confirm_action</action>
3514 </actions>
3515 </button>
3516
3517 <action>
3518 <touch key="home"/>
3519 <action function="page">main</action>
3520 </action>
3521
3522 <action>
3523 <touch key="back"/>
3524 <action function="page">main</action>
3525 </action>
3526 </page>
3527
Ethan Yonker483e9f42016-01-11 22:21:18 -06003528 <page name="partsdcardsel">
3529 <template name="page"/>
3530
3531 <text style="text_l">
3532 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3533 <text>{@advanced_hdr=Advanced}</text>
3534 </text>
3535
3536 <text style="text_m">
3537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3538 <text>{@part_sd_hdr=Partition SD Card}</text>
3539 </text>
3540
z31s1g782e1c92016-01-30 16:50:09 +01003541 <partitionlist>
3542 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003543 <text>{@sel_storage_list=Select Storage}</text>
3544 <data name="tw_storage_path"/>
3545 <listtype name="storage"/>
3546 </partitionlist>
3547
3548 <text style="text_m_fail">
3549 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003550 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003551 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3552 </text>
3553
z31s1g782e1c92016-01-30 16:50:09 +01003554 <button style="main_button_half_height">
3555 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003556 <text>{@ok_btn=OK}</text>
3557 <actions>
3558 <action function="getpartitiondetails">tw_storage_path</action>
3559 <action function="page">partsdcardcheck</action>
3560 </actions>
3561 </button>
3562
3563 <action>
3564 <touch key="home"/>
3565 <action function="page">main</action>
3566 </action>
3567
3568 <action>
3569 <touch key="back"/>
3570 <action function="page">advanced</action>
3571 </action>
3572 </page>
3573
3574 <page name="partsdcardcheck">
3575 <action>
3576 <condition var1="tw_partition_removable" op="=" var2="1"/>
3577 <actions>
3578 <action function="set">partitionlisterror=0</action>
3579 <action function="page">partsdcard</action>
3580 </actions>
3581 </action>
3582
3583 <action>
3584 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3585 <actions>
3586 <action function="set">partitionlisterror=1</action>
3587 <action function="page">partsdcardsel</action>
3588 </actions>
3589 </action>
3590 </page>
3591
z31s1g28f0a922015-11-07 18:50:22 +01003592 <page name="partsdcard">
3593 <template name="page"/>
3594
3595 <text style="text_l">
3596 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 </text>
3599
3600 <text style="text_m">
3601 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003602 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003603 </text>
3604
3605 <text style="text_m_fail">
3606 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 </text>
3609
3610 <text style="text_m_fail">
3611 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003612 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003613 </text>
3614
3615 <text style="text_m_accent">
3616 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 </text>
3619
3620 <text style="text_m">
3621 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3622 <text>%tw_sdext_size%</text>
3623 </text>
3624
3625 <button style="button_quarter_width">
3626 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003628 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003629 </button>
3630
3631 <button style="button_quarter_width">
3632 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003634 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003635 </button>
3636
3637 <text style="text_m_accent">
3638 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <text style="text_m">
3643 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3644 <text>%tw_swap_size%</text>
3645 </text>
3646
3647 <button style="button_quarter_width">
3648 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003650 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003651 </button>
3652
3653 <button style="button_quarter_width">
3654 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003656 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003657 </button>
3658
3659 <text style="text_m_accent">
3660 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 </text>
3663
3664 <text style="text_m">
3665 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3666 <text>%tw_sdpart_file_system%</text>
3667 </text>
3668
3669 <button style="button_quarter_width">
3670 <placement x="%indent%" y="%row14_y%"/>
3671 <text>EXT3</text>
3672 <action function="set">tw_sdpart_file_system=ext3</action>
3673 </button>
3674
3675 <button style="button_quarter_width">
3676 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3677 <text>EXT4</text>
3678 <action function="set">tw_sdpart_file_system=ext4</action>
3679 </button>
3680
3681 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003683 <action function="page">partsdcardaction</action>
3684 <actions>
3685 <action function="set">tw_back=partsdcard</action>
3686 <action function="set">tw_action=partitionsd</action>
3687 <action function="set">tw_has_action2=1</action>
3688 <action function="set">tw_action2=set</action>
3689 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3691 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3692 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003693 <action function="page">action_page</action>
3694 </actions>
3695 </slider>
3696
3697 <action>
3698 <touch key="home"/>
3699 <action function="page">main</action>
3700 </action>
3701
3702 <action>
3703 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003704 <actions>
3705 <action function="set">partitionlisterror=0</action>
3706 <action function="page">partsdcardsel</action>
3707 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003708 </action>
3709 </page>
3710
3711 <page name="htcdumlock">
3712 <template name="page"/>
3713
3714 <text style="text_l">
3715 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003717 </text>
3718
3719 <text style="text_m">
3720 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003722 </text>
3723
3724 <button style="main_button_half_height_full_width">
3725 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 <actions>
3728 <action function="set">tw_back=htcdumlock</action>
3729 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003730 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3731 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3732 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3733 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <action function="page">confirm_action</action>
3735 </actions>
3736 </button>
3737
3738 <button style="main_button_half_height_full_width">
3739 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <actions>
3742 <action function="set">tw_back=htcdumlock</action>
3743 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3745 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3746 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3747 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <action function="page">confirm_action</action>
3749 </actions>
3750 </button>
3751
3752 <button style="main_button_half_height_full_width">
3753 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003755 <actions>
3756 <action function="set">tw_back=htcdumlock</action>
3757 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3759 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3760 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3761 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003762 <action function="page">confirm_action</action>
3763 </actions>
3764 </button>
3765
3766 <action>
3767 <touch key="home"/>
3768 <action function="page">main</action>
3769 </action>
3770
3771 <action>
3772 <touch key="back"/>
3773 <action function="page">advanced</action>
3774 </action>
3775 </page>
3776
3777 <page name="lock">
3778 <background color="%semi_transparent%"/>
3779
3780 <image>
3781 <image resource="unlock_icon"/>
3782 <placement x="%center_x%" y="%row10_y%" placement="4"/>
3783 </image>
3784
3785 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <action function="overlay"/>
3788 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003789
3790 <action>
3791 <touch key="power"/>
3792 <action function="togglebacklight"/>
3793 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003794 </page>
3795
3796 <page name="filemanagerlist">
3797 <template name="page"/>
3798
3799 <text style="text_l">
3800 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 </text>
3803
3804 <text style="text_m">
3805 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003807 </text>
3808
3809 <template name="sort_options"/>
3810
3811 <fileselector>
3812 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
3813 <text>%tw_file_location1%</text>
3814 <filter folders="1" files="1"/>
3815 <path name="tw_file_location1" default="/"/>
3816 <data name="tw_filename1"/>
3817 <selection name="tw_selection1"/>
3818 </fileselector>
3819
3820 <button style="fab">
3821 <image resource="fab_selectfolder"/>
3822 <actions>
3823 <action function="set">tw_filename1=tw_file_location1</action>
3824 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003825 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003826 <action function="page">filemanageroptions</action>
3827 </actions>
3828 </button>
3829
3830 <action>
3831 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003833 <action function="set">tw_fm_isfolder=0</action>
3834 </actions>
3835 </action>
3836
3837 <action>
3838 <touch key="home"/>
3839 <action function="page">main</action>
3840 </action>
3841
3842 <action>
3843 <touch key="back"/>
3844 <action function="page">advanced</action>
3845 </action>
3846
3847 <action>
3848 <condition var1="tw_filename1" op="modified"/>
3849 <action function="page">filemanageroptions</action>
3850 </action>
3851 </page>
3852
3853 <page name="filemanageroptions">
3854 <template name="page"/>
3855
3856 <text style="text_l">
3857 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <text style="text_m">
3862 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003864 </text>
3865
3866 <text style="text_m_accent">
3867 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 </text>
3870
3871 <text style="text_m">
3872 <placement x="%indent%" y="%row3_y%"/>
3873 <text>%tw_filename1%</text>
3874 </text>
3875
3876 <button style="main_button_half_height">
3877 <condition var1="tw_fm_isfolder" var2="0"/>
3878 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <actions>
3881 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003883 <action function="page">choosedestinationfolder</action>
3884 </actions>
3885 </button>
3886
3887 <button style="main_button_half_height">
3888 <condition var1="tw_fm_isfolder" var2="1"/>
3889 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <actions>
3892 <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 -05003893 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003894 <action function="page">choosedestinationfolder</action>
3895 </actions>
3896 </button>
3897
3898 <button style="main_button_half_height">
3899 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003900 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <actions>
3902 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003904 <action function="page">choosedestinationfolder</action>
3905 </actions>
3906 </button>
3907
3908 <button style="main_button_half_height">
3909 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 <actions>
3912 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003914 <action function="set">tw_fm_text2=</action>
3915 <action function="set">tw_fm_text3=</action>
3916 <action function="set">tw_include_text3=0</action>
3917 <action function="set">tw_back=filemanageroptions</action>
3918 <action function="page">filemanagerconfirm</action>
3919 </actions>
3920 </button>
3921
3922 <button style="main_button_half_height">
3923 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003925 <actions>
3926 <action function="set">tw_filemanager_rename=0000</action>
3927 <action function="set">tw_fm_text2=</action>
3928 <action function="set">tw_fm_text3=</action>
3929 <action function="set">tw_include_text3=0</action>
3930 <action function="set">tw_back=filemanageroptions</action>
3931 <action function="page">filemanagerchmod</action>
3932 </actions>
3933 </button>
3934
3935 <button style="main_button_half_height">
3936 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 <actions>
3939 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003941 <action function="set">tw_fm_text2=</action>
3942 <action function="set">tw_fm_text3=</action>
3943 <action function="set">tw_include_text3=0</action>
3944 <action function="set">tw_back=filemanageroptions</action>
3945 <action function="page">filemanagerconfirm</action>
3946 </actions>
3947 </button>
3948
3949 <button style="main_button_half_height">
3950 <condition var1="tw_fm_isfolder" var2="0"/>
3951 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003952 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003953 <actions>
3954 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <action function="set">tw_filemanager_command=mv</action>
3957 <action function="page">filemanagerrenamefile</action>
3958 </actions>
3959 </button>
3960
3961 <button style="main_button_half_height">
3962 <condition var1="tw_fm_isfolder" var2="1"/>
3963 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 <actions>
3966 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003968 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3969 <action function="page">filemanagerrenamefolder</action>
3970 </actions>
3971 </button>
3972
3973 <action>
3974 <touch key="home"/>
3975 <action function="page">main</action>
3976 </action>
3977
3978 <action>
3979 <touch key="back"/>
3980 <action function="page">filemanagerlist</action>
3981 </action>
3982 </page>
3983
3984 <page name="choosedestinationfolder">
3985 <template name="page"/>
3986
3987 <text style="text_l">
3988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 </text>
3991
3992 <text style="text_m">
3993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003995 </text>
3996
3997 <template name="sort_options"/>
3998
3999 <fileselector>
4000 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4001 <text>%tw_file_location2%</text>
4002 <filter folders="1" files="0"/>
4003 <path name="tw_file_location2" default="/"/>
4004 <data name="tw_filename2"/>
4005 <selection name="tw_selection2"/>
4006 </fileselector>
4007
4008 <button style="fab">
4009 <image resource="fab_selectfolder"/>
4010 <actions>
4011 <action function="set">tw_fm_text2=to</action>
4012 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4013 <action function="set">tw_include_text3=1</action>
4014 <action function="set">tw_back=filemanageroptions</action>
4015 <action function="page">filemanagerconfirm</action>
4016 </actions>
4017 </button>
4018
4019 <action>
4020 <touch key="home"/>
4021 <action function="page">main</action>
4022 </action>
4023
4024 <action>
4025 <touch key="back"/>
4026 <action function="page">filemanageroptions</action>
4027 </action>
4028 </page>
4029
4030 <page name="filemanagerrenamefile">
4031 <template name="page"/>
4032
4033 <text style="text_l">
4034 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004036 </text>
4037
4038 <text style="text_m">
4039 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 </text>
4042
4043 <text style="text_m_accent">
4044 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <input>
4049 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4050 <text>%tw_filemanager_rename%</text>
4051 <data name="tw_filemanager_rename"/>
4052 <restrict minlen="1" maxlen="128"/>
4053 <actions>
4054 <action function="set">tw_fm_text2=to</action>
4055 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4056 <action function="set">tw_include_text3=1</action>
4057 <action function="set">tw_back=filemanageroptions</action>
4058 <action function="page">filemanagerconfirm</action>
4059 </actions>
4060 </input>
4061
4062 <fill color="%accent_color%">
4063 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4064 </fill>
4065
4066 <button style="main_button_half_height">
4067 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 <action function="page">filemanageroptions</action>
4070 </button>
4071
4072 <template name="keyboardtemplate"/>
4073
4074 <action>
4075 <touch key="home"/>
4076 <action function="page">main</action>
4077 </action>
4078
4079 <action>
4080 <touch key="back"/>
4081 <action function="page">filemanageroptions</action>
4082 </action>
4083 </page>
4084
4085 <page name="filemanagerrenamefolder">
4086 <template name="page"/>
4087
4088 <text style="text_l">
4089 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 </text>
4092
4093 <text style="text_m">
4094 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004096 </text>
4097
4098 <text style="text_m_accent">
4099 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004100 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004101 </text>
4102
4103 <input>
4104 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4105 <text>%tw_filemanager_rename%</text>
4106 <data name="tw_filemanager_rename"/>
4107 <restrict minlen="1" maxlen="128"/>
4108 <actions>
4109 <action function="set">tw_fm_text2=to</action>
4110 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4111 <action function="set">tw_include_text3=1</action>
4112 <action function="set">tw_back=filemanageroptions</action>
4113 <action function="page">filemanagerconfirm</action>
4114 </actions>
4115 </input>
4116
4117 <fill color="%accent_color%">
4118 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4119 </fill>
4120
4121 <button style="main_button_half_height">
4122 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 <action function="page">filemanageroptions</action>
4125 </button>
4126
4127 <template name="keyboardtemplate"/>
4128
4129 <action>
4130 <touch key="home"/>
4131 <action function="page">main</action>
4132 </action>
4133
4134 <action>
4135 <touch key="back"/>
4136 <action function="page">filemanageroptions</action>
4137 </action>
4138 </page>
4139
4140 <page name="filemanagerchmod">
4141 <template name="page"/>
4142
4143 <text style="text_l">
4144 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m">
4149 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m_accent">
4154 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <input>
4159 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4160 <text>%tw_filemanager_rename%</text>
4161 <data name="tw_filemanager_rename"/>
4162 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4163 <actions>
4164 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4165 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4166 <action function="set">tw_back=filemanageroptions</action>
4167 <action function="page">filemanagerconfirm</action>
4168 </actions>
4169 </input>
4170
4171 <fill color="%accent_color%">
4172 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4173 </fill>
4174
4175 <button style="main_button_half_height">
4176 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 <action function="page">filemanageroptions</action>
4179 </button>
4180
4181 <template name="keyboardtemplate"/>
4182
4183 <action>
4184 <touch key="home"/>
4185 <action function="page">main</action>
4186 </action>
4187
4188 <action>
4189 <touch key="back"/>
4190 <action function="page">filemanageroptions</action>
4191 </action>
4192 </page>
4193
4194 <page name="filemanagerconfirm">
4195 <template name="page"/>
4196
4197 <text style="text_l">
4198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004199 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004200 </text>
4201
4202 <text style="text_m">
4203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004205 </text>
4206
4207 <text style="text_m_accent">
4208 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4209 <text>%tw_fm_text1%</text>
4210 </text>
4211
4212 <text style="text_m">
4213 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4214 <text>%tw_filename1%</text>
4215 </text>
4216
4217 <text style="text_m_accent">
4218 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4219 <text>%tw_fm_text2%</text>
4220 </text>
4221
4222 <text style="text_m">
4223 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4224 <text>%tw_fm_text3%</text>
4225 </text>
4226
4227 <text style="text_m">
4228 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004230 </text>
4231
4232 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 <action function="page">filemanageraction</action>
4235 </slider>
4236
4237 <action>
4238 <touch key="back"/>
4239 <action function="page">%tw_back%</action>
4240 </action>
4241
4242 <action>
4243 <touch key="home"/>
4244 <action function="page">main</action>
4245 </action>
4246 </page>
4247
4248 <page name="filemanageraction">
4249 <template name="page"/>
4250
4251 <text style="text_l">
4252 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 </text>
4255
4256 <text style="text_m">
4257 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4258 <text>%tw_fm_text1%</text>
4259 </text>
4260
4261 <template name="console"/>
4262
4263 <template name="progress_bar"/>
4264
4265 <action>
4266 <conditions>
4267 <condition var1="tw_operation_state" var2="1"/>
4268 <condition var1="tw_operation_status" var2="0"/>
4269 </conditions>
4270 <actions>
4271 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004272 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004273 <action function="page">action_complete</action>
4274 </actions>
4275 </action>
4276
4277 <action>
4278 <conditions>
4279 <condition var1="tw_operation_state" var2="1"/>
4280 <condition var1="tw_operation_status" op="!=" var2="0"/>
4281 </conditions>
4282 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004284 <action function="page">action_complete</action>
4285 </actions>
4286 </action>
4287
4288 <action>
4289 <condition var1="tw_include_text3" var2="0"/>
4290 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4291 </action>
4292
4293 <action>
4294 <condition var1="tw_include_text3" var2="1"/>
4295 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4296 </action>
4297 </page>
4298
4299 <page name="decrypt">
4300 <template name="page"/>
4301
4302 <action>
4303 <condition var1="tw_crypto_pwtype" var2="2"/>
4304 <action function="page">decrypt_pattern</action>
4305 </action>
4306
4307 <text style="text_l">
4308 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004309 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004310 </text>
4311
4312 <text style="text_m">
4313 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004314 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004315 </text>
4316
4317 <text style="text_m_accent">
4318 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004319 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004320 </text>
4321
4322 <input>
4323 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4324 <text>%tw_crypto_display%</text>
4325 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4326 <restrict minlen="1" maxlen="254"/>
4327 <action function="page">trydecrypt</action>
4328 </input>
4329
4330 <fill color="%accent_color%">
4331 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4332 </fill>
4333
4334 <fill color="%text_fail_color%">
4335 <condition var1="tw_password_fail" var2="1"/>
4336 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4337 </fill>
4338
4339 <text style="text_m_fail">
4340 <condition var1="tw_password_fail" var2="1"/>
4341 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004342 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004343 </text>
4344
4345 <button style="main_button_half_height">
4346 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004347 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004348 <actions>
4349 <action function="set">tw_page_done=1</action>
4350 <action function="page">main</action>
4351 </actions>
4352 </button>
4353
z31s1g608d7ff2016-01-18 19:47:25 +01004354 <button style="main_button_half_height">
4355 <placement x="%center_x%" y="%row10_y%"/>
4356 <text>{@sel_lang_btn=Select Language}</text>
4357 <action function="overlay">select_language</action>
4358 </button>
4359
z31s1g28f0a922015-11-07 18:50:22 +01004360 <template name="keyboardtemplate"/>
4361 </page>
4362
4363 <page name="decrypt_pattern">
4364 <template name="page"/>
4365
4366 <text style="text_l">
4367 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004369 </text>
4370
4371 <text style="text_m">
4372 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004374 </text>
4375
4376 <text style="text_m_accent">
4377 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004378 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004379 </text>
4380
Aleksa Saraib25a1832015-12-31 17:36:00 +01004381 <text style="text_m_fail">
4382 <condition var1="tw_password_fail" var2="1"/>
4383 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004384 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004385 </text>
4386
z31s1g28f0a922015-11-07 18:50:22 +01004387 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004388 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004389 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4390 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4391 <data name="tw_crypto_password"/>
4392 <action function="page">trydecrypt</action>
4393 </patternpassword>
4394
Aleksa Saraib25a1832015-12-31 17:36:00 +01004395 <button style="button_quarter_width">
4396 <placement x="%indent%" y="%row19a_y%"/>
4397 <text>3x3</text>
4398 <action function="set">tw_gui_pattern_grid_size=3</action>
4399 </button>
4400
4401 <button style="button_quarter_width">
4402 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4403 <text>4x4</text>
4404 <action function="set">tw_gui_pattern_grid_size=4</action>
4405 </button>
4406
4407 <button style="button_quarter_width">
4408 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4409 <text>5x5</text>
4410 <action function="set">tw_gui_pattern_grid_size=5</action>
4411 </button>
4412
4413 <button style="button_quarter_width">
4414 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4415 <text>6x6</text>
4416 <action function="set">tw_gui_pattern_grid_size=6</action>
4417 </button>
4418
z31s1g28f0a922015-11-07 18:50:22 +01004419 <button style="main_button_half_height">
4420 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004422 <actions>
4423 <action function="set">tw_page_done=1</action>
4424 <action function="page">main</action>
4425 </actions>
4426 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004427
4428 <button style="main_button_half_height">
4429 <placement x="%center_x%" y="%row21a_y%"/>
4430 <text>{@sel_lang_btn=Select Language}</text>
4431 <action function="overlay">select_language</action>
4432 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004433 </page>
4434
4435 <page name="trydecrypt">
4436 <template name="page"/>
4437
4438 <text style="text_l">
4439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004440 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004441 </text>
4442
4443 <text style="text_m">
4444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </text>
4447
4448 <template name="console"/>
4449
4450 <template name="progress_bar"/>
4451
4452 <action>
4453 <action function="decrypt"/>
4454 </action>
4455
4456 <action>
4457 <conditions>
4458 <condition var1="tw_operation_state" var2="1"/>
4459 <condition var1="tw_operation_status" op="!=" var2="0"/>
4460 </conditions>
4461 <actions>
4462 <action function="set">tw_password_fail=1</action>
4463 <action function="page">decrypt</action>
4464 </actions>
4465 </action>
4466
4467 <action>
4468 <conditions>
4469 <condition var1="tw_operation_state" var2="1"/>
4470 <condition var1="tw_operation_status" op="=" var2="0"/>
4471 </conditions>
4472 <actions>
4473 <action function="set">tw_page_done=1</action>
4474 <action function="page">main</action>
4475 </actions>
4476 </action>
4477 </page>
4478
z31s1g28f0a922015-11-07 18:50:22 +01004479 <page name="terminalcommand">
4480 <template name="page"/>
4481
z31s1g56189522016-01-13 19:12:40 +01004482 <fill color="%background_color%">
4483 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </fill>
4485
z31s1g56189522016-01-13 19:12:40 +01004486 <terminal>
4487 <condition var1="tw_hide_kb" var2="0"/>
4488 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4489 </terminal>
4490
4491 <terminal>
4492 <condition var1="tw_hide_kb" var2="1"/>
4493 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4494 </terminal>
4495
4496 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004497
4498 <template name="keyboardtemplate"/>
4499
z31s1g608d7ff2016-01-18 19:47:25 +01004500 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004501 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004502 </fill>
z31s1g56189522016-01-13 19:12:40 +01004503
z31s1g608d7ff2016-01-18 19:47:25 +01004504 <button>
z31s1g56189522016-01-13 19:12:40 +01004505 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4506 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4507 <image resource="back" />
4508 <condition var1="tw_busy" var2="0" />
4509 <actions>
4510 <action function="set">tw_hide_kb=0</action>
4511 <action function="key">back</action>
4512 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004513 </button>
z31s1g56189522016-01-13 19:12:40 +01004514
z31s1g608d7ff2016-01-18 19:47:25 +01004515 <button>
z31s1g56189522016-01-13 19:12:40 +01004516 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4517 <condition var1="tw_hide_kb" op="=" var2="0" />
4518 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4519 <image resource="kb_hide" />
4520 <condition var1="tw_busy" var2="0" />
4521 <actions>
4522 <action function="set">tw_hide_kb=1</action>
4523 <action function="page">terminalcommand</action>
4524 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004525 </button>
z31s1g56189522016-01-13 19:12:40 +01004526
z31s1g608d7ff2016-01-18 19:47:25 +01004527 <button>
z31s1g56189522016-01-13 19:12:40 +01004528 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4529 <condition var1="tw_hide_kb" op="=" var2="1" />
4530 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4531 <image resource="kb_show" />
4532 <condition var1="tw_busy" var2="0" />
4533 <actions>
4534 <action function="set">tw_hide_kb=0</action>
4535 <action function="page">terminalcommand</action>
4536 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004537 </button>
z31s1g56189522016-01-13 19:12:40 +01004538
z31s1g608d7ff2016-01-18 19:47:25 +01004539 <button>
z31s1g56189522016-01-13 19:12:40 +01004540 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4541 <image resource="home" />
4542 <condition var1="tw_busy" var2="0" />
4543 <actions>
4544 <action function="set">tw_hide_kb=0</action>
4545 <action function="key">home</action>
4546 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004547 </button>
z31s1g56189522016-01-13 19:12:40 +01004548
z31s1g608d7ff2016-01-18 19:47:25 +01004549 <button>
z31s1g56189522016-01-13 19:12:40 +01004550 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4551 <condition var1="tw_hide_kb" op="=" var2="0" />
4552 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4553 <image resource="kb_hide" />
4554 <condition var1="tw_busy" var2="0" />
4555 <actions>
4556 <action function="set">tw_hide_kb=1</action>
4557 <action function="page">terminalcommand</action>
4558 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004559 </button>
z31s1g56189522016-01-13 19:12:40 +01004560
z31s1g608d7ff2016-01-18 19:47:25 +01004561 <button>
z31s1g56189522016-01-13 19:12:40 +01004562 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4563 <condition var1="tw_hide_kb" op="=" var2="1" />
4564 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4565 <image resource="kb_show" />
4566 <condition var1="tw_busy" var2="0" />
4567 <actions>
4568 <action function="set">tw_hide_kb=0</action>
4569 <action function="page">terminalcommand</action>
4570 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004571 </button>
z31s1g56189522016-01-13 19:12:40 +01004572
z31s1g608d7ff2016-01-18 19:47:25 +01004573 <button>
z31s1g56189522016-01-13 19:12:40 +01004574 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4575 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4576 <image resource="back" />
4577 <condition var1="tw_busy" var2="0" />
4578 <actions>
4579 <action function="set">tw_hide_kb=0</action>
4580 <action function="key">back</action>
4581 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004582 </button>
z31s1g56189522016-01-13 19:12:40 +01004583
z31s1g28f0a922015-11-07 18:50:22 +01004584 <action>
4585 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004586 <actions>
4587 <action function="set">tw_hide_kb=0</action>
4588 <action function="page">main</action>
4589 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004590 </action>
4591
4592 <action>
4593 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004594 <actions>
4595 <action function="set">tw_hide_kb=0</action>
4596 <action function="page">advanced</action>
4597 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004598 </action>
z31s1g56189522016-01-13 19:12:40 +01004599
z31s1g608d7ff2016-01-18 19:47:25 +01004600 <action>
z31s1g56189522016-01-13 19:12:40 +01004601 <touch key="power+voldown" />
4602 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004603 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </page>
4605
4606 <page name="sideload">
4607 <template name="page"/>
4608
4609 <text style="text_l">
4610 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004611 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004612 </text>
4613
4614 <text style="text_m">
4615 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004616 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004617 </text>
4618
4619 <checkbox>
4620 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 <data variable="tw_wipe_dalvik"/>
4623 </checkbox>
4624
4625 <checkbox>
4626 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 <data variable="tw_wipe_cache"/>
4629 </checkbox>
4630
4631 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004633 <actions>
4634 <action function="set">tw_back=advanced</action>
4635 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4637 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4638 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004639 <action function="set">tw_has_cancel=1</action>
4640 <action function="set">tw_show_reboot=1</action>
4641 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4642 <action function="page">action_page</action>
4643 </actions>
4644 </slider>
4645
4646 <action>
4647 <touch key="home"/>
4648 <action function="page">main</action>
4649 </action>
4650
4651 <action>
4652 <touch key="back"/>
4653 <action function="page">advanced</action>
4654 </action>
4655 </page>
4656
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004657 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004658 <template name="page"/>
4659
4660 <text style="text_l">
4661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004662 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004663 </text>
4664
4665 <text style="text_m">
4666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004667 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004668 </text>
4669
4670 <text style="text_m_accent">
4671 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004672 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004673 </text>
4674
z31s1g28f0a922015-11-07 18:50:22 +01004675 <text style="text_m_fail">
4676 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004677 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004678 </text>
4679
4680 <text style="text_m_fail">
4681 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004682 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004686 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <actions>
4688 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004689 <action function="set">tw_action=fixcontexts</action>
4690 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4691 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004692 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004693 <action function="set">tw_show_reboot=1</action>
4694 <action function="page">action_page</action>
4695 </actions>
4696 </slider>
4697
4698 <action>
4699 <touch key="home"/>
4700 <action function="page">main</action>
4701 </action>
4702
4703 <action>
4704 <touch key="back"/>
4705 <action function="page">advanced</action>
4706 </action>
4707 </page>
4708
4709 <page name="installsu">
4710 <template name="page"/>
4711
4712 <text style="text_l">
4713 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004714 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004715 </text>
4716
4717 <text style="text_m">
4718 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004719 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004720 </text>
4721
4722 <text style="text_m_accent">
4723 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004724 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004725 </text>
4726
4727 <text style="text_m">
4728 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004729 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004730 </text>
4731
4732 <text style="text_m">
4733 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004734 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004735 </text>
4736
4737 <button style="main_button_half_height">
4738 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004740 <action function="set">tw_page_done=1</action>
4741 </button>
4742
4743 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004745 <actions>
4746 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004747 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004748 <action function="set">tw_action_text2=</action>
4749 <action function="page">singleaction_page</action>
4750 </actions>
4751 </slider>
4752 </page>
4753
4754 <page name="slideout">
4755 <fill color="%background_color%">
4756 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4757 </fill>
4758
4759 <console>
4760 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4761 </console>
4762
4763 <button>
4764 <fill color="%transparent%"/>
4765 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4766 <action function="overlay"/>
4767 </button>
4768
4769 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004770 <touch key="power"/>
4771 <action function="togglebacklight"/>
4772 </action>
4773
4774 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004775 <touch key="power+voldown"/>
4776 <action function="screenshot"/>
4777 </action>
4778 </page>
4779
4780 <page name="select_storage">
4781 <fill color="%semi_transparent%">
4782 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4783 </fill>
4784
4785 <fill color="%background_color%">
4786 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4787 </fill>
4788
4789 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004790 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004791 <data name="tw_storage_path"/>
4792 <listtype name="storage"/>
4793 </partitionlist>
4794
4795 <button style="button_third_width">
4796 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004797 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004798 <actions>
4799 <action function="set">tw_clear_destination=%tw_back%</action>
4800 <action function="overlay"/>
4801 <action function="page">clear_vars</action>
4802 </actions>
4803 </button>
4804
4805 <fill color="#000000">
4806 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4807 </fill>
4808
4809 <button>
4810 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4811 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4812 <image resource="back"/>
4813 <condition var1="tw_busy" var2="0"/>
4814 <actions>
4815 <action function="overlay"/>
4816 <action function="key">%tw_back%</action>
4817 </actions>
4818 </button>
4819
4820 <button>
4821 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4822 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4823 <image resource="console"/>
4824 <condition var1="tw_busy" var2="0"/>
4825 <action function="overlay">slideout</action>
4826 </button>
4827
4828 <button>
4829 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4830 <image resource="home"/>
4831 <condition var1="tw_busy" var2="0"/>
4832 <actions>
4833 <action function="overlay"/>
4834 <action function="key">home</action>
4835 </actions>
4836 </button>
4837
4838 <button>
4839 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4840 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4841 <image resource="console"/>
4842 <condition var1="tw_busy" var2="0"/>
4843 <action function="overlay">slideout</action>
4844 </button>
4845
4846 <button>
4847 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4848 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4849 <image resource="back"/>
4850 <condition var1="tw_busy" var2="0"/>
4851 <actions>
4852 <action function="overlay"/>
4853 <action function="key">%tw_back%</action>
4854 </actions>
4855 </button>
4856
4857 <action>
4858 <touch key="power+voldown"/>
4859 <action function="screenshot"/>
4860 </action>
4861 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01004862
4863 <page name="select_language">
4864 <fill color="%semi_transparent%">
4865 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4866 </fill>
4867
4868 <fill color="%background_color%">
4869 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4870 </fill>
4871
4872 <listbox>
4873 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4874 <text>{@select_language=Select Language:}</text>
4875 <icon selected="radio_true" unselected="radio_false" />
4876 <data name="tw_language" />
4877 </listbox>
4878
4879 <button style="button_third_width">
4880 <placement x="%dialog_button_x%" y="%row14_y%"/>
4881 <text>{@ok_btn=OK}</text>
4882 <actions>
4883 <action function="overlay"/>
4884 <action function="setlanguage"></action>
4885 </actions>
4886 </button>
4887
4888 <fill color="#000000">
4889 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4890 </fill>
4891
4892 <button>
4893 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4894 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4895 <image resource="back"/>
4896 <condition var1="tw_busy" var2="0"/>
4897 <actions>
4898 <action function="overlay"/>
4899 <action function="key">%tw_back%</action>
4900 </actions>
4901 </button>
4902
4903 <button>
4904 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4905 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4906 <image resource="console"/>
4907 <condition var1="tw_busy" var2="0"/>
4908 <action function="overlay">slideout</action>
4909 </button>
4910
4911 <button>
4912 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4913 <image resource="home"/>
4914 <condition var1="tw_busy" var2="0"/>
4915 <actions>
4916 <action function="overlay"/>
4917 <action function="key">home</action>
4918 </actions>
4919 </button>
4920
4921 <button>
4922 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4923 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4924 <image resource="console"/>
4925 <condition var1="tw_busy" var2="0"/>
4926 <action function="overlay">slideout</action>
4927 </button>
4928
4929 <button>
4930 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4931 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4932 <image resource="back"/>
4933 <condition var1="tw_busy" var2="0"/>
4934 <actions>
4935 <action function="overlay"/>
4936 <action function="key">%tw_back%</action>
4937 </actions>
4938 </button>
4939
4940 <action>
4941 <touch key="power+voldown"/>
4942 <action function="screenshot"/>
4943 </action>
4944 </page>
z31s1g28f0a922015-11-07 18:50:22 +01004945 </pages>
4946</recovery>