blob: df68a3a6383e081917235e311efecb46b837be91 [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>
551 <action function="set">tw_action=reboot</action>
552 <action function="set">tw_action_param=system</action>
553 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
555 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <action function="set">tw_text3=</action>
557 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500558 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100559 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
561 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100562 <action function="page">rebootcheck</action>
563 </actions>
564 </button>
565
566 <action>
567 <touch key="back"/>
568 <actions>
569 <action function="set">tw_clear_destination=install</action>
570 <action function="page">clear_vars</action>
571 </actions>
572 </action>
573
574 <action>
575 <touch key="home"/>
576 <actions>
577 <action function="set">tw_clear_destination=main2</action>
578 <action function="page">clear_vars</action>
579 </actions>
580 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500581
582 <action>
583 <conditions>
584 <condition var1="tw_install_reboot" var2="1"/>
585 <condition var1="tw_operation_status" var2="0"/>
586 <condition var1="tw_reboot_system" var2="1"/>
587 </conditions>
588 <actions>
589 <action function="set">tw_sleep=%tw_sleep_total%</action>
590 <action function="page">flash_sleep_and_reboot</action>
591 </actions>
592 </action>
593 </page>
594
595 <page name="flash_sleep_and_reboot">
596 <template name="page"/>
597
598 <text style="text_l">
599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
600 <text>{@install_zip_hdr=Install Zip}</text>
601 </text>
602
603 <text style="text_m">
604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
605 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
606 </text>
607
608 <template name="console"/>
609
610 <template name="progress_bar"/>
611
612 <button style="main_button_half_width">
613 <condition var1="tw_sleep" op="&gt;" var2="0"/>
614 <placement x="%center_x%" y="%row15a_y%"/>
615 <text>{@cancel_btn=Cancel}</text>
616 <actions>
617 <action function="set">tw_install_reboot=0</action>
618 <action function="page">flash_done</action>
619 </actions>
620 </button>
621
622 <action>
623 <conditions>
624 <condition var1="tw_sleep" var2="tw_sleep_total"/>
625 <condition var1="tw_install_reboot" var2="1"/>
626 </conditions>
627 <action function="sleepcounter">%tw_sleep_total%</action>
628 </action>
629
630 <action>
631 <conditions>
632 <condition var1="tw_sleep" var2="0"/>
633 <condition var1="tw_install_reboot" var2="1"/>
634 </conditions>
635 <actions>
636 <action function="sleep">50000</action>
637 <action function="set">tw_back=main2</action>
638 <action function="page">reboot_system_routine</action>
639 </actions>
640 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100641 </page>
642
643 <page name="flashimage_confirm">
644 <template name="page"/>
645
646 <text style="text_l">
647 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500653 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100654 </text>
655
656 <text style="text_m_accent">
657 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <text style="text_m">
662 <placement x="%col1_x_left%" y="%row9_y%"/>
663 <text>%tw_zip_location%</text>
664 </text>
665
666 <text style="text_m_accent">
667 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 </text>
670
671 <text style="text_m">
672 <placement x="%col1_x_left%" y="%row12_y%"/>
673 <text>%tw_file%</text>
674 </text>
675
676 <partitionlist>
677 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
678 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <data name="tw_flash_partition"/>
681 <listtype name="flashimg"/>
682 </partitionlist>
683
684 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500685 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100686 <actions>
687 <action function="set">tw_back=flashimage_confirm</action>
688 <action function="set">tw_action=flashimage</action>
689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500690 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100691 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500692 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100693 <action function="page">action_page</action>
694 </actions>
695 <action function="flashimage"/>
696 </slider>
697
698 <action>
699 <touch key="back"/>
700 <actions>
701 <action function="set">tw_clear_destination=install</action>
702 <action function="page">clear_vars</action>
703 </actions>
704 </action>
705
706 <action>
707 <touch key="home"/>
708 <actions>
709 <action function="set">tw_clear_destination=main2</action>
710 <action function="page">clear_vars</action>
711 </actions>
712 </action>
713 </page>
714
715 <page name="clear_vars">
716 <action>
717 <action function="set">tw_operation_state=0</action>
718 <action function="set">tw_text1=</action>
719 <action function="set">tw_text2=</action>
720 <action function="set">tw_text3=</action>
721 <action function="set">tw_text4=</action>
722 <action function="set">tw_action_text1=</action>
723 <action function="set">tw_action_text2=</action>
724 <action function="set">tw_action_param=</action>
725 <action function="set">tw_has_action2=0</action>
726 <action function="set">tw_action2=</action>
727 <action function="set">tw_action2_param=</action>
728 <action function="set">tw_has_cancel=0</action>
729 <action function="set">tw_cancel_action=</action>
730 <action function="set">tw_cancel_param=</action>
731 <action function="set">tw_show_exclamation=0</action>
732 <action function="set">tw_show_reboot=0</action>
733 <action function="page">%tw_clear_destination%</action>
734 </action>
735 </page>
736
737 <page name="confirm_action">
738 <template name="page"/>
739
740 <text style="text_l">
741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 </text>
744
745 <text style="text_m">
746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
747 <text/>
748 </text>
749
750 <text style="text_m_accent">
751 <placement x="%center_x%" y="%row2_y%" placement="5"/>
752 <text>%tw_text1%</text>
753 </text>
754
755 <text style="text_m_accent">
756 <placement x="%center_x%" y="%row3_y%" placement="5"/>
757 <text>%tw_text2%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%center_x%" y="%row4_y%" placement="5"/>
762 <text>%tw_text3%</text>
763 </text>
764
765 <text style="text_m">
766 <placement x="%center_x%" y="%row5_y%" placement="5"/>
767 <text>%tw_text4%</text>
768 </text>
769
770 <text style="text_m">
771 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 </text>
774
775 <slider style="slider_centered">
776 <text>%tw_slider_text%</text>
777 <action function="page">action_page</action>
778 </slider>
779
780 <action>
781 <touch key="back"/>
782 <actions>
783 <action function="set">tw_clear_destination=%tw_back%</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </action>
787
788 <action>
789 <touch key="home"/>
790 <action function="page">main</action>
791 </action>
792 </page>
793
794 <page name="action_page">
795 <template name="page"/>
796
797 <text style="text_l">
798 <placement x="%col1_x_header%" y="%row3_header_y%"/>
799 <text>%tw_action_text1%</text>
800 </text>
801
802 <text style="text_m">
803 <placement x="%col1_x_header%" y="%row4_header_y%"/>
804 <text>%tw_action_text2%</text>
805 </text>
806
807 <template name="console"/>
808
809 <template name="progress_bar"/>
810
811 <button style="main_button_half_width">
812 <condition var1="tw_has_cancel" var2="1"/>
813 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500814 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100815 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
816 </button>
817
818 <action>
819 <condition var1="tw_operation_state" var2="1"/>
820 <actions>
821 <action function="page">action_complete</action>
822 </actions>
823 </action>
824
825 <action>
826 <condition var1="tw_has_action2" var2="0"/>
827 <actions>
828 <action function="%tw_action%">%tw_action_param%</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="1"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 <action function="%tw_action2%">%tw_action2_param%</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="singleaction_page">
842 <template name="page"/>
843
844 <text style="text_l">
845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
846 <text>%tw_action_text1%</text>
847 </text>
848
849 <text style="text_m">
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
851 <text>%tw_action_text2%</text>
852 </text>
853
854 <template name="console"/>
855
856 <template name="progress_bar"/>
857
858 <action>
859 <condition var1="tw_operation_state" var2="1"/>
860 <actions>
861 <action function="set">tw_page_done=1</action>
862 </actions>
863 </action>
864
865 <action>
866 <condition var1="tw_has_action2" var2="0"/>
867 <actions>
868 <action function="%tw_action%">%tw_action_param%</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="1"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 <action function="%tw_action2%">%tw_action2_param%</action>
877 </actions>
878 </action>
879 </page>
880
881 <page name="action_complete">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
886 <text>%tw_complete_text1%</text>
887 </text>
888
889 <text style="text_m_fail">
890 <condition var1="tw_operation_status" op="!=" var2="0"/>
891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500892 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100893 </text>
894
895 <text style="text_m">
896 <condition var1="tw_operation_status" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <template name="console"/>
902
903 <button style="main_button_half_width">
904 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 <actions>
907 <action function="set">tw_clear_destination=%tw_back%</action>
908 <action function="page">clear_vars</action>
909 </actions>
910 </button>
911
912 <button style="main_button_half_width">
913 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 <actions>
916 <action function="set">tw_back=main2</action>
917 <action function="set">tw_action=reboot</action>
918 <action function="set">tw_action_param=system</action>
919 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
921 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100922 <action function="set">tw_text3=</action>
923 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500924 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
927 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100928 <action function="page">rebootcheck</action>
929 </actions>
930 </button>
931
932 <action>
933 <touch key="home"/>
934 <actions>
935 <action function="set">tw_clear_destination=main2</action>
936 <action function="page">clear_vars</action>
937 </actions>
938 </action>
939
940 <action>
941 <touch key="back"/>
942 <actions>
943 <action function="set">tw_clear_destination=%tw_back%</action>
944 <action function="page">clear_vars</action>
945 </actions>
946 </action>
947 </page>
948
949 <page name="filecheck">
950 <action>
951 <action function="fileexists">%tw_filecheck%</action>
952 </action>
953
954 <action>
955 <conditions>
956 <condition var1="tw_operation_state" var2="1"/>
957 <condition var1="tw_operation_status" var2="0"/>
958 </conditions>
959 <actions>
960 <action function="set">tw_fileexists=1</action>
961 <action function="page">%tw_existpage%</action>
962 </actions>
963 </action>
964
965 <action>
966 <conditions>
967 <condition var1="tw_operation_state" var2="1"/>
968 <condition var1="tw_operation_status" var2="1"/>
969 </conditions>
970 <actions>
971 <action function="set">tw_fileexists=0</action>
972 <action function="page">%tw_notexistpage%</action>
973 </actions>
974 </action>
975 </page>
976
977 <page name="rebootcheck">
978 <action>
979 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
980 <action function="reboot">%tw_action_param%</action>
981 </action>
982
983 <action>
984 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
985 <action function="page">confirm_action</action>
986 </action>
987 </page>
988
989 <page name="wipe">
990 <template name="page"/>
991
992 <text style="text_l">
993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m">
998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m_accent">
1003 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m_accent">
1008 <condition var1="tw_has_data_media" var2="1"/>
1009 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <text style="text_m_accent">
1014 <conditions>
1015 <condition var1="tw_has_android_secure" var2="1"/>
1016 <condition var1="fileexists" var2="/and-sec"/>
1017 </conditions>
1018 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001019 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </text>
1021
1022 <text style="text_m_accent">
1023 <condition var1="tw_has_sdext_partition" var2="1"/>
1024 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001030 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <text style="text_m">
1039 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 </text>
1042
1043 <button style="main_button_half_width">
1044 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001045 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001046 <actions>
1047 <action function="set">partitionlisterror=0</action>
1048 <action function="page">advancedwipe</action>
1049 </actions>
1050 </button>
1051
1052 <button style="main_button_half_width">
1053 <condition var1="tw_has_data_media" var2="1"/>
1054 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001055 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001056 <action function="page">formatdata</action>
1057 </button>
1058
1059 <button style="main_button_half_width">
1060 <conditions>
1061 <condition var1="tw_is_encrypted" var2="1"/>
1062 <condition var1="tw_has_data_media" var2="0"/>
1063 </conditions>
1064 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001066 <actions>
1067 <action function="set">tw_back=wipe</action>
1068 <action function="set">tw_action=wipe</action>
1069 <action function="set">tw_action_param=DATAMEDIA</action>
1070 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001071 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1074 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1075 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001076 <action function="page">confirm_action</action>
1077 </actions>
1078 </button>
1079
1080 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 <actions>
1083 <action function="set">tw_back=wipe</action>
1084 <action function="set">tw_action=wipe</action>
1085 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001086 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1087 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001088 <action function="page">action_page</action>
1089 </actions>
1090 </slider>
1091
1092 <action>
1093 <touch key="back"/>
1094 <action function="page">main</action>
1095 </action>
1096
1097 <action>
1098 <touch key="home"/>
1099 <action function="page">main</action>
1100 </action>
1101 </page>
1102
1103 <page name="advancedwipe">
1104 <template name="page"/>
1105
1106 <action>
1107 <action function="set">tw_wipe_list=</action>
1108 </action>
1109
1110 <text style="text_l">
1111 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 </text>
1114
1115 <text style="text_m">
1116 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 </text>
1119
1120 <partitionlist>
1121 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001123 <data name="tw_wipe_list"/>
1124 <listtype name="wipe"/>
1125 </partitionlist>
1126
1127 <text style="text_m_fail">
1128 <condition var1="partitionlisterror" var2="1"/>
1129 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <button style="main_button_m">
1134 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001136 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001137 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001138 <action function="page">checkpartitionlist</action>
1139 </actions>
1140 </button>
1141
1142 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001144 <actions>
1145 <action function="set">tw_back=advancedwipe</action>
1146 <action function="set">tw_action=wipe</action>
1147 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001148 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1149 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1150 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001151 <action function="page">action_page</action>
1152 </actions>
1153 </slider>
1154
1155 <action>
1156 <touch key="home"/>
1157 <action function="page">main</action>
1158 </action>
1159
1160 <action>
1161 <touch key="back"/>
1162 <action function="page">wipe</action>
1163 </action>
1164 </page>
1165
1166 <page name="formatdata">
1167 <template name="page"/>
1168
1169 <text style="text_l">
1170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m">
1175 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <text style="text_m_fail">
1180 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001181 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001182 </text>
1183
1184 <text style="text_m_fail">
1185 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </text>
1188
Ethan Yonker66a19492015-12-10 10:19:45 -06001189 <text style="text_m_fail">
1190 <condition var1="tw_has_adopted_storage" var2="1"/>
1191 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1192 <text>{@format_data_adopted=Including Adopted Storage}</text>
1193 </text>
1194
z31s1g28f0a922015-11-07 18:50:22 +01001195 <text style="text_m">
1196 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <input>
1206 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1207 <text>%tw_confirm_formatdata%</text>
1208 <data name="tw_confirm_formatdata"/>
1209 <restrict minlen="3" maxlen="3" allow="yes"/>
1210 <action function="page">formatdata_confirm</action>
1211 </input>
1212
1213 <fill color="%accent_color%">
1214 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1215 </fill>
1216
1217 <template name="keyboardtemplate"/>
1218
1219 <action>
1220 <touch key="home"/>
1221 <action function="page">main</action>
1222 </action>
1223
1224 <action>
1225 <touch key="back"/>
1226 <action function="page">wipe</action>
1227 </action>
1228 </page>
1229
1230 <page name="formatdata_confirm">
1231 <action>
1232 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1233 <actions>
1234 <action function="set">tw_back=formatdata</action>
1235 <action function="set">tw_action=wipe</action>
1236 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1238 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001239 <action function="page">action_page</action>
1240 </actions>
1241 </action>
1242
1243 <action>
1244 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1245 <action function="page">formatdata</action>
1246 </action>
1247 </page>
1248
1249 <page name="checkpartitionlist">
1250 <action>
1251 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1252 <actions>
1253 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001254 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001255 <action function="page">partitionoptions</action>
1256 </actions>
1257 </action>
1258
1259 <action>
1260 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1261 <actions>
1262 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001263 <action function="page">advancedwipe</action>
1264 </actions>
1265 </action>
1266 </page>
1267
1268 <page name="partitionoptions">
1269 <template name="page"/>
1270
1271 <text style="text_l">
1272 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m">
1277 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m_accent">
1282 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m_accent">
1287 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001289 </text>
1290
1291 <text style="text_m">
1292 <condition var1="tw_partition_is_present" var2="1"/>
1293 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <text style="text_m">
1298 <condition var1="tw_partition_is_present" var2="0"/>
1299 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <condition var1="tw_partition_removable" var2="1"/>
1305 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <condition var1="tw_partition_removable" var2="0"/>
1311 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m">
1326 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m">
1331 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <button style="main_button_half_width">
1336 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1337 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <actions>
1340 <action function="set">tw_back=partitionoptions</action>
1341 <action function="set">tw_action=resize</action>
1342 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1343 <action function="set">tw_has_action2=1</action>
1344 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001345 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1349 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1350 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">confirm_action</action>
1352 </actions>
1353 </button>
1354
1355 <button style="main_button_half_width">
1356 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1357 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 <actions>
1360 <action function="set">tw_back=partitionoptions</action>
1361 <action function="set">tw_action=repair</action>
1362 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1363 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001365 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1367 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1368 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001369 <action function="page">confirm_action</action>
1370 </actions>
1371 </button>
1372
1373 <button style="main_button_half_width">
1374 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <action function="page">selectfilesystem</action>
1377 </button>
1378
1379 <action>
1380 <touch key="home"/>
1381 <action function="page">main</action>
1382 </action>
1383
1384 <action>
1385 <touch key="back"/>
1386 <action function="page">advancedwipe</action>
1387 </action>
1388 </page>
1389
1390 <page name="refreshfilesystem">
1391 <action>
1392 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1393 <actions>
1394 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001395 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <action function="page">selectfilesystem</action>
1397 </actions>
1398 </action>
1399
1400 <action>
1401 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1402 <actions>
1403 <action function="set">partitionlisterror=1</action>
1404 <action function="set">tw_wipe_list=</action>
1405 <action function="page">advancedwipe</action>
1406 </actions>
1407 </action>
1408 </page>
1409
1410 <page name="selectfilesystem">
1411 <template name="page"/>
1412
1413 <text style="text_l">
1414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m">
1419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <text style="text_m_accent">
1424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001426 </text>
1427
1428 <text style="text_m_accent">
1429 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001430 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001431 </text>
1432
1433 <text style="text_m_fail">
1434 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001436 </text>
1437
1438 <text style="text_m_fail">
1439 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001440 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001441 </text>
1442
1443 <button style="main_button_half_width">
1444 <condition var1="tw_partition_ext" op="=" var2="1"/>
1445 <placement x="%col1_x_left%" y="%row11_y%"/>
1446 <text>EXT2</text>
1447 <actions>
1448 <action function="set">tw_back=refreshfilesystem</action>
1449 <action function="set">tw_action=changefilesystem</action>
1450 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1451 <action function="set">tw_action_new_file_system=ext2</action>
1452 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1454 <action function="set">tw_text2=EXT2</action>
1455 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1456 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1457 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <action function="page">confirm_action</action>
1459 </actions>
1460 </button>
1461
1462 <button style="main_button_half_width">
1463 <condition var1="tw_partition_ext" op="=" var2="1"/>
1464 <placement x="%col2_x_left%" y="%row11_y%"/>
1465 <text>EXT3</text>
1466 <actions>
1467 <action function="set">tw_back=refreshfilesystem</action>
1468 <action function="set">tw_action=changefilesystem</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_action_new_file_system=ext3</action>
1471 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1473 <action function="set">tw_text2=EXT3</action>
1474 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1475 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1476 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001477 <action function="page">confirm_action</action>
1478 </actions>
1479 </button>
1480
1481 <button style="main_button_half_width">
1482 <condition var1="tw_partition_ext" op="=" var2="1"/>
1483 <placement x="%center_x%" y="%row11_y%"/>
1484 <text>EXT4</text>
1485 <actions>
1486 <action function="set">tw_back=refreshfilesystem</action>
1487 <action function="set">tw_action=changefilesystem</action>
1488 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1489 <action function="set">tw_action_new_file_system=ext4</action>
1490 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1492 <action function="set">tw_text2=EXT4</action>
1493 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1494 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1495 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001496 <action function="page">confirm_action</action>
1497 </actions>
1498 </button>
1499
1500 <button style="main_button_half_width">
1501 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1502 <placement x="%col2_x_right%" y="%row11_y%"/>
1503 <text>FAT</text>
1504 <actions>
1505 <action function="set">tw_back=refreshfilesystem</action>
1506 <action function="set">tw_action=changefilesystem</action>
1507 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1508 <action function="set">tw_action_new_file_system=vfat</action>
1509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001510 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1511 <action function="set">tw_text2=FAT</action>
1512 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1513 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1514 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">confirm_action</action>
1516 </actions>
1517 </button>
1518
1519 <button style="main_button_half_width">
1520 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1521 <placement x="%col2_x_left%" y="%row15a_y%"/>
1522 <text>exFAT</text>
1523 <actions>
1524 <action function="set">tw_back=refreshfilesystem</action>
1525 <action function="set">tw_action=changefilesystem</action>
1526 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1527 <action function="set">tw_action_new_file_system=exfat</action>
1528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1530 <action function="set">tw_text2=exFAT</action>
1531 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1532 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1533 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001534 <action function="page">confirm_action</action>
1535 </actions>
1536 </button>
1537
1538 <button style="main_button_half_width">
1539 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1540 <placement x="%center_x%" y="%row15a_y%"/>
1541 <text>F2FS</text>
1542 <actions>
1543 <action function="set">tw_back=refreshfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=f2fs</action>
1547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1549 <action function="set">tw_text2=F2FS</action>
1550 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1551 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1552 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">confirm_action</action>
1554 </actions>
1555 </button>
1556
1557 <action>
1558 <touch key="home"/>
1559 <action function="page">main</action>
1560 </action>
1561
1562 <action>
1563 <touch key="back"/>
1564 <action function="page">partitionoptions</action>
1565 </action>
1566 </page>
1567
1568 <page name="backup">
1569 <template name="page"/>
1570
1571 <text style="text_l">
1572 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001574 </text>
1575
1576 <text style="text_m">
1577 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 </text>
1580
1581 <text style="text_m_accent">
1582 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 </text>
1585
1586 <text style="text_m">
1587 <placement x="%col1_x_left%" y="%row3_y%"/>
1588 <text>%tw_backup_name%</text>
1589 </text>
1590
1591 <fill color="%fileselector_linecolor%">
1592 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1593 </fill>
1594
1595 <button>
1596 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1597 <fill color="%transparent%"/>
1598 <actions>
1599 <action function="set">tw_fileexists=0</action>
1600 <action function="page">backupname1</action>
1601 </actions>
1602 </button>
1603
1604 <partitionlist>
1605 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <data name="tw_backup_list"/>
1608 <listtype name="backup"/>
1609 </partitionlist>
1610
1611 <text style="text_m_accent">
1612 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 </text>
1615
1616 <text style="text_m">
1617 <conditions>
1618 <condition var1="tw_include_encrypted_backup" var2="1"/>
1619 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001620 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001621 </conditions>
1622 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 </text>
1625
1626 <text style="text_m">
1627 <conditions>
1628 <condition var1="tw_include_encrypted_backup" var2="1"/>
1629 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001630 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </conditions>
1632 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001633 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001634 </text>
1635
1636 <fill color="%fileselector_linecolor%">
1637 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1638 </fill>
1639
1640 <button>
1641 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1642 <fill color="%transparent%"/>
1643 <actions>
1644 <action function="set">tw_password_not_match=0</action>
1645 <action function="page">backupencryption</action>
1646 </actions>
1647 </button>
1648
1649 <text style="text_m_accent">
1650 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <checkbox>
1655 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 <data variable="tw_use_compression"/>
1658 </checkbox>
1659
1660 <checkbox>
1661 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <data variable="tw_skip_md5_generate"/>
1664 </checkbox>
1665
1666 <checkbox>
1667 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001668 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 <data variable="tw_disable_free_space"/>
1670 </checkbox>
1671
1672 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001673 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001674 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001675 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001676 <actions>
1677 <action function="set">tw_back=backup</action>
1678 <action function="overlay">select_storage</action>
1679 </actions>
1680 </button>
1681
1682 <button style="main_button_half_width">
1683 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <actions>
1686 <action function="refreshsizes"/>
1687 <action function="page">backup</action>
1688 </actions>
1689 </button>
1690
1691 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <action function="page">backup_run</action>
1694 </slider>
1695
1696 <action>
1697 <touch key="home"/>
1698 <action function="page">main</action>
1699 </action>
1700
1701 <action>
1702 <touch key="back"/>
1703 <action function="page">main</action>
1704 </action>
1705 </page>
1706
1707 <page name="backupname1">
1708 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="generatebackupname"/>
1711 </action>
1712
1713 <action>
1714 <action function="page">backupname2</action>
1715 </action>
1716 </page>
1717
1718 <page name="backupname2">
1719 <template name="page"/>
1720
1721 <text style="text_l">
1722 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </text>
1725
1726 <text style="text_m">
1727 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <text style="text_m_accent">
1732 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 </text>
1735
1736 <input>
1737 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1738 <text>%tw_backup_name%</text>
1739 <data name="tw_backup_name"/>
1740 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1741 <actions>
1742 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1743 <action function="set">tw_existpage=backupname2</action>
1744 <action function="set">tw_notexistpage=backup</action>
1745 <action function="page">filecheck</action>
1746 </actions>
1747 </input>
1748
1749 <fill color="%accent_color%">
1750 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1751 </fill>
1752
1753 <fill color="%text_fail_color%">
1754 <condition var1="tw_fileexists" var2="1"/>
1755 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1756 </fill>
1757
1758 <text style="text_m_fail">
1759 <condition var1="tw_fileexists" var2="1"/>
1760 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </text>
1763
1764 <button style="main_button_half_width_low">
1765 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001768 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001769 <action function="page">backup</action>
1770 </actions>
1771 </button>
1772
1773 <button style="main_button_half_width_low">
1774 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <action function="appenddatetobackupname"/>
1777 </button>
1778
1779 <template name="keyboardtemplate"/>
1780
1781 <action>
1782 <touch key="home"/>
1783 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001784 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <action function="page">main</action>
1786 </actions>
1787 </action>
1788
1789 <action>
1790 <touch key="back"/>
1791 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="page">backup</action>
1794 </actions>
1795 </action>
1796 </page>
1797
1798 <page name="backupencryption">
1799 <template name="page"/>
1800
1801 <text style="text_l">
1802 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <text style="text_m">
1807 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <text style="text_m_accent">
1812 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001814 </text>
1815
1816 <input>
1817 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1818 <text>%tw_backup_encrypt_display%</text>
1819 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1820 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1821 <action function="page">backupencryption2</action>
1822 </input>
1823
1824 <fill color="%accent_color%">
1825 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1826 </fill>
1827
1828 <fill color="%text_fail_color%">
1829 <condition var1="tw_password_not_match" var2="1"/>
1830 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1831 </fill>
1832
1833 <text style="text_m_fail">
1834 <condition var1="tw_password_not_match" var2="1"/>
1835 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <button style="main_button_half_width_low">
1840 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001842 <actions>
1843 <action function="set">tw_encrypt_backup=0</action>
1844 <action function="set">tw_backup_password=</action>
1845 <action function="set">tw_backup_password2=</action>
1846 <action function="set">tw_backup_encrypt_display=</action>
1847 <action function="set">tw_backup_encrypt_display2=</action>
1848 <action function="page">backup</action>
1849 </actions>
1850 </button>
1851
1852 <template name="keyboardtemplate"/>
1853
1854 <action>
1855 <touch key="home"/>
1856 <action function="page">main</action>
1857 </action>
1858
1859 <action>
1860 <touch key="back"/>
1861 <action function="page">backup</action>
1862 </action>
1863 </page>
1864
1865 <page name="backupencryption2">
1866 <template name="page"/>
1867
1868 <text style="text_l">
1869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m">
1874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <text style="text_m_accent">
1879 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001880 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001881 </text>
1882
1883 <input>
1884 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1885 <text>%tw_backup_encrypt_display2%</text>
1886 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1887 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1888 <action function="page">checkbackuppassword</action>
1889 </input>
1890
1891 <fill color="%accent_color%">
1892 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1893 </fill>
1894
1895 <text style="text_m">
1896 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </text>
1899
1900 <button style="main_button_half_width_low">
1901 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 <actions>
1904 <action function="set">tw_encrypt_backup=0</action>
1905 <action function="set">tw_backup_password=</action>
1906 <action function="set">tw_backup_password2=</action>
1907 <action function="set">tw_backup_encrypt_display=</action>
1908 <action function="set">tw_backup_encrypt_display2=</action>
1909 <action function="page">backup</action>
1910 </actions>
1911 </button>
1912
1913 <template name="keyboardtemplate"/>
1914
1915 <action>
1916 <touch key="home"/>
1917 <action function="page">main</action>
1918 </action>
1919
1920 <action>
1921 <touch key="back"/>
1922 <action function="page">backup</action>
1923 </action>
1924 </page>
1925
1926 <page name="checkbackuppassword">
1927 <action>
1928 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1929 <actions>
1930 <action function="set">tw_encrypt_backup=1</action>
1931 <action function="page">backup</action>
1932 </actions>
1933 </action>
1934
1935 <action>
1936 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1937 <actions>
1938 <action function="set">tw_encrypt_backup=0</action>
1939 <action function="set">tw_password_not_match=1</action>
1940 <action function="set">tw_backup_password=</action>
1941 <action function="set">tw_backup_password2=</action>
1942 <action function="set">tw_backup_encrypt_display=</action>
1943 <action function="set">tw_backup_encrypt_display2=</action>
1944 <action function="page">backupencryption</action>
1945 </actions>
1946 </action>
1947 </page>
1948
1949 <page name="backup_run">
1950 <template name="page"/>
1951
1952 <text style="text_l">
1953 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1954 <text>%tw_operation%</text>
1955 </text>
1956
1957 <text style="text_m">
1958 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1959 <text>%tw_partition% Partition</text>
1960 </text>
1961
1962 <template name="console"/>
1963
1964 <template name="progress_bar"/>
1965
1966 <text style="text_m_accent">
1967 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001968 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001969 </text>
1970
1971 <text style="text_m">
1972 <placement x="%progress_text_x%" y="%row17_y%"/>
1973 <text>%tw_file_progress%</text>
1974 </text>
1975
1976 <text style="text_m">
1977 <placement x="%progress_text_x%" y="%row18_y%"/>
1978 <text>%tw_size_progress%</text>
1979 </text>
1980
1981 <button style="main_button_half_width">
1982 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001983 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001984 <action function="cancelbackup"/>
1985 </button>
1986
1987 <action>
1988 <action function="nandroid">backup</action>
1989 </action>
1990
1991 <action>
1992 <condition var1="tw_operation_state" var2="1"/>
1993 <condition var1="tw_cancel_backup" var2="0"/>
1994 <actions>
1995 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001997 <action function="set">tw_show_reboot=1</action>
1998 <action function="page">action_complete</action>
1999 </actions>
2000 </action>
2001
2002 <action>
2003 <condition var1="tw_operation_state" var2="1"/>
2004 <condition var1="tw_cancel_backup" var2="1"/>
2005 <actions>
2006 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002008 <action function="set">tw_show_reboot=1</action>
2009 <action function="page">action_complete</action>
2010 </actions>
2011 </action>
2012 </page>
2013
2014 <page name="restore">
2015 <template name="page"/>
2016
2017 <text style="text_l">
2018 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <text style="text_m">
2023 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002025 </text>
2026
2027 <template name="sort_options"/>
2028
2029 <fileselector>
2030 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 <filter folders="1" files="0" nav="0"/>
2033 <path name="tw_backups_folder"/>
2034 <data name="tw_restore" default=""/>
2035 <selection name="tw_restore_name"/>
2036 </fileselector>
2037
2038 <button style="main_button_half_width_low">
2039 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002040 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002041 <actions>
2042 <action function="set">tw_back=restore</action>
2043 <action function="overlay">select_storage</action>
2044 </actions>
2045 </button>
2046
2047 <action>
2048 <condition var1="tw_restore" op="modified"/>
2049 <actions>
2050 <action function="readBackup"/>
2051 <action function="page">restore_read</action>
2052 </actions>
2053 </action>
2054
2055 <action>
2056 <touch key="home"/>
2057 <action function="page">main</action>
2058 </action>
2059
2060 <action>
2061 <touch key="back"/>
2062 <action function="page">main</action>
2063 </action>
2064 </page>
2065
2066 <page name="restore_read">
2067 <action>
2068 <condition var1="tw_restore_encrypted" var2="1"/>
2069 <actions>
2070 <action function="set">tw_password_fail=0</action>
2071 <action function="page">restore_decrypt</action>
2072 </actions>
2073 </action>
2074
2075 <action>
2076 <condition var1="tw_restore_encrypted" var2="0"/>
2077 <actions>
2078 <action function="page">restore_select</action>
2079 </actions>
2080 </action>
2081 </page>
2082
2083 <page name="restore_decrypt">
2084 <template name="page"/>
2085
2086 <text style="text_l">
2087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m_accent">
2097 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <input>
2102 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2103 <text>%tw_restore_display%</text>
2104 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2105 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2106 <action function="page">try_restore_decrypt</action>
2107 </input>
2108
2109 <fill color="%accent_color%">
2110 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2111 </fill>
2112
2113 <fill color="%text_fail_color%">
2114 <condition var1="tw_password_fail" var2="1"/>
2115 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2116 </fill>
2117
2118 <text style="text_m_fail">
2119 <condition var1="tw_password_fail" var2="1"/>
2120 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002121 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002122 </text>
2123
2124 <button style="main_button_half_width_low">
2125 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <actions>
2128 <action function="set">tw_page_done=1</action>
2129 <action function="page">restore</action>
2130 </actions>
2131 </button>
2132
2133 <button style="main_button_half_width_low">
2134 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002136 <actions>
2137 <action function="set">tw_back=restore</action>
2138 <action function="set">tw_action=cmd</action>
2139 <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 -05002140 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2141 <action function="set">tw_text2=%tw_restore_name%</action>
2142 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2143 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2144 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2145 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002146 <action function="page">confirm_action</action>
2147 </actions>
2148 </button>
2149
2150 <template name="keyboardtemplate"/>
2151
2152 <action>
2153 <touch key="home"/>
2154 <action function="page">main</action>
2155 </action>
2156
2157 <action>
2158 <touch key="back"/>
2159 <action function="page">restore</action>
2160 </action>
2161 </page>
2162
2163 <page name="try_restore_decrypt">
2164 <template name="page"/>
2165
2166 <text style="text_l">
2167 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002168 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002169 </text>
2170
2171 <text style="text_m">
2172 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002173 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002174 </text>
2175
2176 <template name="console"/>
2177
2178 <template name="progress_bar"/>
2179
2180 <action>
2181 <action function="decrypt_backup"/>
2182 </action>
2183
2184 <action>
2185 <conditions>
2186 <condition var1="tw_operation_state" var2="1"/>
2187 <condition var1="tw_operation_status" op="!=" var2="0"/>
2188 </conditions>
2189 <actions>
2190 <action function="set">tw_password_fail=1</action>
2191 <action function="page">restore_decrypt</action>
2192 </actions>
2193 </action>
2194
2195 <action>
2196 <conditions>
2197 <condition var1="tw_operation_state" var2="1"/>
2198 <condition var1="tw_operation_status" op="=" var2="0"/>
2199 </conditions>
2200 <actions>
2201 <action function="set">tw_page_done=1</action>
2202 <action function="page">restore_select</action>
2203 </actions>
2204 </action>
2205 </page>
2206
2207 <page name="restore_select">
2208 <template name="page"/>
2209
2210 <text style="text_l">
2211 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m">
2216 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <text style="text_m_accent">
2221 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002222 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002223 </text>
2224
2225 <text style="text_m">
2226 <placement x="%col1_x_left%" y="%row3_y%"/>
2227 <text>%tw_restore_name%</text>
2228 </text>
2229
2230 <fill color="%fileselector_linecolor%">
2231 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2232 </fill>
2233
2234 <button>
2235 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2236 <fill color="%transparent%"/>
2237 <actions>
2238 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2239 <action function="set">tw_fileexists=0</action>
2240 <action function="page">renamebackup</action>
2241 </actions>
2242 </button>
2243
2244 <partitionlist>
2245 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002246 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002247 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2248 <listtype name="restore"/>
2249 </partitionlist>
2250
2251 <text style="text_m_accent">
2252 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 </text>
2255
2256 <checkbox>
2257 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002258 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <data variable="tw_skip_md5_check"/>
2260 </checkbox>
2261
2262 <button style="main_button_half_width">
2263 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <actions>
2266 <action function="set">tw_back=restore</action>
2267 <action function="set">tw_action=cmd</action>
2268 <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 -05002269 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2272 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2273 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2274 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002275 <action function="page">confirm_action</action>
2276 </actions>
2277 </button>
2278
2279 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 <action function="page">restore_run</action>
2282 </slider>
2283
2284 <action>
2285 <touch key="home"/>
2286 <action function="page">main</action>
2287 </action>
2288
2289 <action>
2290 <touch key="back"/>
2291 <action function="page">restore</action>
2292 </action>
2293 </page>
2294
2295 <page name="renamebackup">
2296 <template name="page"/>
2297
2298 <text style="text_l">
2299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m">
2304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <text style="text_m_accent">
2309 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 </text>
2312
2313 <input>
2314 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2315 <text>%tw_backup_rename%</text>
2316 <data name="tw_backup_rename"/>
2317 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2318 <actions>
2319 <action function="set">tw_back=restore</action>
2320 <action function="set">tw_action=cmd</action>
2321 <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 -05002322 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2323 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2324 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2325 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2326 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002327 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2328 <action function="set">tw_existpage=renamebackup</action>
2329 <action function="set">tw_notexistpage=confirm_action</action>
2330 <action function="page">filecheck</action>
2331 </actions>
2332 </input>
2333
2334 <fill color="%accent_color%">
2335 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2336 </fill>
2337
2338 <fill color="%text_fail_color%">
2339 <condition var1="tw_fileexists" var2="1"/>
2340 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2341 </fill>
2342
2343 <text style="text_m_fail">
2344 <condition var1="tw_fileexists" var2="1"/>
2345 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <button style="main_button_half_width_low">
2350 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 <action function="page">restore_select</action>
2353 </button>
2354
2355 <template name="keyboardtemplate"/>
2356
2357 <action>
2358 <touch key="home"/>
2359 <action function="page">main</action>
2360 </action>
2361
2362 <action>
2363 <touch key="back"/>
2364 <action function="page">restore_select</action>
2365 </action>
2366 </page>
2367
2368 <page name="restore_run">
2369 <template name="page"/>
2370
2371 <text style="text_l">
2372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002374 </text>
2375
2376 <text style="text_m">
2377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2378 <text>%tw_operation% %tw_partition%</text>
2379 </text>
2380
2381 <template name="console"/>
2382
2383 <template name="progress_bar"/>
2384
2385 <text style="text_m_accent">
2386 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 </text>
2389
2390 <text style="text_m">
2391 <placement x="%progress_text_x%" y="%row18_y%"/>
2392 <text>%tw_size_progress%</text>
2393 </text>
2394
2395 <action>
2396 <condition var1="tw_operation_state" var2="1"/>
2397 <actions>
2398 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002399 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002400 <action function="set">tw_show_reboot=1</action>
2401 <action function="page">action_complete</action>
2402 </actions>
2403 </action>
2404
2405 <action>
2406 <action function="nandroid">restore</action>
2407 </action>
2408 </page>
2409
2410 <page name="mount">
2411 <template name="page"/>
2412
2413 <text style="text_l">
2414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 </text>
2417
2418 <text style="text_m">
2419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 </text>
2422
2423 <partitionlist>
2424 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <listtype name="mount"/>
2427 </partitionlist>
2428
2429 <button style="checkbox">
2430 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2431 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <image resource="checkbox_false"/>
2434 <action function="mountsystemtoggle">1</action>
2435 </button>
2436
2437 <button style="checkbox">
2438 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2439 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <image resource="checkbox_true"/>
2442 <actions>
2443 <action function="set">tw_lifetime_writes=2</action>
2444 <action function="page">system_readonly_check</action>
2445 </actions>
2446 </button>
2447
2448 <button style="main_button_half_width">
2449 <condition var1="tw_has_usb_storage" var2="1"/>
2450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 <action function="page">usb_mount</action>
2453 </button>
2454
2455 <button style="main_button_half_width">
2456 <conditions>
2457 <condition var1="tw_is_encrypted" var2="1"/>
2458 <condition var1="tw_is_decrypted" var2="0"/>
2459 </conditions>
2460 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 <action function="page">decrypt</action>
2463 </button>
2464
2465 <button style="main_button_half_width">
2466 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <actions>
2469 <action function="set">tw_back=mount</action>
2470 <action function="overlay">select_storage</action>
2471 </actions>
2472 </button>
2473
2474 <button style="main_button_half_width">
2475 <conditions>
2476 <condition var1="tw_has_mtp" var2="1"/>
2477 <condition var1="tw_mtp_enabled" var2="0"/>
2478 </conditions>
2479 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="startmtp"/>
2482 </button>
2483
2484 <button style="main_button_half_width">
2485 <conditions>
2486 <condition var1="tw_has_mtp" var2="1"/>
2487 <condition var1="tw_mtp_enabled" var2="1"/>
2488 </conditions>
2489 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002490 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002491 <action function="stopmtp"/>
2492 </button>
2493
2494 <action>
2495 <touch key="home"/>
2496 <action function="page">main</action>
2497 </action>
2498
2499 <action>
2500 <touch key="back"/>
2501 <action function="page">main</action>
2502 </action>
2503 </page>
2504
2505 <page name="usb_mount">
2506 <template name="page"/>
2507
2508 <text style="text_l">
2509 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 </text>
2512
2513 <text style="text_m">
2514 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002515 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 </text>
2517
2518 <text style="text_m_accent">
2519 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 </text>
2527
2528 <text style="text_m">
2529 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 </text>
2532
2533 <button style="main_button_half_width">
2534 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002535 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002536 <action function="page">usb_umount</action>
2537 </button>
2538
2539 <action>
2540 <action function="mount">usb</action>
2541 <action function="set">tw_busy=1</action>
2542 </action>
2543 </page>
2544
2545 <page name="usb_umount">
2546 <action>
2547 <action function="unmount">usb</action>
2548 </action>
2549
2550 <action>
2551 <action function="page">mount</action>
2552 <action function="set">tw_busy=0</action>
2553 </action>
2554 </page>
2555
2556 <page name="system_readonly_check">
2557 <action>
2558 <action function="checkpartitionlifetimewrites">/system</action>
2559 </action>
2560
2561 <action>
2562 <condition var1="tw_lifetime_writes" var2="1"/>
2563 <actions>
2564 <action function="mountsystemtoggle">0</action>
2565 <action function="page">mount</action>
2566 </actions>
2567 </action>
2568
2569 <action>
2570 <condition var1="tw_lifetime_writes" var2="0"/>
2571 <actions>
2572 <action function="set">tw_back=mount</action>
2573 <action function="page">system_readonly</action>
2574 </actions>
2575 </action>
2576 </page>
2577
2578 <page name="reboot">
2579 <template name="page"/>
2580
2581 <text style="text_l">
2582 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002583 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002584 </text>
2585
2586 <button style="main_button">
2587 <condition var1="tw_reboot_system" var2="1"/>
2588 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 <actions>
2591 <action function="set">tw_back=reboot</action>
2592 <action function="set">tw_action=reboot</action>
2593 <action function="set">tw_action_param=system</action>
2594 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002595 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2596 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2597 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2598 <action function="set">tw_action_text2=</action>
2599 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2600 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002601 <action function="page">rebootcheck</action>
2602 </actions>
2603 </button>
2604
2605 <button style="main_button">
2606 <condition var1="tw_reboot_poweroff" var2="1"/>
2607 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 <actions>
2610 <action function="set">tw_back=reboot</action>
2611 <action function="set">tw_action=reboot</action>
2612 <action function="set">tw_action_param=poweroff</action>
2613 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2615 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2616 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2617 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2618 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <action function="page">rebootcheck</action>
2620 </actions>
2621 </button>
2622
2623 <button style="main_button">
2624 <condition var1="tw_reboot_recovery" var2="1"/>
2625 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002626 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002627 <actions>
2628 <action function="set">tw_back=reboot</action>
2629 <action function="set">tw_action=reboot</action>
2630 <action function="set">tw_action_param=recovery</action>
2631 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2633 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2634 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2635 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2636 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <action function="page">rebootcheck</action>
2638 </actions>
2639 </button>
2640
2641 <button style="main_button">
2642 <condition var1="tw_reboot_bootloader" var2="1"/>
2643 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <actions>
2646 <action function="set">tw_back=reboot</action>
2647 <action function="set">tw_action=reboot</action>
2648 <action function="set">tw_action_param=bootloader</action>
2649 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2651 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2652 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2653 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2654 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="page">rebootcheck</action>
2656 </actions>
2657 </button>
2658
2659 <button style="main_button">
2660 <condition var1="tw_download_mode" var2="1"/>
2661 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 <actions>
2664 <action function="set">tw_back=reboot</action>
2665 <action function="set">tw_action=reboot</action>
2666 <action function="set">tw_action_param=download</action>
2667 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002668 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2669 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2670 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2671 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2672 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002673 <action function="page">rebootcheck</action>
2674 </actions>
2675 </button>
2676
2677 <action>
2678 <touch key="home"/>
2679 <action function="page">main</action>
2680 </action>
2681
2682 <action>
2683 <touch key="back"/>
2684 <action function="page">main</action>
2685 </action>
2686 </page>
2687
2688 <page name="system_readonly">
2689 <template name="page"/>
2690
2691 <text style="text_l">
2692 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002694 </text>
2695
2696 <text style="text_m_accent">
2697 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002698 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002699 </text>
2700
2701 <text style="text_m">
2702 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <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 +01002704 </text>
2705
2706 <text style="text_m">
2707 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <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 +01002709 </text>
2710
2711 <text style="text_m_fail">
2712 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 </text>
2715
2716 <checkbox>
2717 <condition var1="tw_is_encrypted" var2="0"/>
2718 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002720 <data variable="tw_never_show_system_ro_page"/>
2721 </checkbox>
2722
2723 <button style="main_button_half_width">
2724 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002725 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002726 <actions>
2727 <action function="mountsystemtoggle">1</action>
2728 <action function="set">tw_page_done=1</action>
2729 <action function="page">%tw_back%</action>
2730 </actions>
2731 </button>
2732
z31s1g608d7ff2016-01-18 19:47:25 +01002733 <button style="main_button_half_width">
2734 <placement x="%col2_x_left%" y="%row15a_y%"/>
2735 <text>{@sel_lang_btn=Select Language}</text>
2736 <action function="overlay">select_language</action>
2737 </button>
2738
z31s1g28f0a922015-11-07 18:50:22 +01002739 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 <actions>
2742 <action function="mountsystemtoggle">0</action>
2743 <action function="set">tw_page_done=1</action>
2744 <action function="page">%tw_back%</action>
2745 </actions>
2746 </slider>
2747 </page>
2748
2749 <page name="settings">
2750 <template name="page"/>
2751
2752 <text style="text_l">
2753 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002754 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002755 </text>
2756
2757 <text style="text_m">
2758 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002759 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002760 </text>
2761
2762 <template name="tabs_settings"/>
2763
2764 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002765 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002766 </fill>
2767
2768 <listbox style="scrolllist">
2769 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2770 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002772 <data variable="tw_signed_zip_verify"/>
2773 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002774 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2775 <data variable="tw_install_reboot"/>
2776 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002777 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002778 <data variable="tw_rm_rf"/>
2779 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002780 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2781 <data variable="tw_disable_free_space"/>
2782 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002783 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002784 <data variable="tw_skip_md5_generate"/>
2785 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002786 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002787 <data variable="tw_skip_md5_check"/>
2788 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002790 <data variable="tw_military_time"/>
2791 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002793 <data variable="tw_simulate_actions"/>
2794 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002796 <condition var1="tw_simulate_actions" var2="1"/>
2797 <data variable="tw_simulate_fail"/>
2798 </listitem>
2799 </listbox>
2800
2801 <checkbox>
2802 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 <data variable="tw_samsung_navbar"/>
2805 </checkbox>
2806
2807 <button style="radiobutton">
2808 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2809 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002810 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002811 <image resource="radio_false"/>
2812 <action function="set">tw_navbar_button_position=0</action>
2813 </button>
2814
2815 <button style="radiobutton">
2816 <condition var1="tw_navbar_button_position" var2="0"/>
2817 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 <image resource="radio_true"/>
2820 <action function="set">tw_navbar_button_position=0</action>
2821 </button>
2822
2823 <button style="radiobutton">
2824 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2825 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 <image resource="radio_false"/>
2828 <action function="set">tw_navbar_button_position=1</action>
2829 </button>
2830
2831 <button style="radiobutton">
2832 <condition var1="tw_navbar_button_position" var2="1"/>
2833 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002834 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002835 <image resource="radio_true"/>
2836 <action function="set">tw_navbar_button_position=1</action>
2837 </button>
2838
2839 <button style="radiobutton">
2840 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2841 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002842 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002843 <image resource="radio_false"/>
2844 <action function="set">tw_navbar_button_position=2</action>
2845 </button>
2846
2847 <button style="radiobutton">
2848 <condition var1="tw_navbar_button_position" var2="2"/>
2849 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002850 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002851 <image resource="radio_true"/>
2852 <action function="set">tw_navbar_button_position=2</action>
2853 </button>
2854
2855 <button style="main_button_half_width">
2856 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002857 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002858 <action function="restoredefaultsettings"/>
2859 </button>
2860
2861 <action>
2862 <touch key="home"/>
2863 <action function="page">main</action>
2864 </action>
2865
2866 <action>
2867 <touch key="back"/>
2868 <action function="page">main</action>
2869 </action>
2870 </page>
2871
2872 <page name="settings_timezone">
2873 <template name="page"/>
2874
2875 <text style="text_l">
2876 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002878 </text>
2879
2880 <text style="text_m">
2881 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002882 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002883 </text>
2884
2885 <template name="tabs_settings"/>
2886
2887 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002888 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002889 </fill>
2890
2891 <listbox>
2892 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002893 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002894 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2896 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2897 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2898 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2899 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2900 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2901 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2902 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2903 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2904 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2905 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2906 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2907 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2908 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2909 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2910 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2911 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2912 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2913 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2914 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2915 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2916 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2917 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2918 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002919 </listbox>
2920
2921 <text style="text_m_accent">
2922 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002923 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002924 </text>
2925
2926 <button style="button_quarter_width">
2927 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002928 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002929 <action function="set">tw_time_zone_guioffset=0</action>
2930 </button>
2931
2932 <button style="button_quarter_width">
2933 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002934 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002935 <action function="set">tw_time_zone_guioffset=15</action>
2936 </button>
2937
2938 <button style="button_quarter_width">
2939 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002940 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002941 <action function="set">tw_time_zone_guioffset=30</action>
2942 </button>
2943
2944 <button style="button_quarter_width">
2945 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002946 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002947 <action function="set">tw_time_zone_guioffset=45</action>
2948 </button>
2949
2950 <checkbox>
2951 <placement x="%col1_x_right%" y="%row7_y%"/>
2952 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 <data variable="tw_time_zone_guidst"/>
2955 <image checked="checkbox_true" unchecked="checkbox_false"/>
2956 </checkbox>
2957
2958 <text color="%text_color%">
2959 <font resource="font_m"/>
2960 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002961 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002962 </text>
2963
2964 <button>
2965 <highlight color="%highlight_color%"/>
2966 <placement x="%col2_x_right%" y="%row15a_y%"/>
2967 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002969 <image resource="main_button_half_width"/>
2970 <action function="setguitimezone"/>
2971 </button>
2972
2973 <action>
2974 <touch key="home"/>
2975 <action function="page">main</action>
2976 </action>
2977
2978 <action>
2979 <touch key="back"/>
2980 <action function="page">main</action>
2981 </action>
2982 </page>
2983
2984 <page name="settings_screen">
2985 <template name="page"/>
2986
2987 <text style="text_l">
2988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <text style="text_m">
2993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 </text>
2996
2997 <template name="tabs_settings"/>
2998
2999 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003000 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003001 </fill>
3002
3003 <button>
3004 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3005 <font resource="font_m" color="%text_color%"/>
3006 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3007 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003009 <image resource="checkbox_false"/>
3010 <action function="set">tw_screen_timeout_secs=60</action>
3011 </button>
3012
3013 <button>
3014 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3015 <font resource="font_m" color="%text_color%"/>
3016 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3017 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 <image resource="checkbox_true"/>
3020 <action function="set">tw_screen_timeout_secs=0</action>
3021 </button>
3022
3023 <slidervalue>
3024 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3025 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3026 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003027 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003028 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3029 </slidervalue>
3030
3031 <slidervalue>
3032 <condition var1="tw_has_brightnesss_file" var2="1"/>
3033 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <data variable="tw_brightness_pct" min="10" max="100"/>
3036 <actions>
3037 <action function="set">tw_brightness=%tw_brightness_max%</action>
3038 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3039 <action function="compute">tw_brightness/100</action>
3040 <action function="setbrightness">%tw_brightness%</action>
3041 </actions>
3042 </slidervalue>
3043
3044 <action>
3045 <touch key="home"/>
3046 <action function="page">main</action>
3047 </action>
3048
3049 <action>
3050 <touch key="back"/>
3051 <action function="page">main</action>
3052 </action>
3053 </page>
3054
3055 <page name="settings_vibration">
3056 <template name="page"/>
3057
3058 <text style="text_l">
3059 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003060 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003061 </text>
3062
3063 <text style="text_m">
3064 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003065 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003066 </text>
3067
3068 <template name="tabs_settings"/>
3069
3070 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003071 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003072 </fill>
3073
3074 <slidervalue>
3075 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003077 <data variable="tw_button_vibrate" min="0" max="300"/>
3078 </slidervalue>
3079
3080 <slidervalue>
3081 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003083 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3084 </slidervalue>
3085
3086 <slidervalue>
3087 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 <data variable="tw_action_vibrate" min="0" max="500"/>
3090 </slidervalue>
3091
3092 <action>
3093 <touch key="home"/>
3094 <action function="page">main</action>
3095 </action>
3096
3097 <action>
3098 <touch key="back"/>
3099 <action function="page">main</action>
3100 </action>
3101 </page>
3102
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <page name="settings_language">
3104 <template name="page"/>
3105
3106 <text style="text_l">
3107 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3108 <text>{@settings_hdr=Settings}</text>
3109 </text>
3110
3111 <text style="text_m">
3112 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3113 <text>{@language_hdr=Language - %tw_language_display%}</text>
3114 </text>
3115
3116 <template name="tabs_settings"/>
3117
3118 <fill color="%text_color%">
3119 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3120 </fill>
3121
3122 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003123 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003124 <text>{@select_language=Select Language:}</text>
3125 <icon selected="radio_true" unselected="radio_false" />
3126 <data name="tw_language" />
3127 </listbox>
3128
z31s1g56189522016-01-13 19:12:40 +01003129 <button>
3130 <highlight color="%highlight_color%"/>
3131 <placement x="%col2_x_right%" y="%row15a_y%"/>
3132 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003134 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <action function="setlanguage"></action>
3136 </button>
3137
3138 <action>
3139 <touch key="home" />
3140 <action function="page">main</action>
3141 </action>
3142
3143 <action>
3144 <touch key="back" />
3145 <action function="page">settings</action>
3146 </action>
3147 </page>
3148
z31s1g28f0a922015-11-07 18:50:22 +01003149 <page name="advanced">
3150 <template name="page"/>
3151
3152 <text style="text_l">
3153 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003155 </text>
3156
3157 <button style="main_button">
3158 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <actions>
3161 <action function="set">tw_back=advanced</action>
3162 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3164 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3165 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3166 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003167 <action function="page">confirm_action</action>
3168 </actions>
3169 </button>
3170
3171 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003172 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003173 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003174 <text>{@fix_context_btn=Fix Contexts}</text>
3175 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003176 </button>
3177
3178 <button style="main_button">
3179 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3180 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003182 <actions>
3183 <action function="set">partitionlisterror=0</action>
3184 <action function="page">partsdcardsel</action>
3185 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003186 </button>
3187
3188 <button style="main_button">
3189 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003190 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003191 <action function="page">filemanagerlist</action>
3192 </button>
3193
3194 <button style="main_button">
3195 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003197 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003198 </button>
3199
3200 <button style="main_button">
3201 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="reload"/>
3204 </button>
3205
3206 <button style="main_button">
3207 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="page">sideload</action>
3210 </button>
3211
3212 <button style="main_button">
3213 <condition var1="tw_show_dumlock" var2="1"/>
3214 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003215 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003216 <action function="page">htcdumlock</action>
3217 </button>
3218
3219 <button style="main_button">
3220 <condition var1="tw_has_injecttwrp" var2="1"/>
3221 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003222 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003223 <actions>
3224 <action function="set">tw_back=advanced</action>
3225 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3227 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3228 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3229 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <action function="page">confirm_action</action>
3231 </actions>
3232 </button>
3233
3234 <action>
3235 <touch key="home"/>
3236 <action function="page">main</action>
3237 </action>
3238
3239 <action>
3240 <touch key="back"/>
3241 <action function="page">main</action>
3242 </action>
3243 </page>
3244
Ethan Yonker483e9f42016-01-11 22:21:18 -06003245 <page name="partsdcardsel">
3246 <template name="page"/>
3247
3248 <text style="text_l">
3249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3250 <text>{@advanced_hdr=Advanced}</text>
3251 </text>
3252
3253 <text style="text_m">
3254 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3255 <text>{@part_sd_hdr=Partition SD Card}</text>
3256 </text>
3257
z31s1g782e1c92016-01-30 16:50:09 +01003258 <partitionlist>
3259 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003260 <text>{@sel_storage_list=Select Storage}</text>
3261 <data name="tw_storage_path"/>
3262 <listtype name="storage"/>
3263 </partitionlist>
3264
z31s1g782e1c92016-01-30 16:50:09 +01003265 <text style="text_m_fail">
3266 <condition var1="partitionlisterror" var2="1"/>
3267 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3268 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3269 </text>
3270
3271 <button style="main_button_half_width">
3272 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003273 <text>{@ok_btn=OK}</text>
3274 <actions>
3275 <action function="getpartitiondetails">tw_storage_path</action>
3276 <action function="page">partsdcardcheck</action>
3277 </actions>
3278 </button>
3279
Ethan Yonker483e9f42016-01-11 22:21:18 -06003280 <action>
3281 <touch key="home"/>
3282 <action function="page">main</action>
3283 </action>
3284
3285 <action>
3286 <touch key="back"/>
3287 <action function="page">advanced</action>
3288 </action>
3289 </page>
3290
3291 <page name="partsdcardcheck">
3292 <action>
3293 <condition var1="tw_partition_removable" op="=" var2="1"/>
3294 <actions>
3295 <action function="set">partitionlisterror=0</action>
3296 <action function="page">partsdcard</action>
3297 </actions>
3298 </action>
3299
3300 <action>
3301 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3302 <actions>
3303 <action function="set">partitionlisterror=1</action>
3304 <action function="page">partsdcardsel</action>
3305 </actions>
3306 </action>
3307 </page>
3308
z31s1g28f0a922015-11-07 18:50:22 +01003309 <page name="partsdcard">
3310 <template name="page"/>
3311
3312 <text style="text_l">
3313 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003314 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003315 </text>
3316
3317 <text style="text_m">
3318 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </text>
3321
3322 <text style="text_m_fail">
3323 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 </text>
3326
3327 <text style="text_m_fail">
3328 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </text>
3331
3332 <text style="text_m_accent">
3333 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </text>
3336
3337 <text style="text_m">
3338 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3339 <text>%tw_sdext_size%</text>
3340 </text>
3341
3342 <button style="button_quarter_width">
3343 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003345 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </button>
3347
3348 <button style="button_quarter_width">
3349 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003351 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </button>
3353
3354 <text style="text_m_accent">
3355 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003357 </text>
3358
3359 <text style="text_m">
3360 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3361 <text>%tw_swap_size%</text>
3362 </text>
3363
3364 <button style="button_quarter_width">
3365 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003367 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003368 </button>
3369
3370 <button style="button_quarter_width">
3371 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003373 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003374 </button>
3375
3376 <text style="text_m_accent">
3377 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003379 </text>
3380
3381 <text style="text_m">
3382 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3383 <text>%tw_sdpart_file_system%</text>
3384 </text>
3385
3386 <button style="button_quarter_width">
3387 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3388 <text>EXT3</text>
3389 <action function="set">tw_sdpart_file_system=ext3</action>
3390 </button>
3391
3392 <button style="button_quarter_width">
3393 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3394 <text>EXT4</text>
3395 <action function="set">tw_sdpart_file_system=ext4</action>
3396 </button>
3397
3398 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <action function="page">partsdcardaction</action>
3401 <actions>
3402 <action function="set">tw_back=partsdcard</action>
3403 <action function="set">tw_action=partitionsd</action>
3404 <action function="set">tw_has_action2=1</action>
3405 <action function="set">tw_action2=set</action>
3406 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3408 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3409 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003410 <action function="page">action_page</action>
3411 </actions>
3412 </slider>
3413
3414 <action>
3415 <touch key="home"/>
3416 <action function="page">main</action>
3417 </action>
3418
3419 <action>
3420 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003421 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </action>
3423 </page>
3424
3425 <page name="htcdumlock">
3426 <template name="page"/>
3427
3428 <text style="text_l">
3429 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 </text>
3432
3433 <text style="text_m">
3434 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003436 </text>
3437
3438 <button style="main_button_m">
3439 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003440 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003441 <actions>
3442 <action function="set">tw_back=htcdumlock</action>
3443 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3445 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3446 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3447 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <action function="page">confirm_action</action>
3449 </actions>
3450 </button>
3451
3452 <button style="main_button_m">
3453 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <actions>
3456 <action function="set">tw_back=htcdumlock</action>
3457 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3459 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3460 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3461 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003462 <action function="page">confirm_action</action>
3463 </actions>
3464 </button>
3465
3466 <button style="main_button_m">
3467 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <actions>
3470 <action function="set">tw_back=htcdumlock</action>
3471 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3473 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3474 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3475 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003476 <action function="page">confirm_action</action>
3477 </actions>
3478 </button>
3479
3480 <action>
3481 <touch key="home"/>
3482 <action function="page">main</action>
3483 </action>
3484
3485 <action>
3486 <touch key="back"/>
3487 <action function="page">advanced</action>
3488 </action>
3489 </page>
3490
3491 <page name="lock">
3492 <background color="%semi_transparent%"/>
3493
3494 <image>
3495 <image resource="unlock_icon"/>
3496 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3497 </image>
3498
3499 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <action function="overlay"/>
3502 </slider>
3503 </page>
3504
3505 <page name="filemanagerlist">
3506 <template name="page"/>
3507
3508 <text style="text_l">
3509 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003511 </text>
3512
3513 <text style="text_m">
3514 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </text>
3517
3518 <template name="sort_options"/>
3519
3520 <fileselector>
3521 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3522 <text>%tw_file_location1%</text>
3523 <filter folders="1" files="1"/>
3524 <path name="tw_file_location1" default="/"/>
3525 <data name="tw_filename1"/>
3526 <selection name="tw_selection1"/>
3527 </fileselector>
3528
3529 <button style="main_button_half_width_low">
3530 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 <actions>
3533 <action function="set">tw_filename1=tw_file_location1</action>
3534 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <action function="page">filemanageroptions</action>
3537 </actions>
3538 </button>
3539
3540 <action>
3541 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <action function="set">tw_fm_isfolder=0</action>
3544 </actions>
3545 </action>
3546
3547 <action>
3548 <touch key="home"/>
3549 <action function="page">main</action>
3550 </action>
3551
3552 <action>
3553 <touch key="back"/>
3554 <action function="page">advanced</action>
3555 </action>
3556
3557 <action>
3558 <condition var1="tw_filename1" op="modified"/>
3559 <action function="page">filemanageroptions</action>
3560 </action>
3561 </page>
3562
3563 <page name="filemanageroptions">
3564 <template name="page"/>
3565
3566 <text style="text_l">
3567 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003568 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003569 </text>
3570
3571 <text style="text_m">
3572 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003574 </text>
3575
3576 <text style="text_m_accent">
3577 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 </text>
3580
3581 <text style="text_m">
3582 <placement x="%col1_x_left%" y="%row3_y%"/>
3583 <text>%tw_filename1%</text>
3584 </text>
3585
3586 <button style="main_button_half_width">
3587 <condition var1="tw_fm_isfolder" var2="0"/>
3588 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003590 <actions>
3591 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003593 <action function="page">choosedestinationfolder</action>
3594 </actions>
3595 </button>
3596
3597 <button style="main_button_half_width">
3598 <condition var1="tw_fm_isfolder" var2="1"/>
3599 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <actions>
3602 <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 -05003603 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003604 <action function="page">choosedestinationfolder</action>
3605 </actions>
3606 </button>
3607
3608 <button style="main_button_half_width">
3609 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <actions>
3612 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003614 <action function="page">choosedestinationfolder</action>
3615 </actions>
3616 </button>
3617
3618 <button style="main_button_half_width">
3619 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <actions>
3622 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003624 <action function="set">tw_fm_text2=</action>
3625 <action function="set">tw_fm_text3=</action>
3626 <action function="set">tw_include_text3=0</action>
3627 <action function="set">tw_back=filemanageroptions</action>
3628 <action function="page">filemanagerconfirm</action>
3629 </actions>
3630 </button>
3631
3632 <button style="main_button_half_width">
3633 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 <actions>
3636 <action function="set">tw_filemanager_rename=0000</action>
3637 <action function="set">tw_fm_text2=</action>
3638 <action function="set">tw_fm_text3=</action>
3639 <action function="set">tw_include_text3=0</action>
3640 <action function="set">tw_back=filemanageroptions</action>
3641 <action function="page">filemanagerchmod</action>
3642 </actions>
3643 </button>
3644
3645 <button style="main_button_half_width">
3646 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003648 <actions>
3649 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003651 <action function="set">tw_fm_text2=</action>
3652 <action function="set">tw_fm_text3=</action>
3653 <action function="set">tw_include_text3=0</action>
3654 <action function="set">tw_back=filemanageroptions</action>
3655 <action function="page">filemanagerconfirm</action>
3656 </actions>
3657 </button>
3658
3659 <button style="main_button_half_width">
3660 <condition var1="tw_fm_isfolder" var2="0"/>
3661 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <actions>
3664 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003666 <action function="set">tw_filemanager_command=mv</action>
3667 <action function="page">filemanagerrenamefile</action>
3668 </actions>
3669 </button>
3670
3671 <button style="main_button_half_width">
3672 <condition var1="tw_fm_isfolder" var2="1"/>
3673 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <actions>
3676 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003678 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3679 <action function="page">filemanagerrenamefolder</action>
3680 </actions>
3681 </button>
3682
3683 <action>
3684 <touch key="home"/>
3685 <action function="page">main</action>
3686 </action>
3687
3688 <action>
3689 <touch key="back"/>
3690 <action function="page">filemanagerlist</action>
3691 </action>
3692 </page>
3693
3694 <page name="choosedestinationfolder">
3695 <template name="page"/>
3696
3697 <text style="text_l">
3698 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003700 </text>
3701
3702 <text style="text_m">
3703 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003704 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003705 </text>
3706
3707 <template name="sort_options"/>
3708
3709 <fileselector>
3710 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3711 <text>%tw_file_location2%</text>
3712 <filter folders="1" files="0"/>
3713 <path name="tw_file_location2" default="/"/>
3714 <data name="tw_filename2"/>
3715 <selection name="tw_selection2"/>
3716 </fileselector>
3717
3718 <button style="main_button_half_width_low">
3719 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <actions>
3722 <action function="set">tw_fm_text2=to</action>
3723 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3724 <action function="set">tw_include_text3=1</action>
3725 <action function="set">tw_back=filemanageroptions</action>
3726 <action function="page">filemanagerconfirm</action>
3727 </actions>
3728 </button>
3729
3730 <action>
3731 <touch key="home"/>
3732 <action function="page">main</action>
3733 </action>
3734
3735 <action>
3736 <touch key="back"/>
3737 <action function="page">filemanageroptions</action>
3738 </action>
3739 </page>
3740
3741 <page name="filemanagerrenamefile">
3742 <template name="page"/>
3743
3744 <text style="text_l">
3745 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 </text>
3748
3749 <text style="text_m">
3750 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </text>
3753
3754 <text style="text_m_accent">
3755 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003757 </text>
3758
3759 <input>
3760 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3761 <text>%tw_filemanager_rename%</text>
3762 <data name="tw_filemanager_rename"/>
3763 <restrict minlen="1" maxlen="128"/>
3764 <actions>
3765 <action function="set">tw_fm_text2=to</action>
3766 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3767 <action function="set">tw_include_text3=1</action>
3768 <action function="set">tw_back=filemanageroptions</action>
3769 <action function="page">filemanagerconfirm</action>
3770 </actions>
3771 </input>
3772
3773 <fill color="%accent_color%">
3774 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3775 </fill>
3776
3777 <button style="main_button_half_width_low">
3778 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <action function="page">filemanageroptions</action>
3781 </button>
3782
3783 <template name="keyboardtemplate"/>
3784
3785 <action>
3786 <touch key="home"/>
3787 <action function="page">main</action>
3788 </action>
3789
3790 <action>
3791 <touch key="back"/>
3792 <action function="page">filemanageroptions</action>
3793 </action>
3794 </page>
3795
3796 <page name="filemanagerrenamefolder">
3797 <template name="page"/>
3798
3799 <text style="text_l">
3800 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 </text>
3803
3804 <text style="text_m">
3805 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003807 </text>
3808
3809 <text style="text_m_accent">
3810 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003811 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003812 </text>
3813
3814 <input>
3815 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3816 <text>%tw_filemanager_rename%</text>
3817 <data name="tw_filemanager_rename"/>
3818 <restrict minlen="1" maxlen="128"/>
3819 <actions>
3820 <action function="set">tw_fm_text2=to</action>
3821 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3822 <action function="set">tw_include_text3=1</action>
3823 <action function="set">tw_back=filemanageroptions</action>
3824 <action function="page">filemanagerconfirm</action>
3825 </actions>
3826 </input>
3827
3828 <fill color="%accent_color%">
3829 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3830 </fill>
3831
3832 <button style="main_button_half_width_low">
3833 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 <action function="page">filemanageroptions</action>
3836 </button>
3837
3838 <template name="keyboardtemplate"/>
3839
3840 <action>
3841 <touch key="home"/>
3842 <action function="page">main</action>
3843 </action>
3844
3845 <action>
3846 <touch key="back"/>
3847 <action function="page">filemanageroptions</action>
3848 </action>
3849 </page>
3850
3851 <page name="filemanagerchmod">
3852 <template name="page"/>
3853
3854 <text style="text_l">
3855 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 </text>
3858
3859 <text style="text_m">
3860 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003861 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003862 </text>
3863
3864 <text style="text_m_accent">
3865 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 </text>
3868
3869 <input>
3870 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3871 <text>%tw_filemanager_rename%</text>
3872 <data name="tw_filemanager_rename"/>
3873 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3874 <actions>
3875 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3876 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3877 <action function="set">tw_back=filemanageroptions</action>
3878 <action function="page">filemanagerconfirm</action>
3879 </actions>
3880 </input>
3881
3882 <fill color="%accent_color%">
3883 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3884 </fill>
3885
3886 <button style="main_button_half_width_low">
3887 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 <action function="page">filemanageroptions</action>
3890 </button>
3891
3892 <template name="keyboardtemplate"/>
3893
3894 <action>
3895 <touch key="home"/>
3896 <action function="page">main</action>
3897 </action>
3898
3899 <action>
3900 <touch key="back"/>
3901 <action function="page">filemanageroptions</action>
3902 </action>
3903 </page>
3904
3905 <page name="filemanagerconfirm">
3906 <template name="page"/>
3907
3908 <text style="text_l">
3909 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 </text>
3912
3913 <text style="text_m">
3914 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 </text>
3917
3918 <text style="text_m_accent">
3919 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3920 <text>%tw_fm_text1%</text>
3921 </text>
3922
3923 <text style="text_m">
3924 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3925 <text>%tw_filename1%</text>
3926 </text>
3927
3928 <text style="text_m_accent">
3929 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3930 <text>%tw_fm_text2%</text>
3931 </text>
3932
3933 <text style="text_m">
3934 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3935 <text>%tw_fm_text3%</text>
3936 </text>
3937
3938 <text style="text_m">
3939 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 <action function="page">filemanageraction</action>
3946 </slider>
3947
3948 <action>
3949 <touch key="back"/>
3950 <action function="page">%tw_back%</action>
3951 </action>
3952
3953 <action>
3954 <touch key="home"/>
3955 <action function="page">main</action>
3956 </action>
3957 </page>
3958
3959 <page name="filemanageraction">
3960 <template name="page"/>
3961
3962 <text style="text_l">
3963 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 </text>
3966
3967 <text style="text_m">
3968 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3969 <text>%tw_fm_text1%</text>
3970 </text>
3971
3972 <template name="console"/>
3973
3974 <template name="progress_bar"/>
3975
3976 <action>
3977 <conditions>
3978 <condition var1="tw_operation_state" var2="1"/>
3979 <condition var1="tw_operation_status" var2="0"/>
3980 </conditions>
3981 <actions>
3982 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <action function="page">action_complete</action>
3985 </actions>
3986 </action>
3987
3988 <action>
3989 <conditions>
3990 <condition var1="tw_operation_state" var2="1"/>
3991 <condition var1="tw_operation_status" op="!=" var2="0"/>
3992 </conditions>
3993 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003995 <action function="page">action_complete</action>
3996 </actions>
3997 </action>
3998
3999 <action>
4000 <condition var1="tw_include_text3" var2="0"/>
4001 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4002 </action>
4003
4004 <action>
4005 <condition var1="tw_include_text3" var2="1"/>
4006 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4007 </action>
4008 </page>
4009
4010 <page name="decrypt">
4011 <template name="page"/>
4012
4013 <action>
4014 <condition var1="tw_crypto_pwtype" var2="2"/>
4015 <action function="page">decrypt_pattern</action>
4016 </action>
4017
4018 <text style="text_l">
4019 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 </text>
4022
4023 <text style="text_m">
4024 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004025 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004026 </text>
4027
4028 <text style="text_m_accent">
4029 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004030 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004031 </text>
4032
4033 <input>
4034 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4035 <text>%tw_crypto_display%</text>
4036 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4037 <restrict minlen="1" maxlen="254"/>
4038 <action function="page">trydecrypt</action>
4039 </input>
4040
4041 <fill color="%accent_color%">
4042 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4043 </fill>
4044
4045 <fill color="%text_fail_color%">
4046 <condition var1="tw_password_fail" var2="1"/>
4047 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4048 </fill>
4049
4050 <text style="text_m_fail">
4051 <condition var1="tw_password_fail" var2="1"/>
4052 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004053 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <button style="main_button_half_width_low">
4057 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <actions>
4060 <action function="set">tw_page_done=1</action>
4061 <action function="page">main</action>
4062 </actions>
4063 </button>
4064
z31s1g608d7ff2016-01-18 19:47:25 +01004065 <button style="main_button_half_width_low">
4066 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4067 <text>{@sel_lang_btn=Select Language}</text>
4068 <action function="overlay">select_language</action>
4069 </button>
4070
z31s1g28f0a922015-11-07 18:50:22 +01004071 <template name="keyboardtemplate"/>
4072 </page>
4073
4074 <page name="decrypt_pattern">
4075 <template name="page"/>
4076
4077 <text style="text_l">
4078 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <text style="text_m">
4083 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004088 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
Aleksa Saraib25a1832015-12-31 17:36:00 +01004092 <text style="text_m_fail">
4093 <condition var1="tw_password_fail" var2="1"/>
4094 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004095 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004096 </text>
4097
z31s1g28f0a922015-11-07 18:50:22 +01004098 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004099 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004100 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4101 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4102 <data name="tw_crypto_password"/>
4103 <action function="page">trydecrypt</action>
4104 </patternpassword>
4105
Aleksa Saraib25a1832015-12-31 17:36:00 +01004106 <button style="main_button_half_width_low">
4107 <placement x="%col_button_right%" y="%row1a_y%"/>
4108 <text>3x3</text>
4109 <action function="set">tw_gui_pattern_grid_size=3</action>
4110 </button>
4111
4112 <button style="main_button_half_width_low">
4113 <placement x="%col_button_right%" y="%row4a_y%"/>
4114 <text>4x4</text>
4115 <action function="set">tw_gui_pattern_grid_size=4</action>
4116 </button>
4117
4118 <button style="main_button_half_width_low">
4119 <placement x="%col_button_right%" y="%row7a_y%"/>
4120 <text>5x5</text>
4121 <action function="set">tw_gui_pattern_grid_size=5</action>
4122 </button>
4123
4124 <button style="main_button_half_width_low">
4125 <placement x="%col_button_right%" y="%row10a_y%"/>
4126 <text>6x6</text>
4127 <action function="set">tw_gui_pattern_grid_size=6</action>
4128 </button>
4129
z31s1g28f0a922015-11-07 18:50:22 +01004130 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004131 <placement x="%col1_x_right%" y="%row15a_y%"/>
4132 <text>{@sel_lang_btn=Select Language}</text>
4133 <action function="overlay">select_language</action>
4134 </button>
4135
4136 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004137 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004138 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004139 <actions>
4140 <action function="set">tw_page_done=1</action>
4141 <action function="page">main</action>
4142 </actions>
4143 </button>
4144 </page>
4145
4146 <page name="trydecrypt">
4147 <template name="page"/>
4148
4149 <text style="text_l">
4150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 </text>
4153
4154 <text style="text_m">
4155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 </text>
4158
4159 <template name="console"/>
4160
4161 <template name="progress_bar"/>
4162
4163 <action>
4164 <action function="decrypt"/>
4165 </action>
4166
4167 <action>
4168 <conditions>
4169 <condition var1="tw_operation_state" var2="1"/>
4170 <condition var1="tw_operation_status" op="!=" var2="0"/>
4171 </conditions>
4172 <actions>
4173 <action function="set">tw_password_fail=1</action>
4174 <action function="page">decrypt</action>
4175 </actions>
4176 </action>
4177
4178 <action>
4179 <conditions>
4180 <condition var1="tw_operation_state" var2="1"/>
4181 <condition var1="tw_operation_status" op="=" var2="0"/>
4182 </conditions>
4183 <actions>
4184 <action function="set">tw_page_done=1</action>
4185 <action function="page">main</action>
4186 </actions>
4187 </action>
4188 </page>
4189
z31s1g28f0a922015-11-07 18:50:22 +01004190 <page name="terminalcommand">
4191 <template name="page"/>
4192
4193 <fill color="%background_color%">
4194 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4195 </fill>
4196
z31s1g56189522016-01-13 19:12:40 +01004197 <terminal>
4198 <condition var1="tw_hide_kb" var2="0"/>
4199 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4200 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004201
z31s1g56189522016-01-13 19:12:40 +01004202 <terminal>
4203 <condition var1="tw_hide_kb" var2="1"/>
4204 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4205 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004206
z31s1g56189522016-01-13 19:12:40 +01004207 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004208
z31s1g56189522016-01-13 19:12:40 +01004209 <object type="fill" color="#000000">
4210 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4211 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004212
z31s1g608d7ff2016-01-18 19:47:25 +01004213 <button>
z31s1g56189522016-01-13 19:12:40 +01004214 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4215 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4216 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4217 <image resource="back" />
4218 <condition var1="tw_busy" var2="0" />
4219 <actions>
4220 <action function="set">tw_hide_kb=0</action>
4221 <action function="page">advanced</action>
4222 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004223 </button>
z31s1g56189522016-01-13 19:12:40 +01004224
z31s1g608d7ff2016-01-18 19:47:25 +01004225 <button>
z31s1g56189522016-01-13 19:12:40 +01004226 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4227 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4228 <condition var1="tw_hide_kb" op="=" var2="0" />
4229 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4230 <image resource="kb_hide" />
4231 <condition var1="tw_busy" var2="0" />
4232 <actions>
4233 <action function="set">tw_hide_kb=1</action>
4234 <action function="page">terminalcommand</action>
4235 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004236 </button>
z31s1g56189522016-01-13 19:12:40 +01004237
z31s1g608d7ff2016-01-18 19:47:25 +01004238 <button>
z31s1g56189522016-01-13 19:12:40 +01004239 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4240 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4241 <condition var1="tw_hide_kb" op="=" var2="1" />
4242 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4243 <image resource="kb_show" />
4244 <condition var1="tw_busy" var2="0" />
4245 <actions>
4246 <action function="set">tw_hide_kb=0</action>
4247 <action function="page">terminalcommand</action>
4248 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004249 </button>
z31s1g56189522016-01-13 19:12:40 +01004250
z31s1g608d7ff2016-01-18 19:47:25 +01004251 <button>
z31s1g56189522016-01-13 19:12:40 +01004252 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4253 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4254 <image resource="home" />
4255 <condition var1="tw_busy" var2="0" />
4256 <actions>
4257 <action function="set">tw_hide_kb=0</action>
4258 <action function="key">home</action>
4259 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004260 </button>
z31s1g56189522016-01-13 19:12:40 +01004261
z31s1g608d7ff2016-01-18 19:47:25 +01004262 <button>
z31s1g56189522016-01-13 19:12:40 +01004263 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4264 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4265 <condition var1="tw_hide_kb" op="=" var2="0" />
4266 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4267 <image resource="kb_hide" />
4268 <condition var1="tw_busy" var2="0" />
4269 <actions>
4270 <action function="set">tw_hide_kb=1</action>
4271 <action function="page">terminalcommand</action>
4272 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004273 </button>
z31s1g56189522016-01-13 19:12:40 +01004274
z31s1g608d7ff2016-01-18 19:47:25 +01004275 <button>
z31s1g56189522016-01-13 19:12:40 +01004276 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4277 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4278 <condition var1="tw_hide_kb" op="=" var2="1" />
4279 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4280 <image resource="kb_show" />
4281 <condition var1="tw_busy" var2="0" />
4282 <actions>
4283 <action function="set">tw_hide_kb=0</action>
4284 <action function="page">terminalcommand</action>
4285 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004286 </button>
z31s1g56189522016-01-13 19:12:40 +01004287
z31s1g608d7ff2016-01-18 19:47:25 +01004288 <button>
z31s1g56189522016-01-13 19:12:40 +01004289 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4290 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4291 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4292 <image resource="back" />
4293 <condition var1="tw_busy" var2="0" />
4294 <actions>
4295 <action function="set">tw_hide_kb=0</action>
4296 <action function="page">advanced</action>
4297 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004298 </button>
z31s1g56189522016-01-13 19:12:40 +01004299
z31s1g608d7ff2016-01-18 19:47:25 +01004300 <button>
z31s1g56189522016-01-13 19:12:40 +01004301 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4302 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4303 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4304 <image resource="back" />
4305 <condition var1="tw_busy" var2="0" />
4306 <actions>
4307 <action function="set">tw_hide_kb=0</action>
4308 <action function="page">advanced</action>
4309 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004310 </button>
z31s1g56189522016-01-13 19:12:40 +01004311
z31s1g608d7ff2016-01-18 19:47:25 +01004312 <button>
z31s1g56189522016-01-13 19:12:40 +01004313 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4314 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4315 <condition var1="tw_hide_kb" op="=" var2="0" />
4316 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4317 <image resource="kb_hide" />
4318 <condition var1="tw_busy" var2="0" />
4319 <actions>
4320 <action function="set">tw_hide_kb=1</action>
4321 <action function="page">terminalcommand</action>
4322 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004323 </button>
z31s1g56189522016-01-13 19:12:40 +01004324
z31s1g608d7ff2016-01-18 19:47:25 +01004325 <button>
z31s1g56189522016-01-13 19:12:40 +01004326 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4327 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4328 <condition var1="tw_hide_kb" op="=" var2="1" />
4329 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4330 <image resource="kb_show" />
4331 <condition var1="tw_busy" var2="0" />
4332 <actions>
4333 <action function="set">tw_hide_kb=0</action>
4334 <action function="page">terminalcommand</action>
4335 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004336 </button>
z31s1g56189522016-01-13 19:12:40 +01004337
z31s1g608d7ff2016-01-18 19:47:25 +01004338 <button>
z31s1g56189522016-01-13 19:12:40 +01004339 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4340 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4341 <image resource="home" />
4342 <condition var1="tw_busy" var2="0" />
4343 <actions>
4344 <action function="set">tw_hide_kb=0</action>
4345 <action function="key">home</action>
4346 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004347 </button>
z31s1g56189522016-01-13 19:12:40 +01004348
z31s1g608d7ff2016-01-18 19:47:25 +01004349 <button>
z31s1g56189522016-01-13 19:12:40 +01004350 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4351 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4352 <condition var1="tw_hide_kb" op="=" var2="0" />
4353 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4354 <image resource="kb_hide" />
4355 <condition var1="tw_busy" var2="0" />
4356 <actions>
4357 <action function="set">tw_hide_kb=1</action>
4358 <action function="page">terminalcommand</action>
4359 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004360 </button>
z31s1g56189522016-01-13 19:12:40 +01004361
z31s1g608d7ff2016-01-18 19:47:25 +01004362 <button>
z31s1g56189522016-01-13 19:12:40 +01004363 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4364 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4365 <condition var1="tw_hide_kb" op="=" var2="1" />
4366 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4367 <image resource="kb_show" />
4368 <condition var1="tw_busy" var2="0" />
4369 <actions>
4370 <action function="set">tw_hide_kb=0</action>
4371 <action function="page">terminalcommand</action>
4372 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004373 </button>
z31s1g56189522016-01-13 19:12:40 +01004374
z31s1g608d7ff2016-01-18 19:47:25 +01004375 <button>
z31s1g56189522016-01-13 19:12:40 +01004376 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4377 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4378 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4379 <image resource="back" />
4380 <condition var1="tw_busy" var2="0" />
4381 <actions>
4382 <action function="set">tw_hide_kb=0</action>
4383 <action function="page">advanced</action>
4384 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004385 </button>
z31s1g56189522016-01-13 19:12:40 +01004386
z31s1g608d7ff2016-01-18 19:47:25 +01004387 <button>
z31s1g56189522016-01-13 19:12:40 +01004388 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4389 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4390 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4391 <image resource="back" />
4392 <condition var1="tw_busy" var2="0" />
4393 <actions>
4394 <action function="set">tw_hide_kb=0</action>
4395 <action function="page">advanced</action>
4396 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004397 </button>
z31s1g56189522016-01-13 19:12:40 +01004398
z31s1g608d7ff2016-01-18 19:47:25 +01004399 <button>
z31s1g56189522016-01-13 19:12:40 +01004400 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4401 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4402 <condition var1="tw_hide_kb" op="=" var2="0" />
4403 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4404 <image resource="kb_hide" />
4405 <condition var1="tw_busy" var2="0" />
4406 <actions>
4407 <action function="set">tw_hide_kb=1</action>
4408 <action function="page">terminalcommand</action>
4409 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004410 </button>
z31s1g56189522016-01-13 19:12:40 +01004411
z31s1g608d7ff2016-01-18 19:47:25 +01004412 <button>
z31s1g56189522016-01-13 19:12:40 +01004413 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4414 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4415 <condition var1="tw_hide_kb" op="=" var2="1" />
4416 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4417 <image resource="kb_show" />
4418 <condition var1="tw_busy" var2="0" />
4419 <actions>
4420 <action function="set">tw_hide_kb=0</action>
4421 <action function="page">terminalcommand</action>
4422 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004423 </button>
z31s1g56189522016-01-13 19:12:40 +01004424
z31s1g608d7ff2016-01-18 19:47:25 +01004425 <button>
z31s1g56189522016-01-13 19:12:40 +01004426 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4427 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4428 <image resource="home" />
4429 <condition var1="tw_busy" var2="0" />
4430 <actions>
4431 <action function="set">tw_hide_kb=0</action>
4432 <action function="key">home</action>
4433 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004434 </button>
z31s1g56189522016-01-13 19:12:40 +01004435
z31s1g608d7ff2016-01-18 19:47:25 +01004436 <button>
z31s1g56189522016-01-13 19:12:40 +01004437 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4438 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4439 <condition var1="tw_hide_kb" op="=" var2="0" />
4440 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4441 <image resource="kb_hide" />
4442 <condition var1="tw_busy" var2="0" />
4443 <actions>
4444 <action function="set">tw_hide_kb=1</action>
4445 <action function="page">terminalcommand</action>
4446 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004447 </button>
z31s1g56189522016-01-13 19:12:40 +01004448
z31s1g608d7ff2016-01-18 19:47:25 +01004449 <button>
z31s1g56189522016-01-13 19:12:40 +01004450 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4451 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4452 <condition var1="tw_hide_kb" op="=" var2="1" />
4453 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4454 <image resource="kb_show" />
4455 <condition var1="tw_busy" var2="0" />
4456 <actions>
4457 <action function="set">tw_hide_kb=0</action>
4458 <action function="page">terminalcommand</action>
4459 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004460 </button>
z31s1g56189522016-01-13 19:12:40 +01004461
z31s1g608d7ff2016-01-18 19:47:25 +01004462 <button>
z31s1g56189522016-01-13 19:12:40 +01004463 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4464 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4465 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4466 <image resource="back" />
4467 <condition var1="tw_busy" var2="0" />
4468 <actions>
4469 <action function="set">tw_hide_kb=0</action>
4470 <action function="page">advanced</action>
4471 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004472 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004473
4474 <action>
4475 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004476 <actions>
4477 <action function="page">main</action>
4478 <action function="set">tw_hide_kb=0</action>
4479 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </action>
4481
4482 <action>
4483 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004484 <actions>
4485 <action function="page">advanced</action>
4486 <action function="set">tw_hide_kb=0</action>
4487 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004488 </action>
z31s1g56189522016-01-13 19:12:40 +01004489
4490 <object type="action">
4491 <touch key="power+voldown" />
4492 <action function="screenshot" />
4493 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004494 </page>
4495
4496 <page name="sideload">
4497 <template name="page"/>
4498
4499 <text style="text_l">
4500 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </text>
4503
4504 <text style="text_m">
4505 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </text>
4508
4509 <checkbox>
4510 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 <data variable="tw_wipe_dalvik"/>
4513 </checkbox>
4514
4515 <checkbox>
4516 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004518 <data variable="tw_wipe_cache"/>
4519 </checkbox>
4520
4521 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004522 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004523 <actions>
4524 <action function="set">tw_back=advanced</action>
4525 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4527 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4528 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004529 <action function="set">tw_has_cancel=1</action>
4530 <action function="set">tw_show_reboot=1</action>
4531 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4532 <action function="page">action_page</action>
4533 </actions>
4534 </slider>
4535
4536 <action>
4537 <touch key="home"/>
4538 <action function="page">main</action>
4539 </action>
4540
4541 <action>
4542 <touch key="back"/>
4543 <action function="page">advanced</action>
4544 </action>
4545 </page>
4546
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004547 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004548 <template name="page"/>
4549
4550 <text style="text_l">
4551 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004552 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004553 </text>
4554
4555 <text style="text_m">
4556 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004557 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004558 </text>
4559
4560 <text style="text_m_accent">
4561 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004562 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004563 </text>
4564
z31s1g28f0a922015-11-07 18:50:22 +01004565 <text style="text_m_fail">
4566 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004567 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004568 </text>
4569
4570 <text style="text_m_fail">
4571 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004572 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004573 </text>
4574
4575 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004576 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004577 <actions>
4578 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004579 <action function="set">tw_action=fixcontexts</action>
4580 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4581 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004582 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004583 <action function="set">tw_show_reboot=1</action>
4584 <action function="page">action_page</action>
4585 </actions>
4586 </slider>
4587
4588 <action>
4589 <touch key="home"/>
4590 <action function="page">main</action>
4591 </action>
4592
4593 <action>
4594 <touch key="back"/>
4595 <action function="page">advanced</action>
4596 </action>
4597 </page>
4598
4599 <page name="installsu">
4600 <template name="page"/>
4601
4602 <text style="text_l">
4603 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <text style="text_m">
4608 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 </text>
4611
4612 <text style="text_m_accent">
4613 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004614 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004615 </text>
4616
4617 <text style="text_m">
4618 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 </text>
4621
4622 <text style="text_m">
4623 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004625 </text>
4626
4627 <button style="main_button_half_width">
4628 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 <action function="set">tw_page_done=1</action>
4631 </button>
4632
4633 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <actions>
4636 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004638 <action function="set">tw_action_text2=</action>
4639 <action function="page">singleaction_page</action>
4640 </actions>
4641 </slider>
4642 </page>
4643
4644 <page name="slideout">
4645 <fill color="%background_color%">
4646 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4647 </fill>
4648
4649 <console>
4650 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4651 </console>
4652
4653 <button>
4654 <fill color="%transparent%"/>
4655 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4656 <action function="overlay"/>
4657 </button>
4658
4659 <action>
4660 <touch key="power+voldown"/>
4661 <action function="screenshot"/>
4662 </action>
4663 </page>
4664
4665 <page name="select_storage">
4666 <fill color="%semi_transparent%">
4667 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4668 </fill>
4669
4670 <fill color="%background_color%">
4671 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4672 </fill>
4673
4674 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 <data name="tw_storage_path"/>
4677 <listtype name="storage"/>
4678 </partitionlist>
4679
4680 <button style="button_third_width">
4681 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 <actions>
4684 <action function="set">tw_clear_destination=%tw_back%</action>
4685 <action function="overlay"/>
4686 <action function="page">clear_vars</action>
4687 </actions>
4688 </button>
4689
4690 <fill color="#000000">
4691 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4692 </fill>
4693
4694 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004695 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4696 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4697 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4698 <image resource="back" />
4699 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004700 <actions>
4701 <action function="overlay"/>
4702 <action function="key">%tw_back%</action>
4703 </actions>
4704 </button>
4705
4706 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004707 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4708 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4709 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4710 <image resource="console" />
4711 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004712 <action function="overlay">slideout</action>
4713 </button>
4714
4715 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004716 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4717 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4718 <image resource="home" />
4719 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004720 <actions>
4721 <action function="overlay"/>
4722 <action function="key">home</action>
4723 </actions>
4724 </button>
4725
4726 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004727 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4728 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4729 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4730 <image resource="console" />
4731 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004732 <action function="overlay">slideout</action>
4733 </button>
4734
4735 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004736 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4737 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4738 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4739 <image resource="back" />
4740 <condition var1="tw_busy" var2="0" />
4741 <actions>
4742 <action function="overlay"/>
4743 <action function="key">%tw_back%</action>
4744 </actions>
4745 </button>
4746
4747 <button>
4748 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4749 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4750 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4751 <image resource="back" />
4752 <condition var1="tw_busy" var2="0" />
4753 <actions>
4754 <action function="overlay"/>
4755 <action function="key">%tw_back%</action>
4756 </actions>
4757 </button>
4758
4759 <button>
4760 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4761 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4762 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4763 <image resource="console" />
4764 <condition var1="tw_busy" var2="0" />
4765 <action function="overlay">slideout</action>
4766 </button>
4767
4768 <button>
4769 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4770 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4771 <image resource="home" />
4772 <condition var1="tw_busy" var2="0" />
4773 <actions>
4774 <action function="overlay"/>
4775 <action function="key">home</action>
4776 </actions>
4777 </button>
4778
4779 <button>
4780 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4781 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4782 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4783 <image resource="console" />
4784 <condition var1="tw_busy" var2="0" />
4785 <action function="overlay">slideout</action>
4786 </button>
4787
4788 <button>
4789 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4790 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4791 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4792 <image resource="back" />
4793 <condition var1="tw_busy" var2="0" />
4794 <actions>
4795 <action function="overlay"/>
4796 <action function="key">%tw_back%</action>
4797 </actions>
4798 </button>
4799
4800 <button>
4801 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4802 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4803 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4804 <image resource="back" />
4805 <condition var1="tw_busy" var2="0" />
4806 <actions>
4807 <action function="overlay"/>
4808 <action function="key">%tw_back%</action>
4809 </actions>
4810 </button>
4811
4812 <button>
4813 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4814 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4815 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4816 <image resource="console" />
4817 <condition var1="tw_busy" var2="0" />
4818 <action function="overlay">slideout</action>
4819 </button>
4820
4821 <button>
4822 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4823 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4824 <image resource="home" />
4825 <condition var1="tw_busy" var2="0" />
4826 <actions>
4827 <action function="overlay"/>
4828 <action function="key">home</action>
4829 </actions>
4830 </button>
4831
4832 <button>
4833 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4834 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4835 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4836 <image resource="console" />
4837 <condition var1="tw_busy" var2="0" />
4838 <action function="overlay">slideout</action>
4839 </button>
4840
4841 <button>
4842 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4843 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4844 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4845 <image resource="back" />
4846 <condition var1="tw_busy" var2="0" />
4847 <actions>
4848 <action function="overlay"/>
4849 <action function="key">%tw_back%</action>
4850 </actions>
4851 </button>
4852
4853 <action>
4854 <touch key="power+voldown"/>
4855 <action function="screenshot"/>
4856 </action>
4857 </page>
4858
4859 <page name="select_language">
4860 <fill color="%semi_transparent%">
4861 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4862 </fill>
4863
4864 <fill color="%background_color%">
4865 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4866 </fill>
4867
4868 <listbox>
4869 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4870 <text>{@select_language=Select Language:}</text>
4871 <icon selected="radio_true" unselected="radio_false" />
4872 <data name="tw_language" />
4873 </listbox>
4874
4875 <button style="button_third_width">
4876 <placement x="%dialog_button_x%" y="%row13_y%"/>
4877 <text>{@ok_btn=OK}</text>
4878 <actions>
4879 <action function="overlay"/>
4880 <action function="setlanguage"></action>
4881 </actions>
4882 </button>
4883
4884 <fill color="#000000">
4885 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4886 </fill>
4887
4888 <button>
4889 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4890 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4891 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4892 <image resource="back" />
4893 <condition var1="tw_busy" var2="0" />
4894 <actions>
4895 <action function="overlay"/>
4896 <action function="key">%tw_back%</action>
4897 </actions>
4898 </button>
4899
4900 <button>
4901 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4902 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4903 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4904 <image resource="console" />
4905 <condition var1="tw_busy" var2="0" />
4906 <action function="overlay">slideout</action>
4907 </button>
4908
4909 <button>
4910 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4911 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4912 <image resource="home" />
4913 <condition var1="tw_busy" var2="0" />
4914 <actions>
4915 <action function="overlay"/>
4916 <action function="key">home</action>
4917 </actions>
4918 </button>
4919
4920 <button>
4921 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4922 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4923 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4924 <image resource="console" />
4925 <condition var1="tw_busy" var2="0" />
4926 <action function="overlay">slideout</action>
4927 </button>
4928
4929 <button>
4930 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4931 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4932 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4933 <image resource="back" />
4934 <condition var1="tw_busy" var2="0" />
4935 <actions>
4936 <action function="overlay"/>
4937 <action function="key">%tw_back%</action>
4938 </actions>
4939 </button>
4940
4941 <button>
4942 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4943 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4944 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4945 <image resource="back" />
4946 <condition var1="tw_busy" var2="0" />
4947 <actions>
4948 <action function="overlay"/>
4949 <action function="key">%tw_back%</action>
4950 </actions>
4951 </button>
4952
4953 <button>
4954 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4955 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4956 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4957 <image resource="console" />
4958 <condition var1="tw_busy" var2="0" />
4959 <action function="overlay">slideout</action>
4960 </button>
4961
4962 <button>
4963 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4964 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4965 <image resource="home" />
4966 <condition var1="tw_busy" var2="0" />
4967 <actions>
4968 <action function="overlay"/>
4969 <action function="key">home</action>
4970 </actions>
4971 </button>
4972
4973 <button>
4974 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4975 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4976 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4977 <image resource="console" />
4978 <condition var1="tw_busy" var2="0" />
4979 <action function="overlay">slideout</action>
4980 </button>
4981
4982 <button>
4983 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4984 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4985 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4986 <image resource="back" />
4987 <condition var1="tw_busy" var2="0" />
4988 <actions>
4989 <action function="overlay"/>
4990 <action function="key">%tw_back%</action>
4991 </actions>
4992 </button>
4993
4994 <button>
4995 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4996 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4997 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4998 <image resource="back" />
4999 <condition var1="tw_busy" var2="0" />
5000 <actions>
5001 <action function="overlay"/>
5002 <action function="key">%tw_back%</action>
5003 </actions>
5004 </button>
5005
5006 <button>
5007 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5008 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5009 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5010 <image resource="console" />
5011 <condition var1="tw_busy" var2="0" />
5012 <action function="overlay">slideout</action>
5013 </button>
5014
5015 <button>
5016 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5017 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5018 <image resource="home" />
5019 <condition var1="tw_busy" var2="0" />
5020 <actions>
5021 <action function="overlay"/>
5022 <action function="key">home</action>
5023 </actions>
5024 </button>
5025
5026 <button>
5027 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5028 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5029 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5030 <image resource="console" />
5031 <condition var1="tw_busy" var2="0" />
5032 <action function="overlay">slideout</action>
5033 </button>
5034
5035 <button>
5036 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5037 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5038 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5039 <image resource="back" />
5040 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005041 <actions>
5042 <action function="overlay"/>
5043 <action function="key">%tw_back%</action>
5044 </actions>
5045 </button>
5046
5047 <action>
5048 <touch key="power+voldown"/>
5049 <action function="screenshot"/>
5050 </action>
5051 </page>
5052 </pages>
5053</recovery>