blob: 0b8860e25c90610052680004ceb4808bcef839cb [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%"/>
142 </style>
143
144 <style name="partitionlist">
145 <highlight color="%fileselector_highlight_color%"/>
146 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
147 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 <icon selected="checkbox_true" unselected="checkbox_false"/>
150 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
151 <background color="%background_color%"/>
152 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
153 </style>
154
155 <style name="partitionlist_storage">
156 <highlight color="%fileselector_highlight_color%"/>
157 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
158 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
159 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
160 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
161 <icon selected="radio_true" unselected="radio_false"/>
162 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
163 <background color="%background_color%"/>
164 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
165 </style>
166
167 <style name="slider">
168 <placement x="%col2_x_right%" y="%row17a_y%"/>
169 <font resource="font_m" color="%text_color%"/>
170 <resource base="slider" used="slider_used" touch="slider_touch"/>
171 </style>
172
173 <style name="slider_centered">
174 <placement x="%center_x%" y="%row17a_y%"/>
175 <font resource="font_m" color="%text_color%"/>
176 <resource base="slider" used="slider_used" touch="slider_touch"/>
177 </style>
178
179 <style name="slidervalue">
180 <resource handle="handle"/>
181 <font resource="font_m" color="%text_color%"/>
182 <colors line="%fileselector_linecolor%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100185
186 <style name="patternpassword">
187 <size name="tw_gui_pattern_grid_size" default="3"/>
188 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100189 </styles>
190
191 <pages>
192 <page name="main">
193 <action>
194 <actions>
195 <action function="set">tw_clear_destination=main2</action>
196 <action function="page">clear_vars</action>
197 </actions>
198 </action>
199 </page>
200
201 <page name="main2">
202 <template name="page"/>
203
204 <text style="text_l">
205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500206 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100207 </text>
208
209 <text style="text_m">
210 <condition var1="tw_no_cpu_temp" var2="0"/>
211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
212 <text>%tw_version%</text>
213 </text>
214
215 <button style="main_button">
216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <actions>
219 <action function="queueclear"/>
220 <action function="set">tw_selectimage=0</action>
221 <action function="page">install</action>
222 </actions>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">backup</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">restore</action>
241 </button>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">advanced</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <action function="page">reboot</action>
265 </button>
266 </page>
267
268 <page name="install">
269 <template name="page"/>
270
271 <text style="text_l">
272 <condition var1="tw_selectimage" var2="0"/>
273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 </text>
276
277 <text style="text_l">
278 <condition var1="tw_selectimage" var2="1"/>
279 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500280 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100281 </text>
282
283 <text style="text_m">
284 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <template name="sort_options"/>
289
290 <fileselector>
291 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500292 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100293 <filter folders="1" files="0"/>
294 <path name="tw_zip_location" default="/sdcard"/>
295 <data name="select"/>
296 </fileselector>
297
298 <fileselector>
299 <condition var1="tw_selectimage" var2="0"/>
300 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
301 <text>%tw_zip_location%</text>
302 <filter extn=".zip" folders="0" files="1"/>
303 <path name="tw_zip_location" default="/sdcard"/>
304 <data name="tw_filename"/>
305 <selection name="tw_file"/>
306 </fileselector>
307
308 <fileselector>
309 <condition var1="tw_selectimage" var2="1"/>
310 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
311 <text>%tw_zip_location%</text>
312 <filter extn=".img" folders="0" files="1"/>
313 <path name="tw_zip_location" default="/sdcard"/>
314 <data name="tw_filename"/>
315 <selection name="tw_file"/>
316 </fileselector>
317
318 <button style="main_button_half_width_low">
319 <condition var1="tw_selectimage" var2="0"/>
320 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="set">tw_selectimage=1</action>
324 <action function="page">install</action>
325 </actions>
326 </button>
327
328 <button style="main_button_half_width_low">
329 <condition var1="tw_selectimage" var2="1"/>
330 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <actions>
333 <action function="set">tw_selectimage=0</action>
334 <action function="page">install</action>
335 </actions>
336 </button>
337
338 <button style="main_button_half_width_low">
339 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 <actions>
342 <action function="set">tw_back=install</action>
343 <action function="overlay">select_storage</action>
344 </actions>
345 </button>
346
347 <action>
348 <conditions>
349 <condition var1="tw_selectimage" var2="0"/>
350 <condition var1="tw_filename" op="modified"/>
351 </conditions>
352 <actions>
353 <action function="queuezip"/>
354 <action function="page">flash_confirm</action>
355 </actions>
356 </action>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="1"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <action function="page">flashimage_confirm</action>
364 </action>
365
366 <action>
367 <touch key="back"/>
368 <action function="page">main</action>
369 </action>
370
371 <action>
372 <touch key="home"/>
373 <action function="page">main</action>
374 </action>
375 </page>
376
377 <page name="flash_confirm">
378 <template name="page"/>
379
380 <text style="text_l">
381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100383 </text>
384
385 <text style="text_m">
386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500387 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </text>
389
390 <text style="text_m_accent">
391 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500392 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100393 </text>
394
395 <text style="text_m_accent">
396 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500402 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m">
411 <placement x="%col1_x_left%" y="%row9_y%"/>
412 <text>%tw_zip_location%</text>
413 </text>
414
415 <text style="text_m_accent">
416 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m">
421 <placement x="%col1_x_left%" y="%row12_y%"/>
422 <text>%tw_file%</text>
423 </text>
424
425 <text style="text_m_accent">
426 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500427 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100428 </text>
429
430 <checkbox>
431 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <data variable="tw_signed_zip_verify"/>
434 </checkbox>
435
436 <checkbox>
437 <condition var1="tw_has_injecttwrp" var2="1"/>
438 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <data variable="tw_inject_after_zip"/>
441 </checkbox>
442
bigbiffa869fc72016-03-01 19:40:36 -0500443 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500444 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500446 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500447 </checkbox>
448
z31s1g28f0a922015-11-07 18:50:22 +0100449 <button style="main_button_half_width">
450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <action function="page">install</action>
453 </button>
454
455 <button style="main_button_half_width">
456 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 <actions>
459 <action function="queueclear"/>
460 <action function="page">install</action>
461 </actions>
462 </button>
463
464 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 <action function="flash">flash_zip</action>
467 </slider>
468
469 <action>
470 <touch key="back"/>
471 <actions>
472 <action function="cancelzip"/>
473 <action function="page">install</action>
474 </actions>
475 </action>
476
477 <action>
478 <touch key="home"/>
479 <action function="page">main</action>
480 </action>
481 </page>
482
483 <page name="flash_zip">
484 <template name="page"/>
485
486 <text style="text_l">
487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 </text>
490
491 <text style="text_m">
492 <placement x="%col1_x_header%" y="%row4_header_y%"/>
493 <text>%tw_file%</text>
494 </text>
495
496 <template name="console"/>
497
498 <template name="progress_bar"/>
499
500 <action>
501 <condition var1="tw_operation_state" var2="1"/>
502 <action function="page">flash_done</action>
503 </action>
504 </page>
505
506 <page name="flash_done">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m_fail">
515 <condition var1="tw_operation_status" op="!=" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <text style="text_m">
521 <condition var1="tw_operation_status" var2="0"/>
522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500523 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100524 </text>
525
526 <template name="console"/>
527
528 <button style="main_button_half_width">
529 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500530 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <actions>
532 <action function="set">tw_back=flash_done</action>
533 <action function="set">tw_action=wipe</action>
534 <action function="set">tw_action_param=/cache</action>
535 <action function="set">tw_has_action2=1</action>
536 <action function="set">tw_action2=wipe</action>
537 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
539 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
540 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
541 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <action function="page">confirm_action</action>
543 </actions>
544 </button>
545
546 <button style="main_button_half_width">
547 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 <actions>
550 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500551 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100552 </actions>
553 </button>
554
555 <action>
556 <touch key="back"/>
557 <actions>
558 <action function="set">tw_clear_destination=install</action>
559 <action function="page">clear_vars</action>
560 </actions>
561 </action>
562
563 <action>
564 <touch key="home"/>
565 <actions>
566 <action function="set">tw_clear_destination=main2</action>
567 <action function="page">clear_vars</action>
568 </actions>
569 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500570
571 <action>
572 <conditions>
573 <condition var1="tw_install_reboot" var2="1"/>
574 <condition var1="tw_operation_status" var2="0"/>
575 <condition var1="tw_reboot_system" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="set">tw_sleep=%tw_sleep_total%</action>
579 <action function="page">flash_sleep_and_reboot</action>
580 </actions>
581 </action>
582 </page>
583
584 <page name="flash_sleep_and_reboot">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
589 <text>{@install_zip_hdr=Install Zip}</text>
590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
594 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
595 </text>
596
597 <template name="console"/>
598
599 <template name="progress_bar"/>
600
601 <button style="main_button_half_width">
602 <condition var1="tw_sleep" op="&gt;" var2="0"/>
603 <placement x="%center_x%" y="%row15a_y%"/>
604 <text>{@cancel_btn=Cancel}</text>
605 <actions>
606 <action function="set">tw_install_reboot=0</action>
607 <action function="page">flash_done</action>
608 </actions>
609 </button>
610
611 <action>
612 <conditions>
613 <condition var1="tw_sleep" var2="tw_sleep_total"/>
614 <condition var1="tw_install_reboot" var2="1"/>
615 </conditions>
616 <action function="sleepcounter">%tw_sleep_total%</action>
617 </action>
618
619 <action>
620 <conditions>
621 <condition var1="tw_sleep" var2="0"/>
622 <condition var1="tw_install_reboot" var2="1"/>
623 </conditions>
624 <actions>
625 <action function="sleep">50000</action>
626 <action function="set">tw_back=main2</action>
627 <action function="page">reboot_system_routine</action>
628 </actions>
629 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100630 </page>
631
632 <page name="flashimage_confirm">
633 <template name="page"/>
634
635 <text style="text_l">
636 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 </text>
639
640 <text style="text_m">
641 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500642 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100643 </text>
644
645 <text style="text_m_accent">
646 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500647 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100648 </text>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row9_y%"/>
652 <text>%tw_zip_location%</text>
653 </text>
654
655 <text style="text_m_accent">
656 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500657 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100658 </text>
659
660 <text style="text_m">
661 <placement x="%col1_x_left%" y="%row12_y%"/>
662 <text>%tw_file%</text>
663 </text>
664
665 <partitionlist>
666 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
667 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 <data name="tw_flash_partition"/>
670 <listtype name="flashimg"/>
671 </partitionlist>
672
673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <actions>
676 <action function="set">tw_back=flashimage_confirm</action>
677 <action function="set">tw_action=flashimage</action>
678 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500681 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 <action function="page">action_page</action>
683 </actions>
684 <action function="flashimage"/>
685 </slider>
686
687 <action>
688 <touch key="back"/>
689 <actions>
690 <action function="set">tw_clear_destination=install</action>
691 <action function="page">clear_vars</action>
692 </actions>
693 </action>
694
695 <action>
696 <touch key="home"/>
697 <actions>
698 <action function="set">tw_clear_destination=main2</action>
699 <action function="page">clear_vars</action>
700 </actions>
701 </action>
702 </page>
703
704 <page name="clear_vars">
705 <action>
706 <action function="set">tw_operation_state=0</action>
707 <action function="set">tw_text1=</action>
708 <action function="set">tw_text2=</action>
709 <action function="set">tw_text3=</action>
710 <action function="set">tw_text4=</action>
711 <action function="set">tw_action_text1=</action>
712 <action function="set">tw_action_text2=</action>
713 <action function="set">tw_action_param=</action>
714 <action function="set">tw_has_action2=0</action>
715 <action function="set">tw_action2=</action>
716 <action function="set">tw_action2_param=</action>
717 <action function="set">tw_has_cancel=0</action>
718 <action function="set">tw_cancel_action=</action>
719 <action function="set">tw_cancel_param=</action>
720 <action function="set">tw_show_exclamation=0</action>
721 <action function="set">tw_show_reboot=0</action>
722 <action function="page">%tw_clear_destination%</action>
723 </action>
724 </page>
725
Matt Mower908dd252016-05-25 02:26:50 -0500726 <page name="reboot_system_routine">
727 <action>
728 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500729 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
732 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
735 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
736 <action function="set">tw_action_text2=</action>
737 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
738 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
739 <action function="page">rebootcheck</action>
740 </action>
741 </page>
742
z31s1g28f0a922015-11-07 18:50:22 +0100743 <page name="confirm_action">
744 <template name="page"/>
745
746 <text style="text_l">
747 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </text>
750
751 <text style="text_m">
752 <placement x="%col1_x_header%" y="%row4_header_y%"/>
753 <text/>
754 </text>
755
756 <text style="text_m_accent">
757 <placement x="%center_x%" y="%row2_y%" placement="5"/>
758 <text>%tw_text1%</text>
759 </text>
760
761 <text style="text_m_accent">
762 <placement x="%center_x%" y="%row3_y%" placement="5"/>
763 <text>%tw_text2%</text>
764 </text>
765
766 <text style="text_m">
767 <placement x="%center_x%" y="%row4_y%" placement="5"/>
768 <text>%tw_text3%</text>
769 </text>
770
771 <text style="text_m">
772 <placement x="%center_x%" y="%row5_y%" placement="5"/>
773 <text>%tw_text4%</text>
774 </text>
775
776 <text style="text_m">
777 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <slider style="slider_centered">
782 <text>%tw_slider_text%</text>
783 <action function="page">action_page</action>
784 </slider>
785
786 <action>
787 <touch key="back"/>
788 <actions>
789 <action function="set">tw_clear_destination=%tw_back%</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </action>
793
794 <action>
795 <touch key="home"/>
796 <action function="page">main</action>
797 </action>
798 </page>
799
800 <page name="action_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <button style="main_button_half_width">
818 <condition var1="tw_has_cancel" var2="1"/>
819 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500820 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100821 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
822 </button>
823
824 <action>
825 <condition var1="tw_operation_state" var2="1"/>
826 <actions>
827 <action function="page">action_complete</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="0"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 </actions>
836 </action>
837
838 <action>
839 <condition var1="tw_has_action2" var2="1"/>
840 <actions>
841 <action function="%tw_action%">%tw_action_param%</action>
842 <action function="%tw_action2%">%tw_action2_param%</action>
843 </actions>
844 </action>
845 </page>
846
847 <page name="singleaction_page">
848 <template name="page"/>
849
850 <text style="text_l">
851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
852 <text>%tw_action_text1%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
857 <text>%tw_action_text2%</text>
858 </text>
859
860 <template name="console"/>
861
862 <template name="progress_bar"/>
863
864 <action>
865 <condition var1="tw_operation_state" var2="1"/>
866 <actions>
867 <action function="set">tw_page_done=1</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="action_complete">
888 <template name="page"/>
889
890 <text style="text_l">
891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
892 <text>%tw_complete_text1%</text>
893 </text>
894
895 <text style="text_m_fail">
896 <condition var1="tw_operation_status" op="!=" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <text style="text_m">
902 <condition var1="tw_operation_status" var2="0"/>
903 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <template name="console"/>
908
909 <button style="main_button_half_width">
910 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </button>
917
918 <button style="main_button_half_width">
919 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 <actions>
922 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500923 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100924 </actions>
925 </button>
926
927 <action>
928 <touch key="home"/>
929 <actions>
930 <action function="set">tw_clear_destination=main2</action>
931 <action function="page">clear_vars</action>
932 </actions>
933 </action>
934
935 <action>
936 <touch key="back"/>
937 <actions>
938 <action function="set">tw_clear_destination=%tw_back%</action>
939 <action function="page">clear_vars</action>
940 </actions>
941 </action>
942 </page>
943
944 <page name="filecheck">
945 <action>
946 <action function="fileexists">%tw_filecheck%</action>
947 </action>
948
949 <action>
950 <conditions>
951 <condition var1="tw_operation_state" var2="1"/>
952 <condition var1="tw_operation_status" var2="0"/>
953 </conditions>
954 <actions>
955 <action function="set">tw_fileexists=1</action>
956 <action function="page">%tw_existpage%</action>
957 </actions>
958 </action>
959
960 <action>
961 <conditions>
962 <condition var1="tw_operation_state" var2="1"/>
963 <condition var1="tw_operation_status" var2="1"/>
964 </conditions>
965 <actions>
966 <action function="set">tw_fileexists=0</action>
967 <action function="page">%tw_notexistpage%</action>
968 </actions>
969 </action>
970 </page>
971
972 <page name="rebootcheck">
973 <action>
974 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600975 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </action>
977
978 <action>
979 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
980 <action function="page">confirm_action</action>
981 </action>
982 </page>
983
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600984 <page name="appcheck">
985 <action>
986 <condition var1="tw_app_prompt" var2="1"/>
987 <action function="checkforapp"></action>
988 </action>
989
990 <action>
991 <condition var1="tw_app_prompt" op="!=" var2="1"/>
992 <action function="reboot">%tw_reboot_param%</action>
993 </action>
994
995 <action>
996 <condition var1="tw_app_install_status" var2="1"/>
997 <action function="page">rebootapp</action>
998 </action>
999
1000 <action>
1001 <condition var1="tw_app_install_status" var2="2"/>
1002 <action function="reboot">%tw_reboot_param%</action>
1003 </action>
1004 </page>
1005
z31s1g28f0a922015-11-07 18:50:22 +01001006 <page name="wipe">
1007 <template name="page"/>
1008
1009 <text style="text_l">
1010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m">
1015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <text style="text_m_accent">
1020 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 </text>
1023
1024 <text style="text_m_accent">
1025 <condition var1="tw_has_data_media" var2="1"/>
1026 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 </text>
1029
1030 <text style="text_m_accent">
1031 <conditions>
1032 <condition var1="tw_has_android_secure" var2="1"/>
1033 <condition var1="fileexists" var2="/and-sec"/>
1034 </conditions>
1035 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001036 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001037 </text>
1038
1039 <text style="text_m_accent">
1040 <condition var1="tw_has_sdext_partition" var2="1"/>
1041 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 </text>
1044
1045 <text style="text_m">
1046 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 </text>
1049
1050 <text style="text_m">
1051 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 </text>
1054
1055 <text style="text_m">
1056 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <button style="main_button_half_width">
1061 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <actions>
1064 <action function="set">partitionlisterror=0</action>
1065 <action function="page">advancedwipe</action>
1066 </actions>
1067 </button>
1068
1069 <button style="main_button_half_width">
1070 <condition var1="tw_has_data_media" var2="1"/>
1071 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 <action function="page">formatdata</action>
1074 </button>
1075
1076 <button style="main_button_half_width">
1077 <conditions>
1078 <condition var1="tw_is_encrypted" var2="1"/>
1079 <condition var1="tw_has_data_media" var2="0"/>
1080 </conditions>
1081 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <actions>
1084 <action function="set">tw_back=wipe</action>
1085 <action function="set">tw_action=wipe</action>
1086 <action function="set">tw_action_param=DATAMEDIA</action>
1087 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001089 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1091 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1092 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001093 <action function="page">confirm_action</action>
1094 </actions>
1095 </button>
1096
1097 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 <actions>
1100 <action function="set">tw_back=wipe</action>
1101 <action function="set">tw_action=wipe</action>
1102 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001103 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1104 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001105 <action function="page">action_page</action>
1106 </actions>
1107 </slider>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">main</action>
1112 </action>
1113
1114 <action>
1115 <touch key="home"/>
1116 <action function="page">main</action>
1117 </action>
1118 </page>
1119
1120 <page name="advancedwipe">
1121 <template name="page"/>
1122
1123 <action>
1124 <action function="set">tw_wipe_list=</action>
1125 </action>
1126
1127 <text style="text_l">
1128 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 </text>
1131
1132 <text style="text_m">
1133 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 </text>
1136
1137 <partitionlist>
1138 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001139 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <data name="tw_wipe_list"/>
1141 <listtype name="wipe"/>
1142 </partitionlist>
1143
1144 <text style="text_m_fail">
1145 <condition var1="partitionlisterror" var2="1"/>
1146 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001147 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001148 </text>
1149
1150 <button style="main_button_m">
1151 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001154 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001155 <action function="page">checkpartitionlist</action>
1156 </actions>
1157 </button>
1158
1159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <actions>
1162 <action function="set">tw_back=advancedwipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1166 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1167 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001168 <action function="page">action_page</action>
1169 </actions>
1170 </slider>
1171
1172 <action>
1173 <touch key="home"/>
1174 <action function="page">main</action>
1175 </action>
1176
1177 <action>
1178 <touch key="back"/>
1179 <action function="page">wipe</action>
1180 </action>
1181 </page>
1182
1183 <page name="formatdata">
1184 <template name="page"/>
1185
1186 <text style="text_l">
1187 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <text style="text_m">
1192 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001194 </text>
1195
1196 <text style="text_m_fail">
1197 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001198 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001199 </text>
1200
1201 <text style="text_m_fail">
1202 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
Ethan Yonker66a19492015-12-10 10:19:45 -06001206 <text style="text_m_fail">
1207 <condition var1="tw_has_adopted_storage" var2="1"/>
1208 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1209 <text>{@format_data_adopted=Including Adopted Storage}</text>
1210 </text>
1211
z31s1g28f0a922015-11-07 18:50:22 +01001212 <text style="text_m">
1213 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <input>
1223 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1224 <text>%tw_confirm_formatdata%</text>
1225 <data name="tw_confirm_formatdata"/>
1226 <restrict minlen="3" maxlen="3" allow="yes"/>
1227 <action function="page">formatdata_confirm</action>
1228 </input>
1229
1230 <fill color="%accent_color%">
1231 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1232 </fill>
1233
1234 <template name="keyboardtemplate"/>
1235
1236 <action>
1237 <touch key="home"/>
1238 <action function="page">main</action>
1239 </action>
1240
1241 <action>
1242 <touch key="back"/>
1243 <action function="page">wipe</action>
1244 </action>
1245 </page>
1246
1247 <page name="formatdata_confirm">
1248 <action>
1249 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1250 <actions>
1251 <action function="set">tw_back=formatdata</action>
1252 <action function="set">tw_action=wipe</action>
1253 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1255 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <action function="page">action_page</action>
1257 </actions>
1258 </action>
1259
1260 <action>
1261 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1262 <action function="page">formatdata</action>
1263 </action>
1264 </page>
1265
1266 <page name="checkpartitionlist">
1267 <action>
1268 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1269 <actions>
1270 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001271 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001272 <action function="page">partitionoptions</action>
1273 </actions>
1274 </action>
1275
1276 <action>
1277 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001280 <action function="page">advancedwipe</action>
1281 </actions>
1282 </action>
1283 </page>
1284
1285 <page name="partitionoptions">
1286 <template name="page"/>
1287
1288 <text style="text_l">
1289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 </text>
1292
1293 <text style="text_m">
1294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m_accent">
1299 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m_accent">
1304 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m">
1309 <condition var1="tw_partition_is_present" var2="1"/>
1310 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m">
1315 <condition var1="tw_partition_is_present" var2="0"/>
1316 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <condition var1="tw_partition_removable" var2="1"/>
1322 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001324 </text>
1325
1326 <text style="text_m">
1327 <condition var1="tw_partition_removable" var2="0"/>
1328 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001330 </text>
1331
1332 <text style="text_m">
1333 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 </text>
1336
1337 <text style="text_m">
1338 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001340 </text>
1341
1342 <text style="text_m">
1343 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m">
1348 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <button style="main_button_half_width">
1353 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1354 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001355 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001356 <actions>
1357 <action function="set">tw_back=partitionoptions</action>
1358 <action function="set">tw_action=resize</action>
1359 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1360 <action function="set">tw_has_action2=1</action>
1361 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001362 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1366 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_width">
1373 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1374 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <actions>
1377 <action function="set">tw_back=partitionoptions</action>
1378 <action function="set">tw_action=repair</action>
1379 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001382 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1384 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="page">confirm_action</action>
1387 </actions>
1388 </button>
1389
1390 <button style="main_button_half_width">
1391 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">selectfilesystem</action>
1394 </button>
1395
1396 <action>
1397 <touch key="home"/>
1398 <action function="page">main</action>
1399 </action>
1400
1401 <action>
1402 <touch key="back"/>
1403 <action function="page">advancedwipe</action>
1404 </action>
1405 </page>
1406
1407 <page name="refreshfilesystem">
1408 <action>
1409 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1410 <actions>
1411 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001412 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001413 <action function="page">selectfilesystem</action>
1414 </actions>
1415 </action>
1416
1417 <action>
1418 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1419 <actions>
1420 <action function="set">partitionlisterror=1</action>
1421 <action function="set">tw_wipe_list=</action>
1422 <action function="page">advancedwipe</action>
1423 </actions>
1424 </action>
1425 </page>
1426
1427 <page name="selectfilesystem">
1428 <template name="page"/>
1429
1430 <text style="text_l">
1431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m">
1436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m_accent">
1441 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <text style="text_m_accent">
1446 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001448 </text>
1449
1450 <text style="text_m_fail">
1451 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001453 </text>
1454
1455 <text style="text_m_fail">
1456 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <button style="main_button_half_width">
1461 <condition var1="tw_partition_ext" op="=" var2="1"/>
1462 <placement x="%col1_x_left%" y="%row11_y%"/>
1463 <text>EXT2</text>
1464 <actions>
1465 <action function="set">tw_back=refreshfilesystem</action>
1466 <action function="set">tw_action=changefilesystem</action>
1467 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1468 <action function="set">tw_action_new_file_system=ext2</action>
1469 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1471 <action function="set">tw_text2=EXT2</action>
1472 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1473 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1474 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">confirm_action</action>
1476 </actions>
1477 </button>
1478
1479 <button style="main_button_half_width">
1480 <condition var1="tw_partition_ext" op="=" var2="1"/>
1481 <placement x="%col2_x_left%" y="%row11_y%"/>
1482 <text>EXT3</text>
1483 <actions>
1484 <action function="set">tw_back=refreshfilesystem</action>
1485 <action function="set">tw_action=changefilesystem</action>
1486 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1487 <action function="set">tw_action_new_file_system=ext3</action>
1488 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001489 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1490 <action function="set">tw_text2=EXT3</action>
1491 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1492 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1493 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001494 <action function="page">confirm_action</action>
1495 </actions>
1496 </button>
1497
1498 <button style="main_button_half_width">
1499 <condition var1="tw_partition_ext" op="=" var2="1"/>
1500 <placement x="%center_x%" y="%row11_y%"/>
1501 <text>EXT4</text>
1502 <actions>
1503 <action function="set">tw_back=refreshfilesystem</action>
1504 <action function="set">tw_action=changefilesystem</action>
1505 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1506 <action function="set">tw_action_new_file_system=ext4</action>
1507 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1509 <action function="set">tw_text2=EXT4</action>
1510 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1511 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1512 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001513 <action function="page">confirm_action</action>
1514 </actions>
1515 </button>
1516
1517 <button style="main_button_half_width">
1518 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1519 <placement x="%col2_x_right%" y="%row11_y%"/>
1520 <text>FAT</text>
1521 <actions>
1522 <action function="set">tw_back=refreshfilesystem</action>
1523 <action function="set">tw_action=changefilesystem</action>
1524 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1525 <action function="set">tw_action_new_file_system=vfat</action>
1526 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001527 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1528 <action function="set">tw_text2=FAT</action>
1529 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1530 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1531 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001532 <action function="page">confirm_action</action>
1533 </actions>
1534 </button>
1535
1536 <button style="main_button_half_width">
1537 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1538 <placement x="%col2_x_left%" y="%row15a_y%"/>
1539 <text>exFAT</text>
1540 <actions>
1541 <action function="set">tw_back=refreshfilesystem</action>
1542 <action function="set">tw_action=changefilesystem</action>
1543 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1544 <action function="set">tw_action_new_file_system=exfat</action>
1545 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1547 <action function="set">tw_text2=exFAT</action>
1548 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1549 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1550 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001551 <action function="page">confirm_action</action>
1552 </actions>
1553 </button>
1554
1555 <button style="main_button_half_width">
1556 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1557 <placement x="%center_x%" y="%row15a_y%"/>
1558 <text>F2FS</text>
1559 <actions>
1560 <action function="set">tw_back=refreshfilesystem</action>
1561 <action function="set">tw_action=changefilesystem</action>
1562 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1563 <action function="set">tw_action_new_file_system=f2fs</action>
1564 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1566 <action function="set">tw_text2=F2FS</action>
1567 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1568 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1569 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="page">confirm_action</action>
1571 </actions>
1572 </button>
1573
1574 <action>
1575 <touch key="home"/>
1576 <action function="page">main</action>
1577 </action>
1578
1579 <action>
1580 <touch key="back"/>
1581 <action function="page">partitionoptions</action>
1582 </action>
1583 </page>
1584
1585 <page name="backup">
1586 <template name="page"/>
1587
1588 <text style="text_l">
1589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <text style="text_m">
1594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <text style="text_m_accent">
1599 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 </text>
1602
1603 <text style="text_m">
1604 <placement x="%col1_x_left%" y="%row3_y%"/>
1605 <text>%tw_backup_name%</text>
1606 </text>
1607
1608 <fill color="%fileselector_linecolor%">
1609 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1610 </fill>
1611
1612 <button>
1613 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1614 <fill color="%transparent%"/>
1615 <actions>
1616 <action function="set">tw_fileexists=0</action>
1617 <action function="page">backupname1</action>
1618 </actions>
1619 </button>
1620
1621 <partitionlist>
1622 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <data name="tw_backup_list"/>
1625 <listtype name="backup"/>
1626 </partitionlist>
1627
1628 <text style="text_m_accent">
1629 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <conditions>
1635 <condition var1="tw_include_encrypted_backup" var2="1"/>
1636 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001637 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001638 </conditions>
1639 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <conditions>
1645 <condition var1="tw_include_encrypted_backup" var2="1"/>
1646 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001647 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001648 </conditions>
1649 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <fill color="%fileselector_linecolor%">
1654 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1655 </fill>
1656
1657 <button>
1658 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1659 <fill color="%transparent%"/>
1660 <actions>
1661 <action function="set">tw_password_not_match=0</action>
1662 <action function="page">backupencryption</action>
1663 </actions>
1664 </button>
1665
1666 <text style="text_m_accent">
1667 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <checkbox>
1672 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 <data variable="tw_use_compression"/>
1675 </checkbox>
1676
1677 <checkbox>
1678 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001679 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1680 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </checkbox>
1682
1683 <checkbox>
1684 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001685 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001686 <data variable="tw_disable_free_space"/>
1687 </checkbox>
1688
1689 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001690 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <actions>
1694 <action function="set">tw_back=backup</action>
1695 <action function="overlay">select_storage</action>
1696 </actions>
1697 </button>
1698
1699 <button style="main_button_half_width">
1700 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <actions>
1703 <action function="refreshsizes"/>
1704 <action function="page">backup</action>
1705 </actions>
1706 </button>
1707
1708 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">backup_run</action>
1711 </slider>
1712
1713 <action>
1714 <touch key="home"/>
1715 <action function="page">main</action>
1716 </action>
1717
1718 <action>
1719 <touch key="back"/>
1720 <action function="page">main</action>
1721 </action>
1722 </page>
1723
1724 <page name="backupname1">
1725 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="generatebackupname"/>
1728 </action>
1729
1730 <action>
1731 <action function="page">backupname2</action>
1732 </action>
1733 </page>
1734
1735 <page name="backupname2">
1736 <template name="page"/>
1737
1738 <text style="text_l">
1739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </text>
1742
1743 <text style="text_m">
1744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 </text>
1747
1748 <text style="text_m_accent">
1749 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 </text>
1752
1753 <input>
1754 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1755 <text>%tw_backup_name%</text>
1756 <data name="tw_backup_name"/>
1757 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1758 <actions>
1759 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1760 <action function="set">tw_existpage=backupname2</action>
1761 <action function="set">tw_notexistpage=backup</action>
1762 <action function="page">filecheck</action>
1763 </actions>
1764 </input>
1765
1766 <fill color="%accent_color%">
1767 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1768 </fill>
1769
1770 <fill color="%text_fail_color%">
1771 <condition var1="tw_fileexists" var2="1"/>
1772 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1773 </fill>
1774
1775 <text style="text_m_fail">
1776 <condition var1="tw_fileexists" var2="1"/>
1777 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 </text>
1780
1781 <button style="main_button_half_width_low">
1782 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001783 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001784 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001786 <action function="page">backup</action>
1787 </actions>
1788 </button>
1789
1790 <button style="main_button_half_width_low">
1791 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="appenddatetobackupname"/>
1794 </button>
1795
1796 <template name="keyboardtemplate"/>
1797
1798 <action>
1799 <touch key="home"/>
1800 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <action function="page">main</action>
1803 </actions>
1804 </action>
1805
1806 <action>
1807 <touch key="back"/>
1808 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001809 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001810 <action function="page">backup</action>
1811 </actions>
1812 </action>
1813 </page>
1814
1815 <page name="backupencryption">
1816 <template name="page"/>
1817
1818 <text style="text_l">
1819 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 </text>
1822
1823 <text style="text_m">
1824 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 </text>
1827
1828 <text style="text_m_accent">
1829 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001830 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001831 </text>
1832
1833 <input>
1834 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1835 <text>%tw_backup_encrypt_display%</text>
1836 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1837 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1838 <action function="page">backupencryption2</action>
1839 </input>
1840
1841 <fill color="%accent_color%">
1842 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1843 </fill>
1844
1845 <fill color="%text_fail_color%">
1846 <condition var1="tw_password_not_match" var2="1"/>
1847 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1848 </fill>
1849
1850 <text style="text_m_fail">
1851 <condition var1="tw_password_not_match" var2="1"/>
1852 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <button style="main_button_half_width_low">
1857 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001858 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001859 <actions>
1860 <action function="set">tw_encrypt_backup=0</action>
1861 <action function="set">tw_backup_password=</action>
1862 <action function="set">tw_backup_password2=</action>
1863 <action function="set">tw_backup_encrypt_display=</action>
1864 <action function="set">tw_backup_encrypt_display2=</action>
1865 <action function="page">backup</action>
1866 </actions>
1867 </button>
1868
1869 <template name="keyboardtemplate"/>
1870
1871 <action>
1872 <touch key="home"/>
1873 <action function="page">main</action>
1874 </action>
1875
1876 <action>
1877 <touch key="back"/>
1878 <action function="page">backup</action>
1879 </action>
1880 </page>
1881
1882 <page name="backupencryption2">
1883 <template name="page"/>
1884
1885 <text style="text_l">
1886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <text style="text_m">
1891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 </text>
1894
1895 <text style="text_m_accent">
1896 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </text>
1899
1900 <input>
1901 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1902 <text>%tw_backup_encrypt_display2%</text>
1903 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1904 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1905 <action function="page">checkbackuppassword</action>
1906 </input>
1907
1908 <fill color="%accent_color%">
1909 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1910 </fill>
1911
1912 <text style="text_m">
1913 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001915 </text>
1916
1917 <button style="main_button_half_width_low">
1918 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </button>
1929
1930 <template name="keyboardtemplate"/>
1931
1932 <action>
1933 <touch key="home"/>
1934 <action function="page">main</action>
1935 </action>
1936
1937 <action>
1938 <touch key="back"/>
1939 <action function="page">backup</action>
1940 </action>
1941 </page>
1942
1943 <page name="checkbackuppassword">
1944 <action>
1945 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1946 <actions>
1947 <action function="set">tw_encrypt_backup=1</action>
1948 <action function="page">backup</action>
1949 </actions>
1950 </action>
1951
1952 <action>
1953 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1954 <actions>
1955 <action function="set">tw_encrypt_backup=0</action>
1956 <action function="set">tw_password_not_match=1</action>
1957 <action function="set">tw_backup_password=</action>
1958 <action function="set">tw_backup_password2=</action>
1959 <action function="set">tw_backup_encrypt_display=</action>
1960 <action function="set">tw_backup_encrypt_display2=</action>
1961 <action function="page">backupencryption</action>
1962 </actions>
1963 </action>
1964 </page>
1965
1966 <page name="backup_run">
1967 <template name="page"/>
1968
1969 <text style="text_l">
1970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1971 <text>%tw_operation%</text>
1972 </text>
1973
1974 <text style="text_m">
1975 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1976 <text>%tw_partition% Partition</text>
1977 </text>
1978
1979 <template name="console"/>
1980
1981 <template name="progress_bar"/>
1982
1983 <text style="text_m_accent">
1984 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 </text>
1987
1988 <text style="text_m">
1989 <placement x="%progress_text_x%" y="%row17_y%"/>
1990 <text>%tw_file_progress%</text>
1991 </text>
1992
1993 <text style="text_m">
1994 <placement x="%progress_text_x%" y="%row18_y%"/>
1995 <text>%tw_size_progress%</text>
1996 </text>
1997
1998 <button style="main_button_half_width">
1999 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 <action function="cancelbackup"/>
2002 </button>
2003
2004 <action>
2005 <action function="nandroid">backup</action>
2006 </action>
2007
2008 <action>
2009 <condition var1="tw_operation_state" var2="1"/>
2010 <condition var1="tw_cancel_backup" var2="0"/>
2011 <actions>
2012 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002014 <action function="set">tw_show_reboot=1</action>
2015 <action function="page">action_complete</action>
2016 </actions>
2017 </action>
2018
2019 <action>
2020 <condition var1="tw_operation_state" var2="1"/>
2021 <condition var1="tw_cancel_backup" var2="1"/>
2022 <actions>
2023 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002025 <action function="set">tw_show_reboot=1</action>
2026 <action function="page">action_complete</action>
2027 </actions>
2028 </action>
2029 </page>
2030
2031 <page name="restore">
2032 <template name="page"/>
2033
2034 <text style="text_l">
2035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <text style="text_m">
2040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <template name="sort_options"/>
2045
2046 <fileselector>
2047 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 <filter folders="1" files="0" nav="0"/>
2050 <path name="tw_backups_folder"/>
2051 <data name="tw_restore" default=""/>
2052 <selection name="tw_restore_name"/>
2053 </fileselector>
2054
2055 <button style="main_button_half_width_low">
2056 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002057 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002058 <actions>
2059 <action function="set">tw_back=restore</action>
2060 <action function="overlay">select_storage</action>
2061 </actions>
2062 </button>
2063
2064 <action>
2065 <condition var1="tw_restore" op="modified"/>
2066 <actions>
2067 <action function="readBackup"/>
2068 <action function="page">restore_read</action>
2069 </actions>
2070 </action>
2071
2072 <action>
2073 <touch key="home"/>
2074 <action function="page">main</action>
2075 </action>
2076
2077 <action>
2078 <touch key="back"/>
2079 <action function="page">main</action>
2080 </action>
2081 </page>
2082
2083 <page name="restore_read">
2084 <action>
2085 <condition var1="tw_restore_encrypted" var2="1"/>
2086 <actions>
2087 <action function="set">tw_password_fail=0</action>
2088 <action function="page">restore_decrypt</action>
2089 </actions>
2090 </action>
2091
2092 <action>
2093 <condition var1="tw_restore_encrypted" var2="0"/>
2094 <actions>
2095 <action function="page">restore_select</action>
2096 </actions>
2097 </action>
2098 </page>
2099
2100 <page name="restore_decrypt">
2101 <template name="page"/>
2102
2103 <text style="text_l">
2104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002106 </text>
2107
2108 <text style="text_m">
2109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 </text>
2112
2113 <text style="text_m_accent">
2114 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002116 </text>
2117
2118 <input>
2119 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2120 <text>%tw_restore_display%</text>
2121 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2122 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2123 <action function="page">try_restore_decrypt</action>
2124 </input>
2125
2126 <fill color="%accent_color%">
2127 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2128 </fill>
2129
2130 <fill color="%text_fail_color%">
2131 <condition var1="tw_password_fail" var2="1"/>
2132 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2133 </fill>
2134
2135 <text style="text_m_fail">
2136 <condition var1="tw_password_fail" var2="1"/>
2137 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <button style="main_button_half_width_low">
2142 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 <actions>
2145 <action function="set">tw_page_done=1</action>
2146 <action function="page">restore</action>
2147 </actions>
2148 </button>
2149
2150 <button style="main_button_half_width_low">
2151 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 <actions>
2154 <action function="set">tw_back=restore</action>
2155 <action function="set">tw_action=cmd</action>
2156 <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 -05002157 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2158 <action function="set">tw_text2=%tw_restore_name%</action>
2159 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2160 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2161 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2162 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <action function="page">confirm_action</action>
2164 </actions>
2165 </button>
2166
2167 <template name="keyboardtemplate"/>
2168
2169 <action>
2170 <touch key="home"/>
2171 <action function="page">main</action>
2172 </action>
2173
2174 <action>
2175 <touch key="back"/>
2176 <action function="page">restore</action>
2177 </action>
2178 </page>
2179
2180 <page name="try_restore_decrypt">
2181 <template name="page"/>
2182
2183 <text style="text_l">
2184 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002185 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002186 </text>
2187
2188 <text style="text_m">
2189 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 </text>
2192
2193 <template name="console"/>
2194
2195 <template name="progress_bar"/>
2196
2197 <action>
2198 <action function="decrypt_backup"/>
2199 </action>
2200
2201 <action>
2202 <conditions>
2203 <condition var1="tw_operation_state" var2="1"/>
2204 <condition var1="tw_operation_status" op="!=" var2="0"/>
2205 </conditions>
2206 <actions>
2207 <action function="set">tw_password_fail=1</action>
2208 <action function="page">restore_decrypt</action>
2209 </actions>
2210 </action>
2211
2212 <action>
2213 <conditions>
2214 <condition var1="tw_operation_state" var2="1"/>
2215 <condition var1="tw_operation_status" op="=" var2="0"/>
2216 </conditions>
2217 <actions>
2218 <action function="set">tw_page_done=1</action>
2219 <action function="page">restore_select</action>
2220 </actions>
2221 </action>
2222 </page>
2223
2224 <page name="restore_select">
2225 <template name="page"/>
2226
2227 <text style="text_l">
2228 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002234 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002235 </text>
2236
2237 <text style="text_m_accent">
2238 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m">
2243 <placement x="%col1_x_left%" y="%row3_y%"/>
2244 <text>%tw_restore_name%</text>
2245 </text>
2246
2247 <fill color="%fileselector_linecolor%">
2248 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2249 </fill>
2250
2251 <button>
2252 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2253 <fill color="%transparent%"/>
2254 <actions>
2255 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2256 <action function="set">tw_fileexists=0</action>
2257 <action function="page">renamebackup</action>
2258 </actions>
2259 </button>
2260
2261 <partitionlist>
2262 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002263 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002264 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2265 <listtype name="restore"/>
2266 </partitionlist>
2267
2268 <text style="text_m_accent">
2269 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <checkbox>
2274 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002275 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2276 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002277 </checkbox>
2278
2279 <button style="main_button_half_width">
2280 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <actions>
2283 <action function="set">tw_back=restore</action>
2284 <action function="set">tw_action=cmd</action>
2285 <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 -05002286 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2289 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2290 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2291 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">confirm_action</action>
2293 </actions>
2294 </button>
2295
2296 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002297 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002298 <action function="page">restore_run</action>
2299 </slider>
2300
2301 <action>
2302 <touch key="home"/>
2303 <action function="page">main</action>
2304 </action>
2305
2306 <action>
2307 <touch key="back"/>
2308 <action function="page">restore</action>
2309 </action>
2310 </page>
2311
2312 <page name="renamebackup">
2313 <template name="page"/>
2314
2315 <text style="text_l">
2316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <text style="text_m">
2321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 </text>
2324
2325 <text style="text_m_accent">
2326 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 </text>
2329
2330 <input>
2331 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2332 <text>%tw_backup_rename%</text>
2333 <data name="tw_backup_rename"/>
2334 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2335 <actions>
2336 <action function="set">tw_back=restore</action>
2337 <action function="set">tw_action=cmd</action>
2338 <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 -05002339 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2340 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2341 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2342 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2343 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002344 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2345 <action function="set">tw_existpage=renamebackup</action>
2346 <action function="set">tw_notexistpage=confirm_action</action>
2347 <action function="page">filecheck</action>
2348 </actions>
2349 </input>
2350
2351 <fill color="%accent_color%">
2352 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2353 </fill>
2354
2355 <fill color="%text_fail_color%">
2356 <condition var1="tw_fileexists" var2="1"/>
2357 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2358 </fill>
2359
2360 <text style="text_m_fail">
2361 <condition var1="tw_fileexists" var2="1"/>
2362 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <button style="main_button_half_width_low">
2367 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 <action function="page">restore_select</action>
2370 </button>
2371
2372 <template name="keyboardtemplate"/>
2373
2374 <action>
2375 <touch key="home"/>
2376 <action function="page">main</action>
2377 </action>
2378
2379 <action>
2380 <touch key="back"/>
2381 <action function="page">restore_select</action>
2382 </action>
2383 </page>
2384
2385 <page name="restore_run">
2386 <template name="page"/>
2387
2388 <text style="text_l">
2389 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002390 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002391 </text>
2392
2393 <text style="text_m">
2394 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2395 <text>%tw_operation% %tw_partition%</text>
2396 </text>
2397
2398 <template name="console"/>
2399
2400 <template name="progress_bar"/>
2401
2402 <text style="text_m_accent">
2403 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 </text>
2406
2407 <text style="text_m">
2408 <placement x="%progress_text_x%" y="%row18_y%"/>
2409 <text>%tw_size_progress%</text>
2410 </text>
2411
2412 <action>
2413 <condition var1="tw_operation_state" var2="1"/>
2414 <actions>
2415 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002416 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="set">tw_show_reboot=1</action>
2418 <action function="page">action_complete</action>
2419 </actions>
2420 </action>
2421
2422 <action>
2423 <action function="nandroid">restore</action>
2424 </action>
2425 </page>
2426
2427 <page name="mount">
2428 <template name="page"/>
2429
2430 <text style="text_l">
2431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 </text>
2434
2435 <text style="text_m">
2436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 </text>
2439
2440 <partitionlist>
2441 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 <listtype name="mount"/>
2444 </partitionlist>
2445
2446 <button style="checkbox">
2447 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2448 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 <image resource="checkbox_false"/>
2451 <action function="mountsystemtoggle">1</action>
2452 </button>
2453
2454 <button style="checkbox">
2455 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2456 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 <image resource="checkbox_true"/>
2459 <actions>
2460 <action function="set">tw_lifetime_writes=2</action>
2461 <action function="page">system_readonly_check</action>
2462 </actions>
2463 </button>
2464
2465 <button style="main_button_half_width">
2466 <condition var1="tw_has_usb_storage" var2="1"/>
2467 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <action function="page">usb_mount</action>
2470 </button>
2471
2472 <button style="main_button_half_width">
2473 <conditions>
2474 <condition var1="tw_is_encrypted" var2="1"/>
2475 <condition var1="tw_is_decrypted" var2="0"/>
2476 </conditions>
2477 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002478 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002479 <action function="page">decrypt</action>
2480 </button>
2481
2482 <button style="main_button_half_width">
2483 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <actions>
2486 <action function="set">tw_back=mount</action>
2487 <action function="overlay">select_storage</action>
2488 </actions>
2489 </button>
2490
2491 <button style="main_button_half_width">
2492 <conditions>
2493 <condition var1="tw_has_mtp" var2="1"/>
2494 <condition var1="tw_mtp_enabled" var2="0"/>
2495 </conditions>
2496 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 <action function="startmtp"/>
2499 </button>
2500
2501 <button style="main_button_half_width">
2502 <conditions>
2503 <condition var1="tw_has_mtp" var2="1"/>
2504 <condition var1="tw_mtp_enabled" var2="1"/>
2505 </conditions>
2506 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002507 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002508 <action function="stopmtp"/>
2509 </button>
2510
2511 <action>
2512 <touch key="home"/>
2513 <action function="page">main</action>
2514 </action>
2515
2516 <action>
2517 <touch key="back"/>
2518 <action function="page">main</action>
2519 </action>
2520 </page>
2521
2522 <page name="usb_mount">
2523 <template name="page"/>
2524
2525 <text style="text_l">
2526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002532 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 </text>
2534
2535 <text style="text_m_accent">
2536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 </text>
2539
2540 <text style="text_m">
2541 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002542 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002543 </text>
2544
2545 <text style="text_m">
2546 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 </text>
2549
2550 <button style="main_button_half_width">
2551 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <action function="page">usb_umount</action>
2554 </button>
2555
2556 <action>
2557 <action function="mount">usb</action>
2558 <action function="set">tw_busy=1</action>
2559 </action>
2560 </page>
2561
2562 <page name="usb_umount">
2563 <action>
2564 <action function="unmount">usb</action>
2565 </action>
2566
2567 <action>
2568 <action function="page">mount</action>
2569 <action function="set">tw_busy=0</action>
2570 </action>
2571 </page>
2572
2573 <page name="system_readonly_check">
2574 <action>
2575 <action function="checkpartitionlifetimewrites">/system</action>
2576 </action>
2577
2578 <action>
2579 <condition var1="tw_lifetime_writes" var2="1"/>
2580 <actions>
2581 <action function="mountsystemtoggle">0</action>
2582 <action function="page">mount</action>
2583 </actions>
2584 </action>
2585
2586 <action>
2587 <condition var1="tw_lifetime_writes" var2="0"/>
2588 <actions>
2589 <action function="set">tw_back=mount</action>
2590 <action function="page">system_readonly</action>
2591 </actions>
2592 </action>
2593 </page>
2594
2595 <page name="reboot">
2596 <template name="page"/>
2597
2598 <text style="text_l">
2599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002600 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002601 </text>
2602
2603 <button style="main_button">
2604 <condition var1="tw_reboot_system" var2="1"/>
2605 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <actions>
2608 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002609 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002610 </actions>
2611 </button>
2612
2613 <button style="main_button">
2614 <condition var1="tw_reboot_poweroff" var2="1"/>
2615 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002616 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002617 <actions>
2618 <action function="set">tw_back=reboot</action>
2619 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002620 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002621 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002622 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2624 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2625 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2626 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2627 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002628 <action function="page">rebootcheck</action>
2629 </actions>
2630 </button>
2631
2632 <button style="main_button">
2633 <condition var1="tw_reboot_recovery" var2="1"/>
2634 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <actions>
2637 <action function="set">tw_back=reboot</action>
2638 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002639 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002640 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2643 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2644 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2645 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2646 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="page">rebootcheck</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button">
2652 <condition var1="tw_reboot_bootloader" var2="1"/>
2653 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <actions>
2656 <action function="set">tw_back=reboot</action>
2657 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002658 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002659 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2662 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2663 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2664 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2665 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <action function="page">rebootcheck</action>
2667 </actions>
2668 </button>
2669
2670 <button style="main_button">
2671 <condition var1="tw_download_mode" var2="1"/>
2672 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <actions>
2675 <action function="set">tw_back=reboot</action>
2676 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002677 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002678 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002680 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2681 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2682 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2683 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2684 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="page">rebootcheck</action>
2686 </actions>
2687 </button>
2688
2689 <action>
2690 <touch key="home"/>
2691 <action function="page">main</action>
2692 </action>
2693
2694 <action>
2695 <touch key="back"/>
2696 <action function="page">main</action>
2697 </action>
2698 </page>
2699
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002700 <page name="rebootapp">
2701 <template name="page"/>
2702
2703 <text style="text_l">
2704 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2705 <text>{@reboot_hdr=Reboot}</text>
2706 </text>
2707
2708 <text style="text_m">
2709 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2710 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2711 </text>
2712
2713 <text style="text_m_accent">
2714 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2715 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2716 </text>
2717
2718 <text style="text_m_accent">
2719 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2720 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2721 </text>
2722
2723 <checkbox>
2724 <placement x="%indent%" y="%row5_y%"/>
2725 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2726 <data variable="tw_app_prompt"/>
2727 </checkbox>
2728
2729 <checkbox>
2730 <condition var1="tw_mount_system_ro" var2="0"/>
2731 <placement x="%indent%" y="%row7_y%"/>
2732 <text>{@reboot_install_app_system=Install as a System App}</text>
2733 <data variable="tw_app_install_system"/>
2734 </checkbox>
2735
2736 <button style="main_button_half_width">
2737 <placement x="%col2_x_left%" y="%row15a_y%"/>
2738 <text>{@su_cancel=Do not Install}</text>
2739 <action function="reboot">%tw_reboot_param%</action>
2740 </button>
2741
2742 <slider>
2743 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2744 <actions>
2745 <action function="set">tw_back=reboot</action>
2746 <action function="set">tw_action=installapp</action>
2747 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2748 <action function="set">tw_action_text2=</action>
2749 <action function="set">tw_has_action2=1</action>
2750 <action function="set">tw_action2=reboot</action>
2751 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2752 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2753 <action function="page">action_page</action>
2754 </actions>
2755 </slider>
2756
2757 <action>
2758 <touch key="home"/>
2759 <actions>
2760 <action function="set">tw_app_install_status=0</action>
2761 <action function="page">main</action>
2762 </actions>
2763 </action>
2764
2765 <action>
2766 <touch key="back"/>
2767 <actions>
2768 <action function="set">tw_app_install_status=0</action>
2769 <action function="page">reboot</action>
2770 </actions>
2771 </action>
2772 </page>
2773
z31s1g28f0a922015-11-07 18:50:22 +01002774 <page name="system_readonly">
2775 <template name="page"/>
2776
2777 <text style="text_l">
2778 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002780 </text>
2781
2782 <text style="text_m_accent">
2783 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 </text>
2786
2787 <text style="text_m">
2788 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <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 +01002790 </text>
2791
2792 <text style="text_m">
2793 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002794 <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 +01002795 </text>
2796
2797 <text style="text_m_fail">
2798 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002800 </text>
2801
2802 <checkbox>
2803 <condition var1="tw_is_encrypted" var2="0"/>
2804 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002805 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002806 <data variable="tw_never_show_system_ro_page"/>
2807 </checkbox>
2808
2809 <button style="main_button_half_width">
2810 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 <actions>
2813 <action function="mountsystemtoggle">1</action>
2814 <action function="set">tw_page_done=1</action>
2815 <action function="page">%tw_back%</action>
2816 </actions>
2817 </button>
2818
z31s1g608d7ff2016-01-18 19:47:25 +01002819 <button style="main_button_half_width">
2820 <placement x="%col2_x_left%" y="%row15a_y%"/>
2821 <text>{@sel_lang_btn=Select Language}</text>
2822 <action function="overlay">select_language</action>
2823 </button>
2824
z31s1g28f0a922015-11-07 18:50:22 +01002825 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 <actions>
2828 <action function="mountsystemtoggle">0</action>
2829 <action function="set">tw_page_done=1</action>
2830 <action function="page">%tw_back%</action>
2831 </actions>
2832 </slider>
2833 </page>
2834
2835 <page name="settings">
2836 <template name="page"/>
2837
2838 <text style="text_l">
2839 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002840 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002841 </text>
2842
2843 <text style="text_m">
2844 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 </text>
2847
2848 <template name="tabs_settings"/>
2849
2850 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002851 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002852 </fill>
2853
2854 <listbox style="scrolllist">
2855 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2856 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002857 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002858 <data variable="tw_signed_zip_verify"/>
2859 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002860 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2861 <data variable="tw_install_reboot"/>
2862 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002864 <data variable="tw_rm_rf"/>
2865 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002866 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2867 <data variable="tw_disable_free_space"/>
2868 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002869 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2870 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002871 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002872 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2873 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002874 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002875 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002876 <data variable="tw_military_time"/>
2877 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002878 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2879 <data variable="tw_app_prompt"/>
2880 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002882 <data variable="tw_simulate_actions"/>
2883 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002885 <condition var1="tw_simulate_actions" var2="1"/>
2886 <data variable="tw_simulate_fail"/>
2887 </listitem>
2888 </listbox>
2889
2890 <checkbox>
2891 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002893 <data variable="tw_samsung_navbar"/>
2894 </checkbox>
2895
2896 <button style="radiobutton">
2897 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2898 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002899 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002900 <image resource="radio_false"/>
2901 <action function="set">tw_navbar_button_position=0</action>
2902 </button>
2903
2904 <button style="radiobutton">
2905 <condition var1="tw_navbar_button_position" var2="0"/>
2906 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002907 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002908 <image resource="radio_true"/>
2909 <action function="set">tw_navbar_button_position=0</action>
2910 </button>
2911
2912 <button style="radiobutton">
2913 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2914 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002915 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002916 <image resource="radio_false"/>
2917 <action function="set">tw_navbar_button_position=1</action>
2918 </button>
2919
2920 <button style="radiobutton">
2921 <condition var1="tw_navbar_button_position" var2="1"/>
2922 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002923 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002924 <image resource="radio_true"/>
2925 <action function="set">tw_navbar_button_position=1</action>
2926 </button>
2927
2928 <button style="radiobutton">
2929 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2930 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 <image resource="radio_false"/>
2933 <action function="set">tw_navbar_button_position=2</action>
2934 </button>
2935
2936 <button style="radiobutton">
2937 <condition var1="tw_navbar_button_position" var2="2"/>
2938 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <image resource="radio_true"/>
2941 <action function="set">tw_navbar_button_position=2</action>
2942 </button>
2943
2944 <button style="main_button_half_width">
2945 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002946 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002947 <action function="restoredefaultsettings"/>
2948 </button>
2949
2950 <action>
2951 <touch key="home"/>
2952 <action function="page">main</action>
2953 </action>
2954
2955 <action>
2956 <touch key="back"/>
2957 <action function="page">main</action>
2958 </action>
2959 </page>
2960
2961 <page name="settings_timezone">
2962 <template name="page"/>
2963
2964 <text style="text_l">
2965 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 </text>
2968
2969 <text style="text_m">
2970 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002971 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002972 </text>
2973
2974 <template name="tabs_settings"/>
2975
2976 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002977 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002978 </fill>
2979
2980 <listbox>
2981 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002982 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002983 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2985 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2986 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2987 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2988 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2989 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2990 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2991 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2992 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2993 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2994 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2995 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2996 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2997 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2998 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2999 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3000 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3001 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3002 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3003 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3004 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3005 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3006 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3007 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003008 </listbox>
3009
3010 <text style="text_m_accent">
3011 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003012 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003013 </text>
3014
3015 <button style="button_quarter_width">
3016 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 <action function="set">tw_time_zone_guioffset=0</action>
3019 </button>
3020
3021 <button style="button_quarter_width">
3022 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <action function="set">tw_time_zone_guioffset=15</action>
3025 </button>
3026
3027 <button style="button_quarter_width">
3028 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <action function="set">tw_time_zone_guioffset=30</action>
3031 </button>
3032
3033 <button style="button_quarter_width">
3034 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <action function="set">tw_time_zone_guioffset=45</action>
3037 </button>
3038
3039 <checkbox>
3040 <placement x="%col1_x_right%" y="%row7_y%"/>
3041 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 <data variable="tw_time_zone_guidst"/>
3044 <image checked="checkbox_true" unchecked="checkbox_false"/>
3045 </checkbox>
3046
3047 <text color="%text_color%">
3048 <font resource="font_m"/>
3049 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003051 </text>
3052
3053 <button>
3054 <highlight color="%highlight_color%"/>
3055 <placement x="%col2_x_right%" y="%row15a_y%"/>
3056 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 <image resource="main_button_half_width"/>
3059 <action function="setguitimezone"/>
3060 </button>
3061
3062 <action>
3063 <touch key="home"/>
3064 <action function="page">main</action>
3065 </action>
3066
3067 <action>
3068 <touch key="back"/>
3069 <action function="page">main</action>
3070 </action>
3071 </page>
3072
3073 <page name="settings_screen">
3074 <template name="page"/>
3075
3076 <text style="text_l">
3077 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 </text>
3080
3081 <text style="text_m">
3082 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 </text>
3085
3086 <template name="tabs_settings"/>
3087
3088 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003090 </fill>
3091
3092 <button>
3093 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3094 <font resource="font_m" color="%text_color%"/>
3095 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3096 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <image resource="checkbox_false"/>
3099 <action function="set">tw_screen_timeout_secs=60</action>
3100 </button>
3101
3102 <button>
3103 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3104 <font resource="font_m" color="%text_color%"/>
3105 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3106 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <image resource="checkbox_true"/>
3109 <action function="set">tw_screen_timeout_secs=0</action>
3110 </button>
3111
3112 <slidervalue>
3113 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3114 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3115 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003117 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3118 </slidervalue>
3119
3120 <slidervalue>
3121 <condition var1="tw_has_brightnesss_file" var2="1"/>
3122 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003124 <data variable="tw_brightness_pct" min="10" max="100"/>
3125 <actions>
3126 <action function="set">tw_brightness=%tw_brightness_max%</action>
3127 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3128 <action function="compute">tw_brightness/100</action>
3129 <action function="setbrightness">%tw_brightness%</action>
3130 </actions>
3131 </slidervalue>
3132
3133 <action>
3134 <touch key="home"/>
3135 <action function="page">main</action>
3136 </action>
3137
3138 <action>
3139 <touch key="back"/>
3140 <action function="page">main</action>
3141 </action>
3142 </page>
3143
3144 <page name="settings_vibration">
3145 <template name="page"/>
3146
3147 <text style="text_l">
3148 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003150 </text>
3151
3152 <text style="text_m">
3153 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003155 </text>
3156
3157 <template name="tabs_settings"/>
3158
3159 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003161 </fill>
3162
3163 <slidervalue>
3164 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 <data variable="tw_button_vibrate" min="0" max="300"/>
3167 </slidervalue>
3168
3169 <slidervalue>
3170 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3173 </slidervalue>
3174
3175 <slidervalue>
3176 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003178 <data variable="tw_action_vibrate" min="0" max="500"/>
3179 </slidervalue>
3180
3181 <action>
3182 <touch key="home"/>
3183 <action function="page">main</action>
3184 </action>
3185
3186 <action>
3187 <touch key="back"/>
3188 <action function="page">main</action>
3189 </action>
3190 </page>
3191
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <page name="settings_language">
3193 <template name="page"/>
3194
3195 <text style="text_l">
3196 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3197 <text>{@settings_hdr=Settings}</text>
3198 </text>
3199
3200 <text style="text_m">
3201 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3202 <text>{@language_hdr=Language - %tw_language_display%}</text>
3203 </text>
3204
3205 <template name="tabs_settings"/>
3206
3207 <fill color="%text_color%">
3208 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3209 </fill>
3210
3211 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003212 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@select_language=Select Language:}</text>
3214 <icon selected="radio_true" unselected="radio_false" />
3215 <data name="tw_language" />
3216 </listbox>
3217
z31s1g56189522016-01-13 19:12:40 +01003218 <button>
3219 <highlight color="%highlight_color%"/>
3220 <placement x="%col2_x_right%" y="%row15a_y%"/>
3221 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003222 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003223 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <action function="setlanguage"></action>
3225 </button>
3226
3227 <action>
3228 <touch key="home" />
3229 <action function="page">main</action>
3230 </action>
3231
3232 <action>
3233 <touch key="back" />
3234 <action function="page">settings</action>
3235 </action>
3236 </page>
3237
Matt Mower32676622017-01-18 18:56:13 -06003238 <page name="copylog">
3239 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003240
Matt Mower32676622017-01-18 18:56:13 -06003241 <text style="text_l">
3242 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3243 <text>{@copying_log=Copy Logs to SD Card}</text>
3244 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003245
Matt Mower32676622017-01-18 18:56:13 -06003246 <checkbox>
3247 <placement x="%indent%" y="%row4_y%"/>
3248 <text>{@include_kernel_log=Include Kernel Log}</text>
3249 <data variable="tw_include_kernel_log" value="1"/>
3250 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003251
Matt Mower32676622017-01-18 18:56:13 -06003252 <slider>
3253 <text>{@copying_log=Copy Logs to SD Card}</text>
3254 <actions>
3255 <action function="set">tw_back=advanced</action>
3256 <action function="set">tw_action=copylog</action>
3257 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3258 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3259 <action function="page">action_page</action>
3260 </actions>
3261 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003262
Matt Mower32676622017-01-18 18:56:13 -06003263 <action>
3264 <touch key="home"/>
3265 <action function="page">main</action>
3266 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003267
Matt Mower32676622017-01-18 18:56:13 -06003268 <action>
3269 <touch key="back"/>
3270 <actions>
3271 <action function="page">advanced</action>
3272 </actions>
3273 </action>
3274 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003275
z31s1g28f0a922015-11-07 18:50:22 +01003276 <page name="advanced">
3277 <template name="page"/>
3278
3279 <text style="text_l">
3280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 </text>
3283
3284 <button style="main_button">
3285 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003287 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </button>
3289
3290 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003291 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003293 <text>{@fix_context_btn=Fix Contexts}</text>
3294 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003295 </button>
3296
3297 <button style="main_button">
3298 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3299 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003301 <actions>
3302 <action function="set">partitionlisterror=0</action>
3303 <action function="page">partsdcardsel</action>
3304 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </button>
3306
3307 <button style="main_button">
3308 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <action function="page">filemanagerlist</action>
3311 </button>
3312
3313 <button style="main_button">
3314 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003316 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003317 </button>
3318
3319 <button style="main_button">
3320 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <action function="reload"/>
3323 </button>
3324
3325 <button style="main_button">
3326 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003327 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003328 <action function="page">sideload</action>
3329 </button>
3330
3331 <button style="main_button">
3332 <condition var1="tw_show_dumlock" var2="1"/>
3333 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 <action function="page">htcdumlock</action>
3336 </button>
3337
3338 <button style="main_button">
3339 <condition var1="tw_has_injecttwrp" var2="1"/>
3340 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 <actions>
3343 <action function="set">tw_back=advanced</action>
3344 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3346 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3347 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3348 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <action function="page">confirm_action</action>
3350 </actions>
3351 </button>
3352
3353 <action>
3354 <touch key="home"/>
3355 <action function="page">main</action>
3356 </action>
3357
3358 <action>
3359 <touch key="back"/>
3360 <action function="page">main</action>
3361 </action>
3362 </page>
3363
Ethan Yonker483e9f42016-01-11 22:21:18 -06003364 <page name="partsdcardsel">
3365 <template name="page"/>
3366
3367 <text style="text_l">
3368 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3369 <text>{@advanced_hdr=Advanced}</text>
3370 </text>
3371
3372 <text style="text_m">
3373 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3374 <text>{@part_sd_hdr=Partition SD Card}</text>
3375 </text>
3376
z31s1g782e1c92016-01-30 16:50:09 +01003377 <partitionlist>
3378 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003379 <text>{@sel_storage_list=Select Storage}</text>
3380 <data name="tw_storage_path"/>
3381 <listtype name="storage"/>
3382 </partitionlist>
3383
z31s1g782e1c92016-01-30 16:50:09 +01003384 <text style="text_m_fail">
3385 <condition var1="partitionlisterror" var2="1"/>
3386 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3387 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3388 </text>
3389
3390 <button style="main_button_half_width">
3391 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003392 <text>{@ok_btn=OK}</text>
3393 <actions>
3394 <action function="getpartitiondetails">tw_storage_path</action>
3395 <action function="page">partsdcardcheck</action>
3396 </actions>
3397 </button>
3398
Ethan Yonker483e9f42016-01-11 22:21:18 -06003399 <action>
3400 <touch key="home"/>
3401 <action function="page">main</action>
3402 </action>
3403
3404 <action>
3405 <touch key="back"/>
3406 <action function="page">advanced</action>
3407 </action>
3408 </page>
3409
3410 <page name="partsdcardcheck">
3411 <action>
3412 <condition var1="tw_partition_removable" op="=" var2="1"/>
3413 <actions>
3414 <action function="set">partitionlisterror=0</action>
3415 <action function="page">partsdcard</action>
3416 </actions>
3417 </action>
3418
3419 <action>
3420 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3421 <actions>
3422 <action function="set">partitionlisterror=1</action>
3423 <action function="page">partsdcardsel</action>
3424 </actions>
3425 </action>
3426 </page>
3427
z31s1g28f0a922015-11-07 18:50:22 +01003428 <page name="partsdcard">
3429 <template name="page"/>
3430
3431 <text style="text_l">
3432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003434 </text>
3435
3436 <text style="text_m">
3437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </text>
3440
3441 <text style="text_m_fail">
3442 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </text>
3445
3446 <text style="text_m_fail">
3447 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 </text>
3450
3451 <text style="text_m_accent">
3452 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003454 </text>
3455
3456 <text style="text_m">
3457 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3458 <text>%tw_sdext_size%</text>
3459 </text>
3460
3461 <button style="button_quarter_width">
3462 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003463 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003464 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003465 </button>
3466
3467 <button style="button_quarter_width">
3468 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003470 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </button>
3472
3473 <text style="text_m_accent">
3474 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </text>
3477
3478 <text style="text_m">
3479 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3480 <text>%tw_swap_size%</text>
3481 </text>
3482
3483 <button style="button_quarter_width">
3484 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003486 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003487 </button>
3488
3489 <button style="button_quarter_width">
3490 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003492 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </button>
3494
3495 <text style="text_m_accent">
3496 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 </text>
3499
3500 <text style="text_m">
3501 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3502 <text>%tw_sdpart_file_system%</text>
3503 </text>
3504
3505 <button style="button_quarter_width">
3506 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3507 <text>EXT3</text>
3508 <action function="set">tw_sdpart_file_system=ext3</action>
3509 </button>
3510
3511 <button style="button_quarter_width">
3512 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3513 <text>EXT4</text>
3514 <action function="set">tw_sdpart_file_system=ext4</action>
3515 </button>
3516
3517 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <action function="page">partsdcardaction</action>
3520 <actions>
3521 <action function="set">tw_back=partsdcard</action>
3522 <action function="set">tw_action=partitionsd</action>
3523 <action function="set">tw_has_action2=1</action>
3524 <action function="set">tw_action2=set</action>
3525 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3527 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3528 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <action function="page">action_page</action>
3530 </actions>
3531 </slider>
3532
3533 <action>
3534 <touch key="home"/>
3535 <action function="page">main</action>
3536 </action>
3537
3538 <action>
3539 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003540 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003541 </action>
3542 </page>
3543
3544 <page name="htcdumlock">
3545 <template name="page"/>
3546
3547 <text style="text_l">
3548 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 </text>
3551
3552 <text style="text_m">
3553 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003555 </text>
3556
3557 <button style="main_button_m">
3558 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003560 <actions>
3561 <action function="set">tw_back=htcdumlock</action>
3562 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003563 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3564 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3565 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3566 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <action function="page">confirm_action</action>
3568 </actions>
3569 </button>
3570
3571 <button style="main_button_m">
3572 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003574 <actions>
3575 <action function="set">tw_back=htcdumlock</action>
3576 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3578 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3579 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3580 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003581 <action function="page">confirm_action</action>
3582 </actions>
3583 </button>
3584
3585 <button style="main_button_m">
3586 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 <actions>
3589 <action function="set">tw_back=htcdumlock</action>
3590 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3592 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3593 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3594 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003595 <action function="page">confirm_action</action>
3596 </actions>
3597 </button>
3598
3599 <action>
3600 <touch key="home"/>
3601 <action function="page">main</action>
3602 </action>
3603
3604 <action>
3605 <touch key="back"/>
3606 <action function="page">advanced</action>
3607 </action>
3608 </page>
3609
3610 <page name="lock">
3611 <background color="%semi_transparent%"/>
3612
3613 <image>
3614 <image resource="unlock_icon"/>
3615 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3616 </image>
3617
3618 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003620 <action function="overlay"/>
3621 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003622
3623 <action>
3624 <touch key="power"/>
3625 <action function="togglebacklight"/>
3626 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003627 </page>
3628
3629 <page name="filemanagerlist">
3630 <template name="page"/>
3631
3632 <text style="text_l">
3633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 </text>
3636
3637 <text style="text_m">
3638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <template name="sort_options"/>
3643
3644 <fileselector>
3645 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3646 <text>%tw_file_location1%</text>
3647 <filter folders="1" files="1"/>
3648 <path name="tw_file_location1" default="/"/>
3649 <data name="tw_filename1"/>
3650 <selection name="tw_selection1"/>
3651 </fileselector>
3652
3653 <button style="main_button_half_width_low">
3654 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <actions>
3657 <action function="set">tw_filename1=tw_file_location1</action>
3658 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003660 <action function="page">filemanageroptions</action>
3661 </actions>
3662 </button>
3663
3664 <action>
3665 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <action function="set">tw_fm_isfolder=0</action>
3668 </actions>
3669 </action>
3670
3671 <action>
3672 <touch key="home"/>
3673 <action function="page">main</action>
3674 </action>
3675
3676 <action>
3677 <touch key="back"/>
3678 <action function="page">advanced</action>
3679 </action>
3680
3681 <action>
3682 <condition var1="tw_filename1" op="modified"/>
3683 <action function="page">filemanageroptions</action>
3684 </action>
3685 </page>
3686
3687 <page name="filemanageroptions">
3688 <template name="page"/>
3689
3690 <text style="text_l">
3691 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003693 </text>
3694
3695 <text style="text_m">
3696 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <text style="text_m_accent">
3701 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 </text>
3704
3705 <text style="text_m">
3706 <placement x="%col1_x_left%" y="%row3_y%"/>
3707 <text>%tw_filename1%</text>
3708 </text>
3709
3710 <button style="main_button_half_width">
3711 <condition var1="tw_fm_isfolder" var2="0"/>
3712 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 <actions>
3715 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003717 <action function="page">choosedestinationfolder</action>
3718 </actions>
3719 </button>
3720
3721 <button style="main_button_half_width">
3722 <condition var1="tw_fm_isfolder" var2="1"/>
3723 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 <actions>
3726 <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 -05003727 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003728 <action function="page">choosedestinationfolder</action>
3729 </actions>
3730 </button>
3731
3732 <button style="main_button_half_width">
3733 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003734 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003735 <actions>
3736 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <action function="page">choosedestinationfolder</action>
3739 </actions>
3740 </button>
3741
3742 <button style="main_button_half_width">
3743 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 <actions>
3746 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003748 <action function="set">tw_fm_text2=</action>
3749 <action function="set">tw_fm_text3=</action>
3750 <action function="set">tw_include_text3=0</action>
3751 <action function="set">tw_back=filemanageroptions</action>
3752 <action function="page">filemanagerconfirm</action>
3753 </actions>
3754 </button>
3755
3756 <button style="main_button_half_width">
3757 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003759 <actions>
3760 <action function="set">tw_filemanager_rename=0000</action>
3761 <action function="set">tw_fm_text2=</action>
3762 <action function="set">tw_fm_text3=</action>
3763 <action function="set">tw_include_text3=0</action>
3764 <action function="set">tw_back=filemanageroptions</action>
3765 <action function="page">filemanagerchmod</action>
3766 </actions>
3767 </button>
3768
3769 <button style="main_button_half_width">
3770 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 <actions>
3773 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003775 <action function="set">tw_fm_text2=</action>
3776 <action function="set">tw_fm_text3=</action>
3777 <action function="set">tw_include_text3=0</action>
3778 <action function="set">tw_back=filemanageroptions</action>
3779 <action function="page">filemanagerconfirm</action>
3780 </actions>
3781 </button>
3782
3783 <button style="main_button_half_width">
3784 <condition var1="tw_fm_isfolder" var2="0"/>
3785 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <actions>
3788 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <action function="set">tw_filemanager_command=mv</action>
3791 <action function="page">filemanagerrenamefile</action>
3792 </actions>
3793 </button>
3794
3795 <button style="main_button_half_width">
3796 <condition var1="tw_fm_isfolder" var2="1"/>
3797 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 <actions>
3800 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3803 <action function="page">filemanagerrenamefolder</action>
3804 </actions>
3805 </button>
3806
3807 <action>
3808 <touch key="home"/>
3809 <action function="page">main</action>
3810 </action>
3811
3812 <action>
3813 <touch key="back"/>
3814 <action function="page">filemanagerlist</action>
3815 </action>
3816 </page>
3817
3818 <page name="choosedestinationfolder">
3819 <template name="page"/>
3820
3821 <text style="text_l">
3822 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003823 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003824 </text>
3825
3826 <text style="text_m">
3827 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003829 </text>
3830
3831 <template name="sort_options"/>
3832
3833 <fileselector>
3834 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3835 <text>%tw_file_location2%</text>
3836 <filter folders="1" files="0"/>
3837 <path name="tw_file_location2" default="/"/>
3838 <data name="tw_filename2"/>
3839 <selection name="tw_selection2"/>
3840 </fileselector>
3841
3842 <button style="main_button_half_width_low">
3843 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 <actions>
3846 <action function="set">tw_fm_text2=to</action>
3847 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3848 <action function="set">tw_include_text3=1</action>
3849 <action function="set">tw_back=filemanageroptions</action>
3850 <action function="page">filemanagerconfirm</action>
3851 </actions>
3852 </button>
3853
3854 <action>
3855 <touch key="home"/>
3856 <action function="page">main</action>
3857 </action>
3858
3859 <action>
3860 <touch key="back"/>
3861 <action function="page">filemanageroptions</action>
3862 </action>
3863 </page>
3864
3865 <page name="filemanagerrenamefile">
3866 <template name="page"/>
3867
3868 <text style="text_l">
3869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003871 </text>
3872
3873 <text style="text_m">
3874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <text style="text_m_accent">
3879 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </text>
3882
3883 <input>
3884 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3885 <text>%tw_filemanager_rename%</text>
3886 <data name="tw_filemanager_rename"/>
3887 <restrict minlen="1" maxlen="128"/>
3888 <actions>
3889 <action function="set">tw_fm_text2=to</action>
3890 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3891 <action function="set">tw_include_text3=1</action>
3892 <action function="set">tw_back=filemanageroptions</action>
3893 <action function="page">filemanagerconfirm</action>
3894 </actions>
3895 </input>
3896
3897 <fill color="%accent_color%">
3898 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3899 </fill>
3900
3901 <button style="main_button_half_width_low">
3902 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003904 <action function="page">filemanageroptions</action>
3905 </button>
3906
3907 <template name="keyboardtemplate"/>
3908
3909 <action>
3910 <touch key="home"/>
3911 <action function="page">main</action>
3912 </action>
3913
3914 <action>
3915 <touch key="back"/>
3916 <action function="page">filemanageroptions</action>
3917 </action>
3918 </page>
3919
3920 <page name="filemanagerrenamefolder">
3921 <template name="page"/>
3922
3923 <text style="text_l">
3924 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003926 </text>
3927
3928 <text style="text_m">
3929 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 </text>
3932
3933 <text style="text_m_accent">
3934 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 </text>
3937
3938 <input>
3939 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3940 <text>%tw_filemanager_rename%</text>
3941 <data name="tw_filemanager_rename"/>
3942 <restrict minlen="1" maxlen="128"/>
3943 <actions>
3944 <action function="set">tw_fm_text2=to</action>
3945 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3946 <action function="set">tw_include_text3=1</action>
3947 <action function="set">tw_back=filemanageroptions</action>
3948 <action function="page">filemanagerconfirm</action>
3949 </actions>
3950 </input>
3951
3952 <fill color="%accent_color%">
3953 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3954 </fill>
3955
3956 <button style="main_button_half_width_low">
3957 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 <action function="page">filemanageroptions</action>
3960 </button>
3961
3962 <template name="keyboardtemplate"/>
3963
3964 <action>
3965 <touch key="home"/>
3966 <action function="page">main</action>
3967 </action>
3968
3969 <action>
3970 <touch key="back"/>
3971 <action function="page">filemanageroptions</action>
3972 </action>
3973 </page>
3974
3975 <page name="filemanagerchmod">
3976 <template name="page"/>
3977
3978 <text style="text_l">
3979 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 </text>
3982
3983 <text style="text_m">
3984 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 </text>
3987
3988 <text style="text_m_accent">
3989 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <input>
3994 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3995 <text>%tw_filemanager_rename%</text>
3996 <data name="tw_filemanager_rename"/>
3997 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3998 <actions>
3999 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4000 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4001 <action function="set">tw_back=filemanageroptions</action>
4002 <action function="page">filemanagerconfirm</action>
4003 </actions>
4004 </input>
4005
4006 <fill color="%accent_color%">
4007 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4008 </fill>
4009
4010 <button style="main_button_half_width_low">
4011 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 <action function="page">filemanageroptions</action>
4014 </button>
4015
4016 <template name="keyboardtemplate"/>
4017
4018 <action>
4019 <touch key="home"/>
4020 <action function="page">main</action>
4021 </action>
4022
4023 <action>
4024 <touch key="back"/>
4025 <action function="page">filemanageroptions</action>
4026 </action>
4027 </page>
4028
4029 <page name="filemanagerconfirm">
4030 <template name="page"/>
4031
4032 <text style="text_l">
4033 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004034 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004035 </text>
4036
4037 <text style="text_m">
4038 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <text style="text_m_accent">
4043 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4044 <text>%tw_fm_text1%</text>
4045 </text>
4046
4047 <text style="text_m">
4048 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4049 <text>%tw_filename1%</text>
4050 </text>
4051
4052 <text style="text_m_accent">
4053 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4054 <text>%tw_fm_text2%</text>
4055 </text>
4056
4057 <text style="text_m">
4058 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4059 <text>%tw_fm_text3%</text>
4060 </text>
4061
4062 <text style="text_m">
4063 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004065 </text>
4066
4067 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 <action function="page">filemanageraction</action>
4070 </slider>
4071
4072 <action>
4073 <touch key="back"/>
4074 <action function="page">%tw_back%</action>
4075 </action>
4076
4077 <action>
4078 <touch key="home"/>
4079 <action function="page">main</action>
4080 </action>
4081 </page>
4082
4083 <page name="filemanageraction">
4084 <template name="page"/>
4085
4086 <text style="text_l">
4087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
4091 <text style="text_m">
4092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4093 <text>%tw_fm_text1%</text>
4094 </text>
4095
4096 <template name="console"/>
4097
4098 <template name="progress_bar"/>
4099
4100 <action>
4101 <conditions>
4102 <condition var1="tw_operation_state" var2="1"/>
4103 <condition var1="tw_operation_status" var2="0"/>
4104 </conditions>
4105 <actions>
4106 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004108 <action function="page">action_complete</action>
4109 </actions>
4110 </action>
4111
4112 <action>
4113 <conditions>
4114 <condition var1="tw_operation_state" var2="1"/>
4115 <condition var1="tw_operation_status" op="!=" var2="0"/>
4116 </conditions>
4117 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004119 <action function="page">action_complete</action>
4120 </actions>
4121 </action>
4122
4123 <action>
4124 <condition var1="tw_include_text3" var2="0"/>
4125 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4126 </action>
4127
4128 <action>
4129 <condition var1="tw_include_text3" var2="1"/>
4130 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4131 </action>
4132 </page>
4133
4134 <page name="decrypt">
4135 <template name="page"/>
4136
4137 <action>
4138 <condition var1="tw_crypto_pwtype" var2="2"/>
4139 <action function="page">decrypt_pattern</action>
4140 </action>
4141
4142 <text style="text_l">
4143 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004144 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004145 </text>
4146
4147 <text style="text_m">
4148 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <text style="text_m_accent">
4153 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004155 </text>
4156
4157 <input>
4158 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4159 <text>%tw_crypto_display%</text>
4160 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4161 <restrict minlen="1" maxlen="254"/>
4162 <action function="page">trydecrypt</action>
4163 </input>
4164
4165 <fill color="%accent_color%">
4166 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4167 </fill>
4168
4169 <fill color="%text_fail_color%">
4170 <condition var1="tw_password_fail" var2="1"/>
4171 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4172 </fill>
4173
4174 <text style="text_m_fail">
4175 <condition var1="tw_password_fail" var2="1"/>
4176 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004177 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004178 </text>
4179
4180 <button style="main_button_half_width_low">
4181 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004183 <actions>
4184 <action function="set">tw_page_done=1</action>
4185 <action function="page">main</action>
4186 </actions>
4187 </button>
4188
z31s1g608d7ff2016-01-18 19:47:25 +01004189 <button style="main_button_half_width_low">
4190 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4191 <text>{@sel_lang_btn=Select Language}</text>
4192 <action function="overlay">select_language</action>
4193 </button>
4194
z31s1g28f0a922015-11-07 18:50:22 +01004195 <template name="keyboardtemplate"/>
4196 </page>
4197
4198 <page name="decrypt_pattern">
4199 <template name="page"/>
4200
4201 <text style="text_l">
4202 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 </text>
4205
4206 <text style="text_m">
4207 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </text>
4210
4211 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004212 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </text>
4215
Aleksa Saraib25a1832015-12-31 17:36:00 +01004216 <text style="text_m_fail">
4217 <condition var1="tw_password_fail" var2="1"/>
4218 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004219 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004220 </text>
4221
z31s1g28f0a922015-11-07 18:50:22 +01004222 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004223 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004224 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4225 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4226 <data name="tw_crypto_password"/>
4227 <action function="page">trydecrypt</action>
4228 </patternpassword>
4229
Aleksa Saraib25a1832015-12-31 17:36:00 +01004230 <button style="main_button_half_width_low">
4231 <placement x="%col_button_right%" y="%row1a_y%"/>
4232 <text>3x3</text>
4233 <action function="set">tw_gui_pattern_grid_size=3</action>
4234 </button>
4235
4236 <button style="main_button_half_width_low">
4237 <placement x="%col_button_right%" y="%row4a_y%"/>
4238 <text>4x4</text>
4239 <action function="set">tw_gui_pattern_grid_size=4</action>
4240 </button>
4241
4242 <button style="main_button_half_width_low">
4243 <placement x="%col_button_right%" y="%row7a_y%"/>
4244 <text>5x5</text>
4245 <action function="set">tw_gui_pattern_grid_size=5</action>
4246 </button>
4247
4248 <button style="main_button_half_width_low">
4249 <placement x="%col_button_right%" y="%row10a_y%"/>
4250 <text>6x6</text>
4251 <action function="set">tw_gui_pattern_grid_size=6</action>
4252 </button>
4253
z31s1g28f0a922015-11-07 18:50:22 +01004254 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004255 <placement x="%col1_x_right%" y="%row15a_y%"/>
4256 <text>{@sel_lang_btn=Select Language}</text>
4257 <action function="overlay">select_language</action>
4258 </button>
4259
4260 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004261 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004262 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004263 <actions>
4264 <action function="set">tw_page_done=1</action>
4265 <action function="page">main</action>
4266 </actions>
4267 </button>
4268 </page>
4269
4270 <page name="trydecrypt">
4271 <template name="page"/>
4272
4273 <text style="text_l">
4274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </text>
4277
4278 <text style="text_m">
4279 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 </text>
4282
4283 <template name="console"/>
4284
4285 <template name="progress_bar"/>
4286
4287 <action>
4288 <action function="decrypt"/>
4289 </action>
4290
4291 <action>
4292 <conditions>
4293 <condition var1="tw_operation_state" var2="1"/>
4294 <condition var1="tw_operation_status" op="!=" var2="0"/>
4295 </conditions>
4296 <actions>
4297 <action function="set">tw_password_fail=1</action>
4298 <action function="page">decrypt</action>
4299 </actions>
4300 </action>
4301
4302 <action>
4303 <conditions>
4304 <condition var1="tw_operation_state" var2="1"/>
4305 <condition var1="tw_operation_status" op="=" var2="0"/>
4306 </conditions>
4307 <actions>
4308 <action function="set">tw_page_done=1</action>
4309 <action function="page">main</action>
4310 </actions>
4311 </action>
4312 </page>
4313
z31s1g28f0a922015-11-07 18:50:22 +01004314 <page name="terminalcommand">
4315 <template name="page"/>
4316
4317 <fill color="%background_color%">
4318 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4319 </fill>
4320
z31s1g56189522016-01-13 19:12:40 +01004321 <terminal>
4322 <condition var1="tw_hide_kb" var2="0"/>
4323 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4324 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004325
z31s1g56189522016-01-13 19:12:40 +01004326 <terminal>
4327 <condition var1="tw_hide_kb" var2="1"/>
4328 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4329 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004330
z31s1g56189522016-01-13 19:12:40 +01004331 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004332
z31s1g56189522016-01-13 19:12:40 +01004333 <object type="fill" color="#000000">
4334 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4335 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004336
z31s1g608d7ff2016-01-18 19:47:25 +01004337 <button>
z31s1g56189522016-01-13 19:12:40 +01004338 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4339 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4340 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4341 <image resource="back" />
4342 <condition var1="tw_busy" var2="0" />
4343 <actions>
4344 <action function="set">tw_hide_kb=0</action>
4345 <action function="page">advanced</action>
4346 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004347 </button>
z31s1g56189522016-01-13 19:12:40 +01004348
z31s1g608d7ff2016-01-18 19:47:25 +01004349 <button>
z31s1g56189522016-01-13 19:12:40 +01004350 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4351 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4352 <condition var1="tw_hide_kb" op="=" var2="0" />
4353 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4354 <image resource="kb_hide" />
4355 <condition var1="tw_busy" var2="0" />
4356 <actions>
4357 <action function="set">tw_hide_kb=1</action>
4358 <action function="page">terminalcommand</action>
4359 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004360 </button>
z31s1g56189522016-01-13 19:12:40 +01004361
z31s1g608d7ff2016-01-18 19:47:25 +01004362 <button>
z31s1g56189522016-01-13 19:12:40 +01004363 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4364 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4365 <condition var1="tw_hide_kb" op="=" var2="1" />
4366 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4367 <image resource="kb_show" />
4368 <condition var1="tw_busy" var2="0" />
4369 <actions>
4370 <action function="set">tw_hide_kb=0</action>
4371 <action function="page">terminalcommand</action>
4372 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004373 </button>
z31s1g56189522016-01-13 19:12:40 +01004374
z31s1g608d7ff2016-01-18 19:47:25 +01004375 <button>
z31s1g56189522016-01-13 19:12:40 +01004376 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4377 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4378 <image resource="home" />
4379 <condition var1="tw_busy" var2="0" />
4380 <actions>
4381 <action function="set">tw_hide_kb=0</action>
4382 <action function="key">home</action>
4383 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004384 </button>
z31s1g56189522016-01-13 19:12:40 +01004385
z31s1g608d7ff2016-01-18 19:47:25 +01004386 <button>
z31s1g56189522016-01-13 19:12:40 +01004387 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4388 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4389 <condition var1="tw_hide_kb" op="=" var2="0" />
4390 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4391 <image resource="kb_hide" />
4392 <condition var1="tw_busy" var2="0" />
4393 <actions>
4394 <action function="set">tw_hide_kb=1</action>
4395 <action function="page">terminalcommand</action>
4396 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004397 </button>
z31s1g56189522016-01-13 19:12:40 +01004398
z31s1g608d7ff2016-01-18 19:47:25 +01004399 <button>
z31s1g56189522016-01-13 19:12:40 +01004400 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4401 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4402 <condition var1="tw_hide_kb" op="=" var2="1" />
4403 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4404 <image resource="kb_show" />
4405 <condition var1="tw_busy" var2="0" />
4406 <actions>
4407 <action function="set">tw_hide_kb=0</action>
4408 <action function="page">terminalcommand</action>
4409 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004410 </button>
z31s1g56189522016-01-13 19:12:40 +01004411
z31s1g608d7ff2016-01-18 19:47:25 +01004412 <button>
z31s1g56189522016-01-13 19:12:40 +01004413 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4414 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4415 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4416 <image resource="back" />
4417 <condition var1="tw_busy" var2="0" />
4418 <actions>
4419 <action function="set">tw_hide_kb=0</action>
4420 <action function="page">advanced</action>
4421 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004422 </button>
z31s1g56189522016-01-13 19:12:40 +01004423
z31s1g608d7ff2016-01-18 19:47:25 +01004424 <button>
z31s1g56189522016-01-13 19:12:40 +01004425 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4426 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4427 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4428 <image resource="back" />
4429 <condition var1="tw_busy" var2="0" />
4430 <actions>
4431 <action function="set">tw_hide_kb=0</action>
4432 <action function="page">advanced</action>
4433 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004434 </button>
z31s1g56189522016-01-13 19:12:40 +01004435
z31s1g608d7ff2016-01-18 19:47:25 +01004436 <button>
z31s1g56189522016-01-13 19:12:40 +01004437 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4438 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4439 <condition var1="tw_hide_kb" op="=" var2="0" />
4440 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4441 <image resource="kb_hide" />
4442 <condition var1="tw_busy" var2="0" />
4443 <actions>
4444 <action function="set">tw_hide_kb=1</action>
4445 <action function="page">terminalcommand</action>
4446 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004447 </button>
z31s1g56189522016-01-13 19:12:40 +01004448
z31s1g608d7ff2016-01-18 19:47:25 +01004449 <button>
z31s1g56189522016-01-13 19:12:40 +01004450 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4451 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4452 <condition var1="tw_hide_kb" op="=" var2="1" />
4453 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4454 <image resource="kb_show" />
4455 <condition var1="tw_busy" var2="0" />
4456 <actions>
4457 <action function="set">tw_hide_kb=0</action>
4458 <action function="page">terminalcommand</action>
4459 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004460 </button>
z31s1g56189522016-01-13 19:12:40 +01004461
z31s1g608d7ff2016-01-18 19:47:25 +01004462 <button>
z31s1g56189522016-01-13 19:12:40 +01004463 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4464 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4465 <image resource="home" />
4466 <condition var1="tw_busy" var2="0" />
4467 <actions>
4468 <action function="set">tw_hide_kb=0</action>
4469 <action function="key">home</action>
4470 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004471 </button>
z31s1g56189522016-01-13 19:12:40 +01004472
z31s1g608d7ff2016-01-18 19:47:25 +01004473 <button>
z31s1g56189522016-01-13 19:12:40 +01004474 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4475 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4476 <condition var1="tw_hide_kb" op="=" var2="0" />
4477 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4478 <image resource="kb_hide" />
4479 <condition var1="tw_busy" var2="0" />
4480 <actions>
4481 <action function="set">tw_hide_kb=1</action>
4482 <action function="page">terminalcommand</action>
4483 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004484 </button>
z31s1g56189522016-01-13 19:12:40 +01004485
z31s1g608d7ff2016-01-18 19:47:25 +01004486 <button>
z31s1g56189522016-01-13 19:12:40 +01004487 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4488 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4489 <condition var1="tw_hide_kb" op="=" var2="1" />
4490 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4491 <image resource="kb_show" />
4492 <condition var1="tw_busy" var2="0" />
4493 <actions>
4494 <action function="set">tw_hide_kb=0</action>
4495 <action function="page">terminalcommand</action>
4496 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004497 </button>
z31s1g56189522016-01-13 19:12:40 +01004498
z31s1g608d7ff2016-01-18 19:47:25 +01004499 <button>
z31s1g56189522016-01-13 19:12:40 +01004500 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4501 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4502 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4503 <image resource="back" />
4504 <condition var1="tw_busy" var2="0" />
4505 <actions>
4506 <action function="set">tw_hide_kb=0</action>
4507 <action function="page">advanced</action>
4508 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004509 </button>
z31s1g56189522016-01-13 19:12:40 +01004510
z31s1g608d7ff2016-01-18 19:47:25 +01004511 <button>
z31s1g56189522016-01-13 19:12:40 +01004512 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4513 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4514 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4515 <image resource="back" />
4516 <condition var1="tw_busy" var2="0" />
4517 <actions>
4518 <action function="set">tw_hide_kb=0</action>
4519 <action function="page">advanced</action>
4520 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004521 </button>
z31s1g56189522016-01-13 19:12:40 +01004522
z31s1g608d7ff2016-01-18 19:47:25 +01004523 <button>
z31s1g56189522016-01-13 19:12:40 +01004524 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4525 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4526 <condition var1="tw_hide_kb" op="=" var2="0" />
4527 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4528 <image resource="kb_hide" />
4529 <condition var1="tw_busy" var2="0" />
4530 <actions>
4531 <action function="set">tw_hide_kb=1</action>
4532 <action function="page">terminalcommand</action>
4533 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004534 </button>
z31s1g56189522016-01-13 19:12:40 +01004535
z31s1g608d7ff2016-01-18 19:47:25 +01004536 <button>
z31s1g56189522016-01-13 19:12:40 +01004537 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4538 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4539 <condition var1="tw_hide_kb" op="=" var2="1" />
4540 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4541 <image resource="kb_show" />
4542 <condition var1="tw_busy" var2="0" />
4543 <actions>
4544 <action function="set">tw_hide_kb=0</action>
4545 <action function="page">terminalcommand</action>
4546 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004547 </button>
z31s1g56189522016-01-13 19:12:40 +01004548
z31s1g608d7ff2016-01-18 19:47:25 +01004549 <button>
z31s1g56189522016-01-13 19:12:40 +01004550 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4551 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4552 <image resource="home" />
4553 <condition var1="tw_busy" var2="0" />
4554 <actions>
4555 <action function="set">tw_hide_kb=0</action>
4556 <action function="key">home</action>
4557 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004558 </button>
z31s1g56189522016-01-13 19:12:40 +01004559
z31s1g608d7ff2016-01-18 19:47:25 +01004560 <button>
z31s1g56189522016-01-13 19:12:40 +01004561 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4562 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4563 <condition var1="tw_hide_kb" op="=" var2="0" />
4564 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4565 <image resource="kb_hide" />
4566 <condition var1="tw_busy" var2="0" />
4567 <actions>
4568 <action function="set">tw_hide_kb=1</action>
4569 <action function="page">terminalcommand</action>
4570 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004571 </button>
z31s1g56189522016-01-13 19:12:40 +01004572
z31s1g608d7ff2016-01-18 19:47:25 +01004573 <button>
z31s1g56189522016-01-13 19:12:40 +01004574 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4575 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4576 <condition var1="tw_hide_kb" op="=" var2="1" />
4577 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4578 <image resource="kb_show" />
4579 <condition var1="tw_busy" var2="0" />
4580 <actions>
4581 <action function="set">tw_hide_kb=0</action>
4582 <action function="page">terminalcommand</action>
4583 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004584 </button>
z31s1g56189522016-01-13 19:12:40 +01004585
z31s1g608d7ff2016-01-18 19:47:25 +01004586 <button>
z31s1g56189522016-01-13 19:12:40 +01004587 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4588 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4589 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4590 <image resource="back" />
4591 <condition var1="tw_busy" var2="0" />
4592 <actions>
4593 <action function="set">tw_hide_kb=0</action>
4594 <action function="page">advanced</action>
4595 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004596 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004597
4598 <action>
4599 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004600 <actions>
4601 <action function="page">main</action>
4602 <action function="set">tw_hide_kb=0</action>
4603 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </action>
4605
4606 <action>
4607 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004608 <actions>
4609 <action function="page">advanced</action>
4610 <action function="set">tw_hide_kb=0</action>
4611 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004612 </action>
z31s1g56189522016-01-13 19:12:40 +01004613
4614 <object type="action">
4615 <touch key="power+voldown" />
4616 <action function="screenshot" />
4617 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </page>
4619
4620 <page name="sideload">
4621 <template name="page"/>
4622
4623 <text style="text_l">
4624 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004625 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004626 </text>
4627
4628 <text style="text_m">
4629 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 </text>
4632
4633 <checkbox>
4634 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004635 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004636 <data variable="tw_wipe_dalvik"/>
4637 </checkbox>
4638
4639 <checkbox>
4640 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 <data variable="tw_wipe_cache"/>
4643 </checkbox>
4644
4645 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 <actions>
4648 <action function="set">tw_back=advanced</action>
4649 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4651 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4652 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004653 <action function="set">tw_has_cancel=1</action>
4654 <action function="set">tw_show_reboot=1</action>
4655 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4656 <action function="page">action_page</action>
4657 </actions>
4658 </slider>
4659
4660 <action>
4661 <touch key="home"/>
4662 <action function="page">main</action>
4663 </action>
4664
4665 <action>
4666 <touch key="back"/>
4667 <action function="page">advanced</action>
4668 </action>
4669 </page>
4670
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004671 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004672 <template name="page"/>
4673
4674 <text style="text_l">
4675 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004677 </text>
4678
4679 <text style="text_m">
4680 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004681 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 </text>
4683
4684 <text style="text_m_accent">
4685 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004686 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 </text>
4688
z31s1g28f0a922015-11-07 18:50:22 +01004689 <text style="text_m_fail">
4690 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004691 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004692 </text>
4693
4694 <text style="text_m_fail">
4695 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004696 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 </text>
4698
4699 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004700 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004701 <actions>
4702 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004703 <action function="set">tw_action=fixcontexts</action>
4704 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4705 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004706 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004707 <action function="set">tw_show_reboot=1</action>
4708 <action function="page">action_page</action>
4709 </actions>
4710 </slider>
4711
4712 <action>
4713 <touch key="home"/>
4714 <action function="page">main</action>
4715 </action>
4716
4717 <action>
4718 <touch key="back"/>
4719 <action function="page">advanced</action>
4720 </action>
4721 </page>
4722
4723 <page name="installsu">
4724 <template name="page"/>
4725
4726 <text style="text_l">
4727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004728 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004729 </text>
4730
4731 <text style="text_m">
4732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004733 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004734 </text>
4735
4736 <text style="text_m_accent">
4737 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004738 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004739 </text>
4740
4741 <text style="text_m">
4742 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004743 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004744 </text>
4745
4746 <text style="text_m">
4747 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004749 </text>
4750
4751 <button style="main_button_half_width">
4752 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004753 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004754 <action function="set">tw_page_done=1</action>
4755 </button>
4756
4757 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004758 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004759 <actions>
4760 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004761 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004762 <action function="set">tw_action_text2=</action>
4763 <action function="page">singleaction_page</action>
4764 </actions>
4765 </slider>
4766 </page>
4767
4768 <page name="slideout">
4769 <fill color="%background_color%">
4770 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4771 </fill>
4772
4773 <console>
4774 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4775 </console>
4776
4777 <button>
4778 <fill color="%transparent%"/>
4779 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4780 <action function="overlay"/>
4781 </button>
4782
4783 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004784 <touch key="power"/>
4785 <action function="togglebacklight"/>
4786 </action>
4787
4788 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004789 <touch key="power+voldown"/>
4790 <action function="screenshot"/>
4791 </action>
4792 </page>
4793
4794 <page name="select_storage">
4795 <fill color="%semi_transparent%">
4796 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4797 </fill>
4798
4799 <fill color="%background_color%">
4800 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4801 </fill>
4802
4803 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004804 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004805 <data name="tw_storage_path"/>
4806 <listtype name="storage"/>
4807 </partitionlist>
4808
4809 <button style="button_third_width">
4810 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004811 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004812 <actions>
4813 <action function="set">tw_clear_destination=%tw_back%</action>
4814 <action function="overlay"/>
4815 <action function="page">clear_vars</action>
4816 </actions>
4817 </button>
4818
4819 <fill color="#000000">
4820 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4821 </fill>
4822
4823 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004824 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4825 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4826 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4827 <image resource="back" />
4828 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004829 <actions>
4830 <action function="overlay"/>
4831 <action function="key">%tw_back%</action>
4832 </actions>
4833 </button>
4834
4835 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004836 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4837 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4838 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4839 <image resource="console" />
4840 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004841 <action function="overlay">slideout</action>
4842 </button>
4843
4844 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004845 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4846 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4847 <image resource="home" />
4848 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004849 <actions>
4850 <action function="overlay"/>
4851 <action function="key">home</action>
4852 </actions>
4853 </button>
4854
4855 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004856 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4857 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4858 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4859 <image resource="console" />
4860 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004861 <action function="overlay">slideout</action>
4862 </button>
4863
4864 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004865 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4866 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4867 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4868 <image resource="back" />
4869 <condition var1="tw_busy" var2="0" />
4870 <actions>
4871 <action function="overlay"/>
4872 <action function="key">%tw_back%</action>
4873 </actions>
4874 </button>
4875
4876 <button>
4877 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4878 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4879 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4880 <image resource="back" />
4881 <condition var1="tw_busy" var2="0" />
4882 <actions>
4883 <action function="overlay"/>
4884 <action function="key">%tw_back%</action>
4885 </actions>
4886 </button>
4887
4888 <button>
4889 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4890 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4891 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4892 <image resource="console" />
4893 <condition var1="tw_busy" var2="0" />
4894 <action function="overlay">slideout</action>
4895 </button>
4896
4897 <button>
4898 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4899 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4900 <image resource="home" />
4901 <condition var1="tw_busy" var2="0" />
4902 <actions>
4903 <action function="overlay"/>
4904 <action function="key">home</action>
4905 </actions>
4906 </button>
4907
4908 <button>
4909 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4910 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4911 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4912 <image resource="console" />
4913 <condition var1="tw_busy" var2="0" />
4914 <action function="overlay">slideout</action>
4915 </button>
4916
4917 <button>
4918 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4919 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4920 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4921 <image resource="back" />
4922 <condition var1="tw_busy" var2="0" />
4923 <actions>
4924 <action function="overlay"/>
4925 <action function="key">%tw_back%</action>
4926 </actions>
4927 </button>
4928
4929 <button>
4930 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4931 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4932 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4933 <image resource="back" />
4934 <condition var1="tw_busy" var2="0" />
4935 <actions>
4936 <action function="overlay"/>
4937 <action function="key">%tw_back%</action>
4938 </actions>
4939 </button>
4940
4941 <button>
4942 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4943 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4944 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4945 <image resource="console" />
4946 <condition var1="tw_busy" var2="0" />
4947 <action function="overlay">slideout</action>
4948 </button>
4949
4950 <button>
4951 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4952 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4953 <image resource="home" />
4954 <condition var1="tw_busy" var2="0" />
4955 <actions>
4956 <action function="overlay"/>
4957 <action function="key">home</action>
4958 </actions>
4959 </button>
4960
4961 <button>
4962 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4963 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4964 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4965 <image resource="console" />
4966 <condition var1="tw_busy" var2="0" />
4967 <action function="overlay">slideout</action>
4968 </button>
4969
4970 <button>
4971 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4972 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4973 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4974 <image resource="back" />
4975 <condition var1="tw_busy" var2="0" />
4976 <actions>
4977 <action function="overlay"/>
4978 <action function="key">%tw_back%</action>
4979 </actions>
4980 </button>
4981
4982 <action>
4983 <touch key="power+voldown"/>
4984 <action function="screenshot"/>
4985 </action>
4986 </page>
4987
4988 <page name="select_language">
4989 <fill color="%semi_transparent%">
4990 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4991 </fill>
4992
4993 <fill color="%background_color%">
4994 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4995 </fill>
4996
4997 <listbox>
4998 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4999 <text>{@select_language=Select Language:}</text>
5000 <icon selected="radio_true" unselected="radio_false" />
5001 <data name="tw_language" />
5002 </listbox>
5003
5004 <button style="button_third_width">
5005 <placement x="%dialog_button_x%" y="%row13_y%"/>
5006 <text>{@ok_btn=OK}</text>
5007 <actions>
5008 <action function="overlay"/>
5009 <action function="setlanguage"></action>
5010 </actions>
5011 </button>
5012
5013 <fill color="#000000">
5014 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5015 </fill>
5016
5017 <button>
5018 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5019 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5020 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5021 <image resource="back" />
5022 <condition var1="tw_busy" var2="0" />
5023 <actions>
5024 <action function="overlay"/>
5025 <action function="key">%tw_back%</action>
5026 </actions>
5027 </button>
5028
5029 <button>
5030 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5031 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5032 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5033 <image resource="console" />
5034 <condition var1="tw_busy" var2="0" />
5035 <action function="overlay">slideout</action>
5036 </button>
5037
5038 <button>
5039 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5040 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5041 <image resource="home" />
5042 <condition var1="tw_busy" var2="0" />
5043 <actions>
5044 <action function="overlay"/>
5045 <action function="key">home</action>
5046 </actions>
5047 </button>
5048
5049 <button>
5050 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5051 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5052 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5053 <image resource="console" />
5054 <condition var1="tw_busy" var2="0" />
5055 <action function="overlay">slideout</action>
5056 </button>
5057
5058 <button>
5059 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5060 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5061 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5062 <image resource="back" />
5063 <condition var1="tw_busy" var2="0" />
5064 <actions>
5065 <action function="overlay"/>
5066 <action function="key">%tw_back%</action>
5067 </actions>
5068 </button>
5069
5070 <button>
5071 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5072 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5073 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5074 <image resource="back" />
5075 <condition var1="tw_busy" var2="0" />
5076 <actions>
5077 <action function="overlay"/>
5078 <action function="key">%tw_back%</action>
5079 </actions>
5080 </button>
5081
5082 <button>
5083 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5084 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5085 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5086 <image resource="console" />
5087 <condition var1="tw_busy" var2="0" />
5088 <action function="overlay">slideout</action>
5089 </button>
5090
5091 <button>
5092 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5093 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5094 <image resource="home" />
5095 <condition var1="tw_busy" var2="0" />
5096 <actions>
5097 <action function="overlay"/>
5098 <action function="key">home</action>
5099 </actions>
5100 </button>
5101
5102 <button>
5103 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5104 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5105 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5106 <image resource="console" />
5107 <condition var1="tw_busy" var2="0" />
5108 <action function="overlay">slideout</action>
5109 </button>
5110
5111 <button>
5112 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5113 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5114 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5115 <image resource="back" />
5116 <condition var1="tw_busy" var2="0" />
5117 <actions>
5118 <action function="overlay"/>
5119 <action function="key">%tw_back%</action>
5120 </actions>
5121 </button>
5122
5123 <button>
5124 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5125 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5126 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5127 <image resource="back" />
5128 <condition var1="tw_busy" var2="0" />
5129 <actions>
5130 <action function="overlay"/>
5131 <action function="key">%tw_back%</action>
5132 </actions>
5133 </button>
5134
5135 <button>
5136 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5137 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5138 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5139 <image resource="console" />
5140 <condition var1="tw_busy" var2="0" />
5141 <action function="overlay">slideout</action>
5142 </button>
5143
5144 <button>
5145 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5146 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5147 <image resource="home" />
5148 <condition var1="tw_busy" var2="0" />
5149 <actions>
5150 <action function="overlay"/>
5151 <action function="key">home</action>
5152 </actions>
5153 </button>
5154
5155 <button>
5156 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5157 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5158 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5159 <image resource="console" />
5160 <condition var1="tw_busy" var2="0" />
5161 <action function="overlay">slideout</action>
5162 </button>
5163
5164 <button>
5165 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5166 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5167 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5168 <image resource="back" />
5169 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005170 <actions>
5171 <action function="overlay"/>
5172 <action function="key">%tw_back%</action>
5173 </actions>
5174 </button>
5175
5176 <action>
5177 <touch key="power+voldown"/>
5178 <action function="screenshot"/>
5179 </action>
5180 </page>
5181 </pages>
5182</recovery>