blob: 6df886256f5f42e46937d220f879cc928741f4c9 [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">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500530 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500532 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100533 <actions>
534 <action function="set">tw_back=flash_done</action>
535 <action function="set">tw_action=wipe</action>
536 <action function="set">tw_action_param=/cache</action>
537 <action function="set">tw_has_action2=1</action>
538 <action function="set">tw_action2=wipe</action>
539 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500540 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
541 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
542 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
543 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100544 <action function="page">confirm_action</action>
545 </actions>
546 </button>
547
548 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500549 <condition var1="tw_ab_device" var2="1"/>
550 <placement x="%indent%" y="%row21a_y%"/>
551 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
552 <actions>
553 <action function="set">tw_back=flash_done</action>
554 <action function="set">tw_action=wipe</action>
555 <action function="set">tw_action_param=dalvik</action>
556 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
557 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
558 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
559 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
560 <action function="page">confirm_action</action>
561 </actions>
562 </button>
563
564 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +0100565 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500566 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100567 <actions>
568 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500569 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100570 </actions>
571 </button>
572
573 <action>
574 <touch key="back"/>
575 <actions>
576 <action function="set">tw_clear_destination=install</action>
577 <action function="page">clear_vars</action>
578 </actions>
579 </action>
580
581 <action>
582 <touch key="home"/>
583 <actions>
584 <action function="set">tw_clear_destination=main2</action>
585 <action function="page">clear_vars</action>
586 </actions>
587 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500588
589 <action>
590 <conditions>
591 <condition var1="tw_install_reboot" var2="1"/>
592 <condition var1="tw_operation_status" var2="0"/>
593 <condition var1="tw_reboot_system" var2="1"/>
594 </conditions>
595 <actions>
596 <action function="set">tw_sleep=%tw_sleep_total%</action>
597 <action function="page">flash_sleep_and_reboot</action>
598 </actions>
599 </action>
600 </page>
601
602 <page name="flash_sleep_and_reboot">
603 <template name="page"/>
604
605 <text style="text_l">
606 <placement x="%col1_x_header%" y="%row3_header_y%"/>
607 <text>{@install_zip_hdr=Install Zip}</text>
608 </text>
609
610 <text style="text_m">
611 <placement x="%col1_x_header%" y="%row4_header_y%"/>
612 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
613 </text>
614
615 <template name="console"/>
616
617 <template name="progress_bar"/>
618
619 <button style="main_button_half_width">
620 <condition var1="tw_sleep" op="&gt;" var2="0"/>
621 <placement x="%center_x%" y="%row15a_y%"/>
622 <text>{@cancel_btn=Cancel}</text>
623 <actions>
624 <action function="set">tw_install_reboot=0</action>
625 <action function="page">flash_done</action>
626 </actions>
627 </button>
628
629 <action>
630 <conditions>
631 <condition var1="tw_sleep" var2="tw_sleep_total"/>
632 <condition var1="tw_install_reboot" var2="1"/>
633 </conditions>
634 <action function="sleepcounter">%tw_sleep_total%</action>
635 </action>
636
637 <action>
638 <conditions>
639 <condition var1="tw_sleep" var2="0"/>
640 <condition var1="tw_install_reboot" var2="1"/>
641 </conditions>
642 <actions>
643 <action function="sleep">50000</action>
644 <action function="set">tw_back=main2</action>
645 <action function="page">reboot_system_routine</action>
646 </actions>
647 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100648 </page>
649
650 <page name="flashimage_confirm">
651 <template name="page"/>
652
653 <text style="text_l">
654 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500655 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100656 </text>
657
658 <text style="text_m">
659 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500660 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100661 </text>
662
663 <text style="text_m_accent">
664 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 </text>
667
668 <text style="text_m">
669 <placement x="%col1_x_left%" y="%row9_y%"/>
670 <text>%tw_zip_location%</text>
671 </text>
672
673 <text style="text_m_accent">
674 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500675 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100676 </text>
677
678 <text style="text_m">
679 <placement x="%col1_x_left%" y="%row12_y%"/>
680 <text>%tw_file%</text>
681 </text>
682
683 <partitionlist>
684 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
685 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500686 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 <data name="tw_flash_partition"/>
688 <listtype name="flashimg"/>
689 </partitionlist>
690
691 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500692 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100693 <actions>
694 <action function="set">tw_back=flashimage_confirm</action>
695 <action function="set">tw_action=flashimage</action>
696 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500697 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100698 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500699 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100700 <action function="page">action_page</action>
701 </actions>
702 <action function="flashimage"/>
703 </slider>
704
705 <action>
706 <touch key="back"/>
707 <actions>
708 <action function="set">tw_clear_destination=install</action>
709 <action function="page">clear_vars</action>
710 </actions>
711 </action>
712
713 <action>
714 <touch key="home"/>
715 <actions>
716 <action function="set">tw_clear_destination=main2</action>
717 <action function="page">clear_vars</action>
718 </actions>
719 </action>
720 </page>
721
722 <page name="clear_vars">
723 <action>
724 <action function="set">tw_operation_state=0</action>
725 <action function="set">tw_text1=</action>
726 <action function="set">tw_text2=</action>
727 <action function="set">tw_text3=</action>
728 <action function="set">tw_text4=</action>
729 <action function="set">tw_action_text1=</action>
730 <action function="set">tw_action_text2=</action>
731 <action function="set">tw_action_param=</action>
732 <action function="set">tw_has_action2=0</action>
733 <action function="set">tw_action2=</action>
734 <action function="set">tw_action2_param=</action>
735 <action function="set">tw_has_cancel=0</action>
736 <action function="set">tw_cancel_action=</action>
737 <action function="set">tw_cancel_param=</action>
738 <action function="set">tw_show_exclamation=0</action>
739 <action function="set">tw_show_reboot=0</action>
740 <action function="page">%tw_clear_destination%</action>
741 </action>
742 </page>
743
Matt Mower908dd252016-05-25 02:26:50 -0500744 <page name="reboot_system_routine">
745 <action>
746 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500747 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500748 <action function="set">tw_has_action2=0</action>
749 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
750 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
751 <action function="set">tw_text3=</action>
752 <action function="set">tw_text4=</action>
753 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
754 <action function="set">tw_action_text2=</action>
755 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
756 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
757 <action function="page">rebootcheck</action>
758 </action>
759 </page>
760
z31s1g28f0a922015-11-07 18:50:22 +0100761 <page name="confirm_action">
762 <template name="page"/>
763
764 <text style="text_l">
765 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500766 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100767 </text>
768
769 <text style="text_m">
770 <placement x="%col1_x_header%" y="%row4_header_y%"/>
771 <text/>
772 </text>
773
774 <text style="text_m_accent">
775 <placement x="%center_x%" y="%row2_y%" placement="5"/>
776 <text>%tw_text1%</text>
777 </text>
778
779 <text style="text_m_accent">
780 <placement x="%center_x%" y="%row3_y%" placement="5"/>
781 <text>%tw_text2%</text>
782 </text>
783
784 <text style="text_m">
785 <placement x="%center_x%" y="%row4_y%" placement="5"/>
786 <text>%tw_text3%</text>
787 </text>
788
789 <text style="text_m">
790 <placement x="%center_x%" y="%row5_y%" placement="5"/>
791 <text>%tw_text4%</text>
792 </text>
793
794 <text style="text_m">
795 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500796 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100797 </text>
798
799 <slider style="slider_centered">
800 <text>%tw_slider_text%</text>
801 <action function="page">action_page</action>
802 </slider>
803
804 <action>
805 <touch key="back"/>
806 <actions>
807 <action function="set">tw_clear_destination=%tw_back%</action>
808 <action function="page">clear_vars</action>
809 </actions>
810 </action>
811
812 <action>
813 <touch key="home"/>
814 <action function="page">main</action>
815 </action>
816 </page>
817
818 <page name="action_page">
819 <template name="page"/>
820
821 <text style="text_l">
822 <placement x="%col1_x_header%" y="%row3_header_y%"/>
823 <text>%tw_action_text1%</text>
824 </text>
825
826 <text style="text_m">
827 <placement x="%col1_x_header%" y="%row4_header_y%"/>
828 <text>%tw_action_text2%</text>
829 </text>
830
831 <template name="console"/>
832
833 <template name="progress_bar"/>
834
835 <button style="main_button_half_width">
836 <condition var1="tw_has_cancel" var2="1"/>
837 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500838 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100839 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
840 </button>
841
842 <action>
843 <condition var1="tw_operation_state" var2="1"/>
844 <actions>
845 <action function="page">action_complete</action>
846 </actions>
847 </action>
848
849 <action>
850 <condition var1="tw_has_action2" var2="0"/>
851 <actions>
852 <action function="%tw_action%">%tw_action_param%</action>
853 </actions>
854 </action>
855
856 <action>
857 <condition var1="tw_has_action2" var2="1"/>
858 <actions>
859 <action function="%tw_action%">%tw_action_param%</action>
860 <action function="%tw_action2%">%tw_action2_param%</action>
861 </actions>
862 </action>
863 </page>
864
865 <page name="singleaction_page">
866 <template name="page"/>
867
868 <text style="text_l">
869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
870 <text>%tw_action_text1%</text>
871 </text>
872
873 <text style="text_m">
874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
875 <text>%tw_action_text2%</text>
876 </text>
877
878 <template name="console"/>
879
880 <template name="progress_bar"/>
881
882 <action>
883 <condition var1="tw_operation_state" var2="1"/>
884 <actions>
885 <action function="set">tw_page_done=1</action>
886 </actions>
887 </action>
888
889 <action>
890 <condition var1="tw_has_action2" var2="0"/>
891 <actions>
892 <action function="%tw_action%">%tw_action_param%</action>
893 </actions>
894 </action>
895
896 <action>
897 <condition var1="tw_has_action2" var2="1"/>
898 <actions>
899 <action function="%tw_action%">%tw_action_param%</action>
900 <action function="%tw_action2%">%tw_action2_param%</action>
901 </actions>
902 </action>
903 </page>
904
905 <page name="action_complete">
906 <template name="page"/>
907
908 <text style="text_l">
909 <placement x="%col1_x_header%" y="%row3_header_y%"/>
910 <text>%tw_complete_text1%</text>
911 </text>
912
913 <text style="text_m_fail">
914 <condition var1="tw_operation_status" op="!=" var2="0"/>
915 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500916 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100917 </text>
918
919 <text style="text_m">
920 <condition var1="tw_operation_status" var2="0"/>
921 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <template name="console"/>
926
927 <button style="main_button_half_width">
928 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500929 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100930 <actions>
931 <action function="set">tw_clear_destination=%tw_back%</action>
932 <action function="page">clear_vars</action>
933 </actions>
934 </button>
935
936 <button style="main_button_half_width">
937 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 <actions>
940 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500941 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100942 </actions>
943 </button>
944
945 <action>
946 <touch key="home"/>
947 <actions>
948 <action function="set">tw_clear_destination=main2</action>
949 <action function="page">clear_vars</action>
950 </actions>
951 </action>
952
953 <action>
954 <touch key="back"/>
955 <actions>
956 <action function="set">tw_clear_destination=%tw_back%</action>
957 <action function="page">clear_vars</action>
958 </actions>
959 </action>
960 </page>
961
962 <page name="filecheck">
963 <action>
964 <action function="fileexists">%tw_filecheck%</action>
965 </action>
966
967 <action>
968 <conditions>
969 <condition var1="tw_operation_state" var2="1"/>
970 <condition var1="tw_operation_status" var2="0"/>
971 </conditions>
972 <actions>
973 <action function="set">tw_fileexists=1</action>
974 <action function="page">%tw_existpage%</action>
975 </actions>
976 </action>
977
978 <action>
979 <conditions>
980 <condition var1="tw_operation_state" var2="1"/>
981 <condition var1="tw_operation_status" var2="1"/>
982 </conditions>
983 <actions>
984 <action function="set">tw_fileexists=0</action>
985 <action function="page">%tw_notexistpage%</action>
986 </actions>
987 </action>
988 </page>
989
990 <page name="rebootcheck">
991 <action>
992 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600993 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100994 </action>
995
996 <action>
997 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
998 <action function="page">confirm_action</action>
999 </action>
1000 </page>
1001
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001002 <page name="appcheck">
1003 <action>
1004 <condition var1="tw_app_prompt" var2="1"/>
1005 <action function="checkforapp"></action>
1006 </action>
1007
1008 <action>
1009 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1010 <action function="reboot">%tw_reboot_param%</action>
1011 </action>
1012
1013 <action>
1014 <condition var1="tw_app_install_status" var2="1"/>
1015 <action function="page">rebootapp</action>
1016 </action>
1017
1018 <action>
1019 <condition var1="tw_app_install_status" var2="2"/>
1020 <action function="reboot">%tw_reboot_param%</action>
1021 </action>
1022 </page>
1023
z31s1g28f0a922015-11-07 18:50:22 +01001024 <page name="wipe">
1025 <template name="page"/>
1026
1027 <text style="text_l">
1028 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 </text>
1031
1032 <text style="text_m">
1033 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001035 </text>
1036
1037 <text style="text_m_accent">
1038 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001039 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001040 </text>
1041
1042 <text style="text_m_accent">
1043 <condition var1="tw_has_data_media" var2="1"/>
1044 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001045 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001046 </text>
1047
1048 <text style="text_m_accent">
1049 <conditions>
1050 <condition var1="tw_has_android_secure" var2="1"/>
1051 <condition var1="fileexists" var2="/and-sec"/>
1052 </conditions>
1053 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001054 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </text>
1056
1057 <text style="text_m_accent">
1058 <condition var1="tw_has_sdext_partition" var2="1"/>
1059 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001061 </text>
1062
1063 <text style="text_m">
1064 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001066 </text>
1067
1068 <text style="text_m">
1069 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001070 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001071 </text>
1072
1073 <text style="text_m">
1074 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 </text>
1077
1078 <button style="main_button_half_width">
1079 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001080 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001081 <actions>
1082 <action function="set">partitionlisterror=0</action>
1083 <action function="page">advancedwipe</action>
1084 </actions>
1085 </button>
1086
1087 <button style="main_button_half_width">
1088 <condition var1="tw_has_data_media" var2="1"/>
1089 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 <action function="page">formatdata</action>
1092 </button>
1093
1094 <button style="main_button_half_width">
1095 <conditions>
1096 <condition var1="tw_is_encrypted" var2="1"/>
1097 <condition var1="tw_has_data_media" var2="0"/>
1098 </conditions>
1099 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 <actions>
1102 <action function="set">tw_back=wipe</action>
1103 <action function="set">tw_action=wipe</action>
1104 <action function="set">tw_action_param=DATAMEDIA</action>
1105 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001106 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001107 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001108 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1109 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1110 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001111 <action function="page">confirm_action</action>
1112 </actions>
1113 </button>
1114
1115 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <actions>
1118 <action function="set">tw_back=wipe</action>
1119 <action function="set">tw_action=wipe</action>
1120 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001121 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1122 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001123 <action function="page">action_page</action>
1124 </actions>
1125 </slider>
1126
1127 <action>
1128 <touch key="back"/>
1129 <action function="page">main</action>
1130 </action>
1131
1132 <action>
1133 <touch key="home"/>
1134 <action function="page">main</action>
1135 </action>
1136 </page>
1137
1138 <page name="advancedwipe">
1139 <template name="page"/>
1140
1141 <action>
1142 <action function="set">tw_wipe_list=</action>
1143 </action>
1144
1145 <text style="text_l">
1146 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001147 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001148 </text>
1149
1150 <text style="text_m">
1151 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 </text>
1154
1155 <partitionlist>
1156 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001158 <data name="tw_wipe_list"/>
1159 <listtype name="wipe"/>
1160 </partitionlist>
1161
1162 <text style="text_m_fail">
1163 <condition var1="partitionlisterror" var2="1"/>
1164 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001166 </text>
1167
1168 <button style="main_button_m">
1169 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001172 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001173 <action function="page">checkpartitionlist</action>
1174 </actions>
1175 </button>
1176
1177 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 <actions>
1180 <action function="set">tw_back=advancedwipe</action>
1181 <action function="set">tw_action=wipe</action>
1182 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001183 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1184 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1185 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001186 <action function="page">action_page</action>
1187 </actions>
1188 </slider>
1189
1190 <action>
1191 <touch key="home"/>
1192 <action function="page">main</action>
1193 </action>
1194
1195 <action>
1196 <touch key="back"/>
1197 <action function="page">wipe</action>
1198 </action>
1199 </page>
1200
1201 <page name="formatdata">
1202 <template name="page"/>
1203
1204 <text style="text_l">
1205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001206 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001207 </text>
1208
1209 <text style="text_m">
1210 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001212 </text>
1213
1214 <text style="text_m_fail">
1215 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001216 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001217 </text>
1218
1219 <text style="text_m_fail">
1220 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001221 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001222 </text>
1223
Ethan Yonker66a19492015-12-10 10:19:45 -06001224 <text style="text_m_fail">
1225 <condition var1="tw_has_adopted_storage" var2="1"/>
1226 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1227 <text>{@format_data_adopted=Including Adopted Storage}</text>
1228 </text>
1229
z31s1g28f0a922015-11-07 18:50:22 +01001230 <text style="text_m">
1231 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001232 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001233 </text>
1234
1235 <text style="text_m">
1236 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001238 </text>
1239
1240 <input>
1241 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1242 <text>%tw_confirm_formatdata%</text>
1243 <data name="tw_confirm_formatdata"/>
1244 <restrict minlen="3" maxlen="3" allow="yes"/>
1245 <action function="page">formatdata_confirm</action>
1246 </input>
1247
1248 <fill color="%accent_color%">
1249 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1250 </fill>
1251
1252 <template name="keyboardtemplate"/>
1253
1254 <action>
1255 <touch key="home"/>
1256 <action function="page">main</action>
1257 </action>
1258
1259 <action>
1260 <touch key="back"/>
1261 <action function="page">wipe</action>
1262 </action>
1263 </page>
1264
1265 <page name="formatdata_confirm">
1266 <action>
1267 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1268 <actions>
1269 <action function="set">tw_back=formatdata</action>
1270 <action function="set">tw_action=wipe</action>
1271 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1273 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001274 <action function="page">action_page</action>
1275 </actions>
1276 </action>
1277
1278 <action>
1279 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1280 <action function="page">formatdata</action>
1281 </action>
1282 </page>
1283
1284 <page name="checkpartitionlist">
1285 <action>
1286 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1287 <actions>
1288 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001289 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001290 <action function="page">partitionoptions</action>
1291 </actions>
1292 </action>
1293
1294 <action>
1295 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1296 <actions>
1297 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001298 <action function="page">advancedwipe</action>
1299 </actions>
1300 </action>
1301 </page>
1302
1303 <page name="partitionoptions">
1304 <template name="page"/>
1305
1306 <text style="text_l">
1307 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001308 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001309 </text>
1310
1311 <text style="text_m">
1312 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001313 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001314 </text>
1315
1316 <text style="text_m_accent">
1317 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001319 </text>
1320
1321 <text style="text_m_accent">
1322 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001324 </text>
1325
1326 <text style="text_m">
1327 <condition var1="tw_partition_is_present" var2="1"/>
1328 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001330 </text>
1331
1332 <text style="text_m">
1333 <condition var1="tw_partition_is_present" var2="0"/>
1334 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001335 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001336 </text>
1337
1338 <text style="text_m">
1339 <condition var1="tw_partition_removable" var2="1"/>
1340 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001342 </text>
1343
1344 <text style="text_m">
1345 <condition var1="tw_partition_removable" var2="0"/>
1346 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001348 </text>
1349
1350 <text style="text_m">
1351 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m">
1356 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m">
1361 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <text style="text_m">
1366 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <button style="main_button_half_width">
1371 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1372 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 <actions>
1375 <action function="set">tw_back=partitionoptions</action>
1376 <action function="set">tw_action=resize</action>
1377 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1378 <action function="set">tw_has_action2=1</action>
1379 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001380 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001382 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1384 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="page">confirm_action</action>
1387 </actions>
1388 </button>
1389
1390 <button style="main_button_half_width">
1391 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1392 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 <actions>
1395 <action function="set">tw_back=partitionoptions</action>
1396 <action function="set">tw_action=repair</action>
1397 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1398 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001400 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1402 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1403 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <action function="page">confirm_action</action>
1405 </actions>
1406 </button>
1407
1408 <button style="main_button_half_width">
1409 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 <action function="page">selectfilesystem</action>
1412 </button>
1413
1414 <action>
1415 <touch key="home"/>
1416 <action function="page">main</action>
1417 </action>
1418
1419 <action>
1420 <touch key="back"/>
1421 <action function="page">advancedwipe</action>
1422 </action>
1423 </page>
1424
1425 <page name="refreshfilesystem">
1426 <action>
1427 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1428 <actions>
1429 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001430 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001431 <action function="page">selectfilesystem</action>
1432 </actions>
1433 </action>
1434
1435 <action>
1436 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1437 <actions>
1438 <action function="set">partitionlisterror=1</action>
1439 <action function="set">tw_wipe_list=</action>
1440 <action function="page">advancedwipe</action>
1441 </actions>
1442 </action>
1443 </page>
1444
1445 <page name="selectfilesystem">
1446 <template name="page"/>
1447
1448 <text style="text_l">
1449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001450 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001451 </text>
1452
1453 <text style="text_m">
1454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001455 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001456 </text>
1457
1458 <text style="text_m_accent">
1459 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001460 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001461 </text>
1462
1463 <text style="text_m_accent">
1464 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001466 </text>
1467
1468 <text style="text_m_fail">
1469 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001471 </text>
1472
1473 <text style="text_m_fail">
1474 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001475 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001476 </text>
1477
1478 <button style="main_button_half_width">
1479 <condition var1="tw_partition_ext" op="=" var2="1"/>
1480 <placement x="%col1_x_left%" y="%row11_y%"/>
1481 <text>EXT2</text>
1482 <actions>
1483 <action function="set">tw_back=refreshfilesystem</action>
1484 <action function="set">tw_action=changefilesystem</action>
1485 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1486 <action function="set">tw_action_new_file_system=ext2</action>
1487 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001488 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1489 <action function="set">tw_text2=EXT2</action>
1490 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1491 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1492 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <action function="page">confirm_action</action>
1494 </actions>
1495 </button>
1496
1497 <button style="main_button_half_width">
1498 <condition var1="tw_partition_ext" op="=" var2="1"/>
1499 <placement x="%col2_x_left%" y="%row11_y%"/>
1500 <text>EXT3</text>
1501 <actions>
1502 <action function="set">tw_back=refreshfilesystem</action>
1503 <action function="set">tw_action=changefilesystem</action>
1504 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1505 <action function="set">tw_action_new_file_system=ext3</action>
1506 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001507 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1508 <action function="set">tw_text2=EXT3</action>
1509 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1510 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1511 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001512 <action function="page">confirm_action</action>
1513 </actions>
1514 </button>
1515
1516 <button style="main_button_half_width">
1517 <condition var1="tw_partition_ext" op="=" var2="1"/>
1518 <placement x="%center_x%" y="%row11_y%"/>
1519 <text>EXT4</text>
1520 <actions>
1521 <action function="set">tw_back=refreshfilesystem</action>
1522 <action function="set">tw_action=changefilesystem</action>
1523 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1524 <action function="set">tw_action_new_file_system=ext4</action>
1525 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001526 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1527 <action function="set">tw_text2=EXT4</action>
1528 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1529 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1530 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001531 <action function="page">confirm_action</action>
1532 </actions>
1533 </button>
1534
1535 <button style="main_button_half_width">
1536 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1537 <placement x="%col2_x_right%" y="%row11_y%"/>
1538 <text>FAT</text>
1539 <actions>
1540 <action function="set">tw_back=refreshfilesystem</action>
1541 <action function="set">tw_action=changefilesystem</action>
1542 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1543 <action function="set">tw_action_new_file_system=vfat</action>
1544 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001545 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1546 <action function="set">tw_text2=FAT</action>
1547 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1548 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1549 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001550 <action function="page">confirm_action</action>
1551 </actions>
1552 </button>
1553
1554 <button style="main_button_half_width">
1555 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1556 <placement x="%col2_x_left%" y="%row15a_y%"/>
1557 <text>exFAT</text>
1558 <actions>
1559 <action function="set">tw_back=refreshfilesystem</action>
1560 <action function="set">tw_action=changefilesystem</action>
1561 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1562 <action function="set">tw_action_new_file_system=exfat</action>
1563 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001564 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1565 <action function="set">tw_text2=exFAT</action>
1566 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1567 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1568 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001569 <action function="page">confirm_action</action>
1570 </actions>
1571 </button>
1572
1573 <button style="main_button_half_width">
1574 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1575 <placement x="%center_x%" y="%row15a_y%"/>
1576 <text>F2FS</text>
1577 <actions>
1578 <action function="set">tw_back=refreshfilesystem</action>
1579 <action function="set">tw_action=changefilesystem</action>
1580 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1581 <action function="set">tw_action_new_file_system=f2fs</action>
1582 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1584 <action function="set">tw_text2=F2FS</action>
1585 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1586 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1587 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001588 <action function="page">confirm_action</action>
1589 </actions>
1590 </button>
1591
1592 <action>
1593 <touch key="home"/>
1594 <action function="page">main</action>
1595 </action>
1596
1597 <action>
1598 <touch key="back"/>
1599 <action function="page">partitionoptions</action>
1600 </action>
1601 </page>
1602
1603 <page name="backup">
1604 <template name="page"/>
1605
1606 <text style="text_l">
1607 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001609 </text>
1610
1611 <text style="text_m">
1612 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 </text>
1615
1616 <text style="text_m_accent">
1617 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </text>
1620
1621 <text style="text_m">
1622 <placement x="%col1_x_left%" y="%row3_y%"/>
1623 <text>%tw_backup_name%</text>
1624 </text>
1625
1626 <fill color="%fileselector_linecolor%">
1627 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1628 </fill>
1629
1630 <button>
1631 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1632 <fill color="%transparent%"/>
1633 <actions>
1634 <action function="set">tw_fileexists=0</action>
1635 <action function="page">backupname1</action>
1636 </actions>
1637 </button>
1638
1639 <partitionlist>
1640 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 <data name="tw_backup_list"/>
1643 <listtype name="backup"/>
1644 </partitionlist>
1645
1646 <text style="text_m_accent">
1647 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m">
1652 <conditions>
1653 <condition var1="tw_include_encrypted_backup" var2="1"/>
1654 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001655 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001656 </conditions>
1657 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </text>
1660
1661 <text style="text_m">
1662 <conditions>
1663 <condition var1="tw_include_encrypted_backup" var2="1"/>
1664 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001665 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001666 </conditions>
1667 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <fill color="%fileselector_linecolor%">
1672 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1673 </fill>
1674
1675 <button>
1676 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1677 <fill color="%transparent%"/>
1678 <actions>
1679 <action function="set">tw_password_not_match=0</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </button>
1683
1684 <text style="text_m_accent">
1685 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 </text>
1688
1689 <checkbox>
1690 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001691 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <data variable="tw_use_compression"/>
1693 </checkbox>
1694
1695 <checkbox>
1696 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001697 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1698 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001699 </checkbox>
1700
1701 <checkbox>
1702 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001703 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001704 <data variable="tw_disable_free_space"/>
1705 </checkbox>
1706
1707 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001708 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 <actions>
1712 <action function="set">tw_back=backup</action>
1713 <action function="overlay">select_storage</action>
1714 </actions>
1715 </button>
1716
1717 <button style="main_button_half_width">
1718 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001719 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001720 <actions>
1721 <action function="refreshsizes"/>
1722 <action function="page">backup</action>
1723 </actions>
1724 </button>
1725
1726 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001727 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001728 <action function="page">backup_run</action>
1729 </slider>
1730
1731 <action>
1732 <touch key="home"/>
1733 <action function="page">main</action>
1734 </action>
1735
1736 <action>
1737 <touch key="back"/>
1738 <action function="page">main</action>
1739 </action>
1740 </page>
1741
1742 <page name="backupname1">
1743 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001744 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001745 <action function="generatebackupname"/>
1746 </action>
1747
1748 <action>
1749 <action function="page">backupname2</action>
1750 </action>
1751 </page>
1752
1753 <page name="backupname2">
1754 <template name="page"/>
1755
1756 <text style="text_l">
1757 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001758 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001759 </text>
1760
1761 <text style="text_m">
1762 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001764 </text>
1765
1766 <text style="text_m_accent">
1767 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001768 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001769 </text>
1770
1771 <input>
1772 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1773 <text>%tw_backup_name%</text>
1774 <data name="tw_backup_name"/>
1775 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1776 <actions>
1777 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1778 <action function="set">tw_existpage=backupname2</action>
1779 <action function="set">tw_notexistpage=backup</action>
1780 <action function="page">filecheck</action>
1781 </actions>
1782 </input>
1783
1784 <fill color="%accent_color%">
1785 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1786 </fill>
1787
1788 <fill color="%text_fail_color%">
1789 <condition var1="tw_fileexists" var2="1"/>
1790 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1791 </fill>
1792
1793 <text style="text_m_fail">
1794 <condition var1="tw_fileexists" var2="1"/>
1795 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001796 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001797 </text>
1798
1799 <button style="main_button_half_width_low">
1800 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001804 <action function="page">backup</action>
1805 </actions>
1806 </button>
1807
1808 <button style="main_button_half_width_low">
1809 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <action function="appenddatetobackupname"/>
1812 </button>
1813
1814 <template name="keyboardtemplate"/>
1815
1816 <action>
1817 <touch key="home"/>
1818 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001819 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001820 <action function="page">main</action>
1821 </actions>
1822 </action>
1823
1824 <action>
1825 <touch key="back"/>
1826 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <action function="page">backup</action>
1829 </actions>
1830 </action>
1831 </page>
1832
1833 <page name="backupencryption">
1834 <template name="page"/>
1835
1836 <text style="text_l">
1837 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001838 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001839 </text>
1840
1841 <text style="text_m">
1842 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001844 </text>
1845
1846 <text style="text_m_accent">
1847 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001849 </text>
1850
1851 <input>
1852 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1853 <text>%tw_backup_encrypt_display%</text>
1854 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1855 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1856 <action function="page">backupencryption2</action>
1857 </input>
1858
1859 <fill color="%accent_color%">
1860 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1861 </fill>
1862
1863 <fill color="%text_fail_color%">
1864 <condition var1="tw_password_not_match" var2="1"/>
1865 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1866 </fill>
1867
1868 <text style="text_m_fail">
1869 <condition var1="tw_password_not_match" var2="1"/>
1870 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001871 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001872 </text>
1873
1874 <button style="main_button_half_width_low">
1875 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001877 <actions>
1878 <action function="set">tw_encrypt_backup=0</action>
1879 <action function="set">tw_backup_password=</action>
1880 <action function="set">tw_backup_password2=</action>
1881 <action function="set">tw_backup_encrypt_display=</action>
1882 <action function="set">tw_backup_encrypt_display2=</action>
1883 <action function="page">backup</action>
1884 </actions>
1885 </button>
1886
1887 <template name="keyboardtemplate"/>
1888
1889 <action>
1890 <touch key="home"/>
1891 <action function="page">main</action>
1892 </action>
1893
1894 <action>
1895 <touch key="back"/>
1896 <action function="page">backup</action>
1897 </action>
1898 </page>
1899
1900 <page name="backupencryption2">
1901 <template name="page"/>
1902
1903 <text style="text_l">
1904 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 </text>
1907
1908 <text style="text_m">
1909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001911 </text>
1912
1913 <text style="text_m_accent">
1914 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <input>
1919 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1920 <text>%tw_backup_encrypt_display2%</text>
1921 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1922 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1923 <action function="page">checkbackuppassword</action>
1924 </input>
1925
1926 <fill color="%accent_color%">
1927 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1928 </fill>
1929
1930 <text style="text_m">
1931 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001933 </text>
1934
1935 <button style="main_button_half_width_low">
1936 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 <actions>
1939 <action function="set">tw_encrypt_backup=0</action>
1940 <action function="set">tw_backup_password=</action>
1941 <action function="set">tw_backup_password2=</action>
1942 <action function="set">tw_backup_encrypt_display=</action>
1943 <action function="set">tw_backup_encrypt_display2=</action>
1944 <action function="page">backup</action>
1945 </actions>
1946 </button>
1947
1948 <template name="keyboardtemplate"/>
1949
1950 <action>
1951 <touch key="home"/>
1952 <action function="page">main</action>
1953 </action>
1954
1955 <action>
1956 <touch key="back"/>
1957 <action function="page">backup</action>
1958 </action>
1959 </page>
1960
1961 <page name="checkbackuppassword">
1962 <action>
1963 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1964 <actions>
1965 <action function="set">tw_encrypt_backup=1</action>
1966 <action function="page">backup</action>
1967 </actions>
1968 </action>
1969
1970 <action>
1971 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1972 <actions>
1973 <action function="set">tw_encrypt_backup=0</action>
1974 <action function="set">tw_password_not_match=1</action>
1975 <action function="set">tw_backup_password=</action>
1976 <action function="set">tw_backup_password2=</action>
1977 <action function="set">tw_backup_encrypt_display=</action>
1978 <action function="set">tw_backup_encrypt_display2=</action>
1979 <action function="page">backupencryption</action>
1980 </actions>
1981 </action>
1982 </page>
1983
1984 <page name="backup_run">
1985 <template name="page"/>
1986
1987 <text style="text_l">
1988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1989 <text>%tw_operation%</text>
1990 </text>
1991
1992 <text style="text_m">
1993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1994 <text>%tw_partition% Partition</text>
1995 </text>
1996
1997 <template name="console"/>
1998
1999 <template name="progress_bar"/>
2000
2001 <text style="text_m_accent">
2002 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002003 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002004 </text>
2005
2006 <text style="text_m">
2007 <placement x="%progress_text_x%" y="%row17_y%"/>
2008 <text>%tw_file_progress%</text>
2009 </text>
2010
2011 <text style="text_m">
2012 <placement x="%progress_text_x%" y="%row18_y%"/>
2013 <text>%tw_size_progress%</text>
2014 </text>
2015
2016 <button style="main_button_half_width">
2017 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 <action function="cancelbackup"/>
2020 </button>
2021
2022 <action>
2023 <action function="nandroid">backup</action>
2024 </action>
2025
2026 <action>
2027 <condition var1="tw_operation_state" var2="1"/>
2028 <condition var1="tw_cancel_backup" var2="0"/>
2029 <actions>
2030 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002032 <action function="set">tw_show_reboot=1</action>
2033 <action function="page">action_complete</action>
2034 </actions>
2035 </action>
2036
2037 <action>
2038 <condition var1="tw_operation_state" var2="1"/>
2039 <condition var1="tw_cancel_backup" var2="1"/>
2040 <actions>
2041 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002042 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002043 <action function="set">tw_show_reboot=1</action>
2044 <action function="page">action_complete</action>
2045 </actions>
2046 </action>
2047 </page>
2048
2049 <page name="restore">
2050 <template name="page"/>
2051
2052 <text style="text_l">
2053 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002054 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002055 </text>
2056
2057 <text style="text_m">
2058 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <template name="sort_options"/>
2063
2064 <fileselector>
2065 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002066 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002067 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002068 <path name="tw_backups_folder"/>
2069 <data name="tw_restore" default=""/>
2070 <selection name="tw_restore_name"/>
2071 </fileselector>
2072
2073 <button style="main_button_half_width_low">
2074 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002075 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002076 <actions>
2077 <action function="set">tw_back=restore</action>
2078 <action function="overlay">select_storage</action>
2079 </actions>
2080 </button>
2081
2082 <action>
2083 <condition var1="tw_restore" op="modified"/>
2084 <actions>
2085 <action function="readBackup"/>
2086 <action function="page">restore_read</action>
2087 </actions>
2088 </action>
2089
2090 <action>
2091 <touch key="home"/>
2092 <action function="page">main</action>
2093 </action>
2094
2095 <action>
2096 <touch key="back"/>
2097 <action function="page">main</action>
2098 </action>
2099 </page>
2100
2101 <page name="restore_read">
2102 <action>
2103 <condition var1="tw_restore_encrypted" var2="1"/>
2104 <actions>
2105 <action function="set">tw_password_fail=0</action>
2106 <action function="page">restore_decrypt</action>
2107 </actions>
2108 </action>
2109
2110 <action>
2111 <condition var1="tw_restore_encrypted" var2="0"/>
2112 <actions>
2113 <action function="page">restore_select</action>
2114 </actions>
2115 </action>
2116 </page>
2117
2118 <page name="restore_decrypt">
2119 <template name="page"/>
2120
2121 <text style="text_l">
2122 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002123 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002124 </text>
2125
2126 <text style="text_m">
2127 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <text style="text_m_accent">
2132 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </text>
2135
2136 <input>
2137 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2138 <text>%tw_restore_display%</text>
2139 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2140 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2141 <action function="page">try_restore_decrypt</action>
2142 </input>
2143
2144 <fill color="%accent_color%">
2145 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2146 </fill>
2147
2148 <fill color="%text_fail_color%">
2149 <condition var1="tw_password_fail" var2="1"/>
2150 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <text style="text_m_fail">
2154 <condition var1="tw_password_fail" var2="1"/>
2155 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002156 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002157 </text>
2158
2159 <button style="main_button_half_width_low">
2160 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 <actions>
2163 <action function="set">tw_page_done=1</action>
2164 <action function="page">restore</action>
2165 </actions>
2166 </button>
2167
2168 <button style="main_button_half_width_low">
2169 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002170 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002171 <actions>
2172 <action function="set">tw_back=restore</action>
2173 <action function="set">tw_action=cmd</action>
2174 <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 -05002175 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2176 <action function="set">tw_text2=%tw_restore_name%</action>
2177 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2178 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2179 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2180 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002181 <action function="page">confirm_action</action>
2182 </actions>
2183 </button>
2184
2185 <template name="keyboardtemplate"/>
2186
2187 <action>
2188 <touch key="home"/>
2189 <action function="page">main</action>
2190 </action>
2191
2192 <action>
2193 <touch key="back"/>
2194 <action function="page">restore</action>
2195 </action>
2196 </page>
2197
2198 <page name="try_restore_decrypt">
2199 <template name="page"/>
2200
2201 <text style="text_l">
2202 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 </text>
2205
2206 <text style="text_m">
2207 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <template name="console"/>
2212
2213 <template name="progress_bar"/>
2214
2215 <action>
2216 <action function="decrypt_backup"/>
2217 </action>
2218
2219 <action>
2220 <conditions>
2221 <condition var1="tw_operation_state" var2="1"/>
2222 <condition var1="tw_operation_status" op="!=" var2="0"/>
2223 </conditions>
2224 <actions>
2225 <action function="set">tw_password_fail=1</action>
2226 <action function="page">restore_decrypt</action>
2227 </actions>
2228 </action>
2229
2230 <action>
2231 <conditions>
2232 <condition var1="tw_operation_state" var2="1"/>
2233 <condition var1="tw_operation_status" op="=" var2="0"/>
2234 </conditions>
2235 <actions>
2236 <action function="set">tw_page_done=1</action>
2237 <action function="page">restore_select</action>
2238 </actions>
2239 </action>
2240 </page>
2241
2242 <page name="restore_select">
2243 <template name="page"/>
2244
2245 <text style="text_l">
2246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002248 </text>
2249
2250 <text style="text_m">
2251 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002252 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002253 </text>
2254
2255 <text style="text_m_accent">
2256 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <text style="text_m">
2261 <placement x="%col1_x_left%" y="%row3_y%"/>
2262 <text>%tw_restore_name%</text>
2263 </text>
2264
2265 <fill color="%fileselector_linecolor%">
2266 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2267 </fill>
2268
2269 <button>
2270 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2271 <fill color="%transparent%"/>
2272 <actions>
2273 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2274 <action function="set">tw_fileexists=0</action>
2275 <action function="page">renamebackup</action>
2276 </actions>
2277 </button>
2278
2279 <partitionlist>
2280 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2283 <listtype name="restore"/>
2284 </partitionlist>
2285
2286 <text style="text_m_accent">
2287 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 </text>
2290
2291 <checkbox>
2292 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002293 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002294 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2295 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </checkbox>
2297
2298 <button style="main_button_half_width">
2299 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 <actions>
2302 <action function="set">tw_back=restore</action>
2303 <action function="set">tw_action=cmd</action>
2304 <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 -05002305 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002306 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002307 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2308 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2309 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2310 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002311 <action function="page">confirm_action</action>
2312 </actions>
2313 </button>
2314
2315 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002316 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002317 <action function="page">restore_run</action>
2318 </slider>
2319
2320 <action>
2321 <touch key="home"/>
2322 <action function="page">main</action>
2323 </action>
2324
2325 <action>
2326 <touch key="back"/>
2327 <action function="page">restore</action>
2328 </action>
2329 </page>
2330
2331 <page name="renamebackup">
2332 <template name="page"/>
2333
2334 <text style="text_l">
2335 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002336 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002337 </text>
2338
2339 <text style="text_m">
2340 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <text style="text_m_accent">
2345 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <input>
2350 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2351 <text>%tw_backup_rename%</text>
2352 <data name="tw_backup_rename"/>
2353 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2354 <actions>
2355 <action function="set">tw_back=restore</action>
2356 <action function="set">tw_action=cmd</action>
2357 <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 -05002358 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2359 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2360 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2361 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2362 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002363 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2364 <action function="set">tw_existpage=renamebackup</action>
2365 <action function="set">tw_notexistpage=confirm_action</action>
2366 <action function="page">filecheck</action>
2367 </actions>
2368 </input>
2369
2370 <fill color="%accent_color%">
2371 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2372 </fill>
2373
2374 <fill color="%text_fail_color%">
2375 <condition var1="tw_fileexists" var2="1"/>
2376 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2377 </fill>
2378
2379 <text style="text_m_fail">
2380 <condition var1="tw_fileexists" var2="1"/>
2381 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002383 </text>
2384
2385 <button style="main_button_half_width_low">
2386 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 <action function="page">restore_select</action>
2389 </button>
2390
2391 <template name="keyboardtemplate"/>
2392
2393 <action>
2394 <touch key="home"/>
2395 <action function="page">main</action>
2396 </action>
2397
2398 <action>
2399 <touch key="back"/>
2400 <action function="page">restore_select</action>
2401 </action>
2402 </page>
2403
2404 <page name="restore_run">
2405 <template name="page"/>
2406
2407 <text style="text_l">
2408 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002410 </text>
2411
2412 <text style="text_m">
2413 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2414 <text>%tw_operation% %tw_partition%</text>
2415 </text>
2416
2417 <template name="console"/>
2418
2419 <template name="progress_bar"/>
2420
2421 <text style="text_m_accent">
2422 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002423 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002424 </text>
2425
2426 <text style="text_m">
2427 <placement x="%progress_text_x%" y="%row18_y%"/>
2428 <text>%tw_size_progress%</text>
2429 </text>
2430
2431 <action>
2432 <condition var1="tw_operation_state" var2="1"/>
2433 <actions>
2434 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002435 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002436 <action function="set">tw_show_reboot=1</action>
2437 <action function="page">action_complete</action>
2438 </actions>
2439 </action>
2440
2441 <action>
2442 <action function="nandroid">restore</action>
2443 </action>
2444 </page>
2445
2446 <page name="mount">
2447 <template name="page"/>
2448
2449 <text style="text_l">
2450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 </text>
2453
2454 <text style="text_m">
2455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 </text>
2458
2459 <partitionlist>
2460 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 <listtype name="mount"/>
2463 </partitionlist>
2464
2465 <button style="checkbox">
2466 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2467 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <image resource="checkbox_false"/>
2470 <action function="mountsystemtoggle">1</action>
2471 </button>
2472
2473 <button style="checkbox">
2474 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2475 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002476 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002477 <image resource="checkbox_true"/>
2478 <actions>
2479 <action function="set">tw_lifetime_writes=2</action>
2480 <action function="page">system_readonly_check</action>
2481 </actions>
2482 </button>
2483
2484 <button style="main_button_half_width">
2485 <condition var1="tw_has_usb_storage" var2="1"/>
2486 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002487 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002488 <action function="page">usb_mount</action>
2489 </button>
2490
2491 <button style="main_button_half_width">
2492 <conditions>
2493 <condition var1="tw_is_encrypted" var2="1"/>
2494 <condition var1="tw_is_decrypted" var2="0"/>
2495 </conditions>
2496 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 <action function="page">decrypt</action>
2499 </button>
2500
2501 <button style="main_button_half_width">
2502 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002503 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002504 <actions>
2505 <action function="set">tw_back=mount</action>
2506 <action function="overlay">select_storage</action>
2507 </actions>
2508 </button>
2509
2510 <button style="main_button_half_width">
2511 <conditions>
2512 <condition var1="tw_has_mtp" var2="1"/>
2513 <condition var1="tw_mtp_enabled" var2="0"/>
2514 </conditions>
2515 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002516 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002517 <action function="startmtp"/>
2518 </button>
2519
2520 <button style="main_button_half_width">
2521 <conditions>
2522 <condition var1="tw_has_mtp" var2="1"/>
2523 <condition var1="tw_mtp_enabled" var2="1"/>
2524 </conditions>
2525 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 <action function="stopmtp"/>
2528 </button>
2529
2530 <action>
2531 <touch key="home"/>
2532 <action function="page">main</action>
2533 </action>
2534
2535 <action>
2536 <touch key="back"/>
2537 <action function="page">main</action>
2538 </action>
2539 </page>
2540
2541 <page name="usb_mount">
2542 <template name="page"/>
2543
2544 <text style="text_l">
2545 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002546 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002547 </text>
2548
2549 <text style="text_m">
2550 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002551 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 </text>
2553
2554 <text style="text_m_accent">
2555 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002556 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002557 </text>
2558
2559 <text style="text_m">
2560 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002562 </text>
2563
2564 <text style="text_m">
2565 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002566 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002567 </text>
2568
2569 <button style="main_button_half_width">
2570 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002571 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002572 <action function="page">usb_umount</action>
2573 </button>
2574
2575 <action>
2576 <action function="mount">usb</action>
2577 <action function="set">tw_busy=1</action>
2578 </action>
2579 </page>
2580
2581 <page name="usb_umount">
2582 <action>
2583 <action function="unmount">usb</action>
2584 </action>
2585
2586 <action>
2587 <action function="page">mount</action>
2588 <action function="set">tw_busy=0</action>
2589 </action>
2590 </page>
2591
2592 <page name="system_readonly_check">
2593 <action>
2594 <action function="checkpartitionlifetimewrites">/system</action>
2595 </action>
2596
2597 <action>
2598 <condition var1="tw_lifetime_writes" var2="1"/>
2599 <actions>
2600 <action function="mountsystemtoggle">0</action>
2601 <action function="page">mount</action>
2602 </actions>
2603 </action>
2604
2605 <action>
2606 <condition var1="tw_lifetime_writes" var2="0"/>
2607 <actions>
2608 <action function="set">tw_back=mount</action>
2609 <action function="page">system_readonly</action>
2610 </actions>
2611 </action>
2612 </page>
2613
2614 <page name="reboot">
2615 <template name="page"/>
2616
2617 <text style="text_l">
2618 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002619 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002620 </text>
2621
2622 <button style="main_button">
2623 <condition var1="tw_reboot_system" var2="1"/>
2624 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <actions>
2627 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002628 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002629 </actions>
2630 </button>
2631
2632 <button style="main_button">
2633 <condition var1="tw_reboot_poweroff" var2="1"/>
2634 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <actions>
2637 <action function="set">tw_back=reboot</action>
2638 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002639 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002640 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2643 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2644 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2645 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2646 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="page">rebootcheck</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button">
2652 <condition var1="tw_reboot_recovery" var2="1"/>
2653 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <actions>
2656 <action function="set">tw_back=reboot</action>
2657 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002658 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002659 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2662 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2663 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2664 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2665 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <action function="page">rebootcheck</action>
2667 </actions>
2668 </button>
2669
2670 <button style="main_button">
2671 <condition var1="tw_reboot_bootloader" var2="1"/>
2672 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <actions>
2675 <action function="set">tw_back=reboot</action>
2676 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002677 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002678 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002680 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2681 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2682 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2683 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2684 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="page">rebootcheck</action>
2686 </actions>
2687 </button>
2688
2689 <button style="main_button">
2690 <condition var1="tw_download_mode" var2="1"/>
2691 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <actions>
2694 <action function="set">tw_back=reboot</action>
2695 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002696 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002697 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002698 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2700 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2701 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2702 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2703 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002704 <action function="page">rebootcheck</action>
2705 </actions>
2706 </button>
2707
mauronofrioe9a49ef2018-10-03 13:38:16 +02002708 <button style="main_button">
2709 <condition var1="tw_edl_mode" var2="1"/>
2710 <placement x="%center_x%" y="%row11_y%"/>
2711 <text>{@rb_edl_btn=Edl}</text>
2712 <actions>
2713 <action function="set">tw_back=reboot</action>
2714 <action function="set">tw_action=reboot</action>
2715 <action function="set">tw_action_param=edl</action>
2716 <action function="set">tw_reboot_param=edl</action>
2717 <action function="set">tw_has_action2=0</action>
2718 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2719 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2720 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2721 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2722 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2723 <action function="page">rebootcheck</action>
2724 </actions>
2725 </button>
2726
z31s1g28f0a922015-11-07 18:50:22 +01002727 <action>
2728 <touch key="home"/>
2729 <action function="page">main</action>
2730 </action>
2731
2732 <action>
2733 <touch key="back"/>
2734 <action function="page">main</action>
2735 </action>
2736 </page>
2737
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002738 <page name="rebootapp">
2739 <template name="page"/>
2740
2741 <text style="text_l">
2742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2743 <text>{@reboot_hdr=Reboot}</text>
2744 </text>
2745
2746 <text style="text_m">
2747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2748 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2749 </text>
2750
2751 <text style="text_m_accent">
2752 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2753 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2754 </text>
2755
2756 <text style="text_m_accent">
2757 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2758 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2759 </text>
2760
2761 <checkbox>
2762 <placement x="%indent%" y="%row5_y%"/>
2763 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2764 <data variable="tw_app_prompt"/>
2765 </checkbox>
2766
2767 <checkbox>
2768 <condition var1="tw_mount_system_ro" var2="0"/>
2769 <placement x="%indent%" y="%row7_y%"/>
2770 <text>{@reboot_install_app_system=Install as a System App}</text>
2771 <data variable="tw_app_install_system"/>
2772 </checkbox>
2773
2774 <button style="main_button_half_width">
2775 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002776 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002777 <action function="reboot">%tw_reboot_param%</action>
2778 </button>
2779
2780 <slider>
2781 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2782 <actions>
2783 <action function="set">tw_back=reboot</action>
2784 <action function="set">tw_action=installapp</action>
2785 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2786 <action function="set">tw_action_text2=</action>
2787 <action function="set">tw_has_action2=1</action>
2788 <action function="set">tw_action2=reboot</action>
2789 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2790 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2791 <action function="page">action_page</action>
2792 </actions>
2793 </slider>
2794
2795 <action>
2796 <touch key="home"/>
2797 <actions>
2798 <action function="set">tw_app_install_status=0</action>
2799 <action function="page">main</action>
2800 </actions>
2801 </action>
2802
2803 <action>
2804 <touch key="back"/>
2805 <actions>
2806 <action function="set">tw_app_install_status=0</action>
2807 <action function="page">reboot</action>
2808 </actions>
2809 </action>
2810 </page>
2811
z31s1g28f0a922015-11-07 18:50:22 +01002812 <page name="system_readonly">
2813 <template name="page"/>
2814
2815 <text style="text_l">
2816 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002817 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002818 </text>
2819
2820 <text style="text_m_accent">
2821 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002822 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002823 </text>
2824
2825 <text style="text_m">
2826 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <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 +01002828 </text>
2829
2830 <text style="text_m">
2831 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <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 +01002833 </text>
2834
2835 <text style="text_m_fail">
2836 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002838 </text>
2839
2840 <checkbox>
2841 <condition var1="tw_is_encrypted" var2="0"/>
2842 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <data variable="tw_never_show_system_ro_page"/>
2845 </checkbox>
2846
2847 <button style="main_button_half_width">
2848 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002849 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002850 <actions>
2851 <action function="mountsystemtoggle">1</action>
2852 <action function="set">tw_page_done=1</action>
2853 <action function="page">%tw_back%</action>
2854 </actions>
2855 </button>
2856
z31s1g608d7ff2016-01-18 19:47:25 +01002857 <button style="main_button_half_width">
2858 <placement x="%col2_x_left%" y="%row15a_y%"/>
2859 <text>{@sel_lang_btn=Select Language}</text>
2860 <action function="overlay">select_language</action>
2861 </button>
2862
z31s1g28f0a922015-11-07 18:50:22 +01002863 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002864 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002865 <actions>
2866 <action function="mountsystemtoggle">0</action>
2867 <action function="set">tw_page_done=1</action>
2868 <action function="page">%tw_back%</action>
2869 </actions>
2870 </slider>
2871 </page>
2872
2873 <page name="settings">
2874 <template name="page"/>
2875
2876 <text style="text_l">
2877 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002878 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002879 </text>
2880
2881 <text style="text_m">
2882 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002883 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002884 </text>
2885
2886 <template name="tabs_settings"/>
2887
2888 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </fill>
2891
2892 <listbox style="scrolllist">
2893 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2894 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002896 <data variable="tw_signed_zip_verify"/>
2897 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002898 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2899 <data variable="tw_install_reboot"/>
2900 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002901 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002902 <data variable="tw_rm_rf"/>
2903 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002904 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2905 <data variable="tw_disable_free_space"/>
2906 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002907 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2908 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002909 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002910 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2911 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002912 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002914 <data variable="tw_military_time"/>
2915 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002916 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2917 <data variable="tw_app_prompt"/>
2918 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002920 <data variable="tw_simulate_actions"/>
2921 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002922 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002923 <condition var1="tw_simulate_actions" var2="1"/>
2924 <data variable="tw_simulate_fail"/>
2925 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002926 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2927 <condition var1="tw_no_sha2" var2="0"/>
2928 <data variable="tw_use_sha2"/>
2929 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002930 </listbox>
2931
2932 <checkbox>
2933 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002934 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002935 <data variable="tw_samsung_navbar"/>
2936 </checkbox>
2937
2938 <button style="radiobutton">
2939 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2940 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 <image resource="radio_false"/>
2943 <action function="set">tw_navbar_button_position=0</action>
2944 </button>
2945
2946 <button style="radiobutton">
2947 <condition var1="tw_navbar_button_position" var2="0"/>
2948 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002950 <image resource="radio_true"/>
2951 <action function="set">tw_navbar_button_position=0</action>
2952 </button>
2953
2954 <button style="radiobutton">
2955 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2956 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002957 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002958 <image resource="radio_false"/>
2959 <action function="set">tw_navbar_button_position=1</action>
2960 </button>
2961
2962 <button style="radiobutton">
2963 <condition var1="tw_navbar_button_position" var2="1"/>
2964 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 <image resource="radio_true"/>
2967 <action function="set">tw_navbar_button_position=1</action>
2968 </button>
2969
2970 <button style="radiobutton">
2971 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2972 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002974 <image resource="radio_false"/>
2975 <action function="set">tw_navbar_button_position=2</action>
2976 </button>
2977
2978 <button style="radiobutton">
2979 <condition var1="tw_navbar_button_position" var2="2"/>
2980 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 <image resource="radio_true"/>
2983 <action function="set">tw_navbar_button_position=2</action>
2984 </button>
2985
2986 <button style="main_button_half_width">
2987 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <action function="restoredefaultsettings"/>
2990 </button>
2991
2992 <action>
2993 <touch key="home"/>
2994 <action function="page">main</action>
2995 </action>
2996
2997 <action>
2998 <touch key="back"/>
2999 <action function="page">main</action>
3000 </action>
3001 </page>
3002
3003 <page name="settings_timezone">
3004 <template name="page"/>
3005
3006 <text style="text_l">
3007 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </text>
3010
3011 <text style="text_m">
3012 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </text>
3015
3016 <template name="tabs_settings"/>
3017
3018 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003020 </fill>
3021
3022 <listbox>
3023 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3027 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3028 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3029 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3030 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3031 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3032 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3033 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3034 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3035 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3036 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3037 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3038 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3039 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3040 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3041 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3042 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3043 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3044 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3045 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3046 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3047 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3048 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3049 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003050 </listbox>
3051
3052 <text style="text_m_accent">
3053 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 </text>
3056
3057 <button style="button_quarter_width">
3058 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 <action function="set">tw_time_zone_guioffset=0</action>
3061 </button>
3062
3063 <button style="button_quarter_width">
3064 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003065 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003066 <action function="set">tw_time_zone_guioffset=15</action>
3067 </button>
3068
3069 <button style="button_quarter_width">
3070 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003071 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003072 <action function="set">tw_time_zone_guioffset=30</action>
3073 </button>
3074
3075 <button style="button_quarter_width">
3076 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 <action function="set">tw_time_zone_guioffset=45</action>
3079 </button>
3080
3081 <checkbox>
3082 <placement x="%col1_x_right%" y="%row7_y%"/>
3083 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <data variable="tw_time_zone_guidst"/>
3086 <image checked="checkbox_true" unchecked="checkbox_false"/>
3087 </checkbox>
3088
3089 <text color="%text_color%">
3090 <font resource="font_m"/>
3091 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 </text>
3094
3095 <button>
3096 <highlight color="%highlight_color%"/>
3097 <placement x="%col2_x_right%" y="%row15a_y%"/>
3098 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 <image resource="main_button_half_width"/>
3101 <action function="setguitimezone"/>
3102 </button>
3103
3104 <action>
3105 <touch key="home"/>
3106 <action function="page">main</action>
3107 </action>
3108
3109 <action>
3110 <touch key="back"/>
3111 <action function="page">main</action>
3112 </action>
3113 </page>
3114
3115 <page name="settings_screen">
3116 <template name="page"/>
3117
3118 <text style="text_l">
3119 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 </text>
3122
3123 <text style="text_m">
3124 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003126 </text>
3127
3128 <template name="tabs_settings"/>
3129
3130 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003132 </fill>
3133
3134 <button>
3135 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3136 <font resource="font_m" color="%text_color%"/>
3137 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3138 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <image resource="checkbox_false"/>
3141 <action function="set">tw_screen_timeout_secs=60</action>
3142 </button>
3143
3144 <button>
3145 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3146 <font resource="font_m" color="%text_color%"/>
3147 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3148 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <image resource="checkbox_true"/>
3151 <action function="set">tw_screen_timeout_secs=0</action>
3152 </button>
3153
3154 <slidervalue>
3155 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3156 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3157 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3160 </slidervalue>
3161
3162 <slidervalue>
3163 <condition var1="tw_has_brightnesss_file" var2="1"/>
3164 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <data variable="tw_brightness_pct" min="10" max="100"/>
3167 <actions>
3168 <action function="set">tw_brightness=%tw_brightness_max%</action>
3169 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3170 <action function="compute">tw_brightness/100</action>
3171 <action function="setbrightness">%tw_brightness%</action>
3172 </actions>
3173 </slidervalue>
3174
3175 <action>
3176 <touch key="home"/>
3177 <action function="page">main</action>
3178 </action>
3179
3180 <action>
3181 <touch key="back"/>
3182 <action function="page">main</action>
3183 </action>
3184 </page>
3185
3186 <page name="settings_vibration">
3187 <template name="page"/>
3188
3189 <text style="text_l">
3190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003191 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003192 </text>
3193
3194 <text style="text_m">
3195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 </text>
3198
3199 <template name="tabs_settings"/>
3200
3201 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003203 </fill>
3204
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003205 <text style="text_m">
3206 <condition var1="tw_disable_haptics" var2="1"/>
3207 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3208 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3209 </text>
3210
z31s1g28f0a922015-11-07 18:50:22 +01003211 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003212 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003213 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 <data variable="tw_button_vibrate" min="0" max="300"/>
3216 </slidervalue>
3217
3218 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003219 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3223 </slidervalue>
3224
3225 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003226 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003227 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003229 <data variable="tw_action_vibrate" min="0" max="500"/>
3230 </slidervalue>
3231
3232 <action>
3233 <touch key="home"/>
3234 <action function="page">main</action>
3235 </action>
3236
3237 <action>
3238 <touch key="back"/>
3239 <action function="page">main</action>
3240 </action>
3241 </page>
3242
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <page name="settings_language">
3244 <template name="page"/>
3245
3246 <text style="text_l">
3247 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3248 <text>{@settings_hdr=Settings}</text>
3249 </text>
3250
3251 <text style="text_m">
3252 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3253 <text>{@language_hdr=Language - %tw_language_display%}</text>
3254 </text>
3255
3256 <template name="tabs_settings"/>
3257
3258 <fill color="%text_color%">
3259 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3260 </fill>
3261
3262 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003263 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@select_language=Select Language:}</text>
3265 <icon selected="radio_true" unselected="radio_false" />
3266 <data name="tw_language" />
3267 </listbox>
3268
z31s1g56189522016-01-13 19:12:40 +01003269 <button>
3270 <highlight color="%highlight_color%"/>
3271 <placement x="%col2_x_right%" y="%row15a_y%"/>
3272 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003274 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <action function="setlanguage"></action>
3276 </button>
3277
3278 <action>
3279 <touch key="home" />
3280 <action function="page">main</action>
3281 </action>
3282
3283 <action>
3284 <touch key="back" />
3285 <action function="page">settings</action>
3286 </action>
3287 </page>
3288
Matt Mower32676622017-01-18 18:56:13 -06003289 <page name="copylog">
3290 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003291
Matt Mower32676622017-01-18 18:56:13 -06003292 <text style="text_l">
3293 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3294 <text>{@copying_log=Copy Logs to SD Card}</text>
3295 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003296
Matt Mower32676622017-01-18 18:56:13 -06003297 <checkbox>
3298 <placement x="%indent%" y="%row4_y%"/>
3299 <text>{@include_kernel_log=Include Kernel Log}</text>
3300 <data variable="tw_include_kernel_log" value="1"/>
3301 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003302
Matt Mower32676622017-01-18 18:56:13 -06003303 <slider>
3304 <text>{@copying_log=Copy Logs to SD Card}</text>
3305 <actions>
3306 <action function="set">tw_back=advanced</action>
3307 <action function="set">tw_action=copylog</action>
3308 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3309 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3310 <action function="page">action_page</action>
3311 </actions>
3312 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003313
Matt Mower32676622017-01-18 18:56:13 -06003314 <action>
3315 <touch key="home"/>
3316 <action function="page">main</action>
3317 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003318
Matt Mower32676622017-01-18 18:56:13 -06003319 <action>
3320 <touch key="back"/>
3321 <actions>
3322 <action function="page">advanced</action>
3323 </actions>
3324 </action>
3325 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003326
z31s1g28f0a922015-11-07 18:50:22 +01003327 <page name="advanced">
3328 <template name="page"/>
3329
3330 <text style="text_l">
3331 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 </text>
3334
3335 <button style="main_button">
3336 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003338 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003339 </button>
3340
3341 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003342 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003344 <text>{@fix_context_btn=Fix Contexts}</text>
3345 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </button>
3347
3348 <button style="main_button">
3349 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3350 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003352 <actions>
3353 <action function="set">partitionlisterror=0</action>
3354 <action function="page">partsdcardsel</action>
3355 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003356 </button>
3357
3358 <button style="main_button">
3359 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <action function="page">filemanagerlist</action>
3362 </button>
3363
3364 <button style="main_button">
3365 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003367 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003368 </button>
3369
3370 <button style="main_button">
3371 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <action function="reload"/>
3374 </button>
3375
3376 <button style="main_button">
3377 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <action function="page">sideload</action>
3380 </button>
3381
3382 <button style="main_button">
3383 <condition var1="tw_show_dumlock" var2="1"/>
3384 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003385 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <action function="page">htcdumlock</action>
3387 </button>
3388
3389 <button style="main_button">
3390 <condition var1="tw_has_injecttwrp" var2="1"/>
3391 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <actions>
3394 <action function="set">tw_back=advanced</action>
3395 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003396 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3397 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3398 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3399 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <action function="page">confirm_action</action>
3401 </actions>
3402 </button>
3403
3404 <action>
3405 <touch key="home"/>
3406 <action function="page">main</action>
3407 </action>
3408
3409 <action>
3410 <touch key="back"/>
3411 <action function="page">main</action>
3412 </action>
3413 </page>
3414
Ethan Yonker483e9f42016-01-11 22:21:18 -06003415 <page name="partsdcardsel">
3416 <template name="page"/>
3417
3418 <text style="text_l">
3419 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3420 <text>{@advanced_hdr=Advanced}</text>
3421 </text>
3422
3423 <text style="text_m">
3424 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3425 <text>{@part_sd_hdr=Partition SD Card}</text>
3426 </text>
3427
z31s1g782e1c92016-01-30 16:50:09 +01003428 <partitionlist>
3429 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003430 <text>{@sel_storage_list=Select Storage}</text>
3431 <data name="tw_storage_path"/>
3432 <listtype name="storage"/>
3433 </partitionlist>
3434
z31s1g782e1c92016-01-30 16:50:09 +01003435 <text style="text_m_fail">
3436 <condition var1="partitionlisterror" var2="1"/>
3437 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3438 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3439 </text>
3440
3441 <button style="main_button_half_width">
3442 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003443 <text>{@ok_btn=OK}</text>
3444 <actions>
3445 <action function="getpartitiondetails">tw_storage_path</action>
3446 <action function="page">partsdcardcheck</action>
3447 </actions>
3448 </button>
3449
Ethan Yonker483e9f42016-01-11 22:21:18 -06003450 <action>
3451 <touch key="home"/>
3452 <action function="page">main</action>
3453 </action>
3454
3455 <action>
3456 <touch key="back"/>
3457 <action function="page">advanced</action>
3458 </action>
3459 </page>
3460
3461 <page name="partsdcardcheck">
3462 <action>
3463 <condition var1="tw_partition_removable" op="=" var2="1"/>
3464 <actions>
3465 <action function="set">partitionlisterror=0</action>
3466 <action function="page">partsdcard</action>
3467 </actions>
3468 </action>
3469
3470 <action>
3471 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3472 <actions>
3473 <action function="set">partitionlisterror=1</action>
3474 <action function="page">partsdcardsel</action>
3475 </actions>
3476 </action>
3477 </page>
3478
z31s1g28f0a922015-11-07 18:50:22 +01003479 <page name="partsdcard">
3480 <template name="page"/>
3481
3482 <text style="text_l">
3483 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 </text>
3486
3487 <text style="text_m">
3488 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003490 </text>
3491
3492 <text style="text_m_fail">
3493 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 </text>
3496
3497 <text style="text_m_fail">
3498 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 </text>
3501
3502 <text style="text_m_accent">
3503 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003504 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003505 </text>
3506
3507 <text style="text_m">
3508 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3509 <text>%tw_sdext_size%</text>
3510 </text>
3511
3512 <button style="button_quarter_width">
3513 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003514 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003515 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </button>
3517
3518 <button style="button_quarter_width">
3519 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003521 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003522 </button>
3523
3524 <text style="text_m_accent">
3525 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003527 </text>
3528
3529 <text style="text_m">
3530 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3531 <text>%tw_swap_size%</text>
3532 </text>
3533
3534 <button style="button_quarter_width">
3535 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003537 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003538 </button>
3539
3540 <button style="button_quarter_width">
3541 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003543 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003544 </button>
3545
3546 <text style="text_m_accent">
3547 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 </text>
3550
3551 <text style="text_m">
3552 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3553 <text>%tw_sdpart_file_system%</text>
3554 </text>
3555
3556 <button style="button_quarter_width">
3557 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3558 <text>EXT3</text>
3559 <action function="set">tw_sdpart_file_system=ext3</action>
3560 </button>
3561
3562 <button style="button_quarter_width">
3563 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3564 <text>EXT4</text>
3565 <action function="set">tw_sdpart_file_system=ext4</action>
3566 </button>
3567
3568 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003570 <action function="page">partsdcardaction</action>
3571 <actions>
3572 <action function="set">tw_back=partsdcard</action>
3573 <action function="set">tw_action=partitionsd</action>
3574 <action function="set">tw_has_action2=1</action>
3575 <action function="set">tw_action2=set</action>
3576 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3578 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3579 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <action function="page">action_page</action>
3581 </actions>
3582 </slider>
3583
3584 <action>
3585 <touch key="home"/>
3586 <action function="page">main</action>
3587 </action>
3588
3589 <action>
3590 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003591 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003592 </action>
3593 </page>
3594
3595 <page name="htcdumlock">
3596 <template name="page"/>
3597
3598 <text style="text_l">
3599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 </text>
3607
3608 <button style="main_button_m">
3609 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <actions>
3612 <action function="set">tw_back=htcdumlock</action>
3613 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3615 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3616 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3617 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <action function="page">confirm_action</action>
3619 </actions>
3620 </button>
3621
3622 <button style="main_button_m">
3623 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <actions>
3626 <action function="set">tw_back=htcdumlock</action>
3627 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3629 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3630 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3631 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003632 <action function="page">confirm_action</action>
3633 </actions>
3634 </button>
3635
3636 <button style="main_button_m">
3637 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003639 <actions>
3640 <action function="set">tw_back=htcdumlock</action>
3641 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3643 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3644 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3645 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <action function="page">confirm_action</action>
3647 </actions>
3648 </button>
3649
3650 <action>
3651 <touch key="home"/>
3652 <action function="page">main</action>
3653 </action>
3654
3655 <action>
3656 <touch key="back"/>
3657 <action function="page">advanced</action>
3658 </action>
3659 </page>
3660
3661 <page name="lock">
3662 <background color="%semi_transparent%"/>
3663
3664 <image>
3665 <image resource="unlock_icon"/>
3666 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3667 </image>
3668
3669 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="overlay"/>
3672 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003673
3674 <action>
3675 <touch key="power"/>
3676 <action function="togglebacklight"/>
3677 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003678 </page>
3679
3680 <page name="filemanagerlist">
3681 <template name="page"/>
3682
3683 <text style="text_l">
3684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 </text>
3687
3688 <text style="text_m">
3689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <template name="sort_options"/>
3694
3695 <fileselector>
3696 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3697 <text>%tw_file_location1%</text>
3698 <filter folders="1" files="1"/>
3699 <path name="tw_file_location1" default="/"/>
3700 <data name="tw_filename1"/>
3701 <selection name="tw_selection1"/>
3702 </fileselector>
3703
3704 <button style="main_button_half_width_low">
3705 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 <actions>
3708 <action function="set">tw_filename1=tw_file_location1</action>
3709 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003710 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003711 <action function="page">filemanageroptions</action>
3712 </actions>
3713 </button>
3714
3715 <action>
3716 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003718 <action function="set">tw_fm_isfolder=0</action>
3719 </actions>
3720 </action>
3721
3722 <action>
3723 <touch key="home"/>
3724 <action function="page">main</action>
3725 </action>
3726
3727 <action>
3728 <touch key="back"/>
3729 <action function="page">advanced</action>
3730 </action>
3731
3732 <action>
3733 <condition var1="tw_filename1" op="modified"/>
3734 <action function="page">filemanageroptions</action>
3735 </action>
3736 </page>
3737
3738 <page name="filemanageroptions">
3739 <template name="page"/>
3740
3741 <text style="text_l">
3742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003744 </text>
3745
3746 <text style="text_m">
3747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <text style="text_m_accent">
3752 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003753 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003754 </text>
3755
3756 <text style="text_m">
3757 <placement x="%col1_x_left%" y="%row3_y%"/>
3758 <text>%tw_filename1%</text>
3759 </text>
3760
3761 <button style="main_button_half_width">
3762 <condition var1="tw_fm_isfolder" var2="0"/>
3763 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 <actions>
3766 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003767 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003768 <action function="page">choosedestinationfolder</action>
3769 </actions>
3770 </button>
3771
3772 <button style="main_button_half_width">
3773 <condition var1="tw_fm_isfolder" var2="1"/>
3774 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003775 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003776 <actions>
3777 <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 -05003778 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003779 <action function="page">choosedestinationfolder</action>
3780 </actions>
3781 </button>
3782
3783 <button style="main_button_half_width">
3784 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003786 <actions>
3787 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003788 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003789 <action function="page">choosedestinationfolder</action>
3790 </actions>
3791 </button>
3792
3793 <button style="main_button_half_width">
3794 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003795 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003796 <actions>
3797 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003799 <action function="set">tw_fm_text2=</action>
3800 <action function="set">tw_fm_text3=</action>
3801 <action function="set">tw_include_text3=0</action>
3802 <action function="set">tw_back=filemanageroptions</action>
3803 <action function="page">filemanagerconfirm</action>
3804 </actions>
3805 </button>
3806
3807 <button style="main_button_half_width">
3808 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003809 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003810 <actions>
3811 <action function="set">tw_filemanager_rename=0000</action>
3812 <action function="set">tw_fm_text2=</action>
3813 <action function="set">tw_fm_text3=</action>
3814 <action function="set">tw_include_text3=0</action>
3815 <action function="set">tw_back=filemanageroptions</action>
3816 <action function="page">filemanagerchmod</action>
3817 </actions>
3818 </button>
3819
3820 <button style="main_button_half_width">
3821 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003823 <actions>
3824 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003825 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003826 <action function="set">tw_fm_text2=</action>
3827 <action function="set">tw_fm_text3=</action>
3828 <action function="set">tw_include_text3=0</action>
3829 <action function="set">tw_back=filemanageroptions</action>
3830 <action function="page">filemanagerconfirm</action>
3831 </actions>
3832 </button>
3833
3834 <button style="main_button_half_width">
3835 <condition var1="tw_fm_isfolder" var2="0"/>
3836 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003837 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003838 <actions>
3839 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003841 <action function="set">tw_filemanager_command=mv</action>
3842 <action function="page">filemanagerrenamefile</action>
3843 </actions>
3844 </button>
3845
3846 <button style="main_button_half_width">
3847 <condition var1="tw_fm_isfolder" var2="1"/>
3848 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 <actions>
3851 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003853 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3854 <action function="page">filemanagerrenamefolder</action>
3855 </actions>
3856 </button>
3857
3858 <action>
3859 <touch key="home"/>
3860 <action function="page">main</action>
3861 </action>
3862
3863 <action>
3864 <touch key="back"/>
3865 <action function="page">filemanagerlist</action>
3866 </action>
3867 </page>
3868
3869 <page name="choosedestinationfolder">
3870 <template name="page"/>
3871
3872 <text style="text_l">
3873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <text style="text_m">
3878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <template name="sort_options"/>
3883
3884 <fileselector>
3885 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3886 <text>%tw_file_location2%</text>
3887 <filter folders="1" files="0"/>
3888 <path name="tw_file_location2" default="/"/>
3889 <data name="tw_filename2"/>
3890 <selection name="tw_selection2"/>
3891 </fileselector>
3892
3893 <button style="main_button_half_width_low">
3894 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 <actions>
3897 <action function="set">tw_fm_text2=to</action>
3898 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3899 <action function="set">tw_include_text3=1</action>
3900 <action function="set">tw_back=filemanageroptions</action>
3901 <action function="page">filemanagerconfirm</action>
3902 </actions>
3903 </button>
3904
3905 <action>
3906 <touch key="home"/>
3907 <action function="page">main</action>
3908 </action>
3909
3910 <action>
3911 <touch key="back"/>
3912 <action function="page">filemanageroptions</action>
3913 </action>
3914 </page>
3915
3916 <page name="filemanagerrenamefile">
3917 <template name="page"/>
3918
3919 <text style="text_l">
3920 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 </text>
3923
3924 <text style="text_m">
3925 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <text style="text_m_accent">
3930 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <input>
3935 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3936 <text>%tw_filemanager_rename%</text>
3937 <data name="tw_filemanager_rename"/>
3938 <restrict minlen="1" maxlen="128"/>
3939 <actions>
3940 <action function="set">tw_fm_text2=to</action>
3941 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3942 <action function="set">tw_include_text3=1</action>
3943 <action function="set">tw_back=filemanageroptions</action>
3944 <action function="page">filemanagerconfirm</action>
3945 </actions>
3946 </input>
3947
3948 <fill color="%accent_color%">
3949 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3950 </fill>
3951
3952 <button style="main_button_half_width_low">
3953 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 <action function="page">filemanageroptions</action>
3956 </button>
3957
3958 <template name="keyboardtemplate"/>
3959
3960 <action>
3961 <touch key="home"/>
3962 <action function="page">main</action>
3963 </action>
3964
3965 <action>
3966 <touch key="back"/>
3967 <action function="page">filemanageroptions</action>
3968 </action>
3969 </page>
3970
3971 <page name="filemanagerrenamefolder">
3972 <template name="page"/>
3973
3974 <text style="text_l">
3975 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 </text>
3978
3979 <text style="text_m">
3980 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m_accent">
3985 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <input>
3990 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3991 <text>%tw_filemanager_rename%</text>
3992 <data name="tw_filemanager_rename"/>
3993 <restrict minlen="1" maxlen="128"/>
3994 <actions>
3995 <action function="set">tw_fm_text2=to</action>
3996 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3997 <action function="set">tw_include_text3=1</action>
3998 <action function="set">tw_back=filemanageroptions</action>
3999 <action function="page">filemanagerconfirm</action>
4000 </actions>
4001 </input>
4002
4003 <fill color="%accent_color%">
4004 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4005 </fill>
4006
4007 <button style="main_button_half_width_low">
4008 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004009 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004010 <action function="page">filemanageroptions</action>
4011 </button>
4012
4013 <template name="keyboardtemplate"/>
4014
4015 <action>
4016 <touch key="home"/>
4017 <action function="page">main</action>
4018 </action>
4019
4020 <action>
4021 <touch key="back"/>
4022 <action function="page">filemanageroptions</action>
4023 </action>
4024 </page>
4025
4026 <page name="filemanagerchmod">
4027 <template name="page"/>
4028
4029 <text style="text_l">
4030 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004031 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004032 </text>
4033
4034 <text style="text_m">
4035 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <text style="text_m_accent">
4040 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 </text>
4043
4044 <input>
4045 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4046 <text>%tw_filemanager_rename%</text>
4047 <data name="tw_filemanager_rename"/>
4048 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4049 <actions>
4050 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4051 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4052 <action function="set">tw_back=filemanageroptions</action>
4053 <action function="page">filemanagerconfirm</action>
4054 </actions>
4055 </input>
4056
4057 <fill color="%accent_color%">
4058 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4059 </fill>
4060
4061 <button style="main_button_half_width_low">
4062 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 <action function="page">filemanageroptions</action>
4065 </button>
4066
4067 <template name="keyboardtemplate"/>
4068
4069 <action>
4070 <touch key="home"/>
4071 <action function="page">main</action>
4072 </action>
4073
4074 <action>
4075 <touch key="back"/>
4076 <action function="page">filemanageroptions</action>
4077 </action>
4078 </page>
4079
4080 <page name="filemanagerconfirm">
4081 <template name="page"/>
4082
4083 <text style="text_l">
4084 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004086 </text>
4087
4088 <text style="text_m">
4089 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 </text>
4092
4093 <text style="text_m_accent">
4094 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4095 <text>%tw_fm_text1%</text>
4096 </text>
4097
4098 <text style="text_m">
4099 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4100 <text>%tw_filename1%</text>
4101 </text>
4102
4103 <text style="text_m_accent">
4104 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4105 <text>%tw_fm_text2%</text>
4106 </text>
4107
4108 <text style="text_m">
4109 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4110 <text>%tw_fm_text3%</text>
4111 </text>
4112
4113 <text style="text_m">
4114 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 </text>
4117
4118 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004120 <action function="page">filemanageraction</action>
4121 </slider>
4122
4123 <action>
4124 <touch key="back"/>
4125 <action function="page">%tw_back%</action>
4126 </action>
4127
4128 <action>
4129 <touch key="home"/>
4130 <action function="page">main</action>
4131 </action>
4132 </page>
4133
4134 <page name="filemanageraction">
4135 <template name="page"/>
4136
4137 <text style="text_l">
4138 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004139 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004140 </text>
4141
4142 <text style="text_m">
4143 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4144 <text>%tw_fm_text1%</text>
4145 </text>
4146
4147 <template name="console"/>
4148
4149 <template name="progress_bar"/>
4150
4151 <action>
4152 <conditions>
4153 <condition var1="tw_operation_state" var2="1"/>
4154 <condition var1="tw_operation_status" var2="0"/>
4155 </conditions>
4156 <actions>
4157 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004159 <action function="page">action_complete</action>
4160 </actions>
4161 </action>
4162
4163 <action>
4164 <conditions>
4165 <condition var1="tw_operation_state" var2="1"/>
4166 <condition var1="tw_operation_status" op="!=" var2="0"/>
4167 </conditions>
4168 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004170 <action function="page">action_complete</action>
4171 </actions>
4172 </action>
4173
4174 <action>
4175 <condition var1="tw_include_text3" var2="0"/>
4176 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4177 </action>
4178
4179 <action>
4180 <condition var1="tw_include_text3" var2="1"/>
4181 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4182 </action>
4183 </page>
4184
4185 <page name="decrypt">
4186 <template name="page"/>
4187
4188 <action>
4189 <condition var1="tw_crypto_pwtype" var2="2"/>
4190 <action function="page">decrypt_pattern</action>
4191 </action>
4192
4193 <text style="text_l">
4194 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004196 </text>
4197
4198 <text style="text_m">
4199 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </text>
4202
4203 <text style="text_m_accent">
4204 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 </text>
4207
4208 <input>
4209 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4210 <text>%tw_crypto_display%</text>
4211 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4212 <restrict minlen="1" maxlen="254"/>
4213 <action function="page">trydecrypt</action>
4214 </input>
4215
4216 <fill color="%accent_color%">
4217 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4218 </fill>
4219
4220 <fill color="%text_fail_color%">
4221 <condition var1="tw_password_fail" var2="1"/>
4222 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4223 </fill>
4224
4225 <text style="text_m_fail">
4226 <condition var1="tw_password_fail" var2="1"/>
4227 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004228 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004229 </text>
4230
4231 <button style="main_button_half_width_low">
4232 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 <actions>
4235 <action function="set">tw_page_done=1</action>
4236 <action function="page">main</action>
4237 </actions>
4238 </button>
4239
z31s1g608d7ff2016-01-18 19:47:25 +01004240 <button style="main_button_half_width_low">
4241 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4242 <text>{@sel_lang_btn=Select Language}</text>
4243 <action function="overlay">select_language</action>
4244 </button>
4245
z31s1g28f0a922015-11-07 18:50:22 +01004246 <template name="keyboardtemplate"/>
4247 </page>
4248
4249 <page name="decrypt_pattern">
4250 <template name="page"/>
4251
4252 <text style="text_l">
4253 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004254 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004255 </text>
4256
4257 <text style="text_m">
4258 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004259 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004260 </text>
4261
4262 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004263 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004264 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004265 </text>
4266
Aleksa Saraib25a1832015-12-31 17:36:00 +01004267 <text style="text_m_fail">
4268 <condition var1="tw_password_fail" var2="1"/>
4269 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004270 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004271 </text>
4272
z31s1g28f0a922015-11-07 18:50:22 +01004273 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004274 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004275 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4276 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4277 <data name="tw_crypto_password"/>
4278 <action function="page">trydecrypt</action>
4279 </patternpassword>
4280
Aleksa Saraib25a1832015-12-31 17:36:00 +01004281 <button style="main_button_half_width_low">
4282 <placement x="%col_button_right%" y="%row1a_y%"/>
4283 <text>3x3</text>
4284 <action function="set">tw_gui_pattern_grid_size=3</action>
4285 </button>
4286
4287 <button style="main_button_half_width_low">
4288 <placement x="%col_button_right%" y="%row4a_y%"/>
4289 <text>4x4</text>
4290 <action function="set">tw_gui_pattern_grid_size=4</action>
4291 </button>
4292
4293 <button style="main_button_half_width_low">
4294 <placement x="%col_button_right%" y="%row7a_y%"/>
4295 <text>5x5</text>
4296 <action function="set">tw_gui_pattern_grid_size=5</action>
4297 </button>
4298
4299 <button style="main_button_half_width_low">
4300 <placement x="%col_button_right%" y="%row10a_y%"/>
4301 <text>6x6</text>
4302 <action function="set">tw_gui_pattern_grid_size=6</action>
4303 </button>
4304
z31s1g28f0a922015-11-07 18:50:22 +01004305 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004306 <placement x="%col1_x_right%" y="%row15a_y%"/>
4307 <text>{@sel_lang_btn=Select Language}</text>
4308 <action function="overlay">select_language</action>
4309 </button>
4310
4311 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004312 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004313 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004314 <actions>
4315 <action function="set">tw_page_done=1</action>
4316 <action function="page">main</action>
4317 </actions>
4318 </button>
4319 </page>
4320
4321 <page name="trydecrypt">
4322 <template name="page"/>
4323
4324 <text style="text_l">
4325 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004326 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </text>
4328
4329 <text style="text_m">
4330 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004331 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004332 </text>
4333
4334 <template name="console"/>
4335
4336 <template name="progress_bar"/>
4337
4338 <action>
4339 <action function="decrypt"/>
4340 </action>
4341
4342 <action>
4343 <conditions>
4344 <condition var1="tw_operation_state" var2="1"/>
4345 <condition var1="tw_operation_status" op="!=" var2="0"/>
4346 </conditions>
4347 <actions>
4348 <action function="set">tw_password_fail=1</action>
4349 <action function="page">decrypt</action>
4350 </actions>
4351 </action>
4352
4353 <action>
4354 <conditions>
4355 <condition var1="tw_operation_state" var2="1"/>
4356 <condition var1="tw_operation_status" op="=" var2="0"/>
4357 </conditions>
4358 <actions>
4359 <action function="set">tw_page_done=1</action>
4360 <action function="page">main</action>
4361 </actions>
4362 </action>
4363 </page>
4364
z31s1g28f0a922015-11-07 18:50:22 +01004365 <page name="terminalcommand">
4366 <template name="page"/>
4367
4368 <fill color="%background_color%">
4369 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4370 </fill>
4371
z31s1g56189522016-01-13 19:12:40 +01004372 <terminal>
4373 <condition var1="tw_hide_kb" var2="0"/>
4374 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4375 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004376
z31s1g56189522016-01-13 19:12:40 +01004377 <terminal>
4378 <condition var1="tw_hide_kb" var2="1"/>
4379 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4380 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004381
z31s1g56189522016-01-13 19:12:40 +01004382 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004383
z31s1g56189522016-01-13 19:12:40 +01004384 <object type="fill" color="#000000">
4385 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4386 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004387
z31s1g608d7ff2016-01-18 19:47:25 +01004388 <button>
z31s1g56189522016-01-13 19:12:40 +01004389 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4390 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4391 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4392 <image resource="back" />
4393 <condition var1="tw_busy" var2="0" />
4394 <actions>
4395 <action function="set">tw_hide_kb=0</action>
4396 <action function="page">advanced</action>
4397 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004398 </button>
z31s1g56189522016-01-13 19:12:40 +01004399
z31s1g608d7ff2016-01-18 19:47:25 +01004400 <button>
z31s1g56189522016-01-13 19:12:40 +01004401 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4402 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4403 <condition var1="tw_hide_kb" op="=" var2="0" />
4404 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4405 <image resource="kb_hide" />
4406 <condition var1="tw_busy" var2="0" />
4407 <actions>
4408 <action function="set">tw_hide_kb=1</action>
4409 <action function="page">terminalcommand</action>
4410 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004411 </button>
z31s1g56189522016-01-13 19:12:40 +01004412
z31s1g608d7ff2016-01-18 19:47:25 +01004413 <button>
z31s1g56189522016-01-13 19:12:40 +01004414 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4415 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4416 <condition var1="tw_hide_kb" op="=" var2="1" />
4417 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4418 <image resource="kb_show" />
4419 <condition var1="tw_busy" var2="0" />
4420 <actions>
4421 <action function="set">tw_hide_kb=0</action>
4422 <action function="page">terminalcommand</action>
4423 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004424 </button>
z31s1g56189522016-01-13 19:12:40 +01004425
z31s1g608d7ff2016-01-18 19:47:25 +01004426 <button>
z31s1g56189522016-01-13 19:12:40 +01004427 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4428 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4429 <image resource="home" />
4430 <condition var1="tw_busy" var2="0" />
4431 <actions>
4432 <action function="set">tw_hide_kb=0</action>
4433 <action function="key">home</action>
4434 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004435 </button>
z31s1g56189522016-01-13 19:12:40 +01004436
z31s1g608d7ff2016-01-18 19:47:25 +01004437 <button>
z31s1g56189522016-01-13 19:12:40 +01004438 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4439 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4440 <condition var1="tw_hide_kb" op="=" var2="0" />
4441 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4442 <image resource="kb_hide" />
4443 <condition var1="tw_busy" var2="0" />
4444 <actions>
4445 <action function="set">tw_hide_kb=1</action>
4446 <action function="page">terminalcommand</action>
4447 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004448 </button>
z31s1g56189522016-01-13 19:12:40 +01004449
z31s1g608d7ff2016-01-18 19:47:25 +01004450 <button>
z31s1g56189522016-01-13 19:12:40 +01004451 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4452 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4453 <condition var1="tw_hide_kb" op="=" var2="1" />
4454 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4455 <image resource="kb_show" />
4456 <condition var1="tw_busy" var2="0" />
4457 <actions>
4458 <action function="set">tw_hide_kb=0</action>
4459 <action function="page">terminalcommand</action>
4460 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004461 </button>
z31s1g56189522016-01-13 19:12:40 +01004462
z31s1g608d7ff2016-01-18 19:47:25 +01004463 <button>
z31s1g56189522016-01-13 19:12:40 +01004464 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4465 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4466 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4467 <image resource="back" />
4468 <condition var1="tw_busy" var2="0" />
4469 <actions>
4470 <action function="set">tw_hide_kb=0</action>
4471 <action function="page">advanced</action>
4472 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004473 </button>
z31s1g56189522016-01-13 19:12:40 +01004474
z31s1g608d7ff2016-01-18 19:47:25 +01004475 <button>
z31s1g56189522016-01-13 19:12:40 +01004476 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4477 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4478 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4479 <image resource="back" />
4480 <condition var1="tw_busy" var2="0" />
4481 <actions>
4482 <action function="set">tw_hide_kb=0</action>
4483 <action function="page">advanced</action>
4484 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004485 </button>
z31s1g56189522016-01-13 19:12:40 +01004486
z31s1g608d7ff2016-01-18 19:47:25 +01004487 <button>
z31s1g56189522016-01-13 19:12:40 +01004488 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4489 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4490 <condition var1="tw_hide_kb" op="=" var2="0" />
4491 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4492 <image resource="kb_hide" />
4493 <condition var1="tw_busy" var2="0" />
4494 <actions>
4495 <action function="set">tw_hide_kb=1</action>
4496 <action function="page">terminalcommand</action>
4497 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004498 </button>
z31s1g56189522016-01-13 19:12:40 +01004499
z31s1g608d7ff2016-01-18 19:47:25 +01004500 <button>
z31s1g56189522016-01-13 19:12:40 +01004501 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4502 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4503 <condition var1="tw_hide_kb" op="=" var2="1" />
4504 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4505 <image resource="kb_show" />
4506 <condition var1="tw_busy" var2="0" />
4507 <actions>
4508 <action function="set">tw_hide_kb=0</action>
4509 <action function="page">terminalcommand</action>
4510 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004511 </button>
z31s1g56189522016-01-13 19:12:40 +01004512
z31s1g608d7ff2016-01-18 19:47:25 +01004513 <button>
z31s1g56189522016-01-13 19:12:40 +01004514 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4515 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4516 <image resource="home" />
4517 <condition var1="tw_busy" var2="0" />
4518 <actions>
4519 <action function="set">tw_hide_kb=0</action>
4520 <action function="key">home</action>
4521 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004522 </button>
z31s1g56189522016-01-13 19:12:40 +01004523
z31s1g608d7ff2016-01-18 19:47:25 +01004524 <button>
z31s1g56189522016-01-13 19:12:40 +01004525 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4526 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4527 <condition var1="tw_hide_kb" op="=" var2="0" />
4528 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4529 <image resource="kb_hide" />
4530 <condition var1="tw_busy" var2="0" />
4531 <actions>
4532 <action function="set">tw_hide_kb=1</action>
4533 <action function="page">terminalcommand</action>
4534 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004535 </button>
z31s1g56189522016-01-13 19:12:40 +01004536
z31s1g608d7ff2016-01-18 19:47:25 +01004537 <button>
z31s1g56189522016-01-13 19:12:40 +01004538 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4539 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4540 <condition var1="tw_hide_kb" op="=" var2="1" />
4541 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4542 <image resource="kb_show" />
4543 <condition var1="tw_busy" var2="0" />
4544 <actions>
4545 <action function="set">tw_hide_kb=0</action>
4546 <action function="page">terminalcommand</action>
4547 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004548 </button>
z31s1g56189522016-01-13 19:12:40 +01004549
z31s1g608d7ff2016-01-18 19:47:25 +01004550 <button>
z31s1g56189522016-01-13 19:12:40 +01004551 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4552 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4553 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4554 <image resource="back" />
4555 <condition var1="tw_busy" var2="0" />
4556 <actions>
4557 <action function="set">tw_hide_kb=0</action>
4558 <action function="page">advanced</action>
4559 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004560 </button>
z31s1g56189522016-01-13 19:12:40 +01004561
z31s1g608d7ff2016-01-18 19:47:25 +01004562 <button>
z31s1g56189522016-01-13 19:12:40 +01004563 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4564 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4565 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4566 <image resource="back" />
4567 <condition var1="tw_busy" var2="0" />
4568 <actions>
4569 <action function="set">tw_hide_kb=0</action>
4570 <action function="page">advanced</action>
4571 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004572 </button>
z31s1g56189522016-01-13 19:12:40 +01004573
z31s1g608d7ff2016-01-18 19:47:25 +01004574 <button>
z31s1g56189522016-01-13 19:12:40 +01004575 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4576 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4577 <condition var1="tw_hide_kb" op="=" var2="0" />
4578 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4579 <image resource="kb_hide" />
4580 <condition var1="tw_busy" var2="0" />
4581 <actions>
4582 <action function="set">tw_hide_kb=1</action>
4583 <action function="page">terminalcommand</action>
4584 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004585 </button>
z31s1g56189522016-01-13 19:12:40 +01004586
z31s1g608d7ff2016-01-18 19:47:25 +01004587 <button>
z31s1g56189522016-01-13 19:12:40 +01004588 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4589 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4590 <condition var1="tw_hide_kb" op="=" var2="1" />
4591 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4592 <image resource="kb_show" />
4593 <condition var1="tw_busy" var2="0" />
4594 <actions>
4595 <action function="set">tw_hide_kb=0</action>
4596 <action function="page">terminalcommand</action>
4597 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004598 </button>
z31s1g56189522016-01-13 19:12:40 +01004599
z31s1g608d7ff2016-01-18 19:47:25 +01004600 <button>
z31s1g56189522016-01-13 19:12:40 +01004601 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4602 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4603 <image resource="home" />
4604 <condition var1="tw_busy" var2="0" />
4605 <actions>
4606 <action function="set">tw_hide_kb=0</action>
4607 <action function="key">home</action>
4608 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004609 </button>
z31s1g56189522016-01-13 19:12:40 +01004610
z31s1g608d7ff2016-01-18 19:47:25 +01004611 <button>
z31s1g56189522016-01-13 19:12:40 +01004612 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4613 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4614 <condition var1="tw_hide_kb" op="=" var2="0" />
4615 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4616 <image resource="kb_hide" />
4617 <condition var1="tw_busy" var2="0" />
4618 <actions>
4619 <action function="set">tw_hide_kb=1</action>
4620 <action function="page">terminalcommand</action>
4621 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004622 </button>
z31s1g56189522016-01-13 19:12:40 +01004623
z31s1g608d7ff2016-01-18 19:47:25 +01004624 <button>
z31s1g56189522016-01-13 19:12:40 +01004625 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4626 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4627 <condition var1="tw_hide_kb" op="=" var2="1" />
4628 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4629 <image resource="kb_show" />
4630 <condition var1="tw_busy" var2="0" />
4631 <actions>
4632 <action function="set">tw_hide_kb=0</action>
4633 <action function="page">terminalcommand</action>
4634 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004635 </button>
z31s1g56189522016-01-13 19:12:40 +01004636
z31s1g608d7ff2016-01-18 19:47:25 +01004637 <button>
z31s1g56189522016-01-13 19:12:40 +01004638 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4639 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4640 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4641 <image resource="back" />
4642 <condition var1="tw_busy" var2="0" />
4643 <actions>
4644 <action function="set">tw_hide_kb=0</action>
4645 <action function="page">advanced</action>
4646 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004647 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004648
4649 <action>
4650 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004651 <actions>
4652 <action function="page">main</action>
4653 <action function="set">tw_hide_kb=0</action>
4654 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004655 </action>
4656
4657 <action>
4658 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004659 <actions>
4660 <action function="page">advanced</action>
4661 <action function="set">tw_hide_kb=0</action>
4662 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004663 </action>
z31s1g56189522016-01-13 19:12:40 +01004664
4665 <object type="action">
4666 <touch key="power+voldown" />
4667 <action function="screenshot" />
4668 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </page>
4670
4671 <page name="sideload">
4672 <template name="page"/>
4673
4674 <text style="text_l">
4675 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004677 </text>
4678
4679 <text style="text_m">
4680 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004681 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 </text>
4683
4684 <checkbox>
4685 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004686 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <data variable="tw_wipe_dalvik"/>
4688 </checkbox>
4689
4690 <checkbox>
4691 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004692 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 <data variable="tw_wipe_cache"/>
4694 </checkbox>
4695
4696 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004697 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 <actions>
4699 <action function="set">tw_back=advanced</action>
4700 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4702 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4703 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004704 <action function="set">tw_has_cancel=1</action>
4705 <action function="set">tw_show_reboot=1</action>
4706 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4707 <action function="page">action_page</action>
4708 </actions>
4709 </slider>
4710
4711 <action>
4712 <touch key="home"/>
4713 <action function="page">main</action>
4714 </action>
4715
4716 <action>
4717 <touch key="back"/>
4718 <action function="page">advanced</action>
4719 </action>
4720 </page>
4721
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004722 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004723 <template name="page"/>
4724
4725 <text style="text_l">
4726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004727 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004728 </text>
4729
4730 <text style="text_m">
4731 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004732 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 </text>
4734
4735 <text style="text_m_accent">
4736 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004737 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004738 </text>
4739
z31s1g28f0a922015-11-07 18:50:22 +01004740 <text style="text_m_fail">
4741 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004742 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004743 </text>
4744
4745 <text style="text_m_fail">
4746 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004747 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004748 </text>
4749
4750 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004751 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004752 <actions>
4753 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004754 <action function="set">tw_action=fixcontexts</action>
4755 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4756 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004757 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004758 <action function="set">tw_show_reboot=1</action>
4759 <action function="page">action_page</action>
4760 </actions>
4761 </slider>
4762
4763 <action>
4764 <touch key="home"/>
4765 <action function="page">main</action>
4766 </action>
4767
4768 <action>
4769 <touch key="back"/>
4770 <action function="page">advanced</action>
4771 </action>
4772 </page>
4773
z31s1g28f0a922015-11-07 18:50:22 +01004774 <page name="slideout">
4775 <fill color="%background_color%">
4776 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4777 </fill>
4778
4779 <console>
4780 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4781 </console>
4782
4783 <button>
4784 <fill color="%transparent%"/>
4785 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4786 <action function="overlay"/>
4787 </button>
4788
4789 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004790 <touch key="power"/>
4791 <action function="togglebacklight"/>
4792 </action>
4793
4794 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004795 <touch key="power+voldown"/>
4796 <action function="screenshot"/>
4797 </action>
4798 </page>
4799
4800 <page name="select_storage">
4801 <fill color="%semi_transparent%">
4802 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4803 </fill>
4804
4805 <fill color="%background_color%">
4806 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4807 </fill>
4808
4809 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004810 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004811 <data name="tw_storage_path"/>
4812 <listtype name="storage"/>
4813 </partitionlist>
4814
4815 <button style="button_third_width">
4816 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004817 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004818 <actions>
4819 <action function="set">tw_clear_destination=%tw_back%</action>
4820 <action function="overlay"/>
4821 <action function="page">clear_vars</action>
4822 </actions>
4823 </button>
4824
4825 <fill color="#000000">
4826 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4827 </fill>
4828
4829 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004830 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4831 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4832 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4833 <image resource="back" />
4834 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004835 <actions>
4836 <action function="overlay"/>
4837 <action function="key">%tw_back%</action>
4838 </actions>
4839 </button>
4840
4841 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004842 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4843 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4844 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4845 <image resource="console" />
4846 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004847 <action function="overlay">slideout</action>
4848 </button>
4849
4850 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004851 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4852 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4853 <image resource="home" />
4854 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004855 <actions>
4856 <action function="overlay"/>
4857 <action function="key">home</action>
4858 </actions>
4859 </button>
4860
4861 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004862 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4863 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4864 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4865 <image resource="console" />
4866 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004867 <action function="overlay">slideout</action>
4868 </button>
4869
4870 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004871 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4872 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4873 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4874 <image resource="back" />
4875 <condition var1="tw_busy" var2="0" />
4876 <actions>
4877 <action function="overlay"/>
4878 <action function="key">%tw_back%</action>
4879 </actions>
4880 </button>
4881
4882 <button>
4883 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4884 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4885 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4886 <image resource="back" />
4887 <condition var1="tw_busy" var2="0" />
4888 <actions>
4889 <action function="overlay"/>
4890 <action function="key">%tw_back%</action>
4891 </actions>
4892 </button>
4893
4894 <button>
4895 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4896 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4897 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4898 <image resource="console" />
4899 <condition var1="tw_busy" var2="0" />
4900 <action function="overlay">slideout</action>
4901 </button>
4902
4903 <button>
4904 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4905 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4906 <image resource="home" />
4907 <condition var1="tw_busy" var2="0" />
4908 <actions>
4909 <action function="overlay"/>
4910 <action function="key">home</action>
4911 </actions>
4912 </button>
4913
4914 <button>
4915 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4916 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4917 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4918 <image resource="console" />
4919 <condition var1="tw_busy" var2="0" />
4920 <action function="overlay">slideout</action>
4921 </button>
4922
4923 <button>
4924 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4925 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4926 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4927 <image resource="back" />
4928 <condition var1="tw_busy" var2="0" />
4929 <actions>
4930 <action function="overlay"/>
4931 <action function="key">%tw_back%</action>
4932 </actions>
4933 </button>
4934
4935 <button>
4936 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4937 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4938 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4939 <image resource="back" />
4940 <condition var1="tw_busy" var2="0" />
4941 <actions>
4942 <action function="overlay"/>
4943 <action function="key">%tw_back%</action>
4944 </actions>
4945 </button>
4946
4947 <button>
4948 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4949 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4950 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4951 <image resource="console" />
4952 <condition var1="tw_busy" var2="0" />
4953 <action function="overlay">slideout</action>
4954 </button>
4955
4956 <button>
4957 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4958 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4959 <image resource="home" />
4960 <condition var1="tw_busy" var2="0" />
4961 <actions>
4962 <action function="overlay"/>
4963 <action function="key">home</action>
4964 </actions>
4965 </button>
4966
4967 <button>
4968 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4969 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4970 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4971 <image resource="console" />
4972 <condition var1="tw_busy" var2="0" />
4973 <action function="overlay">slideout</action>
4974 </button>
4975
4976 <button>
4977 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4978 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4979 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4980 <image resource="back" />
4981 <condition var1="tw_busy" var2="0" />
4982 <actions>
4983 <action function="overlay"/>
4984 <action function="key">%tw_back%</action>
4985 </actions>
4986 </button>
4987
4988 <action>
4989 <touch key="power+voldown"/>
4990 <action function="screenshot"/>
4991 </action>
4992 </page>
4993
4994 <page name="select_language">
4995 <fill color="%semi_transparent%">
4996 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4997 </fill>
4998
4999 <fill color="%background_color%">
5000 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5001 </fill>
5002
5003 <listbox>
5004 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5005 <text>{@select_language=Select Language:}</text>
5006 <icon selected="radio_true" unselected="radio_false" />
5007 <data name="tw_language" />
5008 </listbox>
5009
5010 <button style="button_third_width">
5011 <placement x="%dialog_button_x%" y="%row13_y%"/>
5012 <text>{@ok_btn=OK}</text>
5013 <actions>
5014 <action function="overlay"/>
5015 <action function="setlanguage"></action>
5016 </actions>
5017 </button>
5018
5019 <fill color="#000000">
5020 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5021 </fill>
5022
5023 <button>
5024 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5025 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5026 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5027 <image resource="back" />
5028 <condition var1="tw_busy" var2="0" />
5029 <actions>
5030 <action function="overlay"/>
5031 <action function="key">%tw_back%</action>
5032 </actions>
5033 </button>
5034
5035 <button>
5036 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5037 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5038 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5039 <image resource="console" />
5040 <condition var1="tw_busy" var2="0" />
5041 <action function="overlay">slideout</action>
5042 </button>
5043
5044 <button>
5045 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5046 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5047 <image resource="home" />
5048 <condition var1="tw_busy" var2="0" />
5049 <actions>
5050 <action function="overlay"/>
5051 <action function="key">home</action>
5052 </actions>
5053 </button>
5054
5055 <button>
5056 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5057 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5058 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5059 <image resource="console" />
5060 <condition var1="tw_busy" var2="0" />
5061 <action function="overlay">slideout</action>
5062 </button>
5063
5064 <button>
5065 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5066 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5067 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5068 <image resource="back" />
5069 <condition var1="tw_busy" var2="0" />
5070 <actions>
5071 <action function="overlay"/>
5072 <action function="key">%tw_back%</action>
5073 </actions>
5074 </button>
5075
5076 <button>
5077 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5078 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5079 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5080 <image resource="back" />
5081 <condition var1="tw_busy" var2="0" />
5082 <actions>
5083 <action function="overlay"/>
5084 <action function="key">%tw_back%</action>
5085 </actions>
5086 </button>
5087
5088 <button>
5089 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5090 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5091 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5092 <image resource="console" />
5093 <condition var1="tw_busy" var2="0" />
5094 <action function="overlay">slideout</action>
5095 </button>
5096
5097 <button>
5098 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5099 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5100 <image resource="home" />
5101 <condition var1="tw_busy" var2="0" />
5102 <actions>
5103 <action function="overlay"/>
5104 <action function="key">home</action>
5105 </actions>
5106 </button>
5107
5108 <button>
5109 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5110 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5111 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5112 <image resource="console" />
5113 <condition var1="tw_busy" var2="0" />
5114 <action function="overlay">slideout</action>
5115 </button>
5116
5117 <button>
5118 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5119 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5120 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5121 <image resource="back" />
5122 <condition var1="tw_busy" var2="0" />
5123 <actions>
5124 <action function="overlay"/>
5125 <action function="key">%tw_back%</action>
5126 </actions>
5127 </button>
5128
5129 <button>
5130 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5131 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5132 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5133 <image resource="back" />
5134 <condition var1="tw_busy" var2="0" />
5135 <actions>
5136 <action function="overlay"/>
5137 <action function="key">%tw_back%</action>
5138 </actions>
5139 </button>
5140
5141 <button>
5142 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5143 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5144 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5145 <image resource="console" />
5146 <condition var1="tw_busy" var2="0" />
5147 <action function="overlay">slideout</action>
5148 </button>
5149
5150 <button>
5151 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5152 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5153 <image resource="home" />
5154 <condition var1="tw_busy" var2="0" />
5155 <actions>
5156 <action function="overlay"/>
5157 <action function="key">home</action>
5158 </actions>
5159 </button>
5160
5161 <button>
5162 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5163 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5164 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5165 <image resource="console" />
5166 <condition var1="tw_busy" var2="0" />
5167 <action function="overlay">slideout</action>
5168 </button>
5169
5170 <button>
5171 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5172 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5173 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5174 <image resource="back" />
5175 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005176 <actions>
5177 <action function="overlay"/>
5178 <action function="key">%tw_back%</action>
5179 </actions>
5180 </button>
5181
5182 <action>
5183 <touch key="power+voldown"/>
5184 <action function="screenshot"/>
5185 </action>
5186 </page>
5187 </pages>
5188</recovery>