blob: 230b72f7b81631d1d3f8a40e4296f8353a85a686 [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>
Chaosmasterff4f9582020-01-26 15:38:11 +01002940 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
2941 <data variable="tw_unmount_system"/>
2942 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002943 </listbox>
2944
2945 <checkbox>
2946 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 <data variable="tw_samsung_navbar"/>
2949 </checkbox>
2950
2951 <button style="radiobutton">
2952 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2953 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="radio_false"/>
2956 <action function="set">tw_navbar_button_position=0</action>
2957 </button>
2958
2959 <button style="radiobutton">
2960 <condition var1="tw_navbar_button_position" var2="0"/>
2961 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002962 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002963 <image resource="radio_true"/>
2964 <action function="set">tw_navbar_button_position=0</action>
2965 </button>
2966
2967 <button style="radiobutton">
2968 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2969 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 <image resource="radio_false"/>
2972 <action function="set">tw_navbar_button_position=1</action>
2973 </button>
2974
2975 <button style="radiobutton">
2976 <condition var1="tw_navbar_button_position" var2="1"/>
2977 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002979 <image resource="radio_true"/>
2980 <action function="set">tw_navbar_button_position=1</action>
2981 </button>
2982
2983 <button style="radiobutton">
2984 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2985 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 <image resource="radio_false"/>
2988 <action function="set">tw_navbar_button_position=2</action>
2989 </button>
2990
2991 <button style="radiobutton">
2992 <condition var1="tw_navbar_button_position" var2="2"/>
2993 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <image resource="radio_true"/>
2996 <action function="set">tw_navbar_button_position=2</action>
2997 </button>
2998
2999 <button style="main_button_half_width">
3000 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <action function="restoredefaultsettings"/>
3003 </button>
3004
3005 <action>
3006 <touch key="home"/>
3007 <action function="page">main</action>
3008 </action>
3009
3010 <action>
3011 <touch key="back"/>
3012 <action function="page">main</action>
3013 </action>
3014 </page>
3015
3016 <page name="settings_timezone">
3017 <template name="page"/>
3018
3019 <text style="text_l">
3020 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003021 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003022 </text>
3023
3024 <text style="text_m">
3025 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003027 </text>
3028
3029 <template name="tabs_settings"/>
3030
3031 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003033 </fill>
3034
3035 <listbox>
3036 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003038 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003039 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3040 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3041 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3042 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3043 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3044 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3045 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3046 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3047 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3048 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3049 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3050 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3051 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3052 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3053 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3054 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3055 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3056 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3057 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3058 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3059 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3060 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3061 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3062 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </listbox>
3064
3065 <text style="text_m_accent">
3066 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <button style="button_quarter_width">
3071 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 <action function="set">tw_time_zone_guioffset=0</action>
3074 </button>
3075
3076 <button style="button_quarter_width">
3077 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 <action function="set">tw_time_zone_guioffset=15</action>
3080 </button>
3081
3082 <button style="button_quarter_width">
3083 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <action function="set">tw_time_zone_guioffset=30</action>
3086 </button>
3087
3088 <button style="button_quarter_width">
3089 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <action function="set">tw_time_zone_guioffset=45</action>
3092 </button>
3093
3094 <checkbox>
3095 <placement x="%col1_x_right%" y="%row7_y%"/>
3096 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <data variable="tw_time_zone_guidst"/>
3099 <image checked="checkbox_true" unchecked="checkbox_false"/>
3100 </checkbox>
3101
3102 <text color="%text_color%">
3103 <font resource="font_m"/>
3104 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 </text>
3107
3108 <button>
3109 <highlight color="%highlight_color%"/>
3110 <placement x="%col2_x_right%" y="%row15a_y%"/>
3111 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003113 <image resource="main_button_half_width"/>
3114 <action function="setguitimezone"/>
3115 </button>
3116
3117 <action>
3118 <touch key="home"/>
3119 <action function="page">main</action>
3120 </action>
3121
3122 <action>
3123 <touch key="back"/>
3124 <action function="page">main</action>
3125 </action>
3126 </page>
3127
3128 <page name="settings_screen">
3129 <template name="page"/>
3130
3131 <text style="text_l">
3132 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <template name="tabs_settings"/>
3142
3143 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </fill>
3146
3147 <button>
3148 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3149 <font resource="font_m" color="%text_color%"/>
3150 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3151 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003153 <image resource="checkbox_false"/>
3154 <action function="set">tw_screen_timeout_secs=60</action>
3155 </button>
3156
3157 <button>
3158 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3159 <font resource="font_m" color="%text_color%"/>
3160 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3161 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <image resource="checkbox_true"/>
3164 <action function="set">tw_screen_timeout_secs=0</action>
3165 </button>
3166
3167 <slidervalue>
3168 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3169 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3170 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3173 </slidervalue>
3174
3175 <slidervalue>
3176 <condition var1="tw_has_brightnesss_file" var2="1"/>
3177 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003179 <data variable="tw_brightness_pct" min="10" max="100"/>
3180 <actions>
3181 <action function="set">tw_brightness=%tw_brightness_max%</action>
3182 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3183 <action function="compute">tw_brightness/100</action>
3184 <action function="setbrightness">%tw_brightness%</action>
3185 </actions>
3186 </slidervalue>
3187
3188 <action>
3189 <touch key="home"/>
3190 <action function="page">main</action>
3191 </action>
3192
3193 <action>
3194 <touch key="back"/>
3195 <action function="page">main</action>
3196 </action>
3197 </page>
3198
3199 <page name="settings_vibration">
3200 <template name="page"/>
3201
3202 <text style="text_l">
3203 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003205 </text>
3206
3207 <text style="text_m">
3208 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 </text>
3211
3212 <template name="tabs_settings"/>
3213
3214 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003215 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003216 </fill>
3217
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003218 <text style="text_m">
3219 <condition var1="tw_disable_haptics" var2="1"/>
3220 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3221 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3222 </text>
3223
z31s1g28f0a922015-11-07 18:50:22 +01003224 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003225 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <data variable="tw_button_vibrate" min="0" max="300"/>
3229 </slidervalue>
3230
3231 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003232 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003233 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3236 </slidervalue>
3237
3238 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003239 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 <data variable="tw_action_vibrate" min="0" max="500"/>
3243 </slidervalue>
3244
3245 <action>
3246 <touch key="home"/>
3247 <action function="page">main</action>
3248 </action>
3249
3250 <action>
3251 <touch key="back"/>
3252 <action function="page">main</action>
3253 </action>
3254 </page>
3255
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <page name="settings_language">
3257 <template name="page"/>
3258
3259 <text style="text_l">
3260 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3261 <text>{@settings_hdr=Settings}</text>
3262 </text>
3263
3264 <text style="text_m">
3265 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3266 <text>{@language_hdr=Language - %tw_language_display%}</text>
3267 </text>
3268
3269 <template name="tabs_settings"/>
3270
3271 <fill color="%text_color%">
3272 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3273 </fill>
3274
3275 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003276 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@select_language=Select Language:}</text>
3278 <icon selected="radio_true" unselected="radio_false" />
3279 <data name="tw_language" />
3280 </listbox>
3281
z31s1g56189522016-01-13 19:12:40 +01003282 <button>
3283 <highlight color="%highlight_color%"/>
3284 <placement x="%col2_x_right%" y="%row15a_y%"/>
3285 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003287 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <action function="setlanguage"></action>
3289 </button>
3290
3291 <action>
3292 <touch key="home" />
3293 <action function="page">main</action>
3294 </action>
3295
3296 <action>
3297 <touch key="back" />
3298 <action function="page">settings</action>
3299 </action>
3300 </page>
3301
Matt Mower32676622017-01-18 18:56:13 -06003302 <page name="copylog">
3303 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003304
Matt Mower32676622017-01-18 18:56:13 -06003305 <text style="text_l">
3306 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3307 <text>{@copying_log=Copy Logs to SD Card}</text>
3308 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003309
Matt Mower32676622017-01-18 18:56:13 -06003310 <checkbox>
3311 <placement x="%indent%" y="%row4_y%"/>
3312 <text>{@include_kernel_log=Include Kernel Log}</text>
3313 <data variable="tw_include_kernel_log" value="1"/>
3314 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003315
Matt Mower32676622017-01-18 18:56:13 -06003316 <slider>
3317 <text>{@copying_log=Copy Logs to SD Card}</text>
3318 <actions>
3319 <action function="set">tw_back=advanced</action>
3320 <action function="set">tw_action=copylog</action>
3321 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3322 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3323 <action function="page">action_page</action>
3324 </actions>
3325 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003326
Matt Mower32676622017-01-18 18:56:13 -06003327 <action>
3328 <touch key="home"/>
3329 <action function="page">main</action>
3330 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003331
Matt Mower32676622017-01-18 18:56:13 -06003332 <action>
3333 <touch key="back"/>
3334 <actions>
3335 <action function="page">advanced</action>
3336 </actions>
3337 </action>
3338 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003339
z31s1g28f0a922015-11-07 18:50:22 +01003340 <page name="advanced">
3341 <template name="page"/>
3342
3343 <text style="text_l">
3344 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </text>
3347
3348 <button style="main_button">
3349 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003351 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </button>
3353
3354 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003355 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003357 <action function="page">filemanagerlist</action>
3358 </button>
3359
3360 <button style="main_button">
3361 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003362 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003363 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003364 </button>
3365
3366 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003367 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003368 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003369 <action function="page">sideload</action>
3370 </button>
3371
Ethan Yonker64e0a652018-07-25 09:52:17 -05003372 <listbox style="advanced_listbox">
3373 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
3374 <listitem name="{@reload_theme_btn=Reload Theme}">
3375 <action function="reload"/>
3376 </listitem>
3377 <listitem name="{@part_sd_btn=Partition SD Card}">
3378 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3379 <actions>
3380 <action function="set">partitionlisterror=0</action>
3381 <action function="page">partsdcardsel</action>
3382 </actions>
3383 </listitem>
3384 <listitem name="{@fix_context_btn=Fix Contexts}">
3385 <condition var1="tw_has_data_media" var2="1"/>
3386 <action function="page">fixcontexts</action>
3387 </listitem>
3388 <listitem name="{@dumlock_btn=HTC Dumlock}">
3389 <condition var1="tw_show_dumlock" var2="1"/>
3390 <action function="page">htcdumlock</action>
3391 </listitem>
3392 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3393 <condition var1="tw_has_injecttwrp" var2="1"/>
3394 <actions>
3395 <action function="set">tw_back=advanced</action>
3396 <action function="set">tw_action=reinjecttwrp</action>
3397 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3398 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3399 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3400 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3401 <action function="page">confirm_action</action>
3402 </actions>
3403 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003404 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3405 <conditions>
3406 <condition var1="tw_has_boot_slots" var2="1"/>
3407 <condition var1="tw_has_repack_tools" var2="1"/>
3408 </conditions>
3409 <actions>
3410 <action function="set">tw_repack_kernel=0</action>
3411 <action function="page">repackselect</action>
3412 </actions>
3413 </listitem>
3414 <listitem name="{@install_kernel=Install Kernel}">
3415 <conditions>
3416 <condition var1="tw_has_boot_slots" var2="1"/>
3417 <condition var1="tw_has_repack_tools" var2="1"/>
3418 </conditions>
3419 <actions>
3420 <action function="set">tw_repack_kernel=1</action>
3421 <action function="page">repackselect</action>
3422 </actions>
3423 </listitem>
3424 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3425 <conditions>
3426 <condition var1="tw_has_boot_slots" var2="1"/>
3427 <condition var1="tw_has_repack_tools" var2="1"/>
3428 </conditions>
3429 <actions>
3430 <action function="set">tw_back=advanced</action>
3431 <action function="set">tw_action=fixabrecoverybootloop</action>
3432 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3433 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3434 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3435 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3436 <action function="page">confirm_action</action>
3437 </actions>
3438 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003439 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3440 <condition var1="tw_app_installed_in_system" var2="1"/>
3441 <actions>
3442 <action function="set">tw_back=advanced</action>
3443 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3444 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3445 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3446 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3447 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3448 <action function="page">confirm_action</action>
3449 </actions>
3450 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003451 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003452
3453 <action>
3454 <touch key="home"/>
3455 <action function="page">main</action>
3456 </action>
3457
3458 <action>
3459 <touch key="back"/>
3460 <action function="page">main</action>
3461 </action>
3462 </page>
3463
Ethan Yonker483e9f42016-01-11 22:21:18 -06003464 <page name="partsdcardsel">
3465 <template name="page"/>
3466
3467 <text style="text_l">
3468 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3469 <text>{@advanced_hdr=Advanced}</text>
3470 </text>
3471
3472 <text style="text_m">
3473 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3474 <text>{@part_sd_hdr=Partition SD Card}</text>
3475 </text>
3476
z31s1g782e1c92016-01-30 16:50:09 +01003477 <partitionlist>
3478 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003479 <text>{@sel_storage_list=Select Storage}</text>
3480 <data name="tw_storage_path"/>
3481 <listtype name="storage"/>
3482 </partitionlist>
3483
z31s1g782e1c92016-01-30 16:50:09 +01003484 <text style="text_m_fail">
3485 <condition var1="partitionlisterror" var2="1"/>
3486 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3487 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3488 </text>
3489
3490 <button style="main_button_half_width">
3491 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003492 <text>{@ok_btn=OK}</text>
3493 <actions>
3494 <action function="getpartitiondetails">tw_storage_path</action>
3495 <action function="page">partsdcardcheck</action>
3496 </actions>
3497 </button>
3498
Ethan Yonker483e9f42016-01-11 22:21:18 -06003499 <action>
3500 <touch key="home"/>
3501 <action function="page">main</action>
3502 </action>
3503
3504 <action>
3505 <touch key="back"/>
3506 <action function="page">advanced</action>
3507 </action>
3508 </page>
3509
3510 <page name="partsdcardcheck">
3511 <action>
3512 <condition var1="tw_partition_removable" op="=" var2="1"/>
3513 <actions>
3514 <action function="set">partitionlisterror=0</action>
3515 <action function="page">partsdcard</action>
3516 </actions>
3517 </action>
3518
3519 <action>
3520 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3521 <actions>
3522 <action function="set">partitionlisterror=1</action>
3523 <action function="page">partsdcardsel</action>
3524 </actions>
3525 </action>
3526 </page>
3527
z31s1g28f0a922015-11-07 18:50:22 +01003528 <page name="partsdcard">
3529 <template name="page"/>
3530
3531 <text style="text_l">
3532 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 </text>
3535
3536 <text style="text_m">
3537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003539 </text>
3540
3541 <text style="text_m_fail">
3542 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003544 </text>
3545
3546 <text style="text_m_fail">
3547 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 </text>
3550
3551 <text style="text_m_accent">
3552 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003553 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003554 </text>
3555
3556 <text style="text_m">
3557 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3558 <text>%tw_sdext_size%</text>
3559 </text>
3560
3561 <button style="button_quarter_width">
3562 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003563 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003564 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003565 </button>
3566
3567 <button style="button_quarter_width">
3568 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003570 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003571 </button>
3572
3573 <text style="text_m_accent">
3574 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 </text>
3577
3578 <text style="text_m">
3579 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3580 <text>%tw_swap_size%</text>
3581 </text>
3582
3583 <button style="button_quarter_width">
3584 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003586 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003587 </button>
3588
3589 <button style="button_quarter_width">
3590 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003592 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003593 </button>
3594
3595 <text style="text_m_accent">
3596 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 </text>
3599
3600 <text style="text_m">
3601 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3602 <text>%tw_sdpart_file_system%</text>
3603 </text>
3604
3605 <button style="button_quarter_width">
3606 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3607 <text>EXT3</text>
3608 <action function="set">tw_sdpart_file_system=ext3</action>
3609 </button>
3610
3611 <button style="button_quarter_width">
3612 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3613 <text>EXT4</text>
3614 <action function="set">tw_sdpart_file_system=ext4</action>
3615 </button>
3616
3617 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 <action function="page">partsdcardaction</action>
3620 <actions>
3621 <action function="set">tw_back=partsdcard</action>
3622 <action function="set">tw_action=partitionsd</action>
3623 <action function="set">tw_has_action2=1</action>
3624 <action function="set">tw_action2=set</action>
3625 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3627 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3628 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003629 <action function="page">action_page</action>
3630 </actions>
3631 </slider>
3632
3633 <action>
3634 <touch key="home"/>
3635 <action function="page">main</action>
3636 </action>
3637
3638 <action>
3639 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003640 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </action>
3642 </page>
3643
3644 <page name="htcdumlock">
3645 <template name="page"/>
3646
3647 <text style="text_l">
3648 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 </text>
3651
3652 <text style="text_m">
3653 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 </text>
3656
3657 <button style="main_button_m">
3658 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 <actions>
3661 <action function="set">tw_back=htcdumlock</action>
3662 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3664 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3665 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3666 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <action function="page">confirm_action</action>
3668 </actions>
3669 </button>
3670
3671 <button style="main_button_m">
3672 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003673 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003674 <actions>
3675 <action function="set">tw_back=htcdumlock</action>
3676 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3678 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3679 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3680 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003681 <action function="page">confirm_action</action>
3682 </actions>
3683 </button>
3684
3685 <button style="main_button_m">
3686 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003688 <actions>
3689 <action function="set">tw_back=htcdumlock</action>
3690 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3692 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3693 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3694 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003695 <action function="page">confirm_action</action>
3696 </actions>
3697 </button>
3698
3699 <action>
3700 <touch key="home"/>
3701 <action function="page">main</action>
3702 </action>
3703
3704 <action>
3705 <touch key="back"/>
3706 <action function="page">advanced</action>
3707 </action>
3708 </page>
3709
Ethan Yonker53796e72019-01-11 22:49:52 -06003710 <page name="repackselect">
3711 <template name="page"/>
3712
3713 <text style="text_l">
3714 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3715 <text>{@repack_image_hdr=Select Image}</text>
3716 </text>
3717
3718 <text style="text_m">
3719 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3720 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3721 </text>
3722
3723 <template name="sort_options"/>
3724
3725 <fileselector>
3726 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3727 <text>%tw_zip_location%</text>
3728 <filter extn=".img" folders="1" files="1"/>
3729 <path name="tw_zip_location" default="/sdcard"/>
3730 <data name="tw_filename"/>
3731 <selection name="tw_file"/>
3732 </fileselector>
3733
3734 <button style="main_button_half_width_low">
3735 <placement x="%col_button_right%" y="%row16a_y%"/>
3736 <text>{@select_storage_btn=Select Storage}</text>
3737 <actions>
3738 <action function="set">tw_back=install</action>
3739 <action function="overlay">select_storage</action>
3740 </actions>
3741 </button>
3742
3743 <action>
3744 <conditions>
3745 <condition var1="tw_filename" op="modified"/>
3746 </conditions>
3747 <action function="page">repackconfirm</action>
3748 </action>
3749
3750 <action>
3751 <touch key="back"/>
3752 <action function="page">advanced</action>
3753 </action>
3754
3755 <action>
3756 <touch key="home"/>
3757 <action function="page">main</action>
3758 </action>
3759 </page>
3760
3761 <page name="repackconfirm">
3762 <template name="page"/>
3763
3764 <text style="text_l">
3765 <condition var1="tw_repack_kernel" var2="1"/>
3766 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3767 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3768 </text>
3769
3770 <text style="text_l">
3771 <condition var1="tw_repack_kernel" var2="0"/>
3772 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3773 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3774 </text>
3775
3776 <text style="text_m">
3777 <condition var1="tw_repack_kernel" var2="1"/>
3778 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3779 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3780 </text>
3781
3782 <text style="text_m">
3783 <condition var1="tw_repack_kernel" var2="0"/>
3784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3785 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3786 </text>
3787
3788 <text style="text_m_accent">
3789 <placement x="%indent%" y="%row2_y%"/>
3790 <text>{@folder=Folder:}</text>
3791 </text>
3792
3793 <text style="text_m">
3794 <placement x="%indent%" y="%row3_y%"/>
3795 <text>%tw_zip_location%</text>
3796 </text>
3797
3798 <text style="text_m_accent">
3799 <placement x="%indent%" y="%row4_y%"/>
3800 <text>{@file=File:}</text>
3801 </text>
3802
3803 <text style="text_m">
3804 <placement x="%indent%" y="%row5_y%"/>
3805 <text>%tw_file%</text>
3806 </text>
3807
3808 <checkbox>
3809 <placement x="%indent%" y="%row7_y%"/>
3810 <text>{@repack_backup_first=Back up existing image first}</text>
3811 <data variable="tw_repack_backup_first"/>
3812 </checkbox>
3813
3814 <button style="main_button_half_width">
3815 <placement x="%col1_x_left%" y="%row15a_y%"/>
3816 <text>{@install_cancel=Do not Install}</text>
3817 <action function="page">repackselect</action>
3818 </button>
3819
3820 <slider style="slider_centered">
3821 <text>{@swipe_to_install=Swipe to Install}</text>
3822 <actions>
3823 <action function="set">tw_back=advanced</action>
3824 <action function="set">tw_action=repackimage</action>
3825 <action function="set">tw_action_param=/boot</action>
3826 <action function="set">tw_action_text1={@installing=Installing...}</action>
3827 <action function="set">tw_action_text2=</action>
3828 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3829 <action function="page">action_page</action>
3830 </actions>
3831 </slider>
3832
3833 <action>
3834 <touch key="back"/>
3835 <action function="page">repackselect</action>
3836 </action>
3837
3838 <action>
3839 <touch key="home"/>
3840 <action function="page">main</action>
3841 </action>
3842 </page>
3843
z31s1g28f0a922015-11-07 18:50:22 +01003844 <page name="lock">
3845 <background color="%semi_transparent%"/>
3846
3847 <image>
3848 <image resource="unlock_icon"/>
3849 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3850 </image>
3851
3852 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 <action function="overlay"/>
3855 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003856
3857 <action>
3858 <touch key="power"/>
3859 <action function="togglebacklight"/>
3860 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </page>
3862
3863 <page name="filemanagerlist">
3864 <template name="page"/>
3865
3866 <text style="text_l">
3867 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 </text>
3870
3871 <text style="text_m">
3872 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 </text>
3875
3876 <template name="sort_options"/>
3877
3878 <fileselector>
3879 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3880 <text>%tw_file_location1%</text>
3881 <filter folders="1" files="1"/>
3882 <path name="tw_file_location1" default="/"/>
3883 <data name="tw_filename1"/>
3884 <selection name="tw_selection1"/>
3885 </fileselector>
3886
3887 <button style="main_button_half_width_low">
3888 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <actions>
3891 <action function="set">tw_filename1=tw_file_location1</action>
3892 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003893 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003894 <action function="page">filemanageroptions</action>
3895 </actions>
3896 </button>
3897
3898 <action>
3899 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003900 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <action function="set">tw_fm_isfolder=0</action>
3902 </actions>
3903 </action>
3904
3905 <action>
3906 <touch key="home"/>
3907 <action function="page">main</action>
3908 </action>
3909
3910 <action>
3911 <touch key="back"/>
3912 <action function="page">advanced</action>
3913 </action>
3914
3915 <action>
3916 <condition var1="tw_filename1" op="modified"/>
3917 <action function="page">filemanageroptions</action>
3918 </action>
3919 </page>
3920
3921 <page name="filemanageroptions">
3922 <template name="page"/>
3923
3924 <text style="text_l">
3925 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <text style="text_m">
3930 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m_accent">
3935 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <text style="text_m">
3940 <placement x="%col1_x_left%" y="%row3_y%"/>
3941 <text>%tw_filename1%</text>
3942 </text>
3943
3944 <button style="main_button_half_width">
3945 <condition var1="tw_fm_isfolder" var2="0"/>
3946 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 <actions>
3949 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003951 <action function="page">choosedestinationfolder</action>
3952 </actions>
3953 </button>
3954
3955 <button style="main_button_half_width">
3956 <condition var1="tw_fm_isfolder" var2="1"/>
3957 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 <actions>
3960 <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 -05003961 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003962 <action function="page">choosedestinationfolder</action>
3963 </actions>
3964 </button>
3965
3966 <button style="main_button_half_width">
3967 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <actions>
3970 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <action function="page">choosedestinationfolder</action>
3973 </actions>
3974 </button>
3975
3976 <button style="main_button_half_width">
3977 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003979 <actions>
3980 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003982 <action function="set">tw_fm_text2=</action>
3983 <action function="set">tw_fm_text3=</action>
3984 <action function="set">tw_include_text3=0</action>
3985 <action function="set">tw_back=filemanageroptions</action>
3986 <action function="page">filemanagerconfirm</action>
3987 </actions>
3988 </button>
3989
3990 <button style="main_button_half_width">
3991 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <actions>
3994 <action function="set">tw_filemanager_rename=0000</action>
3995 <action function="set">tw_fm_text2=</action>
3996 <action function="set">tw_fm_text3=</action>
3997 <action function="set">tw_include_text3=0</action>
3998 <action function="set">tw_back=filemanageroptions</action>
3999 <action function="page">filemanagerchmod</action>
4000 </actions>
4001 </button>
4002
4003 <button style="main_button_half_width">
4004 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004006 <actions>
4007 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004008 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004009 <action function="set">tw_fm_text2=</action>
4010 <action function="set">tw_fm_text3=</action>
4011 <action function="set">tw_include_text3=0</action>
4012 <action function="set">tw_back=filemanageroptions</action>
4013 <action function="page">filemanagerconfirm</action>
4014 </actions>
4015 </button>
4016
4017 <button style="main_button_half_width">
4018 <condition var1="tw_fm_isfolder" var2="0"/>
4019 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 <actions>
4022 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004024 <action function="set">tw_filemanager_command=mv</action>
4025 <action function="page">filemanagerrenamefile</action>
4026 </actions>
4027 </button>
4028
4029 <button style="main_button_half_width">
4030 <condition var1="tw_fm_isfolder" var2="1"/>
4031 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004032 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004033 <actions>
4034 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004036 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4037 <action function="page">filemanagerrenamefolder</action>
4038 </actions>
4039 </button>
4040
4041 <action>
4042 <touch key="home"/>
4043 <action function="page">main</action>
4044 </action>
4045
4046 <action>
4047 <touch key="back"/>
4048 <action function="page">filemanagerlist</action>
4049 </action>
4050 </page>
4051
4052 <page name="choosedestinationfolder">
4053 <template name="page"/>
4054
4055 <text style="text_l">
4056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004058 </text>
4059
4060 <text style="text_m">
4061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004062 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004063 </text>
4064
4065 <template name="sort_options"/>
4066
4067 <fileselector>
4068 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4069 <text>%tw_file_location2%</text>
4070 <filter folders="1" files="0"/>
4071 <path name="tw_file_location2" default="/"/>
4072 <data name="tw_filename2"/>
4073 <selection name="tw_selection2"/>
4074 </fileselector>
4075
4076 <button style="main_button_half_width_low">
4077 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <actions>
4080 <action function="set">tw_fm_text2=to</action>
4081 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4082 <action function="set">tw_include_text3=1</action>
4083 <action function="set">tw_back=filemanageroptions</action>
4084 <action function="page">filemanagerconfirm</action>
4085 </actions>
4086 </button>
4087
4088 <action>
4089 <touch key="home"/>
4090 <action function="page">main</action>
4091 </action>
4092
4093 <action>
4094 <touch key="back"/>
4095 <action function="page">filemanageroptions</action>
4096 </action>
4097 </page>
4098
4099 <page name="filemanagerrenamefile">
4100 <template name="page"/>
4101
4102 <text style="text_l">
4103 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <text style="text_m">
4108 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004110 </text>
4111
4112 <text style="text_m_accent">
4113 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004115 </text>
4116
4117 <input>
4118 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4119 <text>%tw_filemanager_rename%</text>
4120 <data name="tw_filemanager_rename"/>
4121 <restrict minlen="1" maxlen="128"/>
4122 <actions>
4123 <action function="set">tw_fm_text2=to</action>
4124 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4125 <action function="set">tw_include_text3=1</action>
4126 <action function="set">tw_back=filemanageroptions</action>
4127 <action function="page">filemanagerconfirm</action>
4128 </actions>
4129 </input>
4130
4131 <fill color="%accent_color%">
4132 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4133 </fill>
4134
4135 <button style="main_button_half_width_low">
4136 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 <action function="page">filemanageroptions</action>
4139 </button>
4140
4141 <template name="keyboardtemplate"/>
4142
4143 <action>
4144 <touch key="home"/>
4145 <action function="page">main</action>
4146 </action>
4147
4148 <action>
4149 <touch key="back"/>
4150 <action function="page">filemanageroptions</action>
4151 </action>
4152 </page>
4153
4154 <page name="filemanagerrenamefolder">
4155 <template name="page"/>
4156
4157 <text style="text_l">
4158 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 </text>
4161
4162 <text style="text_m">
4163 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004165 </text>
4166
4167 <text style="text_m_accent">
4168 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 </text>
4171
4172 <input>
4173 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4174 <text>%tw_filemanager_rename%</text>
4175 <data name="tw_filemanager_rename"/>
4176 <restrict minlen="1" maxlen="128"/>
4177 <actions>
4178 <action function="set">tw_fm_text2=to</action>
4179 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4180 <action function="set">tw_include_text3=1</action>
4181 <action function="set">tw_back=filemanageroptions</action>
4182 <action function="page">filemanagerconfirm</action>
4183 </actions>
4184 </input>
4185
4186 <fill color="%accent_color%">
4187 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4188 </fill>
4189
4190 <button style="main_button_half_width_low">
4191 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004192 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 <action function="page">filemanageroptions</action>
4194 </button>
4195
4196 <template name="keyboardtemplate"/>
4197
4198 <action>
4199 <touch key="home"/>
4200 <action function="page">main</action>
4201 </action>
4202
4203 <action>
4204 <touch key="back"/>
4205 <action function="page">filemanageroptions</action>
4206 </action>
4207 </page>
4208
4209 <page name="filemanagerchmod">
4210 <template name="page"/>
4211
4212 <text style="text_l">
4213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004215 </text>
4216
4217 <text style="text_m">
4218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004219 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004220 </text>
4221
4222 <text style="text_m_accent">
4223 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004224 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004225 </text>
4226
4227 <input>
4228 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4229 <text>%tw_filemanager_rename%</text>
4230 <data name="tw_filemanager_rename"/>
4231 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4232 <actions>
4233 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4234 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4235 <action function="set">tw_back=filemanageroptions</action>
4236 <action function="page">filemanagerconfirm</action>
4237 </actions>
4238 </input>
4239
4240 <fill color="%accent_color%">
4241 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4242 </fill>
4243
4244 <button style="main_button_half_width_low">
4245 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004246 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004247 <action function="page">filemanageroptions</action>
4248 </button>
4249
4250 <template name="keyboardtemplate"/>
4251
4252 <action>
4253 <touch key="home"/>
4254 <action function="page">main</action>
4255 </action>
4256
4257 <action>
4258 <touch key="back"/>
4259 <action function="page">filemanageroptions</action>
4260 </action>
4261 </page>
4262
4263 <page name="filemanagerconfirm">
4264 <template name="page"/>
4265
4266 <text style="text_l">
4267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004269 </text>
4270
4271 <text style="text_m">
4272 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004274 </text>
4275
4276 <text style="text_m_accent">
4277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4278 <text>%tw_fm_text1%</text>
4279 </text>
4280
4281 <text style="text_m">
4282 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4283 <text>%tw_filename1%</text>
4284 </text>
4285
4286 <text style="text_m_accent">
4287 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4288 <text>%tw_fm_text2%</text>
4289 </text>
4290
4291 <text style="text_m">
4292 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4293 <text>%tw_fm_text3%</text>
4294 </text>
4295
4296 <text style="text_m">
4297 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004299 </text>
4300
4301 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004302 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004303 <action function="page">filemanageraction</action>
4304 </slider>
4305
4306 <action>
4307 <touch key="back"/>
4308 <action function="page">%tw_back%</action>
4309 </action>
4310
4311 <action>
4312 <touch key="home"/>
4313 <action function="page">main</action>
4314 </action>
4315 </page>
4316
4317 <page name="filemanageraction">
4318 <template name="page"/>
4319
4320 <text style="text_l">
4321 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004323 </text>
4324
4325 <text style="text_m">
4326 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4327 <text>%tw_fm_text1%</text>
4328 </text>
4329
4330 <template name="console"/>
4331
4332 <template name="progress_bar"/>
4333
4334 <action>
4335 <conditions>
4336 <condition var1="tw_operation_state" var2="1"/>
4337 <condition var1="tw_operation_status" var2="0"/>
4338 </conditions>
4339 <actions>
4340 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004341 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004342 <action function="page">action_complete</action>
4343 </actions>
4344 </action>
4345
4346 <action>
4347 <conditions>
4348 <condition var1="tw_operation_state" var2="1"/>
4349 <condition var1="tw_operation_status" op="!=" var2="0"/>
4350 </conditions>
4351 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004353 <action function="page">action_complete</action>
4354 </actions>
4355 </action>
4356
4357 <action>
4358 <condition var1="tw_include_text3" var2="0"/>
4359 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4360 </action>
4361
4362 <action>
4363 <condition var1="tw_include_text3" var2="1"/>
4364 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4365 </action>
4366 </page>
4367
4368 <page name="decrypt">
4369 <template name="page"/>
4370
4371 <action>
4372 <condition var1="tw_crypto_pwtype" var2="2"/>
4373 <action function="page">decrypt_pattern</action>
4374 </action>
4375
4376 <text style="text_l">
4377 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004378 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004379 </text>
4380
4381 <text style="text_m">
4382 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004383 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004384 </text>
4385
4386 <text style="text_m_accent">
4387 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004388 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004389 </text>
4390
4391 <input>
4392 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4393 <text>%tw_crypto_display%</text>
4394 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4395 <restrict minlen="1" maxlen="254"/>
4396 <action function="page">trydecrypt</action>
4397 </input>
4398
4399 <fill color="%accent_color%">
4400 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4401 </fill>
4402
4403 <fill color="%text_fail_color%">
4404 <condition var1="tw_password_fail" var2="1"/>
4405 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4406 </fill>
4407
4408 <text style="text_m_fail">
4409 <condition var1="tw_password_fail" var2="1"/>
4410 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004411 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <button style="main_button_half_width_low">
4415 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <actions>
4418 <action function="set">tw_page_done=1</action>
4419 <action function="page">main</action>
4420 </actions>
4421 </button>
4422
z31s1g608d7ff2016-01-18 19:47:25 +01004423 <button style="main_button_half_width_low">
4424 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4425 <text>{@sel_lang_btn=Select Language}</text>
4426 <action function="overlay">select_language</action>
4427 </button>
4428
z31s1g28f0a922015-11-07 18:50:22 +01004429 <template name="keyboardtemplate"/>
4430 </page>
4431
4432 <page name="decrypt_pattern">
4433 <template name="page"/>
4434
4435 <text style="text_l">
4436 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004437 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004438 </text>
4439
4440 <text style="text_m">
4441 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004442 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004443 </text>
4444
4445 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004446 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004447 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004448 </text>
4449
Aleksa Saraib25a1832015-12-31 17:36:00 +01004450 <text style="text_m_fail">
4451 <condition var1="tw_password_fail" var2="1"/>
4452 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004453 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004454 </text>
4455
z31s1g28f0a922015-11-07 18:50:22 +01004456 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004457 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004458 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4459 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4460 <data name="tw_crypto_password"/>
4461 <action function="page">trydecrypt</action>
4462 </patternpassword>
4463
Aleksa Saraib25a1832015-12-31 17:36:00 +01004464 <button style="main_button_half_width_low">
4465 <placement x="%col_button_right%" y="%row1a_y%"/>
4466 <text>3x3</text>
4467 <action function="set">tw_gui_pattern_grid_size=3</action>
4468 </button>
4469
4470 <button style="main_button_half_width_low">
4471 <placement x="%col_button_right%" y="%row4a_y%"/>
4472 <text>4x4</text>
4473 <action function="set">tw_gui_pattern_grid_size=4</action>
4474 </button>
4475
4476 <button style="main_button_half_width_low">
4477 <placement x="%col_button_right%" y="%row7a_y%"/>
4478 <text>5x5</text>
4479 <action function="set">tw_gui_pattern_grid_size=5</action>
4480 </button>
4481
4482 <button style="main_button_half_width_low">
4483 <placement x="%col_button_right%" y="%row10a_y%"/>
4484 <text>6x6</text>
4485 <action function="set">tw_gui_pattern_grid_size=6</action>
4486 </button>
4487
z31s1g28f0a922015-11-07 18:50:22 +01004488 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004489 <placement x="%col1_x_right%" y="%row15a_y%"/>
4490 <text>{@sel_lang_btn=Select Language}</text>
4491 <action function="overlay">select_language</action>
4492 </button>
4493
4494 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004495 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 <actions>
4498 <action function="set">tw_page_done=1</action>
4499 <action function="page">main</action>
4500 </actions>
4501 </button>
4502 </page>
4503
4504 <page name="trydecrypt">
4505 <template name="page"/>
4506
4507 <text style="text_l">
4508 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <text style="text_m">
4513 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 </text>
4516
4517 <template name="console"/>
4518
4519 <template name="progress_bar"/>
4520
4521 <action>
4522 <action function="decrypt"/>
4523 </action>
4524
4525 <action>
4526 <conditions>
4527 <condition var1="tw_operation_state" var2="1"/>
4528 <condition var1="tw_operation_status" op="!=" var2="0"/>
4529 </conditions>
4530 <actions>
4531 <action function="set">tw_password_fail=1</action>
4532 <action function="page">decrypt</action>
4533 </actions>
4534 </action>
4535
4536 <action>
4537 <conditions>
4538 <condition var1="tw_operation_state" var2="1"/>
4539 <condition var1="tw_operation_status" op="=" var2="0"/>
4540 </conditions>
4541 <actions>
4542 <action function="set">tw_page_done=1</action>
4543 <action function="page">main</action>
4544 </actions>
4545 </action>
4546 </page>
4547
z31s1g28f0a922015-11-07 18:50:22 +01004548 <page name="terminalcommand">
4549 <template name="page"/>
4550
4551 <fill color="%background_color%">
4552 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4553 </fill>
4554
z31s1g56189522016-01-13 19:12:40 +01004555 <terminal>
4556 <condition var1="tw_hide_kb" var2="0"/>
4557 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4558 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004559
z31s1g56189522016-01-13 19:12:40 +01004560 <terminal>
4561 <condition var1="tw_hide_kb" var2="1"/>
4562 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4563 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004564
z31s1g56189522016-01-13 19:12:40 +01004565 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004566
z31s1g56189522016-01-13 19:12:40 +01004567 <object type="fill" color="#000000">
4568 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4569 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004570
z31s1g608d7ff2016-01-18 19:47:25 +01004571 <button>
z31s1g56189522016-01-13 19:12:40 +01004572 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4573 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4574 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4575 <image resource="back" />
4576 <condition var1="tw_busy" var2="0" />
4577 <actions>
4578 <action function="set">tw_hide_kb=0</action>
4579 <action function="page">advanced</action>
4580 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004581 </button>
z31s1g56189522016-01-13 19:12:40 +01004582
z31s1g608d7ff2016-01-18 19:47:25 +01004583 <button>
z31s1g56189522016-01-13 19:12:40 +01004584 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4585 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4586 <condition var1="tw_hide_kb" op="=" var2="0" />
4587 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4588 <image resource="kb_hide" />
4589 <condition var1="tw_busy" var2="0" />
4590 <actions>
4591 <action function="set">tw_hide_kb=1</action>
4592 <action function="page">terminalcommand</action>
4593 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004594 </button>
z31s1g56189522016-01-13 19:12:40 +01004595
z31s1g608d7ff2016-01-18 19:47:25 +01004596 <button>
z31s1g56189522016-01-13 19:12:40 +01004597 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4598 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4599 <condition var1="tw_hide_kb" op="=" var2="1" />
4600 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4601 <image resource="kb_show" />
4602 <condition var1="tw_busy" var2="0" />
4603 <actions>
4604 <action function="set">tw_hide_kb=0</action>
4605 <action function="page">terminalcommand</action>
4606 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004607 </button>
z31s1g56189522016-01-13 19:12:40 +01004608
z31s1g608d7ff2016-01-18 19:47:25 +01004609 <button>
z31s1g56189522016-01-13 19:12:40 +01004610 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4611 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4612 <image resource="home" />
4613 <condition var1="tw_busy" var2="0" />
4614 <actions>
4615 <action function="set">tw_hide_kb=0</action>
4616 <action function="key">home</action>
4617 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004618 </button>
z31s1g56189522016-01-13 19:12:40 +01004619
z31s1g608d7ff2016-01-18 19:47:25 +01004620 <button>
z31s1g56189522016-01-13 19:12:40 +01004621 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4622 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4623 <condition var1="tw_hide_kb" op="=" var2="0" />
4624 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4625 <image resource="kb_hide" />
4626 <condition var1="tw_busy" var2="0" />
4627 <actions>
4628 <action function="set">tw_hide_kb=1</action>
4629 <action function="page">terminalcommand</action>
4630 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004631 </button>
z31s1g56189522016-01-13 19:12:40 +01004632
z31s1g608d7ff2016-01-18 19:47:25 +01004633 <button>
z31s1g56189522016-01-13 19:12:40 +01004634 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4635 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4636 <condition var1="tw_hide_kb" op="=" var2="1" />
4637 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4638 <image resource="kb_show" />
4639 <condition var1="tw_busy" var2="0" />
4640 <actions>
4641 <action function="set">tw_hide_kb=0</action>
4642 <action function="page">terminalcommand</action>
4643 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004644 </button>
z31s1g56189522016-01-13 19:12:40 +01004645
z31s1g608d7ff2016-01-18 19:47:25 +01004646 <button>
z31s1g56189522016-01-13 19:12:40 +01004647 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4648 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4649 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4650 <image resource="back" />
4651 <condition var1="tw_busy" var2="0" />
4652 <actions>
4653 <action function="set">tw_hide_kb=0</action>
4654 <action function="page">advanced</action>
4655 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004656 </button>
z31s1g56189522016-01-13 19:12:40 +01004657
z31s1g608d7ff2016-01-18 19:47:25 +01004658 <button>
z31s1g56189522016-01-13 19:12:40 +01004659 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4660 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4661 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4662 <image resource="back" />
4663 <condition var1="tw_busy" var2="0" />
4664 <actions>
4665 <action function="set">tw_hide_kb=0</action>
4666 <action function="page">advanced</action>
4667 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004668 </button>
z31s1g56189522016-01-13 19:12:40 +01004669
z31s1g608d7ff2016-01-18 19:47:25 +01004670 <button>
z31s1g56189522016-01-13 19:12:40 +01004671 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4672 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4673 <condition var1="tw_hide_kb" op="=" var2="0" />
4674 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4675 <image resource="kb_hide" />
4676 <condition var1="tw_busy" var2="0" />
4677 <actions>
4678 <action function="set">tw_hide_kb=1</action>
4679 <action function="page">terminalcommand</action>
4680 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004681 </button>
z31s1g56189522016-01-13 19:12:40 +01004682
z31s1g608d7ff2016-01-18 19:47:25 +01004683 <button>
z31s1g56189522016-01-13 19:12:40 +01004684 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4685 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4686 <condition var1="tw_hide_kb" op="=" var2="1" />
4687 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4688 <image resource="kb_show" />
4689 <condition var1="tw_busy" var2="0" />
4690 <actions>
4691 <action function="set">tw_hide_kb=0</action>
4692 <action function="page">terminalcommand</action>
4693 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004694 </button>
z31s1g56189522016-01-13 19:12:40 +01004695
z31s1g608d7ff2016-01-18 19:47:25 +01004696 <button>
z31s1g56189522016-01-13 19:12:40 +01004697 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4698 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4699 <image resource="home" />
4700 <condition var1="tw_busy" var2="0" />
4701 <actions>
4702 <action function="set">tw_hide_kb=0</action>
4703 <action function="key">home</action>
4704 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004705 </button>
z31s1g56189522016-01-13 19:12:40 +01004706
z31s1g608d7ff2016-01-18 19:47:25 +01004707 <button>
z31s1g56189522016-01-13 19:12:40 +01004708 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4709 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4710 <condition var1="tw_hide_kb" op="=" var2="0" />
4711 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4712 <image resource="kb_hide" />
4713 <condition var1="tw_busy" var2="0" />
4714 <actions>
4715 <action function="set">tw_hide_kb=1</action>
4716 <action function="page">terminalcommand</action>
4717 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004718 </button>
z31s1g56189522016-01-13 19:12:40 +01004719
z31s1g608d7ff2016-01-18 19:47:25 +01004720 <button>
z31s1g56189522016-01-13 19:12:40 +01004721 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4722 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4723 <condition var1="tw_hide_kb" op="=" var2="1" />
4724 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4725 <image resource="kb_show" />
4726 <condition var1="tw_busy" var2="0" />
4727 <actions>
4728 <action function="set">tw_hide_kb=0</action>
4729 <action function="page">terminalcommand</action>
4730 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004731 </button>
z31s1g56189522016-01-13 19:12:40 +01004732
z31s1g608d7ff2016-01-18 19:47:25 +01004733 <button>
z31s1g56189522016-01-13 19:12:40 +01004734 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4735 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4736 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4737 <image resource="back" />
4738 <condition var1="tw_busy" var2="0" />
4739 <actions>
4740 <action function="set">tw_hide_kb=0</action>
4741 <action function="page">advanced</action>
4742 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004743 </button>
z31s1g56189522016-01-13 19:12:40 +01004744
z31s1g608d7ff2016-01-18 19:47:25 +01004745 <button>
z31s1g56189522016-01-13 19:12:40 +01004746 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4747 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4748 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4749 <image resource="back" />
4750 <condition var1="tw_busy" var2="0" />
4751 <actions>
4752 <action function="set">tw_hide_kb=0</action>
4753 <action function="page">advanced</action>
4754 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004755 </button>
z31s1g56189522016-01-13 19:12:40 +01004756
z31s1g608d7ff2016-01-18 19:47:25 +01004757 <button>
z31s1g56189522016-01-13 19:12:40 +01004758 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4759 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4760 <condition var1="tw_hide_kb" op="=" var2="0" />
4761 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4762 <image resource="kb_hide" />
4763 <condition var1="tw_busy" var2="0" />
4764 <actions>
4765 <action function="set">tw_hide_kb=1</action>
4766 <action function="page">terminalcommand</action>
4767 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004768 </button>
z31s1g56189522016-01-13 19:12:40 +01004769
z31s1g608d7ff2016-01-18 19:47:25 +01004770 <button>
z31s1g56189522016-01-13 19:12:40 +01004771 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4772 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4773 <condition var1="tw_hide_kb" op="=" var2="1" />
4774 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4775 <image resource="kb_show" />
4776 <condition var1="tw_busy" var2="0" />
4777 <actions>
4778 <action function="set">tw_hide_kb=0</action>
4779 <action function="page">terminalcommand</action>
4780 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004781 </button>
z31s1g56189522016-01-13 19:12:40 +01004782
z31s1g608d7ff2016-01-18 19:47:25 +01004783 <button>
z31s1g56189522016-01-13 19:12:40 +01004784 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4785 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4786 <image resource="home" />
4787 <condition var1="tw_busy" var2="0" />
4788 <actions>
4789 <action function="set">tw_hide_kb=0</action>
4790 <action function="key">home</action>
4791 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004792 </button>
z31s1g56189522016-01-13 19:12:40 +01004793
z31s1g608d7ff2016-01-18 19:47:25 +01004794 <button>
z31s1g56189522016-01-13 19:12:40 +01004795 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4796 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4797 <condition var1="tw_hide_kb" op="=" var2="0" />
4798 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4799 <image resource="kb_hide" />
4800 <condition var1="tw_busy" var2="0" />
4801 <actions>
4802 <action function="set">tw_hide_kb=1</action>
4803 <action function="page">terminalcommand</action>
4804 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004805 </button>
z31s1g56189522016-01-13 19:12:40 +01004806
z31s1g608d7ff2016-01-18 19:47:25 +01004807 <button>
z31s1g56189522016-01-13 19:12:40 +01004808 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4809 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4810 <condition var1="tw_hide_kb" op="=" var2="1" />
4811 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4812 <image resource="kb_show" />
4813 <condition var1="tw_busy" var2="0" />
4814 <actions>
4815 <action function="set">tw_hide_kb=0</action>
4816 <action function="page">terminalcommand</action>
4817 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004818 </button>
z31s1g56189522016-01-13 19:12:40 +01004819
z31s1g608d7ff2016-01-18 19:47:25 +01004820 <button>
z31s1g56189522016-01-13 19:12:40 +01004821 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4822 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4823 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4824 <image resource="back" />
4825 <condition var1="tw_busy" var2="0" />
4826 <actions>
4827 <action function="set">tw_hide_kb=0</action>
4828 <action function="page">advanced</action>
4829 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004830 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004831
4832 <action>
4833 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004834 <actions>
4835 <action function="page">main</action>
4836 <action function="set">tw_hide_kb=0</action>
4837 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004838 </action>
4839
4840 <action>
4841 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004842 <actions>
4843 <action function="page">advanced</action>
4844 <action function="set">tw_hide_kb=0</action>
4845 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004846 </action>
z31s1g56189522016-01-13 19:12:40 +01004847
4848 <object type="action">
4849 <touch key="power+voldown" />
4850 <action function="screenshot" />
4851 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004852 </page>
4853
4854 <page name="sideload">
4855 <template name="page"/>
4856
4857 <text style="text_l">
4858 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004859 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004860 </text>
4861
4862 <text style="text_m">
4863 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004864 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004865 </text>
4866
4867 <checkbox>
4868 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004869 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004870 <data variable="tw_wipe_dalvik"/>
4871 </checkbox>
4872
4873 <checkbox>
4874 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004875 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004876 <data variable="tw_wipe_cache"/>
4877 </checkbox>
4878
4879 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004880 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004881 <actions>
4882 <action function="set">tw_back=advanced</action>
4883 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004884 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4885 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4886 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004887 <action function="set">tw_has_cancel=1</action>
4888 <action function="set">tw_show_reboot=1</action>
4889 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4890 <action function="page">action_page</action>
4891 </actions>
4892 </slider>
4893
4894 <action>
4895 <touch key="home"/>
4896 <action function="page">main</action>
4897 </action>
4898
4899 <action>
4900 <touch key="back"/>
4901 <action function="page">advanced</action>
4902 </action>
4903 </page>
4904
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004905 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004906 <template name="page"/>
4907
4908 <text style="text_l">
4909 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004910 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004911 </text>
4912
4913 <text style="text_m">
4914 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004915 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004916 </text>
4917
4918 <text style="text_m_accent">
4919 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004920 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004921 </text>
4922
z31s1g28f0a922015-11-07 18:50:22 +01004923 <text style="text_m_fail">
4924 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004925 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004926 </text>
4927
4928 <text style="text_m_fail">
4929 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004930 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004931 </text>
4932
4933 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004934 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004935 <actions>
4936 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004937 <action function="set">tw_action=fixcontexts</action>
4938 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4939 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004940 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004941 <action function="set">tw_show_reboot=1</action>
4942 <action function="page">action_page</action>
4943 </actions>
4944 </slider>
4945
4946 <action>
4947 <touch key="home"/>
4948 <action function="page">main</action>
4949 </action>
4950
4951 <action>
4952 <touch key="back"/>
4953 <action function="page">advanced</action>
4954 </action>
4955 </page>
4956
z31s1g28f0a922015-11-07 18:50:22 +01004957 <page name="slideout">
4958 <fill color="%background_color%">
4959 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4960 </fill>
4961
4962 <console>
4963 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4964 </console>
4965
4966 <button>
4967 <fill color="%transparent%"/>
4968 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4969 <action function="overlay"/>
4970 </button>
4971
4972 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004973 <touch key="power"/>
4974 <action function="togglebacklight"/>
4975 </action>
4976
4977 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004978 <touch key="power+voldown"/>
4979 <action function="screenshot"/>
4980 </action>
4981 </page>
4982
4983 <page name="select_storage">
4984 <fill color="%semi_transparent%">
4985 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4986 </fill>
4987
4988 <fill color="%background_color%">
4989 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4990 </fill>
4991
4992 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004993 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004994 <data name="tw_storage_path"/>
4995 <listtype name="storage"/>
4996 </partitionlist>
4997
4998 <button style="button_third_width">
4999 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005000 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005001 <actions>
5002 <action function="set">tw_clear_destination=%tw_back%</action>
5003 <action function="overlay"/>
5004 <action function="page">clear_vars</action>
5005 </actions>
5006 </button>
5007
5008 <fill color="#000000">
5009 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5010 </fill>
5011
5012 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005013 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5014 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5015 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5016 <image resource="back" />
5017 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005018 <actions>
5019 <action function="overlay"/>
5020 <action function="key">%tw_back%</action>
5021 </actions>
5022 </button>
5023
5024 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005025 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5026 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5027 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5028 <image resource="console" />
5029 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005030 <action function="overlay">slideout</action>
5031 </button>
5032
5033 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005034 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5035 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5036 <image resource="home" />
5037 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005038 <actions>
5039 <action function="overlay"/>
5040 <action function="key">home</action>
5041 </actions>
5042 </button>
5043
5044 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005045 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5046 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5047 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5048 <image resource="console" />
5049 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005050 <action function="overlay">slideout</action>
5051 </button>
5052
5053 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005054 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5055 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5056 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5057 <image resource="back" />
5058 <condition var1="tw_busy" var2="0" />
5059 <actions>
5060 <action function="overlay"/>
5061 <action function="key">%tw_back%</action>
5062 </actions>
5063 </button>
5064
5065 <button>
5066 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5067 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5068 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5069 <image resource="back" />
5070 <condition var1="tw_busy" var2="0" />
5071 <actions>
5072 <action function="overlay"/>
5073 <action function="key">%tw_back%</action>
5074 </actions>
5075 </button>
5076
5077 <button>
5078 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5079 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5080 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5081 <image resource="console" />
5082 <condition var1="tw_busy" var2="0" />
5083 <action function="overlay">slideout</action>
5084 </button>
5085
5086 <button>
5087 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5088 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5089 <image resource="home" />
5090 <condition var1="tw_busy" var2="0" />
5091 <actions>
5092 <action function="overlay"/>
5093 <action function="key">home</action>
5094 </actions>
5095 </button>
5096
5097 <button>
5098 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5099 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5100 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5101 <image resource="console" />
5102 <condition var1="tw_busy" var2="0" />
5103 <action function="overlay">slideout</action>
5104 </button>
5105
5106 <button>
5107 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5108 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5109 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5110 <image resource="back" />
5111 <condition var1="tw_busy" var2="0" />
5112 <actions>
5113 <action function="overlay"/>
5114 <action function="key">%tw_back%</action>
5115 </actions>
5116 </button>
5117
5118 <button>
5119 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5120 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5121 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5122 <image resource="back" />
5123 <condition var1="tw_busy" var2="0" />
5124 <actions>
5125 <action function="overlay"/>
5126 <action function="key">%tw_back%</action>
5127 </actions>
5128 </button>
5129
5130 <button>
5131 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5132 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5133 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5134 <image resource="console" />
5135 <condition var1="tw_busy" var2="0" />
5136 <action function="overlay">slideout</action>
5137 </button>
5138
5139 <button>
5140 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5141 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5142 <image resource="home" />
5143 <condition var1="tw_busy" var2="0" />
5144 <actions>
5145 <action function="overlay"/>
5146 <action function="key">home</action>
5147 </actions>
5148 </button>
5149
5150 <button>
5151 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5152 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5153 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5154 <image resource="console" />
5155 <condition var1="tw_busy" var2="0" />
5156 <action function="overlay">slideout</action>
5157 </button>
5158
5159 <button>
5160 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5161 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5162 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5163 <image resource="back" />
5164 <condition var1="tw_busy" var2="0" />
5165 <actions>
5166 <action function="overlay"/>
5167 <action function="key">%tw_back%</action>
5168 </actions>
5169 </button>
5170
5171 <action>
5172 <touch key="power+voldown"/>
5173 <action function="screenshot"/>
5174 </action>
5175 </page>
5176
5177 <page name="select_language">
5178 <fill color="%semi_transparent%">
5179 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5180 </fill>
5181
5182 <fill color="%background_color%">
5183 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5184 </fill>
5185
5186 <listbox>
5187 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5188 <text>{@select_language=Select Language:}</text>
5189 <icon selected="radio_true" unselected="radio_false" />
5190 <data name="tw_language" />
5191 </listbox>
5192
5193 <button style="button_third_width">
5194 <placement x="%dialog_button_x%" y="%row13_y%"/>
5195 <text>{@ok_btn=OK}</text>
5196 <actions>
5197 <action function="overlay"/>
5198 <action function="setlanguage"></action>
5199 </actions>
5200 </button>
5201
5202 <fill color="#000000">
5203 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5204 </fill>
5205
5206 <button>
5207 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5208 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5209 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5210 <image resource="back" />
5211 <condition var1="tw_busy" var2="0" />
5212 <actions>
5213 <action function="overlay"/>
5214 <action function="key">%tw_back%</action>
5215 </actions>
5216 </button>
5217
5218 <button>
5219 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5220 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5221 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5222 <image resource="console" />
5223 <condition var1="tw_busy" var2="0" />
5224 <action function="overlay">slideout</action>
5225 </button>
5226
5227 <button>
5228 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5229 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5230 <image resource="home" />
5231 <condition var1="tw_busy" var2="0" />
5232 <actions>
5233 <action function="overlay"/>
5234 <action function="key">home</action>
5235 </actions>
5236 </button>
5237
5238 <button>
5239 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5240 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5241 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5242 <image resource="console" />
5243 <condition var1="tw_busy" var2="0" />
5244 <action function="overlay">slideout</action>
5245 </button>
5246
5247 <button>
5248 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5249 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5250 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5251 <image resource="back" />
5252 <condition var1="tw_busy" var2="0" />
5253 <actions>
5254 <action function="overlay"/>
5255 <action function="key">%tw_back%</action>
5256 </actions>
5257 </button>
5258
5259 <button>
5260 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5261 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5262 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5263 <image resource="back" />
5264 <condition var1="tw_busy" var2="0" />
5265 <actions>
5266 <action function="overlay"/>
5267 <action function="key">%tw_back%</action>
5268 </actions>
5269 </button>
5270
5271 <button>
5272 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5273 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5274 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5275 <image resource="console" />
5276 <condition var1="tw_busy" var2="0" />
5277 <action function="overlay">slideout</action>
5278 </button>
5279
5280 <button>
5281 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5282 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5283 <image resource="home" />
5284 <condition var1="tw_busy" var2="0" />
5285 <actions>
5286 <action function="overlay"/>
5287 <action function="key">home</action>
5288 </actions>
5289 </button>
5290
5291 <button>
5292 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5293 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5294 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5295 <image resource="console" />
5296 <condition var1="tw_busy" var2="0" />
5297 <action function="overlay">slideout</action>
5298 </button>
5299
5300 <button>
5301 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5302 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5303 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5304 <image resource="back" />
5305 <condition var1="tw_busy" var2="0" />
5306 <actions>
5307 <action function="overlay"/>
5308 <action function="key">%tw_back%</action>
5309 </actions>
5310 </button>
5311
5312 <button>
5313 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5314 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5315 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5316 <image resource="back" />
5317 <condition var1="tw_busy" var2="0" />
5318 <actions>
5319 <action function="overlay"/>
5320 <action function="key">%tw_back%</action>
5321 </actions>
5322 </button>
5323
5324 <button>
5325 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5326 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5327 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5328 <image resource="console" />
5329 <condition var1="tw_busy" var2="0" />
5330 <action function="overlay">slideout</action>
5331 </button>
5332
5333 <button>
5334 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5335 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5336 <image resource="home" />
5337 <condition var1="tw_busy" var2="0" />
5338 <actions>
5339 <action function="overlay"/>
5340 <action function="key">home</action>
5341 </actions>
5342 </button>
5343
5344 <button>
5345 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5346 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5347 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5348 <image resource="console" />
5349 <condition var1="tw_busy" var2="0" />
5350 <action function="overlay">slideout</action>
5351 </button>
5352
5353 <button>
5354 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5355 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5356 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5357 <image resource="back" />
5358 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005359 <actions>
5360 <action function="overlay"/>
5361 <action function="key">%tw_back%</action>
5362 </actions>
5363 </button>
5364
5365 <action>
5366 <touch key="power+voldown"/>
5367 <action function="screenshot"/>
5368 </action>
5369 </page>
5370 </pages>
5371</recovery>