blob: 3fbac9ee5f3c11588e1dd451a2a6573bae6c0f6c [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
bigbiffdf8436b2020-08-30 16:22:34 -04002642 <page name="fastbootreboot">
2643 <template name="page"/>
2644
2645 <text style="text_l">
2646 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2647 <text>{@reboot_hdr=Reboot}</text>
2648 </text>
2649
2650 <listbox style="advanced_listbox">
2651 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2652
2653 <listitem name="{@rb_system_btn=System}">
2654 <condition var1="tw_reboot_system" var2="1"/>
2655 <actions>
2656 <action function="set">tw_back=fastbootreboot</action>
2657 <action function="set">tw_action=reboot</action>
2658 <action function="set">tw_action_param=system</action>
2659 <action function="set">tw_reboot_param=system</action>
2660 <action function="set">tw_has_action2=0</action>
2661 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2662 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2663 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2664 <action function="page">confirm_action</action>
2665 </actions>
2666 </listitem>
2667
2668 <listitem name="{@rb_poweroff_btn=Power Off}">
2669 <condition var1="tw_reboot_poweroff" var2="1"/>
2670 <actions>
2671 <action function="set">tw_back=fastbootreboot</action>
2672 <action function="set">tw_action=reboot</action>
2673 <action function="set">tw_action_param=poweroff</action>
2674 <action function="set">tw_reboot_param=poweroff</action>
2675 <action function="set">tw_has_action2=0</action>
2676 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2677 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2678 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2679 <action function="page">confirm_action</action>
2680 </actions>
2681 </listitem>
2682
2683 <listitem name="{@rb_recovery_btn=Recovery}">
2684 <condition var1="tw_reboot_recovery" var2="1"/>
2685 <actions>
2686 <action function="set">tw_back=fastbootreboot</action>
2687 <action function="set">tw_action=reboot</action>
2688 <action function="set">tw_action_param=recovery</action>
2689 <action function="set">tw_reboot_param=recovery</action>
2690 <action function="set">tw_has_action2=0</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>
2694 <action function="page">confirm_action</action>
2695 </actions>
2696 </listitem>
2697
2698 <listitem name="{@rb_bootloader_btn=Bootloader}">
2699 <condition var1="tw_reboot_bootloader" var2="1"/>
2700 <actions>
2701 <action function="set">tw_back=fastbootreboot</action>
2702 <action function="set">tw_action=reboot</action>
2703 <action function="set">tw_action_param=bootloader</action>
2704 <action function="set">tw_reboot_param=bootloader</action>
2705 <action function="set">tw_has_action2=0</action>
2706 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2707 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2708 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2709 <action function="page">confirm_action</action>
2710 </actions>
2711 </listitem>
2712
2713 <listitem name="{@rb_download_btn=Download}">
2714 <condition var1="tw_download_mode" var2="1"/>
2715 <actions>
2716 <action function="set">tw_back=fastbootreboot</action>
2717 <action function="set">tw_action=reboot</action>
2718 <action function="set">tw_action_param=download</action>
2719 <action function="set">tw_reboot_param=download</action>
2720 <action function="set">tw_has_action2=0</action>
2721 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2722 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2723 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2724 <action function="page">confirm_action</action>
2725 </actions>
2726 </listitem>
2727
2728 <listitem name="{@fastboot_button=Fastboot}">
2729 <condition var1="tw_fastboot_mode" var2="1"/>
2730 <actions>
2731 <action function="set">tw_back=fastbootreboot</action>
2732 <action function="set">tw_action=reboot</action>
2733 <action function="set">tw_action_param=fastboot</action>
2734 <action function="set">tw_reboot_param=fastboot</action>
2735 <action function="set">tw_has_action2=0</action>
2736 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2737 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2738 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2739 <action function="page">confirm_action</action>
2740 </actions>
2741 </listitem>
2742
2743 <listitem name="{@rb_edl_btn=Edl}">
2744 <condition var1="tw_edl_mode" var2="1"/>
2745 <actions>
2746 <action function="set">tw_back=fastbootreboot</action>
2747 <action function="set">tw_action=reboot</action>
2748 <action function="set">tw_action_param=edl</action>
2749 <action function="set">tw_reboot_param=edl</action>
2750 <action function="set">tw_has_action2=0</action>
2751 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2752 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2753 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2754 <action function="page">confirm_action</action>
2755 </actions>
2756 </listitem>
2757 </listbox>
2758 <action>
2759 <touch key="home"/>
2760 <action function="page">fastboot</action>
2761 </action>
2762
2763 <action>
2764 <touch key="back"/>
2765 <action function="page">fastboot</action>
2766 </action>
2767 </page>
2768
z31s1g28f0a922015-11-07 18:50:22 +01002769 <page name="reboot">
2770 <template name="page"/>
2771
2772 <text style="text_l">
2773 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002774 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 </text>
2776
bigbiffdf8436b2020-08-30 16:22:34 -04002777 <listbox style="advanced_listbox">
2778 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2779
2780 <listitem name="{@rb_system_btn=System}">
2781 <condition var1="tw_reboot_system" var2="1"/>
2782 <actions>
2783 <action function="set">tw_back=reboot</action>
2784 <action function="page">reboot_system_routine</action>
2785 </actions>
2786 </listitem>
2787
2788 <listitem name="{@rb_poweroff_btn=Power Off}">
2789 <condition var1="tw_reboot_poweroff" var2="1"/>
2790 <actions>
2791 <action function="set">tw_back=reboot</action>
2792 <action function="set">tw_action=reboot</action>
2793 <action function="set">tw_action_param=poweroff</action>
2794 <action function="set">tw_reboot_param=poweroff</action>
2795 <action function="set">tw_has_action2=0</action>
2796 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2797 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2798 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2799 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2800 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2801 <action function="page">rebootcheck</action>
2802 </actions>
2803 </listitem>
2804
2805 <listitem name="{@rb_recovery_btn=Recovery}">
2806 <condition var1="tw_reboot_recovery" var2="1"/>
2807 <actions>
2808 <action function="set">tw_back=reboot</action>
2809 <action function="set">tw_action=reboot</action>
2810 <action function="set">tw_action_param=recovery</action>
2811 <action function="set">tw_reboot_param=recovery</action>
2812 <action function="set">tw_has_action2=0</action>
2813 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2814 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2815 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2816 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2817 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2818 <action function="page">rebootcheck</action>
2819 </actions>
2820 </listitem>
2821
2822 <listitem name="{@rb_bootloader_btn=Bootloader}">
2823 <condition var1="tw_reboot_bootloader" var2="1"/>
2824 <actions>
2825 <action function="set">tw_back=reboot</action>
2826 <action function="set">tw_action=reboot</action>
2827 <action function="set">tw_action_param=bootloader</action>
2828 <action function="set">tw_reboot_param=bootloader</action>
2829 <action function="set">tw_has_action2=0</action>
2830 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2831 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2832 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2833 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2834 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2835 <action function="page">rebootcheck</action>
2836 </actions>
2837 </listitem>
2838
2839 <listitem name="{@rb_download_btn=Download}">
2840 <condition var1="tw_download_mode" var2="1"/>
2841 <actions>
2842 <action function="set">tw_back=reboot</action>
2843 <action function="set">tw_action=reboot</action>
2844 <action function="set">tw_action_param=download</action>
2845 <action function="set">tw_reboot_param=download</action>
2846 <action function="set">tw_has_action2=0</action>
2847 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2848 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2849 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2850 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2851 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2852 <action function="page">rebootcheck</action>
2853 </actions>
2854 </listitem>
2855
2856
2857 <listitem name="{@fastboot_button=Fastboot}">
2858 <condition var1="tw_fastboot_mode" var2="1"/>
2859 <actions>
2860 <action function="set">tw_back=reboot</action>
2861 <action function="set">tw_action=reboot</action>
2862 <action function="set">tw_action_param=fastboot</action>
2863 <action function="set">tw_reboot_param=fastboot</action>
2864 <action function="set">tw_has_action2=0</action>
2865 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2866 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2867 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2868 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2869 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2870 <action function="page">rebootcheck</action>
2871 </actions>
2872 </listitem>
2873
2874 <listitem name="{@rb_edl_btn=Edl}">
2875 <condition var1="tw_edl_mode" var2="1"/>
2876 <actions>
2877 <action function="set">tw_back=reboot</action>
2878 <action function="set">tw_action=reboot</action>
2879 <action function="set">tw_action_param=edl</action>
2880 <action function="set">tw_reboot_param=edl</action>
2881 <action function="set">tw_has_action2=0</action>
2882 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2883 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2884 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2885 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2886 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2887 <action function="page">rebootcheck</action>
2888 </actions>
2889 </button>
2890 </listbox>
2891
2892 <text style="text_m">
2893 <condition var1="tw_has_boot_slots" var2="1"/>
2894 <placement x="%center_x%" y="%row14_y%" placement="5"/>
2895 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2896 </text>
2897
z31s1g28f0a922015-11-07 18:50:22 +01002898 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04002899 <condition var1="tw_has_boot_slots" var2="1"/>
2900 <placement x="%indent%" y="%row16_y%"/>
2901 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002902 <actions>
2903 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04002904 <action function="set">tw_action=setbootslot</action>
2905 <action function="set">tw_action_param=A</action>
2906 <action function="set">tw_has_action2=0</action>
2907 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2908 <action function="set">tw_action_text2=</action>
2909 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2910 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002911 </actions>
2912 </button>
2913
2914 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04002915 <condition var1="tw_has_boot_slots" var2="1"/>
2916 <placement x="%center_x%" y="%row16_y%"/>
2917 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002918 <actions>
2919 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04002920 <action function="set">tw_action=setbootslot</action>
2921 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <action function="set">tw_has_action2=0</action>
bigbiffdf8436b2020-08-30 16:22:34 -04002923 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2924 <action function="set">tw_action_text2=</action>
2925 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2926 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002927 </actions>
2928 </button>
2929
z31s1g28f0a922015-11-07 18:50:22 +01002930 <action>
2931 <touch key="home"/>
2932 <action function="page">main</action>
2933 </action>
2934
2935 <action>
2936 <touch key="back"/>
2937 <action function="page">main</action>
2938 </action>
2939 </page>
2940
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002941 <page name="rebootapp">
2942 <template name="page"/>
2943
2944 <text style="text_l">
2945 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2946 <text>{@reboot_hdr=Reboot}</text>
2947 </text>
2948
2949 <text style="text_m">
2950 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2951 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2952 </text>
2953
2954 <text style="text_m_accent">
2955 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2956 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2957 </text>
2958
2959 <text style="text_m_accent">
2960 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2961 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2962 </text>
2963
2964 <checkbox>
2965 <placement x="%indent%" y="%row5_y%"/>
2966 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2967 <data variable="tw_app_prompt"/>
2968 </checkbox>
2969
2970 <checkbox>
2971 <condition var1="tw_mount_system_ro" var2="0"/>
2972 <placement x="%indent%" y="%row7_y%"/>
2973 <text>{@reboot_install_app_system=Install as a System App}</text>
2974 <data variable="tw_app_install_system"/>
2975 </checkbox>
2976
2977 <button style="main_button_half_width">
2978 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002979 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002980 <action function="reboot">%tw_reboot_param%</action>
2981 </button>
2982
2983 <slider>
2984 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2985 <actions>
2986 <action function="set">tw_back=reboot</action>
2987 <action function="set">tw_action=installapp</action>
2988 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2989 <action function="set">tw_action_text2=</action>
2990 <action function="set">tw_has_action2=1</action>
2991 <action function="set">tw_action2=reboot</action>
2992 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2993 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2994 <action function="page">action_page</action>
2995 </actions>
2996 </slider>
2997
2998 <action>
2999 <touch key="home"/>
3000 <actions>
3001 <action function="set">tw_app_install_status=0</action>
3002 <action function="page">main</action>
3003 </actions>
3004 </action>
3005
3006 <action>
3007 <touch key="back"/>
3008 <actions>
3009 <action function="set">tw_app_install_status=0</action>
3010 <action function="page">reboot</action>
3011 </actions>
3012 </action>
3013 </page>
3014
z31s1g28f0a922015-11-07 18:50:22 +01003015 <page name="system_readonly">
3016 <template name="page"/>
3017
3018 <text style="text_l">
3019 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 </text>
3022
3023 <text style="text_m_accent">
3024 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 </text>
3027
3028 <text style="text_m">
3029 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <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 +01003031 </text>
3032
3033 <text style="text_m">
3034 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <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 +01003036 </text>
3037
3038 <text style="text_m_fail">
3039 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 </text>
3042
3043 <checkbox>
3044 <condition var1="tw_is_encrypted" var2="0"/>
3045 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 <data variable="tw_never_show_system_ro_page"/>
3048 </checkbox>
3049
3050 <button style="main_button_half_width">
3051 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 <actions>
3054 <action function="mountsystemtoggle">1</action>
3055 <action function="set">tw_page_done=1</action>
3056 <action function="page">%tw_back%</action>
3057 </actions>
3058 </button>
3059
z31s1g608d7ff2016-01-18 19:47:25 +01003060 <button style="main_button_half_width">
3061 <placement x="%col2_x_left%" y="%row15a_y%"/>
3062 <text>{@sel_lang_btn=Select Language}</text>
3063 <action function="overlay">select_language</action>
3064 </button>
3065
z31s1g28f0a922015-11-07 18:50:22 +01003066 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 <actions>
3069 <action function="mountsystemtoggle">0</action>
3070 <action function="set">tw_page_done=1</action>
3071 <action function="page">%tw_back%</action>
3072 </actions>
3073 </slider>
3074 </page>
3075
3076 <page name="settings">
3077 <template name="page"/>
3078
3079 <text style="text_l">
3080 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003081 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003082 </text>
3083
3084 <text style="text_m">
3085 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003087 </text>
3088
3089 <template name="tabs_settings"/>
3090
3091 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003093 </fill>
3094
3095 <listbox style="scrolllist">
3096 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3097 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003099 <data variable="tw_signed_zip_verify"/>
3100 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003101 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3102 <data variable="tw_install_reboot"/>
3103 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003105 <data variable="tw_rm_rf"/>
3106 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003107 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3108 <data variable="tw_disable_free_space"/>
3109 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003110 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3111 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003112 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003113 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3114 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003115 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003117 <data variable="tw_military_time"/>
3118 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003119 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3120 <data variable="tw_app_prompt"/>
3121 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003123 <data variable="tw_simulate_actions"/>
3124 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003126 <condition var1="tw_simulate_actions" var2="1"/>
3127 <data variable="tw_simulate_fail"/>
3128 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003129 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3130 <condition var1="tw_no_sha2" var2="0"/>
3131 <data variable="tw_use_sha2"/>
3132 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003133 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3134 <data variable="tw_unmount_system"/>
3135 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003136 </listbox>
3137
3138 <checkbox>
3139 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 <data variable="tw_samsung_navbar"/>
3142 </checkbox>
3143
3144 <button style="radiobutton">
3145 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3146 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <image resource="radio_false"/>
3149 <action function="set">tw_navbar_button_position=0</action>
3150 </button>
3151
3152 <button style="radiobutton">
3153 <condition var1="tw_navbar_button_position" var2="0"/>
3154 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 <image resource="radio_true"/>
3157 <action function="set">tw_navbar_button_position=0</action>
3158 </button>
3159
3160 <button style="radiobutton">
3161 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3162 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <image resource="radio_false"/>
3165 <action function="set">tw_navbar_button_position=1</action>
3166 </button>
3167
3168 <button style="radiobutton">
3169 <condition var1="tw_navbar_button_position" var2="1"/>
3170 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <image resource="radio_true"/>
3173 <action function="set">tw_navbar_button_position=1</action>
3174 </button>
3175
3176 <button style="radiobutton">
3177 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3178 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 <image resource="radio_false"/>
3181 <action function="set">tw_navbar_button_position=2</action>
3182 </button>
3183
3184 <button style="radiobutton">
3185 <condition var1="tw_navbar_button_position" var2="2"/>
3186 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 <image resource="radio_true"/>
3189 <action function="set">tw_navbar_button_position=2</action>
3190 </button>
3191
3192 <button style="main_button_half_width">
3193 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="restoredefaultsettings"/>
3196 </button>
3197
3198 <action>
3199 <touch key="home"/>
3200 <action function="page">main</action>
3201 </action>
3202
3203 <action>
3204 <touch key="back"/>
3205 <action function="page">main</action>
3206 </action>
3207 </page>
3208
3209 <page name="settings_timezone">
3210 <template name="page"/>
3211
3212 <text style="text_l">
3213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <text style="text_m">
3218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </text>
3221
3222 <template name="tabs_settings"/>
3223
3224 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003226 </fill>
3227
3228 <listbox>
3229 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003231 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3233 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3234 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3235 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3236 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3237 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3238 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3239 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3240 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3241 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3242 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3243 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3244 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3245 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3246 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3247 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3248 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3249 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3250 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3251 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3252 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3253 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3254 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3255 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </listbox>
3257
3258 <text style="text_m_accent">
3259 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003261 </text>
3262
3263 <button style="button_quarter_width">
3264 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 <action function="set">tw_time_zone_guioffset=0</action>
3267 </button>
3268
3269 <button style="button_quarter_width">
3270 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 <action function="set">tw_time_zone_guioffset=15</action>
3273 </button>
3274
3275 <button style="button_quarter_width">
3276 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003278 <action function="set">tw_time_zone_guioffset=30</action>
3279 </button>
3280
3281 <button style="button_quarter_width">
3282 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <action function="set">tw_time_zone_guioffset=45</action>
3285 </button>
3286
3287 <checkbox>
3288 <placement x="%col1_x_right%" y="%row7_y%"/>
3289 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <data variable="tw_time_zone_guidst"/>
3292 <image checked="checkbox_true" unchecked="checkbox_false"/>
3293 </checkbox>
3294
3295 <text color="%text_color%">
3296 <font resource="font_m"/>
3297 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <button>
3302 <highlight color="%highlight_color%"/>
3303 <placement x="%col2_x_right%" y="%row15a_y%"/>
3304 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <image resource="main_button_half_width"/>
3307 <action function="setguitimezone"/>
3308 </button>
3309
3310 <action>
3311 <touch key="home"/>
3312 <action function="page">main</action>
3313 </action>
3314
3315 <action>
3316 <touch key="back"/>
3317 <action function="page">main</action>
3318 </action>
3319 </page>
3320
3321 <page name="settings_screen">
3322 <template name="page"/>
3323
3324 <text style="text_l">
3325 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </text>
3328
3329 <text style="text_m">
3330 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <template name="tabs_settings"/>
3335
3336 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003338 </fill>
3339
3340 <button>
3341 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3342 <font resource="font_m" color="%text_color%"/>
3343 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3344 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <image resource="checkbox_false"/>
3347 <action function="set">tw_screen_timeout_secs=60</action>
3348 </button>
3349
3350 <button>
3351 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3352 <font resource="font_m" color="%text_color%"/>
3353 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3354 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <image resource="checkbox_true"/>
3357 <action function="set">tw_screen_timeout_secs=0</action>
3358 </button>
3359
3360 <slidervalue>
3361 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3362 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3363 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003365 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3366 </slidervalue>
3367
3368 <slidervalue>
3369 <condition var1="tw_has_brightnesss_file" var2="1"/>
3370 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <data variable="tw_brightness_pct" min="10" max="100"/>
3373 <actions>
3374 <action function="set">tw_brightness=%tw_brightness_max%</action>
3375 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3376 <action function="compute">tw_brightness/100</action>
3377 <action function="setbrightness">%tw_brightness%</action>
3378 </actions>
3379 </slidervalue>
3380
3381 <action>
3382 <touch key="home"/>
3383 <action function="page">main</action>
3384 </action>
3385
3386 <action>
3387 <touch key="back"/>
3388 <action function="page">main</action>
3389 </action>
3390 </page>
3391
3392 <page name="settings_vibration">
3393 <template name="page"/>
3394
3395 <text style="text_l">
3396 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003398 </text>
3399
3400 <text style="text_m">
3401 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003402 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003403 </text>
3404
3405 <template name="tabs_settings"/>
3406
3407 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003408 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003409 </fill>
3410
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003411 <text style="text_m">
3412 <condition var1="tw_disable_haptics" var2="1"/>
3413 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3414 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3415 </text>
3416
z31s1g28f0a922015-11-07 18:50:22 +01003417 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003418 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003419 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003421 <data variable="tw_button_vibrate" min="0" max="300"/>
3422 </slidervalue>
3423
3424 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003425 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003426 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003428 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3429 </slidervalue>
3430
3431 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003432 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003433 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 <data variable="tw_action_vibrate" min="0" max="500"/>
3436 </slidervalue>
3437
3438 <action>
3439 <touch key="home"/>
3440 <action function="page">main</action>
3441 </action>
3442
3443 <action>
3444 <touch key="back"/>
3445 <action function="page">main</action>
3446 </action>
3447 </page>
3448
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <page name="settings_language">
3450 <template name="page"/>
3451
3452 <text style="text_l">
3453 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3454 <text>{@settings_hdr=Settings}</text>
3455 </text>
3456
3457 <text style="text_m">
3458 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3459 <text>{@language_hdr=Language - %tw_language_display%}</text>
3460 </text>
3461
3462 <template name="tabs_settings"/>
3463
3464 <fill color="%text_color%">
3465 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3466 </fill>
3467
3468 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003469 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@select_language=Select Language:}</text>
3471 <icon selected="radio_true" unselected="radio_false" />
3472 <data name="tw_language" />
3473 </listbox>
3474
z31s1g56189522016-01-13 19:12:40 +01003475 <button>
3476 <highlight color="%highlight_color%"/>
3477 <placement x="%col2_x_right%" y="%row15a_y%"/>
3478 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003480 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <action function="setlanguage"></action>
3482 </button>
3483
3484 <action>
3485 <touch key="home" />
3486 <action function="page">main</action>
3487 </action>
3488
3489 <action>
3490 <touch key="back" />
3491 <action function="page">settings</action>
3492 </action>
3493 </page>
3494
Matt Mower32676622017-01-18 18:56:13 -06003495 <page name="copylog">
3496 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003497
Matt Mower32676622017-01-18 18:56:13 -06003498 <text style="text_l">
3499 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3500 <text>{@copying_log=Copy Logs to SD Card}</text>
3501 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003502
Matt Mower32676622017-01-18 18:56:13 -06003503 <checkbox>
3504 <placement x="%indent%" y="%row4_y%"/>
3505 <text>{@include_kernel_log=Include Kernel Log}</text>
3506 <data variable="tw_include_kernel_log" value="1"/>
3507 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003508
Matt Mower32676622017-01-18 18:56:13 -06003509 <slider>
3510 <text>{@copying_log=Copy Logs to SD Card}</text>
3511 <actions>
3512 <action function="set">tw_back=advanced</action>
3513 <action function="set">tw_action=copylog</action>
3514 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3515 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3516 <action function="page">action_page</action>
3517 </actions>
3518 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003519
Matt Mower32676622017-01-18 18:56:13 -06003520 <action>
3521 <touch key="home"/>
3522 <action function="page">main</action>
3523 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003524
Matt Mower32676622017-01-18 18:56:13 -06003525 <action>
3526 <touch key="back"/>
3527 <actions>
3528 <action function="page">advanced</action>
3529 </actions>
3530 </action>
3531 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003532
z31s1g28f0a922015-11-07 18:50:22 +01003533 <page name="advanced">
3534 <template name="page"/>
3535
3536 <text style="text_l">
3537 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003539 </text>
3540
3541 <button style="main_button">
3542 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003544 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </button>
3546
3547 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003548 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 <action function="page">filemanagerlist</action>
3551 </button>
3552
3553 <button style="main_button">
3554 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003556 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003557 </button>
3558
3559 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003560 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="page">sideload</action>
3563 </button>
3564
Ethan Yonker64e0a652018-07-25 09:52:17 -05003565 <listbox style="advanced_listbox">
3566 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
3567 <listitem name="{@reload_theme_btn=Reload Theme}">
3568 <action function="reload"/>
3569 </listitem>
3570 <listitem name="{@part_sd_btn=Partition SD Card}">
3571 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3572 <actions>
3573 <action function="set">partitionlisterror=0</action>
3574 <action function="page">partsdcardsel</action>
3575 </actions>
3576 </listitem>
3577 <listitem name="{@fix_context_btn=Fix Contexts}">
3578 <condition var1="tw_has_data_media" var2="1"/>
3579 <action function="page">fixcontexts</action>
3580 </listitem>
3581 <listitem name="{@dumlock_btn=HTC Dumlock}">
3582 <condition var1="tw_show_dumlock" var2="1"/>
3583 <action function="page">htcdumlock</action>
3584 </listitem>
3585 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3586 <condition var1="tw_has_injecttwrp" var2="1"/>
3587 <actions>
3588 <action function="set">tw_back=advanced</action>
3589 <action function="set">tw_action=reinjecttwrp</action>
3590 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3591 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3592 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3593 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3594 <action function="page">confirm_action</action>
3595 </actions>
3596 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003597 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3598 <conditions>
3599 <condition var1="tw_has_boot_slots" var2="1"/>
3600 <condition var1="tw_has_repack_tools" var2="1"/>
3601 </conditions>
3602 <actions>
3603 <action function="set">tw_repack_kernel=0</action>
3604 <action function="page">repackselect</action>
3605 </actions>
3606 </listitem>
3607 <listitem name="{@install_kernel=Install Kernel}">
3608 <conditions>
3609 <condition var1="tw_has_boot_slots" var2="1"/>
3610 <condition var1="tw_has_repack_tools" var2="1"/>
3611 </conditions>
3612 <actions>
3613 <action function="set">tw_repack_kernel=1</action>
3614 <action function="page">repackselect</action>
3615 </actions>
3616 </listitem>
3617 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3618 <conditions>
3619 <condition var1="tw_has_boot_slots" var2="1"/>
3620 <condition var1="tw_has_repack_tools" var2="1"/>
3621 </conditions>
3622 <actions>
3623 <action function="set">tw_back=advanced</action>
3624 <action function="set">tw_action=fixabrecoverybootloop</action>
3625 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3626 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3627 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3628 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3629 <action function="page">confirm_action</action>
3630 </actions>
3631 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003632 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3633 <condition var1="tw_app_installed_in_system" var2="1"/>
3634 <actions>
3635 <action function="set">tw_back=advanced</action>
3636 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3637 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3638 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3639 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3640 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3641 <action function="page">confirm_action</action>
3642 </actions>
3643 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003644 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003645
3646 <action>
3647 <touch key="home"/>
3648 <action function="page">main</action>
3649 </action>
3650
3651 <action>
3652 <touch key="back"/>
3653 <action function="page">main</action>
3654 </action>
3655 </page>
3656
Ethan Yonker483e9f42016-01-11 22:21:18 -06003657 <page name="partsdcardsel">
3658 <template name="page"/>
3659
3660 <text style="text_l">
3661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3662 <text>{@advanced_hdr=Advanced}</text>
3663 </text>
3664
3665 <text style="text_m">
3666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3667 <text>{@part_sd_hdr=Partition SD Card}</text>
3668 </text>
3669
z31s1g782e1c92016-01-30 16:50:09 +01003670 <partitionlist>
3671 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003672 <text>{@sel_storage_list=Select Storage}</text>
3673 <data name="tw_storage_path"/>
3674 <listtype name="storage"/>
3675 </partitionlist>
3676
z31s1g782e1c92016-01-30 16:50:09 +01003677 <text style="text_m_fail">
3678 <condition var1="partitionlisterror" var2="1"/>
3679 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3680 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3681 </text>
3682
3683 <button style="main_button_half_width">
3684 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003685 <text>{@ok_btn=OK}</text>
3686 <actions>
3687 <action function="getpartitiondetails">tw_storage_path</action>
3688 <action function="page">partsdcardcheck</action>
3689 </actions>
3690 </button>
3691
Ethan Yonker483e9f42016-01-11 22:21:18 -06003692 <action>
3693 <touch key="home"/>
3694 <action function="page">main</action>
3695 </action>
3696
3697 <action>
3698 <touch key="back"/>
3699 <action function="page">advanced</action>
3700 </action>
3701 </page>
3702
3703 <page name="partsdcardcheck">
3704 <action>
3705 <condition var1="tw_partition_removable" op="=" var2="1"/>
3706 <actions>
3707 <action function="set">partitionlisterror=0</action>
3708 <action function="page">partsdcard</action>
3709 </actions>
3710 </action>
3711
3712 <action>
3713 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3714 <actions>
3715 <action function="set">partitionlisterror=1</action>
3716 <action function="page">partsdcardsel</action>
3717 </actions>
3718 </action>
3719 </page>
3720
z31s1g28f0a922015-11-07 18:50:22 +01003721 <page name="partsdcard">
3722 <template name="page"/>
3723
3724 <text style="text_l">
3725 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 </text>
3728
3729 <text style="text_m">
3730 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003732 </text>
3733
3734 <text style="text_m_fail">
3735 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003737 </text>
3738
3739 <text style="text_m_fail">
3740 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </text>
3743
3744 <text style="text_m_accent">
3745 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 </text>
3748
3749 <text style="text_m">
3750 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3751 <text>%tw_sdext_size%</text>
3752 </text>
3753
3754 <button style="button_quarter_width">
3755 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003757 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </button>
3759
3760 <button style="button_quarter_width">
3761 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003763 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003764 </button>
3765
3766 <text style="text_m_accent">
3767 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </text>
3770
3771 <text style="text_m">
3772 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3773 <text>%tw_swap_size%</text>
3774 </text>
3775
3776 <button style="button_quarter_width">
3777 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003779 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003780 </button>
3781
3782 <button style="button_quarter_width">
3783 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003785 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </button>
3787
3788 <text style="text_m_accent">
3789 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 </text>
3792
3793 <text style="text_m">
3794 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3795 <text>%tw_sdpart_file_system%</text>
3796 </text>
3797
3798 <button style="button_quarter_width">
3799 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3800 <text>EXT3</text>
3801 <action function="set">tw_sdpart_file_system=ext3</action>
3802 </button>
3803
3804 <button style="button_quarter_width">
3805 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3806 <text>EXT4</text>
3807 <action function="set">tw_sdpart_file_system=ext4</action>
3808 </button>
3809
3810 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003811 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003812 <action function="page">partsdcardaction</action>
3813 <actions>
3814 <action function="set">tw_back=partsdcard</action>
3815 <action function="set">tw_action=partitionsd</action>
3816 <action function="set">tw_has_action2=1</action>
3817 <action function="set">tw_action2=set</action>
3818 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3820 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3821 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 <action function="page">action_page</action>
3823 </actions>
3824 </slider>
3825
3826 <action>
3827 <touch key="home"/>
3828 <action function="page">main</action>
3829 </action>
3830
3831 <action>
3832 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003833 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003834 </action>
3835 </page>
3836
3837 <page name="htcdumlock">
3838 <template name="page"/>
3839
3840 <text style="text_l">
3841 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003842 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003843 </text>
3844
3845 <text style="text_m">
3846 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003847 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003848 </text>
3849
3850 <button style="main_button_m">
3851 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 <actions>
3854 <action function="set">tw_back=htcdumlock</action>
3855 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3857 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3858 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3859 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003860 <action function="page">confirm_action</action>
3861 </actions>
3862 </button>
3863
3864 <button style="main_button_m">
3865 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 <actions>
3868 <action function="set">tw_back=htcdumlock</action>
3869 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3871 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3872 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3873 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003874 <action function="page">confirm_action</action>
3875 </actions>
3876 </button>
3877
3878 <button style="main_button_m">
3879 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 <actions>
3882 <action function="set">tw_back=htcdumlock</action>
3883 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3885 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3886 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3887 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003888 <action function="page">confirm_action</action>
3889 </actions>
3890 </button>
3891
3892 <action>
3893 <touch key="home"/>
3894 <action function="page">main</action>
3895 </action>
3896
3897 <action>
3898 <touch key="back"/>
3899 <action function="page">advanced</action>
3900 </action>
3901 </page>
3902
Ethan Yonker53796e72019-01-11 22:49:52 -06003903 <page name="repackselect">
3904 <template name="page"/>
3905
3906 <text style="text_l">
3907 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3908 <text>{@repack_image_hdr=Select Image}</text>
3909 </text>
3910
3911 <text style="text_m">
3912 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3913 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3914 </text>
3915
3916 <template name="sort_options"/>
3917
3918 <fileselector>
3919 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3920 <text>%tw_zip_location%</text>
3921 <filter extn=".img" folders="1" files="1"/>
3922 <path name="tw_zip_location" default="/sdcard"/>
3923 <data name="tw_filename"/>
3924 <selection name="tw_file"/>
3925 </fileselector>
3926
3927 <button style="main_button_half_width_low">
3928 <placement x="%col_button_right%" y="%row16a_y%"/>
3929 <text>{@select_storage_btn=Select Storage}</text>
3930 <actions>
3931 <action function="set">tw_back=install</action>
3932 <action function="overlay">select_storage</action>
3933 </actions>
3934 </button>
3935
3936 <action>
3937 <conditions>
3938 <condition var1="tw_filename" op="modified"/>
3939 </conditions>
3940 <action function="page">repackconfirm</action>
3941 </action>
3942
3943 <action>
3944 <touch key="back"/>
3945 <action function="page">advanced</action>
3946 </action>
3947
3948 <action>
3949 <touch key="home"/>
3950 <action function="page">main</action>
3951 </action>
3952 </page>
3953
3954 <page name="repackconfirm">
3955 <template name="page"/>
3956
3957 <text style="text_l">
3958 <condition var1="tw_repack_kernel" var2="1"/>
3959 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3960 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3961 </text>
3962
3963 <text style="text_l">
3964 <condition var1="tw_repack_kernel" var2="0"/>
3965 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3966 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3967 </text>
3968
3969 <text style="text_m">
3970 <condition var1="tw_repack_kernel" var2="1"/>
3971 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3972 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3973 </text>
3974
3975 <text style="text_m">
3976 <condition var1="tw_repack_kernel" var2="0"/>
3977 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3978 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3979 </text>
3980
3981 <text style="text_m_accent">
3982 <placement x="%indent%" y="%row2_y%"/>
3983 <text>{@folder=Folder:}</text>
3984 </text>
3985
3986 <text style="text_m">
3987 <placement x="%indent%" y="%row3_y%"/>
3988 <text>%tw_zip_location%</text>
3989 </text>
3990
3991 <text style="text_m_accent">
3992 <placement x="%indent%" y="%row4_y%"/>
3993 <text>{@file=File:}</text>
3994 </text>
3995
3996 <text style="text_m">
3997 <placement x="%indent%" y="%row5_y%"/>
3998 <text>%tw_file%</text>
3999 </text>
4000
4001 <checkbox>
4002 <placement x="%indent%" y="%row7_y%"/>
4003 <text>{@repack_backup_first=Back up existing image first}</text>
4004 <data variable="tw_repack_backup_first"/>
4005 </checkbox>
4006
4007 <button style="main_button_half_width">
4008 <placement x="%col1_x_left%" y="%row15a_y%"/>
4009 <text>{@install_cancel=Do not Install}</text>
4010 <action function="page">repackselect</action>
4011 </button>
4012
4013 <slider style="slider_centered">
4014 <text>{@swipe_to_install=Swipe to Install}</text>
4015 <actions>
4016 <action function="set">tw_back=advanced</action>
4017 <action function="set">tw_action=repackimage</action>
4018 <action function="set">tw_action_param=/boot</action>
4019 <action function="set">tw_action_text1={@installing=Installing...}</action>
4020 <action function="set">tw_action_text2=</action>
4021 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4022 <action function="page">action_page</action>
4023 </actions>
4024 </slider>
4025
4026 <action>
4027 <touch key="back"/>
4028 <action function="page">repackselect</action>
4029 </action>
4030
4031 <action>
4032 <touch key="home"/>
4033 <action function="page">main</action>
4034 </action>
4035 </page>
4036
z31s1g28f0a922015-11-07 18:50:22 +01004037 <page name="lock">
4038 <background color="%semi_transparent%"/>
4039
4040 <image>
4041 <image resource="unlock_icon"/>
4042 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4043 </image>
4044
4045 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004046 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004047 <action function="overlay"/>
4048 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004049
4050 <action>
4051 <touch key="power"/>
4052 <action function="togglebacklight"/>
4053 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </page>
4055
4056 <page name="filemanagerlist">
4057 <template name="page"/>
4058
4059 <text style="text_l">
4060 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004061 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004062 </text>
4063
4064 <text style="text_m">
4065 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004066 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004067 </text>
4068
4069 <template name="sort_options"/>
4070
4071 <fileselector>
4072 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4073 <text>%tw_file_location1%</text>
4074 <filter folders="1" files="1"/>
4075 <path name="tw_file_location1" default="/"/>
4076 <data name="tw_filename1"/>
4077 <selection name="tw_selection1"/>
4078 </fileselector>
4079
4080 <button style="main_button_half_width_low">
4081 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004083 <actions>
4084 <action function="set">tw_filename1=tw_file_location1</action>
4085 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004086 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004087 <action function="page">filemanageroptions</action>
4088 </actions>
4089 </button>
4090
4091 <action>
4092 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004094 <action function="set">tw_fm_isfolder=0</action>
4095 </actions>
4096 </action>
4097
4098 <action>
4099 <touch key="home"/>
4100 <action function="page">main</action>
4101 </action>
4102
4103 <action>
4104 <touch key="back"/>
4105 <action function="page">advanced</action>
4106 </action>
4107
4108 <action>
4109 <condition var1="tw_filename1" op="modified"/>
4110 <action function="page">filemanageroptions</action>
4111 </action>
4112 </page>
4113
4114 <page name="filemanageroptions">
4115 <template name="page"/>
4116
4117 <text style="text_l">
4118 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004120 </text>
4121
4122 <text style="text_m">
4123 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004125 </text>
4126
4127 <text style="text_m_accent">
4128 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004129 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004130 </text>
4131
4132 <text style="text_m">
4133 <placement x="%col1_x_left%" y="%row3_y%"/>
4134 <text>%tw_filename1%</text>
4135 </text>
4136
4137 <button style="main_button_half_width">
4138 <condition var1="tw_fm_isfolder" var2="0"/>
4139 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004140 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004141 <actions>
4142 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004143 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004144 <action function="page">choosedestinationfolder</action>
4145 </actions>
4146 </button>
4147
4148 <button style="main_button_half_width">
4149 <condition var1="tw_fm_isfolder" var2="1"/>
4150 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 <actions>
4153 <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 -05004154 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004155 <action function="page">choosedestinationfolder</action>
4156 </actions>
4157 </button>
4158
4159 <button style="main_button_half_width">
4160 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 <actions>
4163 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004165 <action function="page">choosedestinationfolder</action>
4166 </actions>
4167 </button>
4168
4169 <button style="main_button_half_width">
4170 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004172 <actions>
4173 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004175 <action function="set">tw_fm_text2=</action>
4176 <action function="set">tw_fm_text3=</action>
4177 <action function="set">tw_include_text3=0</action>
4178 <action function="set">tw_back=filemanageroptions</action>
4179 <action function="page">filemanagerconfirm</action>
4180 </actions>
4181 </button>
4182
4183 <button style="main_button_half_width">
4184 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004185 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004186 <actions>
4187 <action function="set">tw_filemanager_rename=0000</action>
4188 <action function="set">tw_fm_text2=</action>
4189 <action function="set">tw_fm_text3=</action>
4190 <action function="set">tw_include_text3=0</action>
4191 <action function="set">tw_back=filemanageroptions</action>
4192 <action function="page">filemanagerchmod</action>
4193 </actions>
4194 </button>
4195
4196 <button style="main_button_half_width">
4197 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004198 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004199 <actions>
4200 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004202 <action function="set">tw_fm_text2=</action>
4203 <action function="set">tw_fm_text3=</action>
4204 <action function="set">tw_include_text3=0</action>
4205 <action function="set">tw_back=filemanageroptions</action>
4206 <action function="page">filemanagerconfirm</action>
4207 </actions>
4208 </button>
4209
4210 <button style="main_button_half_width">
4211 <condition var1="tw_fm_isfolder" var2="0"/>
4212 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 <actions>
4215 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004217 <action function="set">tw_filemanager_command=mv</action>
4218 <action function="page">filemanagerrenamefile</action>
4219 </actions>
4220 </button>
4221
4222 <button style="main_button_half_width">
4223 <condition var1="tw_fm_isfolder" var2="1"/>
4224 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004225 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004226 <actions>
4227 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004228 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004229 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4230 <action function="page">filemanagerrenamefolder</action>
4231 </actions>
4232 </button>
4233
4234 <action>
4235 <touch key="home"/>
4236 <action function="page">main</action>
4237 </action>
4238
4239 <action>
4240 <touch key="back"/>
4241 <action function="page">filemanagerlist</action>
4242 </action>
4243 </page>
4244
4245 <page name="choosedestinationfolder">
4246 <template name="page"/>
4247
4248 <text style="text_l">
4249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004250 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004251 </text>
4252
4253 <text style="text_m">
4254 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004255 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004256 </text>
4257
4258 <template name="sort_options"/>
4259
4260 <fileselector>
4261 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4262 <text>%tw_file_location2%</text>
4263 <filter folders="1" files="0"/>
4264 <path name="tw_file_location2" default="/"/>
4265 <data name="tw_filename2"/>
4266 <selection name="tw_selection2"/>
4267 </fileselector>
4268
4269 <button style="main_button_half_width_low">
4270 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004271 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004272 <actions>
4273 <action function="set">tw_fm_text2=to</action>
4274 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4275 <action function="set">tw_include_text3=1</action>
4276 <action function="set">tw_back=filemanageroptions</action>
4277 <action function="page">filemanagerconfirm</action>
4278 </actions>
4279 </button>
4280
4281 <action>
4282 <touch key="home"/>
4283 <action function="page">main</action>
4284 </action>
4285
4286 <action>
4287 <touch key="back"/>
4288 <action function="page">filemanageroptions</action>
4289 </action>
4290 </page>
4291
4292 <page name="filemanagerrenamefile">
4293 <template name="page"/>
4294
4295 <text style="text_l">
4296 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004298 </text>
4299
4300 <text style="text_m">
4301 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004302 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004303 </text>
4304
4305 <text style="text_m_accent">
4306 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004307 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004308 </text>
4309
4310 <input>
4311 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4312 <text>%tw_filemanager_rename%</text>
4313 <data name="tw_filemanager_rename"/>
4314 <restrict minlen="1" maxlen="128"/>
4315 <actions>
4316 <action function="set">tw_fm_text2=to</action>
4317 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4318 <action function="set">tw_include_text3=1</action>
4319 <action function="set">tw_back=filemanageroptions</action>
4320 <action function="page">filemanagerconfirm</action>
4321 </actions>
4322 </input>
4323
4324 <fill color="%accent_color%">
4325 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4326 </fill>
4327
4328 <button style="main_button_half_width_low">
4329 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 <action function="page">filemanageroptions</action>
4332 </button>
4333
4334 <template name="keyboardtemplate"/>
4335
4336 <action>
4337 <touch key="home"/>
4338 <action function="page">main</action>
4339 </action>
4340
4341 <action>
4342 <touch key="back"/>
4343 <action function="page">filemanageroptions</action>
4344 </action>
4345 </page>
4346
4347 <page name="filemanagerrenamefolder">
4348 <template name="page"/>
4349
4350 <text style="text_l">
4351 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004353 </text>
4354
4355 <text style="text_m">
4356 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004357 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004358 </text>
4359
4360 <text style="text_m_accent">
4361 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004362 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004363 </text>
4364
4365 <input>
4366 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4367 <text>%tw_filemanager_rename%</text>
4368 <data name="tw_filemanager_rename"/>
4369 <restrict minlen="1" maxlen="128"/>
4370 <actions>
4371 <action function="set">tw_fm_text2=to</action>
4372 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4373 <action function="set">tw_include_text3=1</action>
4374 <action function="set">tw_back=filemanageroptions</action>
4375 <action function="page">filemanagerconfirm</action>
4376 </actions>
4377 </input>
4378
4379 <fill color="%accent_color%">
4380 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4381 </fill>
4382
4383 <button style="main_button_half_width_low">
4384 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004385 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004386 <action function="page">filemanageroptions</action>
4387 </button>
4388
4389 <template name="keyboardtemplate"/>
4390
4391 <action>
4392 <touch key="home"/>
4393 <action function="page">main</action>
4394 </action>
4395
4396 <action>
4397 <touch key="back"/>
4398 <action function="page">filemanageroptions</action>
4399 </action>
4400 </page>
4401
4402 <page name="filemanagerchmod">
4403 <template name="page"/>
4404
4405 <text style="text_l">
4406 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004407 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004408 </text>
4409
4410 <text style="text_m">
4411 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004412 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004413 </text>
4414
4415 <text style="text_m_accent">
4416 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004417 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004418 </text>
4419
4420 <input>
4421 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4422 <text>%tw_filemanager_rename%</text>
4423 <data name="tw_filemanager_rename"/>
4424 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4425 <actions>
4426 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4427 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4428 <action function="set">tw_back=filemanageroptions</action>
4429 <action function="page">filemanagerconfirm</action>
4430 </actions>
4431 </input>
4432
4433 <fill color="%accent_color%">
4434 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4435 </fill>
4436
4437 <button style="main_button_half_width_low">
4438 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 <action function="page">filemanageroptions</action>
4441 </button>
4442
4443 <template name="keyboardtemplate"/>
4444
4445 <action>
4446 <touch key="home"/>
4447 <action function="page">main</action>
4448 </action>
4449
4450 <action>
4451 <touch key="back"/>
4452 <action function="page">filemanageroptions</action>
4453 </action>
4454 </page>
4455
4456 <page name="filemanagerconfirm">
4457 <template name="page"/>
4458
4459 <text style="text_l">
4460 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m">
4465 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <text style="text_m_accent">
4470 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4471 <text>%tw_fm_text1%</text>
4472 </text>
4473
4474 <text style="text_m">
4475 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4476 <text>%tw_filename1%</text>
4477 </text>
4478
4479 <text style="text_m_accent">
4480 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4481 <text>%tw_fm_text2%</text>
4482 </text>
4483
4484 <text style="text_m">
4485 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4486 <text>%tw_fm_text3%</text>
4487 </text>
4488
4489 <text style="text_m">
4490 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004491 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004492 </text>
4493
4494 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 <action function="page">filemanageraction</action>
4497 </slider>
4498
4499 <action>
4500 <touch key="back"/>
4501 <action function="page">%tw_back%</action>
4502 </action>
4503
4504 <action>
4505 <touch key="home"/>
4506 <action function="page">main</action>
4507 </action>
4508 </page>
4509
4510 <page name="filemanageraction">
4511 <template name="page"/>
4512
4513 <text style="text_l">
4514 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004515 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004516 </text>
4517
4518 <text style="text_m">
4519 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4520 <text>%tw_fm_text1%</text>
4521 </text>
4522
4523 <template name="console"/>
4524
4525 <template name="progress_bar"/>
4526
4527 <action>
4528 <conditions>
4529 <condition var1="tw_operation_state" var2="1"/>
4530 <condition var1="tw_operation_status" var2="0"/>
4531 </conditions>
4532 <actions>
4533 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <action function="page">action_complete</action>
4536 </actions>
4537 </action>
4538
4539 <action>
4540 <conditions>
4541 <condition var1="tw_operation_state" var2="1"/>
4542 <condition var1="tw_operation_status" op="!=" var2="0"/>
4543 </conditions>
4544 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004545 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004546 <action function="page">action_complete</action>
4547 </actions>
4548 </action>
4549
4550 <action>
4551 <condition var1="tw_include_text3" var2="0"/>
4552 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4553 </action>
4554
4555 <action>
4556 <condition var1="tw_include_text3" var2="1"/>
4557 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4558 </action>
4559 </page>
4560
4561 <page name="decrypt">
4562 <template name="page"/>
4563
4564 <action>
4565 <condition var1="tw_crypto_pwtype" var2="2"/>
4566 <action function="page">decrypt_pattern</action>
4567 </action>
4568
4569 <text style="text_l">
4570 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004571 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 </text>
4573
4574 <text style="text_m">
4575 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004576 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004577 </text>
4578
4579 <text style="text_m_accent">
4580 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004581 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004582 </text>
4583
4584 <input>
4585 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4586 <text>%tw_crypto_display%</text>
4587 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4588 <restrict minlen="1" maxlen="254"/>
4589 <action function="page">trydecrypt</action>
4590 </input>
4591
4592 <fill color="%accent_color%">
4593 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4594 </fill>
4595
4596 <fill color="%text_fail_color%">
4597 <condition var1="tw_password_fail" var2="1"/>
4598 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4599 </fill>
4600
4601 <text style="text_m_fail">
4602 <condition var1="tw_password_fail" var2="1"/>
4603 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004604 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <button style="main_button_half_width_low">
4608 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 <actions>
4611 <action function="set">tw_page_done=1</action>
4612 <action function="page">main</action>
4613 </actions>
4614 </button>
4615
z31s1g608d7ff2016-01-18 19:47:25 +01004616 <button style="main_button_half_width_low">
4617 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4618 <text>{@sel_lang_btn=Select Language}</text>
4619 <action function="overlay">select_language</action>
4620 </button>
4621
z31s1g28f0a922015-11-07 18:50:22 +01004622 <template name="keyboardtemplate"/>
4623 </page>
4624
4625 <page name="decrypt_pattern">
4626 <template name="page"/>
4627
4628 <text style="text_l">
4629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 </text>
4632
4633 <text style="text_m">
4634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004635 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004636 </text>
4637
4638 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004639 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004641 </text>
4642
Aleksa Saraib25a1832015-12-31 17:36:00 +01004643 <text style="text_m_fail">
4644 <condition var1="tw_password_fail" var2="1"/>
4645 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004646 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004647 </text>
4648
z31s1g28f0a922015-11-07 18:50:22 +01004649 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004650 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004651 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4652 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4653 <data name="tw_crypto_password"/>
4654 <action function="page">trydecrypt</action>
4655 </patternpassword>
4656
Aleksa Saraib25a1832015-12-31 17:36:00 +01004657 <button style="main_button_half_width_low">
4658 <placement x="%col_button_right%" y="%row1a_y%"/>
4659 <text>3x3</text>
4660 <action function="set">tw_gui_pattern_grid_size=3</action>
4661 </button>
4662
4663 <button style="main_button_half_width_low">
4664 <placement x="%col_button_right%" y="%row4a_y%"/>
4665 <text>4x4</text>
4666 <action function="set">tw_gui_pattern_grid_size=4</action>
4667 </button>
4668
4669 <button style="main_button_half_width_low">
4670 <placement x="%col_button_right%" y="%row7a_y%"/>
4671 <text>5x5</text>
4672 <action function="set">tw_gui_pattern_grid_size=5</action>
4673 </button>
4674
4675 <button style="main_button_half_width_low">
4676 <placement x="%col_button_right%" y="%row10a_y%"/>
4677 <text>6x6</text>
4678 <action function="set">tw_gui_pattern_grid_size=6</action>
4679 </button>
4680
z31s1g28f0a922015-11-07 18:50:22 +01004681 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004682 <placement x="%col1_x_right%" y="%row15a_y%"/>
4683 <text>{@sel_lang_btn=Select Language}</text>
4684 <action function="overlay">select_language</action>
4685 </button>
4686
4687 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004688 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004689 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004690 <actions>
4691 <action function="set">tw_page_done=1</action>
4692 <action function="page">main</action>
4693 </actions>
4694 </button>
4695 </page>
4696
4697 <page name="trydecrypt">
4698 <template name="page"/>
4699
4700 <text style="text_l">
4701 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004702 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004703 </text>
4704
4705 <text style="text_m">
4706 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 </text>
4709
4710 <template name="console"/>
4711
4712 <template name="progress_bar"/>
4713
4714 <action>
4715 <action function="decrypt"/>
4716 </action>
4717
4718 <action>
4719 <conditions>
4720 <condition var1="tw_operation_state" var2="1"/>
4721 <condition var1="tw_operation_status" op="!=" var2="0"/>
4722 </conditions>
4723 <actions>
4724 <action function="set">tw_password_fail=1</action>
4725 <action function="page">decrypt</action>
4726 </actions>
4727 </action>
4728
4729 <action>
4730 <conditions>
4731 <condition var1="tw_operation_state" var2="1"/>
4732 <condition var1="tw_operation_status" op="=" var2="0"/>
4733 </conditions>
4734 <actions>
4735 <action function="set">tw_page_done=1</action>
4736 <action function="page">main</action>
4737 </actions>
4738 </action>
4739 </page>
4740
z31s1g28f0a922015-11-07 18:50:22 +01004741 <page name="terminalcommand">
4742 <template name="page"/>
4743
4744 <fill color="%background_color%">
4745 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4746 </fill>
4747
z31s1g56189522016-01-13 19:12:40 +01004748 <terminal>
4749 <condition var1="tw_hide_kb" var2="0"/>
4750 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4751 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004752
z31s1g56189522016-01-13 19:12:40 +01004753 <terminal>
4754 <condition var1="tw_hide_kb" var2="1"/>
4755 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4756 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004757
z31s1g56189522016-01-13 19:12:40 +01004758 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004759
z31s1g56189522016-01-13 19:12:40 +01004760 <object type="fill" color="#000000">
4761 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4762 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004763
z31s1g608d7ff2016-01-18 19:47:25 +01004764 <button>
z31s1g56189522016-01-13 19:12:40 +01004765 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4766 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4767 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4768 <image resource="back" />
4769 <condition var1="tw_busy" var2="0" />
4770 <actions>
4771 <action function="set">tw_hide_kb=0</action>
4772 <action function="page">advanced</action>
4773 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004774 </button>
z31s1g56189522016-01-13 19:12:40 +01004775
z31s1g608d7ff2016-01-18 19:47:25 +01004776 <button>
z31s1g56189522016-01-13 19:12:40 +01004777 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4778 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4779 <condition var1="tw_hide_kb" op="=" var2="0" />
4780 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4781 <image resource="kb_hide" />
4782 <condition var1="tw_busy" var2="0" />
4783 <actions>
4784 <action function="set">tw_hide_kb=1</action>
4785 <action function="page">terminalcommand</action>
4786 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004787 </button>
z31s1g56189522016-01-13 19:12:40 +01004788
z31s1g608d7ff2016-01-18 19:47:25 +01004789 <button>
z31s1g56189522016-01-13 19:12:40 +01004790 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4791 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4792 <condition var1="tw_hide_kb" op="=" var2="1" />
4793 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4794 <image resource="kb_show" />
4795 <condition var1="tw_busy" var2="0" />
4796 <actions>
4797 <action function="set">tw_hide_kb=0</action>
4798 <action function="page">terminalcommand</action>
4799 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004800 </button>
z31s1g56189522016-01-13 19:12:40 +01004801
z31s1g608d7ff2016-01-18 19:47:25 +01004802 <button>
z31s1g56189522016-01-13 19:12:40 +01004803 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4804 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4805 <image resource="home" />
4806 <condition var1="tw_busy" var2="0" />
4807 <actions>
4808 <action function="set">tw_hide_kb=0</action>
4809 <action function="key">home</action>
4810 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004811 </button>
z31s1g56189522016-01-13 19:12:40 +01004812
z31s1g608d7ff2016-01-18 19:47:25 +01004813 <button>
z31s1g56189522016-01-13 19:12:40 +01004814 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4815 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4816 <condition var1="tw_hide_kb" op="=" var2="0" />
4817 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4818 <image resource="kb_hide" />
4819 <condition var1="tw_busy" var2="0" />
4820 <actions>
4821 <action function="set">tw_hide_kb=1</action>
4822 <action function="page">terminalcommand</action>
4823 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004824 </button>
z31s1g56189522016-01-13 19:12:40 +01004825
z31s1g608d7ff2016-01-18 19:47:25 +01004826 <button>
z31s1g56189522016-01-13 19:12:40 +01004827 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4828 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4829 <condition var1="tw_hide_kb" op="=" var2="1" />
4830 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4831 <image resource="kb_show" />
4832 <condition var1="tw_busy" var2="0" />
4833 <actions>
4834 <action function="set">tw_hide_kb=0</action>
4835 <action function="page">terminalcommand</action>
4836 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004837 </button>
z31s1g56189522016-01-13 19:12:40 +01004838
z31s1g608d7ff2016-01-18 19:47:25 +01004839 <button>
z31s1g56189522016-01-13 19:12:40 +01004840 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4841 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4842 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="back" />
4844 <condition var1="tw_busy" var2="0" />
4845 <actions>
4846 <action function="set">tw_hide_kb=0</action>
4847 <action function="page">advanced</action>
4848 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004849 </button>
z31s1g56189522016-01-13 19:12:40 +01004850
z31s1g608d7ff2016-01-18 19:47:25 +01004851 <button>
z31s1g56189522016-01-13 19:12:40 +01004852 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4853 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4854 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4855 <image resource="back" />
4856 <condition var1="tw_busy" var2="0" />
4857 <actions>
4858 <action function="set">tw_hide_kb=0</action>
4859 <action function="page">advanced</action>
4860 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004861 </button>
z31s1g56189522016-01-13 19:12:40 +01004862
z31s1g608d7ff2016-01-18 19:47:25 +01004863 <button>
z31s1g56189522016-01-13 19:12:40 +01004864 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4865 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4866 <condition var1="tw_hide_kb" op="=" var2="0" />
4867 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4868 <image resource="kb_hide" />
4869 <condition var1="tw_busy" var2="0" />
4870 <actions>
4871 <action function="set">tw_hide_kb=1</action>
4872 <action function="page">terminalcommand</action>
4873 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004874 </button>
z31s1g56189522016-01-13 19:12:40 +01004875
z31s1g608d7ff2016-01-18 19:47:25 +01004876 <button>
z31s1g56189522016-01-13 19:12:40 +01004877 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4878 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4879 <condition var1="tw_hide_kb" op="=" var2="1" />
4880 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4881 <image resource="kb_show" />
4882 <condition var1="tw_busy" var2="0" />
4883 <actions>
4884 <action function="set">tw_hide_kb=0</action>
4885 <action function="page">terminalcommand</action>
4886 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004887 </button>
z31s1g56189522016-01-13 19:12:40 +01004888
z31s1g608d7ff2016-01-18 19:47:25 +01004889 <button>
z31s1g56189522016-01-13 19:12:40 +01004890 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4891 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4892 <image resource="home" />
4893 <condition var1="tw_busy" var2="0" />
4894 <actions>
4895 <action function="set">tw_hide_kb=0</action>
4896 <action function="key">home</action>
4897 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004898 </button>
z31s1g56189522016-01-13 19:12:40 +01004899
z31s1g608d7ff2016-01-18 19:47:25 +01004900 <button>
z31s1g56189522016-01-13 19:12:40 +01004901 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4902 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4903 <condition var1="tw_hide_kb" op="=" var2="0" />
4904 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4905 <image resource="kb_hide" />
4906 <condition var1="tw_busy" var2="0" />
4907 <actions>
4908 <action function="set">tw_hide_kb=1</action>
4909 <action function="page">terminalcommand</action>
4910 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004911 </button>
z31s1g56189522016-01-13 19:12:40 +01004912
z31s1g608d7ff2016-01-18 19:47:25 +01004913 <button>
z31s1g56189522016-01-13 19:12:40 +01004914 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4915 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4916 <condition var1="tw_hide_kb" op="=" var2="1" />
4917 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4918 <image resource="kb_show" />
4919 <condition var1="tw_busy" var2="0" />
4920 <actions>
4921 <action function="set">tw_hide_kb=0</action>
4922 <action function="page">terminalcommand</action>
4923 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004924 </button>
z31s1g56189522016-01-13 19:12:40 +01004925
z31s1g608d7ff2016-01-18 19:47:25 +01004926 <button>
z31s1g56189522016-01-13 19:12:40 +01004927 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4928 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4929 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4930 <image resource="back" />
4931 <condition var1="tw_busy" var2="0" />
4932 <actions>
4933 <action function="set">tw_hide_kb=0</action>
4934 <action function="page">advanced</action>
4935 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004936 </button>
z31s1g56189522016-01-13 19:12:40 +01004937
z31s1g608d7ff2016-01-18 19:47:25 +01004938 <button>
z31s1g56189522016-01-13 19:12:40 +01004939 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4940 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4941 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4942 <image resource="back" />
4943 <condition var1="tw_busy" var2="0" />
4944 <actions>
4945 <action function="set">tw_hide_kb=0</action>
4946 <action function="page">advanced</action>
4947 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004948 </button>
z31s1g56189522016-01-13 19:12:40 +01004949
z31s1g608d7ff2016-01-18 19:47:25 +01004950 <button>
z31s1g56189522016-01-13 19:12:40 +01004951 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4952 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4953 <condition var1="tw_hide_kb" op="=" var2="0" />
4954 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4955 <image resource="kb_hide" />
4956 <condition var1="tw_busy" var2="0" />
4957 <actions>
4958 <action function="set">tw_hide_kb=1</action>
4959 <action function="page">terminalcommand</action>
4960 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004961 </button>
z31s1g56189522016-01-13 19:12:40 +01004962
z31s1g608d7ff2016-01-18 19:47:25 +01004963 <button>
z31s1g56189522016-01-13 19:12:40 +01004964 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4965 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4966 <condition var1="tw_hide_kb" op="=" var2="1" />
4967 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4968 <image resource="kb_show" />
4969 <condition var1="tw_busy" var2="0" />
4970 <actions>
4971 <action function="set">tw_hide_kb=0</action>
4972 <action function="page">terminalcommand</action>
4973 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004974 </button>
z31s1g56189522016-01-13 19:12:40 +01004975
z31s1g608d7ff2016-01-18 19:47:25 +01004976 <button>
z31s1g56189522016-01-13 19:12:40 +01004977 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4978 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4979 <image resource="home" />
4980 <condition var1="tw_busy" var2="0" />
4981 <actions>
4982 <action function="set">tw_hide_kb=0</action>
4983 <action function="key">home</action>
4984 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004985 </button>
z31s1g56189522016-01-13 19:12:40 +01004986
z31s1g608d7ff2016-01-18 19:47:25 +01004987 <button>
z31s1g56189522016-01-13 19:12:40 +01004988 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4989 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4990 <condition var1="tw_hide_kb" op="=" var2="0" />
4991 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4992 <image resource="kb_hide" />
4993 <condition var1="tw_busy" var2="0" />
4994 <actions>
4995 <action function="set">tw_hide_kb=1</action>
4996 <action function="page">terminalcommand</action>
4997 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004998 </button>
z31s1g56189522016-01-13 19:12:40 +01004999
z31s1g608d7ff2016-01-18 19:47:25 +01005000 <button>
z31s1g56189522016-01-13 19:12:40 +01005001 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5002 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5003 <condition var1="tw_hide_kb" op="=" var2="1" />
5004 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5005 <image resource="kb_show" />
5006 <condition var1="tw_busy" var2="0" />
5007 <actions>
5008 <action function="set">tw_hide_kb=0</action>
5009 <action function="page">terminalcommand</action>
5010 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005011 </button>
z31s1g56189522016-01-13 19:12:40 +01005012
z31s1g608d7ff2016-01-18 19:47:25 +01005013 <button>
z31s1g56189522016-01-13 19:12:40 +01005014 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5015 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5016 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5017 <image resource="back" />
5018 <condition var1="tw_busy" var2="0" />
5019 <actions>
5020 <action function="set">tw_hide_kb=0</action>
5021 <action function="page">advanced</action>
5022 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005023 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005024
5025 <action>
5026 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005027 <actions>
5028 <action function="page">main</action>
5029 <action function="set">tw_hide_kb=0</action>
5030 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005031 </action>
5032
5033 <action>
5034 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005035 <actions>
5036 <action function="page">advanced</action>
5037 <action function="set">tw_hide_kb=0</action>
5038 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005039 </action>
z31s1g56189522016-01-13 19:12:40 +01005040
5041 <object type="action">
5042 <touch key="power+voldown" />
5043 <action function="screenshot" />
5044 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005045 </page>
bigbiffdf8436b2020-08-30 16:22:34 -04005046
5047 <page name="fastboot">
5048 <template name="page"/>
5049
5050 <text style="text_l">
5051 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5052 <text>{@fastboot_button=Fastboot}</text>
5053 </text>
5054
5055 <template name="console"/>
5056
5057 <template name="progress_bar"/>
5058
5059 <button style="main_button_half_width">
5060 <condition var1="tw_enable_fastboot" op="=" var2="1" />
5061 <placement x="%col2_x_right%" y="%row15a_y%"/>
5062 <text>{@enable_adb=Enable ADB}</text>
5063 <actions>
5064 <action function="enableadb"/>
5065 <action function="set">tw_enable_adb=1</action>
5066 <action function="set">tw_enable_fastboot=0</action>
5067 </actions>
5068 </button>
5069
5070 <button style="main_button_half_width">
5071 <condition var1="tw_enable_adb" op="=" var2="1" />
5072 <placement x="%col2_x_right%" y="%row15a_y%"/>
5073 <text>{@enable_fastboot=Enable Fastboot}</text>
5074 <actions>
5075 <action function="enablefastboot"/>
5076 <action function="set">tw_enable_fastboot=1</action>
5077 <action function="set">tw_enable_adb=0</action>
5078 </actions>
5079 </button>
5080
5081 <button style="main_button_half_width">
5082 <placement x="%col3_x_right%" y="%row15a_y%"/>
5083 <text>{@reboot_btn=Reboot}</text>
5084 <action function="page">fastbootreboot</action>
5085 </button>
5086 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005087
5088 <page name="sideload">
5089 <template name="page"/>
5090
5091 <text style="text_l">
5092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005093 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005094 </text>
5095
5096 <text style="text_m">
5097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005098 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005099 </text>
5100
5101 <checkbox>
5102 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005103 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005104 <data variable="tw_wipe_dalvik"/>
5105 </checkbox>
5106
5107 <checkbox>
5108 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005109 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005110 <data variable="tw_wipe_cache"/>
5111 </checkbox>
5112
5113 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005114 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005115 <actions>
5116 <action function="set">tw_back=advanced</action>
5117 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005118 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5119 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5120 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005121 <action function="set">tw_has_cancel=1</action>
5122 <action function="set">tw_show_reboot=1</action>
5123 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5124 <action function="page">action_page</action>
5125 </actions>
5126 </slider>
5127
5128 <action>
5129 <touch key="home"/>
5130 <action function="page">main</action>
5131 </action>
5132
5133 <action>
5134 <touch key="back"/>
5135 <action function="page">advanced</action>
5136 </action>
5137 </page>
5138
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005139 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005140 <template name="page"/>
5141
5142 <text style="text_l">
5143 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005144 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005145 </text>
5146
5147 <text style="text_m">
5148 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005149 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005150 </text>
5151
5152 <text style="text_m_accent">
5153 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005154 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005155 </text>
5156
z31s1g28f0a922015-11-07 18:50:22 +01005157 <text style="text_m_fail">
5158 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005159 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005160 </text>
5161
5162 <text style="text_m_fail">
5163 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005164 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005165 </text>
5166
5167 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005168 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005169 <actions>
5170 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005171 <action function="set">tw_action=fixcontexts</action>
5172 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5173 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005174 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005175 <action function="set">tw_show_reboot=1</action>
5176 <action function="page">action_page</action>
5177 </actions>
5178 </slider>
5179
5180 <action>
5181 <touch key="home"/>
5182 <action function="page">main</action>
5183 </action>
5184
5185 <action>
5186 <touch key="back"/>
5187 <action function="page">advanced</action>
5188 </action>
5189 </page>
5190
z31s1g28f0a922015-11-07 18:50:22 +01005191 <page name="slideout">
5192 <fill color="%background_color%">
5193 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5194 </fill>
5195
5196 <console>
5197 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5198 </console>
5199
5200 <button>
5201 <fill color="%transparent%"/>
5202 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5203 <action function="overlay"/>
5204 </button>
5205
5206 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005207 <touch key="power"/>
5208 <action function="togglebacklight"/>
5209 </action>
5210
5211 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005212 <touch key="power+voldown"/>
5213 <action function="screenshot"/>
5214 </action>
5215 </page>
5216
5217 <page name="select_storage">
5218 <fill color="%semi_transparent%">
5219 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5220 </fill>
5221
5222 <fill color="%background_color%">
5223 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5224 </fill>
5225
5226 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005227 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005228 <data name="tw_storage_path"/>
5229 <listtype name="storage"/>
5230 </partitionlist>
5231
5232 <button style="button_third_width">
5233 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005234 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005235 <actions>
5236 <action function="set">tw_clear_destination=%tw_back%</action>
5237 <action function="overlay"/>
5238 <action function="page">clear_vars</action>
5239 </actions>
5240 </button>
5241
5242 <fill color="#000000">
5243 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5244 </fill>
5245
5246 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005247 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5248 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5249 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5250 <image resource="back" />
5251 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005252 <actions>
5253 <action function="overlay"/>
5254 <action function="key">%tw_back%</action>
5255 </actions>
5256 </button>
5257
5258 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005259 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5260 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5261 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5262 <image resource="console" />
5263 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005264 <action function="overlay">slideout</action>
5265 </button>
5266
5267 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005268 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5269 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5270 <image resource="home" />
5271 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005272 <actions>
5273 <action function="overlay"/>
5274 <action function="key">home</action>
5275 </actions>
5276 </button>
5277
5278 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005279 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5280 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5281 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5282 <image resource="console" />
5283 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005284 <action function="overlay">slideout</action>
5285 </button>
5286
5287 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005288 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5289 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5290 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5291 <image resource="back" />
5292 <condition var1="tw_busy" var2="0" />
5293 <actions>
5294 <action function="overlay"/>
5295 <action function="key">%tw_back%</action>
5296 </actions>
5297 </button>
5298
5299 <button>
5300 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5301 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5302 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5303 <image resource="back" />
5304 <condition var1="tw_busy" var2="0" />
5305 <actions>
5306 <action function="overlay"/>
5307 <action function="key">%tw_back%</action>
5308 </actions>
5309 </button>
5310
5311 <button>
5312 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5313 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5314 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5315 <image resource="console" />
5316 <condition var1="tw_busy" var2="0" />
5317 <action function="overlay">slideout</action>
5318 </button>
5319
5320 <button>
5321 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5322 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5323 <image resource="home" />
5324 <condition var1="tw_busy" var2="0" />
5325 <actions>
5326 <action function="overlay"/>
5327 <action function="key">home</action>
5328 </actions>
5329 </button>
5330
5331 <button>
5332 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5333 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5334 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5335 <image resource="console" />
5336 <condition var1="tw_busy" var2="0" />
5337 <action function="overlay">slideout</action>
5338 </button>
5339
5340 <button>
5341 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5342 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5343 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5344 <image resource="back" />
5345 <condition var1="tw_busy" var2="0" />
5346 <actions>
5347 <action function="overlay"/>
5348 <action function="key">%tw_back%</action>
5349 </actions>
5350 </button>
5351
5352 <button>
5353 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5354 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5355 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5356 <image resource="back" />
5357 <condition var1="tw_busy" var2="0" />
5358 <actions>
5359 <action function="overlay"/>
5360 <action function="key">%tw_back%</action>
5361 </actions>
5362 </button>
5363
5364 <button>
5365 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5366 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5367 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5368 <image resource="console" />
5369 <condition var1="tw_busy" var2="0" />
5370 <action function="overlay">slideout</action>
5371 </button>
5372
5373 <button>
5374 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5375 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5376 <image resource="home" />
5377 <condition var1="tw_busy" var2="0" />
5378 <actions>
5379 <action function="overlay"/>
5380 <action function="key">home</action>
5381 </actions>
5382 </button>
5383
5384 <button>
5385 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5386 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5387 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5388 <image resource="console" />
5389 <condition var1="tw_busy" var2="0" />
5390 <action function="overlay">slideout</action>
5391 </button>
5392
5393 <button>
5394 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5395 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5396 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5397 <image resource="back" />
5398 <condition var1="tw_busy" var2="0" />
5399 <actions>
5400 <action function="overlay"/>
5401 <action function="key">%tw_back%</action>
5402 </actions>
5403 </button>
5404
5405 <action>
5406 <touch key="power+voldown"/>
5407 <action function="screenshot"/>
5408 </action>
5409 </page>
5410
5411 <page name="select_language">
5412 <fill color="%semi_transparent%">
5413 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5414 </fill>
5415
5416 <fill color="%background_color%">
5417 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5418 </fill>
5419
5420 <listbox>
5421 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5422 <text>{@select_language=Select Language:}</text>
5423 <icon selected="radio_true" unselected="radio_false" />
5424 <data name="tw_language" />
5425 </listbox>
5426
5427 <button style="button_third_width">
5428 <placement x="%dialog_button_x%" y="%row13_y%"/>
5429 <text>{@ok_btn=OK}</text>
5430 <actions>
5431 <action function="overlay"/>
5432 <action function="setlanguage"></action>
5433 </actions>
5434 </button>
5435
5436 <fill color="#000000">
5437 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5438 </fill>
5439
5440 <button>
5441 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5442 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5443 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5444 <image resource="back" />
5445 <condition var1="tw_busy" var2="0" />
5446 <actions>
5447 <action function="overlay"/>
5448 <action function="key">%tw_back%</action>
5449 </actions>
5450 </button>
5451
5452 <button>
5453 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5454 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5455 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5456 <image resource="console" />
5457 <condition var1="tw_busy" var2="0" />
5458 <action function="overlay">slideout</action>
5459 </button>
5460
5461 <button>
5462 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5463 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5464 <image resource="home" />
5465 <condition var1="tw_busy" var2="0" />
5466 <actions>
5467 <action function="overlay"/>
5468 <action function="key">home</action>
5469 </actions>
5470 </button>
5471
5472 <button>
5473 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5474 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5475 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5476 <image resource="console" />
5477 <condition var1="tw_busy" var2="0" />
5478 <action function="overlay">slideout</action>
5479 </button>
5480
5481 <button>
5482 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5483 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5484 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5485 <image resource="back" />
5486 <condition var1="tw_busy" var2="0" />
5487 <actions>
5488 <action function="overlay"/>
5489 <action function="key">%tw_back%</action>
5490 </actions>
5491 </button>
5492
5493 <button>
5494 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5495 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5496 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5497 <image resource="back" />
5498 <condition var1="tw_busy" var2="0" />
5499 <actions>
5500 <action function="overlay"/>
5501 <action function="key">%tw_back%</action>
5502 </actions>
5503 </button>
5504
5505 <button>
5506 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5507 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5508 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5509 <image resource="console" />
5510 <condition var1="tw_busy" var2="0" />
5511 <action function="overlay">slideout</action>
5512 </button>
5513
5514 <button>
5515 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5516 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5517 <image resource="home" />
5518 <condition var1="tw_busy" var2="0" />
5519 <actions>
5520 <action function="overlay"/>
5521 <action function="key">home</action>
5522 </actions>
5523 </button>
5524
5525 <button>
5526 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5527 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5528 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5529 <image resource="console" />
5530 <condition var1="tw_busy" var2="0" />
5531 <action function="overlay">slideout</action>
5532 </button>
5533
5534 <button>
5535 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5536 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5537 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5538 <image resource="back" />
5539 <condition var1="tw_busy" var2="0" />
5540 <actions>
5541 <action function="overlay"/>
5542 <action function="key">%tw_back%</action>
5543 </actions>
5544 </button>
5545
5546 <button>
5547 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5548 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5549 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5550 <image resource="back" />
5551 <condition var1="tw_busy" var2="0" />
5552 <actions>
5553 <action function="overlay"/>
5554 <action function="key">%tw_back%</action>
5555 </actions>
5556 </button>
5557
5558 <button>
5559 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5560 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5561 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5562 <image resource="console" />
5563 <condition var1="tw_busy" var2="0" />
5564 <action function="overlay">slideout</action>
5565 </button>
5566
5567 <button>
5568 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5569 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5570 <image resource="home" />
5571 <condition var1="tw_busy" var2="0" />
5572 <actions>
5573 <action function="overlay"/>
5574 <action function="key">home</action>
5575 </actions>
5576 </button>
5577
5578 <button>
5579 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5580 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5581 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5582 <image resource="console" />
5583 <condition var1="tw_busy" var2="0" />
5584 <action function="overlay">slideout</action>
5585 </button>
5586
5587 <button>
5588 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5589 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5590 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5591 <image resource="back" />
5592 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005593 <actions>
5594 <action function="overlay"/>
5595 <action function="key">%tw_back%</action>
5596 </actions>
5597 </button>
5598
5599 <action>
5600 <touch key="power+voldown"/>
5601 <action function="screenshot"/>
5602 </action>
5603 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005604 </pages>
5605</recovery>