blob: 67c8f91141019e8ba9f2a6eb2833c6e81ad48188 [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>
mauronofrio6d3bf892019-10-26 19:47:55 +0200313 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100314 <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">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100575 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100576 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500577 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100578 <actions>
579 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500580 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100581 </actions>
582 </button>
583
Chaosmaster7b66bf52020-02-07 20:33:43 +0100584 <button style="main_button_half_width">
585 <condition var1="tw_ab_device" var2="1"/>
586 <placement x="%center_x%" y="%row15a_y%"/>
587 <text>{@reboot_btn=Reboot}</text>
588 <actions>
589 <action function="set">tw_back=main2</action>
590 <action function="page">reboot</action>
591 </actions>
592 </button>
593
594
z31s1g28f0a922015-11-07 18:50:22 +0100595 <action>
596 <touch key="back"/>
597 <actions>
598 <action function="set">tw_clear_destination=install</action>
599 <action function="page">clear_vars</action>
600 </actions>
601 </action>
602
603 <action>
604 <touch key="home"/>
605 <actions>
606 <action function="set">tw_clear_destination=main2</action>
607 <action function="page">clear_vars</action>
608 </actions>
609 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500610
611 <action>
612 <conditions>
613 <condition var1="tw_install_reboot" var2="1"/>
614 <condition var1="tw_operation_status" var2="0"/>
615 <condition var1="tw_reboot_system" var2="1"/>
616 </conditions>
617 <actions>
618 <action function="set">tw_sleep=%tw_sleep_total%</action>
619 <action function="page">flash_sleep_and_reboot</action>
620 </actions>
621 </action>
622 </page>
623
624 <page name="flash_sleep_and_reboot">
625 <template name="page"/>
626
627 <text style="text_l">
628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
629 <text>{@install_zip_hdr=Install Zip}</text>
630 </text>
631
632 <text style="text_m">
633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
634 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
635 </text>
636
637 <template name="console"/>
638
639 <template name="progress_bar"/>
640
641 <button style="main_button_half_width">
642 <condition var1="tw_sleep" op="&gt;" var2="0"/>
643 <placement x="%center_x%" y="%row15a_y%"/>
644 <text>{@cancel_btn=Cancel}</text>
645 <actions>
646 <action function="set">tw_install_reboot=0</action>
647 <action function="page">flash_done</action>
648 </actions>
649 </button>
650
651 <action>
652 <conditions>
653 <condition var1="tw_sleep" var2="tw_sleep_total"/>
654 <condition var1="tw_install_reboot" var2="1"/>
655 </conditions>
656 <action function="sleepcounter">%tw_sleep_total%</action>
657 </action>
658
659 <action>
660 <conditions>
661 <condition var1="tw_sleep" var2="0"/>
662 <condition var1="tw_install_reboot" var2="1"/>
663 </conditions>
664 <actions>
665 <action function="sleep">50000</action>
666 <action function="set">tw_back=main2</action>
667 <action function="page">reboot_system_routine</action>
668 </actions>
669 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100670 </page>
671
672 <page name="flashimage_confirm">
673 <template name="page"/>
674
675 <text style="text_l">
676 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500677 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100678 </text>
679
680 <text style="text_m">
681 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100683 </text>
684
685 <text style="text_m_accent">
686 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500687 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100688 </text>
689
690 <text style="text_m">
691 <placement x="%col1_x_left%" y="%row9_y%"/>
692 <text>%tw_zip_location%</text>
693 </text>
694
695 <text style="text_m_accent">
696 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500697 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100698 </text>
699
700 <text style="text_m">
701 <placement x="%col1_x_left%" y="%row12_y%"/>
702 <text>%tw_file%</text>
703 </text>
704
705 <partitionlist>
706 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
707 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500708 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100709 <data name="tw_flash_partition"/>
710 <listtype name="flashimg"/>
711 </partitionlist>
712
713 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500714 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100715 <actions>
716 <action function="set">tw_back=flashimage_confirm</action>
717 <action function="set">tw_action=flashimage</action>
718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500719 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100720 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500721 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100722 <action function="page">action_page</action>
723 </actions>
724 <action function="flashimage"/>
725 </slider>
726
727 <action>
728 <touch key="back"/>
729 <actions>
730 <action function="set">tw_clear_destination=install</action>
731 <action function="page">clear_vars</action>
732 </actions>
733 </action>
734
735 <action>
736 <touch key="home"/>
737 <actions>
738 <action function="set">tw_clear_destination=main2</action>
739 <action function="page">clear_vars</action>
740 </actions>
741 </action>
742 </page>
743
744 <page name="clear_vars">
745 <action>
746 <action function="set">tw_operation_state=0</action>
747 <action function="set">tw_text1=</action>
748 <action function="set">tw_text2=</action>
749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
751 <action function="set">tw_action_text1=</action>
752 <action function="set">tw_action_text2=</action>
753 <action function="set">tw_action_param=</action>
754 <action function="set">tw_has_action2=0</action>
755 <action function="set">tw_action2=</action>
756 <action function="set">tw_action2_param=</action>
757 <action function="set">tw_has_cancel=0</action>
758 <action function="set">tw_cancel_action=</action>
759 <action function="set">tw_cancel_param=</action>
760 <action function="set">tw_show_exclamation=0</action>
761 <action function="set">tw_show_reboot=0</action>
762 <action function="page">%tw_clear_destination%</action>
763 </action>
764 </page>
765
Matt Mower908dd252016-05-25 02:26:50 -0500766 <page name="reboot_system_routine">
767 <action>
768 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500769 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500770 <action function="set">tw_has_action2=0</action>
771 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
772 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
773 <action function="set">tw_text3=</action>
774 <action function="set">tw_text4=</action>
775 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
776 <action function="set">tw_action_text2=</action>
777 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
778 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
779 <action function="page">rebootcheck</action>
780 </action>
781 </page>
782
z31s1g28f0a922015-11-07 18:50:22 +0100783 <page name="confirm_action">
784 <template name="page"/>
785
786 <text style="text_l">
787 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500788 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100789 </text>
790
791 <text style="text_m">
792 <placement x="%col1_x_header%" y="%row4_header_y%"/>
793 <text/>
794 </text>
795
796 <text style="text_m_accent">
797 <placement x="%center_x%" y="%row2_y%" placement="5"/>
798 <text>%tw_text1%</text>
799 </text>
800
801 <text style="text_m_accent">
802 <placement x="%center_x%" y="%row3_y%" placement="5"/>
803 <text>%tw_text2%</text>
804 </text>
805
806 <text style="text_m">
807 <placement x="%center_x%" y="%row4_y%" placement="5"/>
808 <text>%tw_text3%</text>
809 </text>
810
811 <text style="text_m">
812 <placement x="%center_x%" y="%row5_y%" placement="5"/>
813 <text>%tw_text4%</text>
814 </text>
815
816 <text style="text_m">
817 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500818 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100819 </text>
820
821 <slider style="slider_centered">
822 <text>%tw_slider_text%</text>
823 <action function="page">action_page</action>
824 </slider>
825
826 <action>
827 <touch key="back"/>
828 <actions>
829 <action function="set">tw_clear_destination=%tw_back%</action>
830 <action function="page">clear_vars</action>
831 </actions>
832 </action>
833
834 <action>
835 <touch key="home"/>
836 <action function="page">main</action>
837 </action>
838 </page>
839
840 <page name="action_page">
841 <template name="page"/>
842
843 <text style="text_l">
844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
845 <text>%tw_action_text1%</text>
846 </text>
847
848 <text style="text_m">
849 <placement x="%col1_x_header%" y="%row4_header_y%"/>
850 <text>%tw_action_text2%</text>
851 </text>
852
853 <template name="console"/>
854
855 <template name="progress_bar"/>
856
857 <button style="main_button_half_width">
858 <condition var1="tw_has_cancel" var2="1"/>
859 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500860 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100861 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
862 </button>
863
864 <action>
865 <condition var1="tw_operation_state" var2="1"/>
866 <actions>
867 <action function="page">action_complete</action>
868 </actions>
869 </action>
870
871 <action>
872 <condition var1="tw_has_action2" var2="0"/>
873 <actions>
874 <action function="%tw_action%">%tw_action_param%</action>
875 </actions>
876 </action>
877
878 <action>
879 <condition var1="tw_has_action2" var2="1"/>
880 <actions>
881 <action function="%tw_action%">%tw_action_param%</action>
882 <action function="%tw_action2%">%tw_action2_param%</action>
883 </actions>
884 </action>
885 </page>
886
887 <page name="singleaction_page">
888 <template name="page"/>
889
890 <text style="text_l">
891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
892 <text>%tw_action_text1%</text>
893 </text>
894
895 <text style="text_m">
896 <placement x="%col1_x_header%" y="%row4_header_y%"/>
897 <text>%tw_action_text2%</text>
898 </text>
899
900 <template name="console"/>
901
902 <template name="progress_bar"/>
903
904 <action>
905 <condition var1="tw_operation_state" var2="1"/>
906 <actions>
907 <action function="set">tw_page_done=1</action>
908 </actions>
909 </action>
910
911 <action>
912 <condition var1="tw_has_action2" var2="0"/>
913 <actions>
914 <action function="%tw_action%">%tw_action_param%</action>
915 </actions>
916 </action>
917
918 <action>
919 <condition var1="tw_has_action2" var2="1"/>
920 <actions>
921 <action function="%tw_action%">%tw_action_param%</action>
922 <action function="%tw_action2%">%tw_action2_param%</action>
923 </actions>
924 </action>
925 </page>
926
927 <page name="action_complete">
928 <template name="page"/>
929
930 <text style="text_l">
931 <placement x="%col1_x_header%" y="%row3_header_y%"/>
932 <text>%tw_complete_text1%</text>
933 </text>
934
935 <text style="text_m_fail">
936 <condition var1="tw_operation_status" op="!=" var2="0"/>
937 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 </text>
940
941 <text style="text_m">
942 <condition var1="tw_operation_status" var2="0"/>
943 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500944 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100945 </text>
946
947 <template name="console"/>
948
949 <button style="main_button_half_width">
950 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 <actions>
953 <action function="set">tw_clear_destination=%tw_back%</action>
954 <action function="page">clear_vars</action>
955 </actions>
956 </button>
957
958 <button style="main_button_half_width">
959 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500960 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100961 <actions>
962 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500963 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100964 </actions>
965 </button>
966
967 <action>
968 <touch key="home"/>
969 <actions>
970 <action function="set">tw_clear_destination=main2</action>
971 <action function="page">clear_vars</action>
972 </actions>
973 </action>
974
975 <action>
976 <touch key="back"/>
977 <actions>
978 <action function="set">tw_clear_destination=%tw_back%</action>
979 <action function="page">clear_vars</action>
980 </actions>
981 </action>
982 </page>
983
984 <page name="filecheck">
985 <action>
986 <action function="fileexists">%tw_filecheck%</action>
987 </action>
988
989 <action>
990 <conditions>
991 <condition var1="tw_operation_state" var2="1"/>
992 <condition var1="tw_operation_status" var2="0"/>
993 </conditions>
994 <actions>
995 <action function="set">tw_fileexists=1</action>
996 <action function="page">%tw_existpage%</action>
997 </actions>
998 </action>
999
1000 <action>
1001 <conditions>
1002 <condition var1="tw_operation_state" var2="1"/>
1003 <condition var1="tw_operation_status" var2="1"/>
1004 </conditions>
1005 <actions>
1006 <action function="set">tw_fileexists=0</action>
1007 <action function="page">%tw_notexistpage%</action>
1008 </actions>
1009 </action>
1010 </page>
1011
1012 <page name="rebootcheck">
1013 <action>
1014 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001015 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001016 </action>
1017
1018 <action>
1019 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1020 <action function="page">confirm_action</action>
1021 </action>
1022 </page>
1023
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001024 <page name="appcheck">
1025 <action>
1026 <condition var1="tw_app_prompt" var2="1"/>
1027 <action function="checkforapp"></action>
1028 </action>
1029
1030 <action>
1031 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1032 <action function="reboot">%tw_reboot_param%</action>
1033 </action>
1034
1035 <action>
1036 <condition var1="tw_app_install_status" var2="1"/>
1037 <action function="page">rebootapp</action>
1038 </action>
1039
1040 <action>
1041 <condition var1="tw_app_install_status" var2="2"/>
1042 <action function="reboot">%tw_reboot_param%</action>
1043 </action>
1044 </page>
1045
z31s1g28f0a922015-11-07 18:50:22 +01001046 <page name="wipe">
1047 <template name="page"/>
1048
1049 <text style="text_l">
1050 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 </text>
1053
1054 <text style="text_m">
1055 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001057 </text>
1058
1059 <text style="text_m_accent">
1060 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001061 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001062 </text>
1063
1064 <text style="text_m_accent">
Noah Jacobson0b25b1d2019-04-28 00:10:07 -04001065 <condition var1="tw_has_data_media" var2="1"/>
bigbiffadc599e2020-05-28 19:36:30 +00001066 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001068 </text>
1069
1070 <text style="text_m_accent">
1071 <conditions>
1072 <condition var1="tw_has_android_secure" var2="1"/>
1073 <condition var1="fileexists" var2="/and-sec"/>
1074 </conditions>
1075 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001077 </text>
1078
1079 <text style="text_m_accent">
1080 <condition var1="tw_has_sdext_partition" var2="1"/>
1081 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 </text>
1084
1085 <text style="text_m">
1086 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001088 </text>
1089
1090 <text style="text_m">
1091 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001092 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001093 </text>
1094
1095 <text style="text_m">
1096 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001097 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001098 </text>
1099
1100 <button style="main_button_half_width">
1101 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001102 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001103 <actions>
1104 <action function="set">partitionlisterror=0</action>
1105 <action function="page">advancedwipe</action>
1106 </actions>
1107 </button>
1108
1109 <button style="main_button_half_width">
1110 <condition var1="tw_has_data_media" var2="1"/>
1111 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 <action function="page">formatdata</action>
1114 </button>
1115
1116 <button style="main_button_half_width">
1117 <conditions>
1118 <condition var1="tw_is_encrypted" var2="1"/>
1119 <condition var1="tw_has_data_media" var2="0"/>
1120 </conditions>
1121 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001123 <actions>
1124 <action function="set">tw_back=wipe</action>
1125 <action function="set">tw_action=wipe</action>
1126 <action function="set">tw_action_param=DATAMEDIA</action>
1127 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001129 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1131 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1132 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <action function="page">confirm_action</action>
1134 </actions>
1135 </button>
1136
1137 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 <actions>
1140 <action function="set">tw_back=wipe</action>
1141 <action function="set">tw_action=wipe</action>
1142 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1144 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001145 <action function="page">action_page</action>
1146 </actions>
1147 </slider>
1148
1149 <action>
1150 <touch key="back"/>
1151 <action function="page">main</action>
1152 </action>
1153
1154 <action>
1155 <touch key="home"/>
1156 <action function="page">main</action>
1157 </action>
1158 </page>
1159
1160 <page name="advancedwipe">
1161 <template name="page"/>
1162
1163 <action>
1164 <action function="set">tw_wipe_list=</action>
1165 </action>
1166
1167 <text style="text_l">
1168 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001169 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001170 </text>
1171
1172 <text style="text_m">
1173 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 </text>
1176
1177 <partitionlist>
1178 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 <data name="tw_wipe_list"/>
1181 <listtype name="wipe"/>
1182 </partitionlist>
1183
1184 <text style="text_m_fail">
1185 <condition var1="partitionlisterror" var2="1"/>
1186 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001187 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001188 </text>
1189
1190 <button style="main_button_m">
1191 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001194 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <action function="page">checkpartitionlist</action>
1196 </actions>
1197 </button>
1198
1199 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001200 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001201 <actions>
1202 <action function="set">tw_back=advancedwipe</action>
1203 <action function="set">tw_action=wipe</action>
1204 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001205 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1206 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1207 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001208 <action function="page">action_page</action>
1209 </actions>
1210 </slider>
1211
1212 <action>
1213 <touch key="home"/>
1214 <action function="page">main</action>
1215 </action>
1216
1217 <action>
1218 <touch key="back"/>
1219 <action function="page">wipe</action>
1220 </action>
1221 </page>
1222
1223 <page name="formatdata">
1224 <template name="page"/>
1225
1226 <text style="text_l">
1227 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001228 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001229 </text>
1230
1231 <text style="text_m">
1232 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001234 </text>
1235
1236 <text style="text_m_fail">
1237 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001238 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001239 </text>
1240
1241 <text style="text_m_fail">
1242 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001243 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001244 </text>
1245
Ethan Yonker66a19492015-12-10 10:19:45 -06001246 <text style="text_m_fail">
1247 <condition var1="tw_has_adopted_storage" var2="1"/>
1248 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1249 <text>{@format_data_adopted=Including Adopted Storage}</text>
1250 </text>
1251
z31s1g28f0a922015-11-07 18:50:22 +01001252 <text style="text_m">
1253 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001255 </text>
1256
1257 <text style="text_m">
1258 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001259 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001260 </text>
1261
1262 <input>
1263 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1264 <text>%tw_confirm_formatdata%</text>
1265 <data name="tw_confirm_formatdata"/>
1266 <restrict minlen="3" maxlen="3" allow="yes"/>
1267 <action function="page">formatdata_confirm</action>
1268 </input>
1269
1270 <fill color="%accent_color%">
1271 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1272 </fill>
1273
1274 <template name="keyboardtemplate"/>
1275
1276 <action>
1277 <touch key="home"/>
1278 <action function="page">main</action>
1279 </action>
1280
1281 <action>
1282 <touch key="back"/>
1283 <action function="page">wipe</action>
1284 </action>
1285 </page>
1286
1287 <page name="formatdata_confirm">
1288 <action>
1289 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1290 <actions>
1291 <action function="set">tw_back=formatdata</action>
1292 <action function="set">tw_action=wipe</action>
1293 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1295 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001296 <action function="page">action_page</action>
1297 </actions>
1298 </action>
1299
1300 <action>
1301 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1302 <action function="page">formatdata</action>
1303 </action>
1304 </page>
1305
1306 <page name="checkpartitionlist">
1307 <action>
1308 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1309 <actions>
1310 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001311 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001312 <action function="page">partitionoptions</action>
1313 </actions>
1314 </action>
1315
1316 <action>
1317 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1318 <actions>
1319 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001320 <action function="page">advancedwipe</action>
1321 </actions>
1322 </action>
1323 </page>
1324
1325 <page name="partitionoptions">
1326 <template name="page"/>
1327
1328 <text style="text_l">
1329 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 </text>
1332
1333 <text style="text_m">
1334 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001335 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001336 </text>
1337
1338 <text style="text_m_accent">
1339 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 </text>
1342
1343 <text style="text_m_accent">
1344 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001346 </text>
1347
1348 <text style="text_m">
1349 <condition var1="tw_partition_is_present" var2="1"/>
1350 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001351 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001352 </text>
1353
1354 <text style="text_m">
1355 <condition var1="tw_partition_is_present" var2="0"/>
1356 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m">
1361 <condition var1="tw_partition_removable" var2="1"/>
1362 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m">
1367 <condition var1="tw_partition_removable" var2="0"/>
1368 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001370 </text>
1371
1372 <text style="text_m">
1373 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 </text>
1376
1377 <text style="text_m">
1378 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m">
1383 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001385 </text>
1386
1387 <text style="text_m">
1388 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001390 </text>
1391
1392 <button style="main_button_half_width">
1393 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1394 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001395 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <actions>
1397 <action function="set">tw_back=partitionoptions</action>
1398 <action function="set">tw_action=resize</action>
1399 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1400 <action function="set">tw_has_action2=1</action>
1401 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001402 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1406 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1407 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001408 <action function="page">confirm_action</action>
1409 </actions>
1410 </button>
1411
1412 <button style="main_button_half_width">
1413 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1414 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 <actions>
1417 <action function="set">tw_back=partitionoptions</action>
1418 <action function="set">tw_action=repair</action>
1419 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1420 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001421 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001422 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001423 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1424 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1425 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001426 <action function="page">confirm_action</action>
1427 </actions>
1428 </button>
1429
1430 <button style="main_button_half_width">
1431 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <action function="page">selectfilesystem</action>
1434 </button>
1435
1436 <action>
1437 <touch key="home"/>
1438 <action function="page">main</action>
1439 </action>
1440
1441 <action>
1442 <touch key="back"/>
1443 <action function="page">advancedwipe</action>
1444 </action>
1445 </page>
1446
1447 <page name="refreshfilesystem">
1448 <action>
1449 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1450 <actions>
1451 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001452 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">selectfilesystem</action>
1454 </actions>
1455 </action>
1456
1457 <action>
1458 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1459 <actions>
1460 <action function="set">partitionlisterror=1</action>
1461 <action function="set">tw_wipe_list=</action>
1462 <action function="page">advancedwipe</action>
1463 </actions>
1464 </action>
1465 </page>
1466
1467 <page name="selectfilesystem">
1468 <template name="page"/>
1469
1470 <text style="text_l">
1471 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001473 </text>
1474
1475 <text style="text_m">
1476 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001477 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001478 </text>
1479
1480 <text style="text_m_accent">
1481 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001482 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001483 </text>
1484
1485 <text style="text_m_accent">
1486 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001487 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001488 </text>
1489
1490 <text style="text_m_fail">
1491 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 </text>
1494
1495 <text style="text_m_fail">
1496 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001498 </text>
1499
1500 <button style="main_button_half_width">
1501 <condition var1="tw_partition_ext" op="=" var2="1"/>
1502 <placement x="%col1_x_left%" y="%row11_y%"/>
1503 <text>EXT2</text>
1504 <actions>
1505 <action function="set">tw_back=refreshfilesystem</action>
1506 <action function="set">tw_action=changefilesystem</action>
1507 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1508 <action function="set">tw_action_new_file_system=ext2</action>
1509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001510 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1511 <action function="set">tw_text2=EXT2</action>
1512 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1513 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1514 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">confirm_action</action>
1516 </actions>
1517 </button>
1518
1519 <button style="main_button_half_width">
1520 <condition var1="tw_partition_ext" op="=" var2="1"/>
1521 <placement x="%col2_x_left%" y="%row11_y%"/>
1522 <text>EXT3</text>
1523 <actions>
1524 <action function="set">tw_back=refreshfilesystem</action>
1525 <action function="set">tw_action=changefilesystem</action>
1526 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1527 <action function="set">tw_action_new_file_system=ext3</action>
1528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1530 <action function="set">tw_text2=EXT3</action>
1531 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1532 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1533 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001534 <action function="page">confirm_action</action>
1535 </actions>
1536 </button>
1537
1538 <button style="main_button_half_width">
1539 <condition var1="tw_partition_ext" op="=" var2="1"/>
1540 <placement x="%center_x%" y="%row11_y%"/>
1541 <text>EXT4</text>
1542 <actions>
1543 <action function="set">tw_back=refreshfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=ext4</action>
1547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1549 <action function="set">tw_text2=EXT4</action>
1550 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1551 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1552 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">confirm_action</action>
1554 </actions>
1555 </button>
1556
1557 <button style="main_button_half_width">
1558 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1559 <placement x="%col2_x_right%" y="%row11_y%"/>
1560 <text>FAT</text>
1561 <actions>
1562 <action function="set">tw_back=refreshfilesystem</action>
1563 <action function="set">tw_action=changefilesystem</action>
1564 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1565 <action function="set">tw_action_new_file_system=vfat</action>
1566 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001567 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1568 <action function="set">tw_text2=FAT</action>
1569 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1570 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1571 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001572 <action function="page">confirm_action</action>
1573 </actions>
1574 </button>
1575
1576 <button style="main_button_half_width">
1577 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1578 <placement x="%col2_x_left%" y="%row15a_y%"/>
1579 <text>exFAT</text>
1580 <actions>
1581 <action function="set">tw_back=refreshfilesystem</action>
1582 <action function="set">tw_action=changefilesystem</action>
1583 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1584 <action function="set">tw_action_new_file_system=exfat</action>
1585 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001586 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1587 <action function="set">tw_text2=exFAT</action>
1588 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1589 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1590 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <action function="page">confirm_action</action>
1592 </actions>
1593 </button>
1594
1595 <button style="main_button_half_width">
1596 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1597 <placement x="%center_x%" y="%row15a_y%"/>
1598 <text>F2FS</text>
1599 <actions>
1600 <action function="set">tw_back=refreshfilesystem</action>
1601 <action function="set">tw_action=changefilesystem</action>
1602 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1603 <action function="set">tw_action_new_file_system=f2fs</action>
1604 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001605 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1606 <action function="set">tw_text2=F2FS</action>
1607 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1608 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1609 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001610 <action function="page">confirm_action</action>
1611 </actions>
1612 </button>
1613
1614 <action>
1615 <touch key="home"/>
1616 <action function="page">main</action>
1617 </action>
1618
1619 <action>
1620 <touch key="back"/>
1621 <action function="page">partitionoptions</action>
1622 </action>
1623 </page>
1624
1625 <page name="backup">
1626 <template name="page"/>
1627
1628 <text style="text_l">
1629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001635 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001636 </text>
1637
1638 <text style="text_m_accent">
1639 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <placement x="%col1_x_left%" y="%row3_y%"/>
1645 <text>%tw_backup_name%</text>
1646 </text>
1647
1648 <fill color="%fileselector_linecolor%">
1649 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1650 </fill>
1651
1652 <button>
1653 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1654 <fill color="%transparent%"/>
1655 <actions>
1656 <action function="set">tw_fileexists=0</action>
1657 <action function="page">backupname1</action>
1658 </actions>
1659 </button>
1660
1661 <partitionlist>
1662 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 <data name="tw_backup_list"/>
1665 <listtype name="backup"/>
1666 </partitionlist>
1667
1668 <text style="text_m_accent">
1669 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <conditions>
1675 <condition var1="tw_include_encrypted_backup" var2="1"/>
1676 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001677 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001678 </conditions>
1679 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </text>
1682
1683 <text style="text_m">
1684 <conditions>
1685 <condition var1="tw_include_encrypted_backup" var2="1"/>
1686 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001687 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001688 </conditions>
1689 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <fill color="%fileselector_linecolor%">
1694 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1695 </fill>
1696
1697 <button>
1698 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1699 <fill color="%transparent%"/>
1700 <actions>
1701 <action function="set">tw_password_not_match=0</action>
1702 <action function="page">backupencryption</action>
1703 </actions>
1704 </button>
1705
1706 <text style="text_m_accent">
1707 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 </text>
1710
1711 <checkbox>
1712 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001713 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001714 <data variable="tw_use_compression"/>
1715 </checkbox>
1716
1717 <checkbox>
1718 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001719 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1720 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001721 </checkbox>
1722
1723 <checkbox>
1724 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001725 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001726 <data variable="tw_disable_free_space"/>
1727 </checkbox>
1728
1729 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001730 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001732 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001733 <actions>
1734 <action function="set">tw_back=backup</action>
1735 <action function="overlay">select_storage</action>
1736 </actions>
1737 </button>
1738
1739 <button style="main_button_half_width">
1740 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001741 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001742 <actions>
1743 <action function="refreshsizes"/>
1744 <action function="page">backup</action>
1745 </actions>
1746 </button>
1747
1748 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001749 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001750 <action function="page">backup_run</action>
1751 </slider>
1752
1753 <action>
1754 <touch key="home"/>
1755 <action function="page">main</action>
1756 </action>
1757
1758 <action>
1759 <touch key="back"/>
1760 <action function="page">main</action>
1761 </action>
1762 </page>
1763
1764 <page name="backupname1">
1765 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <action function="generatebackupname"/>
1768 </action>
1769
1770 <action>
1771 <action function="page">backupname2</action>
1772 </action>
1773 </page>
1774
1775 <page name="backupname2">
1776 <template name="page"/>
1777
1778 <text style="text_l">
1779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001780 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001781 </text>
1782
1783 <text style="text_m">
1784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001786 </text>
1787
1788 <text style="text_m_accent">
1789 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <input>
1794 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1795 <text>%tw_backup_name%</text>
1796 <data name="tw_backup_name"/>
1797 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1798 <actions>
1799 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1800 <action function="set">tw_existpage=backupname2</action>
1801 <action function="set">tw_notexistpage=backup</action>
1802 <action function="page">filecheck</action>
1803 </actions>
1804 </input>
1805
1806 <fill color="%accent_color%">
1807 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1808 </fill>
1809
1810 <fill color="%text_fail_color%">
1811 <condition var1="tw_fileexists" var2="1"/>
1812 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1813 </fill>
1814
1815 <text style="text_m_fail">
1816 <condition var1="tw_fileexists" var2="1"/>
1817 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001818 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001819 </text>
1820
1821 <button style="main_button_half_width_low">
1822 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001823 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001824 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001826 <action function="page">backup</action>
1827 </actions>
1828 </button>
1829
1830 <button style="main_button_half_width_low">
1831 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001832 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001833 <action function="appenddatetobackupname"/>
1834 </button>
1835
1836 <template name="keyboardtemplate"/>
1837
1838 <action>
1839 <touch key="home"/>
1840 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001842 <action function="page">main</action>
1843 </actions>
1844 </action>
1845
1846 <action>
1847 <touch key="back"/>
1848 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001850 <action function="page">backup</action>
1851 </actions>
1852 </action>
1853 </page>
1854
1855 <page name="backupencryption">
1856 <template name="page"/>
1857
1858 <text style="text_l">
1859 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001860 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001861 </text>
1862
1863 <text style="text_m">
1864 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001865 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001866 </text>
1867
1868 <text style="text_m_accent">
1869 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <input>
1874 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1875 <text>%tw_backup_encrypt_display%</text>
1876 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1877 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1878 <action function="page">backupencryption2</action>
1879 </input>
1880
1881 <fill color="%accent_color%">
1882 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1883 </fill>
1884
1885 <fill color="%text_fail_color%">
1886 <condition var1="tw_password_not_match" var2="1"/>
1887 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1888 </fill>
1889
1890 <text style="text_m_fail">
1891 <condition var1="tw_password_not_match" var2="1"/>
1892 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <button style="main_button_half_width_low">
1897 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 <actions>
1900 <action function="set">tw_encrypt_backup=0</action>
1901 <action function="set">tw_backup_password=</action>
1902 <action function="set">tw_backup_password2=</action>
1903 <action function="set">tw_backup_encrypt_display=</action>
1904 <action function="set">tw_backup_encrypt_display2=</action>
1905 <action function="page">backup</action>
1906 </actions>
1907 </button>
1908
1909 <template name="keyboardtemplate"/>
1910
1911 <action>
1912 <touch key="home"/>
1913 <action function="page">main</action>
1914 </action>
1915
1916 <action>
1917 <touch key="back"/>
1918 <action function="page">backup</action>
1919 </action>
1920 </page>
1921
1922 <page name="backupencryption2">
1923 <template name="page"/>
1924
1925 <text style="text_l">
1926 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001928 </text>
1929
1930 <text style="text_m">
1931 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001933 </text>
1934
1935 <text style="text_m_accent">
1936 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </text>
1939
1940 <input>
1941 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1942 <text>%tw_backup_encrypt_display2%</text>
1943 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1944 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1945 <action function="page">checkbackuppassword</action>
1946 </input>
1947
1948 <fill color="%accent_color%">
1949 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1950 </fill>
1951
1952 <text style="text_m">
1953 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001954 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001955 </text>
1956
1957 <button style="main_button_half_width_low">
1958 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001959 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001960 <actions>
1961 <action function="set">tw_encrypt_backup=0</action>
1962 <action function="set">tw_backup_password=</action>
1963 <action function="set">tw_backup_password2=</action>
1964 <action function="set">tw_backup_encrypt_display=</action>
1965 <action function="set">tw_backup_encrypt_display2=</action>
1966 <action function="page">backup</action>
1967 </actions>
1968 </button>
1969
1970 <template name="keyboardtemplate"/>
1971
1972 <action>
1973 <touch key="home"/>
1974 <action function="page">main</action>
1975 </action>
1976
1977 <action>
1978 <touch key="back"/>
1979 <action function="page">backup</action>
1980 </action>
1981 </page>
1982
1983 <page name="checkbackuppassword">
1984 <action>
1985 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1986 <actions>
1987 <action function="set">tw_encrypt_backup=1</action>
1988 <action function="page">backup</action>
1989 </actions>
1990 </action>
1991
1992 <action>
1993 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1994 <actions>
1995 <action function="set">tw_encrypt_backup=0</action>
1996 <action function="set">tw_password_not_match=1</action>
1997 <action function="set">tw_backup_password=</action>
1998 <action function="set">tw_backup_password2=</action>
1999 <action function="set">tw_backup_encrypt_display=</action>
2000 <action function="set">tw_backup_encrypt_display2=</action>
2001 <action function="page">backupencryption</action>
2002 </actions>
2003 </action>
2004 </page>
2005
2006 <page name="backup_run">
2007 <template name="page"/>
2008
2009 <text style="text_l">
2010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2011 <text>%tw_operation%</text>
2012 </text>
2013
2014 <text style="text_m">
2015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2016 <text>%tw_partition% Partition</text>
2017 </text>
2018
2019 <template name="console"/>
2020
2021 <template name="progress_bar"/>
2022
2023 <text style="text_m_accent">
2024 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002025 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002026 </text>
2027
2028 <text style="text_m">
2029 <placement x="%progress_text_x%" y="%row17_y%"/>
2030 <text>%tw_file_progress%</text>
2031 </text>
2032
2033 <text style="text_m">
2034 <placement x="%progress_text_x%" y="%row18_y%"/>
2035 <text>%tw_size_progress%</text>
2036 </text>
2037
2038 <button style="main_button_half_width">
2039 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002040 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002041 <action function="cancelbackup"/>
2042 </button>
2043
2044 <action>
2045 <action function="nandroid">backup</action>
2046 </action>
2047
2048 <action>
2049 <condition var1="tw_operation_state" var2="1"/>
2050 <condition var1="tw_cancel_backup" var2="0"/>
2051 <actions>
2052 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002054 <action function="set">tw_show_reboot=1</action>
2055 <action function="page">action_complete</action>
2056 </actions>
2057 </action>
2058
2059 <action>
2060 <condition var1="tw_operation_state" var2="1"/>
2061 <condition var1="tw_cancel_backup" var2="1"/>
2062 <actions>
2063 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002065 <action function="set">tw_show_reboot=1</action>
2066 <action function="page">action_complete</action>
2067 </actions>
2068 </action>
2069 </page>
2070
2071 <page name="restore">
2072 <template name="page"/>
2073
2074 <text style="text_l">
2075 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002076 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002077 </text>
2078
2079 <text style="text_m">
2080 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002081 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002082 </text>
2083
2084 <template name="sort_options"/>
2085
2086 <fileselector>
2087 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002089 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002090 <path name="tw_backups_folder"/>
2091 <data name="tw_restore" default=""/>
2092 <selection name="tw_restore_name"/>
2093 </fileselector>
2094
2095 <button style="main_button_half_width_low">
2096 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002097 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002098 <actions>
2099 <action function="set">tw_back=restore</action>
2100 <action function="overlay">select_storage</action>
2101 </actions>
2102 </button>
2103
2104 <action>
2105 <condition var1="tw_restore" op="modified"/>
2106 <actions>
2107 <action function="readBackup"/>
2108 <action function="page">restore_read</action>
2109 </actions>
2110 </action>
2111
2112 <action>
2113 <touch key="home"/>
2114 <action function="page">main</action>
2115 </action>
2116
2117 <action>
2118 <touch key="back"/>
2119 <action function="page">main</action>
2120 </action>
2121 </page>
2122
2123 <page name="restore_read">
2124 <action>
2125 <condition var1="tw_restore_encrypted" var2="1"/>
2126 <actions>
2127 <action function="set">tw_password_fail=0</action>
2128 <action function="page">restore_decrypt</action>
2129 </actions>
2130 </action>
2131
2132 <action>
2133 <condition var1="tw_restore_encrypted" var2="0"/>
2134 <actions>
2135 <action function="page">restore_select</action>
2136 </actions>
2137 </action>
2138 </page>
2139
2140 <page name="restore_decrypt">
2141 <template name="page"/>
2142
2143 <text style="text_l">
2144 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002145 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </text>
2147
2148 <text style="text_m">
2149 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002150 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002151 </text>
2152
2153 <text style="text_m_accent">
2154 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002155 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002156 </text>
2157
2158 <input>
2159 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2160 <text>%tw_restore_display%</text>
2161 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2162 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2163 <action function="page">try_restore_decrypt</action>
2164 </input>
2165
2166 <fill color="%accent_color%">
2167 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2168 </fill>
2169
2170 <fill color="%text_fail_color%">
2171 <condition var1="tw_password_fail" var2="1"/>
2172 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2173 </fill>
2174
2175 <text style="text_m_fail">
2176 <condition var1="tw_password_fail" var2="1"/>
2177 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002178 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002179 </text>
2180
2181 <button style="main_button_half_width_low">
2182 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002183 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <actions>
2185 <action function="set">tw_page_done=1</action>
2186 <action function="page">restore</action>
2187 </actions>
2188 </button>
2189
2190 <button style="main_button_half_width_low">
2191 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002192 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002193 <actions>
2194 <action function="set">tw_back=restore</action>
2195 <action function="set">tw_action=cmd</action>
2196 <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 -05002197 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2198 <action function="set">tw_text2=%tw_restore_name%</action>
2199 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2200 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2201 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2202 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002203 <action function="page">confirm_action</action>
2204 </actions>
2205 </button>
2206
2207 <template name="keyboardtemplate"/>
2208
2209 <action>
2210 <touch key="home"/>
2211 <action function="page">main</action>
2212 </action>
2213
2214 <action>
2215 <touch key="back"/>
2216 <action function="page">restore</action>
2217 </action>
2218 </page>
2219
2220 <page name="try_restore_decrypt">
2221 <template name="page"/>
2222
2223 <text style="text_l">
2224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <text style="text_m">
2229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <template name="console"/>
2234
2235 <template name="progress_bar"/>
2236
2237 <action>
2238 <action function="decrypt_backup"/>
2239 </action>
2240
2241 <action>
2242 <conditions>
2243 <condition var1="tw_operation_state" var2="1"/>
2244 <condition var1="tw_operation_status" op="!=" var2="0"/>
2245 </conditions>
2246 <actions>
2247 <action function="set">tw_password_fail=1</action>
2248 <action function="page">restore_decrypt</action>
2249 </actions>
2250 </action>
2251
2252 <action>
2253 <conditions>
2254 <condition var1="tw_operation_state" var2="1"/>
2255 <condition var1="tw_operation_status" op="=" var2="0"/>
2256 </conditions>
2257 <actions>
2258 <action function="set">tw_page_done=1</action>
2259 <action function="page">restore_select</action>
2260 </actions>
2261 </action>
2262 </page>
2263
2264 <page name="restore_select">
2265 <template name="page"/>
2266
2267 <text style="text_l">
2268 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002269 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002270 </text>
2271
2272 <text style="text_m">
2273 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002274 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002275 </text>
2276
2277 <text style="text_m_accent">
2278 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </text>
2281
2282 <text style="text_m">
2283 <placement x="%col1_x_left%" y="%row3_y%"/>
2284 <text>%tw_restore_name%</text>
2285 </text>
2286
2287 <fill color="%fileselector_linecolor%">
2288 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2289 </fill>
2290
2291 <button>
2292 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2293 <fill color="%transparent%"/>
2294 <actions>
2295 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2296 <action function="set">tw_fileexists=0</action>
2297 <action function="page">renamebackup</action>
2298 </actions>
2299 </button>
2300
2301 <partitionlist>
2302 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002303 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002304 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2305 <listtype name="restore"/>
2306 </partitionlist>
2307
2308 <text style="text_m_accent">
2309 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 </text>
2312
2313 <checkbox>
2314 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002315 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002316 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2317 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </checkbox>
2319
2320 <button style="main_button_half_width">
2321 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 <actions>
2324 <action function="set">tw_back=restore</action>
2325 <action function="set">tw_action=cmd</action>
2326 <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 -05002327 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002328 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2330 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2331 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2332 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002333 <action function="page">confirm_action</action>
2334 </actions>
2335 </button>
2336
2337 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002338 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002339 <action function="page">restore_run</action>
2340 </slider>
2341
2342 <action>
2343 <touch key="home"/>
2344 <action function="page">main</action>
2345 </action>
2346
2347 <action>
2348 <touch key="back"/>
2349 <action function="page">restore</action>
2350 </action>
2351 </page>
2352
2353 <page name="renamebackup">
2354 <template name="page"/>
2355
2356 <text style="text_l">
2357 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <text style="text_m">
2362 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <text style="text_m_accent">
2367 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <input>
2372 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2373 <text>%tw_backup_rename%</text>
2374 <data name="tw_backup_rename"/>
2375 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2376 <actions>
2377 <action function="set">tw_back=restore</action>
2378 <action function="set">tw_action=cmd</action>
2379 <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 -05002380 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2381 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2382 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2383 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2384 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002385 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2386 <action function="set">tw_existpage=renamebackup</action>
2387 <action function="set">tw_notexistpage=confirm_action</action>
2388 <action function="page">filecheck</action>
2389 </actions>
2390 </input>
2391
2392 <fill color="%accent_color%">
2393 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2394 </fill>
2395
2396 <fill color="%text_fail_color%">
2397 <condition var1="tw_fileexists" var2="1"/>
2398 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2399 </fill>
2400
2401 <text style="text_m_fail">
2402 <condition var1="tw_fileexists" var2="1"/>
2403 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 </text>
2406
2407 <button style="main_button_half_width_low">
2408 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002410 <action function="page">restore_select</action>
2411 </button>
2412
2413 <template name="keyboardtemplate"/>
2414
2415 <action>
2416 <touch key="home"/>
2417 <action function="page">main</action>
2418 </action>
2419
2420 <action>
2421 <touch key="back"/>
2422 <action function="page">restore_select</action>
2423 </action>
2424 </page>
2425
2426 <page name="restore_run">
2427 <template name="page"/>
2428
2429 <text style="text_l">
2430 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002431 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002432 </text>
2433
2434 <text style="text_m">
2435 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2436 <text>%tw_operation% %tw_partition%</text>
2437 </text>
2438
2439 <template name="console"/>
2440
2441 <template name="progress_bar"/>
2442
2443 <text style="text_m_accent">
2444 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 </text>
2447
2448 <text style="text_m">
2449 <placement x="%progress_text_x%" y="%row18_y%"/>
2450 <text>%tw_size_progress%</text>
2451 </text>
2452
2453 <action>
2454 <condition var1="tw_operation_state" var2="1"/>
2455 <actions>
2456 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002457 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002458 <action function="set">tw_show_reboot=1</action>
2459 <action function="page">action_complete</action>
2460 </actions>
2461 </action>
2462
2463 <action>
2464 <action function="nandroid">restore</action>
2465 </action>
2466 </page>
2467
2468 <page name="mount">
2469 <template name="page"/>
2470
2471 <text style="text_l">
2472 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002473 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002474 </text>
2475
2476 <text style="text_m">
2477 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002478 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002479 </text>
2480
2481 <partitionlist>
2482 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002483 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002484 <listtype name="mount"/>
2485 </partitionlist>
2486
2487 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002488 <conditions>
2489 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2490 <condition var1="tw_is_super" op="=" var2="0"/>
2491 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002492 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 <image resource="checkbox_false"/>
2495 <action function="mountsystemtoggle">1</action>
2496 </button>
2497
2498 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002499 <conditions>
2500 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2501 <condition var1="tw_is_super" op="=" var2="0"/>
2502 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002503 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002504 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002505 <image resource="checkbox_true"/>
2506 <actions>
2507 <action function="set">tw_lifetime_writes=2</action>
2508 <action function="page">system_readonly_check</action>
2509 </actions>
2510 </button>
2511
2512 <button style="main_button_half_width">
2513 <condition var1="tw_has_usb_storage" var2="1"/>
2514 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 <action function="page">usb_mount</action>
2517 </button>
2518
2519 <button style="main_button_half_width">
2520 <conditions>
2521 <condition var1="tw_is_encrypted" var2="1"/>
2522 <condition var1="tw_is_decrypted" var2="0"/>
2523 </conditions>
2524 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="page">decrypt</action>
2527 </button>
2528
2529 <button style="main_button_half_width">
2530 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002531 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002532 <actions>
2533 <action function="set">tw_back=mount</action>
2534 <action function="overlay">select_storage</action>
2535 </actions>
2536 </button>
2537
2538 <button style="main_button_half_width">
2539 <conditions>
2540 <condition var1="tw_has_mtp" var2="1"/>
2541 <condition var1="tw_mtp_enabled" var2="0"/>
2542 </conditions>
2543 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <action function="startmtp"/>
2546 </button>
2547
2548 <button style="main_button_half_width">
2549 <conditions>
2550 <condition var1="tw_has_mtp" var2="1"/>
2551 <condition var1="tw_mtp_enabled" var2="1"/>
2552 </conditions>
2553 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <action function="stopmtp"/>
2556 </button>
2557
2558 <action>
2559 <touch key="home"/>
2560 <action function="page">main</action>
2561 </action>
2562
2563 <action>
2564 <touch key="back"/>
2565 <action function="page">main</action>
2566 </action>
2567 </page>
2568
2569 <page name="usb_mount">
2570 <template name="page"/>
2571
2572 <text style="text_l">
2573 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002574 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002575 </text>
2576
2577 <text style="text_m">
2578 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002579 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002580 </text>
2581
2582 <text style="text_m_accent">
2583 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 </text>
2586
2587 <text style="text_m">
2588 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 </text>
2591
2592 <text style="text_m">
2593 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 </text>
2596
2597 <button style="main_button_half_width">
2598 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 <action function="page">usb_umount</action>
2601 </button>
2602
2603 <action>
2604 <action function="mount">usb</action>
2605 <action function="set">tw_busy=1</action>
2606 </action>
2607 </page>
2608
2609 <page name="usb_umount">
2610 <action>
2611 <action function="unmount">usb</action>
2612 </action>
2613
2614 <action>
2615 <action function="page">mount</action>
2616 <action function="set">tw_busy=0</action>
2617 </action>
2618 </page>
2619
2620 <page name="system_readonly_check">
2621 <action>
2622 <action function="checkpartitionlifetimewrites">/system</action>
2623 </action>
2624
2625 <action>
2626 <condition var1="tw_lifetime_writes" var2="1"/>
2627 <actions>
2628 <action function="mountsystemtoggle">0</action>
2629 <action function="page">mount</action>
2630 </actions>
2631 </action>
2632
2633 <action>
2634 <condition var1="tw_lifetime_writes" var2="0"/>
2635 <actions>
2636 <action function="set">tw_back=mount</action>
2637 <action function="page">system_readonly</action>
2638 </actions>
2639 </action>
2640 </page>
2641
2642 <page name="reboot">
2643 <template name="page"/>
2644
2645 <text style="text_l">
2646 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002647 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002648 </text>
2649
2650 <button style="main_button">
2651 <condition var1="tw_reboot_system" var2="1"/>
2652 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 <actions>
2655 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002656 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002657 </actions>
2658 </button>
2659
2660 <button style="main_button">
2661 <condition var1="tw_reboot_poweroff" var2="1"/>
2662 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002663 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002664 <actions>
2665 <action function="set">tw_back=reboot</action>
2666 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002667 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002668 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002669 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002670 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2671 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2672 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2673 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2674 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002675 <action function="page">rebootcheck</action>
2676 </actions>
2677 </button>
2678
2679 <button style="main_button">
2680 <condition var1="tw_reboot_recovery" var2="1"/>
2681 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002683 <actions>
2684 <action function="set">tw_back=reboot</action>
2685 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002686 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002687 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002688 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2690 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2691 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2692 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2693 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002694 <action function="page">rebootcheck</action>
2695 </actions>
2696 </button>
2697
2698 <button style="main_button">
2699 <condition var1="tw_reboot_bootloader" var2="1"/>
2700 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002701 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002702 <actions>
2703 <action function="set">tw_back=reboot</action>
2704 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002705 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002706 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002707 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2709 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2710 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2711 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2712 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002713 <action function="page">rebootcheck</action>
2714 </actions>
2715 </button>
2716
2717 <button style="main_button">
2718 <condition var1="tw_download_mode" var2="1"/>
2719 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002720 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002721 <actions>
2722 <action function="set">tw_back=reboot</action>
2723 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002724 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002725 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002726 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002727 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2728 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2729 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2730 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2731 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002732 <action function="page">rebootcheck</action>
2733 </actions>
2734 </button>
2735
mauronofrioe9a49ef2018-10-03 13:38:16 +02002736 <button style="main_button">
2737 <condition var1="tw_edl_mode" var2="1"/>
2738 <placement x="%center_x%" y="%row11_y%"/>
2739 <text>{@rb_edl_btn=Edl}</text>
2740 <actions>
2741 <action function="set">tw_back=reboot</action>
2742 <action function="set">tw_action=reboot</action>
2743 <action function="set">tw_action_param=edl</action>
2744 <action function="set">tw_reboot_param=edl</action>
2745 <action function="set">tw_has_action2=0</action>
2746 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2747 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2748 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2749 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2750 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2751 <action function="page">rebootcheck</action>
2752 </actions>
2753 </button>
2754
z31s1g28f0a922015-11-07 18:50:22 +01002755 <action>
2756 <touch key="home"/>
2757 <action function="page">main</action>
2758 </action>
2759
2760 <action>
2761 <touch key="back"/>
2762 <action function="page">main</action>
2763 </action>
2764 </page>
2765
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002766 <page name="rebootapp">
2767 <template name="page"/>
2768
2769 <text style="text_l">
2770 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2771 <text>{@reboot_hdr=Reboot}</text>
2772 </text>
2773
2774 <text style="text_m">
2775 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2776 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2777 </text>
2778
2779 <text style="text_m_accent">
2780 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2781 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2782 </text>
2783
2784 <text style="text_m_accent">
2785 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2786 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2787 </text>
2788
2789 <checkbox>
2790 <placement x="%indent%" y="%row5_y%"/>
2791 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2792 <data variable="tw_app_prompt"/>
2793 </checkbox>
2794
2795 <checkbox>
2796 <condition var1="tw_mount_system_ro" var2="0"/>
2797 <placement x="%indent%" y="%row7_y%"/>
2798 <text>{@reboot_install_app_system=Install as a System App}</text>
2799 <data variable="tw_app_install_system"/>
2800 </checkbox>
2801
2802 <button style="main_button_half_width">
2803 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002804 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002805 <action function="reboot">%tw_reboot_param%</action>
2806 </button>
2807
2808 <slider>
2809 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2810 <actions>
2811 <action function="set">tw_back=reboot</action>
2812 <action function="set">tw_action=installapp</action>
2813 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2814 <action function="set">tw_action_text2=</action>
2815 <action function="set">tw_has_action2=1</action>
2816 <action function="set">tw_action2=reboot</action>
2817 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2818 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2819 <action function="page">action_page</action>
2820 </actions>
2821 </slider>
2822
2823 <action>
2824 <touch key="home"/>
2825 <actions>
2826 <action function="set">tw_app_install_status=0</action>
2827 <action function="page">main</action>
2828 </actions>
2829 </action>
2830
2831 <action>
2832 <touch key="back"/>
2833 <actions>
2834 <action function="set">tw_app_install_status=0</action>
2835 <action function="page">reboot</action>
2836 </actions>
2837 </action>
2838 </page>
2839
z31s1g28f0a922015-11-07 18:50:22 +01002840 <page name="system_readonly">
2841 <template name="page"/>
2842
2843 <text style="text_l">
2844 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 </text>
2847
2848 <text style="text_m_accent">
2849 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002850 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002851 </text>
2852
2853 <text style="text_m">
2854 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002855 <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 +01002856 </text>
2857
2858 <text style="text_m">
2859 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <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 +01002861 </text>
2862
2863 <text style="text_m_fail">
2864 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002866 </text>
2867
2868 <checkbox>
2869 <condition var1="tw_is_encrypted" var2="0"/>
2870 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002872 <data variable="tw_never_show_system_ro_page"/>
2873 </checkbox>
2874
2875 <button style="main_button_half_width">
2876 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002878 <actions>
2879 <action function="mountsystemtoggle">1</action>
2880 <action function="set">tw_page_done=1</action>
2881 <action function="page">%tw_back%</action>
2882 </actions>
2883 </button>
2884
z31s1g608d7ff2016-01-18 19:47:25 +01002885 <button style="main_button_half_width">
2886 <placement x="%col2_x_left%" y="%row15a_y%"/>
2887 <text>{@sel_lang_btn=Select Language}</text>
2888 <action function="overlay">select_language</action>
2889 </button>
2890
z31s1g28f0a922015-11-07 18:50:22 +01002891 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002893 <actions>
2894 <action function="mountsystemtoggle">0</action>
2895 <action function="set">tw_page_done=1</action>
2896 <action function="page">%tw_back%</action>
2897 </actions>
2898 </slider>
2899 </page>
2900
2901 <page name="settings">
2902 <template name="page"/>
2903
2904 <text style="text_l">
2905 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002906 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002907 </text>
2908
2909 <text style="text_m">
2910 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002912 </text>
2913
2914 <template name="tabs_settings"/>
2915
2916 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002917 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002918 </fill>
2919
2920 <listbox style="scrolllist">
2921 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2922 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002923 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002924 <data variable="tw_signed_zip_verify"/>
2925 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002926 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2927 <data variable="tw_install_reboot"/>
2928 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002929 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002930 <data variable="tw_rm_rf"/>
2931 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002932 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2933 <data variable="tw_disable_free_space"/>
2934 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002935 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2936 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002937 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002938 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2939 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002940 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002942 <data variable="tw_military_time"/>
2943 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002944 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2945 <data variable="tw_app_prompt"/>
2946 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002948 <data variable="tw_simulate_actions"/>
2949 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002951 <condition var1="tw_simulate_actions" var2="1"/>
2952 <data variable="tw_simulate_fail"/>
2953 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002954 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2955 <condition var1="tw_no_sha2" var2="0"/>
2956 <data variable="tw_use_sha2"/>
2957 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01002958 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
2959 <data variable="tw_unmount_system"/>
2960 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002961 </listbox>
2962
2963 <checkbox>
2964 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 <data variable="tw_samsung_navbar"/>
2967 </checkbox>
2968
2969 <button style="radiobutton">
2970 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2971 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002972 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002973 <image resource="radio_false"/>
2974 <action function="set">tw_navbar_button_position=0</action>
2975 </button>
2976
2977 <button style="radiobutton">
2978 <condition var1="tw_navbar_button_position" var2="0"/>
2979 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 <image resource="radio_true"/>
2982 <action function="set">tw_navbar_button_position=0</action>
2983 </button>
2984
2985 <button style="radiobutton">
2986 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2987 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <image resource="radio_false"/>
2990 <action function="set">tw_navbar_button_position=1</action>
2991 </button>
2992
2993 <button style="radiobutton">
2994 <condition var1="tw_navbar_button_position" var2="1"/>
2995 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 <image resource="radio_true"/>
2998 <action function="set">tw_navbar_button_position=1</action>
2999 </button>
3000
3001 <button style="radiobutton">
3002 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3003 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="radio_false"/>
3006 <action function="set">tw_navbar_button_position=2</action>
3007 </button>
3008
3009 <button style="radiobutton">
3010 <condition var1="tw_navbar_button_position" var2="2"/>
3011 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003012 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003013 <image resource="radio_true"/>
3014 <action function="set">tw_navbar_button_position=2</action>
3015 </button>
3016
3017 <button style="main_button_half_width">
3018 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <action function="restoredefaultsettings"/>
3021 </button>
3022
3023 <action>
3024 <touch key="home"/>
3025 <action function="page">main</action>
3026 </action>
3027
3028 <action>
3029 <touch key="back"/>
3030 <action function="page">main</action>
3031 </action>
3032 </page>
3033
3034 <page name="settings_timezone">
3035 <template name="page"/>
3036
3037 <text style="text_l">
3038 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003039 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003040 </text>
3041
3042 <text style="text_m">
3043 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003044 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003045 </text>
3046
3047 <template name="tabs_settings"/>
3048
3049 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003051 </fill>
3052
3053 <listbox>
3054 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3058 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3059 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3060 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3061 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3062 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3063 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3064 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3065 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3066 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3067 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3068 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3069 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3070 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3071 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3072 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3073 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3074 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3075 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3076 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3077 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3078 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3079 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3080 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </listbox>
3082
3083 <text style="text_m_accent">
3084 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </text>
3087
3088 <button style="button_quarter_width">
3089 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <action function="set">tw_time_zone_guioffset=0</action>
3092 </button>
3093
3094 <button style="button_quarter_width">
3095 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003097 <action function="set">tw_time_zone_guioffset=15</action>
3098 </button>
3099
3100 <button style="button_quarter_width">
3101 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <action function="set">tw_time_zone_guioffset=30</action>
3104 </button>
3105
3106 <button style="button_quarter_width">
3107 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <action function="set">tw_time_zone_guioffset=45</action>
3110 </button>
3111
3112 <checkbox>
3113 <placement x="%col1_x_right%" y="%row7_y%"/>
3114 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 <data variable="tw_time_zone_guidst"/>
3117 <image checked="checkbox_true" unchecked="checkbox_false"/>
3118 </checkbox>
3119
3120 <text color="%text_color%">
3121 <font resource="font_m"/>
3122 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003124 </text>
3125
3126 <button>
3127 <highlight color="%highlight_color%"/>
3128 <placement x="%col2_x_right%" y="%row15a_y%"/>
3129 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003131 <image resource="main_button_half_width"/>
3132 <action function="setguitimezone"/>
3133 </button>
3134
3135 <action>
3136 <touch key="home"/>
3137 <action function="page">main</action>
3138 </action>
3139
3140 <action>
3141 <touch key="back"/>
3142 <action function="page">main</action>
3143 </action>
3144 </page>
3145
3146 <page name="settings_screen">
3147 <template name="page"/>
3148
3149 <text style="text_l">
3150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 </text>
3153
3154 <text style="text_m">
3155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 </text>
3158
3159 <template name="tabs_settings"/>
3160
3161 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003163 </fill>
3164
3165 <button>
3166 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3167 <font resource="font_m" color="%text_color%"/>
3168 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3169 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003170 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003171 <image resource="checkbox_false"/>
3172 <action function="set">tw_screen_timeout_secs=60</action>
3173 </button>
3174
3175 <button>
3176 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3177 <font resource="font_m" color="%text_color%"/>
3178 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3179 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 <image resource="checkbox_true"/>
3182 <action function="set">tw_screen_timeout_secs=0</action>
3183 </button>
3184
3185 <slidervalue>
3186 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3187 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3188 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3191 </slidervalue>
3192
3193 <slidervalue>
3194 <condition var1="tw_has_brightnesss_file" var2="1"/>
3195 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 <data variable="tw_brightness_pct" min="10" max="100"/>
3198 <actions>
3199 <action function="set">tw_brightness=%tw_brightness_max%</action>
3200 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3201 <action function="compute">tw_brightness/100</action>
3202 <action function="setbrightness">%tw_brightness%</action>
3203 </actions>
3204 </slidervalue>
3205
3206 <action>
3207 <touch key="home"/>
3208 <action function="page">main</action>
3209 </action>
3210
3211 <action>
3212 <touch key="back"/>
3213 <action function="page">main</action>
3214 </action>
3215 </page>
3216
3217 <page name="settings_vibration">
3218 <template name="page"/>
3219
3220 <text style="text_l">
3221 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003222 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003223 </text>
3224
3225 <text style="text_m">
3226 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 </text>
3229
3230 <template name="tabs_settings"/>
3231
3232 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003234 </fill>
3235
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003236 <text style="text_m">
3237 <condition var1="tw_disable_haptics" var2="1"/>
3238 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3239 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3240 </text>
3241
z31s1g28f0a922015-11-07 18:50:22 +01003242 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003243 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003244 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <data variable="tw_button_vibrate" min="0" max="300"/>
3247 </slidervalue>
3248
3249 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003250 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003251 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3254 </slidervalue>
3255
3256 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003257 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003258 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 <data variable="tw_action_vibrate" min="0" max="500"/>
3261 </slidervalue>
3262
3263 <action>
3264 <touch key="home"/>
3265 <action function="page">main</action>
3266 </action>
3267
3268 <action>
3269 <touch key="back"/>
3270 <action function="page">main</action>
3271 </action>
3272 </page>
3273
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <page name="settings_language">
3275 <template name="page"/>
3276
3277 <text style="text_l">
3278 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3279 <text>{@settings_hdr=Settings}</text>
3280 </text>
3281
3282 <text style="text_m">
3283 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3284 <text>{@language_hdr=Language - %tw_language_display%}</text>
3285 </text>
3286
3287 <template name="tabs_settings"/>
3288
3289 <fill color="%text_color%">
3290 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3291 </fill>
3292
3293 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003294 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@select_language=Select Language:}</text>
3296 <icon selected="radio_true" unselected="radio_false" />
3297 <data name="tw_language" />
3298 </listbox>
3299
z31s1g56189522016-01-13 19:12:40 +01003300 <button>
3301 <highlight color="%highlight_color%"/>
3302 <placement x="%col2_x_right%" y="%row15a_y%"/>
3303 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003305 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003306 <action function="setlanguage"></action>
3307 </button>
3308
3309 <action>
3310 <touch key="home" />
3311 <action function="page">main</action>
3312 </action>
3313
3314 <action>
3315 <touch key="back" />
3316 <action function="page">settings</action>
3317 </action>
3318 </page>
3319
Matt Mower32676622017-01-18 18:56:13 -06003320 <page name="copylog">
3321 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003322
Matt Mower32676622017-01-18 18:56:13 -06003323 <text style="text_l">
3324 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3325 <text>{@copying_log=Copy Logs to SD Card}</text>
3326 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003327
Matt Mower32676622017-01-18 18:56:13 -06003328 <checkbox>
3329 <placement x="%indent%" y="%row4_y%"/>
3330 <text>{@include_kernel_log=Include Kernel Log}</text>
3331 <data variable="tw_include_kernel_log" value="1"/>
3332 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003333
Matt Mower32676622017-01-18 18:56:13 -06003334 <slider>
3335 <text>{@copying_log=Copy Logs to SD Card}</text>
3336 <actions>
3337 <action function="set">tw_back=advanced</action>
3338 <action function="set">tw_action=copylog</action>
3339 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3340 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3341 <action function="page">action_page</action>
3342 </actions>
3343 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003344
Matt Mower32676622017-01-18 18:56:13 -06003345 <action>
3346 <touch key="home"/>
3347 <action function="page">main</action>
3348 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003349
Matt Mower32676622017-01-18 18:56:13 -06003350 <action>
3351 <touch key="back"/>
3352 <actions>
3353 <action function="page">advanced</action>
3354 </actions>
3355 </action>
3356 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003357
z31s1g28f0a922015-11-07 18:50:22 +01003358 <page name="advanced">
3359 <template name="page"/>
3360
3361 <text style="text_l">
3362 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003364 </text>
3365
3366 <button style="main_button">
3367 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003368 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003369 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003370 </button>
3371
3372 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003373 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003374 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003375 <action function="page">filemanagerlist</action>
3376 </button>
3377
3378 <button style="main_button">
3379 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003381 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003382 </button>
3383
3384 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003385 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003386 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="page">sideload</action>
3388 </button>
3389
Ethan Yonker64e0a652018-07-25 09:52:17 -05003390 <listbox style="advanced_listbox">
3391 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
3392 <listitem name="{@reload_theme_btn=Reload Theme}">
3393 <action function="reload"/>
3394 </listitem>
3395 <listitem name="{@part_sd_btn=Partition SD Card}">
3396 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3397 <actions>
3398 <action function="set">partitionlisterror=0</action>
3399 <action function="page">partsdcardsel</action>
3400 </actions>
3401 </listitem>
3402 <listitem name="{@fix_context_btn=Fix Contexts}">
3403 <condition var1="tw_has_data_media" var2="1"/>
3404 <action function="page">fixcontexts</action>
3405 </listitem>
3406 <listitem name="{@dumlock_btn=HTC Dumlock}">
3407 <condition var1="tw_show_dumlock" var2="1"/>
3408 <action function="page">htcdumlock</action>
3409 </listitem>
3410 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3411 <condition var1="tw_has_injecttwrp" var2="1"/>
3412 <actions>
3413 <action function="set">tw_back=advanced</action>
3414 <action function="set">tw_action=reinjecttwrp</action>
3415 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3416 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3417 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3418 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3419 <action function="page">confirm_action</action>
3420 </actions>
3421 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003422 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3423 <conditions>
3424 <condition var1="tw_has_boot_slots" var2="1"/>
3425 <condition var1="tw_has_repack_tools" var2="1"/>
3426 </conditions>
3427 <actions>
3428 <action function="set">tw_repack_kernel=0</action>
3429 <action function="page">repackselect</action>
3430 </actions>
3431 </listitem>
3432 <listitem name="{@install_kernel=Install Kernel}">
3433 <conditions>
3434 <condition var1="tw_has_boot_slots" var2="1"/>
3435 <condition var1="tw_has_repack_tools" var2="1"/>
3436 </conditions>
3437 <actions>
3438 <action function="set">tw_repack_kernel=1</action>
3439 <action function="page">repackselect</action>
3440 </actions>
3441 </listitem>
3442 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3443 <conditions>
3444 <condition var1="tw_has_boot_slots" var2="1"/>
3445 <condition var1="tw_has_repack_tools" var2="1"/>
3446 </conditions>
3447 <actions>
3448 <action function="set">tw_back=advanced</action>
3449 <action function="set">tw_action=fixabrecoverybootloop</action>
3450 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3451 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3452 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3453 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3454 <action function="page">confirm_action</action>
3455 </actions>
3456 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003457 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3458 <condition var1="tw_app_installed_in_system" var2="1"/>
3459 <actions>
3460 <action function="set">tw_back=advanced</action>
3461 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3462 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3463 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3464 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3465 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3466 <action function="page">confirm_action</action>
3467 </actions>
3468 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003469 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003470
3471 <action>
3472 <touch key="home"/>
3473 <action function="page">main</action>
3474 </action>
3475
3476 <action>
3477 <touch key="back"/>
3478 <action function="page">main</action>
3479 </action>
3480 </page>
3481
Ethan Yonker483e9f42016-01-11 22:21:18 -06003482 <page name="partsdcardsel">
3483 <template name="page"/>
3484
3485 <text style="text_l">
3486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3487 <text>{@advanced_hdr=Advanced}</text>
3488 </text>
3489
3490 <text style="text_m">
3491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3492 <text>{@part_sd_hdr=Partition SD Card}</text>
3493 </text>
3494
z31s1g782e1c92016-01-30 16:50:09 +01003495 <partitionlist>
3496 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003497 <text>{@sel_storage_list=Select Storage}</text>
3498 <data name="tw_storage_path"/>
3499 <listtype name="storage"/>
3500 </partitionlist>
3501
z31s1g782e1c92016-01-30 16:50:09 +01003502 <text style="text_m_fail">
3503 <condition var1="partitionlisterror" var2="1"/>
3504 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3505 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3506 </text>
3507
3508 <button style="main_button_half_width">
3509 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003510 <text>{@ok_btn=OK}</text>
3511 <actions>
3512 <action function="getpartitiondetails">tw_storage_path</action>
3513 <action function="page">partsdcardcheck</action>
3514 </actions>
3515 </button>
3516
Ethan Yonker483e9f42016-01-11 22:21:18 -06003517 <action>
3518 <touch key="home"/>
3519 <action function="page">main</action>
3520 </action>
3521
3522 <action>
3523 <touch key="back"/>
3524 <action function="page">advanced</action>
3525 </action>
3526 </page>
3527
3528 <page name="partsdcardcheck">
3529 <action>
3530 <condition var1="tw_partition_removable" op="=" var2="1"/>
3531 <actions>
3532 <action function="set">partitionlisterror=0</action>
3533 <action function="page">partsdcard</action>
3534 </actions>
3535 </action>
3536
3537 <action>
3538 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3539 <actions>
3540 <action function="set">partitionlisterror=1</action>
3541 <action function="page">partsdcardsel</action>
3542 </actions>
3543 </action>
3544 </page>
3545
z31s1g28f0a922015-11-07 18:50:22 +01003546 <page name="partsdcard">
3547 <template name="page"/>
3548
3549 <text style="text_l">
3550 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 </text>
3553
3554 <text style="text_m">
3555 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003556 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003557 </text>
3558
3559 <text style="text_m_fail">
3560 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <text style="text_m_fail">
3565 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 </text>
3568
3569 <text style="text_m_accent">
3570 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </text>
3573
3574 <text style="text_m">
3575 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3576 <text>%tw_sdext_size%</text>
3577 </text>
3578
3579 <button style="button_quarter_width">
3580 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003582 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </button>
3584
3585 <button style="button_quarter_width">
3586 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003588 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </button>
3590
3591 <text style="text_m_accent">
3592 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </text>
3595
3596 <text style="text_m">
3597 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3598 <text>%tw_swap_size%</text>
3599 </text>
3600
3601 <button style="button_quarter_width">
3602 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003604 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </button>
3606
3607 <button style="button_quarter_width">
3608 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003610 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </button>
3612
3613 <text style="text_m_accent">
3614 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 </text>
3617
3618 <text style="text_m">
3619 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3620 <text>%tw_sdpart_file_system%</text>
3621 </text>
3622
3623 <button style="button_quarter_width">
3624 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3625 <text>EXT3</text>
3626 <action function="set">tw_sdpart_file_system=ext3</action>
3627 </button>
3628
3629 <button style="button_quarter_width">
3630 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3631 <text>EXT4</text>
3632 <action function="set">tw_sdpart_file_system=ext4</action>
3633 </button>
3634
3635 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <action function="page">partsdcardaction</action>
3638 <actions>
3639 <action function="set">tw_back=partsdcard</action>
3640 <action function="set">tw_action=partitionsd</action>
3641 <action function="set">tw_has_action2=1</action>
3642 <action function="set">tw_action2=set</action>
3643 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3645 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3646 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003647 <action function="page">action_page</action>
3648 </actions>
3649 </slider>
3650
3651 <action>
3652 <touch key="home"/>
3653 <action function="page">main</action>
3654 </action>
3655
3656 <action>
3657 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003658 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003659 </action>
3660 </page>
3661
3662 <page name="htcdumlock">
3663 <template name="page"/>
3664
3665 <text style="text_l">
3666 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </text>
3669
3670 <text style="text_m">
3671 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 </text>
3674
3675 <button style="main_button_m">
3676 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003678 <actions>
3679 <action function="set">tw_back=htcdumlock</action>
3680 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3682 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3683 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3684 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <action function="page">confirm_action</action>
3686 </actions>
3687 </button>
3688
3689 <button style="main_button_m">
3690 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003692 <actions>
3693 <action function="set">tw_back=htcdumlock</action>
3694 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3696 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3697 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3698 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003699 <action function="page">confirm_action</action>
3700 </actions>
3701 </button>
3702
3703 <button style="main_button_m">
3704 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003705 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003706 <actions>
3707 <action function="set">tw_back=htcdumlock</action>
3708 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003709 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3710 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3711 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3712 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003713 <action function="page">confirm_action</action>
3714 </actions>
3715 </button>
3716
3717 <action>
3718 <touch key="home"/>
3719 <action function="page">main</action>
3720 </action>
3721
3722 <action>
3723 <touch key="back"/>
3724 <action function="page">advanced</action>
3725 </action>
3726 </page>
3727
Ethan Yonker53796e72019-01-11 22:49:52 -06003728 <page name="repackselect">
3729 <template name="page"/>
3730
3731 <text style="text_l">
3732 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3733 <text>{@repack_image_hdr=Select Image}</text>
3734 </text>
3735
3736 <text style="text_m">
3737 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3738 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3739 </text>
3740
3741 <template name="sort_options"/>
3742
3743 <fileselector>
3744 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3745 <text>%tw_zip_location%</text>
3746 <filter extn=".img" folders="1" files="1"/>
3747 <path name="tw_zip_location" default="/sdcard"/>
3748 <data name="tw_filename"/>
3749 <selection name="tw_file"/>
3750 </fileselector>
3751
3752 <button style="main_button_half_width_low">
3753 <placement x="%col_button_right%" y="%row16a_y%"/>
3754 <text>{@select_storage_btn=Select Storage}</text>
3755 <actions>
3756 <action function="set">tw_back=install</action>
3757 <action function="overlay">select_storage</action>
3758 </actions>
3759 </button>
3760
3761 <action>
3762 <conditions>
3763 <condition var1="tw_filename" op="modified"/>
3764 </conditions>
3765 <action function="page">repackconfirm</action>
3766 </action>
3767
3768 <action>
3769 <touch key="back"/>
3770 <action function="page">advanced</action>
3771 </action>
3772
3773 <action>
3774 <touch key="home"/>
3775 <action function="page">main</action>
3776 </action>
3777 </page>
3778
3779 <page name="repackconfirm">
3780 <template name="page"/>
3781
3782 <text style="text_l">
3783 <condition var1="tw_repack_kernel" var2="1"/>
3784 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3785 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3786 </text>
3787
3788 <text style="text_l">
3789 <condition var1="tw_repack_kernel" var2="0"/>
3790 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3791 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3792 </text>
3793
3794 <text style="text_m">
3795 <condition var1="tw_repack_kernel" var2="1"/>
3796 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3797 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3798 </text>
3799
3800 <text style="text_m">
3801 <condition var1="tw_repack_kernel" var2="0"/>
3802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3803 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3804 </text>
3805
3806 <text style="text_m_accent">
3807 <placement x="%indent%" y="%row2_y%"/>
3808 <text>{@folder=Folder:}</text>
3809 </text>
3810
3811 <text style="text_m">
3812 <placement x="%indent%" y="%row3_y%"/>
3813 <text>%tw_zip_location%</text>
3814 </text>
3815
3816 <text style="text_m_accent">
3817 <placement x="%indent%" y="%row4_y%"/>
3818 <text>{@file=File:}</text>
3819 </text>
3820
3821 <text style="text_m">
3822 <placement x="%indent%" y="%row5_y%"/>
3823 <text>%tw_file%</text>
3824 </text>
3825
3826 <checkbox>
3827 <placement x="%indent%" y="%row7_y%"/>
3828 <text>{@repack_backup_first=Back up existing image first}</text>
3829 <data variable="tw_repack_backup_first"/>
3830 </checkbox>
3831
3832 <button style="main_button_half_width">
3833 <placement x="%col1_x_left%" y="%row15a_y%"/>
3834 <text>{@install_cancel=Do not Install}</text>
3835 <action function="page">repackselect</action>
3836 </button>
3837
3838 <slider style="slider_centered">
3839 <text>{@swipe_to_install=Swipe to Install}</text>
3840 <actions>
3841 <action function="set">tw_back=advanced</action>
3842 <action function="set">tw_action=repackimage</action>
3843 <action function="set">tw_action_param=/boot</action>
3844 <action function="set">tw_action_text1={@installing=Installing...}</action>
3845 <action function="set">tw_action_text2=</action>
3846 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3847 <action function="page">action_page</action>
3848 </actions>
3849 </slider>
3850
3851 <action>
3852 <touch key="back"/>
3853 <action function="page">repackselect</action>
3854 </action>
3855
3856 <action>
3857 <touch key="home"/>
3858 <action function="page">main</action>
3859 </action>
3860 </page>
3861
z31s1g28f0a922015-11-07 18:50:22 +01003862 <page name="lock">
3863 <background color="%semi_transparent%"/>
3864
3865 <image>
3866 <image resource="unlock_icon"/>
3867 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3868 </image>
3869
3870 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 <action function="overlay"/>
3873 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003874
3875 <action>
3876 <touch key="power"/>
3877 <action function="togglebacklight"/>
3878 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003879 </page>
3880
3881 <page name="filemanagerlist">
3882 <template name="page"/>
3883
3884 <text style="text_l">
3885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </text>
3888
3889 <text style="text_m">
3890 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 </text>
3893
3894 <template name="sort_options"/>
3895
3896 <fileselector>
3897 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3898 <text>%tw_file_location1%</text>
3899 <filter folders="1" files="1"/>
3900 <path name="tw_file_location1" default="/"/>
3901 <data name="tw_filename1"/>
3902 <selection name="tw_selection1"/>
3903 </fileselector>
3904
3905 <button style="main_button_half_width_low">
3906 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <actions>
3909 <action function="set">tw_filename1=tw_file_location1</action>
3910 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003912 <action function="page">filemanageroptions</action>
3913 </actions>
3914 </button>
3915
3916 <action>
3917 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003919 <action function="set">tw_fm_isfolder=0</action>
3920 </actions>
3921 </action>
3922
3923 <action>
3924 <touch key="home"/>
3925 <action function="page">main</action>
3926 </action>
3927
3928 <action>
3929 <touch key="back"/>
3930 <action function="page">advanced</action>
3931 </action>
3932
3933 <action>
3934 <condition var1="tw_filename1" op="modified"/>
3935 <action function="page">filemanageroptions</action>
3936 </action>
3937 </page>
3938
3939 <page name="filemanageroptions">
3940 <template name="page"/>
3941
3942 <text style="text_l">
3943 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 </text>
3946
3947 <text style="text_m">
3948 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003949 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003950 </text>
3951
3952 <text style="text_m_accent">
3953 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 </text>
3956
3957 <text style="text_m">
3958 <placement x="%col1_x_left%" y="%row3_y%"/>
3959 <text>%tw_filename1%</text>
3960 </text>
3961
3962 <button style="main_button_half_width">
3963 <condition var1="tw_fm_isfolder" var2="0"/>
3964 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 <actions>
3967 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <action function="set">tw_fm_text1={@fm_copying=Copying}</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 <condition var1="tw_fm_isfolder" var2="1"/>
3975 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 <actions>
3978 <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 -05003979 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003980 <action function="page">choosedestinationfolder</action>
3981 </actions>
3982 </button>
3983
3984 <button style="main_button_half_width">
3985 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 <actions>
3988 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003990 <action function="page">choosedestinationfolder</action>
3991 </actions>
3992 </button>
3993
3994 <button style="main_button_half_width">
3995 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 <actions>
3998 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004000 <action function="set">tw_fm_text2=</action>
4001 <action function="set">tw_fm_text3=</action>
4002 <action function="set">tw_include_text3=0</action>
4003 <action function="set">tw_back=filemanageroptions</action>
4004 <action function="page">filemanagerconfirm</action>
4005 </actions>
4006 </button>
4007
4008 <button style="main_button_half_width">
4009 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004010 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004011 <actions>
4012 <action function="set">tw_filemanager_rename=0000</action>
4013 <action function="set">tw_fm_text2=</action>
4014 <action function="set">tw_fm_text3=</action>
4015 <action function="set">tw_include_text3=0</action>
4016 <action function="set">tw_back=filemanageroptions</action>
4017 <action function="page">filemanagerchmod</action>
4018 </actions>
4019 </button>
4020
4021 <button style="main_button_half_width">
4022 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 <actions>
4025 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004027 <action function="set">tw_fm_text2=</action>
4028 <action function="set">tw_fm_text3=</action>
4029 <action function="set">tw_include_text3=0</action>
4030 <action function="set">tw_back=filemanageroptions</action>
4031 <action function="page">filemanagerconfirm</action>
4032 </actions>
4033 </button>
4034
4035 <button style="main_button_half_width">
4036 <condition var1="tw_fm_isfolder" var2="0"/>
4037 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004038 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004039 <actions>
4040 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004042 <action function="set">tw_filemanager_command=mv</action>
4043 <action function="page">filemanagerrenamefile</action>
4044 </actions>
4045 </button>
4046
4047 <button style="main_button_half_width">
4048 <condition var1="tw_fm_isfolder" var2="1"/>
4049 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 <actions>
4052 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004054 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4055 <action function="page">filemanagerrenamefolder</action>
4056 </actions>
4057 </button>
4058
4059 <action>
4060 <touch key="home"/>
4061 <action function="page">main</action>
4062 </action>
4063
4064 <action>
4065 <touch key="back"/>
4066 <action function="page">filemanagerlist</action>
4067 </action>
4068 </page>
4069
4070 <page name="choosedestinationfolder">
4071 <template name="page"/>
4072
4073 <text style="text_l">
4074 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 </text>
4077
4078 <text style="text_m">
4079 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 </text>
4082
4083 <template name="sort_options"/>
4084
4085 <fileselector>
4086 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4087 <text>%tw_file_location2%</text>
4088 <filter folders="1" files="0"/>
4089 <path name="tw_file_location2" default="/"/>
4090 <data name="tw_filename2"/>
4091 <selection name="tw_selection2"/>
4092 </fileselector>
4093
4094 <button style="main_button_half_width_low">
4095 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 <actions>
4098 <action function="set">tw_fm_text2=to</action>
4099 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4100 <action function="set">tw_include_text3=1</action>
4101 <action function="set">tw_back=filemanageroptions</action>
4102 <action function="page">filemanagerconfirm</action>
4103 </actions>
4104 </button>
4105
4106 <action>
4107 <touch key="home"/>
4108 <action function="page">main</action>
4109 </action>
4110
4111 <action>
4112 <touch key="back"/>
4113 <action function="page">filemanageroptions</action>
4114 </action>
4115 </page>
4116
4117 <page name="filemanagerrenamefile">
4118 <template name="page"/>
4119
4120 <text style="text_l">
4121 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 </text>
4124
4125 <text style="text_m">
4126 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004127 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004128 </text>
4129
4130 <text style="text_m_accent">
4131 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 </text>
4134
4135 <input>
4136 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4137 <text>%tw_filemanager_rename%</text>
4138 <data name="tw_filemanager_rename"/>
4139 <restrict minlen="1" maxlen="128"/>
4140 <actions>
4141 <action function="set">tw_fm_text2=to</action>
4142 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4143 <action function="set">tw_include_text3=1</action>
4144 <action function="set">tw_back=filemanageroptions</action>
4145 <action function="page">filemanagerconfirm</action>
4146 </actions>
4147 </input>
4148
4149 <fill color="%accent_color%">
4150 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4151 </fill>
4152
4153 <button style="main_button_half_width_low">
4154 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 <action function="page">filemanageroptions</action>
4157 </button>
4158
4159 <template name="keyboardtemplate"/>
4160
4161 <action>
4162 <touch key="home"/>
4163 <action function="page">main</action>
4164 </action>
4165
4166 <action>
4167 <touch key="back"/>
4168 <action function="page">filemanageroptions</action>
4169 </action>
4170 </page>
4171
4172 <page name="filemanagerrenamefolder">
4173 <template name="page"/>
4174
4175 <text style="text_l">
4176 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004177 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 </text>
4179
4180 <text style="text_m">
4181 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004183 </text>
4184
4185 <text style="text_m_accent">
4186 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004187 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004188 </text>
4189
4190 <input>
4191 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4192 <text>%tw_filemanager_rename%</text>
4193 <data name="tw_filemanager_rename"/>
4194 <restrict minlen="1" maxlen="128"/>
4195 <actions>
4196 <action function="set">tw_fm_text2=to</action>
4197 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4198 <action function="set">tw_include_text3=1</action>
4199 <action function="set">tw_back=filemanageroptions</action>
4200 <action function="page">filemanagerconfirm</action>
4201 </actions>
4202 </input>
4203
4204 <fill color="%accent_color%">
4205 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4206 </fill>
4207
4208 <button style="main_button_half_width_low">
4209 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004210 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004211 <action function="page">filemanageroptions</action>
4212 </button>
4213
4214 <template name="keyboardtemplate"/>
4215
4216 <action>
4217 <touch key="home"/>
4218 <action function="page">main</action>
4219 </action>
4220
4221 <action>
4222 <touch key="back"/>
4223 <action function="page">filemanageroptions</action>
4224 </action>
4225 </page>
4226
4227 <page name="filemanagerchmod">
4228 <template name="page"/>
4229
4230 <text style="text_l">
4231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m">
4236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004238 </text>
4239
4240 <text style="text_m_accent">
4241 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004242 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004243 </text>
4244
4245 <input>
4246 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4247 <text>%tw_filemanager_rename%</text>
4248 <data name="tw_filemanager_rename"/>
4249 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4250 <actions>
4251 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4252 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4253 <action function="set">tw_back=filemanageroptions</action>
4254 <action function="page">filemanagerconfirm</action>
4255 </actions>
4256 </input>
4257
4258 <fill color="%accent_color%">
4259 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4260 </fill>
4261
4262 <button style="main_button_half_width_low">
4263 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004264 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004265 <action function="page">filemanageroptions</action>
4266 </button>
4267
4268 <template name="keyboardtemplate"/>
4269
4270 <action>
4271 <touch key="home"/>
4272 <action function="page">main</action>
4273 </action>
4274
4275 <action>
4276 <touch key="back"/>
4277 <action function="page">filemanageroptions</action>
4278 </action>
4279 </page>
4280
4281 <page name="filemanagerconfirm">
4282 <template name="page"/>
4283
4284 <text style="text_l">
4285 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004286 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004287 </text>
4288
4289 <text style="text_m">
4290 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004291 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004292 </text>
4293
4294 <text style="text_m_accent">
4295 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4296 <text>%tw_fm_text1%</text>
4297 </text>
4298
4299 <text style="text_m">
4300 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4301 <text>%tw_filename1%</text>
4302 </text>
4303
4304 <text style="text_m_accent">
4305 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4306 <text>%tw_fm_text2%</text>
4307 </text>
4308
4309 <text style="text_m">
4310 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4311 <text>%tw_fm_text3%</text>
4312 </text>
4313
4314 <text style="text_m">
4315 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004316 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004317 </text>
4318
4319 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 <action function="page">filemanageraction</action>
4322 </slider>
4323
4324 <action>
4325 <touch key="back"/>
4326 <action function="page">%tw_back%</action>
4327 </action>
4328
4329 <action>
4330 <touch key="home"/>
4331 <action function="page">main</action>
4332 </action>
4333 </page>
4334
4335 <page name="filemanageraction">
4336 <template name="page"/>
4337
4338 <text style="text_l">
4339 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 </text>
4342
4343 <text style="text_m">
4344 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4345 <text>%tw_fm_text1%</text>
4346 </text>
4347
4348 <template name="console"/>
4349
4350 <template name="progress_bar"/>
4351
4352 <action>
4353 <conditions>
4354 <condition var1="tw_operation_state" var2="1"/>
4355 <condition var1="tw_operation_status" var2="0"/>
4356 </conditions>
4357 <actions>
4358 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004360 <action function="page">action_complete</action>
4361 </actions>
4362 </action>
4363
4364 <action>
4365 <conditions>
4366 <condition var1="tw_operation_state" var2="1"/>
4367 <condition var1="tw_operation_status" op="!=" var2="0"/>
4368 </conditions>
4369 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004370 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004371 <action function="page">action_complete</action>
4372 </actions>
4373 </action>
4374
4375 <action>
4376 <condition var1="tw_include_text3" var2="0"/>
4377 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4378 </action>
4379
4380 <action>
4381 <condition var1="tw_include_text3" var2="1"/>
4382 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4383 </action>
4384 </page>
4385
4386 <page name="decrypt">
4387 <template name="page"/>
4388
4389 <action>
4390 <condition var1="tw_crypto_pwtype" var2="2"/>
4391 <action function="page">decrypt_pattern</action>
4392 </action>
4393
4394 <text style="text_l">
4395 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <text style="text_m">
4400 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 </text>
4403
4404 <text style="text_m_accent">
4405 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004406 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </text>
4408
4409 <input>
4410 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4411 <text>%tw_crypto_display%</text>
4412 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4413 <restrict minlen="1" maxlen="254"/>
4414 <action function="page">trydecrypt</action>
4415 </input>
4416
4417 <fill color="%accent_color%">
4418 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4419 </fill>
4420
4421 <fill color="%text_fail_color%">
4422 <condition var1="tw_password_fail" var2="1"/>
4423 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4424 </fill>
4425
4426 <text style="text_m_fail">
4427 <condition var1="tw_password_fail" var2="1"/>
4428 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004429 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <button style="main_button_half_width_low">
4433 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 <actions>
4436 <action function="set">tw_page_done=1</action>
4437 <action function="page">main</action>
4438 </actions>
4439 </button>
4440
z31s1g608d7ff2016-01-18 19:47:25 +01004441 <button style="main_button_half_width_low">
4442 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4443 <text>{@sel_lang_btn=Select Language}</text>
4444 <action function="overlay">select_language</action>
4445 </button>
4446
z31s1g28f0a922015-11-07 18:50:22 +01004447 <template name="keyboardtemplate"/>
4448 </page>
4449
4450 <page name="decrypt_pattern">
4451 <template name="page"/>
4452
4453 <text style="text_l">
4454 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004455 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004456 </text>
4457
4458 <text style="text_m">
4459 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004460 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004461 </text>
4462
4463 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004464 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004465 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004466 </text>
4467
Aleksa Saraib25a1832015-12-31 17:36:00 +01004468 <text style="text_m_fail">
4469 <condition var1="tw_password_fail" var2="1"/>
4470 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004471 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004472 </text>
4473
z31s1g28f0a922015-11-07 18:50:22 +01004474 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004475 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004476 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4477 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4478 <data name="tw_crypto_password"/>
4479 <action function="page">trydecrypt</action>
4480 </patternpassword>
4481
Aleksa Saraib25a1832015-12-31 17:36:00 +01004482 <button style="main_button_half_width_low">
4483 <placement x="%col_button_right%" y="%row1a_y%"/>
4484 <text>3x3</text>
4485 <action function="set">tw_gui_pattern_grid_size=3</action>
4486 </button>
4487
4488 <button style="main_button_half_width_low">
4489 <placement x="%col_button_right%" y="%row4a_y%"/>
4490 <text>4x4</text>
4491 <action function="set">tw_gui_pattern_grid_size=4</action>
4492 </button>
4493
4494 <button style="main_button_half_width_low">
4495 <placement x="%col_button_right%" y="%row7a_y%"/>
4496 <text>5x5</text>
4497 <action function="set">tw_gui_pattern_grid_size=5</action>
4498 </button>
4499
4500 <button style="main_button_half_width_low">
4501 <placement x="%col_button_right%" y="%row10a_y%"/>
4502 <text>6x6</text>
4503 <action function="set">tw_gui_pattern_grid_size=6</action>
4504 </button>
4505
z31s1g28f0a922015-11-07 18:50:22 +01004506 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004507 <placement x="%col1_x_right%" y="%row15a_y%"/>
4508 <text>{@sel_lang_btn=Select Language}</text>
4509 <action function="overlay">select_language</action>
4510 </button>
4511
4512 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004513 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 <actions>
4516 <action function="set">tw_page_done=1</action>
4517 <action function="page">main</action>
4518 </actions>
4519 </button>
4520 </page>
4521
4522 <page name="trydecrypt">
4523 <template name="page"/>
4524
4525 <text style="text_l">
4526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004527 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004528 </text>
4529
4530 <text style="text_m">
4531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004532 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004533 </text>
4534
4535 <template name="console"/>
4536
4537 <template name="progress_bar"/>
4538
4539 <action>
4540 <action function="decrypt"/>
4541 </action>
4542
4543 <action>
4544 <conditions>
4545 <condition var1="tw_operation_state" var2="1"/>
4546 <condition var1="tw_operation_status" op="!=" var2="0"/>
4547 </conditions>
4548 <actions>
4549 <action function="set">tw_password_fail=1</action>
4550 <action function="page">decrypt</action>
4551 </actions>
4552 </action>
4553
4554 <action>
4555 <conditions>
4556 <condition var1="tw_operation_state" var2="1"/>
4557 <condition var1="tw_operation_status" op="=" var2="0"/>
4558 </conditions>
4559 <actions>
4560 <action function="set">tw_page_done=1</action>
4561 <action function="page">main</action>
4562 </actions>
4563 </action>
4564 </page>
4565
z31s1g28f0a922015-11-07 18:50:22 +01004566 <page name="terminalcommand">
4567 <template name="page"/>
4568
4569 <fill color="%background_color%">
4570 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4571 </fill>
4572
z31s1g56189522016-01-13 19:12:40 +01004573 <terminal>
4574 <condition var1="tw_hide_kb" var2="0"/>
4575 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4576 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004577
z31s1g56189522016-01-13 19:12:40 +01004578 <terminal>
4579 <condition var1="tw_hide_kb" var2="1"/>
4580 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4581 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004582
z31s1g56189522016-01-13 19:12:40 +01004583 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004584
z31s1g56189522016-01-13 19:12:40 +01004585 <object type="fill" color="#000000">
4586 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4587 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004588
z31s1g608d7ff2016-01-18 19:47:25 +01004589 <button>
z31s1g56189522016-01-13 19:12:40 +01004590 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4591 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4592 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4593 <image resource="back" />
4594 <condition var1="tw_busy" var2="0" />
4595 <actions>
4596 <action function="set">tw_hide_kb=0</action>
4597 <action function="page">advanced</action>
4598 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004599 </button>
z31s1g56189522016-01-13 19:12:40 +01004600
z31s1g608d7ff2016-01-18 19:47:25 +01004601 <button>
z31s1g56189522016-01-13 19:12:40 +01004602 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4603 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4604 <condition var1="tw_hide_kb" op="=" var2="0" />
4605 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4606 <image resource="kb_hide" />
4607 <condition var1="tw_busy" var2="0" />
4608 <actions>
4609 <action function="set">tw_hide_kb=1</action>
4610 <action function="page">terminalcommand</action>
4611 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004612 </button>
z31s1g56189522016-01-13 19:12:40 +01004613
z31s1g608d7ff2016-01-18 19:47:25 +01004614 <button>
z31s1g56189522016-01-13 19:12:40 +01004615 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4616 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4617 <condition var1="tw_hide_kb" op="=" var2="1" />
4618 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4619 <image resource="kb_show" />
4620 <condition var1="tw_busy" var2="0" />
4621 <actions>
4622 <action function="set">tw_hide_kb=0</action>
4623 <action function="page">terminalcommand</action>
4624 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004625 </button>
z31s1g56189522016-01-13 19:12:40 +01004626
z31s1g608d7ff2016-01-18 19:47:25 +01004627 <button>
z31s1g56189522016-01-13 19:12:40 +01004628 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4629 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4630 <image resource="home" />
4631 <condition var1="tw_busy" var2="0" />
4632 <actions>
4633 <action function="set">tw_hide_kb=0</action>
4634 <action function="key">home</action>
4635 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004636 </button>
z31s1g56189522016-01-13 19:12:40 +01004637
z31s1g608d7ff2016-01-18 19:47:25 +01004638 <button>
z31s1g56189522016-01-13 19:12:40 +01004639 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4640 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4641 <condition var1="tw_hide_kb" op="=" var2="0" />
4642 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4643 <image resource="kb_hide" />
4644 <condition var1="tw_busy" var2="0" />
4645 <actions>
4646 <action function="set">tw_hide_kb=1</action>
4647 <action function="page">terminalcommand</action>
4648 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004649 </button>
z31s1g56189522016-01-13 19:12:40 +01004650
z31s1g608d7ff2016-01-18 19:47:25 +01004651 <button>
z31s1g56189522016-01-13 19:12:40 +01004652 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4653 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4654 <condition var1="tw_hide_kb" op="=" var2="1" />
4655 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4656 <image resource="kb_show" />
4657 <condition var1="tw_busy" var2="0" />
4658 <actions>
4659 <action function="set">tw_hide_kb=0</action>
4660 <action function="page">terminalcommand</action>
4661 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004662 </button>
z31s1g56189522016-01-13 19:12:40 +01004663
z31s1g608d7ff2016-01-18 19:47:25 +01004664 <button>
z31s1g56189522016-01-13 19:12:40 +01004665 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4666 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4667 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4668 <image resource="back" />
4669 <condition var1="tw_busy" var2="0" />
4670 <actions>
4671 <action function="set">tw_hide_kb=0</action>
4672 <action function="page">advanced</action>
4673 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004674 </button>
z31s1g56189522016-01-13 19:12:40 +01004675
z31s1g608d7ff2016-01-18 19:47:25 +01004676 <button>
z31s1g56189522016-01-13 19:12:40 +01004677 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4678 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4679 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4680 <image resource="back" />
4681 <condition var1="tw_busy" var2="0" />
4682 <actions>
4683 <action function="set">tw_hide_kb=0</action>
4684 <action function="page">advanced</action>
4685 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004686 </button>
z31s1g56189522016-01-13 19:12:40 +01004687
z31s1g608d7ff2016-01-18 19:47:25 +01004688 <button>
z31s1g56189522016-01-13 19:12:40 +01004689 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4690 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4691 <condition var1="tw_hide_kb" op="=" var2="0" />
4692 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4693 <image resource="kb_hide" />
4694 <condition var1="tw_busy" var2="0" />
4695 <actions>
4696 <action function="set">tw_hide_kb=1</action>
4697 <action function="page">terminalcommand</action>
4698 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004699 </button>
z31s1g56189522016-01-13 19:12:40 +01004700
z31s1g608d7ff2016-01-18 19:47:25 +01004701 <button>
z31s1g56189522016-01-13 19:12:40 +01004702 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4703 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4704 <condition var1="tw_hide_kb" op="=" var2="1" />
4705 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4706 <image resource="kb_show" />
4707 <condition var1="tw_busy" var2="0" />
4708 <actions>
4709 <action function="set">tw_hide_kb=0</action>
4710 <action function="page">terminalcommand</action>
4711 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004712 </button>
z31s1g56189522016-01-13 19:12:40 +01004713
z31s1g608d7ff2016-01-18 19:47:25 +01004714 <button>
z31s1g56189522016-01-13 19:12:40 +01004715 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4716 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4717 <image resource="home" />
4718 <condition var1="tw_busy" var2="0" />
4719 <actions>
4720 <action function="set">tw_hide_kb=0</action>
4721 <action function="key">home</action>
4722 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004723 </button>
z31s1g56189522016-01-13 19:12:40 +01004724
z31s1g608d7ff2016-01-18 19:47:25 +01004725 <button>
z31s1g56189522016-01-13 19:12:40 +01004726 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4727 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4728 <condition var1="tw_hide_kb" op="=" var2="0" />
4729 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4730 <image resource="kb_hide" />
4731 <condition var1="tw_busy" var2="0" />
4732 <actions>
4733 <action function="set">tw_hide_kb=1</action>
4734 <action function="page">terminalcommand</action>
4735 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004736 </button>
z31s1g56189522016-01-13 19:12:40 +01004737
z31s1g608d7ff2016-01-18 19:47:25 +01004738 <button>
z31s1g56189522016-01-13 19:12:40 +01004739 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4740 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4741 <condition var1="tw_hide_kb" op="=" var2="1" />
4742 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4743 <image resource="kb_show" />
4744 <condition var1="tw_busy" var2="0" />
4745 <actions>
4746 <action function="set">tw_hide_kb=0</action>
4747 <action function="page">terminalcommand</action>
4748 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004749 </button>
z31s1g56189522016-01-13 19:12:40 +01004750
z31s1g608d7ff2016-01-18 19:47:25 +01004751 <button>
z31s1g56189522016-01-13 19:12:40 +01004752 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4753 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4754 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4755 <image resource="back" />
4756 <condition var1="tw_busy" var2="0" />
4757 <actions>
4758 <action function="set">tw_hide_kb=0</action>
4759 <action function="page">advanced</action>
4760 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004761 </button>
z31s1g56189522016-01-13 19:12:40 +01004762
z31s1g608d7ff2016-01-18 19:47:25 +01004763 <button>
z31s1g56189522016-01-13 19:12:40 +01004764 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4765 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4766 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4767 <image resource="back" />
4768 <condition var1="tw_busy" var2="0" />
4769 <actions>
4770 <action function="set">tw_hide_kb=0</action>
4771 <action function="page">advanced</action>
4772 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004773 </button>
z31s1g56189522016-01-13 19:12:40 +01004774
z31s1g608d7ff2016-01-18 19:47:25 +01004775 <button>
z31s1g56189522016-01-13 19:12:40 +01004776 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4777 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4778 <condition var1="tw_hide_kb" op="=" var2="0" />
4779 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4780 <image resource="kb_hide" />
4781 <condition var1="tw_busy" var2="0" />
4782 <actions>
4783 <action function="set">tw_hide_kb=1</action>
4784 <action function="page">terminalcommand</action>
4785 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004786 </button>
z31s1g56189522016-01-13 19:12:40 +01004787
z31s1g608d7ff2016-01-18 19:47:25 +01004788 <button>
z31s1g56189522016-01-13 19:12:40 +01004789 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4790 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4791 <condition var1="tw_hide_kb" op="=" var2="1" />
4792 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4793 <image resource="kb_show" />
4794 <condition var1="tw_busy" var2="0" />
4795 <actions>
4796 <action function="set">tw_hide_kb=0</action>
4797 <action function="page">terminalcommand</action>
4798 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004799 </button>
z31s1g56189522016-01-13 19:12:40 +01004800
z31s1g608d7ff2016-01-18 19:47:25 +01004801 <button>
z31s1g56189522016-01-13 19:12:40 +01004802 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4803 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4804 <image resource="home" />
4805 <condition var1="tw_busy" var2="0" />
4806 <actions>
4807 <action function="set">tw_hide_kb=0</action>
4808 <action function="key">home</action>
4809 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004810 </button>
z31s1g56189522016-01-13 19:12:40 +01004811
z31s1g608d7ff2016-01-18 19:47:25 +01004812 <button>
z31s1g56189522016-01-13 19:12:40 +01004813 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4814 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4815 <condition var1="tw_hide_kb" op="=" var2="0" />
4816 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4817 <image resource="kb_hide" />
4818 <condition var1="tw_busy" var2="0" />
4819 <actions>
4820 <action function="set">tw_hide_kb=1</action>
4821 <action function="page">terminalcommand</action>
4822 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004823 </button>
z31s1g56189522016-01-13 19:12:40 +01004824
z31s1g608d7ff2016-01-18 19:47:25 +01004825 <button>
z31s1g56189522016-01-13 19:12:40 +01004826 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4827 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4828 <condition var1="tw_hide_kb" op="=" var2="1" />
4829 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4830 <image resource="kb_show" />
4831 <condition var1="tw_busy" var2="0" />
4832 <actions>
4833 <action function="set">tw_hide_kb=0</action>
4834 <action function="page">terminalcommand</action>
4835 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004836 </button>
z31s1g56189522016-01-13 19:12:40 +01004837
z31s1g608d7ff2016-01-18 19:47:25 +01004838 <button>
z31s1g56189522016-01-13 19:12:40 +01004839 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4840 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4841 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4842 <image resource="back" />
4843 <condition var1="tw_busy" var2="0" />
4844 <actions>
4845 <action function="set">tw_hide_kb=0</action>
4846 <action function="page">advanced</action>
4847 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004848 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004849
4850 <action>
4851 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004852 <actions>
4853 <action function="page">main</action>
4854 <action function="set">tw_hide_kb=0</action>
4855 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004856 </action>
4857
4858 <action>
4859 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004860 <actions>
4861 <action function="page">advanced</action>
4862 <action function="set">tw_hide_kb=0</action>
4863 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004864 </action>
z31s1g56189522016-01-13 19:12:40 +01004865
4866 <object type="action">
4867 <touch key="power+voldown" />
4868 <action function="screenshot" />
4869 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004870 </page>
4871
4872 <page name="sideload">
4873 <template name="page"/>
4874
4875 <text style="text_l">
4876 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004877 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004878 </text>
4879
4880 <text style="text_m">
4881 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004882 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004883 </text>
4884
4885 <checkbox>
4886 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004887 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004888 <data variable="tw_wipe_dalvik"/>
4889 </checkbox>
4890
4891 <checkbox>
4892 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004893 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004894 <data variable="tw_wipe_cache"/>
4895 </checkbox>
4896
4897 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004898 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004899 <actions>
4900 <action function="set">tw_back=advanced</action>
4901 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004902 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4903 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4904 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004905 <action function="set">tw_has_cancel=1</action>
4906 <action function="set">tw_show_reboot=1</action>
4907 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4908 <action function="page">action_page</action>
4909 </actions>
4910 </slider>
4911
4912 <action>
4913 <touch key="home"/>
4914 <action function="page">main</action>
4915 </action>
4916
4917 <action>
4918 <touch key="back"/>
4919 <action function="page">advanced</action>
4920 </action>
4921 </page>
4922
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004923 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004924 <template name="page"/>
4925
4926 <text style="text_l">
4927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004928 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004929 </text>
4930
4931 <text style="text_m">
4932 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004933 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004934 </text>
4935
4936 <text style="text_m_accent">
4937 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004938 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004939 </text>
4940
z31s1g28f0a922015-11-07 18:50:22 +01004941 <text style="text_m_fail">
4942 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004943 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004944 </text>
4945
4946 <text style="text_m_fail">
4947 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004948 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004949 </text>
4950
4951 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004952 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004953 <actions>
4954 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004955 <action function="set">tw_action=fixcontexts</action>
4956 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4957 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004959 <action function="set">tw_show_reboot=1</action>
4960 <action function="page">action_page</action>
4961 </actions>
4962 </slider>
4963
4964 <action>
4965 <touch key="home"/>
4966 <action function="page">main</action>
4967 </action>
4968
4969 <action>
4970 <touch key="back"/>
4971 <action function="page">advanced</action>
4972 </action>
4973 </page>
4974
z31s1g28f0a922015-11-07 18:50:22 +01004975 <page name="slideout">
4976 <fill color="%background_color%">
4977 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4978 </fill>
4979
4980 <console>
4981 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4982 </console>
4983
4984 <button>
4985 <fill color="%transparent%"/>
4986 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4987 <action function="overlay"/>
4988 </button>
4989
4990 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004991 <touch key="power"/>
4992 <action function="togglebacklight"/>
4993 </action>
4994
4995 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004996 <touch key="power+voldown"/>
4997 <action function="screenshot"/>
4998 </action>
4999 </page>
5000
5001 <page name="select_storage">
5002 <fill color="%semi_transparent%">
5003 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5004 </fill>
5005
5006 <fill color="%background_color%">
5007 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5008 </fill>
5009
5010 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005011 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005012 <data name="tw_storage_path"/>
5013 <listtype name="storage"/>
5014 </partitionlist>
5015
5016 <button style="button_third_width">
5017 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005018 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005019 <actions>
5020 <action function="set">tw_clear_destination=%tw_back%</action>
5021 <action function="overlay"/>
5022 <action function="page">clear_vars</action>
5023 </actions>
5024 </button>
5025
5026 <fill color="#000000">
5027 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5028 </fill>
5029
5030 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005031 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5032 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5033 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5034 <image resource="back" />
5035 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005036 <actions>
5037 <action function="overlay"/>
5038 <action function="key">%tw_back%</action>
5039 </actions>
5040 </button>
5041
5042 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005043 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5044 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5045 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5046 <image resource="console" />
5047 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005048 <action function="overlay">slideout</action>
5049 </button>
5050
5051 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005052 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5053 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5054 <image resource="home" />
5055 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005056 <actions>
5057 <action function="overlay"/>
5058 <action function="key">home</action>
5059 </actions>
5060 </button>
5061
5062 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005063 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5064 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5065 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5066 <image resource="console" />
5067 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005068 <action function="overlay">slideout</action>
5069 </button>
5070
5071 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005072 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5073 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5074 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5075 <image resource="back" />
5076 <condition var1="tw_busy" var2="0" />
5077 <actions>
5078 <action function="overlay"/>
5079 <action function="key">%tw_back%</action>
5080 </actions>
5081 </button>
5082
5083 <button>
5084 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5085 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5086 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5087 <image resource="back" />
5088 <condition var1="tw_busy" var2="0" />
5089 <actions>
5090 <action function="overlay"/>
5091 <action function="key">%tw_back%</action>
5092 </actions>
5093 </button>
5094
5095 <button>
5096 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5097 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5098 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5099 <image resource="console" />
5100 <condition var1="tw_busy" var2="0" />
5101 <action function="overlay">slideout</action>
5102 </button>
5103
5104 <button>
5105 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5106 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5107 <image resource="home" />
5108 <condition var1="tw_busy" var2="0" />
5109 <actions>
5110 <action function="overlay"/>
5111 <action function="key">home</action>
5112 </actions>
5113 </button>
5114
5115 <button>
5116 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5117 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5118 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5119 <image resource="console" />
5120 <condition var1="tw_busy" var2="0" />
5121 <action function="overlay">slideout</action>
5122 </button>
5123
5124 <button>
5125 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5126 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5127 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5128 <image resource="back" />
5129 <condition var1="tw_busy" var2="0" />
5130 <actions>
5131 <action function="overlay"/>
5132 <action function="key">%tw_back%</action>
5133 </actions>
5134 </button>
5135
5136 <button>
5137 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5138 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5139 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5140 <image resource="back" />
5141 <condition var1="tw_busy" var2="0" />
5142 <actions>
5143 <action function="overlay"/>
5144 <action function="key">%tw_back%</action>
5145 </actions>
5146 </button>
5147
5148 <button>
5149 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5150 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5151 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5152 <image resource="console" />
5153 <condition var1="tw_busy" var2="0" />
5154 <action function="overlay">slideout</action>
5155 </button>
5156
5157 <button>
5158 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5159 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5160 <image resource="home" />
5161 <condition var1="tw_busy" var2="0" />
5162 <actions>
5163 <action function="overlay"/>
5164 <action function="key">home</action>
5165 </actions>
5166 </button>
5167
5168 <button>
5169 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5170 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5171 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5172 <image resource="console" />
5173 <condition var1="tw_busy" var2="0" />
5174 <action function="overlay">slideout</action>
5175 </button>
5176
5177 <button>
5178 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5179 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5180 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5181 <image resource="back" />
5182 <condition var1="tw_busy" var2="0" />
5183 <actions>
5184 <action function="overlay"/>
5185 <action function="key">%tw_back%</action>
5186 </actions>
5187 </button>
5188
5189 <action>
5190 <touch key="power+voldown"/>
5191 <action function="screenshot"/>
5192 </action>
5193 </page>
5194
5195 <page name="select_language">
5196 <fill color="%semi_transparent%">
5197 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5198 </fill>
5199
5200 <fill color="%background_color%">
5201 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5202 </fill>
5203
5204 <listbox>
5205 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5206 <text>{@select_language=Select Language:}</text>
5207 <icon selected="radio_true" unselected="radio_false" />
5208 <data name="tw_language" />
5209 </listbox>
5210
5211 <button style="button_third_width">
5212 <placement x="%dialog_button_x%" y="%row13_y%"/>
5213 <text>{@ok_btn=OK}</text>
5214 <actions>
5215 <action function="overlay"/>
5216 <action function="setlanguage"></action>
5217 </actions>
5218 </button>
5219
5220 <fill color="#000000">
5221 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5222 </fill>
5223
5224 <button>
5225 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5226 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5227 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5228 <image resource="back" />
5229 <condition var1="tw_busy" var2="0" />
5230 <actions>
5231 <action function="overlay"/>
5232 <action function="key">%tw_back%</action>
5233 </actions>
5234 </button>
5235
5236 <button>
5237 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5238 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5239 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5240 <image resource="console" />
5241 <condition var1="tw_busy" var2="0" />
5242 <action function="overlay">slideout</action>
5243 </button>
5244
5245 <button>
5246 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5247 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5248 <image resource="home" />
5249 <condition var1="tw_busy" var2="0" />
5250 <actions>
5251 <action function="overlay"/>
5252 <action function="key">home</action>
5253 </actions>
5254 </button>
5255
5256 <button>
5257 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5258 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5259 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5260 <image resource="console" />
5261 <condition var1="tw_busy" var2="0" />
5262 <action function="overlay">slideout</action>
5263 </button>
5264
5265 <button>
5266 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5267 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5268 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5269 <image resource="back" />
5270 <condition var1="tw_busy" var2="0" />
5271 <actions>
5272 <action function="overlay"/>
5273 <action function="key">%tw_back%</action>
5274 </actions>
5275 </button>
5276
5277 <button>
5278 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5279 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5280 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5281 <image resource="back" />
5282 <condition var1="tw_busy" var2="0" />
5283 <actions>
5284 <action function="overlay"/>
5285 <action function="key">%tw_back%</action>
5286 </actions>
5287 </button>
5288
5289 <button>
5290 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5291 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5292 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5293 <image resource="console" />
5294 <condition var1="tw_busy" var2="0" />
5295 <action function="overlay">slideout</action>
5296 </button>
5297
5298 <button>
5299 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5300 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5301 <image resource="home" />
5302 <condition var1="tw_busy" var2="0" />
5303 <actions>
5304 <action function="overlay"/>
5305 <action function="key">home</action>
5306 </actions>
5307 </button>
5308
5309 <button>
5310 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5311 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5312 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5313 <image resource="console" />
5314 <condition var1="tw_busy" var2="0" />
5315 <action function="overlay">slideout</action>
5316 </button>
5317
5318 <button>
5319 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5320 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5321 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5322 <image resource="back" />
5323 <condition var1="tw_busy" var2="0" />
5324 <actions>
5325 <action function="overlay"/>
5326 <action function="key">%tw_back%</action>
5327 </actions>
5328 </button>
5329
5330 <button>
5331 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5332 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5333 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5334 <image resource="back" />
5335 <condition var1="tw_busy" var2="0" />
5336 <actions>
5337 <action function="overlay"/>
5338 <action function="key">%tw_back%</action>
5339 </actions>
5340 </button>
5341
5342 <button>
5343 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5344 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5345 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5346 <image resource="console" />
5347 <condition var1="tw_busy" var2="0" />
5348 <action function="overlay">slideout</action>
5349 </button>
5350
5351 <button>
5352 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5353 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5354 <image resource="home" />
5355 <condition var1="tw_busy" var2="0" />
5356 <actions>
5357 <action function="overlay"/>
5358 <action function="key">home</action>
5359 </actions>
5360 </button>
5361
5362 <button>
5363 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5364 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5365 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5366 <image resource="console" />
5367 <condition var1="tw_busy" var2="0" />
5368 <action function="overlay">slideout</action>
5369 </button>
5370
5371 <button>
5372 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5373 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5374 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5375 <image resource="back" />
5376 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005377 <actions>
5378 <action function="overlay"/>
5379 <action function="key">%tw_back%</action>
5380 </actions>
5381 </button>
5382
5383 <action>
5384 <touch key="power+voldown"/>
5385 <action function="screenshot"/>
5386 </action>
5387 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005388 </pages>
5389</recovery>