blob: bb9878fd6eb5203956386e886293350f5b127fdb [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
Ethan Yonker64e0a652018-07-25 09:52:17 -0500168 <style name="advanced_listbox">
169 <highlight color="%fileselector_highlight_color%"/>
170 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
171 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
172 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
173 <icon selected="handle" unselected="handle"/>
174 <background color="%background_color%"/>
175 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
176 </style>
177
z31s1g28f0a922015-11-07 18:50:22 +0100178 <style name="slider">
179 <placement x="%col2_x_right%" y="%row17a_y%"/>
180 <font resource="font_m" color="%text_color%"/>
181 <resource base="slider" used="slider_used" touch="slider_touch"/>
182 </style>
183
184 <style name="slider_centered">
185 <placement x="%center_x%" y="%row17a_y%"/>
186 <font resource="font_m" color="%text_color%"/>
187 <resource base="slider" used="slider_used" touch="slider_touch"/>
188 </style>
189
190 <style name="slidervalue">
191 <resource handle="handle"/>
192 <font resource="font_m" color="%text_color%"/>
193 <colors line="%fileselector_linecolor%"/>
194 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
195 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100196
197 <style name="patternpassword">
198 <size name="tw_gui_pattern_grid_size" default="3"/>
199 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100200 </styles>
201
202 <pages>
203 <page name="main">
204 <action>
205 <actions>
206 <action function="set">tw_clear_destination=main2</action>
207 <action function="page">clear_vars</action>
208 </actions>
209 </action>
210 </page>
211
212 <page name="main2">
213 <template name="page"/>
214
215 <text style="text_l">
216 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 </text>
219
220 <text style="text_m">
221 <condition var1="tw_no_cpu_temp" var2="0"/>
222 <placement x="%col1_x_header%" y="%row4_header_y%"/>
223 <text>%tw_version%</text>
224 </text>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <actions>
230 <action function="queueclear"/>
231 <action function="set">tw_selectimage=0</action>
232 <action function="page">install</action>
233 </actions>
234 </button>
235
236 <button style="main_button">
237 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500238 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100239 <action function="page">wipe</action>
240 </button>
241
242 <button style="main_button">
243 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500244 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100245 <action function="page">backup</action>
246 </button>
247
248 <button style="main_button">
249 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 <action function="page">restore</action>
252 </button>
253
254 <button style="main_button">
255 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500256 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100257 <action function="page">mount</action>
258 </button>
259
260 <button style="main_button">
261 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500262 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100263 <action function="page">settings</action>
264 </button>
265
266 <button style="main_button">
267 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500268 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100269 <action function="page">advanced</action>
270 </button>
271
272 <button style="main_button">
273 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 <action function="page">reboot</action>
276 </button>
277 </page>
278
279 <page name="install">
280 <template name="page"/>
281
282 <text style="text_l">
283 <condition var1="tw_selectimage" var2="0"/>
284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <text style="text_l">
289 <condition var1="tw_selectimage" var2="1"/>
290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500291 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100292 </text>
293
294 <text style="text_m">
295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500296 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100297 </text>
298
299 <template name="sort_options"/>
300
301 <fileselector>
302 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500303 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100304 <filter folders="1" files="0"/>
305 <path name="tw_zip_location" default="/sdcard"/>
306 <data name="select"/>
307 </fileselector>
308
309 <fileselector>
310 <condition var1="tw_selectimage" var2="0"/>
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=".zip" 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 <fileselector>
320 <condition var1="tw_selectimage" var2="1"/>
321 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
322 <text>%tw_zip_location%</text>
323 <filter extn=".img" folders="0" files="1"/>
324 <path name="tw_zip_location" default="/sdcard"/>
325 <data name="tw_filename"/>
326 <selection name="tw_file"/>
327 </fileselector>
328
329 <button style="main_button_half_width_low">
330 <condition var1="tw_selectimage" var2="0"/>
331 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500332 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100333 <actions>
334 <action function="set">tw_selectimage=1</action>
335 <action function="page">install</action>
336 </actions>
337 </button>
338
339 <button style="main_button_half_width_low">
340 <condition var1="tw_selectimage" var2="1"/>
341 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500342 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100343 <actions>
344 <action function="set">tw_selectimage=0</action>
345 <action function="page">install</action>
346 </actions>
347 </button>
348
349 <button style="main_button_half_width_low">
350 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500351 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100352 <actions>
353 <action function="set">tw_back=install</action>
354 <action function="overlay">select_storage</action>
355 </actions>
356 </button>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="0"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <actions>
364 <action function="queuezip"/>
365 <action function="page">flash_confirm</action>
366 </actions>
367 </action>
368
369 <action>
370 <conditions>
371 <condition var1="tw_selectimage" var2="1"/>
372 <condition var1="tw_filename" op="modified"/>
373 </conditions>
374 <action function="page">flashimage_confirm</action>
375 </action>
376
377 <action>
378 <touch key="back"/>
379 <action function="page">main</action>
380 </action>
381
382 <action>
383 <touch key="home"/>
384 <action function="page">main</action>
385 </action>
386 </page>
387
388 <page name="flash_confirm">
389 <template name="page"/>
390
391 <text style="text_l">
392 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500393 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100394 </text>
395
396 <text style="text_m">
397 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 </text>
400
401 <text style="text_m_accent">
402 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <text style="text_m_accent">
407 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 </text>
410
411 <text style="text_m">
412 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500413 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100414 </text>
415
416 <text style="text_m_accent">
417 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 </text>
420
421 <text style="text_m">
422 <placement x="%col1_x_left%" y="%row9_y%"/>
423 <text>%tw_zip_location%</text>
424 </text>
425
426 <text style="text_m_accent">
427 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 </text>
430
431 <text style="text_m">
432 <placement x="%col1_x_left%" y="%row12_y%"/>
433 <text>%tw_file%</text>
434 </text>
435
436 <text style="text_m_accent">
437 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500438 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100439 </text>
440
441 <checkbox>
442 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500443 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100444 <data variable="tw_signed_zip_verify"/>
445 </checkbox>
446
447 <checkbox>
448 <condition var1="tw_has_injecttwrp" var2="1"/>
449 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500450 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100451 <data variable="tw_inject_after_zip"/>
452 </checkbox>
453
bigbiffa869fc72016-03-01 19:40:36 -0500454 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500455 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500456 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500457 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500458 </checkbox>
459
z31s1g28f0a922015-11-07 18:50:22 +0100460 <button style="main_button_half_width">
461 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500462 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100463 <action function="page">install</action>
464 </button>
465
466 <button style="main_button_half_width">
467 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500468 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100469 <actions>
470 <action function="queueclear"/>
471 <action function="page">install</action>
472 </actions>
473 </button>
474
475 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 <action function="flash">flash_zip</action>
478 </slider>
479
480 <action>
481 <touch key="back"/>
482 <actions>
483 <action function="cancelzip"/>
484 <action function="page">install</action>
485 </actions>
486 </action>
487
488 <action>
489 <touch key="home"/>
490 <action function="page">main</action>
491 </action>
492 </page>
493
494 <page name="flash_zip">
495 <template name="page"/>
496
497 <text style="text_l">
498 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500499 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100500 </text>
501
502 <text style="text_m">
503 <placement x="%col1_x_header%" y="%row4_header_y%"/>
504 <text>%tw_file%</text>
505 </text>
506
507 <template name="console"/>
508
509 <template name="progress_bar"/>
510
511 <action>
512 <condition var1="tw_operation_state" var2="1"/>
513 <action function="page">flash_done</action>
514 </action>
515 </page>
516
517 <page name="flash_done">
518 <template name="page"/>
519
520 <text style="text_l">
521 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500522 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100523 </text>
524
525 <text style="text_m_fail">
526 <condition var1="tw_operation_status" op="!=" var2="0"/>
527 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500528 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100529 </text>
530
531 <text style="text_m">
532 <condition var1="tw_operation_status" var2="0"/>
533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <template name="console"/>
538
539 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500540 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100541 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500542 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <actions>
544 <action function="set">tw_back=flash_done</action>
545 <action function="set">tw_action=wipe</action>
546 <action function="set">tw_action_param=/cache</action>
547 <action function="set">tw_has_action2=1</action>
548 <action function="set">tw_action2=wipe</action>
549 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
551 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
552 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
553 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100554 <action function="page">confirm_action</action>
555 </actions>
556 </button>
557
558 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500559 <condition var1="tw_ab_device" var2="1"/>
560 <placement x="%indent%" y="%row21a_y%"/>
561 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
562 <actions>
563 <action function="set">tw_back=flash_done</action>
564 <action function="set">tw_action=wipe</action>
565 <action function="set">tw_action_param=dalvik</action>
566 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
567 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
568 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
569 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
570 <action function="page">confirm_action</action>
571 </actions>
572 </button>
573
574 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +0100575 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500576 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100577 <actions>
578 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500579 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100580 </actions>
581 </button>
582
583 <action>
584 <touch key="back"/>
585 <actions>
586 <action function="set">tw_clear_destination=install</action>
587 <action function="page">clear_vars</action>
588 </actions>
589 </action>
590
591 <action>
592 <touch key="home"/>
593 <actions>
594 <action function="set">tw_clear_destination=main2</action>
595 <action function="page">clear_vars</action>
596 </actions>
597 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500598
599 <action>
600 <conditions>
601 <condition var1="tw_install_reboot" var2="1"/>
602 <condition var1="tw_operation_status" var2="0"/>
603 <condition var1="tw_reboot_system" var2="1"/>
604 </conditions>
605 <actions>
606 <action function="set">tw_sleep=%tw_sleep_total%</action>
607 <action function="page">flash_sleep_and_reboot</action>
608 </actions>
609 </action>
610 </page>
611
612 <page name="flash_sleep_and_reboot">
613 <template name="page"/>
614
615 <text style="text_l">
616 <placement x="%col1_x_header%" y="%row3_header_y%"/>
617 <text>{@install_zip_hdr=Install Zip}</text>
618 </text>
619
620 <text style="text_m">
621 <placement x="%col1_x_header%" y="%row4_header_y%"/>
622 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
623 </text>
624
625 <template name="console"/>
626
627 <template name="progress_bar"/>
628
629 <button style="main_button_half_width">
630 <condition var1="tw_sleep" op="&gt;" var2="0"/>
631 <placement x="%center_x%" y="%row15a_y%"/>
632 <text>{@cancel_btn=Cancel}</text>
633 <actions>
634 <action function="set">tw_install_reboot=0</action>
635 <action function="page">flash_done</action>
636 </actions>
637 </button>
638
639 <action>
640 <conditions>
641 <condition var1="tw_sleep" var2="tw_sleep_total"/>
642 <condition var1="tw_install_reboot" var2="1"/>
643 </conditions>
644 <action function="sleepcounter">%tw_sleep_total%</action>
645 </action>
646
647 <action>
648 <conditions>
649 <condition var1="tw_sleep" var2="0"/>
650 <condition var1="tw_install_reboot" var2="1"/>
651 </conditions>
652 <actions>
653 <action function="sleep">50000</action>
654 <action function="set">tw_back=main2</action>
655 <action function="page">reboot_system_routine</action>
656 </actions>
657 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100658 </page>
659
660 <page name="flashimage_confirm">
661 <template name="page"/>
662
663 <text style="text_l">
664 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 </text>
667
668 <text style="text_m">
669 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500670 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100671 </text>
672
673 <text style="text_m_accent">
674 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500675 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100676 </text>
677
678 <text style="text_m">
679 <placement x="%col1_x_left%" y="%row9_y%"/>
680 <text>%tw_zip_location%</text>
681 </text>
682
683 <text style="text_m_accent">
684 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500685 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100686 </text>
687
688 <text style="text_m">
689 <placement x="%col1_x_left%" y="%row12_y%"/>
690 <text>%tw_file%</text>
691 </text>
692
693 <partitionlist>
694 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
695 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500696 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100697 <data name="tw_flash_partition"/>
698 <listtype name="flashimg"/>
699 </partitionlist>
700
701 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500702 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100703 <actions>
704 <action function="set">tw_back=flashimage_confirm</action>
705 <action function="set">tw_action=flashimage</action>
706 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500707 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100708 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500709 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100710 <action function="page">action_page</action>
711 </actions>
712 <action function="flashimage"/>
713 </slider>
714
715 <action>
716 <touch key="back"/>
717 <actions>
718 <action function="set">tw_clear_destination=install</action>
719 <action function="page">clear_vars</action>
720 </actions>
721 </action>
722
723 <action>
724 <touch key="home"/>
725 <actions>
726 <action function="set">tw_clear_destination=main2</action>
727 <action function="page">clear_vars</action>
728 </actions>
729 </action>
730 </page>
731
732 <page name="clear_vars">
733 <action>
734 <action function="set">tw_operation_state=0</action>
735 <action function="set">tw_text1=</action>
736 <action function="set">tw_text2=</action>
737 <action function="set">tw_text3=</action>
738 <action function="set">tw_text4=</action>
739 <action function="set">tw_action_text1=</action>
740 <action function="set">tw_action_text2=</action>
741 <action function="set">tw_action_param=</action>
742 <action function="set">tw_has_action2=0</action>
743 <action function="set">tw_action2=</action>
744 <action function="set">tw_action2_param=</action>
745 <action function="set">tw_has_cancel=0</action>
746 <action function="set">tw_cancel_action=</action>
747 <action function="set">tw_cancel_param=</action>
748 <action function="set">tw_show_exclamation=0</action>
749 <action function="set">tw_show_reboot=0</action>
750 <action function="page">%tw_clear_destination%</action>
751 </action>
752 </page>
753
Matt Mower908dd252016-05-25 02:26:50 -0500754 <page name="reboot_system_routine">
755 <action>
756 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500757 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500758 <action function="set">tw_has_action2=0</action>
759 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
760 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
761 <action function="set">tw_text3=</action>
762 <action function="set">tw_text4=</action>
763 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
764 <action function="set">tw_action_text2=</action>
765 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
766 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
767 <action function="page">rebootcheck</action>
768 </action>
769 </page>
770
z31s1g28f0a922015-11-07 18:50:22 +0100771 <page name="confirm_action">
772 <template name="page"/>
773
774 <text style="text_l">
775 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500776 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100777 </text>
778
779 <text style="text_m">
780 <placement x="%col1_x_header%" y="%row4_header_y%"/>
781 <text/>
782 </text>
783
784 <text style="text_m_accent">
785 <placement x="%center_x%" y="%row2_y%" placement="5"/>
786 <text>%tw_text1%</text>
787 </text>
788
789 <text style="text_m_accent">
790 <placement x="%center_x%" y="%row3_y%" placement="5"/>
791 <text>%tw_text2%</text>
792 </text>
793
794 <text style="text_m">
795 <placement x="%center_x%" y="%row4_y%" placement="5"/>
796 <text>%tw_text3%</text>
797 </text>
798
799 <text style="text_m">
800 <placement x="%center_x%" y="%row5_y%" placement="5"/>
801 <text>%tw_text4%</text>
802 </text>
803
804 <text style="text_m">
805 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500806 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100807 </text>
808
809 <slider style="slider_centered">
810 <text>%tw_slider_text%</text>
811 <action function="page">action_page</action>
812 </slider>
813
814 <action>
815 <touch key="back"/>
816 <actions>
817 <action function="set">tw_clear_destination=%tw_back%</action>
818 <action function="page">clear_vars</action>
819 </actions>
820 </action>
821
822 <action>
823 <touch key="home"/>
824 <action function="page">main</action>
825 </action>
826 </page>
827
828 <page name="action_page">
829 <template name="page"/>
830
831 <text style="text_l">
832 <placement x="%col1_x_header%" y="%row3_header_y%"/>
833 <text>%tw_action_text1%</text>
834 </text>
835
836 <text style="text_m">
837 <placement x="%col1_x_header%" y="%row4_header_y%"/>
838 <text>%tw_action_text2%</text>
839 </text>
840
841 <template name="console"/>
842
843 <template name="progress_bar"/>
844
845 <button style="main_button_half_width">
846 <condition var1="tw_has_cancel" var2="1"/>
847 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100849 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
850 </button>
851
852 <action>
853 <condition var1="tw_operation_state" var2="1"/>
854 <actions>
855 <action function="page">action_complete</action>
856 </actions>
857 </action>
858
859 <action>
860 <condition var1="tw_has_action2" var2="0"/>
861 <actions>
862 <action function="%tw_action%">%tw_action_param%</action>
863 </actions>
864 </action>
865
866 <action>
867 <condition var1="tw_has_action2" var2="1"/>
868 <actions>
869 <action function="%tw_action%">%tw_action_param%</action>
870 <action function="%tw_action2%">%tw_action2_param%</action>
871 </actions>
872 </action>
873 </page>
874
875 <page name="singleaction_page">
876 <template name="page"/>
877
878 <text style="text_l">
879 <placement x="%col1_x_header%" y="%row3_header_y%"/>
880 <text>%tw_action_text1%</text>
881 </text>
882
883 <text style="text_m">
884 <placement x="%col1_x_header%" y="%row4_header_y%"/>
885 <text>%tw_action_text2%</text>
886 </text>
887
888 <template name="console"/>
889
890 <template name="progress_bar"/>
891
892 <action>
893 <condition var1="tw_operation_state" var2="1"/>
894 <actions>
895 <action function="set">tw_page_done=1</action>
896 </actions>
897 </action>
898
899 <action>
900 <condition var1="tw_has_action2" var2="0"/>
901 <actions>
902 <action function="%tw_action%">%tw_action_param%</action>
903 </actions>
904 </action>
905
906 <action>
907 <condition var1="tw_has_action2" var2="1"/>
908 <actions>
909 <action function="%tw_action%">%tw_action_param%</action>
910 <action function="%tw_action2%">%tw_action2_param%</action>
911 </actions>
912 </action>
913 </page>
914
915 <page name="action_complete">
916 <template name="page"/>
917
918 <text style="text_l">
919 <placement x="%col1_x_header%" y="%row3_header_y%"/>
920 <text>%tw_complete_text1%</text>
921 </text>
922
923 <text style="text_m_fail">
924 <condition var1="tw_operation_status" op="!=" var2="0"/>
925 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100927 </text>
928
929 <text style="text_m">
930 <condition var1="tw_operation_status" var2="0"/>
931 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500932 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100933 </text>
934
935 <template name="console"/>
936
937 <button style="main_button_half_width">
938 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500939 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100940 <actions>
941 <action function="set">tw_clear_destination=%tw_back%</action>
942 <action function="page">clear_vars</action>
943 </actions>
944 </button>
945
946 <button style="main_button_half_width">
947 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500948 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100949 <actions>
950 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500951 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </actions>
953 </button>
954
955 <action>
956 <touch key="home"/>
957 <actions>
958 <action function="set">tw_clear_destination=main2</action>
959 <action function="page">clear_vars</action>
960 </actions>
961 </action>
962
963 <action>
964 <touch key="back"/>
965 <actions>
966 <action function="set">tw_clear_destination=%tw_back%</action>
967 <action function="page">clear_vars</action>
968 </actions>
969 </action>
970 </page>
971
972 <page name="filecheck">
973 <action>
974 <action function="fileexists">%tw_filecheck%</action>
975 </action>
976
977 <action>
978 <conditions>
979 <condition var1="tw_operation_state" var2="1"/>
980 <condition var1="tw_operation_status" var2="0"/>
981 </conditions>
982 <actions>
983 <action function="set">tw_fileexists=1</action>
984 <action function="page">%tw_existpage%</action>
985 </actions>
986 </action>
987
988 <action>
989 <conditions>
990 <condition var1="tw_operation_state" var2="1"/>
991 <condition var1="tw_operation_status" var2="1"/>
992 </conditions>
993 <actions>
994 <action function="set">tw_fileexists=0</action>
995 <action function="page">%tw_notexistpage%</action>
996 </actions>
997 </action>
998 </page>
999
1000 <page name="rebootcheck">
1001 <action>
1002 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001003 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001004 </action>
1005
1006 <action>
1007 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1008 <action function="page">confirm_action</action>
1009 </action>
1010 </page>
1011
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001012 <page name="appcheck">
1013 <action>
1014 <condition var1="tw_app_prompt" var2="1"/>
1015 <action function="checkforapp"></action>
1016 </action>
1017
1018 <action>
1019 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1020 <action function="reboot">%tw_reboot_param%</action>
1021 </action>
1022
1023 <action>
1024 <condition var1="tw_app_install_status" var2="1"/>
1025 <action function="page">rebootapp</action>
1026 </action>
1027
1028 <action>
1029 <condition var1="tw_app_install_status" var2="2"/>
1030 <action function="reboot">%tw_reboot_param%</action>
1031 </action>
1032 </page>
1033
z31s1g28f0a922015-11-07 18:50:22 +01001034 <page name="wipe">
1035 <template name="page"/>
1036
1037 <text style="text_l">
1038 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001039 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001040 </text>
1041
1042 <text style="text_m">
1043 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001044 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001045 </text>
1046
1047 <text style="text_m_accent">
1048 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001049 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001050 </text>
1051
1052 <text style="text_m_accent">
1053 <condition var1="tw_has_data_media" var2="1"/>
1054 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001055 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001056 </text>
1057
1058 <text style="text_m_accent">
1059 <conditions>
1060 <condition var1="tw_has_android_secure" var2="1"/>
1061 <condition var1="fileexists" var2="/and-sec"/>
1062 </conditions>
1063 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <text style="text_m_accent">
1068 <condition var1="tw_has_sdext_partition" var2="1"/>
1069 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001070 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001071 </text>
1072
1073 <text style="text_m">
1074 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 </text>
1077
1078 <text style="text_m">
1079 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001080 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001081 </text>
1082
1083 <text style="text_m">
1084 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 </text>
1087
1088 <button style="main_button_half_width">
1089 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 <actions>
1092 <action function="set">partitionlisterror=0</action>
1093 <action function="page">advancedwipe</action>
1094 </actions>
1095 </button>
1096
1097 <button style="main_button_half_width">
1098 <condition var1="tw_has_data_media" var2="1"/>
1099 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 <action function="page">formatdata</action>
1102 </button>
1103
1104 <button style="main_button_half_width">
1105 <conditions>
1106 <condition var1="tw_is_encrypted" var2="1"/>
1107 <condition var1="tw_has_data_media" var2="0"/>
1108 </conditions>
1109 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 <actions>
1112 <action function="set">tw_back=wipe</action>
1113 <action function="set">tw_action=wipe</action>
1114 <action function="set">tw_action_param=DATAMEDIA</action>
1115 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001118 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1119 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1120 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">confirm_action</action>
1122 </actions>
1123 </button>
1124
1125 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001126 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001127 <actions>
1128 <action function="set">tw_back=wipe</action>
1129 <action function="set">tw_action=wipe</action>
1130 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001131 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1132 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <action function="page">action_page</action>
1134 </actions>
1135 </slider>
1136
1137 <action>
1138 <touch key="back"/>
1139 <action function="page">main</action>
1140 </action>
1141
1142 <action>
1143 <touch key="home"/>
1144 <action function="page">main</action>
1145 </action>
1146 </page>
1147
1148 <page name="advancedwipe">
1149 <template name="page"/>
1150
1151 <action>
1152 <action function="set">tw_wipe_list=</action>
1153 </action>
1154
1155 <text style="text_l">
1156 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001158 </text>
1159
1160 <text style="text_m">
1161 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001162 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001163 </text>
1164
1165 <partitionlist>
1166 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001167 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001168 <data name="tw_wipe_list"/>
1169 <listtype name="wipe"/>
1170 </partitionlist>
1171
1172 <text style="text_m_fail">
1173 <condition var1="partitionlisterror" var2="1"/>
1174 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001175 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001176 </text>
1177
1178 <button style="main_button_m">
1179 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001182 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001183 <action function="page">checkpartitionlist</action>
1184 </actions>
1185 </button>
1186
1187 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 <actions>
1190 <action function="set">tw_back=advancedwipe</action>
1191 <action function="set">tw_action=wipe</action>
1192 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1194 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1195 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001196 <action function="page">action_page</action>
1197 </actions>
1198 </slider>
1199
1200 <action>
1201 <touch key="home"/>
1202 <action function="page">main</action>
1203 </action>
1204
1205 <action>
1206 <touch key="back"/>
1207 <action function="page">wipe</action>
1208 </action>
1209 </page>
1210
1211 <page name="formatdata">
1212 <template name="page"/>
1213
1214 <text style="text_l">
1215 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001216 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001217 </text>
1218
1219 <text style="text_m">
1220 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001221 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001222 </text>
1223
1224 <text style="text_m_fail">
1225 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001226 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001227 </text>
1228
1229 <text style="text_m_fail">
1230 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001232 </text>
1233
Ethan Yonker66a19492015-12-10 10:19:45 -06001234 <text style="text_m_fail">
1235 <condition var1="tw_has_adopted_storage" var2="1"/>
1236 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1237 <text>{@format_data_adopted=Including Adopted Storage}</text>
1238 </text>
1239
z31s1g28f0a922015-11-07 18:50:22 +01001240 <text style="text_m">
1241 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001242 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001243 </text>
1244
1245 <text style="text_m">
1246 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <input>
1251 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1252 <text>%tw_confirm_formatdata%</text>
1253 <data name="tw_confirm_formatdata"/>
1254 <restrict minlen="3" maxlen="3" allow="yes"/>
1255 <action function="page">formatdata_confirm</action>
1256 </input>
1257
1258 <fill color="%accent_color%">
1259 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1260 </fill>
1261
1262 <template name="keyboardtemplate"/>
1263
1264 <action>
1265 <touch key="home"/>
1266 <action function="page">main</action>
1267 </action>
1268
1269 <action>
1270 <touch key="back"/>
1271 <action function="page">wipe</action>
1272 </action>
1273 </page>
1274
1275 <page name="formatdata_confirm">
1276 <action>
1277 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1278 <actions>
1279 <action function="set">tw_back=formatdata</action>
1280 <action function="set">tw_action=wipe</action>
1281 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001282 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1283 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001284 <action function="page">action_page</action>
1285 </actions>
1286 </action>
1287
1288 <action>
1289 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1290 <action function="page">formatdata</action>
1291 </action>
1292 </page>
1293
1294 <page name="checkpartitionlist">
1295 <action>
1296 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1297 <actions>
1298 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001299 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001300 <action function="page">partitionoptions</action>
1301 </actions>
1302 </action>
1303
1304 <action>
1305 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1306 <actions>
1307 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001308 <action function="page">advancedwipe</action>
1309 </actions>
1310 </action>
1311 </page>
1312
1313 <page name="partitionoptions">
1314 <template name="page"/>
1315
1316 <text style="text_l">
1317 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001319 </text>
1320
1321 <text style="text_m">
1322 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001324 </text>
1325
1326 <text style="text_m_accent">
1327 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001328 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001329 </text>
1330
1331 <text style="text_m_accent">
1332 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 </text>
1335
1336 <text style="text_m">
1337 <condition var1="tw_partition_is_present" var2="1"/>
1338 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001340 </text>
1341
1342 <text style="text_m">
1343 <condition var1="tw_partition_is_present" var2="0"/>
1344 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001346 </text>
1347
1348 <text style="text_m">
1349 <condition var1="tw_partition_removable" var2="1"/>
1350 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001351 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001352 </text>
1353
1354 <text style="text_m">
1355 <condition var1="tw_partition_removable" var2="0"/>
1356 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m">
1361 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <text style="text_m">
1366 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001372 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001373 </text>
1374
1375 <text style="text_m">
1376 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <button style="main_button_half_width">
1381 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1382 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001384 <actions>
1385 <action function="set">tw_back=partitionoptions</action>
1386 <action function="set">tw_action=resize</action>
1387 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1388 <action function="set">tw_has_action2=1</action>
1389 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001390 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001392 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1394 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1395 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <action function="page">confirm_action</action>
1397 </actions>
1398 </button>
1399
1400 <button style="main_button_half_width">
1401 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1402 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <actions>
1405 <action function="set">tw_back=partitionoptions</action>
1406 <action function="set">tw_action=repair</action>
1407 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1408 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1412 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1413 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <action function="page">confirm_action</action>
1415 </actions>
1416 </button>
1417
1418 <button style="main_button_half_width">
1419 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 <action function="page">selectfilesystem</action>
1422 </button>
1423
1424 <action>
1425 <touch key="home"/>
1426 <action function="page">main</action>
1427 </action>
1428
1429 <action>
1430 <touch key="back"/>
1431 <action function="page">advancedwipe</action>
1432 </action>
1433 </page>
1434
1435 <page name="refreshfilesystem">
1436 <action>
1437 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1438 <actions>
1439 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001440 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001441 <action function="page">selectfilesystem</action>
1442 </actions>
1443 </action>
1444
1445 <action>
1446 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1447 <actions>
1448 <action function="set">partitionlisterror=1</action>
1449 <action function="set">tw_wipe_list=</action>
1450 <action function="page">advancedwipe</action>
1451 </actions>
1452 </action>
1453 </page>
1454
1455 <page name="selectfilesystem">
1456 <template name="page"/>
1457
1458 <text style="text_l">
1459 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001460 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001461 </text>
1462
1463 <text style="text_m">
1464 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001466 </text>
1467
1468 <text style="text_m_accent">
1469 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001471 </text>
1472
1473 <text style="text_m_accent">
1474 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001475 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001476 </text>
1477
1478 <text style="text_m_fail">
1479 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001480 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001481 </text>
1482
1483 <text style="text_m_fail">
1484 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 </text>
1487
1488 <button style="main_button_half_width">
1489 <condition var1="tw_partition_ext" op="=" var2="1"/>
1490 <placement x="%col1_x_left%" y="%row11_y%"/>
1491 <text>EXT2</text>
1492 <actions>
1493 <action function="set">tw_back=refreshfilesystem</action>
1494 <action function="set">tw_action=changefilesystem</action>
1495 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1496 <action function="set">tw_action_new_file_system=ext2</action>
1497 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1499 <action function="set">tw_text2=EXT2</action>
1500 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1501 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1502 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001503 <action function="page">confirm_action</action>
1504 </actions>
1505 </button>
1506
1507 <button style="main_button_half_width">
1508 <condition var1="tw_partition_ext" op="=" var2="1"/>
1509 <placement x="%col2_x_left%" y="%row11_y%"/>
1510 <text>EXT3</text>
1511 <actions>
1512 <action function="set">tw_back=refreshfilesystem</action>
1513 <action function="set">tw_action=changefilesystem</action>
1514 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1515 <action function="set">tw_action_new_file_system=ext3</action>
1516 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001517 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1518 <action function="set">tw_text2=EXT3</action>
1519 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1520 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1521 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001522 <action function="page">confirm_action</action>
1523 </actions>
1524 </button>
1525
1526 <button style="main_button_half_width">
1527 <condition var1="tw_partition_ext" op="=" var2="1"/>
1528 <placement x="%center_x%" y="%row11_y%"/>
1529 <text>EXT4</text>
1530 <actions>
1531 <action function="set">tw_back=refreshfilesystem</action>
1532 <action function="set">tw_action=changefilesystem</action>
1533 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1534 <action function="set">tw_action_new_file_system=ext4</action>
1535 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001536 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1537 <action function="set">tw_text2=EXT4</action>
1538 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1539 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1540 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001541 <action function="page">confirm_action</action>
1542 </actions>
1543 </button>
1544
1545 <button style="main_button_half_width">
1546 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1547 <placement x="%col2_x_right%" y="%row11_y%"/>
1548 <text>FAT</text>
1549 <actions>
1550 <action function="set">tw_back=refreshfilesystem</action>
1551 <action function="set">tw_action=changefilesystem</action>
1552 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1553 <action function="set">tw_action_new_file_system=vfat</action>
1554 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001555 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1556 <action function="set">tw_text2=FAT</action>
1557 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1558 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1559 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001560 <action function="page">confirm_action</action>
1561 </actions>
1562 </button>
1563
1564 <button style="main_button_half_width">
1565 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1566 <placement x="%col2_x_left%" y="%row15a_y%"/>
1567 <text>exFAT</text>
1568 <actions>
1569 <action function="set">tw_back=refreshfilesystem</action>
1570 <action function="set">tw_action=changefilesystem</action>
1571 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1572 <action function="set">tw_action_new_file_system=exfat</action>
1573 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001574 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1575 <action function="set">tw_text2=exFAT</action>
1576 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1577 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1578 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001579 <action function="page">confirm_action</action>
1580 </actions>
1581 </button>
1582
1583 <button style="main_button_half_width">
1584 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1585 <placement x="%center_x%" y="%row15a_y%"/>
1586 <text>F2FS</text>
1587 <actions>
1588 <action function="set">tw_back=refreshfilesystem</action>
1589 <action function="set">tw_action=changefilesystem</action>
1590 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1591 <action function="set">tw_action_new_file_system=f2fs</action>
1592 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001593 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1594 <action function="set">tw_text2=F2FS</action>
1595 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1596 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1597 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001598 <action function="page">confirm_action</action>
1599 </actions>
1600 </button>
1601
1602 <action>
1603 <touch key="home"/>
1604 <action function="page">main</action>
1605 </action>
1606
1607 <action>
1608 <touch key="back"/>
1609 <action function="page">partitionoptions</action>
1610 </action>
1611 </page>
1612
1613 <page name="backup">
1614 <template name="page"/>
1615
1616 <text style="text_l">
1617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </text>
1620
1621 <text style="text_m">
1622 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 </text>
1625
1626 <text style="text_m_accent">
1627 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001629 </text>
1630
1631 <text style="text_m">
1632 <placement x="%col1_x_left%" y="%row3_y%"/>
1633 <text>%tw_backup_name%</text>
1634 </text>
1635
1636 <fill color="%fileselector_linecolor%">
1637 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1638 </fill>
1639
1640 <button>
1641 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1642 <fill color="%transparent%"/>
1643 <actions>
1644 <action function="set">tw_fileexists=0</action>
1645 <action function="page">backupname1</action>
1646 </actions>
1647 </button>
1648
1649 <partitionlist>
1650 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 <data name="tw_backup_list"/>
1653 <listtype name="backup"/>
1654 </partitionlist>
1655
1656 <text style="text_m_accent">
1657 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@encryption=Encryption:}</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="0"/>
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_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <conditions>
1673 <condition var1="tw_include_encrypted_backup" var2="1"/>
1674 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001675 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001676 </conditions>
1677 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <fill color="%fileselector_linecolor%">
1682 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1683 </fill>
1684
1685 <button>
1686 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1687 <fill color="%transparent%"/>
1688 <actions>
1689 <action function="set">tw_password_not_match=0</action>
1690 <action function="page">backupencryption</action>
1691 </actions>
1692 </button>
1693
1694 <text style="text_m_accent">
1695 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </text>
1698
1699 <checkbox>
1700 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <data variable="tw_use_compression"/>
1703 </checkbox>
1704
1705 <checkbox>
1706 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001707 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1708 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001709 </checkbox>
1710
1711 <checkbox>
1712 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001713 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001714 <data variable="tw_disable_free_space"/>
1715 </checkbox>
1716
1717 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001718 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001719 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001720 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <actions>
1722 <action function="set">tw_back=backup</action>
1723 <action function="overlay">select_storage</action>
1724 </actions>
1725 </button>
1726
1727 <button style="main_button_half_width">
1728 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001729 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001730 <actions>
1731 <action function="refreshsizes"/>
1732 <action function="page">backup</action>
1733 </actions>
1734 </button>
1735
1736 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001737 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001738 <action function="page">backup_run</action>
1739 </slider>
1740
1741 <action>
1742 <touch key="home"/>
1743 <action function="page">main</action>
1744 </action>
1745
1746 <action>
1747 <touch key="back"/>
1748 <action function="page">main</action>
1749 </action>
1750 </page>
1751
1752 <page name="backupname1">
1753 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001754 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001755 <action function="generatebackupname"/>
1756 </action>
1757
1758 <action>
1759 <action function="page">backupname2</action>
1760 </action>
1761 </page>
1762
1763 <page name="backupname2">
1764 <template name="page"/>
1765
1766 <text style="text_l">
1767 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001768 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001769 </text>
1770
1771 <text style="text_m">
1772 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001773 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001774 </text>
1775
1776 <text style="text_m_accent">
1777 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 </text>
1780
1781 <input>
1782 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1783 <text>%tw_backup_name%</text>
1784 <data name="tw_backup_name"/>
1785 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1786 <actions>
1787 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1788 <action function="set">tw_existpage=backupname2</action>
1789 <action function="set">tw_notexistpage=backup</action>
1790 <action function="page">filecheck</action>
1791 </actions>
1792 </input>
1793
1794 <fill color="%accent_color%">
1795 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1796 </fill>
1797
1798 <fill color="%text_fail_color%">
1799 <condition var1="tw_fileexists" var2="1"/>
1800 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1801 </fill>
1802
1803 <text style="text_m_fail">
1804 <condition var1="tw_fileexists" var2="1"/>
1805 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001806 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001807 </text>
1808
1809 <button style="main_button_half_width_low">
1810 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001811 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001812 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001814 <action function="page">backup</action>
1815 </actions>
1816 </button>
1817
1818 <button style="main_button_half_width_low">
1819 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 <action function="appenddatetobackupname"/>
1822 </button>
1823
1824 <template name="keyboardtemplate"/>
1825
1826 <action>
1827 <touch key="home"/>
1828 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001829 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001830 <action function="page">main</action>
1831 </actions>
1832 </action>
1833
1834 <action>
1835 <touch key="back"/>
1836 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001837 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001838 <action function="page">backup</action>
1839 </actions>
1840 </action>
1841 </page>
1842
1843 <page name="backupencryption">
1844 <template name="page"/>
1845
1846 <text style="text_l">
1847 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001849 </text>
1850
1851 <text style="text_m">
1852 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <text style="text_m_accent">
1857 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001858 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001859 </text>
1860
1861 <input>
1862 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1863 <text>%tw_backup_encrypt_display%</text>
1864 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1865 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1866 <action function="page">backupencryption2</action>
1867 </input>
1868
1869 <fill color="%accent_color%">
1870 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1871 </fill>
1872
1873 <fill color="%text_fail_color%">
1874 <condition var1="tw_password_not_match" var2="1"/>
1875 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1876 </fill>
1877
1878 <text style="text_m_fail">
1879 <condition var1="tw_password_not_match" var2="1"/>
1880 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <button style="main_button_half_width_low">
1885 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <actions>
1888 <action function="set">tw_encrypt_backup=0</action>
1889 <action function="set">tw_backup_password=</action>
1890 <action function="set">tw_backup_password2=</action>
1891 <action function="set">tw_backup_encrypt_display=</action>
1892 <action function="set">tw_backup_encrypt_display2=</action>
1893 <action function="page">backup</action>
1894 </actions>
1895 </button>
1896
1897 <template name="keyboardtemplate"/>
1898
1899 <action>
1900 <touch key="home"/>
1901 <action function="page">main</action>
1902 </action>
1903
1904 <action>
1905 <touch key="back"/>
1906 <action function="page">backup</action>
1907 </action>
1908 </page>
1909
1910 <page name="backupencryption2">
1911 <template name="page"/>
1912
1913 <text style="text_l">
1914 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <text style="text_m">
1919 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 </text>
1922
1923 <text style="text_m_accent">
1924 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001925 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001926 </text>
1927
1928 <input>
1929 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1930 <text>%tw_backup_encrypt_display2%</text>
1931 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1932 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1933 <action function="page">checkbackuppassword</action>
1934 </input>
1935
1936 <fill color="%accent_color%">
1937 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <text style="text_m">
1941 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 </text>
1944
1945 <button style="main_button_half_width_low">
1946 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001947 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001948 <actions>
1949 <action function="set">tw_encrypt_backup=0</action>
1950 <action function="set">tw_backup_password=</action>
1951 <action function="set">tw_backup_password2=</action>
1952 <action function="set">tw_backup_encrypt_display=</action>
1953 <action function="set">tw_backup_encrypt_display2=</action>
1954 <action function="page">backup</action>
1955 </actions>
1956 </button>
1957
1958 <template name="keyboardtemplate"/>
1959
1960 <action>
1961 <touch key="home"/>
1962 <action function="page">main</action>
1963 </action>
1964
1965 <action>
1966 <touch key="back"/>
1967 <action function="page">backup</action>
1968 </action>
1969 </page>
1970
1971 <page name="checkbackuppassword">
1972 <action>
1973 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1974 <actions>
1975 <action function="set">tw_encrypt_backup=1</action>
1976 <action function="page">backup</action>
1977 </actions>
1978 </action>
1979
1980 <action>
1981 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1982 <actions>
1983 <action function="set">tw_encrypt_backup=0</action>
1984 <action function="set">tw_password_not_match=1</action>
1985 <action function="set">tw_backup_password=</action>
1986 <action function="set">tw_backup_password2=</action>
1987 <action function="set">tw_backup_encrypt_display=</action>
1988 <action function="set">tw_backup_encrypt_display2=</action>
1989 <action function="page">backupencryption</action>
1990 </actions>
1991 </action>
1992 </page>
1993
1994 <page name="backup_run">
1995 <template name="page"/>
1996
1997 <text style="text_l">
1998 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1999 <text>%tw_operation%</text>
2000 </text>
2001
2002 <text style="text_m">
2003 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2004 <text>%tw_partition% Partition</text>
2005 </text>
2006
2007 <template name="console"/>
2008
2009 <template name="progress_bar"/>
2010
2011 <text style="text_m_accent">
2012 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%progress_text_x%" y="%row17_y%"/>
2018 <text>%tw_file_progress%</text>
2019 </text>
2020
2021 <text style="text_m">
2022 <placement x="%progress_text_x%" y="%row18_y%"/>
2023 <text>%tw_size_progress%</text>
2024 </text>
2025
2026 <button style="main_button_half_width">
2027 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002028 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002029 <action function="cancelbackup"/>
2030 </button>
2031
2032 <action>
2033 <action function="nandroid">backup</action>
2034 </action>
2035
2036 <action>
2037 <condition var1="tw_operation_state" var2="1"/>
2038 <condition var1="tw_cancel_backup" var2="0"/>
2039 <actions>
2040 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002042 <action function="set">tw_show_reboot=1</action>
2043 <action function="page">action_complete</action>
2044 </actions>
2045 </action>
2046
2047 <action>
2048 <condition var1="tw_operation_state" var2="1"/>
2049 <condition var1="tw_cancel_backup" var2="1"/>
2050 <actions>
2051 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002052 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002053 <action function="set">tw_show_reboot=1</action>
2054 <action function="page">action_complete</action>
2055 </actions>
2056 </action>
2057 </page>
2058
2059 <page name="restore">
2060 <template name="page"/>
2061
2062 <text style="text_l">
2063 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 </text>
2066
2067 <text style="text_m">
2068 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002069 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002070 </text>
2071
2072 <template name="sort_options"/>
2073
2074 <fileselector>
2075 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002076 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002077 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002078 <path name="tw_backups_folder"/>
2079 <data name="tw_restore" default=""/>
2080 <selection name="tw_restore_name"/>
2081 </fileselector>
2082
2083 <button style="main_button_half_width_low">
2084 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002085 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002086 <actions>
2087 <action function="set">tw_back=restore</action>
2088 <action function="overlay">select_storage</action>
2089 </actions>
2090 </button>
2091
2092 <action>
2093 <condition var1="tw_restore" op="modified"/>
2094 <actions>
2095 <action function="readBackup"/>
2096 <action function="page">restore_read</action>
2097 </actions>
2098 </action>
2099
2100 <action>
2101 <touch key="home"/>
2102 <action function="page">main</action>
2103 </action>
2104
2105 <action>
2106 <touch key="back"/>
2107 <action function="page">main</action>
2108 </action>
2109 </page>
2110
2111 <page name="restore_read">
2112 <action>
2113 <condition var1="tw_restore_encrypted" var2="1"/>
2114 <actions>
2115 <action function="set">tw_password_fail=0</action>
2116 <action function="page">restore_decrypt</action>
2117 </actions>
2118 </action>
2119
2120 <action>
2121 <condition var1="tw_restore_encrypted" var2="0"/>
2122 <actions>
2123 <action function="page">restore_select</action>
2124 </actions>
2125 </action>
2126 </page>
2127
2128 <page name="restore_decrypt">
2129 <template name="page"/>
2130
2131 <text style="text_l">
2132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002134 </text>
2135
2136 <text style="text_m">
2137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <text style="text_m_accent">
2142 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </text>
2145
2146 <input>
2147 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2148 <text>%tw_restore_display%</text>
2149 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2150 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2151 <action function="page">try_restore_decrypt</action>
2152 </input>
2153
2154 <fill color="%accent_color%">
2155 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2156 </fill>
2157
2158 <fill color="%text_fail_color%">
2159 <condition var1="tw_password_fail" var2="1"/>
2160 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2161 </fill>
2162
2163 <text style="text_m_fail">
2164 <condition var1="tw_password_fail" var2="1"/>
2165 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002166 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002167 </text>
2168
2169 <button style="main_button_half_width_low">
2170 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002171 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002172 <actions>
2173 <action function="set">tw_page_done=1</action>
2174 <action function="page">restore</action>
2175 </actions>
2176 </button>
2177
2178 <button style="main_button_half_width_low">
2179 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002181 <actions>
2182 <action function="set">tw_back=restore</action>
2183 <action function="set">tw_action=cmd</action>
2184 <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 -05002185 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2186 <action function="set">tw_text2=%tw_restore_name%</action>
2187 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2188 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2189 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2190 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002191 <action function="page">confirm_action</action>
2192 </actions>
2193 </button>
2194
2195 <template name="keyboardtemplate"/>
2196
2197 <action>
2198 <touch key="home"/>
2199 <action function="page">main</action>
2200 </action>
2201
2202 <action>
2203 <touch key="back"/>
2204 <action function="page">restore</action>
2205 </action>
2206 </page>
2207
2208 <page name="try_restore_decrypt">
2209 <template name="page"/>
2210
2211 <text style="text_l">
2212 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002213 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </text>
2215
2216 <text style="text_m">
2217 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002218 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002219 </text>
2220
2221 <template name="console"/>
2222
2223 <template name="progress_bar"/>
2224
2225 <action>
2226 <action function="decrypt_backup"/>
2227 </action>
2228
2229 <action>
2230 <conditions>
2231 <condition var1="tw_operation_state" var2="1"/>
2232 <condition var1="tw_operation_status" op="!=" var2="0"/>
2233 </conditions>
2234 <actions>
2235 <action function="set">tw_password_fail=1</action>
2236 <action function="page">restore_decrypt</action>
2237 </actions>
2238 </action>
2239
2240 <action>
2241 <conditions>
2242 <condition var1="tw_operation_state" var2="1"/>
2243 <condition var1="tw_operation_status" op="=" var2="0"/>
2244 </conditions>
2245 <actions>
2246 <action function="set">tw_page_done=1</action>
2247 <action function="page">restore_select</action>
2248 </actions>
2249 </action>
2250 </page>
2251
2252 <page name="restore_select">
2253 <template name="page"/>
2254
2255 <text style="text_l">
2256 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <text style="text_m">
2261 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002262 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002263 </text>
2264
2265 <text style="text_m_accent">
2266 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </text>
2269
2270 <text style="text_m">
2271 <placement x="%col1_x_left%" y="%row3_y%"/>
2272 <text>%tw_restore_name%</text>
2273 </text>
2274
2275 <fill color="%fileselector_linecolor%">
2276 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2277 </fill>
2278
2279 <button>
2280 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2281 <fill color="%transparent%"/>
2282 <actions>
2283 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2284 <action function="set">tw_fileexists=0</action>
2285 <action function="page">renamebackup</action>
2286 </actions>
2287 </button>
2288
2289 <partitionlist>
2290 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002291 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2293 <listtype name="restore"/>
2294 </partitionlist>
2295
2296 <text style="text_m_accent">
2297 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </text>
2300
2301 <checkbox>
2302 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002303 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002304 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2305 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </checkbox>
2307
2308 <button style="main_button_half_width">
2309 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 <actions>
2312 <action function="set">tw_back=restore</action>
2313 <action function="set">tw_action=cmd</action>
2314 <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 -05002315 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002316 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2318 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2319 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2320 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002321 <action function="page">confirm_action</action>
2322 </actions>
2323 </button>
2324
2325 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002326 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002327 <action function="page">restore_run</action>
2328 </slider>
2329
2330 <action>
2331 <touch key="home"/>
2332 <action function="page">main</action>
2333 </action>
2334
2335 <action>
2336 <touch key="back"/>
2337 <action function="page">restore</action>
2338 </action>
2339 </page>
2340
2341 <page name="renamebackup">
2342 <template name="page"/>
2343
2344 <text style="text_l">
2345 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <text style="text_m">
2350 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 </text>
2353
2354 <text style="text_m_accent">
2355 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 </text>
2358
2359 <input>
2360 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2361 <text>%tw_backup_rename%</text>
2362 <data name="tw_backup_rename"/>
2363 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2364 <actions>
2365 <action function="set">tw_back=restore</action>
2366 <action function="set">tw_action=cmd</action>
2367 <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 -05002368 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2369 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2370 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2371 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2372 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002373 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2374 <action function="set">tw_existpage=renamebackup</action>
2375 <action function="set">tw_notexistpage=confirm_action</action>
2376 <action function="page">filecheck</action>
2377 </actions>
2378 </input>
2379
2380 <fill color="%accent_color%">
2381 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2382 </fill>
2383
2384 <fill color="%text_fail_color%">
2385 <condition var1="tw_fileexists" var2="1"/>
2386 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2387 </fill>
2388
2389 <text style="text_m_fail">
2390 <condition var1="tw_fileexists" var2="1"/>
2391 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <button style="main_button_half_width_low">
2396 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 <action function="page">restore_select</action>
2399 </button>
2400
2401 <template name="keyboardtemplate"/>
2402
2403 <action>
2404 <touch key="home"/>
2405 <action function="page">main</action>
2406 </action>
2407
2408 <action>
2409 <touch key="back"/>
2410 <action function="page">restore_select</action>
2411 </action>
2412 </page>
2413
2414 <page name="restore_run">
2415 <template name="page"/>
2416
2417 <text style="text_l">
2418 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m">
2423 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2424 <text>%tw_operation% %tw_partition%</text>
2425 </text>
2426
2427 <template name="console"/>
2428
2429 <template name="progress_bar"/>
2430
2431 <text style="text_m_accent">
2432 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002433 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </text>
2435
2436 <text style="text_m">
2437 <placement x="%progress_text_x%" y="%row18_y%"/>
2438 <text>%tw_size_progress%</text>
2439 </text>
2440
2441 <action>
2442 <condition var1="tw_operation_state" var2="1"/>
2443 <actions>
2444 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002445 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="set">tw_show_reboot=1</action>
2447 <action function="page">action_complete</action>
2448 </actions>
2449 </action>
2450
2451 <action>
2452 <action function="nandroid">restore</action>
2453 </action>
2454 </page>
2455
2456 <page name="mount">
2457 <template name="page"/>
2458
2459 <text style="text_l">
2460 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 </text>
2463
2464 <text style="text_m">
2465 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 </text>
2468
2469 <partitionlist>
2470 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002471 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002472 <listtype name="mount"/>
2473 </partitionlist>
2474
2475 <button style="checkbox">
2476 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2477 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002478 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002479 <image resource="checkbox_false"/>
2480 <action function="mountsystemtoggle">1</action>
2481 </button>
2482
2483 <button style="checkbox">
2484 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2485 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <image resource="checkbox_true"/>
2488 <actions>
2489 <action function="set">tw_lifetime_writes=2</action>
2490 <action function="page">system_readonly_check</action>
2491 </actions>
2492 </button>
2493
2494 <button style="main_button_half_width">
2495 <condition var1="tw_has_usb_storage" var2="1"/>
2496 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 <action function="page">usb_mount</action>
2499 </button>
2500
2501 <button style="main_button_half_width">
2502 <conditions>
2503 <condition var1="tw_is_encrypted" var2="1"/>
2504 <condition var1="tw_is_decrypted" var2="0"/>
2505 </conditions>
2506 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002507 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002508 <action function="page">decrypt</action>
2509 </button>
2510
2511 <button style="main_button_half_width">
2512 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002513 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002514 <actions>
2515 <action function="set">tw_back=mount</action>
2516 <action function="overlay">select_storage</action>
2517 </actions>
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="0"/>
2524 </conditions>
2525 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 <action function="startmtp"/>
2528 </button>
2529
2530 <button style="main_button_half_width">
2531 <conditions>
2532 <condition var1="tw_has_mtp" var2="1"/>
2533 <condition var1="tw_mtp_enabled" var2="1"/>
2534 </conditions>
2535 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002536 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002537 <action function="stopmtp"/>
2538 </button>
2539
2540 <action>
2541 <touch key="home"/>
2542 <action function="page">main</action>
2543 </action>
2544
2545 <action>
2546 <touch key="back"/>
2547 <action function="page">main</action>
2548 </action>
2549 </page>
2550
2551 <page name="usb_mount">
2552 <template name="page"/>
2553
2554 <text style="text_l">
2555 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002556 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002557 </text>
2558
2559 <text style="text_m">
2560 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002561 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002562 </text>
2563
2564 <text style="text_m_accent">
2565 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002566 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002567 </text>
2568
2569 <text style="text_m">
2570 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002571 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002572 </text>
2573
2574 <text style="text_m">
2575 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002576 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002577 </text>
2578
2579 <button style="main_button_half_width">
2580 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <action function="page">usb_umount</action>
2583 </button>
2584
2585 <action>
2586 <action function="mount">usb</action>
2587 <action function="set">tw_busy=1</action>
2588 </action>
2589 </page>
2590
2591 <page name="usb_umount">
2592 <action>
2593 <action function="unmount">usb</action>
2594 </action>
2595
2596 <action>
2597 <action function="page">mount</action>
2598 <action function="set">tw_busy=0</action>
2599 </action>
2600 </page>
2601
2602 <page name="system_readonly_check">
2603 <action>
2604 <action function="checkpartitionlifetimewrites">/system</action>
2605 </action>
2606
2607 <action>
2608 <condition var1="tw_lifetime_writes" var2="1"/>
2609 <actions>
2610 <action function="mountsystemtoggle">0</action>
2611 <action function="page">mount</action>
2612 </actions>
2613 </action>
2614
2615 <action>
2616 <condition var1="tw_lifetime_writes" var2="0"/>
2617 <actions>
2618 <action function="set">tw_back=mount</action>
2619 <action function="page">system_readonly</action>
2620 </actions>
2621 </action>
2622 </page>
2623
2624 <page name="reboot">
2625 <template name="page"/>
2626
2627 <text style="text_l">
2628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002629 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 </text>
2631
2632 <button style="main_button">
2633 <condition var1="tw_reboot_system" var2="1"/>
2634 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <actions>
2637 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002638 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002639 </actions>
2640 </button>
2641
2642 <button style="main_button">
2643 <condition var1="tw_reboot_poweroff" var2="1"/>
2644 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002645 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002646 <actions>
2647 <action function="set">tw_back=reboot</action>
2648 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002649 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002650 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002651 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002652 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2653 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2654 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2655 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2656 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <action function="page">rebootcheck</action>
2658 </actions>
2659 </button>
2660
2661 <button style="main_button">
2662 <condition var1="tw_reboot_recovery" var2="1"/>
2663 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <actions>
2666 <action function="set">tw_back=reboot</action>
2667 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002668 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002669 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002670 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002671 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2672 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2673 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2674 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2675 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002676 <action function="page">rebootcheck</action>
2677 </actions>
2678 </button>
2679
2680 <button style="main_button">
2681 <condition var1="tw_reboot_bootloader" var2="1"/>
2682 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 <actions>
2685 <action function="set">tw_back=reboot</action>
2686 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002687 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002688 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2691 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2692 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2693 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2694 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002695 <action function="page">rebootcheck</action>
2696 </actions>
2697 </button>
2698
2699 <button style="main_button">
2700 <condition var1="tw_download_mode" var2="1"/>
2701 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002703 <actions>
2704 <action function="set">tw_back=reboot</action>
2705 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002706 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002707 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002708 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002709 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2710 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2711 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2712 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2713 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002714 <action function="page">rebootcheck</action>
2715 </actions>
2716 </button>
2717
mauronofrioe9a49ef2018-10-03 13:38:16 +02002718 <button style="main_button">
2719 <condition var1="tw_edl_mode" var2="1"/>
2720 <placement x="%center_x%" y="%row11_y%"/>
2721 <text>{@rb_edl_btn=Edl}</text>
2722 <actions>
2723 <action function="set">tw_back=reboot</action>
2724 <action function="set">tw_action=reboot</action>
2725 <action function="set">tw_action_param=edl</action>
2726 <action function="set">tw_reboot_param=edl</action>
2727 <action function="set">tw_has_action2=0</action>
2728 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2729 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2730 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2731 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2732 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2733 <action function="page">rebootcheck</action>
2734 </actions>
2735 </button>
2736
z31s1g28f0a922015-11-07 18:50:22 +01002737 <action>
2738 <touch key="home"/>
2739 <action function="page">main</action>
2740 </action>
2741
2742 <action>
2743 <touch key="back"/>
2744 <action function="page">main</action>
2745 </action>
2746 </page>
2747
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002748 <page name="rebootapp">
2749 <template name="page"/>
2750
2751 <text style="text_l">
2752 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2753 <text>{@reboot_hdr=Reboot}</text>
2754 </text>
2755
2756 <text style="text_m">
2757 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2758 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2759 </text>
2760
2761 <text style="text_m_accent">
2762 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2763 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2764 </text>
2765
2766 <text style="text_m_accent">
2767 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2768 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2769 </text>
2770
2771 <checkbox>
2772 <placement x="%indent%" y="%row5_y%"/>
2773 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2774 <data variable="tw_app_prompt"/>
2775 </checkbox>
2776
2777 <checkbox>
2778 <condition var1="tw_mount_system_ro" var2="0"/>
2779 <placement x="%indent%" y="%row7_y%"/>
2780 <text>{@reboot_install_app_system=Install as a System App}</text>
2781 <data variable="tw_app_install_system"/>
2782 </checkbox>
2783
2784 <button style="main_button_half_width">
2785 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002786 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002787 <action function="reboot">%tw_reboot_param%</action>
2788 </button>
2789
2790 <slider>
2791 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2792 <actions>
2793 <action function="set">tw_back=reboot</action>
2794 <action function="set">tw_action=installapp</action>
2795 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2796 <action function="set">tw_action_text2=</action>
2797 <action function="set">tw_has_action2=1</action>
2798 <action function="set">tw_action2=reboot</action>
2799 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2800 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2801 <action function="page">action_page</action>
2802 </actions>
2803 </slider>
2804
2805 <action>
2806 <touch key="home"/>
2807 <actions>
2808 <action function="set">tw_app_install_status=0</action>
2809 <action function="page">main</action>
2810 </actions>
2811 </action>
2812
2813 <action>
2814 <touch key="back"/>
2815 <actions>
2816 <action function="set">tw_app_install_status=0</action>
2817 <action function="page">reboot</action>
2818 </actions>
2819 </action>
2820 </page>
2821
z31s1g28f0a922015-11-07 18:50:22 +01002822 <page name="system_readonly">
2823 <template name="page"/>
2824
2825 <text style="text_l">
2826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002828 </text>
2829
2830 <text style="text_m_accent">
2831 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002833 </text>
2834
2835 <text style="text_m">
2836 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <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 +01002838 </text>
2839
2840 <text style="text_m">
2841 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002842 <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 +01002843 </text>
2844
2845 <text style="text_m_fail">
2846 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </text>
2849
2850 <checkbox>
2851 <condition var1="tw_is_encrypted" var2="0"/>
2852 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <data variable="tw_never_show_system_ro_page"/>
2855 </checkbox>
2856
2857 <button style="main_button_half_width">
2858 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <actions>
2861 <action function="mountsystemtoggle">1</action>
2862 <action function="set">tw_page_done=1</action>
2863 <action function="page">%tw_back%</action>
2864 </actions>
2865 </button>
2866
z31s1g608d7ff2016-01-18 19:47:25 +01002867 <button style="main_button_half_width">
2868 <placement x="%col2_x_left%" y="%row15a_y%"/>
2869 <text>{@sel_lang_btn=Select Language}</text>
2870 <action function="overlay">select_language</action>
2871 </button>
2872
z31s1g28f0a922015-11-07 18:50:22 +01002873 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 <actions>
2876 <action function="mountsystemtoggle">0</action>
2877 <action function="set">tw_page_done=1</action>
2878 <action function="page">%tw_back%</action>
2879 </actions>
2880 </slider>
2881 </page>
2882
2883 <page name="settings">
2884 <template name="page"/>
2885
2886 <text style="text_l">
2887 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002888 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002889 </text>
2890
2891 <text style="text_m">
2892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002893 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002894 </text>
2895
2896 <template name="tabs_settings"/>
2897
2898 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002899 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002900 </fill>
2901
2902 <listbox style="scrolllist">
2903 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2904 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002905 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002906 <data variable="tw_signed_zip_verify"/>
2907 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002908 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2909 <data variable="tw_install_reboot"/>
2910 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002912 <data variable="tw_rm_rf"/>
2913 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002914 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2915 <data variable="tw_disable_free_space"/>
2916 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002917 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2918 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002919 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002920 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2921 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002922 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002923 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002924 <data variable="tw_military_time"/>
2925 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002926 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2927 <data variable="tw_app_prompt"/>
2928 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002929 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002930 <data variable="tw_simulate_actions"/>
2931 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002933 <condition var1="tw_simulate_actions" var2="1"/>
2934 <data variable="tw_simulate_fail"/>
2935 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002936 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2937 <condition var1="tw_no_sha2" var2="0"/>
2938 <data variable="tw_use_sha2"/>
2939 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002940 </listbox>
2941
2942 <checkbox>
2943 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 <data variable="tw_samsung_navbar"/>
2946 </checkbox>
2947
2948 <button style="radiobutton">
2949 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2950 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002951 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002952 <image resource="radio_false"/>
2953 <action function="set">tw_navbar_button_position=0</action>
2954 </button>
2955
2956 <button style="radiobutton">
2957 <condition var1="tw_navbar_button_position" var2="0"/>
2958 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002959 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002960 <image resource="radio_true"/>
2961 <action function="set">tw_navbar_button_position=0</action>
2962 </button>
2963
2964 <button style="radiobutton">
2965 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2966 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 <image resource="radio_false"/>
2969 <action function="set">tw_navbar_button_position=1</action>
2970 </button>
2971
2972 <button style="radiobutton">
2973 <condition var1="tw_navbar_button_position" var2="1"/>
2974 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 <image resource="radio_true"/>
2977 <action function="set">tw_navbar_button_position=1</action>
2978 </button>
2979
2980 <button style="radiobutton">
2981 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2982 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002984 <image resource="radio_false"/>
2985 <action function="set">tw_navbar_button_position=2</action>
2986 </button>
2987
2988 <button style="radiobutton">
2989 <condition var1="tw_navbar_button_position" var2="2"/>
2990 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 <image resource="radio_true"/>
2993 <action function="set">tw_navbar_button_position=2</action>
2994 </button>
2995
2996 <button style="main_button_half_width">
2997 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002998 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002999 <action function="restoredefaultsettings"/>
3000 </button>
3001
3002 <action>
3003 <touch key="home"/>
3004 <action function="page">main</action>
3005 </action>
3006
3007 <action>
3008 <touch key="back"/>
3009 <action function="page">main</action>
3010 </action>
3011 </page>
3012
3013 <page name="settings_timezone">
3014 <template name="page"/>
3015
3016 <text style="text_l">
3017 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <text style="text_m">
3022 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 </text>
3025
3026 <template name="tabs_settings"/>
3027
3028 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003030 </fill>
3031
3032 <listbox>
3033 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3037 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3038 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3039 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3040 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3041 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3042 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3043 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3044 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3045 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3046 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3047 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3048 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3049 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3050 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3051 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3052 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3053 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3054 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3055 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3056 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3057 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3058 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3059 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003060 </listbox>
3061
3062 <text style="text_m_accent">
3063 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003064 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003065 </text>
3066
3067 <button style="button_quarter_width">
3068 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003070 <action function="set">tw_time_zone_guioffset=0</action>
3071 </button>
3072
3073 <button style="button_quarter_width">
3074 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 <action function="set">tw_time_zone_guioffset=15</action>
3077 </button>
3078
3079 <button style="button_quarter_width">
3080 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003082 <action function="set">tw_time_zone_guioffset=30</action>
3083 </button>
3084
3085 <button style="button_quarter_width">
3086 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003087 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003088 <action function="set">tw_time_zone_guioffset=45</action>
3089 </button>
3090
3091 <checkbox>
3092 <placement x="%col1_x_right%" y="%row7_y%"/>
3093 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003095 <data variable="tw_time_zone_guidst"/>
3096 <image checked="checkbox_true" unchecked="checkbox_false"/>
3097 </checkbox>
3098
3099 <text color="%text_color%">
3100 <font resource="font_m"/>
3101 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 </text>
3104
3105 <button>
3106 <highlight color="%highlight_color%"/>
3107 <placement x="%col2_x_right%" y="%row15a_y%"/>
3108 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003110 <image resource="main_button_half_width"/>
3111 <action function="setguitimezone"/>
3112 </button>
3113
3114 <action>
3115 <touch key="home"/>
3116 <action function="page">main</action>
3117 </action>
3118
3119 <action>
3120 <touch key="back"/>
3121 <action function="page">main</action>
3122 </action>
3123 </page>
3124
3125 <page name="settings_screen">
3126 <template name="page"/>
3127
3128 <text style="text_l">
3129 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003131 </text>
3132
3133 <text style="text_m">
3134 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003136 </text>
3137
3138 <template name="tabs_settings"/>
3139
3140 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003142 </fill>
3143
3144 <button>
3145 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3146 <font resource="font_m" color="%text_color%"/>
3147 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3148 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <image resource="checkbox_false"/>
3151 <action function="set">tw_screen_timeout_secs=60</action>
3152 </button>
3153
3154 <button>
3155 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3156 <font resource="font_m" color="%text_color%"/>
3157 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3158 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <image resource="checkbox_true"/>
3161 <action function="set">tw_screen_timeout_secs=0</action>
3162 </button>
3163
3164 <slidervalue>
3165 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3166 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3167 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3170 </slidervalue>
3171
3172 <slidervalue>
3173 <condition var1="tw_has_brightnesss_file" var2="1"/>
3174 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <data variable="tw_brightness_pct" min="10" max="100"/>
3177 <actions>
3178 <action function="set">tw_brightness=%tw_brightness_max%</action>
3179 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3180 <action function="compute">tw_brightness/100</action>
3181 <action function="setbrightness">%tw_brightness%</action>
3182 </actions>
3183 </slidervalue>
3184
3185 <action>
3186 <touch key="home"/>
3187 <action function="page">main</action>
3188 </action>
3189
3190 <action>
3191 <touch key="back"/>
3192 <action function="page">main</action>
3193 </action>
3194 </page>
3195
3196 <page name="settings_vibration">
3197 <template name="page"/>
3198
3199 <text style="text_l">
3200 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 </text>
3203
3204 <text style="text_m">
3205 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003206 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003207 </text>
3208
3209 <template name="tabs_settings"/>
3210
3211 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003212 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003213 </fill>
3214
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003215 <text style="text_m">
3216 <condition var1="tw_disable_haptics" var2="1"/>
3217 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3218 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3219 </text>
3220
z31s1g28f0a922015-11-07 18:50:22 +01003221 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003222 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003223 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 <data variable="tw_button_vibrate" min="0" max="300"/>
3226 </slidervalue>
3227
3228 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003229 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3233 </slidervalue>
3234
3235 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003236 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003237 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 <data variable="tw_action_vibrate" min="0" max="500"/>
3240 </slidervalue>
3241
3242 <action>
3243 <touch key="home"/>
3244 <action function="page">main</action>
3245 </action>
3246
3247 <action>
3248 <touch key="back"/>
3249 <action function="page">main</action>
3250 </action>
3251 </page>
3252
Ethan Yonker74db1572015-10-28 12:44:49 -05003253 <page name="settings_language">
3254 <template name="page"/>
3255
3256 <text style="text_l">
3257 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3258 <text>{@settings_hdr=Settings}</text>
3259 </text>
3260
3261 <text style="text_m">
3262 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3263 <text>{@language_hdr=Language - %tw_language_display%}</text>
3264 </text>
3265
3266 <template name="tabs_settings"/>
3267
3268 <fill color="%text_color%">
3269 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3270 </fill>
3271
3272 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003273 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <text>{@select_language=Select Language:}</text>
3275 <icon selected="radio_true" unselected="radio_false" />
3276 <data name="tw_language" />
3277 </listbox>
3278
z31s1g56189522016-01-13 19:12:40 +01003279 <button>
3280 <highlight color="%highlight_color%"/>
3281 <placement x="%col2_x_right%" y="%row15a_y%"/>
3282 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003284 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <action function="setlanguage"></action>
3286 </button>
3287
3288 <action>
3289 <touch key="home" />
3290 <action function="page">main</action>
3291 </action>
3292
3293 <action>
3294 <touch key="back" />
3295 <action function="page">settings</action>
3296 </action>
3297 </page>
3298
Matt Mower32676622017-01-18 18:56:13 -06003299 <page name="copylog">
3300 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003301
Matt Mower32676622017-01-18 18:56:13 -06003302 <text style="text_l">
3303 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3304 <text>{@copying_log=Copy Logs to SD Card}</text>
3305 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003306
Matt Mower32676622017-01-18 18:56:13 -06003307 <checkbox>
3308 <placement x="%indent%" y="%row4_y%"/>
3309 <text>{@include_kernel_log=Include Kernel Log}</text>
3310 <data variable="tw_include_kernel_log" value="1"/>
3311 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003312
Matt Mower32676622017-01-18 18:56:13 -06003313 <slider>
3314 <text>{@copying_log=Copy Logs to SD Card}</text>
3315 <actions>
3316 <action function="set">tw_back=advanced</action>
3317 <action function="set">tw_action=copylog</action>
3318 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3319 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3320 <action function="page">action_page</action>
3321 </actions>
3322 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003323
Matt Mower32676622017-01-18 18:56:13 -06003324 <action>
3325 <touch key="home"/>
3326 <action function="page">main</action>
3327 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003328
Matt Mower32676622017-01-18 18:56:13 -06003329 <action>
3330 <touch key="back"/>
3331 <actions>
3332 <action function="page">advanced</action>
3333 </actions>
3334 </action>
3335 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003336
z31s1g28f0a922015-11-07 18:50:22 +01003337 <page name="advanced">
3338 <template name="page"/>
3339
3340 <text style="text_l">
3341 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </text>
3344
3345 <button style="main_button">
3346 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003348 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </button>
3350
3351 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003352 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003354 <action function="page">filemanagerlist</action>
3355 </button>
3356
3357 <button style="main_button">
3358 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003360 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003361 </button>
3362
3363 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003364 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <action function="page">sideload</action>
3367 </button>
3368
Ethan Yonker64e0a652018-07-25 09:52:17 -05003369 <listbox style="advanced_listbox">
3370 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
3371 <listitem name="{@reload_theme_btn=Reload Theme}">
3372 <action function="reload"/>
3373 </listitem>
3374 <listitem name="{@part_sd_btn=Partition SD Card}">
3375 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3376 <actions>
3377 <action function="set">partitionlisterror=0</action>
3378 <action function="page">partsdcardsel</action>
3379 </actions>
3380 </listitem>
3381 <listitem name="{@fix_context_btn=Fix Contexts}">
3382 <condition var1="tw_has_data_media" var2="1"/>
3383 <action function="page">fixcontexts</action>
3384 </listitem>
3385 <listitem name="{@dumlock_btn=HTC Dumlock}">
3386 <condition var1="tw_show_dumlock" var2="1"/>
3387 <action function="page">htcdumlock</action>
3388 </listitem>
3389 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3390 <condition var1="tw_has_injecttwrp" var2="1"/>
3391 <actions>
3392 <action function="set">tw_back=advanced</action>
3393 <action function="set">tw_action=reinjecttwrp</action>
3394 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3395 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3396 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3397 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3398 <action function="page">confirm_action</action>
3399 </actions>
3400 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003401 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3402 <conditions>
3403 <condition var1="tw_has_boot_slots" var2="1"/>
3404 <condition var1="tw_has_repack_tools" var2="1"/>
3405 </conditions>
3406 <actions>
3407 <action function="set">tw_repack_kernel=0</action>
3408 <action function="page">repackselect</action>
3409 </actions>
3410 </listitem>
3411 <listitem name="{@install_kernel=Install Kernel}">
3412 <conditions>
3413 <condition var1="tw_has_boot_slots" var2="1"/>
3414 <condition var1="tw_has_repack_tools" var2="1"/>
3415 </conditions>
3416 <actions>
3417 <action function="set">tw_repack_kernel=1</action>
3418 <action function="page">repackselect</action>
3419 </actions>
3420 </listitem>
3421 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3422 <conditions>
3423 <condition var1="tw_has_boot_slots" var2="1"/>
3424 <condition var1="tw_has_repack_tools" var2="1"/>
3425 </conditions>
3426 <actions>
3427 <action function="set">tw_back=advanced</action>
3428 <action function="set">tw_action=fixabrecoverybootloop</action>
3429 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3430 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3431 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3432 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3433 <action function="page">confirm_action</action>
3434 </actions>
3435 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003436 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003437
3438 <action>
3439 <touch key="home"/>
3440 <action function="page">main</action>
3441 </action>
3442
3443 <action>
3444 <touch key="back"/>
3445 <action function="page">main</action>
3446 </action>
3447 </page>
3448
Ethan Yonker483e9f42016-01-11 22:21:18 -06003449 <page name="partsdcardsel">
3450 <template name="page"/>
3451
3452 <text style="text_l">
3453 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3454 <text>{@advanced_hdr=Advanced}</text>
3455 </text>
3456
3457 <text style="text_m">
3458 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3459 <text>{@part_sd_hdr=Partition SD Card}</text>
3460 </text>
3461
z31s1g782e1c92016-01-30 16:50:09 +01003462 <partitionlist>
3463 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003464 <text>{@sel_storage_list=Select Storage}</text>
3465 <data name="tw_storage_path"/>
3466 <listtype name="storage"/>
3467 </partitionlist>
3468
z31s1g782e1c92016-01-30 16:50:09 +01003469 <text style="text_m_fail">
3470 <condition var1="partitionlisterror" var2="1"/>
3471 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3472 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3473 </text>
3474
3475 <button style="main_button_half_width">
3476 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003477 <text>{@ok_btn=OK}</text>
3478 <actions>
3479 <action function="getpartitiondetails">tw_storage_path</action>
3480 <action function="page">partsdcardcheck</action>
3481 </actions>
3482 </button>
3483
Ethan Yonker483e9f42016-01-11 22:21:18 -06003484 <action>
3485 <touch key="home"/>
3486 <action function="page">main</action>
3487 </action>
3488
3489 <action>
3490 <touch key="back"/>
3491 <action function="page">advanced</action>
3492 </action>
3493 </page>
3494
3495 <page name="partsdcardcheck">
3496 <action>
3497 <condition var1="tw_partition_removable" op="=" var2="1"/>
3498 <actions>
3499 <action function="set">partitionlisterror=0</action>
3500 <action function="page">partsdcard</action>
3501 </actions>
3502 </action>
3503
3504 <action>
3505 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3506 <actions>
3507 <action function="set">partitionlisterror=1</action>
3508 <action function="page">partsdcardsel</action>
3509 </actions>
3510 </action>
3511 </page>
3512
z31s1g28f0a922015-11-07 18:50:22 +01003513 <page name="partsdcard">
3514 <template name="page"/>
3515
3516 <text style="text_l">
3517 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </text>
3520
3521 <text style="text_m">
3522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 </text>
3525
3526 <text style="text_m_fail">
3527 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 </text>
3530
3531 <text style="text_m_fail">
3532 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 </text>
3535
3536 <text style="text_m_accent">
3537 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003539 </text>
3540
3541 <text style="text_m">
3542 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3543 <text>%tw_sdext_size%</text>
3544 </text>
3545
3546 <button style="button_quarter_width">
3547 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003549 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003550 </button>
3551
3552 <button style="button_quarter_width">
3553 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003555 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </button>
3557
3558 <text style="text_m_accent">
3559 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003561 </text>
3562
3563 <text style="text_m">
3564 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3565 <text>%tw_swap_size%</text>
3566 </text>
3567
3568 <button style="button_quarter_width">
3569 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003570 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003571 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </button>
3573
3574 <button style="button_quarter_width">
3575 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003577 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </button>
3579
3580 <text style="text_m_accent">
3581 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m">
3586 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3587 <text>%tw_sdpart_file_system%</text>
3588 </text>
3589
3590 <button style="button_quarter_width">
3591 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3592 <text>EXT3</text>
3593 <action function="set">tw_sdpart_file_system=ext3</action>
3594 </button>
3595
3596 <button style="button_quarter_width">
3597 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3598 <text>EXT4</text>
3599 <action function="set">tw_sdpart_file_system=ext4</action>
3600 </button>
3601
3602 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 <action function="page">partsdcardaction</action>
3605 <actions>
3606 <action function="set">tw_back=partsdcard</action>
3607 <action function="set">tw_action=partitionsd</action>
3608 <action function="set">tw_has_action2=1</action>
3609 <action function="set">tw_action2=set</action>
3610 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3612 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3613 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003614 <action function="page">action_page</action>
3615 </actions>
3616 </slider>
3617
3618 <action>
3619 <touch key="home"/>
3620 <action function="page">main</action>
3621 </action>
3622
3623 <action>
3624 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003625 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003626 </action>
3627 </page>
3628
3629 <page name="htcdumlock">
3630 <template name="page"/>
3631
3632 <text style="text_l">
3633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 </text>
3636
3637 <text style="text_m">
3638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <button style="main_button_m">
3643 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 <actions>
3646 <action function="set">tw_back=htcdumlock</action>
3647 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3649 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3650 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3651 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="page">confirm_action</action>
3653 </actions>
3654 </button>
3655
3656 <button style="main_button_m">
3657 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003658 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003659 <actions>
3660 <action function="set">tw_back=htcdumlock</action>
3661 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3663 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3664 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3665 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003666 <action function="page">confirm_action</action>
3667 </actions>
3668 </button>
3669
3670 <button style="main_button_m">
3671 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <actions>
3674 <action function="set">tw_back=htcdumlock</action>
3675 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3677 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3678 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3679 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003680 <action function="page">confirm_action</action>
3681 </actions>
3682 </button>
3683
3684 <action>
3685 <touch key="home"/>
3686 <action function="page">main</action>
3687 </action>
3688
3689 <action>
3690 <touch key="back"/>
3691 <action function="page">advanced</action>
3692 </action>
3693 </page>
3694
Ethan Yonker53796e72019-01-11 22:49:52 -06003695 <page name="repackselect">
3696 <template name="page"/>
3697
3698 <text style="text_l">
3699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3700 <text>{@repack_image_hdr=Select Image}</text>
3701 </text>
3702
3703 <text style="text_m">
3704 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3705 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3706 </text>
3707
3708 <template name="sort_options"/>
3709
3710 <fileselector>
3711 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3712 <text>%tw_zip_location%</text>
3713 <filter extn=".img" folders="1" files="1"/>
3714 <path name="tw_zip_location" default="/sdcard"/>
3715 <data name="tw_filename"/>
3716 <selection name="tw_file"/>
3717 </fileselector>
3718
3719 <button style="main_button_half_width_low">
3720 <placement x="%col_button_right%" y="%row16a_y%"/>
3721 <text>{@select_storage_btn=Select Storage}</text>
3722 <actions>
3723 <action function="set">tw_back=install</action>
3724 <action function="overlay">select_storage</action>
3725 </actions>
3726 </button>
3727
3728 <action>
3729 <conditions>
3730 <condition var1="tw_filename" op="modified"/>
3731 </conditions>
3732 <action function="page">repackconfirm</action>
3733 </action>
3734
3735 <action>
3736 <touch key="back"/>
3737 <action function="page">advanced</action>
3738 </action>
3739
3740 <action>
3741 <touch key="home"/>
3742 <action function="page">main</action>
3743 </action>
3744 </page>
3745
3746 <page name="repackconfirm">
3747 <template name="page"/>
3748
3749 <text style="text_l">
3750 <condition var1="tw_repack_kernel" var2="1"/>
3751 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3752 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3753 </text>
3754
3755 <text style="text_l">
3756 <condition var1="tw_repack_kernel" var2="0"/>
3757 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3758 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3759 </text>
3760
3761 <text style="text_m">
3762 <condition var1="tw_repack_kernel" var2="1"/>
3763 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3764 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3765 </text>
3766
3767 <text style="text_m">
3768 <condition var1="tw_repack_kernel" var2="0"/>
3769 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3770 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3771 </text>
3772
3773 <text style="text_m_accent">
3774 <placement x="%indent%" y="%row2_y%"/>
3775 <text>{@folder=Folder:}</text>
3776 </text>
3777
3778 <text style="text_m">
3779 <placement x="%indent%" y="%row3_y%"/>
3780 <text>%tw_zip_location%</text>
3781 </text>
3782
3783 <text style="text_m_accent">
3784 <placement x="%indent%" y="%row4_y%"/>
3785 <text>{@file=File:}</text>
3786 </text>
3787
3788 <text style="text_m">
3789 <placement x="%indent%" y="%row5_y%"/>
3790 <text>%tw_file%</text>
3791 </text>
3792
3793 <checkbox>
3794 <placement x="%indent%" y="%row7_y%"/>
3795 <text>{@repack_backup_first=Back up existing image first}</text>
3796 <data variable="tw_repack_backup_first"/>
3797 </checkbox>
3798
3799 <button style="main_button_half_width">
3800 <placement x="%col1_x_left%" y="%row15a_y%"/>
3801 <text>{@install_cancel=Do not Install}</text>
3802 <action function="page">repackselect</action>
3803 </button>
3804
3805 <slider style="slider_centered">
3806 <text>{@swipe_to_install=Swipe to Install}</text>
3807 <actions>
3808 <action function="set">tw_back=advanced</action>
3809 <action function="set">tw_action=repackimage</action>
3810 <action function="set">tw_action_param=/boot</action>
3811 <action function="set">tw_action_text1={@installing=Installing...}</action>
3812 <action function="set">tw_action_text2=</action>
3813 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3814 <action function="page">action_page</action>
3815 </actions>
3816 </slider>
3817
3818 <action>
3819 <touch key="back"/>
3820 <action function="page">repackselect</action>
3821 </action>
3822
3823 <action>
3824 <touch key="home"/>
3825 <action function="page">main</action>
3826 </action>
3827 </page>
3828
z31s1g28f0a922015-11-07 18:50:22 +01003829 <page name="lock">
3830 <background color="%semi_transparent%"/>
3831
3832 <image>
3833 <image resource="unlock_icon"/>
3834 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3835 </image>
3836
3837 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 <action function="overlay"/>
3840 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003841
3842 <action>
3843 <touch key="power"/>
3844 <action function="togglebacklight"/>
3845 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003846 </page>
3847
3848 <page name="filemanagerlist">
3849 <template name="page"/>
3850
3851 <text style="text_l">
3852 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <text style="text_m">
3857 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <template name="sort_options"/>
3862
3863 <fileselector>
3864 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3865 <text>%tw_file_location1%</text>
3866 <filter folders="1" files="1"/>
3867 <path name="tw_file_location1" default="/"/>
3868 <data name="tw_filename1"/>
3869 <selection name="tw_selection1"/>
3870 </fileselector>
3871
3872 <button style="main_button_half_width_low">
3873 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 <actions>
3876 <action function="set">tw_filename1=tw_file_location1</action>
3877 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <action function="page">filemanageroptions</action>
3880 </actions>
3881 </button>
3882
3883 <action>
3884 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <action function="set">tw_fm_isfolder=0</action>
3887 </actions>
3888 </action>
3889
3890 <action>
3891 <touch key="home"/>
3892 <action function="page">main</action>
3893 </action>
3894
3895 <action>
3896 <touch key="back"/>
3897 <action function="page">advanced</action>
3898 </action>
3899
3900 <action>
3901 <condition var1="tw_filename1" op="modified"/>
3902 <action function="page">filemanageroptions</action>
3903 </action>
3904 </page>
3905
3906 <page name="filemanageroptions">
3907 <template name="page"/>
3908
3909 <text style="text_l">
3910 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003912 </text>
3913
3914 <text style="text_m">
3915 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003916 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003917 </text>
3918
3919 <text style="text_m_accent">
3920 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 </text>
3923
3924 <text style="text_m">
3925 <placement x="%col1_x_left%" y="%row3_y%"/>
3926 <text>%tw_filename1%</text>
3927 </text>
3928
3929 <button style="main_button_half_width">
3930 <condition var1="tw_fm_isfolder" var2="0"/>
3931 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 <actions>
3934 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003936 <action function="page">choosedestinationfolder</action>
3937 </actions>
3938 </button>
3939
3940 <button style="main_button_half_width">
3941 <condition var1="tw_fm_isfolder" var2="1"/>
3942 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003944 <actions>
3945 <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 -05003946 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003947 <action function="page">choosedestinationfolder</action>
3948 </actions>
3949 </button>
3950
3951 <button style="main_button_half_width">
3952 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 <actions>
3955 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003957 <action function="page">choosedestinationfolder</action>
3958 </actions>
3959 </button>
3960
3961 <button style="main_button_half_width">
3962 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <actions>
3965 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003967 <action function="set">tw_fm_text2=</action>
3968 <action function="set">tw_fm_text3=</action>
3969 <action function="set">tw_include_text3=0</action>
3970 <action function="set">tw_back=filemanageroptions</action>
3971 <action function="page">filemanagerconfirm</action>
3972 </actions>
3973 </button>
3974
3975 <button style="main_button_half_width">
3976 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003977 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 <actions>
3979 <action function="set">tw_filemanager_rename=0000</action>
3980 <action function="set">tw_fm_text2=</action>
3981 <action function="set">tw_fm_text3=</action>
3982 <action function="set">tw_include_text3=0</action>
3983 <action function="set">tw_back=filemanageroptions</action>
3984 <action function="page">filemanagerchmod</action>
3985 </actions>
3986 </button>
3987
3988 <button style="main_button_half_width">
3989 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 <actions>
3992 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003994 <action function="set">tw_fm_text2=</action>
3995 <action function="set">tw_fm_text3=</action>
3996 <action function="set">tw_include_text3=0</action>
3997 <action function="set">tw_back=filemanageroptions</action>
3998 <action function="page">filemanagerconfirm</action>
3999 </actions>
4000 </button>
4001
4002 <button style="main_button_half_width">
4003 <condition var1="tw_fm_isfolder" var2="0"/>
4004 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004006 <actions>
4007 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004008 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004009 <action function="set">tw_filemanager_command=mv</action>
4010 <action function="page">filemanagerrenamefile</action>
4011 </actions>
4012 </button>
4013
4014 <button style="main_button_half_width">
4015 <condition var1="tw_fm_isfolder" var2="1"/>
4016 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 <actions>
4019 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004021 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4022 <action function="page">filemanagerrenamefolder</action>
4023 </actions>
4024 </button>
4025
4026 <action>
4027 <touch key="home"/>
4028 <action function="page">main</action>
4029 </action>
4030
4031 <action>
4032 <touch key="back"/>
4033 <action function="page">filemanagerlist</action>
4034 </action>
4035 </page>
4036
4037 <page name="choosedestinationfolder">
4038 <template name="page"/>
4039
4040 <text style="text_l">
4041 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004042 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004043 </text>
4044
4045 <text style="text_m">
4046 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </text>
4049
4050 <template name="sort_options"/>
4051
4052 <fileselector>
4053 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4054 <text>%tw_file_location2%</text>
4055 <filter folders="1" files="0"/>
4056 <path name="tw_file_location2" default="/"/>
4057 <data name="tw_filename2"/>
4058 <selection name="tw_selection2"/>
4059 </fileselector>
4060
4061 <button style="main_button_half_width_low">
4062 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 <actions>
4065 <action function="set">tw_fm_text2=to</action>
4066 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4067 <action function="set">tw_include_text3=1</action>
4068 <action function="set">tw_back=filemanageroptions</action>
4069 <action function="page">filemanagerconfirm</action>
4070 </actions>
4071 </button>
4072
4073 <action>
4074 <touch key="home"/>
4075 <action function="page">main</action>
4076 </action>
4077
4078 <action>
4079 <touch key="back"/>
4080 <action function="page">filemanageroptions</action>
4081 </action>
4082 </page>
4083
4084 <page name="filemanagerrenamefile">
4085 <template name="page"/>
4086
4087 <text style="text_l">
4088 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
4092 <text style="text_m">
4093 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <text style="text_m_accent">
4098 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004099 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004100 </text>
4101
4102 <input>
4103 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4104 <text>%tw_filemanager_rename%</text>
4105 <data name="tw_filemanager_rename"/>
4106 <restrict minlen="1" maxlen="128"/>
4107 <actions>
4108 <action function="set">tw_fm_text2=to</action>
4109 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4110 <action function="set">tw_include_text3=1</action>
4111 <action function="set">tw_back=filemanageroptions</action>
4112 <action function="page">filemanagerconfirm</action>
4113 </actions>
4114 </input>
4115
4116 <fill color="%accent_color%">
4117 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4118 </fill>
4119
4120 <button style="main_button_half_width_low">
4121 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 <action function="page">filemanageroptions</action>
4124 </button>
4125
4126 <template name="keyboardtemplate"/>
4127
4128 <action>
4129 <touch key="home"/>
4130 <action function="page">main</action>
4131 </action>
4132
4133 <action>
4134 <touch key="back"/>
4135 <action function="page">filemanageroptions</action>
4136 </action>
4137 </page>
4138
4139 <page name="filemanagerrenamefolder">
4140 <template name="page"/>
4141
4142 <text style="text_l">
4143 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004144 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004145 </text>
4146
4147 <text style="text_m">
4148 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <text style="text_m_accent">
4153 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004155 </text>
4156
4157 <input>
4158 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4159 <text>%tw_filemanager_rename%</text>
4160 <data name="tw_filemanager_rename"/>
4161 <restrict minlen="1" maxlen="128"/>
4162 <actions>
4163 <action function="set">tw_fm_text2=to</action>
4164 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4165 <action function="set">tw_include_text3=1</action>
4166 <action function="set">tw_back=filemanageroptions</action>
4167 <action function="page">filemanagerconfirm</action>
4168 </actions>
4169 </input>
4170
4171 <fill color="%accent_color%">
4172 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4173 </fill>
4174
4175 <button style="main_button_half_width_low">
4176 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 <action function="page">filemanageroptions</action>
4179 </button>
4180
4181 <template name="keyboardtemplate"/>
4182
4183 <action>
4184 <touch key="home"/>
4185 <action function="page">main</action>
4186 </action>
4187
4188 <action>
4189 <touch key="back"/>
4190 <action function="page">filemanageroptions</action>
4191 </action>
4192 </page>
4193
4194 <page name="filemanagerchmod">
4195 <template name="page"/>
4196
4197 <text style="text_l">
4198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004199 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004200 </text>
4201
4202 <text style="text_m">
4203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004205 </text>
4206
4207 <text style="text_m_accent">
4208 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
4212 <input>
4213 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4214 <text>%tw_filemanager_rename%</text>
4215 <data name="tw_filemanager_rename"/>
4216 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4217 <actions>
4218 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4219 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4220 <action function="set">tw_back=filemanageroptions</action>
4221 <action function="page">filemanagerconfirm</action>
4222 </actions>
4223 </input>
4224
4225 <fill color="%accent_color%">
4226 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4227 </fill>
4228
4229 <button style="main_button_half_width_low">
4230 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004231 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 <action function="page">filemanageroptions</action>
4233 </button>
4234
4235 <template name="keyboardtemplate"/>
4236
4237 <action>
4238 <touch key="home"/>
4239 <action function="page">main</action>
4240 </action>
4241
4242 <action>
4243 <touch key="back"/>
4244 <action function="page">filemanageroptions</action>
4245 </action>
4246 </page>
4247
4248 <page name="filemanagerconfirm">
4249 <template name="page"/>
4250
4251 <text style="text_l">
4252 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 </text>
4255
4256 <text style="text_m">
4257 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 </text>
4260
4261 <text style="text_m_accent">
4262 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4263 <text>%tw_fm_text1%</text>
4264 </text>
4265
4266 <text style="text_m">
4267 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4268 <text>%tw_filename1%</text>
4269 </text>
4270
4271 <text style="text_m_accent">
4272 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4273 <text>%tw_fm_text2%</text>
4274 </text>
4275
4276 <text style="text_m">
4277 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4278 <text>%tw_fm_text3%</text>
4279 </text>
4280
4281 <text style="text_m">
4282 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004283 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004284 </text>
4285
4286 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004287 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004288 <action function="page">filemanageraction</action>
4289 </slider>
4290
4291 <action>
4292 <touch key="back"/>
4293 <action function="page">%tw_back%</action>
4294 </action>
4295
4296 <action>
4297 <touch key="home"/>
4298 <action function="page">main</action>
4299 </action>
4300 </page>
4301
4302 <page name="filemanageraction">
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>{@fm_hdr=File Manager}</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%"/>
4312 <text>%tw_fm_text1%</text>
4313 </text>
4314
4315 <template name="console"/>
4316
4317 <template name="progress_bar"/>
4318
4319 <action>
4320 <conditions>
4321 <condition var1="tw_operation_state" var2="1"/>
4322 <condition var1="tw_operation_status" var2="0"/>
4323 </conditions>
4324 <actions>
4325 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004326 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004327 <action function="page">action_complete</action>
4328 </actions>
4329 </action>
4330
4331 <action>
4332 <conditions>
4333 <condition var1="tw_operation_state" var2="1"/>
4334 <condition var1="tw_operation_status" op="!=" var2="0"/>
4335 </conditions>
4336 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004337 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004338 <action function="page">action_complete</action>
4339 </actions>
4340 </action>
4341
4342 <action>
4343 <condition var1="tw_include_text3" var2="0"/>
4344 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4345 </action>
4346
4347 <action>
4348 <condition var1="tw_include_text3" var2="1"/>
4349 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4350 </action>
4351 </page>
4352
4353 <page name="decrypt">
4354 <template name="page"/>
4355
4356 <action>
4357 <condition var1="tw_crypto_pwtype" var2="2"/>
4358 <action function="page">decrypt_pattern</action>
4359 </action>
4360
4361 <text style="text_l">
4362 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004363 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004364 </text>
4365
4366 <text style="text_m">
4367 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004369 </text>
4370
4371 <text style="text_m_accent">
4372 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004374 </text>
4375
4376 <input>
4377 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4378 <text>%tw_crypto_display%</text>
4379 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4380 <restrict minlen="1" maxlen="254"/>
4381 <action function="page">trydecrypt</action>
4382 </input>
4383
4384 <fill color="%accent_color%">
4385 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4386 </fill>
4387
4388 <fill color="%text_fail_color%">
4389 <condition var1="tw_password_fail" var2="1"/>
4390 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4391 </fill>
4392
4393 <text style="text_m_fail">
4394 <condition var1="tw_password_fail" var2="1"/>
4395 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004396 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <button style="main_button_half_width_low">
4400 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 <actions>
4403 <action function="set">tw_page_done=1</action>
4404 <action function="page">main</action>
4405 </actions>
4406 </button>
4407
z31s1g608d7ff2016-01-18 19:47:25 +01004408 <button style="main_button_half_width_low">
4409 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4410 <text>{@sel_lang_btn=Select Language}</text>
4411 <action function="overlay">select_language</action>
4412 </button>
4413
z31s1g28f0a922015-11-07 18:50:22 +01004414 <template name="keyboardtemplate"/>
4415 </page>
4416
4417 <page name="decrypt_pattern">
4418 <template name="page"/>
4419
4420 <text style="text_l">
4421 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004422 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004423 </text>
4424
4425 <text style="text_m">
4426 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004428 </text>
4429
4430 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004431 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 </text>
4434
Aleksa Saraib25a1832015-12-31 17:36:00 +01004435 <text style="text_m_fail">
4436 <condition var1="tw_password_fail" var2="1"/>
4437 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004438 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004439 </text>
4440
z31s1g28f0a922015-11-07 18:50:22 +01004441 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004442 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004443 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4444 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4445 <data name="tw_crypto_password"/>
4446 <action function="page">trydecrypt</action>
4447 </patternpassword>
4448
Aleksa Saraib25a1832015-12-31 17:36:00 +01004449 <button style="main_button_half_width_low">
4450 <placement x="%col_button_right%" y="%row1a_y%"/>
4451 <text>3x3</text>
4452 <action function="set">tw_gui_pattern_grid_size=3</action>
4453 </button>
4454
4455 <button style="main_button_half_width_low">
4456 <placement x="%col_button_right%" y="%row4a_y%"/>
4457 <text>4x4</text>
4458 <action function="set">tw_gui_pattern_grid_size=4</action>
4459 </button>
4460
4461 <button style="main_button_half_width_low">
4462 <placement x="%col_button_right%" y="%row7a_y%"/>
4463 <text>5x5</text>
4464 <action function="set">tw_gui_pattern_grid_size=5</action>
4465 </button>
4466
4467 <button style="main_button_half_width_low">
4468 <placement x="%col_button_right%" y="%row10a_y%"/>
4469 <text>6x6</text>
4470 <action function="set">tw_gui_pattern_grid_size=6</action>
4471 </button>
4472
z31s1g28f0a922015-11-07 18:50:22 +01004473 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004474 <placement x="%col1_x_right%" y="%row15a_y%"/>
4475 <text>{@sel_lang_btn=Select Language}</text>
4476 <action function="overlay">select_language</action>
4477 </button>
4478
4479 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004480 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 <actions>
4483 <action function="set">tw_page_done=1</action>
4484 <action function="page">main</action>
4485 </actions>
4486 </button>
4487 </page>
4488
4489 <page name="trydecrypt">
4490 <template name="page"/>
4491
4492 <text style="text_l">
4493 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004494 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </text>
4496
4497 <text style="text_m">
4498 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004499 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004500 </text>
4501
4502 <template name="console"/>
4503
4504 <template name="progress_bar"/>
4505
4506 <action>
4507 <action function="decrypt"/>
4508 </action>
4509
4510 <action>
4511 <conditions>
4512 <condition var1="tw_operation_state" var2="1"/>
4513 <condition var1="tw_operation_status" op="!=" var2="0"/>
4514 </conditions>
4515 <actions>
4516 <action function="set">tw_password_fail=1</action>
4517 <action function="page">decrypt</action>
4518 </actions>
4519 </action>
4520
4521 <action>
4522 <conditions>
4523 <condition var1="tw_operation_state" var2="1"/>
4524 <condition var1="tw_operation_status" op="=" var2="0"/>
4525 </conditions>
4526 <actions>
4527 <action function="set">tw_page_done=1</action>
4528 <action function="page">main</action>
4529 </actions>
4530 </action>
4531 </page>
4532
z31s1g28f0a922015-11-07 18:50:22 +01004533 <page name="terminalcommand">
4534 <template name="page"/>
4535
4536 <fill color="%background_color%">
4537 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4538 </fill>
4539
z31s1g56189522016-01-13 19:12:40 +01004540 <terminal>
4541 <condition var1="tw_hide_kb" var2="0"/>
4542 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4543 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004544
z31s1g56189522016-01-13 19:12:40 +01004545 <terminal>
4546 <condition var1="tw_hide_kb" var2="1"/>
4547 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4548 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004549
z31s1g56189522016-01-13 19:12:40 +01004550 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004551
z31s1g56189522016-01-13 19:12:40 +01004552 <object type="fill" color="#000000">
4553 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4554 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004555
z31s1g608d7ff2016-01-18 19:47:25 +01004556 <button>
z31s1g56189522016-01-13 19:12:40 +01004557 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4558 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4559 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4560 <image resource="back" />
4561 <condition var1="tw_busy" var2="0" />
4562 <actions>
4563 <action function="set">tw_hide_kb=0</action>
4564 <action function="page">advanced</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="0" />
4570 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4571 <condition var1="tw_hide_kb" op="=" var2="0" />
4572 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4573 <image resource="kb_hide" />
4574 <condition var1="tw_busy" var2="0" />
4575 <actions>
4576 <action function="set">tw_hide_kb=1</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="0" />
4583 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4584 <condition var1="tw_hide_kb" op="=" var2="1" />
4585 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4586 <image resource="kb_show" />
4587 <condition var1="tw_busy" var2="0" />
4588 <actions>
4589 <action function="set">tw_hide_kb=0</action>
4590 <action function="page">terminalcommand</action>
4591 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004592 </button>
z31s1g56189522016-01-13 19:12:40 +01004593
z31s1g608d7ff2016-01-18 19:47:25 +01004594 <button>
z31s1g56189522016-01-13 19:12:40 +01004595 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4596 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4597 <image resource="home" />
4598 <condition var1="tw_busy" var2="0" />
4599 <actions>
4600 <action function="set">tw_hide_kb=0</action>
4601 <action function="key">home</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="0" />
4607 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4608 <condition var1="tw_hide_kb" op="=" var2="0" />
4609 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4610 <image resource="kb_hide" />
4611 <condition var1="tw_busy" var2="0" />
4612 <actions>
4613 <action function="set">tw_hide_kb=1</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="0" />
4620 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4621 <condition var1="tw_hide_kb" op="=" var2="1" />
4622 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4623 <image resource="kb_show" />
4624 <condition var1="tw_busy" var2="0" />
4625 <actions>
4626 <action function="set">tw_hide_kb=0</action>
4627 <action function="page">terminalcommand</action>
4628 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004629 </button>
z31s1g56189522016-01-13 19:12:40 +01004630
z31s1g608d7ff2016-01-18 19:47:25 +01004631 <button>
z31s1g56189522016-01-13 19:12:40 +01004632 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4633 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4634 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4635 <image resource="back" />
4636 <condition var1="tw_busy" var2="0" />
4637 <actions>
4638 <action function="set">tw_hide_kb=0</action>
4639 <action function="page">advanced</action>
4640 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004641 </button>
z31s1g56189522016-01-13 19:12:40 +01004642
z31s1g608d7ff2016-01-18 19:47:25 +01004643 <button>
z31s1g56189522016-01-13 19:12:40 +01004644 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4645 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4646 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4647 <image resource="back" />
4648 <condition var1="tw_busy" var2="0" />
4649 <actions>
4650 <action function="set">tw_hide_kb=0</action>
4651 <action function="page">advanced</action>
4652 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004653 </button>
z31s1g56189522016-01-13 19:12:40 +01004654
z31s1g608d7ff2016-01-18 19:47:25 +01004655 <button>
z31s1g56189522016-01-13 19:12:40 +01004656 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4657 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4658 <condition var1="tw_hide_kb" op="=" var2="0" />
4659 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4660 <image resource="kb_hide" />
4661 <condition var1="tw_busy" var2="0" />
4662 <actions>
4663 <action function="set">tw_hide_kb=1</action>
4664 <action function="page">terminalcommand</action>
4665 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004666 </button>
z31s1g56189522016-01-13 19:12:40 +01004667
z31s1g608d7ff2016-01-18 19:47:25 +01004668 <button>
z31s1g56189522016-01-13 19:12:40 +01004669 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4670 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4671 <condition var1="tw_hide_kb" op="=" var2="1" />
4672 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4673 <image resource="kb_show" />
4674 <condition var1="tw_busy" var2="0" />
4675 <actions>
4676 <action function="set">tw_hide_kb=0</action>
4677 <action function="page">terminalcommand</action>
4678 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004679 </button>
z31s1g56189522016-01-13 19:12:40 +01004680
z31s1g608d7ff2016-01-18 19:47:25 +01004681 <button>
z31s1g56189522016-01-13 19:12:40 +01004682 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4683 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4684 <image resource="home" />
4685 <condition var1="tw_busy" var2="0" />
4686 <actions>
4687 <action function="set">tw_hide_kb=0</action>
4688 <action function="key">home</action>
4689 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004690 </button>
z31s1g56189522016-01-13 19:12:40 +01004691
z31s1g608d7ff2016-01-18 19:47:25 +01004692 <button>
z31s1g56189522016-01-13 19:12:40 +01004693 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4694 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4695 <condition var1="tw_hide_kb" op="=" var2="0" />
4696 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4697 <image resource="kb_hide" />
4698 <condition var1="tw_busy" var2="0" />
4699 <actions>
4700 <action function="set">tw_hide_kb=1</action>
4701 <action function="page">terminalcommand</action>
4702 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004703 </button>
z31s1g56189522016-01-13 19:12:40 +01004704
z31s1g608d7ff2016-01-18 19:47:25 +01004705 <button>
z31s1g56189522016-01-13 19:12:40 +01004706 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4707 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4708 <condition var1="tw_hide_kb" op="=" var2="1" />
4709 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4710 <image resource="kb_show" />
4711 <condition var1="tw_busy" var2="0" />
4712 <actions>
4713 <action function="set">tw_hide_kb=0</action>
4714 <action function="page">terminalcommand</action>
4715 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004716 </button>
z31s1g56189522016-01-13 19:12:40 +01004717
z31s1g608d7ff2016-01-18 19:47:25 +01004718 <button>
z31s1g56189522016-01-13 19:12:40 +01004719 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4720 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4721 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4722 <image resource="back" />
4723 <condition var1="tw_busy" var2="0" />
4724 <actions>
4725 <action function="set">tw_hide_kb=0</action>
4726 <action function="page">advanced</action>
4727 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004728 </button>
z31s1g56189522016-01-13 19:12:40 +01004729
z31s1g608d7ff2016-01-18 19:47:25 +01004730 <button>
z31s1g56189522016-01-13 19:12:40 +01004731 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4732 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4733 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4734 <image resource="back" />
4735 <condition var1="tw_busy" var2="0" />
4736 <actions>
4737 <action function="set">tw_hide_kb=0</action>
4738 <action function="page">advanced</action>
4739 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004740 </button>
z31s1g56189522016-01-13 19:12:40 +01004741
z31s1g608d7ff2016-01-18 19:47:25 +01004742 <button>
z31s1g56189522016-01-13 19:12:40 +01004743 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4744 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4745 <condition var1="tw_hide_kb" op="=" var2="0" />
4746 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4747 <image resource="kb_hide" />
4748 <condition var1="tw_busy" var2="0" />
4749 <actions>
4750 <action function="set">tw_hide_kb=1</action>
4751 <action function="page">terminalcommand</action>
4752 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004753 </button>
z31s1g56189522016-01-13 19:12:40 +01004754
z31s1g608d7ff2016-01-18 19:47:25 +01004755 <button>
z31s1g56189522016-01-13 19:12:40 +01004756 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4757 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4758 <condition var1="tw_hide_kb" op="=" var2="1" />
4759 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4760 <image resource="kb_show" />
4761 <condition var1="tw_busy" var2="0" />
4762 <actions>
4763 <action function="set">tw_hide_kb=0</action>
4764 <action function="page">terminalcommand</action>
4765 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004766 </button>
z31s1g56189522016-01-13 19:12:40 +01004767
z31s1g608d7ff2016-01-18 19:47:25 +01004768 <button>
z31s1g56189522016-01-13 19:12:40 +01004769 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4770 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4771 <image resource="home" />
4772 <condition var1="tw_busy" var2="0" />
4773 <actions>
4774 <action function="set">tw_hide_kb=0</action>
4775 <action function="key">home</action>
4776 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004777 </button>
z31s1g56189522016-01-13 19:12:40 +01004778
z31s1g608d7ff2016-01-18 19:47:25 +01004779 <button>
z31s1g56189522016-01-13 19:12:40 +01004780 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4781 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4782 <condition var1="tw_hide_kb" op="=" var2="0" />
4783 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4784 <image resource="kb_hide" />
4785 <condition var1="tw_busy" var2="0" />
4786 <actions>
4787 <action function="set">tw_hide_kb=1</action>
4788 <action function="page">terminalcommand</action>
4789 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004790 </button>
z31s1g56189522016-01-13 19:12:40 +01004791
z31s1g608d7ff2016-01-18 19:47:25 +01004792 <button>
z31s1g56189522016-01-13 19:12:40 +01004793 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4794 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4795 <condition var1="tw_hide_kb" op="=" var2="1" />
4796 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4797 <image resource="kb_show" />
4798 <condition var1="tw_busy" var2="0" />
4799 <actions>
4800 <action function="set">tw_hide_kb=0</action>
4801 <action function="page">terminalcommand</action>
4802 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004803 </button>
z31s1g56189522016-01-13 19:12:40 +01004804
z31s1g608d7ff2016-01-18 19:47:25 +01004805 <button>
z31s1g56189522016-01-13 19:12:40 +01004806 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4807 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4808 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4809 <image resource="back" />
4810 <condition var1="tw_busy" var2="0" />
4811 <actions>
4812 <action function="set">tw_hide_kb=0</action>
4813 <action function="page">advanced</action>
4814 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004815 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004816
4817 <action>
4818 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004819 <actions>
4820 <action function="page">main</action>
4821 <action function="set">tw_hide_kb=0</action>
4822 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004823 </action>
4824
4825 <action>
4826 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004827 <actions>
4828 <action function="page">advanced</action>
4829 <action function="set">tw_hide_kb=0</action>
4830 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004831 </action>
z31s1g56189522016-01-13 19:12:40 +01004832
4833 <object type="action">
4834 <touch key="power+voldown" />
4835 <action function="screenshot" />
4836 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004837 </page>
4838
4839 <page name="sideload">
4840 <template name="page"/>
4841
4842 <text style="text_l">
4843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004844 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004845 </text>
4846
4847 <text style="text_m">
4848 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004849 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004850 </text>
4851
4852 <checkbox>
4853 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004854 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004855 <data variable="tw_wipe_dalvik"/>
4856 </checkbox>
4857
4858 <checkbox>
4859 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004860 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004861 <data variable="tw_wipe_cache"/>
4862 </checkbox>
4863
4864 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004865 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004866 <actions>
4867 <action function="set">tw_back=advanced</action>
4868 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004869 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4870 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4871 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004872 <action function="set">tw_has_cancel=1</action>
4873 <action function="set">tw_show_reboot=1</action>
4874 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4875 <action function="page">action_page</action>
4876 </actions>
4877 </slider>
4878
4879 <action>
4880 <touch key="home"/>
4881 <action function="page">main</action>
4882 </action>
4883
4884 <action>
4885 <touch key="back"/>
4886 <action function="page">advanced</action>
4887 </action>
4888 </page>
4889
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004890 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004891 <template name="page"/>
4892
4893 <text style="text_l">
4894 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004895 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004896 </text>
4897
4898 <text style="text_m">
4899 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004900 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004901 </text>
4902
4903 <text style="text_m_accent">
4904 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004905 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004906 </text>
4907
z31s1g28f0a922015-11-07 18:50:22 +01004908 <text style="text_m_fail">
4909 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004910 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004911 </text>
4912
4913 <text style="text_m_fail">
4914 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004915 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004916 </text>
4917
4918 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004919 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004920 <actions>
4921 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004922 <action function="set">tw_action=fixcontexts</action>
4923 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4924 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004925 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004926 <action function="set">tw_show_reboot=1</action>
4927 <action function="page">action_page</action>
4928 </actions>
4929 </slider>
4930
4931 <action>
4932 <touch key="home"/>
4933 <action function="page">main</action>
4934 </action>
4935
4936 <action>
4937 <touch key="back"/>
4938 <action function="page">advanced</action>
4939 </action>
4940 </page>
4941
z31s1g28f0a922015-11-07 18:50:22 +01004942 <page name="slideout">
4943 <fill color="%background_color%">
4944 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4945 </fill>
4946
4947 <console>
4948 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4949 </console>
4950
4951 <button>
4952 <fill color="%transparent%"/>
4953 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4954 <action function="overlay"/>
4955 </button>
4956
4957 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004958 <touch key="power"/>
4959 <action function="togglebacklight"/>
4960 </action>
4961
4962 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004963 <touch key="power+voldown"/>
4964 <action function="screenshot"/>
4965 </action>
4966 </page>
4967
4968 <page name="select_storage">
4969 <fill color="%semi_transparent%">
4970 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4971 </fill>
4972
4973 <fill color="%background_color%">
4974 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4975 </fill>
4976
4977 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004978 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004979 <data name="tw_storage_path"/>
4980 <listtype name="storage"/>
4981 </partitionlist>
4982
4983 <button style="button_third_width">
4984 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004985 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004986 <actions>
4987 <action function="set">tw_clear_destination=%tw_back%</action>
4988 <action function="overlay"/>
4989 <action function="page">clear_vars</action>
4990 </actions>
4991 </button>
4992
4993 <fill color="#000000">
4994 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4995 </fill>
4996
4997 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004998 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4999 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5000 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5001 <image resource="back" />
5002 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005003 <actions>
5004 <action function="overlay"/>
5005 <action function="key">%tw_back%</action>
5006 </actions>
5007 </button>
5008
5009 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005010 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5011 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5012 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5013 <image resource="console" />
5014 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005015 <action function="overlay">slideout</action>
5016 </button>
5017
5018 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005019 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5020 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5021 <image resource="home" />
5022 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005023 <actions>
5024 <action function="overlay"/>
5025 <action function="key">home</action>
5026 </actions>
5027 </button>
5028
5029 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005030 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5031 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5032 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5033 <image resource="console" />
5034 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005035 <action function="overlay">slideout</action>
5036 </button>
5037
5038 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005039 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5040 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5041 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5042 <image resource="back" />
5043 <condition var1="tw_busy" var2="0" />
5044 <actions>
5045 <action function="overlay"/>
5046 <action function="key">%tw_back%</action>
5047 </actions>
5048 </button>
5049
5050 <button>
5051 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5052 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5053 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5054 <image resource="back" />
5055 <condition var1="tw_busy" var2="0" />
5056 <actions>
5057 <action function="overlay"/>
5058 <action function="key">%tw_back%</action>
5059 </actions>
5060 </button>
5061
5062 <button>
5063 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5064 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5065 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5066 <image resource="console" />
5067 <condition var1="tw_busy" var2="0" />
5068 <action function="overlay">slideout</action>
5069 </button>
5070
5071 <button>
5072 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5073 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5074 <image resource="home" />
5075 <condition var1="tw_busy" var2="0" />
5076 <actions>
5077 <action function="overlay"/>
5078 <action function="key">home</action>
5079 </actions>
5080 </button>
5081
5082 <button>
5083 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5084 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5085 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5086 <image resource="console" />
5087 <condition var1="tw_busy" var2="0" />
5088 <action function="overlay">slideout</action>
5089 </button>
5090
5091 <button>
5092 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5093 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5094 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5095 <image resource="back" />
5096 <condition var1="tw_busy" var2="0" />
5097 <actions>
5098 <action function="overlay"/>
5099 <action function="key">%tw_back%</action>
5100 </actions>
5101 </button>
5102
5103 <button>
5104 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5105 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5106 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5107 <image resource="back" />
5108 <condition var1="tw_busy" var2="0" />
5109 <actions>
5110 <action function="overlay"/>
5111 <action function="key">%tw_back%</action>
5112 </actions>
5113 </button>
5114
5115 <button>
5116 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5117 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5118 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5119 <image resource="console" />
5120 <condition var1="tw_busy" var2="0" />
5121 <action function="overlay">slideout</action>
5122 </button>
5123
5124 <button>
5125 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5126 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5127 <image resource="home" />
5128 <condition var1="tw_busy" var2="0" />
5129 <actions>
5130 <action function="overlay"/>
5131 <action function="key">home</action>
5132 </actions>
5133 </button>
5134
5135 <button>
5136 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5137 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5138 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5139 <image resource="console" />
5140 <condition var1="tw_busy" var2="0" />
5141 <action function="overlay">slideout</action>
5142 </button>
5143
5144 <button>
5145 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5146 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5147 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5148 <image resource="back" />
5149 <condition var1="tw_busy" var2="0" />
5150 <actions>
5151 <action function="overlay"/>
5152 <action function="key">%tw_back%</action>
5153 </actions>
5154 </button>
5155
5156 <action>
5157 <touch key="power+voldown"/>
5158 <action function="screenshot"/>
5159 </action>
5160 </page>
5161
5162 <page name="select_language">
5163 <fill color="%semi_transparent%">
5164 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5165 </fill>
5166
5167 <fill color="%background_color%">
5168 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5169 </fill>
5170
5171 <listbox>
5172 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5173 <text>{@select_language=Select Language:}</text>
5174 <icon selected="radio_true" unselected="radio_false" />
5175 <data name="tw_language" />
5176 </listbox>
5177
5178 <button style="button_third_width">
5179 <placement x="%dialog_button_x%" y="%row13_y%"/>
5180 <text>{@ok_btn=OK}</text>
5181 <actions>
5182 <action function="overlay"/>
5183 <action function="setlanguage"></action>
5184 </actions>
5185 </button>
5186
5187 <fill color="#000000">
5188 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5189 </fill>
5190
5191 <button>
5192 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5193 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5194 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5195 <image resource="back" />
5196 <condition var1="tw_busy" var2="0" />
5197 <actions>
5198 <action function="overlay"/>
5199 <action function="key">%tw_back%</action>
5200 </actions>
5201 </button>
5202
5203 <button>
5204 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5205 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5206 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5207 <image resource="console" />
5208 <condition var1="tw_busy" var2="0" />
5209 <action function="overlay">slideout</action>
5210 </button>
5211
5212 <button>
5213 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5214 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5215 <image resource="home" />
5216 <condition var1="tw_busy" var2="0" />
5217 <actions>
5218 <action function="overlay"/>
5219 <action function="key">home</action>
5220 </actions>
5221 </button>
5222
5223 <button>
5224 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5225 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5226 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5227 <image resource="console" />
5228 <condition var1="tw_busy" var2="0" />
5229 <action function="overlay">slideout</action>
5230 </button>
5231
5232 <button>
5233 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5234 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5235 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5236 <image resource="back" />
5237 <condition var1="tw_busy" var2="0" />
5238 <actions>
5239 <action function="overlay"/>
5240 <action function="key">%tw_back%</action>
5241 </actions>
5242 </button>
5243
5244 <button>
5245 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5246 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5247 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5248 <image resource="back" />
5249 <condition var1="tw_busy" var2="0" />
5250 <actions>
5251 <action function="overlay"/>
5252 <action function="key">%tw_back%</action>
5253 </actions>
5254 </button>
5255
5256 <button>
5257 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5258 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5259 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5260 <image resource="console" />
5261 <condition var1="tw_busy" var2="0" />
5262 <action function="overlay">slideout</action>
5263 </button>
5264
5265 <button>
5266 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5267 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5268 <image resource="home" />
5269 <condition var1="tw_busy" var2="0" />
5270 <actions>
5271 <action function="overlay"/>
5272 <action function="key">home</action>
5273 </actions>
5274 </button>
5275
5276 <button>
5277 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5278 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5279 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5280 <image resource="console" />
5281 <condition var1="tw_busy" var2="0" />
5282 <action function="overlay">slideout</action>
5283 </button>
5284
5285 <button>
5286 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5287 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5288 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5289 <image resource="back" />
5290 <condition var1="tw_busy" var2="0" />
5291 <actions>
5292 <action function="overlay"/>
5293 <action function="key">%tw_back%</action>
5294 </actions>
5295 </button>
5296
5297 <button>
5298 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5299 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5300 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5301 <image resource="back" />
5302 <condition var1="tw_busy" var2="0" />
5303 <actions>
5304 <action function="overlay"/>
5305 <action function="key">%tw_back%</action>
5306 </actions>
5307 </button>
5308
5309 <button>
5310 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5311 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5312 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5313 <image resource="console" />
5314 <condition var1="tw_busy" var2="0" />
5315 <action function="overlay">slideout</action>
5316 </button>
5317
5318 <button>
5319 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5320 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5321 <image resource="home" />
5322 <condition var1="tw_busy" var2="0" />
5323 <actions>
5324 <action function="overlay"/>
5325 <action function="key">home</action>
5326 </actions>
5327 </button>
5328
5329 <button>
5330 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5331 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5332 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5333 <image resource="console" />
5334 <condition var1="tw_busy" var2="0" />
5335 <action function="overlay">slideout</action>
5336 </button>
5337
5338 <button>
5339 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5340 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5341 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5342 <image resource="back" />
5343 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005344 <actions>
5345 <action function="overlay"/>
5346 <action function="key">%tw_back%</action>
5347 </actions>
5348 </button>
5349
5350 <action>
5351 <touch key="power+voldown"/>
5352 <action function="screenshot"/>
5353 </action>
5354 </page>
5355 </pages>
5356</recovery>