blob: d1bce168d6995ef1cf65127d1de27ee26c2641d5 [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
2708 <action>
2709 <touch key="home"/>
2710 <action function="page">main</action>
2711 </action>
2712
2713 <action>
2714 <touch key="back"/>
2715 <action function="page">main</action>
2716 </action>
2717 </page>
2718
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002719 <page name="rebootapp">
2720 <template name="page"/>
2721
2722 <text style="text_l">
2723 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2724 <text>{@reboot_hdr=Reboot}</text>
2725 </text>
2726
2727 <text style="text_m">
2728 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2729 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2730 </text>
2731
2732 <text style="text_m_accent">
2733 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2734 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2735 </text>
2736
2737 <text style="text_m_accent">
2738 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2739 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2740 </text>
2741
2742 <checkbox>
2743 <placement x="%indent%" y="%row5_y%"/>
2744 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2745 <data variable="tw_app_prompt"/>
2746 </checkbox>
2747
2748 <checkbox>
2749 <condition var1="tw_mount_system_ro" var2="0"/>
2750 <placement x="%indent%" y="%row7_y%"/>
2751 <text>{@reboot_install_app_system=Install as a System App}</text>
2752 <data variable="tw_app_install_system"/>
2753 </checkbox>
2754
2755 <button style="main_button_half_width">
2756 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002757 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002758 <action function="reboot">%tw_reboot_param%</action>
2759 </button>
2760
2761 <slider>
2762 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2763 <actions>
2764 <action function="set">tw_back=reboot</action>
2765 <action function="set">tw_action=installapp</action>
2766 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2767 <action function="set">tw_action_text2=</action>
2768 <action function="set">tw_has_action2=1</action>
2769 <action function="set">tw_action2=reboot</action>
2770 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2771 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2772 <action function="page">action_page</action>
2773 </actions>
2774 </slider>
2775
2776 <action>
2777 <touch key="home"/>
2778 <actions>
2779 <action function="set">tw_app_install_status=0</action>
2780 <action function="page">main</action>
2781 </actions>
2782 </action>
2783
2784 <action>
2785 <touch key="back"/>
2786 <actions>
2787 <action function="set">tw_app_install_status=0</action>
2788 <action function="page">reboot</action>
2789 </actions>
2790 </action>
2791 </page>
2792
z31s1g28f0a922015-11-07 18:50:22 +01002793 <page name="system_readonly">
2794 <template name="page"/>
2795
2796 <text style="text_l">
2797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 </text>
2800
2801 <text style="text_m_accent">
2802 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m">
2807 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <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 +01002809 </text>
2810
2811 <text style="text_m">
2812 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <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 +01002814 </text>
2815
2816 <text style="text_m_fail">
2817 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 </text>
2820
2821 <checkbox>
2822 <condition var1="tw_is_encrypted" var2="0"/>
2823 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002824 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002825 <data variable="tw_never_show_system_ro_page"/>
2826 </checkbox>
2827
2828 <button style="main_button_half_width">
2829 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 <actions>
2832 <action function="mountsystemtoggle">1</action>
2833 <action function="set">tw_page_done=1</action>
2834 <action function="page">%tw_back%</action>
2835 </actions>
2836 </button>
2837
z31s1g608d7ff2016-01-18 19:47:25 +01002838 <button style="main_button_half_width">
2839 <placement x="%col2_x_left%" y="%row15a_y%"/>
2840 <text>{@sel_lang_btn=Select Language}</text>
2841 <action function="overlay">select_language</action>
2842 </button>
2843
z31s1g28f0a922015-11-07 18:50:22 +01002844 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <actions>
2847 <action function="mountsystemtoggle">0</action>
2848 <action function="set">tw_page_done=1</action>
2849 <action function="page">%tw_back%</action>
2850 </actions>
2851 </slider>
2852 </page>
2853
2854 <page name="settings">
2855 <template name="page"/>
2856
2857 <text style="text_l">
2858 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 </text>
2861
2862 <text style="text_m">
2863 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002864 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002865 </text>
2866
2867 <template name="tabs_settings"/>
2868
2869 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002870 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002871 </fill>
2872
2873 <listbox style="scrolllist">
2874 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2875 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002876 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002877 <data variable="tw_signed_zip_verify"/>
2878 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002879 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2880 <data variable="tw_install_reboot"/>
2881 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002882 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002883 <data variable="tw_rm_rf"/>
2884 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002885 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2886 <data variable="tw_disable_free_space"/>
2887 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002888 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2889 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002891 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2892 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002893 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002894 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002895 <data variable="tw_military_time"/>
2896 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002897 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2898 <data variable="tw_app_prompt"/>
2899 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002900 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002901 <data variable="tw_simulate_actions"/>
2902 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002904 <condition var1="tw_simulate_actions" var2="1"/>
2905 <data variable="tw_simulate_fail"/>
2906 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002907 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2908 <condition var1="tw_no_sha2" var2="0"/>
2909 <data variable="tw_use_sha2"/>
2910 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002911 </listbox>
2912
2913 <checkbox>
2914 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002916 <data variable="tw_samsung_navbar"/>
2917 </checkbox>
2918
2919 <button style="radiobutton">
2920 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2921 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002922 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002923 <image resource="radio_false"/>
2924 <action function="set">tw_navbar_button_position=0</action>
2925 </button>
2926
2927 <button style="radiobutton">
2928 <condition var1="tw_navbar_button_position" var2="0"/>
2929 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <image resource="radio_true"/>
2932 <action function="set">tw_navbar_button_position=0</action>
2933 </button>
2934
2935 <button style="radiobutton">
2936 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2937 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002938 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002939 <image resource="radio_false"/>
2940 <action function="set">tw_navbar_button_position=1</action>
2941 </button>
2942
2943 <button style="radiobutton">
2944 <condition var1="tw_navbar_button_position" var2="1"/>
2945 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002946 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002947 <image resource="radio_true"/>
2948 <action function="set">tw_navbar_button_position=1</action>
2949 </button>
2950
2951 <button style="radiobutton">
2952 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2953 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="radio_false"/>
2956 <action function="set">tw_navbar_button_position=2</action>
2957 </button>
2958
2959 <button style="radiobutton">
2960 <condition var1="tw_navbar_button_position" var2="2"/>
2961 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002962 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002963 <image resource="radio_true"/>
2964 <action function="set">tw_navbar_button_position=2</action>
2965 </button>
2966
2967 <button style="main_button_half_width">
2968 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002969 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002970 <action function="restoredefaultsettings"/>
2971 </button>
2972
2973 <action>
2974 <touch key="home"/>
2975 <action function="page">main</action>
2976 </action>
2977
2978 <action>
2979 <touch key="back"/>
2980 <action function="page">main</action>
2981 </action>
2982 </page>
2983
2984 <page name="settings_timezone">
2985 <template name="page"/>
2986
2987 <text style="text_l">
2988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <text style="text_m">
2993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 </text>
2996
2997 <template name="tabs_settings"/>
2998
2999 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003000 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003001 </fill>
3002
3003 <listbox>
3004 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003005 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003006 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3008 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3009 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3010 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3011 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3012 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3013 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3014 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3015 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3016 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3017 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3018 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3019 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3020 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3021 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3022 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3023 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3024 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3025 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3026 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3027 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3028 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3029 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3030 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003031 </listbox>
3032
3033 <text style="text_m_accent">
3034 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 </text>
3037
3038 <button style="button_quarter_width">
3039 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 <action function="set">tw_time_zone_guioffset=0</action>
3042 </button>
3043
3044 <button style="button_quarter_width">
3045 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 <action function="set">tw_time_zone_guioffset=15</action>
3048 </button>
3049
3050 <button style="button_quarter_width">
3051 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 <action function="set">tw_time_zone_guioffset=30</action>
3054 </button>
3055
3056 <button style="button_quarter_width">
3057 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003059 <action function="set">tw_time_zone_guioffset=45</action>
3060 </button>
3061
3062 <checkbox>
3063 <placement x="%col1_x_right%" y="%row7_y%"/>
3064 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003065 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003066 <data variable="tw_time_zone_guidst"/>
3067 <image checked="checkbox_true" unchecked="checkbox_false"/>
3068 </checkbox>
3069
3070 <text color="%text_color%">
3071 <font resource="font_m"/>
3072 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </text>
3075
3076 <button>
3077 <highlight color="%highlight_color%"/>
3078 <placement x="%col2_x_right%" y="%row15a_y%"/>
3079 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 <image resource="main_button_half_width"/>
3082 <action function="setguitimezone"/>
3083 </button>
3084
3085 <action>
3086 <touch key="home"/>
3087 <action function="page">main</action>
3088 </action>
3089
3090 <action>
3091 <touch key="back"/>
3092 <action function="page">main</action>
3093 </action>
3094 </page>
3095
3096 <page name="settings_screen">
3097 <template name="page"/>
3098
3099 <text style="text_l">
3100 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003102 </text>
3103
3104 <text style="text_m">
3105 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003106 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003107 </text>
3108
3109 <template name="tabs_settings"/>
3110
3111 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003113 </fill>
3114
3115 <button>
3116 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3117 <font resource="font_m" color="%text_color%"/>
3118 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3119 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <image resource="checkbox_false"/>
3122 <action function="set">tw_screen_timeout_secs=60</action>
3123 </button>
3124
3125 <button>
3126 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3127 <font resource="font_m" color="%text_color%"/>
3128 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3129 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003131 <image resource="checkbox_true"/>
3132 <action function="set">tw_screen_timeout_secs=0</action>
3133 </button>
3134
3135 <slidervalue>
3136 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3137 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3138 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3141 </slidervalue>
3142
3143 <slidervalue>
3144 <condition var1="tw_has_brightnesss_file" var2="1"/>
3145 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 <data variable="tw_brightness_pct" min="10" max="100"/>
3148 <actions>
3149 <action function="set">tw_brightness=%tw_brightness_max%</action>
3150 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3151 <action function="compute">tw_brightness/100</action>
3152 <action function="setbrightness">%tw_brightness%</action>
3153 </actions>
3154 </slidervalue>
3155
3156 <action>
3157 <touch key="home"/>
3158 <action function="page">main</action>
3159 </action>
3160
3161 <action>
3162 <touch key="back"/>
3163 <action function="page">main</action>
3164 </action>
3165 </page>
3166
3167 <page name="settings_vibration">
3168 <template name="page"/>
3169
3170 <text style="text_l">
3171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 </text>
3174
3175 <text style="text_m">
3176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003178 </text>
3179
3180 <template name="tabs_settings"/>
3181
3182 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003184 </fill>
3185
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003186 <text style="text_m">
3187 <condition var1="tw_disable_haptics" var2="1"/>
3188 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3189 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3190 </text>
3191
z31s1g28f0a922015-11-07 18:50:22 +01003192 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003193 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <data variable="tw_button_vibrate" min="0" max="300"/>
3197 </slidervalue>
3198
3199 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003200 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003201 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3204 </slidervalue>
3205
3206 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003207 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <data variable="tw_action_vibrate" min="0" max="500"/>
3211 </slidervalue>
3212
3213 <action>
3214 <touch key="home"/>
3215 <action function="page">main</action>
3216 </action>
3217
3218 <action>
3219 <touch key="back"/>
3220 <action function="page">main</action>
3221 </action>
3222 </page>
3223
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <page name="settings_language">
3225 <template name="page"/>
3226
3227 <text style="text_l">
3228 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3229 <text>{@settings_hdr=Settings}</text>
3230 </text>
3231
3232 <text style="text_m">
3233 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3234 <text>{@language_hdr=Language - %tw_language_display%}</text>
3235 </text>
3236
3237 <template name="tabs_settings"/>
3238
3239 <fill color="%text_color%">
3240 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3241 </fill>
3242
3243 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003244 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@select_language=Select Language:}</text>
3246 <icon selected="radio_true" unselected="radio_false" />
3247 <data name="tw_language" />
3248 </listbox>
3249
z31s1g56189522016-01-13 19:12:40 +01003250 <button>
3251 <highlight color="%highlight_color%"/>
3252 <placement x="%col2_x_right%" y="%row15a_y%"/>
3253 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003255 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <action function="setlanguage"></action>
3257 </button>
3258
3259 <action>
3260 <touch key="home" />
3261 <action function="page">main</action>
3262 </action>
3263
3264 <action>
3265 <touch key="back" />
3266 <action function="page">settings</action>
3267 </action>
3268 </page>
3269
Matt Mower32676622017-01-18 18:56:13 -06003270 <page name="copylog">
3271 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003272
Matt Mower32676622017-01-18 18:56:13 -06003273 <text style="text_l">
3274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3275 <text>{@copying_log=Copy Logs to SD Card}</text>
3276 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003277
Matt Mower32676622017-01-18 18:56:13 -06003278 <checkbox>
3279 <placement x="%indent%" y="%row4_y%"/>
3280 <text>{@include_kernel_log=Include Kernel Log}</text>
3281 <data variable="tw_include_kernel_log" value="1"/>
3282 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003283
Matt Mower32676622017-01-18 18:56:13 -06003284 <slider>
3285 <text>{@copying_log=Copy Logs to SD Card}</text>
3286 <actions>
3287 <action function="set">tw_back=advanced</action>
3288 <action function="set">tw_action=copylog</action>
3289 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3290 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3291 <action function="page">action_page</action>
3292 </actions>
3293 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003294
Matt Mower32676622017-01-18 18:56:13 -06003295 <action>
3296 <touch key="home"/>
3297 <action function="page">main</action>
3298 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003299
Matt Mower32676622017-01-18 18:56:13 -06003300 <action>
3301 <touch key="back"/>
3302 <actions>
3303 <action function="page">advanced</action>
3304 </actions>
3305 </action>
3306 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003307
z31s1g28f0a922015-11-07 18:50:22 +01003308 <page name="advanced">
3309 <template name="page"/>
3310
3311 <text style="text_l">
3312 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 </text>
3315
3316 <button style="main_button">
3317 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003319 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </button>
3321
3322 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003323 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003324 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003325 <text>{@fix_context_btn=Fix Contexts}</text>
3326 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </button>
3328
3329 <button style="main_button">
3330 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3331 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003333 <actions>
3334 <action function="set">partitionlisterror=0</action>
3335 <action function="page">partsdcardsel</action>
3336 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </button>
3338
3339 <button style="main_button">
3340 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 <action function="page">filemanagerlist</action>
3343 </button>
3344
3345 <button style="main_button">
3346 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003348 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </button>
3350
3351 <button style="main_button">
3352 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003354 <action function="reload"/>
3355 </button>
3356
3357 <button style="main_button">
3358 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 <action function="page">sideload</action>
3361 </button>
3362
3363 <button style="main_button">
3364 <condition var1="tw_show_dumlock" var2="1"/>
3365 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <action function="page">htcdumlock</action>
3368 </button>
3369
3370 <button style="main_button">
3371 <condition var1="tw_has_injecttwrp" var2="1"/>
3372 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003374 <actions>
3375 <action function="set">tw_back=advanced</action>
3376 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3378 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3379 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3380 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <action function="page">confirm_action</action>
3382 </actions>
3383 </button>
3384
3385 <action>
3386 <touch key="home"/>
3387 <action function="page">main</action>
3388 </action>
3389
3390 <action>
3391 <touch key="back"/>
3392 <action function="page">main</action>
3393 </action>
3394 </page>
3395
Ethan Yonker483e9f42016-01-11 22:21:18 -06003396 <page name="partsdcardsel">
3397 <template name="page"/>
3398
3399 <text style="text_l">
3400 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3401 <text>{@advanced_hdr=Advanced}</text>
3402 </text>
3403
3404 <text style="text_m">
3405 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3406 <text>{@part_sd_hdr=Partition SD Card}</text>
3407 </text>
3408
z31s1g782e1c92016-01-30 16:50:09 +01003409 <partitionlist>
3410 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003411 <text>{@sel_storage_list=Select Storage}</text>
3412 <data name="tw_storage_path"/>
3413 <listtype name="storage"/>
3414 </partitionlist>
3415
z31s1g782e1c92016-01-30 16:50:09 +01003416 <text style="text_m_fail">
3417 <condition var1="partitionlisterror" var2="1"/>
3418 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3419 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3420 </text>
3421
3422 <button style="main_button_half_width">
3423 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003424 <text>{@ok_btn=OK}</text>
3425 <actions>
3426 <action function="getpartitiondetails">tw_storage_path</action>
3427 <action function="page">partsdcardcheck</action>
3428 </actions>
3429 </button>
3430
Ethan Yonker483e9f42016-01-11 22:21:18 -06003431 <action>
3432 <touch key="home"/>
3433 <action function="page">main</action>
3434 </action>
3435
3436 <action>
3437 <touch key="back"/>
3438 <action function="page">advanced</action>
3439 </action>
3440 </page>
3441
3442 <page name="partsdcardcheck">
3443 <action>
3444 <condition var1="tw_partition_removable" op="=" var2="1"/>
3445 <actions>
3446 <action function="set">partitionlisterror=0</action>
3447 <action function="page">partsdcard</action>
3448 </actions>
3449 </action>
3450
3451 <action>
3452 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3453 <actions>
3454 <action function="set">partitionlisterror=1</action>
3455 <action function="page">partsdcardsel</action>
3456 </actions>
3457 </action>
3458 </page>
3459
z31s1g28f0a922015-11-07 18:50:22 +01003460 <page name="partsdcard">
3461 <template name="page"/>
3462
3463 <text style="text_l">
3464 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </text>
3467
3468 <text style="text_m">
3469 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </text>
3472
3473 <text style="text_m_fail">
3474 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </text>
3477
3478 <text style="text_m_fail">
3479 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </text>
3482
3483 <text style="text_m_accent">
3484 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <text style="text_m">
3489 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3490 <text>%tw_sdext_size%</text>
3491 </text>
3492
3493 <button style="button_quarter_width">
3494 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003496 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </button>
3498
3499 <button style="button_quarter_width">
3500 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003502 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </button>
3504
3505 <text style="text_m_accent">
3506 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003508 </text>
3509
3510 <text style="text_m">
3511 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3512 <text>%tw_swap_size%</text>
3513 </text>
3514
3515 <button style="button_quarter_width">
3516 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003518 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </button>
3520
3521 <button style="button_quarter_width">
3522 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003524 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003525 </button>
3526
3527 <text style="text_m_accent">
3528 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003529 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003530 </text>
3531
3532 <text style="text_m">
3533 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3534 <text>%tw_sdpart_file_system%</text>
3535 </text>
3536
3537 <button style="button_quarter_width">
3538 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3539 <text>EXT3</text>
3540 <action function="set">tw_sdpart_file_system=ext3</action>
3541 </button>
3542
3543 <button style="button_quarter_width">
3544 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3545 <text>EXT4</text>
3546 <action function="set">tw_sdpart_file_system=ext4</action>
3547 </button>
3548
3549 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003551 <action function="page">partsdcardaction</action>
3552 <actions>
3553 <action function="set">tw_back=partsdcard</action>
3554 <action function="set">tw_action=partitionsd</action>
3555 <action function="set">tw_has_action2=1</action>
3556 <action function="set">tw_action2=set</action>
3557 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3559 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3560 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003561 <action function="page">action_page</action>
3562 </actions>
3563 </slider>
3564
3565 <action>
3566 <touch key="home"/>
3567 <action function="page">main</action>
3568 </action>
3569
3570 <action>
3571 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003572 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003573 </action>
3574 </page>
3575
3576 <page name="htcdumlock">
3577 <template name="page"/>
3578
3579 <text style="text_l">
3580 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003582 </text>
3583
3584 <text style="text_m">
3585 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 </text>
3588
3589 <button style="main_button_m">
3590 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <actions>
3593 <action function="set">tw_back=htcdumlock</action>
3594 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3596 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3597 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3598 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003599 <action function="page">confirm_action</action>
3600 </actions>
3601 </button>
3602
3603 <button style="main_button_m">
3604 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 <actions>
3607 <action function="set">tw_back=htcdumlock</action>
3608 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3610 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3611 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3612 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003613 <action function="page">confirm_action</action>
3614 </actions>
3615 </button>
3616
3617 <button style="main_button_m">
3618 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 <actions>
3621 <action function="set">tw_back=htcdumlock</action>
3622 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3624 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3625 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3626 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003627 <action function="page">confirm_action</action>
3628 </actions>
3629 </button>
3630
3631 <action>
3632 <touch key="home"/>
3633 <action function="page">main</action>
3634 </action>
3635
3636 <action>
3637 <touch key="back"/>
3638 <action function="page">advanced</action>
3639 </action>
3640 </page>
3641
3642 <page name="lock">
3643 <background color="%semi_transparent%"/>
3644
3645 <image>
3646 <image resource="unlock_icon"/>
3647 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3648 </image>
3649
3650 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="overlay"/>
3653 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003654
3655 <action>
3656 <touch key="power"/>
3657 <action function="togglebacklight"/>
3658 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003659 </page>
3660
3661 <page name="filemanagerlist">
3662 <template name="page"/>
3663
3664 <text style="text_l">
3665 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003667 </text>
3668
3669 <text style="text_m">
3670 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 </text>
3673
3674 <template name="sort_options"/>
3675
3676 <fileselector>
3677 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3678 <text>%tw_file_location1%</text>
3679 <filter folders="1" files="1"/>
3680 <path name="tw_file_location1" default="/"/>
3681 <data name="tw_filename1"/>
3682 <selection name="tw_selection1"/>
3683 </fileselector>
3684
3685 <button style="main_button_half_width_low">
3686 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003688 <actions>
3689 <action function="set">tw_filename1=tw_file_location1</action>
3690 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003692 <action function="page">filemanageroptions</action>
3693 </actions>
3694 </button>
3695
3696 <action>
3697 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003699 <action function="set">tw_fm_isfolder=0</action>
3700 </actions>
3701 </action>
3702
3703 <action>
3704 <touch key="home"/>
3705 <action function="page">main</action>
3706 </action>
3707
3708 <action>
3709 <touch key="back"/>
3710 <action function="page">advanced</action>
3711 </action>
3712
3713 <action>
3714 <condition var1="tw_filename1" op="modified"/>
3715 <action function="page">filemanageroptions</action>
3716 </action>
3717 </page>
3718
3719 <page name="filemanageroptions">
3720 <template name="page"/>
3721
3722 <text style="text_l">
3723 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 </text>
3726
3727 <text style="text_m">
3728 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 </text>
3731
3732 <text style="text_m_accent">
3733 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003734 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003735 </text>
3736
3737 <text style="text_m">
3738 <placement x="%col1_x_left%" y="%row3_y%"/>
3739 <text>%tw_filename1%</text>
3740 </text>
3741
3742 <button style="main_button_half_width">
3743 <condition var1="tw_fm_isfolder" var2="0"/>
3744 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 <actions>
3747 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003749 <action function="page">choosedestinationfolder</action>
3750 </actions>
3751 </button>
3752
3753 <button style="main_button_half_width">
3754 <condition var1="tw_fm_isfolder" var2="1"/>
3755 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003757 <actions>
3758 <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 -05003759 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <action function="page">choosedestinationfolder</action>
3761 </actions>
3762 </button>
3763
3764 <button style="main_button_half_width">
3765 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003766 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003767 <actions>
3768 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003770 <action function="page">choosedestinationfolder</action>
3771 </actions>
3772 </button>
3773
3774 <button style="main_button_half_width">
3775 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <actions>
3778 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <action function="set">tw_fm_text2=</action>
3781 <action function="set">tw_fm_text3=</action>
3782 <action function="set">tw_include_text3=0</action>
3783 <action function="set">tw_back=filemanageroptions</action>
3784 <action function="page">filemanagerconfirm</action>
3785 </actions>
3786 </button>
3787
3788 <button style="main_button_half_width">
3789 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 <actions>
3792 <action function="set">tw_filemanager_rename=0000</action>
3793 <action function="set">tw_fm_text2=</action>
3794 <action function="set">tw_fm_text3=</action>
3795 <action function="set">tw_include_text3=0</action>
3796 <action function="set">tw_back=filemanageroptions</action>
3797 <action function="page">filemanagerchmod</action>
3798 </actions>
3799 </button>
3800
3801 <button style="main_button_half_width">
3802 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 <actions>
3805 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003807 <action function="set">tw_fm_text2=</action>
3808 <action function="set">tw_fm_text3=</action>
3809 <action function="set">tw_include_text3=0</action>
3810 <action function="set">tw_back=filemanageroptions</action>
3811 <action function="page">filemanagerconfirm</action>
3812 </actions>
3813 </button>
3814
3815 <button style="main_button_half_width">
3816 <condition var1="tw_fm_isfolder" var2="0"/>
3817 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003818 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003819 <actions>
3820 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003821 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 <action function="set">tw_filemanager_command=mv</action>
3823 <action function="page">filemanagerrenamefile</action>
3824 </actions>
3825 </button>
3826
3827 <button style="main_button_half_width">
3828 <condition var1="tw_fm_isfolder" var2="1"/>
3829 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003830 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003831 <actions>
3832 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003834 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3835 <action function="page">filemanagerrenamefolder</action>
3836 </actions>
3837 </button>
3838
3839 <action>
3840 <touch key="home"/>
3841 <action function="page">main</action>
3842 </action>
3843
3844 <action>
3845 <touch key="back"/>
3846 <action function="page">filemanagerlist</action>
3847 </action>
3848 </page>
3849
3850 <page name="choosedestinationfolder">
3851 <template name="page"/>
3852
3853 <text style="text_l">
3854 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 </text>
3857
3858 <text style="text_m">
3859 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <template name="sort_options"/>
3864
3865 <fileselector>
3866 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3867 <text>%tw_file_location2%</text>
3868 <filter folders="1" files="0"/>
3869 <path name="tw_file_location2" default="/"/>
3870 <data name="tw_filename2"/>
3871 <selection name="tw_selection2"/>
3872 </fileselector>
3873
3874 <button style="main_button_half_width_low">
3875 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003877 <actions>
3878 <action function="set">tw_fm_text2=to</action>
3879 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3880 <action function="set">tw_include_text3=1</action>
3881 <action function="set">tw_back=filemanageroptions</action>
3882 <action function="page">filemanagerconfirm</action>
3883 </actions>
3884 </button>
3885
3886 <action>
3887 <touch key="home"/>
3888 <action function="page">main</action>
3889 </action>
3890
3891 <action>
3892 <touch key="back"/>
3893 <action function="page">filemanageroptions</action>
3894 </action>
3895 </page>
3896
3897 <page name="filemanagerrenamefile">
3898 <template name="page"/>
3899
3900 <text style="text_l">
3901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 </text>
3909
3910 <text style="text_m_accent">
3911 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003913 </text>
3914
3915 <input>
3916 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3917 <text>%tw_filemanager_rename%</text>
3918 <data name="tw_filemanager_rename"/>
3919 <restrict minlen="1" maxlen="128"/>
3920 <actions>
3921 <action function="set">tw_fm_text2=to</action>
3922 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3923 <action function="set">tw_include_text3=1</action>
3924 <action function="set">tw_back=filemanageroptions</action>
3925 <action function="page">filemanagerconfirm</action>
3926 </actions>
3927 </input>
3928
3929 <fill color="%accent_color%">
3930 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3931 </fill>
3932
3933 <button style="main_button_half_width_low">
3934 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 <action function="page">filemanageroptions</action>
3937 </button>
3938
3939 <template name="keyboardtemplate"/>
3940
3941 <action>
3942 <touch key="home"/>
3943 <action function="page">main</action>
3944 </action>
3945
3946 <action>
3947 <touch key="back"/>
3948 <action function="page">filemanageroptions</action>
3949 </action>
3950 </page>
3951
3952 <page name="filemanagerrenamefolder">
3953 <template name="page"/>
3954
3955 <text style="text_l">
3956 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 </text>
3959
3960 <text style="text_m">
3961 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 </text>
3964
3965 <text style="text_m_accent">
3966 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 </text>
3969
3970 <input>
3971 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3972 <text>%tw_filemanager_rename%</text>
3973 <data name="tw_filemanager_rename"/>
3974 <restrict minlen="1" maxlen="128"/>
3975 <actions>
3976 <action function="set">tw_fm_text2=to</action>
3977 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3978 <action function="set">tw_include_text3=1</action>
3979 <action function="set">tw_back=filemanageroptions</action>
3980 <action function="page">filemanagerconfirm</action>
3981 </actions>
3982 </input>
3983
3984 <fill color="%accent_color%">
3985 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3986 </fill>
3987
3988 <button style="main_button_half_width_low">
3989 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 <action function="page">filemanageroptions</action>
3992 </button>
3993
3994 <template name="keyboardtemplate"/>
3995
3996 <action>
3997 <touch key="home"/>
3998 <action function="page">main</action>
3999 </action>
4000
4001 <action>
4002 <touch key="back"/>
4003 <action function="page">filemanageroptions</action>
4004 </action>
4005 </page>
4006
4007 <page name="filemanagerchmod">
4008 <template name="page"/>
4009
4010 <text style="text_l">
4011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <text style="text_m">
4016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m_accent">
4021 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004023 </text>
4024
4025 <input>
4026 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4027 <text>%tw_filemanager_rename%</text>
4028 <data name="tw_filemanager_rename"/>
4029 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4030 <actions>
4031 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4032 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4033 <action function="set">tw_back=filemanageroptions</action>
4034 <action function="page">filemanagerconfirm</action>
4035 </actions>
4036 </input>
4037
4038 <fill color="%accent_color%">
4039 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4040 </fill>
4041
4042 <button style="main_button_half_width_low">
4043 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 <action function="page">filemanageroptions</action>
4046 </button>
4047
4048 <template name="keyboardtemplate"/>
4049
4050 <action>
4051 <touch key="home"/>
4052 <action function="page">main</action>
4053 </action>
4054
4055 <action>
4056 <touch key="back"/>
4057 <action function="page">filemanageroptions</action>
4058 </action>
4059 </page>
4060
4061 <page name="filemanagerconfirm">
4062 <template name="page"/>
4063
4064 <text style="text_l">
4065 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004066 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004067 </text>
4068
4069 <text style="text_m">
4070 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004071 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004072 </text>
4073
4074 <text style="text_m_accent">
4075 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4076 <text>%tw_fm_text1%</text>
4077 </text>
4078
4079 <text style="text_m">
4080 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4081 <text>%tw_filename1%</text>
4082 </text>
4083
4084 <text style="text_m_accent">
4085 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4086 <text>%tw_fm_text2%</text>
4087 </text>
4088
4089 <text style="text_m">
4090 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4091 <text>%tw_fm_text3%</text>
4092 </text>
4093
4094 <text style="text_m">
4095 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004100 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004101 <action function="page">filemanageraction</action>
4102 </slider>
4103
4104 <action>
4105 <touch key="back"/>
4106 <action function="page">%tw_back%</action>
4107 </action>
4108
4109 <action>
4110 <touch key="home"/>
4111 <action function="page">main</action>
4112 </action>
4113 </page>
4114
4115 <page name="filemanageraction">
4116 <template name="page"/>
4117
4118 <text style="text_l">
4119 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004121 </text>
4122
4123 <text style="text_m">
4124 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4125 <text>%tw_fm_text1%</text>
4126 </text>
4127
4128 <template name="console"/>
4129
4130 <template name="progress_bar"/>
4131
4132 <action>
4133 <conditions>
4134 <condition var1="tw_operation_state" var2="1"/>
4135 <condition var1="tw_operation_status" var2="0"/>
4136 </conditions>
4137 <actions>
4138 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004139 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004140 <action function="page">action_complete</action>
4141 </actions>
4142 </action>
4143
4144 <action>
4145 <conditions>
4146 <condition var1="tw_operation_state" var2="1"/>
4147 <condition var1="tw_operation_status" op="!=" var2="0"/>
4148 </conditions>
4149 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004151 <action function="page">action_complete</action>
4152 </actions>
4153 </action>
4154
4155 <action>
4156 <condition var1="tw_include_text3" var2="0"/>
4157 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4158 </action>
4159
4160 <action>
4161 <condition var1="tw_include_text3" var2="1"/>
4162 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4163 </action>
4164 </page>
4165
4166 <page name="decrypt">
4167 <template name="page"/>
4168
4169 <action>
4170 <condition var1="tw_crypto_pwtype" var2="2"/>
4171 <action function="page">decrypt_pattern</action>
4172 </action>
4173
4174 <text style="text_l">
4175 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004176 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004177 </text>
4178
4179 <text style="text_m">
4180 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004181 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004182 </text>
4183
4184 <text style="text_m_accent">
4185 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 </text>
4188
4189 <input>
4190 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4191 <text>%tw_crypto_display%</text>
4192 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4193 <restrict minlen="1" maxlen="254"/>
4194 <action function="page">trydecrypt</action>
4195 </input>
4196
4197 <fill color="%accent_color%">
4198 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4199 </fill>
4200
4201 <fill color="%text_fail_color%">
4202 <condition var1="tw_password_fail" var2="1"/>
4203 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4204 </fill>
4205
4206 <text style="text_m_fail">
4207 <condition var1="tw_password_fail" var2="1"/>
4208 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004209 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
4212 <button style="main_button_half_width_low">
4213 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004215 <actions>
4216 <action function="set">tw_page_done=1</action>
4217 <action function="page">main</action>
4218 </actions>
4219 </button>
4220
z31s1g608d7ff2016-01-18 19:47:25 +01004221 <button style="main_button_half_width_low">
4222 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4223 <text>{@sel_lang_btn=Select Language}</text>
4224 <action function="overlay">select_language</action>
4225 </button>
4226
z31s1g28f0a922015-11-07 18:50:22 +01004227 <template name="keyboardtemplate"/>
4228 </page>
4229
4230 <page name="decrypt_pattern">
4231 <template name="page"/>
4232
4233 <text style="text_l">
4234 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004236 </text>
4237
4238 <text style="text_m">
4239 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </text>
4242
4243 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004244 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004245 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004246 </text>
4247
Aleksa Saraib25a1832015-12-31 17:36:00 +01004248 <text style="text_m_fail">
4249 <condition var1="tw_password_fail" var2="1"/>
4250 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004251 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004252 </text>
4253
z31s1g28f0a922015-11-07 18:50:22 +01004254 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004255 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004256 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4257 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4258 <data name="tw_crypto_password"/>
4259 <action function="page">trydecrypt</action>
4260 </patternpassword>
4261
Aleksa Saraib25a1832015-12-31 17:36:00 +01004262 <button style="main_button_half_width_low">
4263 <placement x="%col_button_right%" y="%row1a_y%"/>
4264 <text>3x3</text>
4265 <action function="set">tw_gui_pattern_grid_size=3</action>
4266 </button>
4267
4268 <button style="main_button_half_width_low">
4269 <placement x="%col_button_right%" y="%row4a_y%"/>
4270 <text>4x4</text>
4271 <action function="set">tw_gui_pattern_grid_size=4</action>
4272 </button>
4273
4274 <button style="main_button_half_width_low">
4275 <placement x="%col_button_right%" y="%row7a_y%"/>
4276 <text>5x5</text>
4277 <action function="set">tw_gui_pattern_grid_size=5</action>
4278 </button>
4279
4280 <button style="main_button_half_width_low">
4281 <placement x="%col_button_right%" y="%row10a_y%"/>
4282 <text>6x6</text>
4283 <action function="set">tw_gui_pattern_grid_size=6</action>
4284 </button>
4285
z31s1g28f0a922015-11-07 18:50:22 +01004286 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004287 <placement x="%col1_x_right%" y="%row15a_y%"/>
4288 <text>{@sel_lang_btn=Select Language}</text>
4289 <action function="overlay">select_language</action>
4290 </button>
4291
4292 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004293 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004295 <actions>
4296 <action function="set">tw_page_done=1</action>
4297 <action function="page">main</action>
4298 </actions>
4299 </button>
4300 </page>
4301
4302 <page name="trydecrypt">
4303 <template name="page"/>
4304
4305 <text style="text_l">
4306 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004307 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004308 </text>
4309
4310 <text style="text_m">
4311 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004312 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004313 </text>
4314
4315 <template name="console"/>
4316
4317 <template name="progress_bar"/>
4318
4319 <action>
4320 <action function="decrypt"/>
4321 </action>
4322
4323 <action>
4324 <conditions>
4325 <condition var1="tw_operation_state" var2="1"/>
4326 <condition var1="tw_operation_status" op="!=" var2="0"/>
4327 </conditions>
4328 <actions>
4329 <action function="set">tw_password_fail=1</action>
4330 <action function="page">decrypt</action>
4331 </actions>
4332 </action>
4333
4334 <action>
4335 <conditions>
4336 <condition var1="tw_operation_state" var2="1"/>
4337 <condition var1="tw_operation_status" op="=" var2="0"/>
4338 </conditions>
4339 <actions>
4340 <action function="set">tw_page_done=1</action>
4341 <action function="page">main</action>
4342 </actions>
4343 </action>
4344 </page>
4345
z31s1g28f0a922015-11-07 18:50:22 +01004346 <page name="terminalcommand">
4347 <template name="page"/>
4348
4349 <fill color="%background_color%">
4350 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4351 </fill>
4352
z31s1g56189522016-01-13 19:12:40 +01004353 <terminal>
4354 <condition var1="tw_hide_kb" var2="0"/>
4355 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4356 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004357
z31s1g56189522016-01-13 19:12:40 +01004358 <terminal>
4359 <condition var1="tw_hide_kb" var2="1"/>
4360 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4361 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004362
z31s1g56189522016-01-13 19:12:40 +01004363 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004364
z31s1g56189522016-01-13 19:12:40 +01004365 <object type="fill" color="#000000">
4366 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4367 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004368
z31s1g608d7ff2016-01-18 19:47:25 +01004369 <button>
z31s1g56189522016-01-13 19:12:40 +01004370 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4371 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4372 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4373 <image resource="back" />
4374 <condition var1="tw_busy" var2="0" />
4375 <actions>
4376 <action function="set">tw_hide_kb=0</action>
4377 <action function="page">advanced</action>
4378 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004379 </button>
z31s1g56189522016-01-13 19:12:40 +01004380
z31s1g608d7ff2016-01-18 19:47:25 +01004381 <button>
z31s1g56189522016-01-13 19:12:40 +01004382 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4383 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4384 <condition var1="tw_hide_kb" op="=" var2="0" />
4385 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4386 <image resource="kb_hide" />
4387 <condition var1="tw_busy" var2="0" />
4388 <actions>
4389 <action function="set">tw_hide_kb=1</action>
4390 <action function="page">terminalcommand</action>
4391 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004392 </button>
z31s1g56189522016-01-13 19:12:40 +01004393
z31s1g608d7ff2016-01-18 19:47:25 +01004394 <button>
z31s1g56189522016-01-13 19:12:40 +01004395 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4396 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4397 <condition var1="tw_hide_kb" op="=" var2="1" />
4398 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4399 <image resource="kb_show" />
4400 <condition var1="tw_busy" var2="0" />
4401 <actions>
4402 <action function="set">tw_hide_kb=0</action>
4403 <action function="page">terminalcommand</action>
4404 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004405 </button>
z31s1g56189522016-01-13 19:12:40 +01004406
z31s1g608d7ff2016-01-18 19:47:25 +01004407 <button>
z31s1g56189522016-01-13 19:12:40 +01004408 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4409 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4410 <image resource="home" />
4411 <condition var1="tw_busy" var2="0" />
4412 <actions>
4413 <action function="set">tw_hide_kb=0</action>
4414 <action function="key">home</action>
4415 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004416 </button>
z31s1g56189522016-01-13 19:12:40 +01004417
z31s1g608d7ff2016-01-18 19:47:25 +01004418 <button>
z31s1g56189522016-01-13 19:12:40 +01004419 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4420 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4421 <condition var1="tw_hide_kb" op="=" var2="0" />
4422 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4423 <image resource="kb_hide" />
4424 <condition var1="tw_busy" var2="0" />
4425 <actions>
4426 <action function="set">tw_hide_kb=1</action>
4427 <action function="page">terminalcommand</action>
4428 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004429 </button>
z31s1g56189522016-01-13 19:12:40 +01004430
z31s1g608d7ff2016-01-18 19:47:25 +01004431 <button>
z31s1g56189522016-01-13 19:12:40 +01004432 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4433 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4434 <condition var1="tw_hide_kb" op="=" var2="1" />
4435 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4436 <image resource="kb_show" />
4437 <condition var1="tw_busy" var2="0" />
4438 <actions>
4439 <action function="set">tw_hide_kb=0</action>
4440 <action function="page">terminalcommand</action>
4441 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004442 </button>
z31s1g56189522016-01-13 19:12:40 +01004443
z31s1g608d7ff2016-01-18 19:47:25 +01004444 <button>
z31s1g56189522016-01-13 19:12:40 +01004445 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4446 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4447 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4448 <image resource="back" />
4449 <condition var1="tw_busy" var2="0" />
4450 <actions>
4451 <action function="set">tw_hide_kb=0</action>
4452 <action function="page">advanced</action>
4453 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004454 </button>
z31s1g56189522016-01-13 19:12:40 +01004455
z31s1g608d7ff2016-01-18 19:47:25 +01004456 <button>
z31s1g56189522016-01-13 19:12:40 +01004457 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4458 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4459 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4460 <image resource="back" />
4461 <condition var1="tw_busy" var2="0" />
4462 <actions>
4463 <action function="set">tw_hide_kb=0</action>
4464 <action function="page">advanced</action>
4465 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004466 </button>
z31s1g56189522016-01-13 19:12:40 +01004467
z31s1g608d7ff2016-01-18 19:47:25 +01004468 <button>
z31s1g56189522016-01-13 19:12:40 +01004469 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4470 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4471 <condition var1="tw_hide_kb" op="=" var2="0" />
4472 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4473 <image resource="kb_hide" />
4474 <condition var1="tw_busy" var2="0" />
4475 <actions>
4476 <action function="set">tw_hide_kb=1</action>
4477 <action function="page">terminalcommand</action>
4478 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004479 </button>
z31s1g56189522016-01-13 19:12:40 +01004480
z31s1g608d7ff2016-01-18 19:47:25 +01004481 <button>
z31s1g56189522016-01-13 19:12:40 +01004482 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4483 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4484 <condition var1="tw_hide_kb" op="=" var2="1" />
4485 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4486 <image resource="kb_show" />
4487 <condition var1="tw_busy" var2="0" />
4488 <actions>
4489 <action function="set">tw_hide_kb=0</action>
4490 <action function="page">terminalcommand</action>
4491 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004492 </button>
z31s1g56189522016-01-13 19:12:40 +01004493
z31s1g608d7ff2016-01-18 19:47:25 +01004494 <button>
z31s1g56189522016-01-13 19:12:40 +01004495 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4496 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4497 <image resource="home" />
4498 <condition var1="tw_busy" var2="0" />
4499 <actions>
4500 <action function="set">tw_hide_kb=0</action>
4501 <action function="key">home</action>
4502 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004503 </button>
z31s1g56189522016-01-13 19:12:40 +01004504
z31s1g608d7ff2016-01-18 19:47:25 +01004505 <button>
z31s1g56189522016-01-13 19:12:40 +01004506 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4507 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4508 <condition var1="tw_hide_kb" op="=" var2="0" />
4509 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4510 <image resource="kb_hide" />
4511 <condition var1="tw_busy" var2="0" />
4512 <actions>
4513 <action function="set">tw_hide_kb=1</action>
4514 <action function="page">terminalcommand</action>
4515 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004516 </button>
z31s1g56189522016-01-13 19:12:40 +01004517
z31s1g608d7ff2016-01-18 19:47:25 +01004518 <button>
z31s1g56189522016-01-13 19:12:40 +01004519 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4520 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4521 <condition var1="tw_hide_kb" op="=" var2="1" />
4522 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4523 <image resource="kb_show" />
4524 <condition var1="tw_busy" var2="0" />
4525 <actions>
4526 <action function="set">tw_hide_kb=0</action>
4527 <action function="page">terminalcommand</action>
4528 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004529 </button>
z31s1g56189522016-01-13 19:12:40 +01004530
z31s1g608d7ff2016-01-18 19:47:25 +01004531 <button>
z31s1g56189522016-01-13 19:12:40 +01004532 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4533 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4534 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4535 <image resource="back" />
4536 <condition var1="tw_busy" var2="0" />
4537 <actions>
4538 <action function="set">tw_hide_kb=0</action>
4539 <action function="page">advanced</action>
4540 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004541 </button>
z31s1g56189522016-01-13 19:12:40 +01004542
z31s1g608d7ff2016-01-18 19:47:25 +01004543 <button>
z31s1g56189522016-01-13 19:12:40 +01004544 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4545 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4546 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4547 <image resource="back" />
4548 <condition var1="tw_busy" var2="0" />
4549 <actions>
4550 <action function="set">tw_hide_kb=0</action>
4551 <action function="page">advanced</action>
4552 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004553 </button>
z31s1g56189522016-01-13 19:12:40 +01004554
z31s1g608d7ff2016-01-18 19:47:25 +01004555 <button>
z31s1g56189522016-01-13 19:12:40 +01004556 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4557 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4558 <condition var1="tw_hide_kb" op="=" var2="0" />
4559 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4560 <image resource="kb_hide" />
4561 <condition var1="tw_busy" var2="0" />
4562 <actions>
4563 <action function="set">tw_hide_kb=1</action>
4564 <action function="page">terminalcommand</action>
4565 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004566 </button>
z31s1g56189522016-01-13 19:12:40 +01004567
z31s1g608d7ff2016-01-18 19:47:25 +01004568 <button>
z31s1g56189522016-01-13 19:12:40 +01004569 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4570 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4571 <condition var1="tw_hide_kb" op="=" var2="1" />
4572 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4573 <image resource="kb_show" />
4574 <condition var1="tw_busy" var2="0" />
4575 <actions>
4576 <action function="set">tw_hide_kb=0</action>
4577 <action function="page">terminalcommand</action>
4578 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004579 </button>
z31s1g56189522016-01-13 19:12:40 +01004580
z31s1g608d7ff2016-01-18 19:47:25 +01004581 <button>
z31s1g56189522016-01-13 19:12:40 +01004582 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4583 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4584 <image resource="home" />
4585 <condition var1="tw_busy" var2="0" />
4586 <actions>
4587 <action function="set">tw_hide_kb=0</action>
4588 <action function="key">home</action>
4589 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004590 </button>
z31s1g56189522016-01-13 19:12:40 +01004591
z31s1g608d7ff2016-01-18 19:47:25 +01004592 <button>
z31s1g56189522016-01-13 19:12:40 +01004593 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4594 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4595 <condition var1="tw_hide_kb" op="=" var2="0" />
4596 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4597 <image resource="kb_hide" />
4598 <condition var1="tw_busy" var2="0" />
4599 <actions>
4600 <action function="set">tw_hide_kb=1</action>
4601 <action function="page">terminalcommand</action>
4602 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004603 </button>
z31s1g56189522016-01-13 19:12:40 +01004604
z31s1g608d7ff2016-01-18 19:47:25 +01004605 <button>
z31s1g56189522016-01-13 19:12:40 +01004606 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4607 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4608 <condition var1="tw_hide_kb" op="=" var2="1" />
4609 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4610 <image resource="kb_show" />
4611 <condition var1="tw_busy" var2="0" />
4612 <actions>
4613 <action function="set">tw_hide_kb=0</action>
4614 <action function="page">terminalcommand</action>
4615 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004616 </button>
z31s1g56189522016-01-13 19:12:40 +01004617
z31s1g608d7ff2016-01-18 19:47:25 +01004618 <button>
z31s1g56189522016-01-13 19:12:40 +01004619 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4620 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4621 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4622 <image resource="back" />
4623 <condition var1="tw_busy" var2="0" />
4624 <actions>
4625 <action function="set">tw_hide_kb=0</action>
4626 <action function="page">advanced</action>
4627 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004628 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004629
4630 <action>
4631 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004632 <actions>
4633 <action function="page">main</action>
4634 <action function="set">tw_hide_kb=0</action>
4635 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004636 </action>
4637
4638 <action>
4639 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004640 <actions>
4641 <action function="page">advanced</action>
4642 <action function="set">tw_hide_kb=0</action>
4643 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004644 </action>
z31s1g56189522016-01-13 19:12:40 +01004645
4646 <object type="action">
4647 <touch key="power+voldown" />
4648 <action function="screenshot" />
4649 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004650 </page>
4651
4652 <page name="sideload">
4653 <template name="page"/>
4654
4655 <text style="text_l">
4656 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004657 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004658 </text>
4659
4660 <text style="text_m">
4661 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004662 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004663 </text>
4664
4665 <checkbox>
4666 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004667 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004668 <data variable="tw_wipe_dalvik"/>
4669 </checkbox>
4670
4671 <checkbox>
4672 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004673 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 <data variable="tw_wipe_cache"/>
4675 </checkbox>
4676
4677 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004678 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 <actions>
4680 <action function="set">tw_back=advanced</action>
4681 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4683 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4684 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004685 <action function="set">tw_has_cancel=1</action>
4686 <action function="set">tw_show_reboot=1</action>
4687 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4688 <action function="page">action_page</action>
4689 </actions>
4690 </slider>
4691
4692 <action>
4693 <touch key="home"/>
4694 <action function="page">main</action>
4695 </action>
4696
4697 <action>
4698 <touch key="back"/>
4699 <action function="page">advanced</action>
4700 </action>
4701 </page>
4702
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004703 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004704 <template name="page"/>
4705
4706 <text style="text_l">
4707 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004708 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004709 </text>
4710
4711 <text style="text_m">
4712 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004713 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004714 </text>
4715
4716 <text style="text_m_accent">
4717 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004718 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004719 </text>
4720
z31s1g28f0a922015-11-07 18:50:22 +01004721 <text style="text_m_fail">
4722 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004723 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004724 </text>
4725
4726 <text style="text_m_fail">
4727 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004728 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004729 </text>
4730
4731 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004732 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 <actions>
4734 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004735 <action function="set">tw_action=fixcontexts</action>
4736 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4737 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004738 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004739 <action function="set">tw_show_reboot=1</action>
4740 <action function="page">action_page</action>
4741 </actions>
4742 </slider>
4743
4744 <action>
4745 <touch key="home"/>
4746 <action function="page">main</action>
4747 </action>
4748
4749 <action>
4750 <touch key="back"/>
4751 <action function="page">advanced</action>
4752 </action>
4753 </page>
4754
z31s1g28f0a922015-11-07 18:50:22 +01004755 <page name="slideout">
4756 <fill color="%background_color%">
4757 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4758 </fill>
4759
4760 <console>
4761 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4762 </console>
4763
4764 <button>
4765 <fill color="%transparent%"/>
4766 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4767 <action function="overlay"/>
4768 </button>
4769
4770 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004771 <touch key="power"/>
4772 <action function="togglebacklight"/>
4773 </action>
4774
4775 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004776 <touch key="power+voldown"/>
4777 <action function="screenshot"/>
4778 </action>
4779 </page>
4780
4781 <page name="select_storage">
4782 <fill color="%semi_transparent%">
4783 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4784 </fill>
4785
4786 <fill color="%background_color%">
4787 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4788 </fill>
4789
4790 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004791 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004792 <data name="tw_storage_path"/>
4793 <listtype name="storage"/>
4794 </partitionlist>
4795
4796 <button style="button_third_width">
4797 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004798 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004799 <actions>
4800 <action function="set">tw_clear_destination=%tw_back%</action>
4801 <action function="overlay"/>
4802 <action function="page">clear_vars</action>
4803 </actions>
4804 </button>
4805
4806 <fill color="#000000">
4807 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4808 </fill>
4809
4810 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004811 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4812 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4813 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4814 <image resource="back" />
4815 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004816 <actions>
4817 <action function="overlay"/>
4818 <action function="key">%tw_back%</action>
4819 </actions>
4820 </button>
4821
4822 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004823 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4824 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4825 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4826 <image resource="console" />
4827 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004828 <action function="overlay">slideout</action>
4829 </button>
4830
4831 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004832 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4833 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4834 <image resource="home" />
4835 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004836 <actions>
4837 <action function="overlay"/>
4838 <action function="key">home</action>
4839 </actions>
4840 </button>
4841
4842 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004843 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4844 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4845 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4846 <image resource="console" />
4847 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004848 <action function="overlay">slideout</action>
4849 </button>
4850
4851 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004852 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4853 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4854 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4855 <image resource="back" />
4856 <condition var1="tw_busy" var2="0" />
4857 <actions>
4858 <action function="overlay"/>
4859 <action function="key">%tw_back%</action>
4860 </actions>
4861 </button>
4862
4863 <button>
4864 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4865 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4866 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4867 <image resource="back" />
4868 <condition var1="tw_busy" var2="0" />
4869 <actions>
4870 <action function="overlay"/>
4871 <action function="key">%tw_back%</action>
4872 </actions>
4873 </button>
4874
4875 <button>
4876 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4877 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4878 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4879 <image resource="console" />
4880 <condition var1="tw_busy" var2="0" />
4881 <action function="overlay">slideout</action>
4882 </button>
4883
4884 <button>
4885 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4886 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4887 <image resource="home" />
4888 <condition var1="tw_busy" var2="0" />
4889 <actions>
4890 <action function="overlay"/>
4891 <action function="key">home</action>
4892 </actions>
4893 </button>
4894
4895 <button>
4896 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4897 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4898 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4899 <image resource="console" />
4900 <condition var1="tw_busy" var2="0" />
4901 <action function="overlay">slideout</action>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4906 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4907 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4908 <image resource="back" />
4909 <condition var1="tw_busy" var2="0" />
4910 <actions>
4911 <action function="overlay"/>
4912 <action function="key">%tw_back%</action>
4913 </actions>
4914 </button>
4915
4916 <button>
4917 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4918 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4919 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4920 <image resource="back" />
4921 <condition var1="tw_busy" var2="0" />
4922 <actions>
4923 <action function="overlay"/>
4924 <action function="key">%tw_back%</action>
4925 </actions>
4926 </button>
4927
4928 <button>
4929 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4930 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4931 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4932 <image resource="console" />
4933 <condition var1="tw_busy" var2="0" />
4934 <action function="overlay">slideout</action>
4935 </button>
4936
4937 <button>
4938 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4939 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4940 <image resource="home" />
4941 <condition var1="tw_busy" var2="0" />
4942 <actions>
4943 <action function="overlay"/>
4944 <action function="key">home</action>
4945 </actions>
4946 </button>
4947
4948 <button>
4949 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4950 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4951 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4952 <image resource="console" />
4953 <condition var1="tw_busy" var2="0" />
4954 <action function="overlay">slideout</action>
4955 </button>
4956
4957 <button>
4958 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4959 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4960 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4961 <image resource="back" />
4962 <condition var1="tw_busy" var2="0" />
4963 <actions>
4964 <action function="overlay"/>
4965 <action function="key">%tw_back%</action>
4966 </actions>
4967 </button>
4968
4969 <action>
4970 <touch key="power+voldown"/>
4971 <action function="screenshot"/>
4972 </action>
4973 </page>
4974
4975 <page name="select_language">
4976 <fill color="%semi_transparent%">
4977 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4978 </fill>
4979
4980 <fill color="%background_color%">
4981 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4982 </fill>
4983
4984 <listbox>
4985 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4986 <text>{@select_language=Select Language:}</text>
4987 <icon selected="radio_true" unselected="radio_false" />
4988 <data name="tw_language" />
4989 </listbox>
4990
4991 <button style="button_third_width">
4992 <placement x="%dialog_button_x%" y="%row13_y%"/>
4993 <text>{@ok_btn=OK}</text>
4994 <actions>
4995 <action function="overlay"/>
4996 <action function="setlanguage"></action>
4997 </actions>
4998 </button>
4999
5000 <fill color="#000000">
5001 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5002 </fill>
5003
5004 <button>
5005 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5006 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5007 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5008 <image resource="back" />
5009 <condition var1="tw_busy" var2="0" />
5010 <actions>
5011 <action function="overlay"/>
5012 <action function="key">%tw_back%</action>
5013 </actions>
5014 </button>
5015
5016 <button>
5017 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5018 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5019 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5020 <image resource="console" />
5021 <condition var1="tw_busy" var2="0" />
5022 <action function="overlay">slideout</action>
5023 </button>
5024
5025 <button>
5026 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5027 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5028 <image resource="home" />
5029 <condition var1="tw_busy" var2="0" />
5030 <actions>
5031 <action function="overlay"/>
5032 <action function="key">home</action>
5033 </actions>
5034 </button>
5035
5036 <button>
5037 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5038 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5039 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5040 <image resource="console" />
5041 <condition var1="tw_busy" var2="0" />
5042 <action function="overlay">slideout</action>
5043 </button>
5044
5045 <button>
5046 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5047 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5048 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5049 <image resource="back" />
5050 <condition var1="tw_busy" var2="0" />
5051 <actions>
5052 <action function="overlay"/>
5053 <action function="key">%tw_back%</action>
5054 </actions>
5055 </button>
5056
5057 <button>
5058 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5059 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5060 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5061 <image resource="back" />
5062 <condition var1="tw_busy" var2="0" />
5063 <actions>
5064 <action function="overlay"/>
5065 <action function="key">%tw_back%</action>
5066 </actions>
5067 </button>
5068
5069 <button>
5070 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5071 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5072 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5073 <image resource="console" />
5074 <condition var1="tw_busy" var2="0" />
5075 <action function="overlay">slideout</action>
5076 </button>
5077
5078 <button>
5079 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5080 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5081 <image resource="home" />
5082 <condition var1="tw_busy" var2="0" />
5083 <actions>
5084 <action function="overlay"/>
5085 <action function="key">home</action>
5086 </actions>
5087 </button>
5088
5089 <button>
5090 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5091 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5092 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5093 <image resource="console" />
5094 <condition var1="tw_busy" var2="0" />
5095 <action function="overlay">slideout</action>
5096 </button>
5097
5098 <button>
5099 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5100 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5101 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5102 <image resource="back" />
5103 <condition var1="tw_busy" var2="0" />
5104 <actions>
5105 <action function="overlay"/>
5106 <action function="key">%tw_back%</action>
5107 </actions>
5108 </button>
5109
5110 <button>
5111 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5112 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5113 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5114 <image resource="back" />
5115 <condition var1="tw_busy" var2="0" />
5116 <actions>
5117 <action function="overlay"/>
5118 <action function="key">%tw_back%</action>
5119 </actions>
5120 </button>
5121
5122 <button>
5123 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5124 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5125 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5126 <image resource="console" />
5127 <condition var1="tw_busy" var2="0" />
5128 <action function="overlay">slideout</action>
5129 </button>
5130
5131 <button>
5132 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5133 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5134 <image resource="home" />
5135 <condition var1="tw_busy" var2="0" />
5136 <actions>
5137 <action function="overlay"/>
5138 <action function="key">home</action>
5139 </actions>
5140 </button>
5141
5142 <button>
5143 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5144 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5145 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5146 <image resource="console" />
5147 <condition var1="tw_busy" var2="0" />
5148 <action function="overlay">slideout</action>
5149 </button>
5150
5151 <button>
5152 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5153 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5154 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5155 <image resource="back" />
5156 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005157 <actions>
5158 <action function="overlay"/>
5159 <action function="key">%tw_back%</action>
5160 </actions>
5161 </button>
5162
5163 <action>
5164 <touch key="power+voldown"/>
5165 <action function="screenshot"/>
5166 </action>
5167 </page>
5168 </pages>
5169</recovery>