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