blob: b0e4238b81e8255ae4491cc9843808622e1c857c [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>
729 <action function="set">tw_action_param=system</action>
730 <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%"/>
975 <action function="reboot">%tw_action_param%</action>
976 </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
984 <page name="wipe">
985 <template name="page"/>
986
987 <text style="text_l">
988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 </text>
991
992 <text style="text_m">
993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m_accent">
998 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m_accent">
1003 <condition var1="tw_has_data_media" var2="1"/>
1004 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m_accent">
1009 <conditions>
1010 <condition var1="tw_has_android_secure" var2="1"/>
1011 <condition var1="fileexists" var2="/and-sec"/>
1012 </conditions>
1013 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 </text>
1016
1017 <text style="text_m_accent">
1018 <condition var1="tw_has_sdext_partition" var2="1"/>
1019 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001021 </text>
1022
1023 <text style="text_m">
1024 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001030 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <button style="main_button_half_width">
1039 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <actions>
1042 <action function="set">partitionlisterror=0</action>
1043 <action function="page">advancedwipe</action>
1044 </actions>
1045 </button>
1046
1047 <button style="main_button_half_width">
1048 <condition var1="tw_has_data_media" var2="1"/>
1049 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <action function="page">formatdata</action>
1052 </button>
1053
1054 <button style="main_button_half_width">
1055 <conditions>
1056 <condition var1="tw_is_encrypted" var2="1"/>
1057 <condition var1="tw_has_data_media" var2="0"/>
1058 </conditions>
1059 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <actions>
1062 <action function="set">tw_back=wipe</action>
1063 <action function="set">tw_action=wipe</action>
1064 <action function="set">tw_action_param=DATAMEDIA</action>
1065 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001066 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001067 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1069 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1070 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001071 <action function="page">confirm_action</action>
1072 </actions>
1073 </button>
1074
1075 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001077 <actions>
1078 <action function="set">tw_back=wipe</action>
1079 <action function="set">tw_action=wipe</action>
1080 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1082 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <action function="page">action_page</action>
1084 </actions>
1085 </slider>
1086
1087 <action>
1088 <touch key="back"/>
1089 <action function="page">main</action>
1090 </action>
1091
1092 <action>
1093 <touch key="home"/>
1094 <action function="page">main</action>
1095 </action>
1096 </page>
1097
1098 <page name="advancedwipe">
1099 <template name="page"/>
1100
1101 <action>
1102 <action function="set">tw_wipe_list=</action>
1103 </action>
1104
1105 <text style="text_l">
1106 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001107 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001108 </text>
1109
1110 <text style="text_m">
1111 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 </text>
1114
1115 <partitionlist>
1116 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <data name="tw_wipe_list"/>
1119 <listtype name="wipe"/>
1120 </partitionlist>
1121
1122 <text style="text_m_fail">
1123 <condition var1="partitionlisterror" var2="1"/>
1124 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <button style="main_button_m">
1129 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001132 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <action function="page">checkpartitionlist</action>
1134 </actions>
1135 </button>
1136
1137 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 <actions>
1140 <action function="set">tw_back=advancedwipe</action>
1141 <action function="set">tw_action=wipe</action>
1142 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1144 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1145 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001146 <action function="page">action_page</action>
1147 </actions>
1148 </slider>
1149
1150 <action>
1151 <touch key="home"/>
1152 <action function="page">main</action>
1153 </action>
1154
1155 <action>
1156 <touch key="back"/>
1157 <action function="page">wipe</action>
1158 </action>
1159 </page>
1160
1161 <page name="formatdata">
1162 <template name="page"/>
1163
1164 <text style="text_l">
1165 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 </text>
1168
1169 <text style="text_m">
1170 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m_fail">
1175 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <text style="text_m_fail">
1180 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001181 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001182 </text>
1183
Ethan Yonker66a19492015-12-10 10:19:45 -06001184 <text style="text_m_fail">
1185 <condition var1="tw_has_adopted_storage" var2="1"/>
1186 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1187 <text>{@format_data_adopted=Including Adopted Storage}</text>
1188 </text>
1189
z31s1g28f0a922015-11-07 18:50:22 +01001190 <text style="text_m">
1191 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m">
1196 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <input>
1201 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1202 <text>%tw_confirm_formatdata%</text>
1203 <data name="tw_confirm_formatdata"/>
1204 <restrict minlen="3" maxlen="3" allow="yes"/>
1205 <action function="page">formatdata_confirm</action>
1206 </input>
1207
1208 <fill color="%accent_color%">
1209 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1210 </fill>
1211
1212 <template name="keyboardtemplate"/>
1213
1214 <action>
1215 <touch key="home"/>
1216 <action function="page">main</action>
1217 </action>
1218
1219 <action>
1220 <touch key="back"/>
1221 <action function="page">wipe</action>
1222 </action>
1223 </page>
1224
1225 <page name="formatdata_confirm">
1226 <action>
1227 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1228 <actions>
1229 <action function="set">tw_back=formatdata</action>
1230 <action function="set">tw_action=wipe</action>
1231 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001232 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1233 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001234 <action function="page">action_page</action>
1235 </actions>
1236 </action>
1237
1238 <action>
1239 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1240 <action function="page">formatdata</action>
1241 </action>
1242 </page>
1243
1244 <page name="checkpartitionlist">
1245 <action>
1246 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1247 <actions>
1248 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001249 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <action function="page">partitionoptions</action>
1251 </actions>
1252 </action>
1253
1254 <action>
1255 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1256 <actions>
1257 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001258 <action function="page">advancedwipe</action>
1259 </actions>
1260 </action>
1261 </page>
1262
1263 <page name="partitionoptions">
1264 <template name="page"/>
1265
1266 <text style="text_l">
1267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m_accent">
1277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m_accent">
1282 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m">
1287 <condition var1="tw_partition_is_present" var2="1"/>
1288 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001289 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001290 </text>
1291
1292 <text style="text_m">
1293 <condition var1="tw_partition_is_present" var2="0"/>
1294 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m">
1299 <condition var1="tw_partition_removable" var2="1"/>
1300 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m">
1305 <condition var1="tw_partition_removable" var2="0"/>
1306 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001307 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001308 </text>
1309
1310 <text style="text_m">
1311 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m">
1326 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <button style="main_button_half_width">
1331 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1332 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <actions>
1335 <action function="set">tw_back=partitionoptions</action>
1336 <action function="set">tw_action=resize</action>
1337 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1338 <action function="set">tw_has_action2=1</action>
1339 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001340 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1344 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1345 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001346 <action function="page">confirm_action</action>
1347 </actions>
1348 </button>
1349
1350 <button style="main_button_half_width">
1351 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1352 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 <actions>
1355 <action function="set">tw_back=partitionoptions</action>
1356 <action function="set">tw_action=repair</action>
1357 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1358 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001360 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001361 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1362 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1363 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="page">confirm_action</action>
1365 </actions>
1366 </button>
1367
1368 <button style="main_button_half_width">
1369 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001370 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001371 <action function="page">selectfilesystem</action>
1372 </button>
1373
1374 <action>
1375 <touch key="home"/>
1376 <action function="page">main</action>
1377 </action>
1378
1379 <action>
1380 <touch key="back"/>
1381 <action function="page">advancedwipe</action>
1382 </action>
1383 </page>
1384
1385 <page name="refreshfilesystem">
1386 <action>
1387 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1388 <actions>
1389 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001390 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001391 <action function="page">selectfilesystem</action>
1392 </actions>
1393 </action>
1394
1395 <action>
1396 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1397 <actions>
1398 <action function="set">partitionlisterror=1</action>
1399 <action function="set">tw_wipe_list=</action>
1400 <action function="page">advancedwipe</action>
1401 </actions>
1402 </action>
1403 </page>
1404
1405 <page name="selectfilesystem">
1406 <template name="page"/>
1407
1408 <text style="text_l">
1409 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m">
1414 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m_accent">
1419 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <text style="text_m_accent">
1424 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001426 </text>
1427
1428 <text style="text_m_fail">
1429 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001430 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001431 </text>
1432
1433 <text style="text_m_fail">
1434 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001436 </text>
1437
1438 <button style="main_button_half_width">
1439 <condition var1="tw_partition_ext" op="=" var2="1"/>
1440 <placement x="%col1_x_left%" y="%row11_y%"/>
1441 <text>EXT2</text>
1442 <actions>
1443 <action function="set">tw_back=refreshfilesystem</action>
1444 <action function="set">tw_action=changefilesystem</action>
1445 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1446 <action function="set">tw_action_new_file_system=ext2</action>
1447 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001448 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1449 <action function="set">tw_text2=EXT2</action>
1450 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1451 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1452 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">confirm_action</action>
1454 </actions>
1455 </button>
1456
1457 <button style="main_button_half_width">
1458 <condition var1="tw_partition_ext" op="=" var2="1"/>
1459 <placement x="%col2_x_left%" y="%row11_y%"/>
1460 <text>EXT3</text>
1461 <actions>
1462 <action function="set">tw_back=refreshfilesystem</action>
1463 <action function="set">tw_action=changefilesystem</action>
1464 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1465 <action function="set">tw_action_new_file_system=ext3</action>
1466 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001467 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1468 <action function="set">tw_text2=EXT3</action>
1469 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1470 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1471 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001472 <action function="page">confirm_action</action>
1473 </actions>
1474 </button>
1475
1476 <button style="main_button_half_width">
1477 <condition var1="tw_partition_ext" op="=" var2="1"/>
1478 <placement x="%center_x%" y="%row11_y%"/>
1479 <text>EXT4</text>
1480 <actions>
1481 <action function="set">tw_back=refreshfilesystem</action>
1482 <action function="set">tw_action=changefilesystem</action>
1483 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1484 <action function="set">tw_action_new_file_system=ext4</action>
1485 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001486 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1487 <action function="set">tw_text2=EXT4</action>
1488 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1489 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1490 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001491 <action function="page">confirm_action</action>
1492 </actions>
1493 </button>
1494
1495 <button style="main_button_half_width">
1496 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1497 <placement x="%col2_x_right%" y="%row11_y%"/>
1498 <text>FAT</text>
1499 <actions>
1500 <action function="set">tw_back=refreshfilesystem</action>
1501 <action function="set">tw_action=changefilesystem</action>
1502 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1503 <action function="set">tw_action_new_file_system=vfat</action>
1504 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1506 <action function="set">tw_text2=FAT</action>
1507 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1508 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1509 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001510 <action function="page">confirm_action</action>
1511 </actions>
1512 </button>
1513
1514 <button style="main_button_half_width">
1515 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1516 <placement x="%col2_x_left%" y="%row15a_y%"/>
1517 <text>exFAT</text>
1518 <actions>
1519 <action function="set">tw_back=refreshfilesystem</action>
1520 <action function="set">tw_action=changefilesystem</action>
1521 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1522 <action function="set">tw_action_new_file_system=exfat</action>
1523 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001524 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1525 <action function="set">tw_text2=exFAT</action>
1526 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1527 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1528 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001529 <action function="page">confirm_action</action>
1530 </actions>
1531 </button>
1532
1533 <button style="main_button_half_width">
1534 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1535 <placement x="%center_x%" y="%row15a_y%"/>
1536 <text>F2FS</text>
1537 <actions>
1538 <action function="set">tw_back=refreshfilesystem</action>
1539 <action function="set">tw_action=changefilesystem</action>
1540 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1541 <action function="set">tw_action_new_file_system=f2fs</action>
1542 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001543 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1544 <action function="set">tw_text2=F2FS</action>
1545 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1546 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1547 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001548 <action function="page">confirm_action</action>
1549 </actions>
1550 </button>
1551
1552 <action>
1553 <touch key="home"/>
1554 <action function="page">main</action>
1555 </action>
1556
1557 <action>
1558 <touch key="back"/>
1559 <action function="page">partitionoptions</action>
1560 </action>
1561 </page>
1562
1563 <page name="backup">
1564 <template name="page"/>
1565
1566 <text style="text_l">
1567 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001568 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001569 </text>
1570
1571 <text style="text_m">
1572 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001574 </text>
1575
1576 <text style="text_m_accent">
1577 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 </text>
1580
1581 <text style="text_m">
1582 <placement x="%col1_x_left%" y="%row3_y%"/>
1583 <text>%tw_backup_name%</text>
1584 </text>
1585
1586 <fill color="%fileselector_linecolor%">
1587 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1588 </fill>
1589
1590 <button>
1591 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1592 <fill color="%transparent%"/>
1593 <actions>
1594 <action function="set">tw_fileexists=0</action>
1595 <action function="page">backupname1</action>
1596 </actions>
1597 </button>
1598
1599 <partitionlist>
1600 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <data name="tw_backup_list"/>
1603 <listtype name="backup"/>
1604 </partitionlist>
1605
1606 <text style="text_m_accent">
1607 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001609 </text>
1610
1611 <text style="text_m">
1612 <conditions>
1613 <condition var1="tw_include_encrypted_backup" var2="1"/>
1614 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001615 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001616 </conditions>
1617 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </text>
1620
1621 <text style="text_m">
1622 <conditions>
1623 <condition var1="tw_include_encrypted_backup" var2="1"/>
1624 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001625 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001626 </conditions>
1627 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001629 </text>
1630
1631 <fill color="%fileselector_linecolor%">
1632 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1633 </fill>
1634
1635 <button>
1636 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1637 <fill color="%transparent%"/>
1638 <actions>
1639 <action function="set">tw_password_not_match=0</action>
1640 <action function="page">backupencryption</action>
1641 </actions>
1642 </button>
1643
1644 <text style="text_m_accent">
1645 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001647 </text>
1648
1649 <checkbox>
1650 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 <data variable="tw_use_compression"/>
1653 </checkbox>
1654
1655 <checkbox>
1656 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001657 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001658 <data variable="tw_skip_md5_generate"/>
1659 </checkbox>
1660
1661 <checkbox>
1662 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001663 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 <data variable="tw_disable_free_space"/>
1665 </checkbox>
1666
1667 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001668 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001669 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 <actions>
1672 <action function="set">tw_back=backup</action>
1673 <action function="overlay">select_storage</action>
1674 </actions>
1675 </button>
1676
1677 <button style="main_button_half_width">
1678 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <actions>
1681 <action function="refreshsizes"/>
1682 <action function="page">backup</action>
1683 </actions>
1684 </button>
1685
1686 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001688 <action function="page">backup_run</action>
1689 </slider>
1690
1691 <action>
1692 <touch key="home"/>
1693 <action function="page">main</action>
1694 </action>
1695
1696 <action>
1697 <touch key="back"/>
1698 <action function="page">main</action>
1699 </action>
1700 </page>
1701
1702 <page name="backupname1">
1703 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001705 <action function="generatebackupname"/>
1706 </action>
1707
1708 <action>
1709 <action function="page">backupname2</action>
1710 </action>
1711 </page>
1712
1713 <page name="backupname2">
1714 <template name="page"/>
1715
1716 <text style="text_l">
1717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001718 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001719 </text>
1720
1721 <text style="text_m">
1722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </text>
1725
1726 <text style="text_m_accent">
1727 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <input>
1732 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1733 <text>%tw_backup_name%</text>
1734 <data name="tw_backup_name"/>
1735 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1736 <actions>
1737 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1738 <action function="set">tw_existpage=backupname2</action>
1739 <action function="set">tw_notexistpage=backup</action>
1740 <action function="page">filecheck</action>
1741 </actions>
1742 </input>
1743
1744 <fill color="%accent_color%">
1745 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1746 </fill>
1747
1748 <fill color="%text_fail_color%">
1749 <condition var1="tw_fileexists" var2="1"/>
1750 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1751 </fill>
1752
1753 <text style="text_m_fail">
1754 <condition var1="tw_fileexists" var2="1"/>
1755 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001756 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001757 </text>
1758
1759 <button style="main_button_half_width_low">
1760 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <action function="page">backup</action>
1765 </actions>
1766 </button>
1767
1768 <button style="main_button_half_width_low">
1769 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 <action function="appenddatetobackupname"/>
1772 </button>
1773
1774 <template name="keyboardtemplate"/>
1775
1776 <action>
1777 <touch key="home"/>
1778 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001780 <action function="page">main</action>
1781 </actions>
1782 </action>
1783
1784 <action>
1785 <touch key="back"/>
1786 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001787 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001788 <action function="page">backup</action>
1789 </actions>
1790 </action>
1791 </page>
1792
1793 <page name="backupencryption">
1794 <template name="page"/>
1795
1796 <text style="text_l">
1797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001798 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001799 </text>
1800
1801 <text style="text_m">
1802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <text style="text_m_accent">
1807 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <input>
1812 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1813 <text>%tw_backup_encrypt_display%</text>
1814 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1815 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1816 <action function="page">backupencryption2</action>
1817 </input>
1818
1819 <fill color="%accent_color%">
1820 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1821 </fill>
1822
1823 <fill color="%text_fail_color%">
1824 <condition var1="tw_password_not_match" var2="1"/>
1825 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1826 </fill>
1827
1828 <text style="text_m_fail">
1829 <condition var1="tw_password_not_match" var2="1"/>
1830 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <button style="main_button_half_width_low">
1835 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 <actions>
1838 <action function="set">tw_encrypt_backup=0</action>
1839 <action function="set">tw_backup_password=</action>
1840 <action function="set">tw_backup_password2=</action>
1841 <action function="set">tw_backup_encrypt_display=</action>
1842 <action function="set">tw_backup_encrypt_display2=</action>
1843 <action function="page">backup</action>
1844 </actions>
1845 </button>
1846
1847 <template name="keyboardtemplate"/>
1848
1849 <action>
1850 <touch key="home"/>
1851 <action function="page">main</action>
1852 </action>
1853
1854 <action>
1855 <touch key="back"/>
1856 <action function="page">backup</action>
1857 </action>
1858 </page>
1859
1860 <page name="backupencryption2">
1861 <template name="page"/>
1862
1863 <text style="text_l">
1864 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001865 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001866 </text>
1867
1868 <text style="text_m">
1869 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m_accent">
1874 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <input>
1879 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1880 <text>%tw_backup_encrypt_display2%</text>
1881 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1882 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1883 <action function="page">checkbackuppassword</action>
1884 </input>
1885
1886 <fill color="%accent_color%">
1887 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1888 </fill>
1889
1890 <text style="text_m">
1891 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 </text>
1894
1895 <button style="main_button_half_width_low">
1896 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 <actions>
1899 <action function="set">tw_encrypt_backup=0</action>
1900 <action function="set">tw_backup_password=</action>
1901 <action function="set">tw_backup_password2=</action>
1902 <action function="set">tw_backup_encrypt_display=</action>
1903 <action function="set">tw_backup_encrypt_display2=</action>
1904 <action function="page">backup</action>
1905 </actions>
1906 </button>
1907
1908 <template name="keyboardtemplate"/>
1909
1910 <action>
1911 <touch key="home"/>
1912 <action function="page">main</action>
1913 </action>
1914
1915 <action>
1916 <touch key="back"/>
1917 <action function="page">backup</action>
1918 </action>
1919 </page>
1920
1921 <page name="checkbackuppassword">
1922 <action>
1923 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1924 <actions>
1925 <action function="set">tw_encrypt_backup=1</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </action>
1929
1930 <action>
1931 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1932 <actions>
1933 <action function="set">tw_encrypt_backup=0</action>
1934 <action function="set">tw_password_not_match=1</action>
1935 <action function="set">tw_backup_password=</action>
1936 <action function="set">tw_backup_password2=</action>
1937 <action function="set">tw_backup_encrypt_display=</action>
1938 <action function="set">tw_backup_encrypt_display2=</action>
1939 <action function="page">backupencryption</action>
1940 </actions>
1941 </action>
1942 </page>
1943
1944 <page name="backup_run">
1945 <template name="page"/>
1946
1947 <text style="text_l">
1948 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1949 <text>%tw_operation%</text>
1950 </text>
1951
1952 <text style="text_m">
1953 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1954 <text>%tw_partition% Partition</text>
1955 </text>
1956
1957 <template name="console"/>
1958
1959 <template name="progress_bar"/>
1960
1961 <text style="text_m_accent">
1962 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001963 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001964 </text>
1965
1966 <text style="text_m">
1967 <placement x="%progress_text_x%" y="%row17_y%"/>
1968 <text>%tw_file_progress%</text>
1969 </text>
1970
1971 <text style="text_m">
1972 <placement x="%progress_text_x%" y="%row18_y%"/>
1973 <text>%tw_size_progress%</text>
1974 </text>
1975
1976 <button style="main_button_half_width">
1977 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001978 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001979 <action function="cancelbackup"/>
1980 </button>
1981
1982 <action>
1983 <action function="nandroid">backup</action>
1984 </action>
1985
1986 <action>
1987 <condition var1="tw_operation_state" var2="1"/>
1988 <condition var1="tw_cancel_backup" var2="0"/>
1989 <actions>
1990 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001992 <action function="set">tw_show_reboot=1</action>
1993 <action function="page">action_complete</action>
1994 </actions>
1995 </action>
1996
1997 <action>
1998 <condition var1="tw_operation_state" var2="1"/>
1999 <condition var1="tw_cancel_backup" var2="1"/>
2000 <actions>
2001 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002003 <action function="set">tw_show_reboot=1</action>
2004 <action function="page">action_complete</action>
2005 </actions>
2006 </action>
2007 </page>
2008
2009 <page name="restore">
2010 <template name="page"/>
2011
2012 <text style="text_l">
2013 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <text style="text_m">
2018 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <template name="sort_options"/>
2023
2024 <fileselector>
2025 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002027 <filter folders="1" files="0" nav="0"/>
2028 <path name="tw_backups_folder"/>
2029 <data name="tw_restore" default=""/>
2030 <selection name="tw_restore_name"/>
2031 </fileselector>
2032
2033 <button style="main_button_half_width_low">
2034 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 <actions>
2037 <action function="set">tw_back=restore</action>
2038 <action function="overlay">select_storage</action>
2039 </actions>
2040 </button>
2041
2042 <action>
2043 <condition var1="tw_restore" op="modified"/>
2044 <actions>
2045 <action function="readBackup"/>
2046 <action function="page">restore_read</action>
2047 </actions>
2048 </action>
2049
2050 <action>
2051 <touch key="home"/>
2052 <action function="page">main</action>
2053 </action>
2054
2055 <action>
2056 <touch key="back"/>
2057 <action function="page">main</action>
2058 </action>
2059 </page>
2060
2061 <page name="restore_read">
2062 <action>
2063 <condition var1="tw_restore_encrypted" var2="1"/>
2064 <actions>
2065 <action function="set">tw_password_fail=0</action>
2066 <action function="page">restore_decrypt</action>
2067 </actions>
2068 </action>
2069
2070 <action>
2071 <condition var1="tw_restore_encrypted" var2="0"/>
2072 <actions>
2073 <action function="page">restore_select</action>
2074 </actions>
2075 </action>
2076 </page>
2077
2078 <page name="restore_decrypt">
2079 <template name="page"/>
2080
2081 <text style="text_l">
2082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m_accent">
2092 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <input>
2097 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2098 <text>%tw_restore_display%</text>
2099 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2100 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2101 <action function="page">try_restore_decrypt</action>
2102 </input>
2103
2104 <fill color="%accent_color%">
2105 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2106 </fill>
2107
2108 <fill color="%text_fail_color%">
2109 <condition var1="tw_password_fail" var2="1"/>
2110 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2111 </fill>
2112
2113 <text style="text_m_fail">
2114 <condition var1="tw_password_fail" var2="1"/>
2115 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002117 </text>
2118
2119 <button style="main_button_half_width_low">
2120 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002121 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002122 <actions>
2123 <action function="set">tw_page_done=1</action>
2124 <action function="page">restore</action>
2125 </actions>
2126 </button>
2127
2128 <button style="main_button_half_width_low">
2129 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002130 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002131 <actions>
2132 <action function="set">tw_back=restore</action>
2133 <action function="set">tw_action=cmd</action>
2134 <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 -05002135 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2136 <action function="set">tw_text2=%tw_restore_name%</action>
2137 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2138 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2139 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2140 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002141 <action function="page">confirm_action</action>
2142 </actions>
2143 </button>
2144
2145 <template name="keyboardtemplate"/>
2146
2147 <action>
2148 <touch key="home"/>
2149 <action function="page">main</action>
2150 </action>
2151
2152 <action>
2153 <touch key="back"/>
2154 <action function="page">restore</action>
2155 </action>
2156 </page>
2157
2158 <page name="try_restore_decrypt">
2159 <template name="page"/>
2160
2161 <text style="text_l">
2162 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002164 </text>
2165
2166 <text style="text_m">
2167 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002168 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002169 </text>
2170
2171 <template name="console"/>
2172
2173 <template name="progress_bar"/>
2174
2175 <action>
2176 <action function="decrypt_backup"/>
2177 </action>
2178
2179 <action>
2180 <conditions>
2181 <condition var1="tw_operation_state" var2="1"/>
2182 <condition var1="tw_operation_status" op="!=" var2="0"/>
2183 </conditions>
2184 <actions>
2185 <action function="set">tw_password_fail=1</action>
2186 <action function="page">restore_decrypt</action>
2187 </actions>
2188 </action>
2189
2190 <action>
2191 <conditions>
2192 <condition var1="tw_operation_state" var2="1"/>
2193 <condition var1="tw_operation_status" op="=" var2="0"/>
2194 </conditions>
2195 <actions>
2196 <action function="set">tw_page_done=1</action>
2197 <action function="page">restore_select</action>
2198 </actions>
2199 </action>
2200 </page>
2201
2202 <page name="restore_select">
2203 <template name="page"/>
2204
2205 <text style="text_l">
2206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002208 </text>
2209
2210 <text style="text_m">
2211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m_accent">
2216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <text style="text_m">
2221 <placement x="%col1_x_left%" y="%row3_y%"/>
2222 <text>%tw_restore_name%</text>
2223 </text>
2224
2225 <fill color="%fileselector_linecolor%">
2226 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2227 </fill>
2228
2229 <button>
2230 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2231 <fill color="%transparent%"/>
2232 <actions>
2233 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2234 <action function="set">tw_fileexists=0</action>
2235 <action function="page">renamebackup</action>
2236 </actions>
2237 </button>
2238
2239 <partitionlist>
2240 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2243 <listtype name="restore"/>
2244 </partitionlist>
2245
2246 <text style="text_m_accent">
2247 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002248 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002249 </text>
2250
2251 <checkbox>
2252 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002253 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 <data variable="tw_skip_md5_check"/>
2255 </checkbox>
2256
2257 <button style="main_button_half_width">
2258 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002259 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002260 <actions>
2261 <action function="set">tw_back=restore</action>
2262 <action function="set">tw_action=cmd</action>
2263 <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 -05002264 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2267 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2268 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2269 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <action function="page">confirm_action</action>
2271 </actions>
2272 </button>
2273
2274 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <action function="page">restore_run</action>
2277 </slider>
2278
2279 <action>
2280 <touch key="home"/>
2281 <action function="page">main</action>
2282 </action>
2283
2284 <action>
2285 <touch key="back"/>
2286 <action function="page">restore</action>
2287 </action>
2288 </page>
2289
2290 <page name="renamebackup">
2291 <template name="page"/>
2292
2293 <text style="text_l">
2294 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <text style="text_m">
2299 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m_accent">
2304 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <input>
2309 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2310 <text>%tw_backup_rename%</text>
2311 <data name="tw_backup_rename"/>
2312 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2313 <actions>
2314 <action function="set">tw_back=restore</action>
2315 <action function="set">tw_action=cmd</action>
2316 <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 -05002317 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2318 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2319 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2320 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2321 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2323 <action function="set">tw_existpage=renamebackup</action>
2324 <action function="set">tw_notexistpage=confirm_action</action>
2325 <action function="page">filecheck</action>
2326 </actions>
2327 </input>
2328
2329 <fill color="%accent_color%">
2330 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2331 </fill>
2332
2333 <fill color="%text_fail_color%">
2334 <condition var1="tw_fileexists" var2="1"/>
2335 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2336 </fill>
2337
2338 <text style="text_m_fail">
2339 <condition var1="tw_fileexists" var2="1"/>
2340 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <button style="main_button_half_width_low">
2345 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 <action function="page">restore_select</action>
2348 </button>
2349
2350 <template name="keyboardtemplate"/>
2351
2352 <action>
2353 <touch key="home"/>
2354 <action function="page">main</action>
2355 </action>
2356
2357 <action>
2358 <touch key="back"/>
2359 <action function="page">restore_select</action>
2360 </action>
2361 </page>
2362
2363 <page name="restore_run">
2364 <template name="page"/>
2365
2366 <text style="text_l">
2367 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <text style="text_m">
2372 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2373 <text>%tw_operation% %tw_partition%</text>
2374 </text>
2375
2376 <template name="console"/>
2377
2378 <template name="progress_bar"/>
2379
2380 <text style="text_m_accent">
2381 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002383 </text>
2384
2385 <text style="text_m">
2386 <placement x="%progress_text_x%" y="%row18_y%"/>
2387 <text>%tw_size_progress%</text>
2388 </text>
2389
2390 <action>
2391 <condition var1="tw_operation_state" var2="1"/>
2392 <actions>
2393 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002394 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002395 <action function="set">tw_show_reboot=1</action>
2396 <action function="page">action_complete</action>
2397 </actions>
2398 </action>
2399
2400 <action>
2401 <action function="nandroid">restore</action>
2402 </action>
2403 </page>
2404
2405 <page name="mount">
2406 <template name="page"/>
2407
2408 <text style="text_l">
2409 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002410 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002411 </text>
2412
2413 <text style="text_m">
2414 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 </text>
2417
2418 <partitionlist>
2419 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 <listtype name="mount"/>
2422 </partitionlist>
2423
2424 <button style="checkbox">
2425 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2426 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <image resource="checkbox_false"/>
2429 <action function="mountsystemtoggle">1</action>
2430 </button>
2431
2432 <button style="checkbox">
2433 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2434 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 <image resource="checkbox_true"/>
2437 <actions>
2438 <action function="set">tw_lifetime_writes=2</action>
2439 <action function="page">system_readonly_check</action>
2440 </actions>
2441 </button>
2442
2443 <button style="main_button_half_width">
2444 <condition var1="tw_has_usb_storage" var2="1"/>
2445 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002446 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002447 <action function="page">usb_mount</action>
2448 </button>
2449
2450 <button style="main_button_half_width">
2451 <conditions>
2452 <condition var1="tw_is_encrypted" var2="1"/>
2453 <condition var1="tw_is_decrypted" var2="0"/>
2454 </conditions>
2455 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 <action function="page">decrypt</action>
2458 </button>
2459
2460 <button style="main_button_half_width">
2461 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 <actions>
2464 <action function="set">tw_back=mount</action>
2465 <action function="overlay">select_storage</action>
2466 </actions>
2467 </button>
2468
2469 <button style="main_button_half_width">
2470 <conditions>
2471 <condition var1="tw_has_mtp" var2="1"/>
2472 <condition var1="tw_mtp_enabled" var2="0"/>
2473 </conditions>
2474 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <action function="startmtp"/>
2477 </button>
2478
2479 <button style="main_button_half_width">
2480 <conditions>
2481 <condition var1="tw_has_mtp" var2="1"/>
2482 <condition var1="tw_mtp_enabled" var2="1"/>
2483 </conditions>
2484 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 <action function="stopmtp"/>
2487 </button>
2488
2489 <action>
2490 <touch key="home"/>
2491 <action function="page">main</action>
2492 </action>
2493
2494 <action>
2495 <touch key="back"/>
2496 <action function="page">main</action>
2497 </action>
2498 </page>
2499
2500 <page name="usb_mount">
2501 <template name="page"/>
2502
2503 <text style="text_l">
2504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002505 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002506 </text>
2507
2508 <text style="text_m">
2509 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002510 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 </text>
2512
2513 <text style="text_m_accent">
2514 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 </text>
2517
2518 <text style="text_m">
2519 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 </text>
2527
2528 <button style="main_button_half_width">
2529 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 <action function="page">usb_umount</action>
2532 </button>
2533
2534 <action>
2535 <action function="mount">usb</action>
2536 <action function="set">tw_busy=1</action>
2537 </action>
2538 </page>
2539
2540 <page name="usb_umount">
2541 <action>
2542 <action function="unmount">usb</action>
2543 </action>
2544
2545 <action>
2546 <action function="page">mount</action>
2547 <action function="set">tw_busy=0</action>
2548 </action>
2549 </page>
2550
2551 <page name="system_readonly_check">
2552 <action>
2553 <action function="checkpartitionlifetimewrites">/system</action>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_lifetime_writes" var2="1"/>
2558 <actions>
2559 <action function="mountsystemtoggle">0</action>
2560 <action function="page">mount</action>
2561 </actions>
2562 </action>
2563
2564 <action>
2565 <condition var1="tw_lifetime_writes" var2="0"/>
2566 <actions>
2567 <action function="set">tw_back=mount</action>
2568 <action function="page">system_readonly</action>
2569 </actions>
2570 </action>
2571 </page>
2572
2573 <page name="reboot">
2574 <template name="page"/>
2575
2576 <text style="text_l">
2577 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002578 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002579 </text>
2580
2581 <button style="main_button">
2582 <condition var1="tw_reboot_system" var2="1"/>
2583 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 <actions>
2586 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002587 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002588 </actions>
2589 </button>
2590
2591 <button style="main_button">
2592 <condition var1="tw_reboot_poweroff" var2="1"/>
2593 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <actions>
2596 <action function="set">tw_back=reboot</action>
2597 <action function="set">tw_action=reboot</action>
2598 <action function="set">tw_action_param=poweroff</action>
2599 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002600 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2601 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2602 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2603 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2604 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="page">rebootcheck</action>
2606 </actions>
2607 </button>
2608
2609 <button style="main_button">
2610 <condition var1="tw_reboot_recovery" var2="1"/>
2611 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002612 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002613 <actions>
2614 <action function="set">tw_back=reboot</action>
2615 <action function="set">tw_action=reboot</action>
2616 <action function="set">tw_action_param=recovery</action>
2617 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2619 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2620 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2621 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2622 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002623 <action function="page">rebootcheck</action>
2624 </actions>
2625 </button>
2626
2627 <button style="main_button">
2628 <condition var1="tw_reboot_bootloader" var2="1"/>
2629 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 <actions>
2632 <action function="set">tw_back=reboot</action>
2633 <action function="set">tw_action=reboot</action>
2634 <action function="set">tw_action_param=bootloader</action>
2635 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2637 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2638 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2639 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2640 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="page">rebootcheck</action>
2642 </actions>
2643 </button>
2644
2645 <button style="main_button">
2646 <condition var1="tw_download_mode" var2="1"/>
2647 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_back=reboot</action>
2651 <action function="set">tw_action=reboot</action>
2652 <action function="set">tw_action_param=download</action>
2653 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2655 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2656 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2657 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2658 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002659 <action function="page">rebootcheck</action>
2660 </actions>
2661 </button>
2662
2663 <action>
2664 <touch key="home"/>
2665 <action function="page">main</action>
2666 </action>
2667
2668 <action>
2669 <touch key="back"/>
2670 <action function="page">main</action>
2671 </action>
2672 </page>
2673
2674 <page name="system_readonly">
2675 <template name="page"/>
2676
2677 <text style="text_l">
2678 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002679 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002680 </text>
2681
2682 <text style="text_m_accent">
2683 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <text style="text_m">
2688 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <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 +01002690 </text>
2691
2692 <text style="text_m">
2693 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <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 +01002695 </text>
2696
2697 <text style="text_m_fail">
2698 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 </text>
2701
2702 <checkbox>
2703 <condition var1="tw_is_encrypted" var2="0"/>
2704 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_never_show_system_ro_page"/>
2707 </checkbox>
2708
2709 <button style="main_button_half_width">
2710 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 <actions>
2713 <action function="mountsystemtoggle">1</action>
2714 <action function="set">tw_page_done=1</action>
2715 <action function="page">%tw_back%</action>
2716 </actions>
2717 </button>
2718
z31s1g608d7ff2016-01-18 19:47:25 +01002719 <button style="main_button_half_width">
2720 <placement x="%col2_x_left%" y="%row15a_y%"/>
2721 <text>{@sel_lang_btn=Select Language}</text>
2722 <action function="overlay">select_language</action>
2723 </button>
2724
z31s1g28f0a922015-11-07 18:50:22 +01002725 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002727 <actions>
2728 <action function="mountsystemtoggle">0</action>
2729 <action function="set">tw_page_done=1</action>
2730 <action function="page">%tw_back%</action>
2731 </actions>
2732 </slider>
2733 </page>
2734
2735 <page name="settings">
2736 <template name="page"/>
2737
2738 <text style="text_l">
2739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 </text>
2742
2743 <text style="text_m">
2744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002745 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002746 </text>
2747
2748 <template name="tabs_settings"/>
2749
2750 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002752 </fill>
2753
2754 <listbox style="scrolllist">
2755 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2756 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002758 <data variable="tw_signed_zip_verify"/>
2759 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002760 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2761 <data variable="tw_install_reboot"/>
2762 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002764 <data variable="tw_rm_rf"/>
2765 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002766 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2767 <data variable="tw_disable_free_space"/>
2768 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002769 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002770 <data variable="tw_skip_md5_generate"/>
2771 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002772 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002773 <data variable="tw_skip_md5_check"/>
2774 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002776 <data variable="tw_military_time"/>
2777 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002778 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002779 <data variable="tw_simulate_actions"/>
2780 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002782 <condition var1="tw_simulate_actions" var2="1"/>
2783 <data variable="tw_simulate_fail"/>
2784 </listitem>
2785 </listbox>
2786
2787 <checkbox>
2788 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002790 <data variable="tw_samsung_navbar"/>
2791 </checkbox>
2792
2793 <button style="radiobutton">
2794 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2795 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 <image resource="radio_false"/>
2798 <action function="set">tw_navbar_button_position=0</action>
2799 </button>
2800
2801 <button style="radiobutton">
2802 <condition var1="tw_navbar_button_position" var2="0"/>
2803 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002804 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <image resource="radio_true"/>
2806 <action function="set">tw_navbar_button_position=0</action>
2807 </button>
2808
2809 <button style="radiobutton">
2810 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2811 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <image resource="radio_false"/>
2814 <action function="set">tw_navbar_button_position=1</action>
2815 </button>
2816
2817 <button style="radiobutton">
2818 <condition var1="tw_navbar_button_position" var2="1"/>
2819 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002821 <image resource="radio_true"/>
2822 <action function="set">tw_navbar_button_position=1</action>
2823 </button>
2824
2825 <button style="radiobutton">
2826 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2827 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 <image resource="radio_false"/>
2830 <action function="set">tw_navbar_button_position=2</action>
2831 </button>
2832
2833 <button style="radiobutton">
2834 <condition var1="tw_navbar_button_position" var2="2"/>
2835 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 <image resource="radio_true"/>
2838 <action function="set">tw_navbar_button_position=2</action>
2839 </button>
2840
2841 <button style="main_button_half_width">
2842 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="restoredefaultsettings"/>
2845 </button>
2846
2847 <action>
2848 <touch key="home"/>
2849 <action function="page">main</action>
2850 </action>
2851
2852 <action>
2853 <touch key="back"/>
2854 <action function="page">main</action>
2855 </action>
2856 </page>
2857
2858 <page name="settings_timezone">
2859 <template name="page"/>
2860
2861 <text style="text_l">
2862 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002864 </text>
2865
2866 <text style="text_m">
2867 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <template name="tabs_settings"/>
2872
2873 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </fill>
2876
2877 <listbox>
2878 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2882 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2883 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2884 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2885 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2886 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2887 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2888 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2889 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2890 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2891 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2892 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2893 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2894 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2895 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2896 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2897 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2898 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2899 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2900 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2901 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2902 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2903 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2904 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listbox>
2906
2907 <text style="text_m_accent">
2908 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002910 </text>
2911
2912 <button style="button_quarter_width">
2913 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 <action function="set">tw_time_zone_guioffset=0</action>
2916 </button>
2917
2918 <button style="button_quarter_width">
2919 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="set">tw_time_zone_guioffset=15</action>
2922 </button>
2923
2924 <button style="button_quarter_width">
2925 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 <action function="set">tw_time_zone_guioffset=30</action>
2928 </button>
2929
2930 <button style="button_quarter_width">
2931 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002933 <action function="set">tw_time_zone_guioffset=45</action>
2934 </button>
2935
2936 <checkbox>
2937 <placement x="%col1_x_right%" y="%row7_y%"/>
2938 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <data variable="tw_time_zone_guidst"/>
2941 <image checked="checkbox_true" unchecked="checkbox_false"/>
2942 </checkbox>
2943
2944 <text color="%text_color%">
2945 <font resource="font_m"/>
2946 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 </text>
2949
2950 <button>
2951 <highlight color="%highlight_color%"/>
2952 <placement x="%col2_x_right%" y="%row15a_y%"/>
2953 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="main_button_half_width"/>
2956 <action function="setguitimezone"/>
2957 </button>
2958
2959 <action>
2960 <touch key="home"/>
2961 <action function="page">main</action>
2962 </action>
2963
2964 <action>
2965 <touch key="back"/>
2966 <action function="page">main</action>
2967 </action>
2968 </page>
2969
2970 <page name="settings_screen">
2971 <template name="page"/>
2972
2973 <text style="text_l">
2974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <template name="tabs_settings"/>
2984
2985 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </fill>
2988
2989 <button>
2990 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2991 <font resource="font_m" color="%text_color%"/>
2992 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2993 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <image resource="checkbox_false"/>
2996 <action function="set">tw_screen_timeout_secs=60</action>
2997 </button>
2998
2999 <button>
3000 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3001 <font resource="font_m" color="%text_color%"/>
3002 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3003 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="checkbox_true"/>
3006 <action function="set">tw_screen_timeout_secs=0</action>
3007 </button>
3008
3009 <slidervalue>
3010 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3011 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3012 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <condition var1="tw_has_brightnesss_file" var2="1"/>
3019 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <data variable="tw_brightness_pct" min="10" max="100"/>
3022 <actions>
3023 <action function="set">tw_brightness=%tw_brightness_max%</action>
3024 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3025 <action function="compute">tw_brightness/100</action>
3026 <action function="setbrightness">%tw_brightness%</action>
3027 </actions>
3028 </slidervalue>
3029
3030 <action>
3031 <touch key="home"/>
3032 <action function="page">main</action>
3033 </action>
3034
3035 <action>
3036 <touch key="back"/>
3037 <action function="page">main</action>
3038 </action>
3039 </page>
3040
3041 <page name="settings_vibration">
3042 <template name="page"/>
3043
3044 <text style="text_l">
3045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m">
3050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <template name="tabs_settings"/>
3055
3056 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </fill>
3059
3060 <slidervalue>
3061 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <data variable="tw_button_vibrate" min="0" max="300"/>
3064 </slidervalue>
3065
3066 <slidervalue>
3067 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3070 </slidervalue>
3071
3072 <slidervalue>
3073 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_action_vibrate" min="0" max="500"/>
3076 </slidervalue>
3077
3078 <action>
3079 <touch key="home"/>
3080 <action function="page">main</action>
3081 </action>
3082
3083 <action>
3084 <touch key="back"/>
3085 <action function="page">main</action>
3086 </action>
3087 </page>
3088
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <page name="settings_language">
3090 <template name="page"/>
3091
3092 <text style="text_l">
3093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3094 <text>{@settings_hdr=Settings}</text>
3095 </text>
3096
3097 <text style="text_m">
3098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3099 <text>{@language_hdr=Language - %tw_language_display%}</text>
3100 </text>
3101
3102 <template name="tabs_settings"/>
3103
3104 <fill color="%text_color%">
3105 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3106 </fill>
3107
3108 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003109 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@select_language=Select Language:}</text>
3111 <icon selected="radio_true" unselected="radio_false" />
3112 <data name="tw_language" />
3113 </listbox>
3114
z31s1g56189522016-01-13 19:12:40 +01003115 <button>
3116 <highlight color="%highlight_color%"/>
3117 <placement x="%col2_x_right%" y="%row15a_y%"/>
3118 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003120 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <action function="setlanguage"></action>
3122 </button>
3123
3124 <action>
3125 <touch key="home" />
3126 <action function="page">main</action>
3127 </action>
3128
3129 <action>
3130 <touch key="back" />
3131 <action function="page">settings</action>
3132 </action>
3133 </page>
3134
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003135 <page name="copylog">
3136 <template name="page"/>
3137
3138 <text style="text_l">
3139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3140 <text>{@copying_log=Copy Logs to SD Card}</text>
3141 </text>
3142
3143 <checkbox>
3144 <placement x="%indent%" y="%row4_y%"/>
3145 <text>{@include_kernel_log=Include Kernel Log}</text>
3146 <data variable="tw_include_kernel_log" value="1"/>
3147 </checkbox>
3148
3149 <slider>
3150 <text>{@copying_log=Copy Logs to SD Card}</text>
3151 <actions>
3152 <action function="set">tw_back=advanced</action>
3153 <action function="set">tw_action=copylog</action>
3154 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3155 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3156 <action function="page">action_page</action>
3157 </actions>
3158 </slider>
3159
3160 <action>
3161 <touch key="home"/>
3162 <action function="page">main</action>
3163 </action>
3164
3165 <action>
3166 <touch key="back"/>
3167 <actions>
3168 <action function="page">advanced</action>
3169 </actions>
3170 </action>
3171
3172 </page>
3173
z31s1g28f0a922015-11-07 18:50:22 +01003174 <page name="advanced">
3175 <template name="page"/>
3176
3177 <text style="text_l">
3178 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </text>
3181
3182 <button style="main_button">
3183 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003184 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003185 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003186 </button>
3187
3188 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003189 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003191 <text>{@fix_context_btn=Fix Contexts}</text>
3192 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003193 </button>
3194
3195 <button style="main_button">
3196 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3197 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003199 <actions>
3200 <action function="set">partitionlisterror=0</action>
3201 <action function="page">partsdcardsel</action>
3202 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003203 </button>
3204
3205 <button style="main_button">
3206 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="page">filemanagerlist</action>
3209 </button>
3210
3211 <button style="main_button">
3212 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003214 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </button>
3216
3217 <button style="main_button">
3218 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <action function="reload"/>
3221 </button>
3222
3223 <button style="main_button">
3224 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <action function="page">sideload</action>
3227 </button>
3228
3229 <button style="main_button">
3230 <condition var1="tw_show_dumlock" var2="1"/>
3231 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003233 <action function="page">htcdumlock</action>
3234 </button>
3235
3236 <button style="main_button">
3237 <condition var1="tw_has_injecttwrp" var2="1"/>
3238 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <actions>
3241 <action function="set">tw_back=advanced</action>
3242 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3244 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3245 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3246 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003247 <action function="page">confirm_action</action>
3248 </actions>
3249 </button>
3250
3251 <action>
3252 <touch key="home"/>
3253 <action function="page">main</action>
3254 </action>
3255
3256 <action>
3257 <touch key="back"/>
3258 <action function="page">main</action>
3259 </action>
3260 </page>
3261
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <page name="partsdcardsel">
3263 <template name="page"/>
3264
3265 <text style="text_l">
3266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3267 <text>{@advanced_hdr=Advanced}</text>
3268 </text>
3269
3270 <text style="text_m">
3271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3272 <text>{@part_sd_hdr=Partition SD Card}</text>
3273 </text>
3274
z31s1g782e1c92016-01-30 16:50:09 +01003275 <partitionlist>
3276 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003277 <text>{@sel_storage_list=Select Storage}</text>
3278 <data name="tw_storage_path"/>
3279 <listtype name="storage"/>
3280 </partitionlist>
3281
z31s1g782e1c92016-01-30 16:50:09 +01003282 <text style="text_m_fail">
3283 <condition var1="partitionlisterror" var2="1"/>
3284 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3285 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3286 </text>
3287
3288 <button style="main_button_half_width">
3289 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003290 <text>{@ok_btn=OK}</text>
3291 <actions>
3292 <action function="getpartitiondetails">tw_storage_path</action>
3293 <action function="page">partsdcardcheck</action>
3294 </actions>
3295 </button>
3296
Ethan Yonker483e9f42016-01-11 22:21:18 -06003297 <action>
3298 <touch key="home"/>
3299 <action function="page">main</action>
3300 </action>
3301
3302 <action>
3303 <touch key="back"/>
3304 <action function="page">advanced</action>
3305 </action>
3306 </page>
3307
3308 <page name="partsdcardcheck">
3309 <action>
3310 <condition var1="tw_partition_removable" op="=" var2="1"/>
3311 <actions>
3312 <action function="set">partitionlisterror=0</action>
3313 <action function="page">partsdcard</action>
3314 </actions>
3315 </action>
3316
3317 <action>
3318 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3319 <actions>
3320 <action function="set">partitionlisterror=1</action>
3321 <action function="page">partsdcardsel</action>
3322 </actions>
3323 </action>
3324 </page>
3325
z31s1g28f0a922015-11-07 18:50:22 +01003326 <page name="partsdcard">
3327 <template name="page"/>
3328
3329 <text style="text_l">
3330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </text>
3338
3339 <text style="text_m_fail">
3340 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 </text>
3343
3344 <text style="text_m_fail">
3345 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </text>
3348
3349 <text style="text_m_accent">
3350 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </text>
3353
3354 <text style="text_m">
3355 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3356 <text>%tw_sdext_size%</text>
3357 </text>
3358
3359 <button style="button_quarter_width">
3360 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003362 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 </button>
3364
3365 <button style="button_quarter_width">
3366 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003368 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 </button>
3370
3371 <text style="text_m_accent">
3372 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003374 </text>
3375
3376 <text style="text_m">
3377 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3378 <text>%tw_swap_size%</text>
3379 </text>
3380
3381 <button style="button_quarter_width">
3382 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003384 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 </button>
3386
3387 <button style="button_quarter_width">
3388 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003390 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003391 </button>
3392
3393 <text style="text_m_accent">
3394 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 </text>
3397
3398 <text style="text_m">
3399 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3400 <text>%tw_sdpart_file_system%</text>
3401 </text>
3402
3403 <button style="button_quarter_width">
3404 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3405 <text>EXT3</text>
3406 <action function="set">tw_sdpart_file_system=ext3</action>
3407 </button>
3408
3409 <button style="button_quarter_width">
3410 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3411 <text>EXT4</text>
3412 <action function="set">tw_sdpart_file_system=ext4</action>
3413 </button>
3414
3415 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 <action function="page">partsdcardaction</action>
3418 <actions>
3419 <action function="set">tw_back=partsdcard</action>
3420 <action function="set">tw_action=partitionsd</action>
3421 <action function="set">tw_has_action2=1</action>
3422 <action function="set">tw_action2=set</action>
3423 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3425 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3426 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003427 <action function="page">action_page</action>
3428 </actions>
3429 </slider>
3430
3431 <action>
3432 <touch key="home"/>
3433 <action function="page">main</action>
3434 </action>
3435
3436 <action>
3437 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003438 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </action>
3440 </page>
3441
3442 <page name="htcdumlock">
3443 <template name="page"/>
3444
3445 <text style="text_l">
3446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <text style="text_m">
3451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <button style="main_button_m">
3456 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 <actions>
3459 <action function="set">tw_back=htcdumlock</action>
3460 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3462 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3463 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3464 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003465 <action function="page">confirm_action</action>
3466 </actions>
3467 </button>
3468
3469 <button style="main_button_m">
3470 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003472 <actions>
3473 <action function="set">tw_back=htcdumlock</action>
3474 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3476 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3477 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3478 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003479 <action function="page">confirm_action</action>
3480 </actions>
3481 </button>
3482
3483 <button style="main_button_m">
3484 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 <actions>
3487 <action function="set">tw_back=htcdumlock</action>
3488 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3490 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3491 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3492 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <action function="page">confirm_action</action>
3494 </actions>
3495 </button>
3496
3497 <action>
3498 <touch key="home"/>
3499 <action function="page">main</action>
3500 </action>
3501
3502 <action>
3503 <touch key="back"/>
3504 <action function="page">advanced</action>
3505 </action>
3506 </page>
3507
3508 <page name="lock">
3509 <background color="%semi_transparent%"/>
3510
3511 <image>
3512 <image resource="unlock_icon"/>
3513 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3514 </image>
3515
3516 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <action function="overlay"/>
3519 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003520
3521 <action>
3522 <touch key="power"/>
3523 <action function="togglebacklight"/>
3524 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003525 </page>
3526
3527 <page name="filemanagerlist">
3528 <template name="page"/>
3529
3530 <text style="text_l">
3531 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003533 </text>
3534
3535 <text style="text_m">
3536 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 </text>
3539
3540 <template name="sort_options"/>
3541
3542 <fileselector>
3543 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3544 <text>%tw_file_location1%</text>
3545 <filter folders="1" files="1"/>
3546 <path name="tw_file_location1" default="/"/>
3547 <data name="tw_filename1"/>
3548 <selection name="tw_selection1"/>
3549 </fileselector>
3550
3551 <button style="main_button_half_width_low">
3552 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003553 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003554 <actions>
3555 <action function="set">tw_filename1=tw_file_location1</action>
3556 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <action function="page">filemanageroptions</action>
3559 </actions>
3560 </button>
3561
3562 <action>
3563 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <action function="set">tw_fm_isfolder=0</action>
3566 </actions>
3567 </action>
3568
3569 <action>
3570 <touch key="home"/>
3571 <action function="page">main</action>
3572 </action>
3573
3574 <action>
3575 <touch key="back"/>
3576 <action function="page">advanced</action>
3577 </action>
3578
3579 <action>
3580 <condition var1="tw_filename1" op="modified"/>
3581 <action function="page">filemanageroptions</action>
3582 </action>
3583 </page>
3584
3585 <page name="filemanageroptions">
3586 <template name="page"/>
3587
3588 <text style="text_l">
3589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </text>
3592
3593 <text style="text_m">
3594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </text>
3597
3598 <text style="text_m_accent">
3599 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%col1_x_left%" y="%row3_y%"/>
3605 <text>%tw_filename1%</text>
3606 </text>
3607
3608 <button style="main_button_half_width">
3609 <condition var1="tw_fm_isfolder" var2="0"/>
3610 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <actions>
3613 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <action function="page">choosedestinationfolder</action>
3616 </actions>
3617 </button>
3618
3619 <button style="main_button_half_width">
3620 <condition var1="tw_fm_isfolder" var2="1"/>
3621 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003623 <actions>
3624 <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 -05003625 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003626 <action function="page">choosedestinationfolder</action>
3627 </actions>
3628 </button>
3629
3630 <button style="main_button_half_width">
3631 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003633 <actions>
3634 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <action function="page">choosedestinationfolder</action>
3637 </actions>
3638 </button>
3639
3640 <button style="main_button_half_width">
3641 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <actions>
3644 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <action function="set">tw_fm_text2=</action>
3647 <action function="set">tw_fm_text3=</action>
3648 <action function="set">tw_include_text3=0</action>
3649 <action function="set">tw_back=filemanageroptions</action>
3650 <action function="page">filemanagerconfirm</action>
3651 </actions>
3652 </button>
3653
3654 <button style="main_button_half_width">
3655 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 <actions>
3658 <action function="set">tw_filemanager_rename=0000</action>
3659 <action function="set">tw_fm_text2=</action>
3660 <action function="set">tw_fm_text3=</action>
3661 <action function="set">tw_include_text3=0</action>
3662 <action function="set">tw_back=filemanageroptions</action>
3663 <action function="page">filemanagerchmod</action>
3664 </actions>
3665 </button>
3666
3667 <button style="main_button_half_width">
3668 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 <actions>
3671 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="set">tw_fm_text2=</action>
3674 <action function="set">tw_fm_text3=</action>
3675 <action function="set">tw_include_text3=0</action>
3676 <action function="set">tw_back=filemanageroptions</action>
3677 <action function="page">filemanagerconfirm</action>
3678 </actions>
3679 </button>
3680
3681 <button style="main_button_half_width">
3682 <condition var1="tw_fm_isfolder" var2="0"/>
3683 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <actions>
3686 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003688 <action function="set">tw_filemanager_command=mv</action>
3689 <action function="page">filemanagerrenamefile</action>
3690 </actions>
3691 </button>
3692
3693 <button style="main_button_half_width">
3694 <condition var1="tw_fm_isfolder" var2="1"/>
3695 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 <actions>
3698 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003700 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3701 <action function="page">filemanagerrenamefolder</action>
3702 </actions>
3703 </button>
3704
3705 <action>
3706 <touch key="home"/>
3707 <action function="page">main</action>
3708 </action>
3709
3710 <action>
3711 <touch key="back"/>
3712 <action function="page">filemanagerlist</action>
3713 </action>
3714 </page>
3715
3716 <page name="choosedestinationfolder">
3717 <template name="page"/>
3718
3719 <text style="text_l">
3720 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003722 </text>
3723
3724 <text style="text_m">
3725 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 </text>
3728
3729 <template name="sort_options"/>
3730
3731 <fileselector>
3732 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3733 <text>%tw_file_location2%</text>
3734 <filter folders="1" files="0"/>
3735 <path name="tw_file_location2" default="/"/>
3736 <data name="tw_filename2"/>
3737 <selection name="tw_selection2"/>
3738 </fileselector>
3739
3740 <button style="main_button_half_width_low">
3741 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003743 <actions>
3744 <action function="set">tw_fm_text2=to</action>
3745 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3746 <action function="set">tw_include_text3=1</action>
3747 <action function="set">tw_back=filemanageroptions</action>
3748 <action function="page">filemanagerconfirm</action>
3749 </actions>
3750 </button>
3751
3752 <action>
3753 <touch key="home"/>
3754 <action function="page">main</action>
3755 </action>
3756
3757 <action>
3758 <touch key="back"/>
3759 <action function="page">filemanageroptions</action>
3760 </action>
3761 </page>
3762
3763 <page name="filemanagerrenamefile">
3764 <template name="page"/>
3765
3766 <text style="text_l">
3767 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </text>
3770
3771 <text style="text_m">
3772 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 </text>
3775
3776 <text style="text_m_accent">
3777 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 </text>
3780
3781 <input>
3782 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3783 <text>%tw_filemanager_rename%</text>
3784 <data name="tw_filemanager_rename"/>
3785 <restrict minlen="1" maxlen="128"/>
3786 <actions>
3787 <action function="set">tw_fm_text2=to</action>
3788 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3789 <action function="set">tw_include_text3=1</action>
3790 <action function="set">tw_back=filemanageroptions</action>
3791 <action function="page">filemanagerconfirm</action>
3792 </actions>
3793 </input>
3794
3795 <fill color="%accent_color%">
3796 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3797 </fill>
3798
3799 <button style="main_button_half_width_low">
3800 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <action function="page">filemanageroptions</action>
3803 </button>
3804
3805 <template name="keyboardtemplate"/>
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">filemanageroptions</action>
3815 </action>
3816 </page>
3817
3818 <page name="filemanagerrenamefolder">
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_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003829 </text>
3830
3831 <text style="text_m_accent">
3832 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003834 </text>
3835
3836 <input>
3837 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3838 <text>%tw_filemanager_rename%</text>
3839 <data name="tw_filemanager_rename"/>
3840 <restrict minlen="1" maxlen="128"/>
3841 <actions>
3842 <action function="set">tw_fm_text2=to</action>
3843 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3844 <action function="set">tw_include_text3=1</action>
3845 <action function="set">tw_back=filemanageroptions</action>
3846 <action function="page">filemanagerconfirm</action>
3847 </actions>
3848 </input>
3849
3850 <fill color="%accent_color%">
3851 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3852 </fill>
3853
3854 <button style="main_button_half_width_low">
3855 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 <action function="page">filemanageroptions</action>
3858 </button>
3859
3860 <template name="keyboardtemplate"/>
3861
3862 <action>
3863 <touch key="home"/>
3864 <action function="page">main</action>
3865 </action>
3866
3867 <action>
3868 <touch key="back"/>
3869 <action function="page">filemanageroptions</action>
3870 </action>
3871 </page>
3872
3873 <page name="filemanagerchmod">
3874 <template name="page"/>
3875
3876 <text style="text_l">
3877 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 </text>
3880
3881 <text style="text_m">
3882 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 </text>
3885
3886 <text style="text_m_accent">
3887 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 </text>
3890
3891 <input>
3892 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3893 <text>%tw_filemanager_rename%</text>
3894 <data name="tw_filemanager_rename"/>
3895 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3896 <actions>
3897 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3898 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3899 <action function="set">tw_back=filemanageroptions</action>
3900 <action function="page">filemanagerconfirm</action>
3901 </actions>
3902 </input>
3903
3904 <fill color="%accent_color%">
3905 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3906 </fill>
3907
3908 <button style="main_button_half_width_low">
3909 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 <action function="page">filemanageroptions</action>
3912 </button>
3913
3914 <template name="keyboardtemplate"/>
3915
3916 <action>
3917 <touch key="home"/>
3918 <action function="page">main</action>
3919 </action>
3920
3921 <action>
3922 <touch key="back"/>
3923 <action function="page">filemanageroptions</action>
3924 </action>
3925 </page>
3926
3927 <page name="filemanagerconfirm">
3928 <template name="page"/>
3929
3930 <text style="text_l">
3931 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 </text>
3934
3935 <text style="text_m">
3936 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <text style="text_m_accent">
3941 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3942 <text>%tw_fm_text1%</text>
3943 </text>
3944
3945 <text style="text_m">
3946 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3947 <text>%tw_filename1%</text>
3948 </text>
3949
3950 <text style="text_m_accent">
3951 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3952 <text>%tw_fm_text2%</text>
3953 </text>
3954
3955 <text style="text_m">
3956 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3957 <text>%tw_fm_text3%</text>
3958 </text>
3959
3960 <text style="text_m">
3961 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 </text>
3964
3965 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003967 <action function="page">filemanageraction</action>
3968 </slider>
3969
3970 <action>
3971 <touch key="back"/>
3972 <action function="page">%tw_back%</action>
3973 </action>
3974
3975 <action>
3976 <touch key="home"/>
3977 <action function="page">main</action>
3978 </action>
3979 </page>
3980
3981 <page name="filemanageraction">
3982 <template name="page"/>
3983
3984 <text style="text_l">
3985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m">
3990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3991 <text>%tw_fm_text1%</text>
3992 </text>
3993
3994 <template name="console"/>
3995
3996 <template name="progress_bar"/>
3997
3998 <action>
3999 <conditions>
4000 <condition var1="tw_operation_state" var2="1"/>
4001 <condition var1="tw_operation_status" var2="0"/>
4002 </conditions>
4003 <actions>
4004 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004006 <action function="page">action_complete</action>
4007 </actions>
4008 </action>
4009
4010 <action>
4011 <conditions>
4012 <condition var1="tw_operation_state" var2="1"/>
4013 <condition var1="tw_operation_status" op="!=" var2="0"/>
4014 </conditions>
4015 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004017 <action function="page">action_complete</action>
4018 </actions>
4019 </action>
4020
4021 <action>
4022 <condition var1="tw_include_text3" var2="0"/>
4023 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4024 </action>
4025
4026 <action>
4027 <condition var1="tw_include_text3" var2="1"/>
4028 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4029 </action>
4030 </page>
4031
4032 <page name="decrypt">
4033 <template name="page"/>
4034
4035 <action>
4036 <condition var1="tw_crypto_pwtype" var2="2"/>
4037 <action function="page">decrypt_pattern</action>
4038 </action>
4039
4040 <text style="text_l">
4041 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004042 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004043 </text>
4044
4045 <text style="text_m">
4046 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </text>
4049
4050 <text style="text_m_accent">
4051 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004053 </text>
4054
4055 <input>
4056 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4057 <text>%tw_crypto_display%</text>
4058 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4059 <restrict minlen="1" maxlen="254"/>
4060 <action function="page">trydecrypt</action>
4061 </input>
4062
4063 <fill color="%accent_color%">
4064 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4065 </fill>
4066
4067 <fill color="%text_fail_color%">
4068 <condition var1="tw_password_fail" var2="1"/>
4069 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4070 </fill>
4071
4072 <text style="text_m_fail">
4073 <condition var1="tw_password_fail" var2="1"/>
4074 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004075 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 </text>
4077
4078 <button style="main_button_half_width_low">
4079 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 <actions>
4082 <action function="set">tw_page_done=1</action>
4083 <action function="page">main</action>
4084 </actions>
4085 </button>
4086
z31s1g608d7ff2016-01-18 19:47:25 +01004087 <button style="main_button_half_width_low">
4088 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4089 <text>{@sel_lang_btn=Select Language}</text>
4090 <action function="overlay">select_language</action>
4091 </button>
4092
z31s1g28f0a922015-11-07 18:50:22 +01004093 <template name="keyboardtemplate"/>
4094 </page>
4095
4096 <page name="decrypt_pattern">
4097 <template name="page"/>
4098
4099 <text style="text_l">
4100 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <text style="text_m">
4105 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 </text>
4108
4109 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004110 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004112 </text>
4113
Aleksa Saraib25a1832015-12-31 17:36:00 +01004114 <text style="text_m_fail">
4115 <condition var1="tw_password_fail" var2="1"/>
4116 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004117 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004118 </text>
4119
z31s1g28f0a922015-11-07 18:50:22 +01004120 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004121 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004122 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4123 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4124 <data name="tw_crypto_password"/>
4125 <action function="page">trydecrypt</action>
4126 </patternpassword>
4127
Aleksa Saraib25a1832015-12-31 17:36:00 +01004128 <button style="main_button_half_width_low">
4129 <placement x="%col_button_right%" y="%row1a_y%"/>
4130 <text>3x3</text>
4131 <action function="set">tw_gui_pattern_grid_size=3</action>
4132 </button>
4133
4134 <button style="main_button_half_width_low">
4135 <placement x="%col_button_right%" y="%row4a_y%"/>
4136 <text>4x4</text>
4137 <action function="set">tw_gui_pattern_grid_size=4</action>
4138 </button>
4139
4140 <button style="main_button_half_width_low">
4141 <placement x="%col_button_right%" y="%row7a_y%"/>
4142 <text>5x5</text>
4143 <action function="set">tw_gui_pattern_grid_size=5</action>
4144 </button>
4145
4146 <button style="main_button_half_width_low">
4147 <placement x="%col_button_right%" y="%row10a_y%"/>
4148 <text>6x6</text>
4149 <action function="set">tw_gui_pattern_grid_size=6</action>
4150 </button>
4151
z31s1g28f0a922015-11-07 18:50:22 +01004152 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004153 <placement x="%col1_x_right%" y="%row15a_y%"/>
4154 <text>{@sel_lang_btn=Select Language}</text>
4155 <action function="overlay">select_language</action>
4156 </button>
4157
4158 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004159 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004160 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004161 <actions>
4162 <action function="set">tw_page_done=1</action>
4163 <action function="page">main</action>
4164 </actions>
4165 </button>
4166 </page>
4167
4168 <page name="trydecrypt">
4169 <template name="page"/>
4170
4171 <text style="text_l">
4172 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
4176 <text style="text_m">
4177 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004178 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 </text>
4180
4181 <template name="console"/>
4182
4183 <template name="progress_bar"/>
4184
4185 <action>
4186 <action function="decrypt"/>
4187 </action>
4188
4189 <action>
4190 <conditions>
4191 <condition var1="tw_operation_state" var2="1"/>
4192 <condition var1="tw_operation_status" op="!=" var2="0"/>
4193 </conditions>
4194 <actions>
4195 <action function="set">tw_password_fail=1</action>
4196 <action function="page">decrypt</action>
4197 </actions>
4198 </action>
4199
4200 <action>
4201 <conditions>
4202 <condition var1="tw_operation_state" var2="1"/>
4203 <condition var1="tw_operation_status" op="=" var2="0"/>
4204 </conditions>
4205 <actions>
4206 <action function="set">tw_page_done=1</action>
4207 <action function="page">main</action>
4208 </actions>
4209 </action>
4210 </page>
4211
z31s1g28f0a922015-11-07 18:50:22 +01004212 <page name="terminalcommand">
4213 <template name="page"/>
4214
4215 <fill color="%background_color%">
4216 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4217 </fill>
4218
z31s1g56189522016-01-13 19:12:40 +01004219 <terminal>
4220 <condition var1="tw_hide_kb" var2="0"/>
4221 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4222 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004223
z31s1g56189522016-01-13 19:12:40 +01004224 <terminal>
4225 <condition var1="tw_hide_kb" var2="1"/>
4226 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4227 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004228
z31s1g56189522016-01-13 19:12:40 +01004229 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004230
z31s1g56189522016-01-13 19:12:40 +01004231 <object type="fill" color="#000000">
4232 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4233 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004234
z31s1g608d7ff2016-01-18 19:47:25 +01004235 <button>
z31s1g56189522016-01-13 19:12:40 +01004236 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4237 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4238 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4239 <image resource="back" />
4240 <condition var1="tw_busy" var2="0" />
4241 <actions>
4242 <action function="set">tw_hide_kb=0</action>
4243 <action function="page">advanced</action>
4244 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004245 </button>
z31s1g56189522016-01-13 19:12:40 +01004246
z31s1g608d7ff2016-01-18 19:47:25 +01004247 <button>
z31s1g56189522016-01-13 19:12:40 +01004248 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4249 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4250 <condition var1="tw_hide_kb" op="=" var2="0" />
4251 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4252 <image resource="kb_hide" />
4253 <condition var1="tw_busy" var2="0" />
4254 <actions>
4255 <action function="set">tw_hide_kb=1</action>
4256 <action function="page">terminalcommand</action>
4257 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004258 </button>
z31s1g56189522016-01-13 19:12:40 +01004259
z31s1g608d7ff2016-01-18 19:47:25 +01004260 <button>
z31s1g56189522016-01-13 19:12:40 +01004261 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4262 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4263 <condition var1="tw_hide_kb" op="=" var2="1" />
4264 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4265 <image resource="kb_show" />
4266 <condition var1="tw_busy" var2="0" />
4267 <actions>
4268 <action function="set">tw_hide_kb=0</action>
4269 <action function="page">terminalcommand</action>
4270 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004271 </button>
z31s1g56189522016-01-13 19:12:40 +01004272
z31s1g608d7ff2016-01-18 19:47:25 +01004273 <button>
z31s1g56189522016-01-13 19:12:40 +01004274 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4275 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4276 <image resource="home" />
4277 <condition var1="tw_busy" var2="0" />
4278 <actions>
4279 <action function="set">tw_hide_kb=0</action>
4280 <action function="key">home</action>
4281 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004282 </button>
z31s1g56189522016-01-13 19:12:40 +01004283
z31s1g608d7ff2016-01-18 19:47:25 +01004284 <button>
z31s1g56189522016-01-13 19:12:40 +01004285 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4286 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4287 <condition var1="tw_hide_kb" op="=" var2="0" />
4288 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4289 <image resource="kb_hide" />
4290 <condition var1="tw_busy" var2="0" />
4291 <actions>
4292 <action function="set">tw_hide_kb=1</action>
4293 <action function="page">terminalcommand</action>
4294 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004295 </button>
z31s1g56189522016-01-13 19:12:40 +01004296
z31s1g608d7ff2016-01-18 19:47:25 +01004297 <button>
z31s1g56189522016-01-13 19:12:40 +01004298 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4299 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4300 <condition var1="tw_hide_kb" op="=" var2="1" />
4301 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4302 <image resource="kb_show" />
4303 <condition var1="tw_busy" var2="0" />
4304 <actions>
4305 <action function="set">tw_hide_kb=0</action>
4306 <action function="page">terminalcommand</action>
4307 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004308 </button>
z31s1g56189522016-01-13 19:12:40 +01004309
z31s1g608d7ff2016-01-18 19:47:25 +01004310 <button>
z31s1g56189522016-01-13 19:12:40 +01004311 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4312 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4313 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4314 <image resource="back" />
4315 <condition var1="tw_busy" var2="0" />
4316 <actions>
4317 <action function="set">tw_hide_kb=0</action>
4318 <action function="page">advanced</action>
4319 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004320 </button>
z31s1g56189522016-01-13 19:12:40 +01004321
z31s1g608d7ff2016-01-18 19:47:25 +01004322 <button>
z31s1g56189522016-01-13 19:12:40 +01004323 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4324 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4325 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4326 <image resource="back" />
4327 <condition var1="tw_busy" var2="0" />
4328 <actions>
4329 <action function="set">tw_hide_kb=0</action>
4330 <action function="page">advanced</action>
4331 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004332 </button>
z31s1g56189522016-01-13 19:12:40 +01004333
z31s1g608d7ff2016-01-18 19:47:25 +01004334 <button>
z31s1g56189522016-01-13 19:12:40 +01004335 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4336 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4337 <condition var1="tw_hide_kb" op="=" var2="0" />
4338 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4339 <image resource="kb_hide" />
4340 <condition var1="tw_busy" var2="0" />
4341 <actions>
4342 <action function="set">tw_hide_kb=1</action>
4343 <action function="page">terminalcommand</action>
4344 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004345 </button>
z31s1g56189522016-01-13 19:12:40 +01004346
z31s1g608d7ff2016-01-18 19:47:25 +01004347 <button>
z31s1g56189522016-01-13 19:12:40 +01004348 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4349 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4350 <condition var1="tw_hide_kb" op="=" var2="1" />
4351 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4352 <image resource="kb_show" />
4353 <condition var1="tw_busy" var2="0" />
4354 <actions>
4355 <action function="set">tw_hide_kb=0</action>
4356 <action function="page">terminalcommand</action>
4357 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004358 </button>
z31s1g56189522016-01-13 19:12:40 +01004359
z31s1g608d7ff2016-01-18 19:47:25 +01004360 <button>
z31s1g56189522016-01-13 19:12:40 +01004361 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4362 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4363 <image resource="home" />
4364 <condition var1="tw_busy" var2="0" />
4365 <actions>
4366 <action function="set">tw_hide_kb=0</action>
4367 <action function="key">home</action>
4368 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004369 </button>
z31s1g56189522016-01-13 19:12:40 +01004370
z31s1g608d7ff2016-01-18 19:47:25 +01004371 <button>
z31s1g56189522016-01-13 19:12:40 +01004372 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4373 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4374 <condition var1="tw_hide_kb" op="=" var2="0" />
4375 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4376 <image resource="kb_hide" />
4377 <condition var1="tw_busy" var2="0" />
4378 <actions>
4379 <action function="set">tw_hide_kb=1</action>
4380 <action function="page">terminalcommand</action>
4381 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004382 </button>
z31s1g56189522016-01-13 19:12:40 +01004383
z31s1g608d7ff2016-01-18 19:47:25 +01004384 <button>
z31s1g56189522016-01-13 19:12:40 +01004385 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4386 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4387 <condition var1="tw_hide_kb" op="=" var2="1" />
4388 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4389 <image resource="kb_show" />
4390 <condition var1="tw_busy" var2="0" />
4391 <actions>
4392 <action function="set">tw_hide_kb=0</action>
4393 <action function="page">terminalcommand</action>
4394 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004395 </button>
z31s1g56189522016-01-13 19:12:40 +01004396
z31s1g608d7ff2016-01-18 19:47:25 +01004397 <button>
z31s1g56189522016-01-13 19:12:40 +01004398 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4399 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4400 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4401 <image resource="back" />
4402 <condition var1="tw_busy" var2="0" />
4403 <actions>
4404 <action function="set">tw_hide_kb=0</action>
4405 <action function="page">advanced</action>
4406 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004407 </button>
z31s1g56189522016-01-13 19:12:40 +01004408
z31s1g608d7ff2016-01-18 19:47:25 +01004409 <button>
z31s1g56189522016-01-13 19:12:40 +01004410 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4411 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4412 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4413 <image resource="back" />
4414 <condition var1="tw_busy" var2="0" />
4415 <actions>
4416 <action function="set">tw_hide_kb=0</action>
4417 <action function="page">advanced</action>
4418 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004419 </button>
z31s1g56189522016-01-13 19:12:40 +01004420
z31s1g608d7ff2016-01-18 19:47:25 +01004421 <button>
z31s1g56189522016-01-13 19:12:40 +01004422 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4423 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4424 <condition var1="tw_hide_kb" op="=" var2="0" />
4425 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4426 <image resource="kb_hide" />
4427 <condition var1="tw_busy" var2="0" />
4428 <actions>
4429 <action function="set">tw_hide_kb=1</action>
4430 <action function="page">terminalcommand</action>
4431 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004432 </button>
z31s1g56189522016-01-13 19:12:40 +01004433
z31s1g608d7ff2016-01-18 19:47:25 +01004434 <button>
z31s1g56189522016-01-13 19:12:40 +01004435 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4436 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4437 <condition var1="tw_hide_kb" op="=" var2="1" />
4438 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4439 <image resource="kb_show" />
4440 <condition var1="tw_busy" var2="0" />
4441 <actions>
4442 <action function="set">tw_hide_kb=0</action>
4443 <action function="page">terminalcommand</action>
4444 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004445 </button>
z31s1g56189522016-01-13 19:12:40 +01004446
z31s1g608d7ff2016-01-18 19:47:25 +01004447 <button>
z31s1g56189522016-01-13 19:12:40 +01004448 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4449 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4450 <image resource="home" />
4451 <condition var1="tw_busy" var2="0" />
4452 <actions>
4453 <action function="set">tw_hide_kb=0</action>
4454 <action function="key">home</action>
4455 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004456 </button>
z31s1g56189522016-01-13 19:12:40 +01004457
z31s1g608d7ff2016-01-18 19:47:25 +01004458 <button>
z31s1g56189522016-01-13 19:12:40 +01004459 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4460 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4461 <condition var1="tw_hide_kb" op="=" var2="0" />
4462 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4463 <image resource="kb_hide" />
4464 <condition var1="tw_busy" var2="0" />
4465 <actions>
4466 <action function="set">tw_hide_kb=1</action>
4467 <action function="page">terminalcommand</action>
4468 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004469 </button>
z31s1g56189522016-01-13 19:12:40 +01004470
z31s1g608d7ff2016-01-18 19:47:25 +01004471 <button>
z31s1g56189522016-01-13 19:12:40 +01004472 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4473 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4474 <condition var1="tw_hide_kb" op="=" var2="1" />
4475 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4476 <image resource="kb_show" />
4477 <condition var1="tw_busy" var2="0" />
4478 <actions>
4479 <action function="set">tw_hide_kb=0</action>
4480 <action function="page">terminalcommand</action>
4481 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004482 </button>
z31s1g56189522016-01-13 19:12:40 +01004483
z31s1g608d7ff2016-01-18 19:47:25 +01004484 <button>
z31s1g56189522016-01-13 19:12:40 +01004485 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4486 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4487 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4488 <image resource="back" />
4489 <condition var1="tw_busy" var2="0" />
4490 <actions>
4491 <action function="set">tw_hide_kb=0</action>
4492 <action function="page">advanced</action>
4493 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004494 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004495
4496 <action>
4497 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004498 <actions>
4499 <action function="page">main</action>
4500 <action function="set">tw_hide_kb=0</action>
4501 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </action>
4503
4504 <action>
4505 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004506 <actions>
4507 <action function="page">advanced</action>
4508 <action function="set">tw_hide_kb=0</action>
4509 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </action>
z31s1g56189522016-01-13 19:12:40 +01004511
4512 <object type="action">
4513 <touch key="power+voldown" />
4514 <action function="screenshot" />
4515 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004516 </page>
4517
4518 <page name="sideload">
4519 <template name="page"/>
4520
4521 <text style="text_l">
4522 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004524 </text>
4525
4526 <text style="text_m">
4527 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 </text>
4530
4531 <checkbox>
4532 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 <data variable="tw_wipe_dalvik"/>
4535 </checkbox>
4536
4537 <checkbox>
4538 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <data variable="tw_wipe_cache"/>
4541 </checkbox>
4542
4543 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004544 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004545 <actions>
4546 <action function="set">tw_back=advanced</action>
4547 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4549 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4550 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004551 <action function="set">tw_has_cancel=1</action>
4552 <action function="set">tw_show_reboot=1</action>
4553 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4554 <action function="page">action_page</action>
4555 </actions>
4556 </slider>
4557
4558 <action>
4559 <touch key="home"/>
4560 <action function="page">main</action>
4561 </action>
4562
4563 <action>
4564 <touch key="back"/>
4565 <action function="page">advanced</action>
4566 </action>
4567 </page>
4568
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004569 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004570 <template name="page"/>
4571
4572 <text style="text_l">
4573 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 </text>
4576
4577 <text style="text_m">
4578 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004579 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004580 </text>
4581
4582 <text style="text_m_accent">
4583 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004584 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004585 </text>
4586
z31s1g28f0a922015-11-07 18:50:22 +01004587 <text style="text_m_fail">
4588 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004589 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004590 </text>
4591
4592 <text style="text_m_fail">
4593 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004594 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004595 </text>
4596
4597 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004598 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 <actions>
4600 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004601 <action function="set">tw_action=fixcontexts</action>
4602 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4603 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004605 <action function="set">tw_show_reboot=1</action>
4606 <action function="page">action_page</action>
4607 </actions>
4608 </slider>
4609
4610 <action>
4611 <touch key="home"/>
4612 <action function="page">main</action>
4613 </action>
4614
4615 <action>
4616 <touch key="back"/>
4617 <action function="page">advanced</action>
4618 </action>
4619 </page>
4620
4621 <page name="installsu">
4622 <template name="page"/>
4623
4624 <text style="text_l">
4625 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004626 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004627 </text>
4628
4629 <text style="text_m">
4630 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <text style="text_m_accent">
4635 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004637 </text>
4638
4639 <text style="text_m">
4640 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 </text>
4643
4644 <text style="text_m">
4645 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 </text>
4648
4649 <button style="main_button_half_width">
4650 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <action function="set">tw_page_done=1</action>
4653 </button>
4654
4655 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004656 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004657 <actions>
4658 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004659 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004660 <action function="set">tw_action_text2=</action>
4661 <action function="page">singleaction_page</action>
4662 </actions>
4663 </slider>
4664 </page>
4665
4666 <page name="slideout">
4667 <fill color="%background_color%">
4668 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4669 </fill>
4670
4671 <console>
4672 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4673 </console>
4674
4675 <button>
4676 <fill color="%transparent%"/>
4677 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4678 <action function="overlay"/>
4679 </button>
4680
4681 <action>
4682 <touch key="power+voldown"/>
4683 <action function="screenshot"/>
4684 </action>
4685 </page>
4686
4687 <page name="select_storage">
4688 <fill color="%semi_transparent%">
4689 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4690 </fill>
4691
4692 <fill color="%background_color%">
4693 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4694 </fill>
4695
4696 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004697 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 <data name="tw_storage_path"/>
4699 <listtype name="storage"/>
4700 </partitionlist>
4701
4702 <button style="button_third_width">
4703 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004704 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004705 <actions>
4706 <action function="set">tw_clear_destination=%tw_back%</action>
4707 <action function="overlay"/>
4708 <action function="page">clear_vars</action>
4709 </actions>
4710 </button>
4711
4712 <fill color="#000000">
4713 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4714 </fill>
4715
4716 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004717 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4718 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4719 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4720 <image resource="back" />
4721 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004722 <actions>
4723 <action function="overlay"/>
4724 <action function="key">%tw_back%</action>
4725 </actions>
4726 </button>
4727
4728 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004729 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4730 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4731 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4732 <image resource="console" />
4733 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004734 <action function="overlay">slideout</action>
4735 </button>
4736
4737 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004738 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4739 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4740 <image resource="home" />
4741 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004742 <actions>
4743 <action function="overlay"/>
4744 <action function="key">home</action>
4745 </actions>
4746 </button>
4747
4748 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004749 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4750 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4751 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4752 <image resource="console" />
4753 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004754 <action function="overlay">slideout</action>
4755 </button>
4756
4757 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004758 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4759 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4760 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4761 <image resource="back" />
4762 <condition var1="tw_busy" var2="0" />
4763 <actions>
4764 <action function="overlay"/>
4765 <action function="key">%tw_back%</action>
4766 </actions>
4767 </button>
4768
4769 <button>
4770 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4771 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4772 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4773 <image resource="back" />
4774 <condition var1="tw_busy" var2="0" />
4775 <actions>
4776 <action function="overlay"/>
4777 <action function="key">%tw_back%</action>
4778 </actions>
4779 </button>
4780
4781 <button>
4782 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4783 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4784 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4785 <image resource="console" />
4786 <condition var1="tw_busy" var2="0" />
4787 <action function="overlay">slideout</action>
4788 </button>
4789
4790 <button>
4791 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4792 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4793 <image resource="home" />
4794 <condition var1="tw_busy" var2="0" />
4795 <actions>
4796 <action function="overlay"/>
4797 <action function="key">home</action>
4798 </actions>
4799 </button>
4800
4801 <button>
4802 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4803 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4804 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4805 <image resource="console" />
4806 <condition var1="tw_busy" var2="0" />
4807 <action function="overlay">slideout</action>
4808 </button>
4809
4810 <button>
4811 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4812 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4813 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4814 <image resource="back" />
4815 <condition var1="tw_busy" var2="0" />
4816 <actions>
4817 <action function="overlay"/>
4818 <action function="key">%tw_back%</action>
4819 </actions>
4820 </button>
4821
4822 <button>
4823 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4824 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4825 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4826 <image resource="back" />
4827 <condition var1="tw_busy" var2="0" />
4828 <actions>
4829 <action function="overlay"/>
4830 <action function="key">%tw_back%</action>
4831 </actions>
4832 </button>
4833
4834 <button>
4835 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4836 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4837 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4838 <image resource="console" />
4839 <condition var1="tw_busy" var2="0" />
4840 <action function="overlay">slideout</action>
4841 </button>
4842
4843 <button>
4844 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4845 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4846 <image resource="home" />
4847 <condition var1="tw_busy" var2="0" />
4848 <actions>
4849 <action function="overlay"/>
4850 <action function="key">home</action>
4851 </actions>
4852 </button>
4853
4854 <button>
4855 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4856 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4857 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4858 <image resource="console" />
4859 <condition var1="tw_busy" var2="0" />
4860 <action function="overlay">slideout</action>
4861 </button>
4862
4863 <button>
4864 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4865 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4866 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4867 <image resource="back" />
4868 <condition var1="tw_busy" var2="0" />
4869 <actions>
4870 <action function="overlay"/>
4871 <action function="key">%tw_back%</action>
4872 </actions>
4873 </button>
4874
4875 <action>
4876 <touch key="power+voldown"/>
4877 <action function="screenshot"/>
4878 </action>
4879 </page>
4880
4881 <page name="select_language">
4882 <fill color="%semi_transparent%">
4883 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4884 </fill>
4885
4886 <fill color="%background_color%">
4887 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4888 </fill>
4889
4890 <listbox>
4891 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4892 <text>{@select_language=Select Language:}</text>
4893 <icon selected="radio_true" unselected="radio_false" />
4894 <data name="tw_language" />
4895 </listbox>
4896
4897 <button style="button_third_width">
4898 <placement x="%dialog_button_x%" y="%row13_y%"/>
4899 <text>{@ok_btn=OK}</text>
4900 <actions>
4901 <action function="overlay"/>
4902 <action function="setlanguage"></action>
4903 </actions>
4904 </button>
4905
4906 <fill color="#000000">
4907 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4908 </fill>
4909
4910 <button>
4911 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4912 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4913 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4914 <image resource="back" />
4915 <condition var1="tw_busy" var2="0" />
4916 <actions>
4917 <action function="overlay"/>
4918 <action function="key">%tw_back%</action>
4919 </actions>
4920 </button>
4921
4922 <button>
4923 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4924 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4925 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4926 <image resource="console" />
4927 <condition var1="tw_busy" var2="0" />
4928 <action function="overlay">slideout</action>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4933 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4934 <image resource="home" />
4935 <condition var1="tw_busy" var2="0" />
4936 <actions>
4937 <action function="overlay"/>
4938 <action function="key">home</action>
4939 </actions>
4940 </button>
4941
4942 <button>
4943 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4944 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4945 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4946 <image resource="console" />
4947 <condition var1="tw_busy" var2="0" />
4948 <action function="overlay">slideout</action>
4949 </button>
4950
4951 <button>
4952 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4953 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4954 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4955 <image resource="back" />
4956 <condition var1="tw_busy" var2="0" />
4957 <actions>
4958 <action function="overlay"/>
4959 <action function="key">%tw_back%</action>
4960 </actions>
4961 </button>
4962
4963 <button>
4964 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4965 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4966 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4967 <image resource="back" />
4968 <condition var1="tw_busy" var2="0" />
4969 <actions>
4970 <action function="overlay"/>
4971 <action function="key">%tw_back%</action>
4972 </actions>
4973 </button>
4974
4975 <button>
4976 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4977 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4978 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4979 <image resource="console" />
4980 <condition var1="tw_busy" var2="0" />
4981 <action function="overlay">slideout</action>
4982 </button>
4983
4984 <button>
4985 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4986 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4987 <image resource="home" />
4988 <condition var1="tw_busy" var2="0" />
4989 <actions>
4990 <action function="overlay"/>
4991 <action function="key">home</action>
4992 </actions>
4993 </button>
4994
4995 <button>
4996 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4997 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4998 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4999 <image resource="console" />
5000 <condition var1="tw_busy" var2="0" />
5001 <action function="overlay">slideout</action>
5002 </button>
5003
5004 <button>
5005 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5006 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5007 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5008 <image resource="back" />
5009 <condition var1="tw_busy" var2="0" />
5010 <actions>
5011 <action function="overlay"/>
5012 <action function="key">%tw_back%</action>
5013 </actions>
5014 </button>
5015
5016 <button>
5017 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5018 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5019 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5020 <image resource="back" />
5021 <condition var1="tw_busy" var2="0" />
5022 <actions>
5023 <action function="overlay"/>
5024 <action function="key">%tw_back%</action>
5025 </actions>
5026 </button>
5027
5028 <button>
5029 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5030 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5031 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5032 <image resource="console" />
5033 <condition var1="tw_busy" var2="0" />
5034 <action function="overlay">slideout</action>
5035 </button>
5036
5037 <button>
5038 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5039 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5040 <image resource="home" />
5041 <condition var1="tw_busy" var2="0" />
5042 <actions>
5043 <action function="overlay"/>
5044 <action function="key">home</action>
5045 </actions>
5046 </button>
5047
5048 <button>
5049 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5050 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5051 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5052 <image resource="console" />
5053 <condition var1="tw_busy" var2="0" />
5054 <action function="overlay">slideout</action>
5055 </button>
5056
5057 <button>
5058 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5059 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5060 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5061 <image resource="back" />
5062 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005063 <actions>
5064 <action function="overlay"/>
5065 <action function="key">%tw_back%</action>
5066 </actions>
5067 </button>
5068
5069 <action>
5070 <touch key="power+voldown"/>
5071 <action function="screenshot"/>
5072 </action>
5073 </page>
5074 </pages>
5075</recovery>