blob: 5bbfe90295d8640205bcb1aa3c43f260e55d01f0 [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="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300142 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100143 </style>
144
145 <style name="partitionlist">
146 <highlight color="%fileselector_highlight_color%"/>
147 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
148 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
149 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
150 <icon selected="checkbox_true" unselected="checkbox_false"/>
151 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
152 <background color="%background_color%"/>
153 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
154 </style>
155
156 <style name="partitionlist_storage">
157 <highlight color="%fileselector_highlight_color%"/>
158 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
159 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="radio_true" unselected="radio_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
168 <style name="slider">
169 <placement x="%col2_x_right%" y="%row17a_y%"/>
170 <font resource="font_m" color="%text_color%"/>
171 <resource base="slider" used="slider_used" touch="slider_touch"/>
172 </style>
173
174 <style name="slider_centered">
175 <placement x="%center_x%" y="%row17a_y%"/>
176 <font resource="font_m" color="%text_color%"/>
177 <resource base="slider" used="slider_used" touch="slider_touch"/>
178 </style>
179
180 <style name="slidervalue">
181 <resource handle="handle"/>
182 <font resource="font_m" color="%text_color%"/>
183 <colors line="%fileselector_linecolor%"/>
184 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
185 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100186
187 <style name="patternpassword">
188 <size name="tw_gui_pattern_grid_size" default="3"/>
189 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100190 </styles>
191
192 <pages>
193 <page name="main">
194 <action>
195 <actions>
196 <action function="set">tw_clear_destination=main2</action>
197 <action function="page">clear_vars</action>
198 </actions>
199 </action>
200 </page>
201
202 <page name="main2">
203 <template name="page"/>
204
205 <text style="text_l">
206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 </text>
209
210 <text style="text_m">
211 <condition var1="tw_no_cpu_temp" var2="0"/>
212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
213 <text>%tw_version%</text>
214 </text>
215
216 <button style="main_button">
217 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500218 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100219 <actions>
220 <action function="queueclear"/>
221 <action function="set">tw_selectimage=0</action>
222 <action function="page">install</action>
223 </actions>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">wipe</action>
230 </button>
231
232 <button style="main_button">
233 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500234 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100235 <action function="page">backup</action>
236 </button>
237
238 <button style="main_button">
239 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500240 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100241 <action function="page">restore</action>
242 </button>
243
244 <button style="main_button">
245 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500246 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100247 <action function="page">mount</action>
248 </button>
249
250 <button style="main_button">
251 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500252 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100253 <action function="page">settings</action>
254 </button>
255
256 <button style="main_button">
257 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500258 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100259 <action function="page">advanced</action>
260 </button>
261
262 <button style="main_button">
263 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500264 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100265 <action function="page">reboot</action>
266 </button>
267 </page>
268
269 <page name="install">
270 <template name="page"/>
271
272 <text style="text_l">
273 <condition var1="tw_selectimage" var2="0"/>
274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500275 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100276 </text>
277
278 <text style="text_l">
279 <condition var1="tw_selectimage" var2="1"/>
280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500281 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100282 </text>
283
284 <text style="text_m">
285 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500286 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100287 </text>
288
289 <template name="sort_options"/>
290
291 <fileselector>
292 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500293 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100294 <filter folders="1" files="0"/>
295 <path name="tw_zip_location" default="/sdcard"/>
296 <data name="select"/>
297 </fileselector>
298
299 <fileselector>
300 <condition var1="tw_selectimage" var2="0"/>
301 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
302 <text>%tw_zip_location%</text>
303 <filter extn=".zip" folders="0" files="1"/>
304 <path name="tw_zip_location" default="/sdcard"/>
305 <data name="tw_filename"/>
306 <selection name="tw_file"/>
307 </fileselector>
308
309 <fileselector>
310 <condition var1="tw_selectimage" var2="1"/>
311 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
312 <text>%tw_zip_location%</text>
313 <filter extn=".img" folders="0" files="1"/>
314 <path name="tw_zip_location" default="/sdcard"/>
315 <data name="tw_filename"/>
316 <selection name="tw_file"/>
317 </fileselector>
318
319 <button style="main_button_half_width_low">
320 <condition var1="tw_selectimage" var2="0"/>
321 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500322 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100323 <actions>
324 <action function="set">tw_selectimage=1</action>
325 <action function="page">install</action>
326 </actions>
327 </button>
328
329 <button style="main_button_half_width_low">
330 <condition var1="tw_selectimage" var2="1"/>
331 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500332 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100333 <actions>
334 <action function="set">tw_selectimage=0</action>
335 <action function="page">install</action>
336 </actions>
337 </button>
338
339 <button style="main_button_half_width_low">
340 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500341 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100342 <actions>
343 <action function="set">tw_back=install</action>
344 <action function="overlay">select_storage</action>
345 </actions>
346 </button>
347
348 <action>
349 <conditions>
350 <condition var1="tw_selectimage" var2="0"/>
351 <condition var1="tw_filename" op="modified"/>
352 </conditions>
353 <actions>
354 <action function="queuezip"/>
355 <action function="page">flash_confirm</action>
356 </actions>
357 </action>
358
359 <action>
360 <conditions>
361 <condition var1="tw_selectimage" var2="1"/>
362 <condition var1="tw_filename" op="modified"/>
363 </conditions>
364 <action function="page">flashimage_confirm</action>
365 </action>
366
367 <action>
368 <touch key="back"/>
369 <action function="page">main</action>
370 </action>
371
372 <action>
373 <touch key="home"/>
374 <action function="page">main</action>
375 </action>
376 </page>
377
378 <page name="flash_confirm">
379 <template name="page"/>
380
381 <text style="text_l">
382 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500383 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100384 </text>
385
386 <text style="text_m">
387 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100389 </text>
390
391 <text style="text_m_accent">
392 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500393 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100394 </text>
395
396 <text style="text_m_accent">
397 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 </text>
400
401 <text style="text_m">
402 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <text style="text_m_accent">
407 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 </text>
410
411 <text style="text_m">
412 <placement x="%col1_x_left%" y="%row9_y%"/>
413 <text>%tw_zip_location%</text>
414 </text>
415
416 <text style="text_m_accent">
417 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 </text>
420
421 <text style="text_m">
422 <placement x="%col1_x_left%" y="%row12_y%"/>
423 <text>%tw_file%</text>
424 </text>
425
426 <text style="text_m_accent">
427 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 </text>
430
431 <checkbox>
432 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500433 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100434 <data variable="tw_signed_zip_verify"/>
435 </checkbox>
436
437 <checkbox>
438 <condition var1="tw_has_injecttwrp" var2="1"/>
439 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 <data variable="tw_inject_after_zip"/>
442 </checkbox>
443
bigbiffa869fc72016-03-01 19:40:36 -0500444 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500445 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500446 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500447 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500448 </checkbox>
449
z31s1g28f0a922015-11-07 18:50:22 +0100450 <button style="main_button_half_width">
451 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500452 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100453 <action function="page">install</action>
454 </button>
455
456 <button style="main_button_half_width">
457 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500458 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100459 <actions>
460 <action function="queueclear"/>
461 <action function="page">install</action>
462 </actions>
463 </button>
464
465 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500466 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100467 <action function="flash">flash_zip</action>
468 </slider>
469
470 <action>
471 <touch key="back"/>
472 <actions>
473 <action function="cancelzip"/>
474 <action function="page">install</action>
475 </actions>
476 </action>
477
478 <action>
479 <touch key="home"/>
480 <action function="page">main</action>
481 </action>
482 </page>
483
484 <page name="flash_zip">
485 <template name="page"/>
486
487 <text style="text_l">
488 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500489 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100490 </text>
491
492 <text style="text_m">
493 <placement x="%col1_x_header%" y="%row4_header_y%"/>
494 <text>%tw_file%</text>
495 </text>
496
497 <template name="console"/>
498
499 <template name="progress_bar"/>
500
501 <action>
502 <condition var1="tw_operation_state" var2="1"/>
503 <action function="page">flash_done</action>
504 </action>
505 </page>
506
507 <page name="flash_done">
508 <template name="page"/>
509
510 <text style="text_l">
511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100513 </text>
514
515 <text style="text_m_fail">
516 <condition var1="tw_operation_status" op="!=" var2="0"/>
517 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 </text>
520
521 <text style="text_m">
522 <condition var1="tw_operation_status" var2="0"/>
523 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 </text>
526
527 <template name="console"/>
528
529 <button style="main_button_half_width">
530 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500531 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100532 <actions>
533 <action function="set">tw_back=flash_done</action>
534 <action function="set">tw_action=wipe</action>
535 <action function="set">tw_action_param=/cache</action>
536 <action function="set">tw_has_action2=1</action>
537 <action function="set">tw_action2=wipe</action>
538 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500539 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
540 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
541 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
542 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <action function="page">confirm_action</action>
544 </actions>
545 </button>
546
547 <button style="main_button_half_width">
548 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500549 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100550 <actions>
551 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500552 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100553 </actions>
554 </button>
555
556 <action>
557 <touch key="back"/>
558 <actions>
559 <action function="set">tw_clear_destination=install</action>
560 <action function="page">clear_vars</action>
561 </actions>
562 </action>
563
564 <action>
565 <touch key="home"/>
566 <actions>
567 <action function="set">tw_clear_destination=main2</action>
568 <action function="page">clear_vars</action>
569 </actions>
570 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500571
572 <action>
573 <conditions>
574 <condition var1="tw_install_reboot" var2="1"/>
575 <condition var1="tw_operation_status" var2="0"/>
576 <condition var1="tw_reboot_system" var2="1"/>
577 </conditions>
578 <actions>
579 <action function="set">tw_sleep=%tw_sleep_total%</action>
580 <action function="page">flash_sleep_and_reboot</action>
581 </actions>
582 </action>
583 </page>
584
585 <page name="flash_sleep_and_reboot">
586 <template name="page"/>
587
588 <text style="text_l">
589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
590 <text>{@install_zip_hdr=Install Zip}</text>
591 </text>
592
593 <text style="text_m">
594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
595 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
596 </text>
597
598 <template name="console"/>
599
600 <template name="progress_bar"/>
601
602 <button style="main_button_half_width">
603 <condition var1="tw_sleep" op="&gt;" var2="0"/>
604 <placement x="%center_x%" y="%row15a_y%"/>
605 <text>{@cancel_btn=Cancel}</text>
606 <actions>
607 <action function="set">tw_install_reboot=0</action>
608 <action function="page">flash_done</action>
609 </actions>
610 </button>
611
612 <action>
613 <conditions>
614 <condition var1="tw_sleep" var2="tw_sleep_total"/>
615 <condition var1="tw_install_reboot" var2="1"/>
616 </conditions>
617 <action function="sleepcounter">%tw_sleep_total%</action>
618 </action>
619
620 <action>
621 <conditions>
622 <condition var1="tw_sleep" var2="0"/>
623 <condition var1="tw_install_reboot" var2="1"/>
624 </conditions>
625 <actions>
626 <action function="sleep">50000</action>
627 <action function="set">tw_back=main2</action>
628 <action function="page">reboot_system_routine</action>
629 </actions>
630 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100631 </page>
632
633 <page name="flashimage_confirm">
634 <template name="page"/>
635
636 <text style="text_l">
637 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <text style="text_m">
642 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500643 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100644 </text>
645
646 <text style="text_m_accent">
647 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%col1_x_left%" y="%row9_y%"/>
653 <text>%tw_zip_location%</text>
654 </text>
655
656 <text style="text_m_accent">
657 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <text style="text_m">
662 <placement x="%col1_x_left%" y="%row12_y%"/>
663 <text>%tw_file%</text>
664 </text>
665
666 <partitionlist>
667 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
668 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500669 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100670 <data name="tw_flash_partition"/>
671 <listtype name="flashimg"/>
672 </partitionlist>
673
674 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500675 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100676 <actions>
677 <action function="set">tw_back=flashimage_confirm</action>
678 <action function="set">tw_action=flashimage</action>
679 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500680 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100681 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100683 <action function="page">action_page</action>
684 </actions>
685 <action function="flashimage"/>
686 </slider>
687
688 <action>
689 <touch key="back"/>
690 <actions>
691 <action function="set">tw_clear_destination=install</action>
692 <action function="page">clear_vars</action>
693 </actions>
694 </action>
695
696 <action>
697 <touch key="home"/>
698 <actions>
699 <action function="set">tw_clear_destination=main2</action>
700 <action function="page">clear_vars</action>
701 </actions>
702 </action>
703 </page>
704
705 <page name="clear_vars">
706 <action>
707 <action function="set">tw_operation_state=0</action>
708 <action function="set">tw_text1=</action>
709 <action function="set">tw_text2=</action>
710 <action function="set">tw_text3=</action>
711 <action function="set">tw_text4=</action>
712 <action function="set">tw_action_text1=</action>
713 <action function="set">tw_action_text2=</action>
714 <action function="set">tw_action_param=</action>
715 <action function="set">tw_has_action2=0</action>
716 <action function="set">tw_action2=</action>
717 <action function="set">tw_action2_param=</action>
718 <action function="set">tw_has_cancel=0</action>
719 <action function="set">tw_cancel_action=</action>
720 <action function="set">tw_cancel_param=</action>
721 <action function="set">tw_show_exclamation=0</action>
722 <action function="set">tw_show_reboot=0</action>
723 <action function="page">%tw_clear_destination%</action>
724 </action>
725 </page>
726
Matt Mower908dd252016-05-25 02:26:50 -0500727 <page name="reboot_system_routine">
728 <action>
729 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500730 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500731 <action function="set">tw_has_action2=0</action>
732 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
733 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
734 <action function="set">tw_text3=</action>
735 <action function="set">tw_text4=</action>
736 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
737 <action function="set">tw_action_text2=</action>
738 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
739 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
740 <action function="page">rebootcheck</action>
741 </action>
742 </page>
743
z31s1g28f0a922015-11-07 18:50:22 +0100744 <page name="confirm_action">
745 <template name="page"/>
746
747 <text style="text_l">
748 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500749 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100750 </text>
751
752 <text style="text_m">
753 <placement x="%col1_x_header%" y="%row4_header_y%"/>
754 <text/>
755 </text>
756
757 <text style="text_m_accent">
758 <placement x="%center_x%" y="%row2_y%" placement="5"/>
759 <text>%tw_text1%</text>
760 </text>
761
762 <text style="text_m_accent">
763 <placement x="%center_x%" y="%row3_y%" placement="5"/>
764 <text>%tw_text2%</text>
765 </text>
766
767 <text style="text_m">
768 <placement x="%center_x%" y="%row4_y%" placement="5"/>
769 <text>%tw_text3%</text>
770 </text>
771
772 <text style="text_m">
773 <placement x="%center_x%" y="%row5_y%" placement="5"/>
774 <text>%tw_text4%</text>
775 </text>
776
777 <text style="text_m">
778 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500779 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100780 </text>
781
782 <slider style="slider_centered">
783 <text>%tw_slider_text%</text>
784 <action function="page">action_page</action>
785 </slider>
786
787 <action>
788 <touch key="back"/>
789 <actions>
790 <action function="set">tw_clear_destination=%tw_back%</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </action>
794
795 <action>
796 <touch key="home"/>
797 <action function="page">main</action>
798 </action>
799 </page>
800
801 <page name="action_page">
802 <template name="page"/>
803
804 <text style="text_l">
805 <placement x="%col1_x_header%" y="%row3_header_y%"/>
806 <text>%tw_action_text1%</text>
807 </text>
808
809 <text style="text_m">
810 <placement x="%col1_x_header%" y="%row4_header_y%"/>
811 <text>%tw_action_text2%</text>
812 </text>
813
814 <template name="console"/>
815
816 <template name="progress_bar"/>
817
818 <button style="main_button_half_width">
819 <condition var1="tw_has_cancel" var2="1"/>
820 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500821 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100822 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
823 </button>
824
825 <action>
826 <condition var1="tw_operation_state" var2="1"/>
827 <actions>
828 <action function="page">action_complete</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="0"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 </actions>
837 </action>
838
839 <action>
840 <condition var1="tw_has_action2" var2="1"/>
841 <actions>
842 <action function="%tw_action%">%tw_action_param%</action>
843 <action function="%tw_action2%">%tw_action2_param%</action>
844 </actions>
845 </action>
846 </page>
847
848 <page name="singleaction_page">
849 <template name="page"/>
850
851 <text style="text_l">
852 <placement x="%col1_x_header%" y="%row3_header_y%"/>
853 <text>%tw_action_text1%</text>
854 </text>
855
856 <text style="text_m">
857 <placement x="%col1_x_header%" y="%row4_header_y%"/>
858 <text>%tw_action_text2%</text>
859 </text>
860
861 <template name="console"/>
862
863 <template name="progress_bar"/>
864
865 <action>
866 <condition var1="tw_operation_state" var2="1"/>
867 <actions>
868 <action function="set">tw_page_done=1</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="0"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 </actions>
877 </action>
878
879 <action>
880 <condition var1="tw_has_action2" var2="1"/>
881 <actions>
882 <action function="%tw_action%">%tw_action_param%</action>
883 <action function="%tw_action2%">%tw_action2_param%</action>
884 </actions>
885 </action>
886 </page>
887
888 <page name="action_complete">
889 <template name="page"/>
890
891 <text style="text_l">
892 <placement x="%col1_x_header%" y="%row3_header_y%"/>
893 <text>%tw_complete_text1%</text>
894 </text>
895
896 <text style="text_m_fail">
897 <condition var1="tw_operation_status" op="!=" var2="0"/>
898 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <text style="text_m">
903 <condition var1="tw_operation_status" var2="0"/>
904 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 </text>
907
908 <template name="console"/>
909
910 <button style="main_button_half_width">
911 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500912 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100913 <actions>
914 <action function="set">tw_clear_destination=%tw_back%</action>
915 <action function="page">clear_vars</action>
916 </actions>
917 </button>
918
919 <button style="main_button_half_width">
920 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500921 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100922 <actions>
923 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500924 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 </actions>
926 </button>
927
928 <action>
929 <touch key="home"/>
930 <actions>
931 <action function="set">tw_clear_destination=main2</action>
932 <action function="page">clear_vars</action>
933 </actions>
934 </action>
935
936 <action>
937 <touch key="back"/>
938 <actions>
939 <action function="set">tw_clear_destination=%tw_back%</action>
940 <action function="page">clear_vars</action>
941 </actions>
942 </action>
943 </page>
944
945 <page name="filecheck">
946 <action>
947 <action function="fileexists">%tw_filecheck%</action>
948 </action>
949
950 <action>
951 <conditions>
952 <condition var1="tw_operation_state" var2="1"/>
953 <condition var1="tw_operation_status" var2="0"/>
954 </conditions>
955 <actions>
956 <action function="set">tw_fileexists=1</action>
957 <action function="page">%tw_existpage%</action>
958 </actions>
959 </action>
960
961 <action>
962 <conditions>
963 <condition var1="tw_operation_state" var2="1"/>
964 <condition var1="tw_operation_status" var2="1"/>
965 </conditions>
966 <actions>
967 <action function="set">tw_fileexists=0</action>
968 <action function="page">%tw_notexistpage%</action>
969 </actions>
970 </action>
971 </page>
972
973 <page name="rebootcheck">
974 <action>
975 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600976 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100977 </action>
978
979 <action>
980 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
981 <action function="page">confirm_action</action>
982 </action>
983 </page>
984
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600985 <page name="appcheck">
986 <action>
987 <condition var1="tw_app_prompt" var2="1"/>
988 <action function="checkforapp"></action>
989 </action>
990
991 <action>
992 <condition var1="tw_app_prompt" op="!=" var2="1"/>
993 <action function="reboot">%tw_reboot_param%</action>
994 </action>
995
996 <action>
997 <condition var1="tw_app_install_status" var2="1"/>
998 <action function="page">rebootapp</action>
999 </action>
1000
1001 <action>
1002 <condition var1="tw_app_install_status" var2="2"/>
1003 <action function="reboot">%tw_reboot_param%</action>
1004 </action>
1005 </page>
1006
z31s1g28f0a922015-11-07 18:50:22 +01001007 <page name="wipe">
1008 <template name="page"/>
1009
1010 <text style="text_l">
1011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001012 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001013 </text>
1014
1015 <text style="text_m">
1016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001017 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001018 </text>
1019
1020 <text style="text_m_accent">
1021 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <text style="text_m_accent">
1026 <condition var1="tw_has_data_media" var2="1"/>
1027 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001028 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001029 </text>
1030
1031 <text style="text_m_accent">
1032 <conditions>
1033 <condition var1="tw_has_android_secure" var2="1"/>
1034 <condition var1="fileexists" var2="/and-sec"/>
1035 </conditions>
1036 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001037 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001038 </text>
1039
1040 <text style="text_m_accent">
1041 <condition var1="tw_has_sdext_partition" var2="1"/>
1042 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001044 </text>
1045
1046 <text style="text_m">
1047 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001048 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001049 </text>
1050
1051 <text style="text_m">
1052 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001054 </text>
1055
1056 <text style="text_m">
1057 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001058 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001059 </text>
1060
1061 <button style="main_button_half_width">
1062 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 <actions>
1065 <action function="set">partitionlisterror=0</action>
1066 <action function="page">advancedwipe</action>
1067 </actions>
1068 </button>
1069
1070 <button style="main_button_half_width">
1071 <condition var1="tw_has_data_media" var2="1"/>
1072 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 <action function="page">formatdata</action>
1075 </button>
1076
1077 <button style="main_button_half_width">
1078 <conditions>
1079 <condition var1="tw_is_encrypted" var2="1"/>
1080 <condition var1="tw_has_data_media" var2="0"/>
1081 </conditions>
1082 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 <actions>
1085 <action function="set">tw_back=wipe</action>
1086 <action function="set">tw_action=wipe</action>
1087 <action function="set">tw_action_param=DATAMEDIA</action>
1088 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001090 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001091 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1092 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1093 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001094 <action function="page">confirm_action</action>
1095 </actions>
1096 </button>
1097
1098 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 <actions>
1101 <action function="set">tw_back=wipe</action>
1102 <action function="set">tw_action=wipe</action>
1103 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1105 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001106 <action function="page">action_page</action>
1107 </actions>
1108 </slider>
1109
1110 <action>
1111 <touch key="back"/>
1112 <action function="page">main</action>
1113 </action>
1114
1115 <action>
1116 <touch key="home"/>
1117 <action function="page">main</action>
1118 </action>
1119 </page>
1120
1121 <page name="advancedwipe">
1122 <template name="page"/>
1123
1124 <action>
1125 <action function="set">tw_wipe_list=</action>
1126 </action>
1127
1128 <text style="text_l">
1129 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <text style="text_m">
1134 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001136 </text>
1137
1138 <partitionlist>
1139 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <data name="tw_wipe_list"/>
1142 <listtype name="wipe"/>
1143 </partitionlist>
1144
1145 <text style="text_m_fail">
1146 <condition var1="partitionlisterror" var2="1"/>
1147 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001148 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001149 </text>
1150
1151 <button style="main_button_m">
1152 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001153 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001154 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001155 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001156 <action function="page">checkpartitionlist</action>
1157 </actions>
1158 </button>
1159
1160 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 <actions>
1163 <action function="set">tw_back=advancedwipe</action>
1164 <action function="set">tw_action=wipe</action>
1165 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1167 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1168 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001169 <action function="page">action_page</action>
1170 </actions>
1171 </slider>
1172
1173 <action>
1174 <touch key="home"/>
1175 <action function="page">main</action>
1176 </action>
1177
1178 <action>
1179 <touch key="back"/>
1180 <action function="page">wipe</action>
1181 </action>
1182 </page>
1183
1184 <page name="formatdata">
1185 <template name="page"/>
1186
1187 <text style="text_l">
1188 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001189 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001190 </text>
1191
1192 <text style="text_m">
1193 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 </text>
1196
1197 <text style="text_m_fail">
1198 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001199 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001200 </text>
1201
1202 <text style="text_m_fail">
1203 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001204 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001205 </text>
1206
Ethan Yonker66a19492015-12-10 10:19:45 -06001207 <text style="text_m_fail">
1208 <condition var1="tw_has_adopted_storage" var2="1"/>
1209 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1210 <text>{@format_data_adopted=Including Adopted Storage}</text>
1211 </text>
1212
z31s1g28f0a922015-11-07 18:50:22 +01001213 <text style="text_m">
1214 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001215 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001216 </text>
1217
1218 <text style="text_m">
1219 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001220 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001221 </text>
1222
1223 <input>
1224 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1225 <text>%tw_confirm_formatdata%</text>
1226 <data name="tw_confirm_formatdata"/>
1227 <restrict minlen="3" maxlen="3" allow="yes"/>
1228 <action function="page">formatdata_confirm</action>
1229 </input>
1230
1231 <fill color="%accent_color%">
1232 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1233 </fill>
1234
1235 <template name="keyboardtemplate"/>
1236
1237 <action>
1238 <touch key="home"/>
1239 <action function="page">main</action>
1240 </action>
1241
1242 <action>
1243 <touch key="back"/>
1244 <action function="page">wipe</action>
1245 </action>
1246 </page>
1247
1248 <page name="formatdata_confirm">
1249 <action>
1250 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1251 <actions>
1252 <action function="set">tw_back=formatdata</action>
1253 <action function="set">tw_action=wipe</action>
1254 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1256 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001257 <action function="page">action_page</action>
1258 </actions>
1259 </action>
1260
1261 <action>
1262 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1263 <action function="page">formatdata</action>
1264 </action>
1265 </page>
1266
1267 <page name="checkpartitionlist">
1268 <action>
1269 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1270 <actions>
1271 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001272 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <action function="page">partitionoptions</action>
1274 </actions>
1275 </action>
1276
1277 <action>
1278 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1279 <actions>
1280 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="page">advancedwipe</action>
1282 </actions>
1283 </action>
1284 </page>
1285
1286 <page name="partitionoptions">
1287 <template name="page"/>
1288
1289 <text style="text_l">
1290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001291 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001292 </text>
1293
1294 <text style="text_m">
1295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <text style="text_m_accent">
1300 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m_accent">
1305 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <condition var1="tw_partition_is_present" var2="1"/>
1311 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <condition var1="tw_partition_is_present" var2="0"/>
1317 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001319 </text>
1320
1321 <text style="text_m">
1322 <condition var1="tw_partition_removable" var2="1"/>
1323 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <text style="text_m">
1328 <condition var1="tw_partition_removable" var2="0"/>
1329 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 </text>
1332
1333 <text style="text_m">
1334 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001335 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001336 </text>
1337
1338 <text style="text_m">
1339 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 </text>
1342
1343 <text style="text_m">
1344 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001346 </text>
1347
1348 <text style="text_m">
1349 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 </text>
1352
1353 <button style="main_button_half_width">
1354 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1355 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001357 <actions>
1358 <action function="set">tw_back=partitionoptions</action>
1359 <action function="set">tw_action=resize</action>
1360 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1361 <action function="set">tw_has_action2=1</action>
1362 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001363 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001365 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1367 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1368 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001369 <action function="page">confirm_action</action>
1370 </actions>
1371 </button>
1372
1373 <button style="main_button_half_width">
1374 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1375 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001377 <actions>
1378 <action function="set">tw_back=partitionoptions</action>
1379 <action function="set">tw_action=repair</action>
1380 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1381 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001383 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1385 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1386 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001387 <action function="page">confirm_action</action>
1388 </actions>
1389 </button>
1390
1391 <button style="main_button_half_width">
1392 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 <action function="page">selectfilesystem</action>
1395 </button>
1396
1397 <action>
1398 <touch key="home"/>
1399 <action function="page">main</action>
1400 </action>
1401
1402 <action>
1403 <touch key="back"/>
1404 <action function="page">advancedwipe</action>
1405 </action>
1406 </page>
1407
1408 <page name="refreshfilesystem">
1409 <action>
1410 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1411 <actions>
1412 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001413 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <action function="page">selectfilesystem</action>
1415 </actions>
1416 </action>
1417
1418 <action>
1419 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1420 <actions>
1421 <action function="set">partitionlisterror=1</action>
1422 <action function="set">tw_wipe_list=</action>
1423 <action function="page">advancedwipe</action>
1424 </actions>
1425 </action>
1426 </page>
1427
1428 <page name="selectfilesystem">
1429 <template name="page"/>
1430
1431 <text style="text_l">
1432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001434 </text>
1435
1436 <text style="text_m">
1437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001439 </text>
1440
1441 <text style="text_m_accent">
1442 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001444 </text>
1445
1446 <text style="text_m_accent">
1447 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001448 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001449 </text>
1450
1451 <text style="text_m_fail">
1452 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001454 </text>
1455
1456 <text style="text_m_fail">
1457 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <button style="main_button_half_width">
1462 <condition var1="tw_partition_ext" op="=" var2="1"/>
1463 <placement x="%col1_x_left%" y="%row11_y%"/>
1464 <text>EXT2</text>
1465 <actions>
1466 <action function="set">tw_back=refreshfilesystem</action>
1467 <action function="set">tw_action=changefilesystem</action>
1468 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1469 <action function="set">tw_action_new_file_system=ext2</action>
1470 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1472 <action function="set">tw_text2=EXT2</action>
1473 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1474 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1475 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001476 <action function="page">confirm_action</action>
1477 </actions>
1478 </button>
1479
1480 <button style="main_button_half_width">
1481 <condition var1="tw_partition_ext" op="=" var2="1"/>
1482 <placement x="%col2_x_left%" y="%row11_y%"/>
1483 <text>EXT3</text>
1484 <actions>
1485 <action function="set">tw_back=refreshfilesystem</action>
1486 <action function="set">tw_action=changefilesystem</action>
1487 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1488 <action function="set">tw_action_new_file_system=ext3</action>
1489 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1491 <action function="set">tw_text2=EXT3</action>
1492 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1493 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1494 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001495 <action function="page">confirm_action</action>
1496 </actions>
1497 </button>
1498
1499 <button style="main_button_half_width">
1500 <condition var1="tw_partition_ext" op="=" var2="1"/>
1501 <placement x="%center_x%" y="%row11_y%"/>
1502 <text>EXT4</text>
1503 <actions>
1504 <action function="set">tw_back=refreshfilesystem</action>
1505 <action function="set">tw_action=changefilesystem</action>
1506 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1507 <action function="set">tw_action_new_file_system=ext4</action>
1508 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1510 <action function="set">tw_text2=EXT4</action>
1511 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1512 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1513 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001514 <action function="page">confirm_action</action>
1515 </actions>
1516 </button>
1517
1518 <button style="main_button_half_width">
1519 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1520 <placement x="%col2_x_right%" y="%row11_y%"/>
1521 <text>FAT</text>
1522 <actions>
1523 <action function="set">tw_back=refreshfilesystem</action>
1524 <action function="set">tw_action=changefilesystem</action>
1525 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1526 <action function="set">tw_action_new_file_system=vfat</action>
1527 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1529 <action function="set">tw_text2=FAT</action>
1530 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1531 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1532 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <action function="page">confirm_action</action>
1534 </actions>
1535 </button>
1536
1537 <button style="main_button_half_width">
1538 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1539 <placement x="%col2_x_left%" y="%row15a_y%"/>
1540 <text>exFAT</text>
1541 <actions>
1542 <action function="set">tw_back=refreshfilesystem</action>
1543 <action function="set">tw_action=changefilesystem</action>
1544 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1545 <action function="set">tw_action_new_file_system=exfat</action>
1546 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1548 <action function="set">tw_text2=exFAT</action>
1549 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1550 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1551 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <action function="page">confirm_action</action>
1553 </actions>
1554 </button>
1555
1556 <button style="main_button_half_width">
1557 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1558 <placement x="%center_x%" y="%row15a_y%"/>
1559 <text>F2FS</text>
1560 <actions>
1561 <action function="set">tw_back=refreshfilesystem</action>
1562 <action function="set">tw_action=changefilesystem</action>
1563 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1564 <action function="set">tw_action_new_file_system=f2fs</action>
1565 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001566 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1567 <action function="set">tw_text2=F2FS</action>
1568 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1569 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1570 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001571 <action function="page">confirm_action</action>
1572 </actions>
1573 </button>
1574
1575 <action>
1576 <touch key="home"/>
1577 <action function="page">main</action>
1578 </action>
1579
1580 <action>
1581 <touch key="back"/>
1582 <action function="page">partitionoptions</action>
1583 </action>
1584 </page>
1585
1586 <page name="backup">
1587 <template name="page"/>
1588
1589 <text style="text_l">
1590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001591 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001592 </text>
1593
1594 <text style="text_m">
1595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001597 </text>
1598
1599 <text style="text_m_accent">
1600 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 </text>
1603
1604 <text style="text_m">
1605 <placement x="%col1_x_left%" y="%row3_y%"/>
1606 <text>%tw_backup_name%</text>
1607 </text>
1608
1609 <fill color="%fileselector_linecolor%">
1610 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1611 </fill>
1612
1613 <button>
1614 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1615 <fill color="%transparent%"/>
1616 <actions>
1617 <action function="set">tw_fileexists=0</action>
1618 <action function="page">backupname1</action>
1619 </actions>
1620 </button>
1621
1622 <partitionlist>
1623 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <data name="tw_backup_list"/>
1626 <listtype name="backup"/>
1627 </partitionlist>
1628
1629 <text style="text_m_accent">
1630 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <text style="text_m">
1635 <conditions>
1636 <condition var1="tw_include_encrypted_backup" var2="1"/>
1637 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001638 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001639 </conditions>
1640 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 </text>
1643
1644 <text style="text_m">
1645 <conditions>
1646 <condition var1="tw_include_encrypted_backup" var2="1"/>
1647 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001648 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </conditions>
1650 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <fill color="%fileselector_linecolor%">
1655 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1656 </fill>
1657
1658 <button>
1659 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1660 <fill color="%transparent%"/>
1661 <actions>
1662 <action function="set">tw_password_not_match=0</action>
1663 <action function="page">backupencryption</action>
1664 </actions>
1665 </button>
1666
1667 <text style="text_m_accent">
1668 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <checkbox>
1673 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 <data variable="tw_use_compression"/>
1676 </checkbox>
1677
1678 <checkbox>
1679 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001680 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1681 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </checkbox>
1683
1684 <checkbox>
1685 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001686 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <data variable="tw_disable_free_space"/>
1688 </checkbox>
1689
1690 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001691 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 <actions>
1695 <action function="set">tw_back=backup</action>
1696 <action function="overlay">select_storage</action>
1697 </actions>
1698 </button>
1699
1700 <button style="main_button_half_width">
1701 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001702 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001703 <actions>
1704 <action function="refreshsizes"/>
1705 <action function="page">backup</action>
1706 </actions>
1707 </button>
1708
1709 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 <action function="page">backup_run</action>
1712 </slider>
1713
1714 <action>
1715 <touch key="home"/>
1716 <action function="page">main</action>
1717 </action>
1718
1719 <action>
1720 <touch key="back"/>
1721 <action function="page">main</action>
1722 </action>
1723 </page>
1724
1725 <page name="backupname1">
1726 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001727 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001728 <action function="generatebackupname"/>
1729 </action>
1730
1731 <action>
1732 <action function="page">backupname2</action>
1733 </action>
1734 </page>
1735
1736 <page name="backupname2">
1737 <template name="page"/>
1738
1739 <text style="text_l">
1740 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001741 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001742 </text>
1743
1744 <text style="text_m">
1745 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001746 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001747 </text>
1748
1749 <text style="text_m_accent">
1750 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001752 </text>
1753
1754 <input>
1755 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1756 <text>%tw_backup_name%</text>
1757 <data name="tw_backup_name"/>
1758 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1759 <actions>
1760 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1761 <action function="set">tw_existpage=backupname2</action>
1762 <action function="set">tw_notexistpage=backup</action>
1763 <action function="page">filecheck</action>
1764 </actions>
1765 </input>
1766
1767 <fill color="%accent_color%">
1768 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1769 </fill>
1770
1771 <fill color="%text_fail_color%">
1772 <condition var1="tw_fileexists" var2="1"/>
1773 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1774 </fill>
1775
1776 <text style="text_m_fail">
1777 <condition var1="tw_fileexists" var2="1"/>
1778 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001780 </text>
1781
1782 <button style="main_button_half_width_low">
1783 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001784 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <action function="page">backup</action>
1788 </actions>
1789 </button>
1790
1791 <button style="main_button_half_width_low">
1792 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001793 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001794 <action function="appenddatetobackupname"/>
1795 </button>
1796
1797 <template name="keyboardtemplate"/>
1798
1799 <action>
1800 <touch key="home"/>
1801 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001802 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001803 <action function="page">main</action>
1804 </actions>
1805 </action>
1806
1807 <action>
1808 <touch key="back"/>
1809 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <action function="page">backup</action>
1812 </actions>
1813 </action>
1814 </page>
1815
1816 <page name="backupencryption">
1817 <template name="page"/>
1818
1819 <text style="text_l">
1820 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001822 </text>
1823
1824 <text style="text_m">
1825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 </text>
1828
1829 <text style="text_m_accent">
1830 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <input>
1835 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1836 <text>%tw_backup_encrypt_display%</text>
1837 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1838 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1839 <action function="page">backupencryption2</action>
1840 </input>
1841
1842 <fill color="%accent_color%">
1843 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1844 </fill>
1845
1846 <fill color="%text_fail_color%">
1847 <condition var1="tw_password_not_match" var2="1"/>
1848 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1849 </fill>
1850
1851 <text style="text_m_fail">
1852 <condition var1="tw_password_not_match" var2="1"/>
1853 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001854 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001855 </text>
1856
1857 <button style="main_button_half_width_low">
1858 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001859 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001860 <actions>
1861 <action function="set">tw_encrypt_backup=0</action>
1862 <action function="set">tw_backup_password=</action>
1863 <action function="set">tw_backup_password2=</action>
1864 <action function="set">tw_backup_encrypt_display=</action>
1865 <action function="set">tw_backup_encrypt_display2=</action>
1866 <action function="page">backup</action>
1867 </actions>
1868 </button>
1869
1870 <template name="keyboardtemplate"/>
1871
1872 <action>
1873 <touch key="home"/>
1874 <action function="page">main</action>
1875 </action>
1876
1877 <action>
1878 <touch key="back"/>
1879 <action function="page">backup</action>
1880 </action>
1881 </page>
1882
1883 <page name="backupencryption2">
1884 <template name="page"/>
1885
1886 <text style="text_l">
1887 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001889 </text>
1890
1891 <text style="text_m">
1892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <text style="text_m_accent">
1897 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 </text>
1900
1901 <input>
1902 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1903 <text>%tw_backup_encrypt_display2%</text>
1904 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1905 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1906 <action function="page">checkbackuppassword</action>
1907 </input>
1908
1909 <fill color="%accent_color%">
1910 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1911 </fill>
1912
1913 <text style="text_m">
1914 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <button style="main_button_half_width_low">
1919 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 <actions>
1922 <action function="set">tw_encrypt_backup=0</action>
1923 <action function="set">tw_backup_password=</action>
1924 <action function="set">tw_backup_password2=</action>
1925 <action function="set">tw_backup_encrypt_display=</action>
1926 <action function="set">tw_backup_encrypt_display2=</action>
1927 <action function="page">backup</action>
1928 </actions>
1929 </button>
1930
1931 <template name="keyboardtemplate"/>
1932
1933 <action>
1934 <touch key="home"/>
1935 <action function="page">main</action>
1936 </action>
1937
1938 <action>
1939 <touch key="back"/>
1940 <action function="page">backup</action>
1941 </action>
1942 </page>
1943
1944 <page name="checkbackuppassword">
1945 <action>
1946 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1947 <actions>
1948 <action function="set">tw_encrypt_backup=1</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </action>
1952
1953 <action>
1954 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1955 <actions>
1956 <action function="set">tw_encrypt_backup=0</action>
1957 <action function="set">tw_password_not_match=1</action>
1958 <action function="set">tw_backup_password=</action>
1959 <action function="set">tw_backup_password2=</action>
1960 <action function="set">tw_backup_encrypt_display=</action>
1961 <action function="set">tw_backup_encrypt_display2=</action>
1962 <action function="page">backupencryption</action>
1963 </actions>
1964 </action>
1965 </page>
1966
1967 <page name="backup_run">
1968 <template name="page"/>
1969
1970 <text style="text_l">
1971 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1972 <text>%tw_operation%</text>
1973 </text>
1974
1975 <text style="text_m">
1976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1977 <text>%tw_partition% Partition</text>
1978 </text>
1979
1980 <template name="console"/>
1981
1982 <template name="progress_bar"/>
1983
1984 <text style="text_m_accent">
1985 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001986 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001987 </text>
1988
1989 <text style="text_m">
1990 <placement x="%progress_text_x%" y="%row17_y%"/>
1991 <text>%tw_file_progress%</text>
1992 </text>
1993
1994 <text style="text_m">
1995 <placement x="%progress_text_x%" y="%row18_y%"/>
1996 <text>%tw_size_progress%</text>
1997 </text>
1998
1999 <button style="main_button_half_width">
2000 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002001 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002002 <action function="cancelbackup"/>
2003 </button>
2004
2005 <action>
2006 <action function="nandroid">backup</action>
2007 </action>
2008
2009 <action>
2010 <condition var1="tw_operation_state" var2="1"/>
2011 <condition var1="tw_cancel_backup" var2="0"/>
2012 <actions>
2013 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002015 <action function="set">tw_show_reboot=1</action>
2016 <action function="page">action_complete</action>
2017 </actions>
2018 </action>
2019
2020 <action>
2021 <condition var1="tw_operation_state" var2="1"/>
2022 <condition var1="tw_cancel_backup" var2="1"/>
2023 <actions>
2024 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002025 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002026 <action function="set">tw_show_reboot=1</action>
2027 <action function="page">action_complete</action>
2028 </actions>
2029 </action>
2030 </page>
2031
2032 <page name="restore">
2033 <template name="page"/>
2034
2035 <text style="text_l">
2036 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002037 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002038 </text>
2039
2040 <text style="text_m">
2041 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002042 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002043 </text>
2044
2045 <template name="sort_options"/>
2046
2047 <fileselector>
2048 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002049 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002050 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002051 <path name="tw_backups_folder"/>
2052 <data name="tw_restore" default=""/>
2053 <selection name="tw_restore_name"/>
2054 </fileselector>
2055
2056 <button style="main_button_half_width_low">
2057 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 <actions>
2060 <action function="set">tw_back=restore</action>
2061 <action function="overlay">select_storage</action>
2062 </actions>
2063 </button>
2064
2065 <action>
2066 <condition var1="tw_restore" op="modified"/>
2067 <actions>
2068 <action function="readBackup"/>
2069 <action function="page">restore_read</action>
2070 </actions>
2071 </action>
2072
2073 <action>
2074 <touch key="home"/>
2075 <action function="page">main</action>
2076 </action>
2077
2078 <action>
2079 <touch key="back"/>
2080 <action function="page">main</action>
2081 </action>
2082 </page>
2083
2084 <page name="restore_read">
2085 <action>
2086 <condition var1="tw_restore_encrypted" var2="1"/>
2087 <actions>
2088 <action function="set">tw_password_fail=0</action>
2089 <action function="page">restore_decrypt</action>
2090 </actions>
2091 </action>
2092
2093 <action>
2094 <condition var1="tw_restore_encrypted" var2="0"/>
2095 <actions>
2096 <action function="page">restore_select</action>
2097 </actions>
2098 </action>
2099 </page>
2100
2101 <page name="restore_decrypt">
2102 <template name="page"/>
2103
2104 <text style="text_l">
2105 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002107 </text>
2108
2109 <text style="text_m">
2110 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002111 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002112 </text>
2113
2114 <text style="text_m_accent">
2115 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002117 </text>
2118
2119 <input>
2120 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2121 <text>%tw_restore_display%</text>
2122 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2123 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2124 <action function="page">try_restore_decrypt</action>
2125 </input>
2126
2127 <fill color="%accent_color%">
2128 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2129 </fill>
2130
2131 <fill color="%text_fail_color%">
2132 <condition var1="tw_password_fail" var2="1"/>
2133 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2134 </fill>
2135
2136 <text style="text_m_fail">
2137 <condition var1="tw_password_fail" var2="1"/>
2138 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <button style="main_button_half_width_low">
2143 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002144 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002145 <actions>
2146 <action function="set">tw_page_done=1</action>
2147 <action function="page">restore</action>
2148 </actions>
2149 </button>
2150
2151 <button style="main_button_half_width_low">
2152 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002153 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002154 <actions>
2155 <action function="set">tw_back=restore</action>
2156 <action function="set">tw_action=cmd</action>
2157 <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 -05002158 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2159 <action function="set">tw_text2=%tw_restore_name%</action>
2160 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2161 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2162 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2163 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002164 <action function="page">confirm_action</action>
2165 </actions>
2166 </button>
2167
2168 <template name="keyboardtemplate"/>
2169
2170 <action>
2171 <touch key="home"/>
2172 <action function="page">main</action>
2173 </action>
2174
2175 <action>
2176 <touch key="back"/>
2177 <action function="page">restore</action>
2178 </action>
2179 </page>
2180
2181 <page name="try_restore_decrypt">
2182 <template name="page"/>
2183
2184 <text style="text_l">
2185 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 </text>
2188
2189 <text style="text_m">
2190 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002191 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002192 </text>
2193
2194 <template name="console"/>
2195
2196 <template name="progress_bar"/>
2197
2198 <action>
2199 <action function="decrypt_backup"/>
2200 </action>
2201
2202 <action>
2203 <conditions>
2204 <condition var1="tw_operation_state" var2="1"/>
2205 <condition var1="tw_operation_status" op="!=" var2="0"/>
2206 </conditions>
2207 <actions>
2208 <action function="set">tw_password_fail=1</action>
2209 <action function="page">restore_decrypt</action>
2210 </actions>
2211 </action>
2212
2213 <action>
2214 <conditions>
2215 <condition var1="tw_operation_state" var2="1"/>
2216 <condition var1="tw_operation_status" op="=" var2="0"/>
2217 </conditions>
2218 <actions>
2219 <action function="set">tw_page_done=1</action>
2220 <action function="page">restore_select</action>
2221 </actions>
2222 </action>
2223 </page>
2224
2225 <page name="restore_select">
2226 <template name="page"/>
2227
2228 <text style="text_l">
2229 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <text style="text_m">
2234 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002235 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002236 </text>
2237
2238 <text style="text_m_accent">
2239 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002240 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002241 </text>
2242
2243 <text style="text_m">
2244 <placement x="%col1_x_left%" y="%row3_y%"/>
2245 <text>%tw_restore_name%</text>
2246 </text>
2247
2248 <fill color="%fileselector_linecolor%">
2249 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2250 </fill>
2251
2252 <button>
2253 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2254 <fill color="%transparent%"/>
2255 <actions>
2256 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2257 <action function="set">tw_fileexists=0</action>
2258 <action function="page">renamebackup</action>
2259 </actions>
2260 </button>
2261
2262 <partitionlist>
2263 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2266 <listtype name="restore"/>
2267 </partitionlist>
2268
2269 <text style="text_m_accent">
2270 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002272 </text>
2273
2274 <checkbox>
2275 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002276 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002277 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2278 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </checkbox>
2280
2281 <button style="main_button_half_width">
2282 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002283 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002284 <actions>
2285 <action function="set">tw_back=restore</action>
2286 <action function="set">tw_action=cmd</action>
2287 <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 -05002288 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002290 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2291 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2292 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2293 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <action function="page">confirm_action</action>
2295 </actions>
2296 </button>
2297
2298 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002299 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <action function="page">restore_run</action>
2301 </slider>
2302
2303 <action>
2304 <touch key="home"/>
2305 <action function="page">main</action>
2306 </action>
2307
2308 <action>
2309 <touch key="back"/>
2310 <action function="page">restore</action>
2311 </action>
2312 </page>
2313
2314 <page name="renamebackup">
2315 <template name="page"/>
2316
2317 <text style="text_l">
2318 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002319 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002320 </text>
2321
2322 <text style="text_m">
2323 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002324 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002325 </text>
2326
2327 <text style="text_m_accent">
2328 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002330 </text>
2331
2332 <input>
2333 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2334 <text>%tw_backup_rename%</text>
2335 <data name="tw_backup_rename"/>
2336 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2337 <actions>
2338 <action function="set">tw_back=restore</action>
2339 <action function="set">tw_action=cmd</action>
2340 <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 -05002341 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2342 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2343 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2344 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2345 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002346 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2347 <action function="set">tw_existpage=renamebackup</action>
2348 <action function="set">tw_notexistpage=confirm_action</action>
2349 <action function="page">filecheck</action>
2350 </actions>
2351 </input>
2352
2353 <fill color="%accent_color%">
2354 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2355 </fill>
2356
2357 <fill color="%text_fail_color%">
2358 <condition var1="tw_fileexists" var2="1"/>
2359 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2360 </fill>
2361
2362 <text style="text_m_fail">
2363 <condition var1="tw_fileexists" var2="1"/>
2364 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 </text>
2367
2368 <button style="main_button_half_width_low">
2369 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 <action function="page">restore_select</action>
2372 </button>
2373
2374 <template name="keyboardtemplate"/>
2375
2376 <action>
2377 <touch key="home"/>
2378 <action function="page">main</action>
2379 </action>
2380
2381 <action>
2382 <touch key="back"/>
2383 <action function="page">restore_select</action>
2384 </action>
2385 </page>
2386
2387 <page name="restore_run">
2388 <template name="page"/>
2389
2390 <text style="text_l">
2391 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <text style="text_m">
2396 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2397 <text>%tw_operation% %tw_partition%</text>
2398 </text>
2399
2400 <template name="console"/>
2401
2402 <template name="progress_bar"/>
2403
2404 <text style="text_m_accent">
2405 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </text>
2408
2409 <text style="text_m">
2410 <placement x="%progress_text_x%" y="%row18_y%"/>
2411 <text>%tw_size_progress%</text>
2412 </text>
2413
2414 <action>
2415 <condition var1="tw_operation_state" var2="1"/>
2416 <actions>
2417 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002418 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002419 <action function="set">tw_show_reboot=1</action>
2420 <action function="page">action_complete</action>
2421 </actions>
2422 </action>
2423
2424 <action>
2425 <action function="nandroid">restore</action>
2426 </action>
2427 </page>
2428
2429 <page name="mount">
2430 <template name="page"/>
2431
2432 <text style="text_l">
2433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002434 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002435 </text>
2436
2437 <text style="text_m">
2438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <partitionlist>
2443 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 <listtype name="mount"/>
2446 </partitionlist>
2447
2448 <button style="checkbox">
2449 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2450 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 <image resource="checkbox_false"/>
2453 <action function="mountsystemtoggle">1</action>
2454 </button>
2455
2456 <button style="checkbox">
2457 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2458 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002459 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002460 <image resource="checkbox_true"/>
2461 <actions>
2462 <action function="set">tw_lifetime_writes=2</action>
2463 <action function="page">system_readonly_check</action>
2464 </actions>
2465 </button>
2466
2467 <button style="main_button_half_width">
2468 <condition var1="tw_has_usb_storage" var2="1"/>
2469 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002470 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002471 <action function="page">usb_mount</action>
2472 </button>
2473
2474 <button style="main_button_half_width">
2475 <conditions>
2476 <condition var1="tw_is_encrypted" var2="1"/>
2477 <condition var1="tw_is_decrypted" var2="0"/>
2478 </conditions>
2479 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="page">decrypt</action>
2482 </button>
2483
2484 <button style="main_button_half_width">
2485 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <actions>
2488 <action function="set">tw_back=mount</action>
2489 <action function="overlay">select_storage</action>
2490 </actions>
2491 </button>
2492
2493 <button style="main_button_half_width">
2494 <conditions>
2495 <condition var1="tw_has_mtp" var2="1"/>
2496 <condition var1="tw_mtp_enabled" var2="0"/>
2497 </conditions>
2498 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 <action function="startmtp"/>
2501 </button>
2502
2503 <button style="main_button_half_width">
2504 <conditions>
2505 <condition var1="tw_has_mtp" var2="1"/>
2506 <condition var1="tw_mtp_enabled" var2="1"/>
2507 </conditions>
2508 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002509 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002510 <action function="stopmtp"/>
2511 </button>
2512
2513 <action>
2514 <touch key="home"/>
2515 <action function="page">main</action>
2516 </action>
2517
2518 <action>
2519 <touch key="back"/>
2520 <action function="page">main</action>
2521 </action>
2522 </page>
2523
2524 <page name="usb_mount">
2525 <template name="page"/>
2526
2527 <text style="text_l">
2528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002530 </text>
2531
2532 <text style="text_m">
2533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002534 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <text style="text_m_accent">
2538 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <text style="text_m">
2543 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 </text>
2546
2547 <text style="text_m">
2548 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 </text>
2551
2552 <button style="main_button_half_width">
2553 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <action function="page">usb_umount</action>
2556 </button>
2557
2558 <action>
2559 <action function="mount">usb</action>
2560 <action function="set">tw_busy=1</action>
2561 </action>
2562 </page>
2563
2564 <page name="usb_umount">
2565 <action>
2566 <action function="unmount">usb</action>
2567 </action>
2568
2569 <action>
2570 <action function="page">mount</action>
2571 <action function="set">tw_busy=0</action>
2572 </action>
2573 </page>
2574
2575 <page name="system_readonly_check">
2576 <action>
2577 <action function="checkpartitionlifetimewrites">/system</action>
2578 </action>
2579
2580 <action>
2581 <condition var1="tw_lifetime_writes" var2="1"/>
2582 <actions>
2583 <action function="mountsystemtoggle">0</action>
2584 <action function="page">mount</action>
2585 </actions>
2586 </action>
2587
2588 <action>
2589 <condition var1="tw_lifetime_writes" var2="0"/>
2590 <actions>
2591 <action function="set">tw_back=mount</action>
2592 <action function="page">system_readonly</action>
2593 </actions>
2594 </action>
2595 </page>
2596
2597 <page name="reboot">
2598 <template name="page"/>
2599
2600 <text style="text_l">
2601 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002602 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002603 </text>
2604
2605 <button style="main_button">
2606 <condition var1="tw_reboot_system" var2="1"/>
2607 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 <actions>
2610 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002611 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002612 </actions>
2613 </button>
2614
2615 <button style="main_button">
2616 <condition var1="tw_reboot_poweroff" var2="1"/>
2617 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <actions>
2620 <action function="set">tw_back=reboot</action>
2621 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002622 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002623 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002624 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2626 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2627 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2628 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2629 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002630 <action function="page">rebootcheck</action>
2631 </actions>
2632 </button>
2633
2634 <button style="main_button">
2635 <condition var1="tw_reboot_recovery" var2="1"/>
2636 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002637 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002638 <actions>
2639 <action function="set">tw_back=reboot</action>
2640 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002641 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002642 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2645 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2646 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2647 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2648 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <action function="page">rebootcheck</action>
2650 </actions>
2651 </button>
2652
2653 <button style="main_button">
2654 <condition var1="tw_reboot_bootloader" var2="1"/>
2655 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <actions>
2658 <action function="set">tw_back=reboot</action>
2659 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002660 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002661 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002662 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002663 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2664 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2665 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2666 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2667 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <action function="page">rebootcheck</action>
2669 </actions>
2670 </button>
2671
2672 <button style="main_button">
2673 <condition var1="tw_download_mode" var2="1"/>
2674 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 <actions>
2677 <action function="set">tw_back=reboot</action>
2678 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002679 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002680 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002681 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2683 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2684 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2685 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2686 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002687 <action function="page">rebootcheck</action>
2688 </actions>
2689 </button>
2690
2691 <action>
2692 <touch key="home"/>
2693 <action function="page">main</action>
2694 </action>
2695
2696 <action>
2697 <touch key="back"/>
2698 <action function="page">main</action>
2699 </action>
2700 </page>
2701
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002702 <page name="rebootapp">
2703 <template name="page"/>
2704
2705 <text style="text_l">
2706 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2707 <text>{@reboot_hdr=Reboot}</text>
2708 </text>
2709
2710 <text style="text_m">
2711 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2712 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2713 </text>
2714
2715 <text style="text_m_accent">
2716 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2717 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2718 </text>
2719
2720 <text style="text_m_accent">
2721 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2722 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2723 </text>
2724
2725 <checkbox>
2726 <placement x="%indent%" y="%row5_y%"/>
2727 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2728 <data variable="tw_app_prompt"/>
2729 </checkbox>
2730
2731 <checkbox>
2732 <condition var1="tw_mount_system_ro" var2="0"/>
2733 <placement x="%indent%" y="%row7_y%"/>
2734 <text>{@reboot_install_app_system=Install as a System App}</text>
2735 <data variable="tw_app_install_system"/>
2736 </checkbox>
2737
2738 <button style="main_button_half_width">
2739 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002740 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002741 <action function="reboot">%tw_reboot_param%</action>
2742 </button>
2743
2744 <slider>
2745 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2746 <actions>
2747 <action function="set">tw_back=reboot</action>
2748 <action function="set">tw_action=installapp</action>
2749 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2750 <action function="set">tw_action_text2=</action>
2751 <action function="set">tw_has_action2=1</action>
2752 <action function="set">tw_action2=reboot</action>
2753 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2754 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2755 <action function="page">action_page</action>
2756 </actions>
2757 </slider>
2758
2759 <action>
2760 <touch key="home"/>
2761 <actions>
2762 <action function="set">tw_app_install_status=0</action>
2763 <action function="page">main</action>
2764 </actions>
2765 </action>
2766
2767 <action>
2768 <touch key="back"/>
2769 <actions>
2770 <action function="set">tw_app_install_status=0</action>
2771 <action function="page">reboot</action>
2772 </actions>
2773 </action>
2774 </page>
2775
z31s1g28f0a922015-11-07 18:50:22 +01002776 <page name="system_readonly">
2777 <template name="page"/>
2778
2779 <text style="text_l">
2780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002782 </text>
2783
2784 <text style="text_m_accent">
2785 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 </text>
2788
2789 <text style="text_m">
2790 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002792 </text>
2793
2794 <text style="text_m">
2795 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 </text>
2798
2799 <text style="text_m_fail">
2800 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </text>
2803
2804 <checkbox>
2805 <condition var1="tw_is_encrypted" var2="0"/>
2806 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 <data variable="tw_never_show_system_ro_page"/>
2809 </checkbox>
2810
2811 <button style="main_button_half_width">
2812 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <actions>
2815 <action function="mountsystemtoggle">1</action>
2816 <action function="set">tw_page_done=1</action>
2817 <action function="page">%tw_back%</action>
2818 </actions>
2819 </button>
2820
z31s1g608d7ff2016-01-18 19:47:25 +01002821 <button style="main_button_half_width">
2822 <placement x="%col2_x_left%" y="%row15a_y%"/>
2823 <text>{@sel_lang_btn=Select Language}</text>
2824 <action function="overlay">select_language</action>
2825 </button>
2826
z31s1g28f0a922015-11-07 18:50:22 +01002827 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 <actions>
2830 <action function="mountsystemtoggle">0</action>
2831 <action function="set">tw_page_done=1</action>
2832 <action function="page">%tw_back%</action>
2833 </actions>
2834 </slider>
2835 </page>
2836
2837 <page name="settings">
2838 <template name="page"/>
2839
2840 <text style="text_l">
2841 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002842 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002843 </text>
2844
2845 <text style="text_m">
2846 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </text>
2849
2850 <template name="tabs_settings"/>
2851
2852 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002854 </fill>
2855
2856 <listbox style="scrolllist">
2857 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2858 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002860 <data variable="tw_signed_zip_verify"/>
2861 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002862 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2863 <data variable="tw_install_reboot"/>
2864 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002866 <data variable="tw_rm_rf"/>
2867 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002868 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2869 <data variable="tw_disable_free_space"/>
2870 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002871 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2872 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002873 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002874 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2875 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002876 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002878 <data variable="tw_military_time"/>
2879 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002880 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2881 <data variable="tw_app_prompt"/>
2882 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002883 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002884 <data variable="tw_simulate_actions"/>
2885 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002886 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002887 <condition var1="tw_simulate_actions" var2="1"/>
2888 <data variable="tw_simulate_fail"/>
2889 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002890 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2891 <condition var1="tw_no_sha2" var2="0"/>
2892 <data variable="tw_use_sha2"/>
2893 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002894 </listbox>
2895
2896 <checkbox>
2897 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002898 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002899 <data variable="tw_samsung_navbar"/>
2900 </checkbox>
2901
2902 <button style="radiobutton">
2903 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2904 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002905 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002906 <image resource="radio_false"/>
2907 <action function="set">tw_navbar_button_position=0</action>
2908 </button>
2909
2910 <button style="radiobutton">
2911 <condition var1="tw_navbar_button_position" var2="0"/>
2912 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002914 <image resource="radio_true"/>
2915 <action function="set">tw_navbar_button_position=0</action>
2916 </button>
2917
2918 <button style="radiobutton">
2919 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2920 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002921 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <image resource="radio_false"/>
2923 <action function="set">tw_navbar_button_position=1</action>
2924 </button>
2925
2926 <button style="radiobutton">
2927 <condition var1="tw_navbar_button_position" var2="1"/>
2928 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002929 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002930 <image resource="radio_true"/>
2931 <action function="set">tw_navbar_button_position=1</action>
2932 </button>
2933
2934 <button style="radiobutton">
2935 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2936 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <image resource="radio_false"/>
2939 <action function="set">tw_navbar_button_position=2</action>
2940 </button>
2941
2942 <button style="radiobutton">
2943 <condition var1="tw_navbar_button_position" var2="2"/>
2944 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002945 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002946 <image resource="radio_true"/>
2947 <action function="set">tw_navbar_button_position=2</action>
2948 </button>
2949
2950 <button style="main_button_half_width">
2951 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002952 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002953 <action function="restoredefaultsettings"/>
2954 </button>
2955
2956 <action>
2957 <touch key="home"/>
2958 <action function="page">main</action>
2959 </action>
2960
2961 <action>
2962 <touch key="back"/>
2963 <action function="page">main</action>
2964 </action>
2965 </page>
2966
2967 <page name="settings_timezone">
2968 <template name="page"/>
2969
2970 <text style="text_l">
2971 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002972 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002973 </text>
2974
2975 <text style="text_m">
2976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002977 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002978 </text>
2979
2980 <template name="tabs_settings"/>
2981
2982 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002984 </fill>
2985
2986 <listbox>
2987 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2991 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2992 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2993 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2994 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2995 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2996 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2997 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2998 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2999 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3000 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3001 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3002 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3003 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3004 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3005 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3006 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3007 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3008 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3009 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3010 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3011 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3012 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3013 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </listbox>
3015
3016 <text style="text_m_accent">
3017 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <button style="button_quarter_width">
3022 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <action function="set">tw_time_zone_guioffset=0</action>
3025 </button>
3026
3027 <button style="button_quarter_width">
3028 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <action function="set">tw_time_zone_guioffset=15</action>
3031 </button>
3032
3033 <button style="button_quarter_width">
3034 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <action function="set">tw_time_zone_guioffset=30</action>
3037 </button>
3038
3039 <button style="button_quarter_width">
3040 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003041 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003042 <action function="set">tw_time_zone_guioffset=45</action>
3043 </button>
3044
3045 <checkbox>
3046 <placement x="%col1_x_right%" y="%row7_y%"/>
3047 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <data variable="tw_time_zone_guidst"/>
3050 <image checked="checkbox_true" unchecked="checkbox_false"/>
3051 </checkbox>
3052
3053 <text color="%text_color%">
3054 <font resource="font_m"/>
3055 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003056 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003057 </text>
3058
3059 <button>
3060 <highlight color="%highlight_color%"/>
3061 <placement x="%col2_x_right%" y="%row15a_y%"/>
3062 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003064 <image resource="main_button_half_width"/>
3065 <action function="setguitimezone"/>
3066 </button>
3067
3068 <action>
3069 <touch key="home"/>
3070 <action function="page">main</action>
3071 </action>
3072
3073 <action>
3074 <touch key="back"/>
3075 <action function="page">main</action>
3076 </action>
3077 </page>
3078
3079 <page name="settings_screen">
3080 <template name="page"/>
3081
3082 <text style="text_l">
3083 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </text>
3086
3087 <text style="text_m">
3088 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003090 </text>
3091
3092 <template name="tabs_settings"/>
3093
3094 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003096 </fill>
3097
3098 <button>
3099 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3100 <font resource="font_m" color="%text_color%"/>
3101 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3102 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <image resource="checkbox_false"/>
3105 <action function="set">tw_screen_timeout_secs=60</action>
3106 </button>
3107
3108 <button>
3109 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3110 <font resource="font_m" color="%text_color%"/>
3111 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3112 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003114 <image resource="checkbox_true"/>
3115 <action function="set">tw_screen_timeout_secs=0</action>
3116 </button>
3117
3118 <slidervalue>
3119 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3120 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3121 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003123 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3124 </slidervalue>
3125
3126 <slidervalue>
3127 <condition var1="tw_has_brightnesss_file" var2="1"/>
3128 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <data variable="tw_brightness_pct" min="10" max="100"/>
3131 <actions>
3132 <action function="set">tw_brightness=%tw_brightness_max%</action>
3133 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3134 <action function="compute">tw_brightness/100</action>
3135 <action function="setbrightness">%tw_brightness%</action>
3136 </actions>
3137 </slidervalue>
3138
3139 <action>
3140 <touch key="home"/>
3141 <action function="page">main</action>
3142 </action>
3143
3144 <action>
3145 <touch key="back"/>
3146 <action function="page">main</action>
3147 </action>
3148 </page>
3149
3150 <page name="settings_vibration">
3151 <template name="page"/>
3152
3153 <text style="text_l">
3154 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 </text>
3157
3158 <text style="text_m">
3159 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 </text>
3162
3163 <template name="tabs_settings"/>
3164
3165 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </fill>
3168
3169 <slidervalue>
3170 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <data variable="tw_button_vibrate" min="0" max="300"/>
3173 </slidervalue>
3174
3175 <slidervalue>
3176 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003178 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3179 </slidervalue>
3180
3181 <slidervalue>
3182 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <data variable="tw_action_vibrate" min="0" max="500"/>
3185 </slidervalue>
3186
3187 <action>
3188 <touch key="home"/>
3189 <action function="page">main</action>
3190 </action>
3191
3192 <action>
3193 <touch key="back"/>
3194 <action function="page">main</action>
3195 </action>
3196 </page>
3197
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <page name="settings_language">
3199 <template name="page"/>
3200
3201 <text style="text_l">
3202 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3203 <text>{@settings_hdr=Settings}</text>
3204 </text>
3205
3206 <text style="text_m">
3207 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3208 <text>{@language_hdr=Language - %tw_language_display%}</text>
3209 </text>
3210
3211 <template name="tabs_settings"/>
3212
3213 <fill color="%text_color%">
3214 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3215 </fill>
3216
3217 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003218 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@select_language=Select Language:}</text>
3220 <icon selected="radio_true" unselected="radio_false" />
3221 <data name="tw_language" />
3222 </listbox>
3223
z31s1g56189522016-01-13 19:12:40 +01003224 <button>
3225 <highlight color="%highlight_color%"/>
3226 <placement x="%col2_x_right%" y="%row15a_y%"/>
3227 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003229 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <action function="setlanguage"></action>
3231 </button>
3232
3233 <action>
3234 <touch key="home" />
3235 <action function="page">main</action>
3236 </action>
3237
3238 <action>
3239 <touch key="back" />
3240 <action function="page">settings</action>
3241 </action>
3242 </page>
3243
Matt Mower32676622017-01-18 18:56:13 -06003244 <page name="copylog">
3245 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003246
Matt Mower32676622017-01-18 18:56:13 -06003247 <text style="text_l">
3248 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3249 <text>{@copying_log=Copy Logs to SD Card}</text>
3250 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003251
Matt Mower32676622017-01-18 18:56:13 -06003252 <checkbox>
3253 <placement x="%indent%" y="%row4_y%"/>
3254 <text>{@include_kernel_log=Include Kernel Log}</text>
3255 <data variable="tw_include_kernel_log" value="1"/>
3256 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003257
Matt Mower32676622017-01-18 18:56:13 -06003258 <slider>
3259 <text>{@copying_log=Copy Logs to SD Card}</text>
3260 <actions>
3261 <action function="set">tw_back=advanced</action>
3262 <action function="set">tw_action=copylog</action>
3263 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3264 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3265 <action function="page">action_page</action>
3266 </actions>
3267 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003268
Matt Mower32676622017-01-18 18:56:13 -06003269 <action>
3270 <touch key="home"/>
3271 <action function="page">main</action>
3272 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003273
Matt Mower32676622017-01-18 18:56:13 -06003274 <action>
3275 <touch key="back"/>
3276 <actions>
3277 <action function="page">advanced</action>
3278 </actions>
3279 </action>
3280 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003281
z31s1g28f0a922015-11-07 18:50:22 +01003282 <page name="advanced">
3283 <template name="page"/>
3284
3285 <text style="text_l">
3286 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </text>
3289
3290 <button style="main_button">
3291 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003293 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </button>
3295
3296 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003297 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003298 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003299 <text>{@fix_context_btn=Fix Contexts}</text>
3300 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003301 </button>
3302
3303 <button style="main_button">
3304 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3305 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003306 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003307 <actions>
3308 <action function="set">partitionlisterror=0</action>
3309 <action function="page">partsdcardsel</action>
3310 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </button>
3312
3313 <button style="main_button">
3314 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 <action function="page">filemanagerlist</action>
3317 </button>
3318
3319 <button style="main_button">
3320 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003322 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003323 </button>
3324
3325 <button style="main_button">
3326 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003327 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003328 <action function="reload"/>
3329 </button>
3330
3331 <button style="main_button">
3332 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 <action function="page">sideload</action>
3335 </button>
3336
3337 <button style="main_button">
3338 <condition var1="tw_show_dumlock" var2="1"/>
3339 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <action function="page">htcdumlock</action>
3342 </button>
3343
3344 <button style="main_button">
3345 <condition var1="tw_has_injecttwrp" var2="1"/>
3346 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 <actions>
3349 <action function="set">tw_back=advanced</action>
3350 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3352 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3353 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3354 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003355 <action function="page">confirm_action</action>
3356 </actions>
3357 </button>
3358
3359 <action>
3360 <touch key="home"/>
3361 <action function="page">main</action>
3362 </action>
3363
3364 <action>
3365 <touch key="back"/>
3366 <action function="page">main</action>
3367 </action>
3368 </page>
3369
Ethan Yonker483e9f42016-01-11 22:21:18 -06003370 <page name="partsdcardsel">
3371 <template name="page"/>
3372
3373 <text style="text_l">
3374 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3375 <text>{@advanced_hdr=Advanced}</text>
3376 </text>
3377
3378 <text style="text_m">
3379 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3380 <text>{@part_sd_hdr=Partition SD Card}</text>
3381 </text>
3382
z31s1g782e1c92016-01-30 16:50:09 +01003383 <partitionlist>
3384 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003385 <text>{@sel_storage_list=Select Storage}</text>
3386 <data name="tw_storage_path"/>
3387 <listtype name="storage"/>
3388 </partitionlist>
3389
z31s1g782e1c92016-01-30 16:50:09 +01003390 <text style="text_m_fail">
3391 <condition var1="partitionlisterror" var2="1"/>
3392 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3393 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3394 </text>
3395
3396 <button style="main_button_half_width">
3397 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003398 <text>{@ok_btn=OK}</text>
3399 <actions>
3400 <action function="getpartitiondetails">tw_storage_path</action>
3401 <action function="page">partsdcardcheck</action>
3402 </actions>
3403 </button>
3404
Ethan Yonker483e9f42016-01-11 22:21:18 -06003405 <action>
3406 <touch key="home"/>
3407 <action function="page">main</action>
3408 </action>
3409
3410 <action>
3411 <touch key="back"/>
3412 <action function="page">advanced</action>
3413 </action>
3414 </page>
3415
3416 <page name="partsdcardcheck">
3417 <action>
3418 <condition var1="tw_partition_removable" op="=" var2="1"/>
3419 <actions>
3420 <action function="set">partitionlisterror=0</action>
3421 <action function="page">partsdcard</action>
3422 </actions>
3423 </action>
3424
3425 <action>
3426 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3427 <actions>
3428 <action function="set">partitionlisterror=1</action>
3429 <action function="page">partsdcardsel</action>
3430 </actions>
3431 </action>
3432 </page>
3433
z31s1g28f0a922015-11-07 18:50:22 +01003434 <page name="partsdcard">
3435 <template name="page"/>
3436
3437 <text style="text_l">
3438 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <text style="text_m">
3443 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </text>
3446
3447 <text style="text_m_fail">
3448 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 </text>
3451
3452 <text style="text_m_fail">
3453 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 </text>
3456
3457 <text style="text_m_accent">
3458 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003460 </text>
3461
3462 <text style="text_m">
3463 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3464 <text>%tw_sdext_size%</text>
3465 </text>
3466
3467 <button style="button_quarter_width">
3468 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003470 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </button>
3472
3473 <button style="button_quarter_width">
3474 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003476 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </button>
3478
3479 <text style="text_m_accent">
3480 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 </text>
3483
3484 <text style="text_m">
3485 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3486 <text>%tw_swap_size%</text>
3487 </text>
3488
3489 <button style="button_quarter_width">
3490 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003492 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </button>
3494
3495 <button style="button_quarter_width">
3496 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003498 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </button>
3500
3501 <text style="text_m_accent">
3502 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 </text>
3505
3506 <text style="text_m">
3507 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3508 <text>%tw_sdpart_file_system%</text>
3509 </text>
3510
3511 <button style="button_quarter_width">
3512 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3513 <text>EXT3</text>
3514 <action function="set">tw_sdpart_file_system=ext3</action>
3515 </button>
3516
3517 <button style="button_quarter_width">
3518 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3519 <text>EXT4</text>
3520 <action function="set">tw_sdpart_file_system=ext4</action>
3521 </button>
3522
3523 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <action function="page">partsdcardaction</action>
3526 <actions>
3527 <action function="set">tw_back=partsdcard</action>
3528 <action function="set">tw_action=partitionsd</action>
3529 <action function="set">tw_has_action2=1</action>
3530 <action function="set">tw_action2=set</action>
3531 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3533 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3534 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <action function="page">action_page</action>
3536 </actions>
3537 </slider>
3538
3539 <action>
3540 <touch key="home"/>
3541 <action function="page">main</action>
3542 </action>
3543
3544 <action>
3545 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003546 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003547 </action>
3548 </page>
3549
3550 <page name="htcdumlock">
3551 <template name="page"/>
3552
3553 <text style="text_l">
3554 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </text>
3557
3558 <text style="text_m">
3559 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003561 </text>
3562
3563 <button style="main_button_m">
3564 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003565 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003566 <actions>
3567 <action function="set">tw_back=htcdumlock</action>
3568 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3570 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3571 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3572 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <action function="page">confirm_action</action>
3574 </actions>
3575 </button>
3576
3577 <button style="main_button_m">
3578 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <actions>
3581 <action function="set">tw_back=htcdumlock</action>
3582 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3584 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3585 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3586 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <action function="page">confirm_action</action>
3588 </actions>
3589 </button>
3590
3591 <button style="main_button_m">
3592 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <actions>
3595 <action function="set">tw_back=htcdumlock</action>
3596 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3598 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3599 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3600 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <action function="page">confirm_action</action>
3602 </actions>
3603 </button>
3604
3605 <action>
3606 <touch key="home"/>
3607 <action function="page">main</action>
3608 </action>
3609
3610 <action>
3611 <touch key="back"/>
3612 <action function="page">advanced</action>
3613 </action>
3614 </page>
3615
3616 <page name="lock">
3617 <background color="%semi_transparent%"/>
3618
3619 <image>
3620 <image resource="unlock_icon"/>
3621 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3622 </image>
3623
3624 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003626 <action function="overlay"/>
3627 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003628
3629 <action>
3630 <touch key="power"/>
3631 <action function="togglebacklight"/>
3632 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003633 </page>
3634
3635 <page name="filemanagerlist">
3636 <template name="page"/>
3637
3638 <text style="text_l">
3639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <text style="text_m">
3644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </text>
3647
3648 <template name="sort_options"/>
3649
3650 <fileselector>
3651 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3652 <text>%tw_file_location1%</text>
3653 <filter folders="1" files="1"/>
3654 <path name="tw_file_location1" default="/"/>
3655 <data name="tw_filename1"/>
3656 <selection name="tw_selection1"/>
3657 </fileselector>
3658
3659 <button style="main_button_half_width_low">
3660 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 <actions>
3663 <action function="set">tw_filename1=tw_file_location1</action>
3664 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003666 <action function="page">filemanageroptions</action>
3667 </actions>
3668 </button>
3669
3670 <action>
3671 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="set">tw_fm_isfolder=0</action>
3674 </actions>
3675 </action>
3676
3677 <action>
3678 <touch key="home"/>
3679 <action function="page">main</action>
3680 </action>
3681
3682 <action>
3683 <touch key="back"/>
3684 <action function="page">advanced</action>
3685 </action>
3686
3687 <action>
3688 <condition var1="tw_filename1" op="modified"/>
3689 <action function="page">filemanageroptions</action>
3690 </action>
3691 </page>
3692
3693 <page name="filemanageroptions">
3694 <template name="page"/>
3695
3696 <text style="text_l">
3697 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m">
3702 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </text>
3705
3706 <text style="text_m_accent">
3707 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </text>
3710
3711 <text style="text_m">
3712 <placement x="%col1_x_left%" y="%row3_y%"/>
3713 <text>%tw_filename1%</text>
3714 </text>
3715
3716 <button style="main_button_half_width">
3717 <condition var1="tw_fm_isfolder" var2="0"/>
3718 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 <actions>
3721 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003723 <action function="page">choosedestinationfolder</action>
3724 </actions>
3725 </button>
3726
3727 <button style="main_button_half_width">
3728 <condition var1="tw_fm_isfolder" var2="1"/>
3729 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003730 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003731 <actions>
3732 <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 -05003733 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <action function="page">choosedestinationfolder</action>
3735 </actions>
3736 </button>
3737
3738 <button style="main_button_half_width">
3739 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <actions>
3742 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003744 <action function="page">choosedestinationfolder</action>
3745 </actions>
3746 </button>
3747
3748 <button style="main_button_half_width">
3749 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <actions>
3752 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003753 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003754 <action function="set">tw_fm_text2=</action>
3755 <action function="set">tw_fm_text3=</action>
3756 <action function="set">tw_include_text3=0</action>
3757 <action function="set">tw_back=filemanageroptions</action>
3758 <action function="page">filemanagerconfirm</action>
3759 </actions>
3760 </button>
3761
3762 <button style="main_button_half_width">
3763 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 <actions>
3766 <action function="set">tw_filemanager_rename=0000</action>
3767 <action function="set">tw_fm_text2=</action>
3768 <action function="set">tw_fm_text3=</action>
3769 <action function="set">tw_include_text3=0</action>
3770 <action function="set">tw_back=filemanageroptions</action>
3771 <action function="page">filemanagerchmod</action>
3772 </actions>
3773 </button>
3774
3775 <button style="main_button_half_width">
3776 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 <actions>
3779 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003781 <action function="set">tw_fm_text2=</action>
3782 <action function="set">tw_fm_text3=</action>
3783 <action function="set">tw_include_text3=0</action>
3784 <action function="set">tw_back=filemanageroptions</action>
3785 <action function="page">filemanagerconfirm</action>
3786 </actions>
3787 </button>
3788
3789 <button style="main_button_half_width">
3790 <condition var1="tw_fm_isfolder" var2="0"/>
3791 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 <actions>
3794 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003795 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003796 <action function="set">tw_filemanager_command=mv</action>
3797 <action function="page">filemanagerrenamefile</action>
3798 </actions>
3799 </button>
3800
3801 <button style="main_button_half_width">
3802 <condition var1="tw_fm_isfolder" var2="1"/>
3803 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003805 <actions>
3806 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003808 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3809 <action function="page">filemanagerrenamefolder</action>
3810 </actions>
3811 </button>
3812
3813 <action>
3814 <touch key="home"/>
3815 <action function="page">main</action>
3816 </action>
3817
3818 <action>
3819 <touch key="back"/>
3820 <action function="page">filemanagerlist</action>
3821 </action>
3822 </page>
3823
3824 <page name="choosedestinationfolder">
3825 <template name="page"/>
3826
3827 <text style="text_l">
3828 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003830 </text>
3831
3832 <text style="text_m">
3833 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 </text>
3836
3837 <template name="sort_options"/>
3838
3839 <fileselector>
3840 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3841 <text>%tw_file_location2%</text>
3842 <filter folders="1" files="0"/>
3843 <path name="tw_file_location2" default="/"/>
3844 <data name="tw_filename2"/>
3845 <selection name="tw_selection2"/>
3846 </fileselector>
3847
3848 <button style="main_button_half_width_low">
3849 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003850 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003851 <actions>
3852 <action function="set">tw_fm_text2=to</action>
3853 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3854 <action function="set">tw_include_text3=1</action>
3855 <action function="set">tw_back=filemanageroptions</action>
3856 <action function="page">filemanagerconfirm</action>
3857 </actions>
3858 </button>
3859
3860 <action>
3861 <touch key="home"/>
3862 <action function="page">main</action>
3863 </action>
3864
3865 <action>
3866 <touch key="back"/>
3867 <action function="page">filemanageroptions</action>
3868 </action>
3869 </page>
3870
3871 <page name="filemanagerrenamefile">
3872 <template name="page"/>
3873
3874 <text style="text_l">
3875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003877 </text>
3878
3879 <text style="text_m">
3880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003882 </text>
3883
3884 <text style="text_m_accent">
3885 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </text>
3888
3889 <input>
3890 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3891 <text>%tw_filemanager_rename%</text>
3892 <data name="tw_filemanager_rename"/>
3893 <restrict minlen="1" maxlen="128"/>
3894 <actions>
3895 <action function="set">tw_fm_text2=to</action>
3896 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3897 <action function="set">tw_include_text3=1</action>
3898 <action function="set">tw_back=filemanageroptions</action>
3899 <action function="page">filemanagerconfirm</action>
3900 </actions>
3901 </input>
3902
3903 <fill color="%accent_color%">
3904 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3905 </fill>
3906
3907 <button style="main_button_half_width_low">
3908 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003909 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003910 <action function="page">filemanageroptions</action>
3911 </button>
3912
3913 <template name="keyboardtemplate"/>
3914
3915 <action>
3916 <touch key="home"/>
3917 <action function="page">main</action>
3918 </action>
3919
3920 <action>
3921 <touch key="back"/>
3922 <action function="page">filemanageroptions</action>
3923 </action>
3924 </page>
3925
3926 <page name="filemanagerrenamefolder">
3927 <template name="page"/>
3928
3929 <text style="text_l">
3930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m">
3935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <text style="text_m_accent">
3940 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 </text>
3943
3944 <input>
3945 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3946 <text>%tw_filemanager_rename%</text>
3947 <data name="tw_filemanager_rename"/>
3948 <restrict minlen="1" maxlen="128"/>
3949 <actions>
3950 <action function="set">tw_fm_text2=to</action>
3951 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3952 <action function="set">tw_include_text3=1</action>
3953 <action function="set">tw_back=filemanageroptions</action>
3954 <action function="page">filemanagerconfirm</action>
3955 </actions>
3956 </input>
3957
3958 <fill color="%accent_color%">
3959 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3960 </fill>
3961
3962 <button style="main_button_half_width_low">
3963 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 <action function="page">filemanageroptions</action>
3966 </button>
3967
3968 <template name="keyboardtemplate"/>
3969
3970 <action>
3971 <touch key="home"/>
3972 <action function="page">main</action>
3973 </action>
3974
3975 <action>
3976 <touch key="back"/>
3977 <action function="page">filemanageroptions</action>
3978 </action>
3979 </page>
3980
3981 <page name="filemanagerchmod">
3982 <template name="page"/>
3983
3984 <text style="text_l">
3985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m">
3990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </text>
3993
3994 <text style="text_m_accent">
3995 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
3999 <input>
4000 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4001 <text>%tw_filemanager_rename%</text>
4002 <data name="tw_filemanager_rename"/>
4003 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4004 <actions>
4005 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4006 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4007 <action function="set">tw_back=filemanageroptions</action>
4008 <action function="page">filemanagerconfirm</action>
4009 </actions>
4010 </input>
4011
4012 <fill color="%accent_color%">
4013 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4014 </fill>
4015
4016 <button style="main_button_half_width_low">
4017 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004019 <action function="page">filemanageroptions</action>
4020 </button>
4021
4022 <template name="keyboardtemplate"/>
4023
4024 <action>
4025 <touch key="home"/>
4026 <action function="page">main</action>
4027 </action>
4028
4029 <action>
4030 <touch key="back"/>
4031 <action function="page">filemanageroptions</action>
4032 </action>
4033 </page>
4034
4035 <page name="filemanagerconfirm">
4036 <template name="page"/>
4037
4038 <text style="text_l">
4039 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 </text>
4042
4043 <text style="text_m">
4044 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <text style="text_m_accent">
4049 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4050 <text>%tw_fm_text1%</text>
4051 </text>
4052
4053 <text style="text_m">
4054 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4055 <text>%tw_filename1%</text>
4056 </text>
4057
4058 <text style="text_m_accent">
4059 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4060 <text>%tw_fm_text2%</text>
4061 </text>
4062
4063 <text style="text_m">
4064 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4065 <text>%tw_fm_text3%</text>
4066 </text>
4067
4068 <text style="text_m">
4069 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004071 </text>
4072
4073 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 <action function="page">filemanageraction</action>
4076 </slider>
4077
4078 <action>
4079 <touch key="back"/>
4080 <action function="page">%tw_back%</action>
4081 </action>
4082
4083 <action>
4084 <touch key="home"/>
4085 <action function="page">main</action>
4086 </action>
4087 </page>
4088
4089 <page name="filemanageraction">
4090 <template name="page"/>
4091
4092 <text style="text_l">
4093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <text style="text_m">
4098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4099 <text>%tw_fm_text1%</text>
4100 </text>
4101
4102 <template name="console"/>
4103
4104 <template name="progress_bar"/>
4105
4106 <action>
4107 <conditions>
4108 <condition var1="tw_operation_state" var2="1"/>
4109 <condition var1="tw_operation_status" var2="0"/>
4110 </conditions>
4111 <actions>
4112 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004113 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004114 <action function="page">action_complete</action>
4115 </actions>
4116 </action>
4117
4118 <action>
4119 <conditions>
4120 <condition var1="tw_operation_state" var2="1"/>
4121 <condition var1="tw_operation_status" op="!=" var2="0"/>
4122 </conditions>
4123 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004125 <action function="page">action_complete</action>
4126 </actions>
4127 </action>
4128
4129 <action>
4130 <condition var1="tw_include_text3" var2="0"/>
4131 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4132 </action>
4133
4134 <action>
4135 <condition var1="tw_include_text3" var2="1"/>
4136 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4137 </action>
4138 </page>
4139
4140 <page name="decrypt">
4141 <template name="page"/>
4142
4143 <action>
4144 <condition var1="tw_crypto_pwtype" var2="2"/>
4145 <action function="page">decrypt_pattern</action>
4146 </action>
4147
4148 <text style="text_l">
4149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m">
4154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <text style="text_m_accent">
4159 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 </text>
4162
4163 <input>
4164 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4165 <text>%tw_crypto_display%</text>
4166 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4167 <restrict minlen="1" maxlen="254"/>
4168 <action function="page">trydecrypt</action>
4169 </input>
4170
4171 <fill color="%accent_color%">
4172 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4173 </fill>
4174
4175 <fill color="%text_fail_color%">
4176 <condition var1="tw_password_fail" var2="1"/>
4177 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4178 </fill>
4179
4180 <text style="text_m_fail">
4181 <condition var1="tw_password_fail" var2="1"/>
4182 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004183 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004184 </text>
4185
4186 <button style="main_button_half_width_low">
4187 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004189 <actions>
4190 <action function="set">tw_page_done=1</action>
4191 <action function="page">main</action>
4192 </actions>
4193 </button>
4194
z31s1g608d7ff2016-01-18 19:47:25 +01004195 <button style="main_button_half_width_low">
4196 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4197 <text>{@sel_lang_btn=Select Language}</text>
4198 <action function="overlay">select_language</action>
4199 </button>
4200
z31s1g28f0a922015-11-07 18:50:22 +01004201 <template name="keyboardtemplate"/>
4202 </page>
4203
4204 <page name="decrypt_pattern">
4205 <template name="page"/>
4206
4207 <text style="text_l">
4208 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
4212 <text style="text_m">
4213 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004215 </text>
4216
4217 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004218 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004219 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004220 </text>
4221
Aleksa Saraib25a1832015-12-31 17:36:00 +01004222 <text style="text_m_fail">
4223 <condition var1="tw_password_fail" var2="1"/>
4224 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004225 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004226 </text>
4227
z31s1g28f0a922015-11-07 18:50:22 +01004228 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004229 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004230 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4231 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4232 <data name="tw_crypto_password"/>
4233 <action function="page">trydecrypt</action>
4234 </patternpassword>
4235
Aleksa Saraib25a1832015-12-31 17:36:00 +01004236 <button style="main_button_half_width_low">
4237 <placement x="%col_button_right%" y="%row1a_y%"/>
4238 <text>3x3</text>
4239 <action function="set">tw_gui_pattern_grid_size=3</action>
4240 </button>
4241
4242 <button style="main_button_half_width_low">
4243 <placement x="%col_button_right%" y="%row4a_y%"/>
4244 <text>4x4</text>
4245 <action function="set">tw_gui_pattern_grid_size=4</action>
4246 </button>
4247
4248 <button style="main_button_half_width_low">
4249 <placement x="%col_button_right%" y="%row7a_y%"/>
4250 <text>5x5</text>
4251 <action function="set">tw_gui_pattern_grid_size=5</action>
4252 </button>
4253
4254 <button style="main_button_half_width_low">
4255 <placement x="%col_button_right%" y="%row10a_y%"/>
4256 <text>6x6</text>
4257 <action function="set">tw_gui_pattern_grid_size=6</action>
4258 </button>
4259
z31s1g28f0a922015-11-07 18:50:22 +01004260 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004261 <placement x="%col1_x_right%" y="%row15a_y%"/>
4262 <text>{@sel_lang_btn=Select Language}</text>
4263 <action function="overlay">select_language</action>
4264 </button>
4265
4266 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004267 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004269 <actions>
4270 <action function="set">tw_page_done=1</action>
4271 <action function="page">main</action>
4272 </actions>
4273 </button>
4274 </page>
4275
4276 <page name="trydecrypt">
4277 <template name="page"/>
4278
4279 <text style="text_l">
4280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004281 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004282 </text>
4283
4284 <text style="text_m">
4285 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004286 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004287 </text>
4288
4289 <template name="console"/>
4290
4291 <template name="progress_bar"/>
4292
4293 <action>
4294 <action function="decrypt"/>
4295 </action>
4296
4297 <action>
4298 <conditions>
4299 <condition var1="tw_operation_state" var2="1"/>
4300 <condition var1="tw_operation_status" op="!=" var2="0"/>
4301 </conditions>
4302 <actions>
4303 <action function="set">tw_password_fail=1</action>
4304 <action function="page">decrypt</action>
4305 </actions>
4306 </action>
4307
4308 <action>
4309 <conditions>
4310 <condition var1="tw_operation_state" var2="1"/>
4311 <condition var1="tw_operation_status" op="=" var2="0"/>
4312 </conditions>
4313 <actions>
4314 <action function="set">tw_page_done=1</action>
4315 <action function="page">main</action>
4316 </actions>
4317 </action>
4318 </page>
4319
z31s1g28f0a922015-11-07 18:50:22 +01004320 <page name="terminalcommand">
4321 <template name="page"/>
4322
4323 <fill color="%background_color%">
4324 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4325 </fill>
4326
z31s1g56189522016-01-13 19:12:40 +01004327 <terminal>
4328 <condition var1="tw_hide_kb" var2="0"/>
4329 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4330 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004331
z31s1g56189522016-01-13 19:12:40 +01004332 <terminal>
4333 <condition var1="tw_hide_kb" var2="1"/>
4334 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4335 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004336
z31s1g56189522016-01-13 19:12:40 +01004337 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004338
z31s1g56189522016-01-13 19:12:40 +01004339 <object type="fill" color="#000000">
4340 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4341 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004342
z31s1g608d7ff2016-01-18 19:47:25 +01004343 <button>
z31s1g56189522016-01-13 19:12:40 +01004344 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4345 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4346 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4347 <image resource="back" />
4348 <condition var1="tw_busy" var2="0" />
4349 <actions>
4350 <action function="set">tw_hide_kb=0</action>
4351 <action function="page">advanced</action>
4352 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004353 </button>
z31s1g56189522016-01-13 19:12:40 +01004354
z31s1g608d7ff2016-01-18 19:47:25 +01004355 <button>
z31s1g56189522016-01-13 19:12:40 +01004356 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4357 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4358 <condition var1="tw_hide_kb" op="=" var2="0" />
4359 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4360 <image resource="kb_hide" />
4361 <condition var1="tw_busy" var2="0" />
4362 <actions>
4363 <action function="set">tw_hide_kb=1</action>
4364 <action function="page">terminalcommand</action>
4365 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004366 </button>
z31s1g56189522016-01-13 19:12:40 +01004367
z31s1g608d7ff2016-01-18 19:47:25 +01004368 <button>
z31s1g56189522016-01-13 19:12:40 +01004369 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4370 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4371 <condition var1="tw_hide_kb" op="=" var2="1" />
4372 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4373 <image resource="kb_show" />
4374 <condition var1="tw_busy" var2="0" />
4375 <actions>
4376 <action function="set">tw_hide_kb=0</action>
4377 <action function="page">terminalcommand</action>
4378 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004379 </button>
z31s1g56189522016-01-13 19:12:40 +01004380
z31s1g608d7ff2016-01-18 19:47:25 +01004381 <button>
z31s1g56189522016-01-13 19:12:40 +01004382 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4383 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4384 <image resource="home" />
4385 <condition var1="tw_busy" var2="0" />
4386 <actions>
4387 <action function="set">tw_hide_kb=0</action>
4388 <action function="key">home</action>
4389 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004390 </button>
z31s1g56189522016-01-13 19:12:40 +01004391
z31s1g608d7ff2016-01-18 19:47:25 +01004392 <button>
z31s1g56189522016-01-13 19:12:40 +01004393 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4394 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4395 <condition var1="tw_hide_kb" op="=" var2="0" />
4396 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4397 <image resource="kb_hide" />
4398 <condition var1="tw_busy" var2="0" />
4399 <actions>
4400 <action function="set">tw_hide_kb=1</action>
4401 <action function="page">terminalcommand</action>
4402 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004403 </button>
z31s1g56189522016-01-13 19:12:40 +01004404
z31s1g608d7ff2016-01-18 19:47:25 +01004405 <button>
z31s1g56189522016-01-13 19:12:40 +01004406 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4407 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4408 <condition var1="tw_hide_kb" op="=" var2="1" />
4409 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4410 <image resource="kb_show" />
4411 <condition var1="tw_busy" var2="0" />
4412 <actions>
4413 <action function="set">tw_hide_kb=0</action>
4414 <action function="page">terminalcommand</action>
4415 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004416 </button>
z31s1g56189522016-01-13 19:12:40 +01004417
z31s1g608d7ff2016-01-18 19:47:25 +01004418 <button>
z31s1g56189522016-01-13 19:12:40 +01004419 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4420 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4421 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4422 <image resource="back" />
4423 <condition var1="tw_busy" var2="0" />
4424 <actions>
4425 <action function="set">tw_hide_kb=0</action>
4426 <action function="page">advanced</action>
4427 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004428 </button>
z31s1g56189522016-01-13 19:12:40 +01004429
z31s1g608d7ff2016-01-18 19:47:25 +01004430 <button>
z31s1g56189522016-01-13 19:12:40 +01004431 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4432 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4433 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4434 <image resource="back" />
4435 <condition var1="tw_busy" var2="0" />
4436 <actions>
4437 <action function="set">tw_hide_kb=0</action>
4438 <action function="page">advanced</action>
4439 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004440 </button>
z31s1g56189522016-01-13 19:12:40 +01004441
z31s1g608d7ff2016-01-18 19:47:25 +01004442 <button>
z31s1g56189522016-01-13 19:12:40 +01004443 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4444 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4445 <condition var1="tw_hide_kb" op="=" var2="0" />
4446 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4447 <image resource="kb_hide" />
4448 <condition var1="tw_busy" var2="0" />
4449 <actions>
4450 <action function="set">tw_hide_kb=1</action>
4451 <action function="page">terminalcommand</action>
4452 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004453 </button>
z31s1g56189522016-01-13 19:12:40 +01004454
z31s1g608d7ff2016-01-18 19:47:25 +01004455 <button>
z31s1g56189522016-01-13 19:12:40 +01004456 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4457 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4458 <condition var1="tw_hide_kb" op="=" var2="1" />
4459 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4460 <image resource="kb_show" />
4461 <condition var1="tw_busy" var2="0" />
4462 <actions>
4463 <action function="set">tw_hide_kb=0</action>
4464 <action function="page">terminalcommand</action>
4465 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004466 </button>
z31s1g56189522016-01-13 19:12:40 +01004467
z31s1g608d7ff2016-01-18 19:47:25 +01004468 <button>
z31s1g56189522016-01-13 19:12:40 +01004469 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4470 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4471 <image resource="home" />
4472 <condition var1="tw_busy" var2="0" />
4473 <actions>
4474 <action function="set">tw_hide_kb=0</action>
4475 <action function="key">home</action>
4476 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004477 </button>
z31s1g56189522016-01-13 19:12:40 +01004478
z31s1g608d7ff2016-01-18 19:47:25 +01004479 <button>
z31s1g56189522016-01-13 19:12:40 +01004480 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4481 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4482 <condition var1="tw_hide_kb" op="=" var2="0" />
4483 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4484 <image resource="kb_hide" />
4485 <condition var1="tw_busy" var2="0" />
4486 <actions>
4487 <action function="set">tw_hide_kb=1</action>
4488 <action function="page">terminalcommand</action>
4489 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004490 </button>
z31s1g56189522016-01-13 19:12:40 +01004491
z31s1g608d7ff2016-01-18 19:47:25 +01004492 <button>
z31s1g56189522016-01-13 19:12:40 +01004493 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4494 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4495 <condition var1="tw_hide_kb" op="=" var2="1" />
4496 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4497 <image resource="kb_show" />
4498 <condition var1="tw_busy" var2="0" />
4499 <actions>
4500 <action function="set">tw_hide_kb=0</action>
4501 <action function="page">terminalcommand</action>
4502 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004503 </button>
z31s1g56189522016-01-13 19:12:40 +01004504
z31s1g608d7ff2016-01-18 19:47:25 +01004505 <button>
z31s1g56189522016-01-13 19:12:40 +01004506 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4507 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4508 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4509 <image resource="back" />
4510 <condition var1="tw_busy" var2="0" />
4511 <actions>
4512 <action function="set">tw_hide_kb=0</action>
4513 <action function="page">advanced</action>
4514 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004515 </button>
z31s1g56189522016-01-13 19:12:40 +01004516
z31s1g608d7ff2016-01-18 19:47:25 +01004517 <button>
z31s1g56189522016-01-13 19:12:40 +01004518 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4519 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4520 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4521 <image resource="back" />
4522 <condition var1="tw_busy" var2="0" />
4523 <actions>
4524 <action function="set">tw_hide_kb=0</action>
4525 <action function="page">advanced</action>
4526 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004527 </button>
z31s1g56189522016-01-13 19:12:40 +01004528
z31s1g608d7ff2016-01-18 19:47:25 +01004529 <button>
z31s1g56189522016-01-13 19:12:40 +01004530 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4531 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4532 <condition var1="tw_hide_kb" op="=" var2="0" />
4533 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4534 <image resource="kb_hide" />
4535 <condition var1="tw_busy" var2="0" />
4536 <actions>
4537 <action function="set">tw_hide_kb=1</action>
4538 <action function="page">terminalcommand</action>
4539 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004540 </button>
z31s1g56189522016-01-13 19:12:40 +01004541
z31s1g608d7ff2016-01-18 19:47:25 +01004542 <button>
z31s1g56189522016-01-13 19:12:40 +01004543 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4544 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4545 <condition var1="tw_hide_kb" op="=" var2="1" />
4546 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4547 <image resource="kb_show" />
4548 <condition var1="tw_busy" var2="0" />
4549 <actions>
4550 <action function="set">tw_hide_kb=0</action>
4551 <action function="page">terminalcommand</action>
4552 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004553 </button>
z31s1g56189522016-01-13 19:12:40 +01004554
z31s1g608d7ff2016-01-18 19:47:25 +01004555 <button>
z31s1g56189522016-01-13 19:12:40 +01004556 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4557 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4558 <image resource="home" />
4559 <condition var1="tw_busy" var2="0" />
4560 <actions>
4561 <action function="set">tw_hide_kb=0</action>
4562 <action function="key">home</action>
4563 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004564 </button>
z31s1g56189522016-01-13 19:12:40 +01004565
z31s1g608d7ff2016-01-18 19:47:25 +01004566 <button>
z31s1g56189522016-01-13 19:12:40 +01004567 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4568 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4569 <condition var1="tw_hide_kb" op="=" var2="0" />
4570 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4571 <image resource="kb_hide" />
4572 <condition var1="tw_busy" var2="0" />
4573 <actions>
4574 <action function="set">tw_hide_kb=1</action>
4575 <action function="page">terminalcommand</action>
4576 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004577 </button>
z31s1g56189522016-01-13 19:12:40 +01004578
z31s1g608d7ff2016-01-18 19:47:25 +01004579 <button>
z31s1g56189522016-01-13 19:12:40 +01004580 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4581 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4582 <condition var1="tw_hide_kb" op="=" var2="1" />
4583 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4584 <image resource="kb_show" />
4585 <condition var1="tw_busy" var2="0" />
4586 <actions>
4587 <action function="set">tw_hide_kb=0</action>
4588 <action function="page">terminalcommand</action>
4589 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004590 </button>
z31s1g56189522016-01-13 19:12:40 +01004591
z31s1g608d7ff2016-01-18 19:47:25 +01004592 <button>
z31s1g56189522016-01-13 19:12:40 +01004593 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4594 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4595 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4596 <image resource="back" />
4597 <condition var1="tw_busy" var2="0" />
4598 <actions>
4599 <action function="set">tw_hide_kb=0</action>
4600 <action function="page">advanced</action>
4601 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004602 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004603
4604 <action>
4605 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004606 <actions>
4607 <action function="page">main</action>
4608 <action function="set">tw_hide_kb=0</action>
4609 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004610 </action>
4611
4612 <action>
4613 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004614 <actions>
4615 <action function="page">advanced</action>
4616 <action function="set">tw_hide_kb=0</action>
4617 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </action>
z31s1g56189522016-01-13 19:12:40 +01004619
4620 <object type="action">
4621 <touch key="power+voldown" />
4622 <action function="screenshot" />
4623 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </page>
4625
4626 <page name="sideload">
4627 <template name="page"/>
4628
4629 <text style="text_l">
4630 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <text style="text_m">
4635 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004637 </text>
4638
4639 <checkbox>
4640 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 <data variable="tw_wipe_dalvik"/>
4643 </checkbox>
4644
4645 <checkbox>
4646 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004648 <data variable="tw_wipe_cache"/>
4649 </checkbox>
4650
4651 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004652 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004653 <actions>
4654 <action function="set">tw_back=advanced</action>
4655 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004656 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4657 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4658 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004659 <action function="set">tw_has_cancel=1</action>
4660 <action function="set">tw_show_reboot=1</action>
4661 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4662 <action function="page">action_page</action>
4663 </actions>
4664 </slider>
4665
4666 <action>
4667 <touch key="home"/>
4668 <action function="page">main</action>
4669 </action>
4670
4671 <action>
4672 <touch key="back"/>
4673 <action function="page">advanced</action>
4674 </action>
4675 </page>
4676
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004677 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004678 <template name="page"/>
4679
4680 <text style="text_l">
4681 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <text style="text_m">
4686 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004687 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 </text>
4689
4690 <text style="text_m_accent">
4691 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004692 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 </text>
4694
z31s1g28f0a922015-11-07 18:50:22 +01004695 <text style="text_m_fail">
4696 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004697 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 </text>
4699
4700 <text style="text_m_fail">
4701 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004702 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004703 </text>
4704
4705 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004706 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 <actions>
4708 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004709 <action function="set">tw_action=fixcontexts</action>
4710 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4711 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004713 <action function="set">tw_show_reboot=1</action>
4714 <action function="page">action_page</action>
4715 </actions>
4716 </slider>
4717
4718 <action>
4719 <touch key="home"/>
4720 <action function="page">main</action>
4721 </action>
4722
4723 <action>
4724 <touch key="back"/>
4725 <action function="page">advanced</action>
4726 </action>
4727 </page>
4728
z31s1g28f0a922015-11-07 18:50:22 +01004729 <page name="slideout">
4730 <fill color="%background_color%">
4731 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4732 </fill>
4733
4734 <console>
4735 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4736 </console>
4737
4738 <button>
4739 <fill color="%transparent%"/>
4740 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4741 <action function="overlay"/>
4742 </button>
4743
4744 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004745 <touch key="power"/>
4746 <action function="togglebacklight"/>
4747 </action>
4748
4749 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004750 <touch key="power+voldown"/>
4751 <action function="screenshot"/>
4752 </action>
4753 </page>
4754
4755 <page name="select_storage">
4756 <fill color="%semi_transparent%">
4757 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4758 </fill>
4759
4760 <fill color="%background_color%">
4761 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4762 </fill>
4763
4764 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004765 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004766 <data name="tw_storage_path"/>
4767 <listtype name="storage"/>
4768 </partitionlist>
4769
4770 <button style="button_third_width">
4771 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004772 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004773 <actions>
4774 <action function="set">tw_clear_destination=%tw_back%</action>
4775 <action function="overlay"/>
4776 <action function="page">clear_vars</action>
4777 </actions>
4778 </button>
4779
4780 <fill color="#000000">
4781 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4782 </fill>
4783
4784 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004785 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4786 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4787 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4788 <image resource="back" />
4789 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004790 <actions>
4791 <action function="overlay"/>
4792 <action function="key">%tw_back%</action>
4793 </actions>
4794 </button>
4795
4796 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004797 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4798 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4799 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4800 <image resource="console" />
4801 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004802 <action function="overlay">slideout</action>
4803 </button>
4804
4805 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004806 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4807 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4808 <image resource="home" />
4809 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004810 <actions>
4811 <action function="overlay"/>
4812 <action function="key">home</action>
4813 </actions>
4814 </button>
4815
4816 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004817 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4818 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4819 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4820 <image resource="console" />
4821 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004822 <action function="overlay">slideout</action>
4823 </button>
4824
4825 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004826 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4827 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4828 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4829 <image resource="back" />
4830 <condition var1="tw_busy" var2="0" />
4831 <actions>
4832 <action function="overlay"/>
4833 <action function="key">%tw_back%</action>
4834 </actions>
4835 </button>
4836
4837 <button>
4838 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4839 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4840 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4841 <image resource="back" />
4842 <condition var1="tw_busy" var2="0" />
4843 <actions>
4844 <action function="overlay"/>
4845 <action function="key">%tw_back%</action>
4846 </actions>
4847 </button>
4848
4849 <button>
4850 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4851 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4852 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4853 <image resource="console" />
4854 <condition var1="tw_busy" var2="0" />
4855 <action function="overlay">slideout</action>
4856 </button>
4857
4858 <button>
4859 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4860 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4861 <image resource="home" />
4862 <condition var1="tw_busy" var2="0" />
4863 <actions>
4864 <action function="overlay"/>
4865 <action function="key">home</action>
4866 </actions>
4867 </button>
4868
4869 <button>
4870 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4871 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4872 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4873 <image resource="console" />
4874 <condition var1="tw_busy" var2="0" />
4875 <action function="overlay">slideout</action>
4876 </button>
4877
4878 <button>
4879 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4880 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4881 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4882 <image resource="back" />
4883 <condition var1="tw_busy" var2="0" />
4884 <actions>
4885 <action function="overlay"/>
4886 <action function="key">%tw_back%</action>
4887 </actions>
4888 </button>
4889
4890 <button>
4891 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4892 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4893 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4894 <image resource="back" />
4895 <condition var1="tw_busy" var2="0" />
4896 <actions>
4897 <action function="overlay"/>
4898 <action function="key">%tw_back%</action>
4899 </actions>
4900 </button>
4901
4902 <button>
4903 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4904 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4905 <placement x="%back_button_x_2%" 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 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4913 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4914 <image resource="home" />
4915 <condition var1="tw_busy" var2="0" />
4916 <actions>
4917 <action function="overlay"/>
4918 <action function="key">home</action>
4919 </actions>
4920 </button>
4921
4922 <button>
4923 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4924 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4925 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4926 <image resource="console" />
4927 <condition var1="tw_busy" var2="0" />
4928 <action function="overlay">slideout</action>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4933 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4934 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4935 <image resource="back" />
4936 <condition var1="tw_busy" var2="0" />
4937 <actions>
4938 <action function="overlay"/>
4939 <action function="key">%tw_back%</action>
4940 </actions>
4941 </button>
4942
4943 <action>
4944 <touch key="power+voldown"/>
4945 <action function="screenshot"/>
4946 </action>
4947 </page>
4948
4949 <page name="select_language">
4950 <fill color="%semi_transparent%">
4951 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4952 </fill>
4953
4954 <fill color="%background_color%">
4955 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4956 </fill>
4957
4958 <listbox>
4959 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4960 <text>{@select_language=Select Language:}</text>
4961 <icon selected="radio_true" unselected="radio_false" />
4962 <data name="tw_language" />
4963 </listbox>
4964
4965 <button style="button_third_width">
4966 <placement x="%dialog_button_x%" y="%row13_y%"/>
4967 <text>{@ok_btn=OK}</text>
4968 <actions>
4969 <action function="overlay"/>
4970 <action function="setlanguage"></action>
4971 </actions>
4972 </button>
4973
4974 <fill color="#000000">
4975 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4976 </fill>
4977
4978 <button>
4979 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4980 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4981 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4982 <image resource="back" />
4983 <condition var1="tw_busy" var2="0" />
4984 <actions>
4985 <action function="overlay"/>
4986 <action function="key">%tw_back%</action>
4987 </actions>
4988 </button>
4989
4990 <button>
4991 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4992 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4993 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4994 <image resource="console" />
4995 <condition var1="tw_busy" var2="0" />
4996 <action function="overlay">slideout</action>
4997 </button>
4998
4999 <button>
5000 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5001 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5002 <image resource="home" />
5003 <condition var1="tw_busy" var2="0" />
5004 <actions>
5005 <action function="overlay"/>
5006 <action function="key">home</action>
5007 </actions>
5008 </button>
5009
5010 <button>
5011 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5012 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5013 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5014 <image resource="console" />
5015 <condition var1="tw_busy" var2="0" />
5016 <action function="overlay">slideout</action>
5017 </button>
5018
5019 <button>
5020 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5021 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5022 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5023 <image resource="back" />
5024 <condition var1="tw_busy" var2="0" />
5025 <actions>
5026 <action function="overlay"/>
5027 <action function="key">%tw_back%</action>
5028 </actions>
5029 </button>
5030
5031 <button>
5032 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5033 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5034 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5035 <image resource="back" />
5036 <condition var1="tw_busy" var2="0" />
5037 <actions>
5038 <action function="overlay"/>
5039 <action function="key">%tw_back%</action>
5040 </actions>
5041 </button>
5042
5043 <button>
5044 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5045 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5046 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5047 <image resource="console" />
5048 <condition var1="tw_busy" var2="0" />
5049 <action function="overlay">slideout</action>
5050 </button>
5051
5052 <button>
5053 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5054 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5055 <image resource="home" />
5056 <condition var1="tw_busy" var2="0" />
5057 <actions>
5058 <action function="overlay"/>
5059 <action function="key">home</action>
5060 </actions>
5061 </button>
5062
5063 <button>
5064 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5065 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5066 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5067 <image resource="console" />
5068 <condition var1="tw_busy" var2="0" />
5069 <action function="overlay">slideout</action>
5070 </button>
5071
5072 <button>
5073 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5074 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5075 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5076 <image resource="back" />
5077 <condition var1="tw_busy" var2="0" />
5078 <actions>
5079 <action function="overlay"/>
5080 <action function="key">%tw_back%</action>
5081 </actions>
5082 </button>
5083
5084 <button>
5085 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5086 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5087 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5088 <image resource="back" />
5089 <condition var1="tw_busy" var2="0" />
5090 <actions>
5091 <action function="overlay"/>
5092 <action function="key">%tw_back%</action>
5093 </actions>
5094 </button>
5095
5096 <button>
5097 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5098 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5099 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5100 <image resource="console" />
5101 <condition var1="tw_busy" var2="0" />
5102 <action function="overlay">slideout</action>
5103 </button>
5104
5105 <button>
5106 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5107 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5108 <image resource="home" />
5109 <condition var1="tw_busy" var2="0" />
5110 <actions>
5111 <action function="overlay"/>
5112 <action function="key">home</action>
5113 </actions>
5114 </button>
5115
5116 <button>
5117 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5118 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5119 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5120 <image resource="console" />
5121 <condition var1="tw_busy" var2="0" />
5122 <action function="overlay">slideout</action>
5123 </button>
5124
5125 <button>
5126 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5127 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5128 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5129 <image resource="back" />
5130 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005131 <actions>
5132 <action function="overlay"/>
5133 <action function="key">%tw_back%</action>
5134 </actions>
5135 </button>
5136
5137 <action>
5138 <touch key="power+voldown"/>
5139 <action function="screenshot"/>
5140 </action>
5141 </page>
5142 </pages>
5143</recovery>