blob: 688cef23e752e139bad8a185f85a93084ee2343f [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>
444 <placement x="%col1_x_right%" y="%row12_y%" />
445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
446 <data variable="tw_install_reboot" />
447 </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>
581 </page>
582
583 <page name="flashimage_confirm">
584 <template name="page"/>
585
586 <text style="text_l">
587 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500588 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100589 </text>
590
591 <text style="text_m">
592 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500593 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100594 </text>
595
596 <text style="text_m_accent">
597 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500598 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100599 </text>
600
601 <text style="text_m">
602 <placement x="%col1_x_left%" y="%row9_y%"/>
603 <text>%tw_zip_location%</text>
604 </text>
605
606 <text style="text_m_accent">
607 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500608 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100609 </text>
610
611 <text style="text_m">
612 <placement x="%col1_x_left%" y="%row12_y%"/>
613 <text>%tw_file%</text>
614 </text>
615
616 <partitionlist>
617 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
618 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500619 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100620 <data name="tw_flash_partition"/>
621 <listtype name="flashimg"/>
622 </partitionlist>
623
624 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500625 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100626 <actions>
627 <action function="set">tw_back=flashimage_confirm</action>
628 <action function="set">tw_action=flashimage</action>
629 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500630 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100631 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500632 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100633 <action function="page">action_page</action>
634 </actions>
635 <action function="flashimage"/>
636 </slider>
637
638 <action>
639 <touch key="back"/>
640 <actions>
641 <action function="set">tw_clear_destination=install</action>
642 <action function="page">clear_vars</action>
643 </actions>
644 </action>
645
646 <action>
647 <touch key="home"/>
648 <actions>
649 <action function="set">tw_clear_destination=main2</action>
650 <action function="page">clear_vars</action>
651 </actions>
652 </action>
653 </page>
654
655 <page name="clear_vars">
656 <action>
657 <action function="set">tw_operation_state=0</action>
658 <action function="set">tw_text1=</action>
659 <action function="set">tw_text2=</action>
660 <action function="set">tw_text3=</action>
661 <action function="set">tw_text4=</action>
662 <action function="set">tw_action_text1=</action>
663 <action function="set">tw_action_text2=</action>
664 <action function="set">tw_action_param=</action>
665 <action function="set">tw_has_action2=0</action>
666 <action function="set">tw_action2=</action>
667 <action function="set">tw_action2_param=</action>
668 <action function="set">tw_has_cancel=0</action>
669 <action function="set">tw_cancel_action=</action>
670 <action function="set">tw_cancel_param=</action>
671 <action function="set">tw_show_exclamation=0</action>
672 <action function="set">tw_show_reboot=0</action>
673 <action function="page">%tw_clear_destination%</action>
674 </action>
675 </page>
676
677 <page name="confirm_action">
678 <template name="page"/>
679
680 <text style="text_l">
681 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100683 </text>
684
685 <text style="text_m">
686 <placement x="%col1_x_header%" y="%row4_header_y%"/>
687 <text/>
688 </text>
689
690 <text style="text_m_accent">
691 <placement x="%center_x%" y="%row2_y%" placement="5"/>
692 <text>%tw_text1%</text>
693 </text>
694
695 <text style="text_m_accent">
696 <placement x="%center_x%" y="%row3_y%" placement="5"/>
697 <text>%tw_text2%</text>
698 </text>
699
700 <text style="text_m">
701 <placement x="%center_x%" y="%row4_y%" placement="5"/>
702 <text>%tw_text3%</text>
703 </text>
704
705 <text style="text_m">
706 <placement x="%center_x%" y="%row5_y%" placement="5"/>
707 <text>%tw_text4%</text>
708 </text>
709
710 <text style="text_m">
711 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500712 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100713 </text>
714
715 <slider style="slider_centered">
716 <text>%tw_slider_text%</text>
717 <action function="page">action_page</action>
718 </slider>
719
720 <action>
721 <touch key="back"/>
722 <actions>
723 <action function="set">tw_clear_destination=%tw_back%</action>
724 <action function="page">clear_vars</action>
725 </actions>
726 </action>
727
728 <action>
729 <touch key="home"/>
730 <action function="page">main</action>
731 </action>
732 </page>
733
734 <page name="action_page">
735 <template name="page"/>
736
737 <text style="text_l">
738 <placement x="%col1_x_header%" y="%row3_header_y%"/>
739 <text>%tw_action_text1%</text>
740 </text>
741
742 <text style="text_m">
743 <placement x="%col1_x_header%" y="%row4_header_y%"/>
744 <text>%tw_action_text2%</text>
745 </text>
746
747 <template name="console"/>
748
749 <template name="progress_bar"/>
750
751 <button style="main_button_half_width">
752 <condition var1="tw_has_cancel" var2="1"/>
753 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500754 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100755 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
756 </button>
757
758 <action>
759 <condition var1="tw_operation_state" var2="1"/>
760 <actions>
761 <action function="page">action_complete</action>
762 </actions>
763 </action>
764
765 <action>
766 <condition var1="tw_has_action2" var2="0"/>
767 <actions>
768 <action function="%tw_action%">%tw_action_param%</action>
769 </actions>
770 </action>
771
772 <action>
773 <condition var1="tw_has_action2" var2="1"/>
774 <actions>
775 <action function="%tw_action%">%tw_action_param%</action>
776 <action function="%tw_action2%">%tw_action2_param%</action>
777 </actions>
778 </action>
779 </page>
780
781 <page name="singleaction_page">
782 <template name="page"/>
783
784 <text style="text_l">
785 <placement x="%col1_x_header%" y="%row3_header_y%"/>
786 <text>%tw_action_text1%</text>
787 </text>
788
789 <text style="text_m">
790 <placement x="%col1_x_header%" y="%row4_header_y%"/>
791 <text>%tw_action_text2%</text>
792 </text>
793
794 <template name="console"/>
795
796 <template name="progress_bar"/>
797
798 <action>
799 <condition var1="tw_operation_state" var2="1"/>
800 <actions>
801 <action function="set">tw_page_done=1</action>
802 </actions>
803 </action>
804
805 <action>
806 <condition var1="tw_has_action2" var2="0"/>
807 <actions>
808 <action function="%tw_action%">%tw_action_param%</action>
809 </actions>
810 </action>
811
812 <action>
813 <condition var1="tw_has_action2" var2="1"/>
814 <actions>
815 <action function="%tw_action%">%tw_action_param%</action>
816 <action function="%tw_action2%">%tw_action2_param%</action>
817 </actions>
818 </action>
819 </page>
820
821 <page name="action_complete">
822 <template name="page"/>
823
824 <text style="text_l">
825 <placement x="%col1_x_header%" y="%row3_header_y%"/>
826 <text>%tw_complete_text1%</text>
827 </text>
828
829 <text style="text_m_fail">
830 <condition var1="tw_operation_status" op="!=" var2="0"/>
831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500832 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100833 </text>
834
835 <text style="text_m">
836 <condition var1="tw_operation_status" var2="0"/>
837 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500838 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100839 </text>
840
841 <template name="console"/>
842
843 <button style="main_button_half_width">
844 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500845 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100846 <actions>
847 <action function="set">tw_clear_destination=%tw_back%</action>
848 <action function="page">clear_vars</action>
849 </actions>
850 </button>
851
852 <button style="main_button_half_width">
853 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500854 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100855 <actions>
856 <action function="set">tw_back=main2</action>
857 <action function="set">tw_action=reboot</action>
858 <action function="set">tw_action_param=system</action>
859 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500860 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
861 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100862 <action function="set">tw_text3=</action>
863 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100865 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500866 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
867 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100868 <action function="page">rebootcheck</action>
869 </actions>
870 </button>
871
872 <action>
873 <touch key="home"/>
874 <actions>
875 <action function="set">tw_clear_destination=main2</action>
876 <action function="page">clear_vars</action>
877 </actions>
878 </action>
879
880 <action>
881 <touch key="back"/>
882 <actions>
883 <action function="set">tw_clear_destination=%tw_back%</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </action>
887 </page>
888
889 <page name="filecheck">
890 <action>
891 <action function="fileexists">%tw_filecheck%</action>
892 </action>
893
894 <action>
895 <conditions>
896 <condition var1="tw_operation_state" var2="1"/>
897 <condition var1="tw_operation_status" var2="0"/>
898 </conditions>
899 <actions>
900 <action function="set">tw_fileexists=1</action>
901 <action function="page">%tw_existpage%</action>
902 </actions>
903 </action>
904
905 <action>
906 <conditions>
907 <condition var1="tw_operation_state" var2="1"/>
908 <condition var1="tw_operation_status" var2="1"/>
909 </conditions>
910 <actions>
911 <action function="set">tw_fileexists=0</action>
912 <action function="page">%tw_notexistpage%</action>
913 </actions>
914 </action>
915 </page>
916
917 <page name="rebootcheck">
918 <action>
919 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
920 <action function="reboot">%tw_action_param%</action>
921 </action>
922
923 <action>
924 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
925 <action function="page">confirm_action</action>
926 </action>
927 </page>
928
929 <page name="wipe">
930 <template name="page"/>
931
932 <text style="text_l">
933 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500934 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100935 </text>
936
937 <text style="text_m">
938 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500939 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100940 </text>
941
942 <text style="text_m_accent">
943 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500944 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100945 </text>
946
947 <text style="text_m_accent">
948 <condition var1="tw_has_data_media" var2="1"/>
949 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500950 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100951 </text>
952
953 <text style="text_m_accent">
954 <conditions>
955 <condition var1="tw_has_android_secure" var2="1"/>
956 <condition var1="fileexists" var2="/and-sec"/>
957 </conditions>
958 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100960 </text>
961
962 <text style="text_m_accent">
963 <condition var1="tw_has_sdext_partition" var2="1"/>
964 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500965 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100966 </text>
967
968 <text style="text_m">
969 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500970 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100971 </text>
972
973 <text style="text_m">
974 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500975 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </text>
977
978 <text style="text_m">
979 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500980 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100981 </text>
982
983 <button style="main_button_half_width">
984 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500985 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100986 <actions>
987 <action function="set">partitionlisterror=0</action>
988 <action function="page">advancedwipe</action>
989 </actions>
990 </button>
991
992 <button style="main_button_half_width">
993 <condition var1="tw_has_data_media" var2="1"/>
994 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500995 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100996 <action function="page">formatdata</action>
997 </button>
998
999 <button style="main_button_half_width">
1000 <conditions>
1001 <condition var1="tw_is_encrypted" var2="1"/>
1002 <condition var1="tw_has_data_media" var2="0"/>
1003 </conditions>
1004 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 <actions>
1007 <action function="set">tw_back=wipe</action>
1008 <action function="set">tw_action=wipe</action>
1009 <action function="set">tw_action_param=DATAMEDIA</action>
1010 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001012 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001013 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1014 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1015 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <action function="page">confirm_action</action>
1017 </actions>
1018 </button>
1019
1020 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <actions>
1023 <action function="set">tw_back=wipe</action>
1024 <action function="set">tw_action=wipe</action>
1025 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001026 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1027 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001028 <action function="page">action_page</action>
1029 </actions>
1030 </slider>
1031
1032 <action>
1033 <touch key="back"/>
1034 <action function="page">main</action>
1035 </action>
1036
1037 <action>
1038 <touch key="home"/>
1039 <action function="page">main</action>
1040 </action>
1041 </page>
1042
1043 <page name="advancedwipe">
1044 <template name="page"/>
1045
1046 <action>
1047 <action function="set">tw_wipe_list=</action>
1048 </action>
1049
1050 <text style="text_l">
1051 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 </text>
1054
1055 <text style="text_m">
1056 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <partitionlist>
1061 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <data name="tw_wipe_list"/>
1064 <listtype name="wipe"/>
1065 </partitionlist>
1066
1067 <text style="text_m_fail">
1068 <condition var1="partitionlisterror" var2="1"/>
1069 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001070 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001071 </text>
1072
1073 <button style="main_button_m">
1074 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001077 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001078 <action function="page">checkpartitionlist</action>
1079 </actions>
1080 </button>
1081
1082 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 <actions>
1085 <action function="set">tw_back=advancedwipe</action>
1086 <action function="set">tw_action=wipe</action>
1087 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1089 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1090 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001091 <action function="page">action_page</action>
1092 </actions>
1093 </slider>
1094
1095 <action>
1096 <touch key="home"/>
1097 <action function="page">main</action>
1098 </action>
1099
1100 <action>
1101 <touch key="back"/>
1102 <action function="page">wipe</action>
1103 </action>
1104 </page>
1105
1106 <page name="formatdata">
1107 <template name="page"/>
1108
1109 <text style="text_l">
1110 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 </text>
1113
1114 <text style="text_m">
1115 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 </text>
1118
1119 <text style="text_m_fail">
1120 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001121 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001122 </text>
1123
1124 <text style="text_m_fail">
1125 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001126 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001127 </text>
1128
Ethan Yonker66a19492015-12-10 10:19:45 -06001129 <text style="text_m_fail">
1130 <condition var1="tw_has_adopted_storage" var2="1"/>
1131 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1132 <text>{@format_data_adopted=Including Adopted Storage}</text>
1133 </text>
1134
z31s1g28f0a922015-11-07 18:50:22 +01001135 <text style="text_m">
1136 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001137 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001138 </text>
1139
1140 <text style="text_m">
1141 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001142 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001143 </text>
1144
1145 <input>
1146 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1147 <text>%tw_confirm_formatdata%</text>
1148 <data name="tw_confirm_formatdata"/>
1149 <restrict minlen="3" maxlen="3" allow="yes"/>
1150 <action function="page">formatdata_confirm</action>
1151 </input>
1152
1153 <fill color="%accent_color%">
1154 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1155 </fill>
1156
1157 <template name="keyboardtemplate"/>
1158
1159 <action>
1160 <touch key="home"/>
1161 <action function="page">main</action>
1162 </action>
1163
1164 <action>
1165 <touch key="back"/>
1166 <action function="page">wipe</action>
1167 </action>
1168 </page>
1169
1170 <page name="formatdata_confirm">
1171 <action>
1172 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1173 <actions>
1174 <action function="set">tw_back=formatdata</action>
1175 <action function="set">tw_action=wipe</action>
1176 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001177 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1178 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001179 <action function="page">action_page</action>
1180 </actions>
1181 </action>
1182
1183 <action>
1184 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1185 <action function="page">formatdata</action>
1186 </action>
1187 </page>
1188
1189 <page name="checkpartitionlist">
1190 <action>
1191 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1192 <actions>
1193 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001194 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <action function="page">partitionoptions</action>
1196 </actions>
1197 </action>
1198
1199 <action>
1200 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1201 <actions>
1202 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001203 <action function="page">advancedwipe</action>
1204 </actions>
1205 </action>
1206 </page>
1207
1208 <page name="partitionoptions">
1209 <template name="page"/>
1210
1211 <text style="text_l">
1212 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </text>
1215
1216 <text style="text_m">
1217 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 </text>
1220
1221 <text style="text_m_accent">
1222 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </text>
1225
1226 <text style="text_m_accent">
1227 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001228 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001229 </text>
1230
1231 <text style="text_m">
1232 <condition var1="tw_partition_is_present" var2="1"/>
1233 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </text>
1236
1237 <text style="text_m">
1238 <condition var1="tw_partition_is_present" var2="0"/>
1239 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <condition var1="tw_partition_removable" var2="1"/>
1245 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <condition var1="tw_partition_removable" var2="0"/>
1251 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m">
1256 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
1260 <text style="text_m">
1261 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <text style="text_m">
1271 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <button style="main_button_half_width">
1276 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1277 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 <actions>
1280 <action function="set">tw_back=partitionoptions</action>
1281 <action function="set">tw_action=resize</action>
1282 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1283 <action function="set">tw_has_action2=1</action>
1284 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001285 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1289 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1290 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001291 <action function="page">confirm_action</action>
1292 </actions>
1293 </button>
1294
1295 <button style="main_button_half_width">
1296 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1297 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001299 <actions>
1300 <action function="set">tw_back=partitionoptions</action>
1301 <action function="set">tw_action=repair</action>
1302 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1303 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001305 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1307 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1308 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001309 <action function="page">confirm_action</action>
1310 </actions>
1311 </button>
1312
1313 <button style="main_button_half_width">
1314 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 <action function="page">selectfilesystem</action>
1317 </button>
1318
1319 <action>
1320 <touch key="home"/>
1321 <action function="page">main</action>
1322 </action>
1323
1324 <action>
1325 <touch key="back"/>
1326 <action function="page">advancedwipe</action>
1327 </action>
1328 </page>
1329
1330 <page name="refreshfilesystem">
1331 <action>
1332 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1333 <actions>
1334 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001335 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001336 <action function="page">selectfilesystem</action>
1337 </actions>
1338 </action>
1339
1340 <action>
1341 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1342 <actions>
1343 <action function="set">partitionlisterror=1</action>
1344 <action function="set">tw_wipe_list=</action>
1345 <action function="page">advancedwipe</action>
1346 </actions>
1347 </action>
1348 </page>
1349
1350 <page name="selectfilesystem">
1351 <template name="page"/>
1352
1353 <text style="text_l">
1354 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001355 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001356 </text>
1357
1358 <text style="text_m">
1359 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001360 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001361 </text>
1362
1363 <text style="text_m_accent">
1364 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m_accent">
1369 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001370 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001371 </text>
1372
1373 <text style="text_m_fail">
1374 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 </text>
1377
1378 <text style="text_m_fail">
1379 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001380 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001381 </text>
1382
1383 <button style="main_button_half_width">
1384 <condition var1="tw_partition_ext" op="=" var2="1"/>
1385 <placement x="%col1_x_left%" y="%row11_y%"/>
1386 <text>EXT2</text>
1387 <actions>
1388 <action function="set">tw_back=refreshfilesystem</action>
1389 <action function="set">tw_action=changefilesystem</action>
1390 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1391 <action function="set">tw_action_new_file_system=ext2</action>
1392 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1394 <action function="set">tw_text2=EXT2</action>
1395 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1396 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1397 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001398 <action function="page">confirm_action</action>
1399 </actions>
1400 </button>
1401
1402 <button style="main_button_half_width">
1403 <condition var1="tw_partition_ext" op="=" var2="1"/>
1404 <placement x="%col2_x_left%" y="%row11_y%"/>
1405 <text>EXT3</text>
1406 <actions>
1407 <action function="set">tw_back=refreshfilesystem</action>
1408 <action function="set">tw_action=changefilesystem</action>
1409 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1410 <action function="set">tw_action_new_file_system=ext3</action>
1411 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001412 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1413 <action function="set">tw_text2=EXT3</action>
1414 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1415 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1416 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001417 <action function="page">confirm_action</action>
1418 </actions>
1419 </button>
1420
1421 <button style="main_button_half_width">
1422 <condition var1="tw_partition_ext" op="=" var2="1"/>
1423 <placement x="%center_x%" y="%row11_y%"/>
1424 <text>EXT4</text>
1425 <actions>
1426 <action function="set">tw_back=refreshfilesystem</action>
1427 <action function="set">tw_action=changefilesystem</action>
1428 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1429 <action function="set">tw_action_new_file_system=ext4</action>
1430 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001431 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1432 <action function="set">tw_text2=EXT4</action>
1433 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1434 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1435 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001436 <action function="page">confirm_action</action>
1437 </actions>
1438 </button>
1439
1440 <button style="main_button_half_width">
1441 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1442 <placement x="%col2_x_right%" y="%row11_y%"/>
1443 <text>FAT</text>
1444 <actions>
1445 <action function="set">tw_back=refreshfilesystem</action>
1446 <action function="set">tw_action=changefilesystem</action>
1447 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1448 <action function="set">tw_action_new_file_system=vfat</action>
1449 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001450 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1451 <action function="set">tw_text2=FAT</action>
1452 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1453 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1454 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001455 <action function="page">confirm_action</action>
1456 </actions>
1457 </button>
1458
1459 <button style="main_button_half_width">
1460 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1461 <placement x="%col2_x_left%" y="%row15a_y%"/>
1462 <text>exFAT</text>
1463 <actions>
1464 <action function="set">tw_back=refreshfilesystem</action>
1465 <action function="set">tw_action=changefilesystem</action>
1466 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1467 <action function="set">tw_action_new_file_system=exfat</action>
1468 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001469 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1470 <action function="set">tw_text2=exFAT</action>
1471 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1472 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1473 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001474 <action function="page">confirm_action</action>
1475 </actions>
1476 </button>
1477
1478 <button style="main_button_half_width">
1479 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1480 <placement x="%center_x%" y="%row15a_y%"/>
1481 <text>F2FS</text>
1482 <actions>
1483 <action function="set">tw_back=refreshfilesystem</action>
1484 <action function="set">tw_action=changefilesystem</action>
1485 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1486 <action function="set">tw_action_new_file_system=f2fs</action>
1487 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001488 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1489 <action function="set">tw_text2=F2FS</action>
1490 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1491 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1492 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <action function="page">confirm_action</action>
1494 </actions>
1495 </button>
1496
1497 <action>
1498 <touch key="home"/>
1499 <action function="page">main</action>
1500 </action>
1501
1502 <action>
1503 <touch key="back"/>
1504 <action function="page">partitionoptions</action>
1505 </action>
1506 </page>
1507
1508 <page name="backup">
1509 <template name="page"/>
1510
1511 <text style="text_l">
1512 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001514 </text>
1515
1516 <text style="text_m">
1517 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001518 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001519 </text>
1520
1521 <text style="text_m_accent">
1522 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001524 </text>
1525
1526 <text style="text_m">
1527 <placement x="%col1_x_left%" y="%row3_y%"/>
1528 <text>%tw_backup_name%</text>
1529 </text>
1530
1531 <fill color="%fileselector_linecolor%">
1532 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1533 </fill>
1534
1535 <button>
1536 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1537 <fill color="%transparent%"/>
1538 <actions>
1539 <action function="set">tw_fileexists=0</action>
1540 <action function="page">backupname1</action>
1541 </actions>
1542 </button>
1543
1544 <partitionlist>
1545 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001547 <data name="tw_backup_list"/>
1548 <listtype name="backup"/>
1549 </partitionlist>
1550
1551 <text style="text_m_accent">
1552 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 </text>
1555
1556 <text style="text_m">
1557 <conditions>
1558 <condition var1="tw_include_encrypted_backup" var2="1"/>
1559 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001560 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001561 </conditions>
1562 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001563 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001564 </text>
1565
1566 <text style="text_m">
1567 <conditions>
1568 <condition var1="tw_include_encrypted_backup" var2="1"/>
1569 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001570 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001571 </conditions>
1572 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001574 </text>
1575
1576 <fill color="%fileselector_linecolor%">
1577 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1578 </fill>
1579
1580 <button>
1581 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1582 <fill color="%transparent%"/>
1583 <actions>
1584 <action function="set">tw_password_not_match=0</action>
1585 <action function="page">backupencryption</action>
1586 </actions>
1587 </button>
1588
1589 <text style="text_m_accent">
1590 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001591 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001592 </text>
1593
1594 <checkbox>
1595 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001597 <data variable="tw_use_compression"/>
1598 </checkbox>
1599
1600 <checkbox>
1601 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001602 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001603 <data variable="tw_skip_md5_generate"/>
1604 </checkbox>
1605
1606 <checkbox>
1607 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001608 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001609 <data variable="tw_disable_free_space"/>
1610 </checkbox>
1611
1612 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001613 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001616 <actions>
1617 <action function="set">tw_back=backup</action>
1618 <action function="overlay">select_storage</action>
1619 </actions>
1620 </button>
1621
1622 <button style="main_button_half_width">
1623 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <actions>
1626 <action function="refreshsizes"/>
1627 <action function="page">backup</action>
1628 </actions>
1629 </button>
1630
1631 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001632 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001633 <action function="page">backup_run</action>
1634 </slider>
1635
1636 <action>
1637 <touch key="home"/>
1638 <action function="page">main</action>
1639 </action>
1640
1641 <action>
1642 <touch key="back"/>
1643 <action function="page">main</action>
1644 </action>
1645 </page>
1646
1647 <page name="backupname1">
1648 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001649 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001650 <action function="generatebackupname"/>
1651 </action>
1652
1653 <action>
1654 <action function="page">backupname2</action>
1655 </action>
1656 </page>
1657
1658 <page name="backupname2">
1659 <template name="page"/>
1660
1661 <text style="text_l">
1662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m_accent">
1672 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </text>
1675
1676 <input>
1677 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1678 <text>%tw_backup_name%</text>
1679 <data name="tw_backup_name"/>
1680 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1681 <actions>
1682 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1683 <action function="set">tw_existpage=backupname2</action>
1684 <action function="set">tw_notexistpage=backup</action>
1685 <action function="page">filecheck</action>
1686 </actions>
1687 </input>
1688
1689 <fill color="%accent_color%">
1690 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1691 </fill>
1692
1693 <fill color="%text_fail_color%">
1694 <condition var1="tw_fileexists" var2="1"/>
1695 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1696 </fill>
1697
1698 <text style="text_m_fail">
1699 <condition var1="tw_fileexists" var2="1"/>
1700 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 </text>
1703
1704 <button style="main_button_half_width_low">
1705 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <action function="page">backup</action>
1710 </actions>
1711 </button>
1712
1713 <button style="main_button_half_width_low">
1714 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="appenddatetobackupname"/>
1717 </button>
1718
1719 <template name="keyboardtemplate"/>
1720
1721 <action>
1722 <touch key="home"/>
1723 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001724 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001725 <action function="page">main</action>
1726 </actions>
1727 </action>
1728
1729 <action>
1730 <touch key="back"/>
1731 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001732 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001733 <action function="page">backup</action>
1734 </actions>
1735 </action>
1736 </page>
1737
1738 <page name="backupencryption">
1739 <template name="page"/>
1740
1741 <text style="text_l">
1742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001743 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001744 </text>
1745
1746 <text style="text_m">
1747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 </text>
1750
1751 <text style="text_m_accent">
1752 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001753 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001754 </text>
1755
1756 <input>
1757 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1758 <text>%tw_backup_encrypt_display%</text>
1759 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1760 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1761 <action function="page">backupencryption2</action>
1762 </input>
1763
1764 <fill color="%accent_color%">
1765 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1766 </fill>
1767
1768 <fill color="%text_fail_color%">
1769 <condition var1="tw_password_not_match" var2="1"/>
1770 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1771 </fill>
1772
1773 <text style="text_m_fail">
1774 <condition var1="tw_password_not_match" var2="1"/>
1775 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001776 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001777 </text>
1778
1779 <button style="main_button_half_width_low">
1780 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001781 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001782 <actions>
1783 <action function="set">tw_encrypt_backup=0</action>
1784 <action function="set">tw_backup_password=</action>
1785 <action function="set">tw_backup_password2=</action>
1786 <action function="set">tw_backup_encrypt_display=</action>
1787 <action function="set">tw_backup_encrypt_display2=</action>
1788 <action function="page">backup</action>
1789 </actions>
1790 </button>
1791
1792 <template name="keyboardtemplate"/>
1793
1794 <action>
1795 <touch key="home"/>
1796 <action function="page">main</action>
1797 </action>
1798
1799 <action>
1800 <touch key="back"/>
1801 <action function="page">backup</action>
1802 </action>
1803 </page>
1804
1805 <page name="backupencryption2">
1806 <template name="page"/>
1807
1808 <text style="text_l">
1809 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001811 </text>
1812
1813 <text style="text_m">
1814 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001815 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001816 </text>
1817
1818 <text style="text_m_accent">
1819 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 </text>
1822
1823 <input>
1824 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1825 <text>%tw_backup_encrypt_display2%</text>
1826 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1827 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1828 <action function="page">checkbackuppassword</action>
1829 </input>
1830
1831 <fill color="%accent_color%">
1832 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1833 </fill>
1834
1835 <text style="text_m">
1836 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001837 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001838 </text>
1839
1840 <button style="main_button_half_width_low">
1841 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001843 <actions>
1844 <action function="set">tw_encrypt_backup=0</action>
1845 <action function="set">tw_backup_password=</action>
1846 <action function="set">tw_backup_password2=</action>
1847 <action function="set">tw_backup_encrypt_display=</action>
1848 <action function="set">tw_backup_encrypt_display2=</action>
1849 <action function="page">backup</action>
1850 </actions>
1851 </button>
1852
1853 <template name="keyboardtemplate"/>
1854
1855 <action>
1856 <touch key="home"/>
1857 <action function="page">main</action>
1858 </action>
1859
1860 <action>
1861 <touch key="back"/>
1862 <action function="page">backup</action>
1863 </action>
1864 </page>
1865
1866 <page name="checkbackuppassword">
1867 <action>
1868 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1869 <actions>
1870 <action function="set">tw_encrypt_backup=1</action>
1871 <action function="page">backup</action>
1872 </actions>
1873 </action>
1874
1875 <action>
1876 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1877 <actions>
1878 <action function="set">tw_encrypt_backup=0</action>
1879 <action function="set">tw_password_not_match=1</action>
1880 <action function="set">tw_backup_password=</action>
1881 <action function="set">tw_backup_password2=</action>
1882 <action function="set">tw_backup_encrypt_display=</action>
1883 <action function="set">tw_backup_encrypt_display2=</action>
1884 <action function="page">backupencryption</action>
1885 </actions>
1886 </action>
1887 </page>
1888
1889 <page name="backup_run">
1890 <template name="page"/>
1891
1892 <text style="text_l">
1893 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1894 <text>%tw_operation%</text>
1895 </text>
1896
1897 <text style="text_m">
1898 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1899 <text>%tw_partition% Partition</text>
1900 </text>
1901
1902 <template name="console"/>
1903
1904 <template name="progress_bar"/>
1905
1906 <text style="text_m_accent">
1907 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001908 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001909 </text>
1910
1911 <text style="text_m">
1912 <placement x="%progress_text_x%" y="%row17_y%"/>
1913 <text>%tw_file_progress%</text>
1914 </text>
1915
1916 <text style="text_m">
1917 <placement x="%progress_text_x%" y="%row18_y%"/>
1918 <text>%tw_size_progress%</text>
1919 </text>
1920
1921 <button style="main_button_half_width">
1922 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 <action function="cancelbackup"/>
1925 </button>
1926
1927 <action>
1928 <action function="nandroid">backup</action>
1929 </action>
1930
1931 <action>
1932 <condition var1="tw_operation_state" var2="1"/>
1933 <condition var1="tw_cancel_backup" var2="0"/>
1934 <actions>
1935 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001936 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001937 <action function="set">tw_show_reboot=1</action>
1938 <action function="page">action_complete</action>
1939 </actions>
1940 </action>
1941
1942 <action>
1943 <condition var1="tw_operation_state" var2="1"/>
1944 <condition var1="tw_cancel_backup" var2="1"/>
1945 <actions>
1946 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001947 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001948 <action function="set">tw_show_reboot=1</action>
1949 <action function="page">action_complete</action>
1950 </actions>
1951 </action>
1952 </page>
1953
1954 <page name="restore">
1955 <template name="page"/>
1956
1957 <text style="text_l">
1958 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001959 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001960 </text>
1961
1962 <text style="text_m">
1963 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001964 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001965 </text>
1966
1967 <template name="sort_options"/>
1968
1969 <fileselector>
1970 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001971 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001972 <filter folders="1" files="0" nav="0"/>
1973 <path name="tw_backups_folder"/>
1974 <data name="tw_restore" default=""/>
1975 <selection name="tw_restore_name"/>
1976 </fileselector>
1977
1978 <button style="main_button_half_width_low">
1979 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001980 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001981 <actions>
1982 <action function="set">tw_back=restore</action>
1983 <action function="overlay">select_storage</action>
1984 </actions>
1985 </button>
1986
1987 <action>
1988 <condition var1="tw_restore" op="modified"/>
1989 <actions>
1990 <action function="readBackup"/>
1991 <action function="page">restore_read</action>
1992 </actions>
1993 </action>
1994
1995 <action>
1996 <touch key="home"/>
1997 <action function="page">main</action>
1998 </action>
1999
2000 <action>
2001 <touch key="back"/>
2002 <action function="page">main</action>
2003 </action>
2004 </page>
2005
2006 <page name="restore_read">
2007 <action>
2008 <condition var1="tw_restore_encrypted" var2="1"/>
2009 <actions>
2010 <action function="set">tw_password_fail=0</action>
2011 <action function="page">restore_decrypt</action>
2012 </actions>
2013 </action>
2014
2015 <action>
2016 <condition var1="tw_restore_encrypted" var2="0"/>
2017 <actions>
2018 <action function="page">restore_select</action>
2019 </actions>
2020 </action>
2021 </page>
2022
2023 <page name="restore_decrypt">
2024 <template name="page"/>
2025
2026 <text style="text_l">
2027 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002028 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002029 </text>
2030
2031 <text style="text_m">
2032 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002033 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002034 </text>
2035
2036 <text style="text_m_accent">
2037 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002038 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002039 </text>
2040
2041 <input>
2042 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2043 <text>%tw_restore_display%</text>
2044 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2045 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2046 <action function="page">try_restore_decrypt</action>
2047 </input>
2048
2049 <fill color="%accent_color%">
2050 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2051 </fill>
2052
2053 <fill color="%text_fail_color%">
2054 <condition var1="tw_password_fail" var2="1"/>
2055 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2056 </fill>
2057
2058 <text style="text_m_fail">
2059 <condition var1="tw_password_fail" var2="1"/>
2060 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002061 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002062 </text>
2063
2064 <button style="main_button_half_width_low">
2065 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002066 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002067 <actions>
2068 <action function="set">tw_page_done=1</action>
2069 <action function="page">restore</action>
2070 </actions>
2071 </button>
2072
2073 <button style="main_button_half_width_low">
2074 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002075 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002076 <actions>
2077 <action function="set">tw_back=restore</action>
2078 <action function="set">tw_action=cmd</action>
2079 <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 -05002080 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2081 <action function="set">tw_text2=%tw_restore_name%</action>
2082 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2083 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2084 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2085 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002086 <action function="page">confirm_action</action>
2087 </actions>
2088 </button>
2089
2090 <template name="keyboardtemplate"/>
2091
2092 <action>
2093 <touch key="home"/>
2094 <action function="page">main</action>
2095 </action>
2096
2097 <action>
2098 <touch key="back"/>
2099 <action function="page">restore</action>
2100 </action>
2101 </page>
2102
2103 <page name="try_restore_decrypt">
2104 <template name="page"/>
2105
2106 <text style="text_l">
2107 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002108 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002109 </text>
2110
2111 <text style="text_m">
2112 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002113 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002114 </text>
2115
2116 <template name="console"/>
2117
2118 <template name="progress_bar"/>
2119
2120 <action>
2121 <action function="decrypt_backup"/>
2122 </action>
2123
2124 <action>
2125 <conditions>
2126 <condition var1="tw_operation_state" var2="1"/>
2127 <condition var1="tw_operation_status" op="!=" var2="0"/>
2128 </conditions>
2129 <actions>
2130 <action function="set">tw_password_fail=1</action>
2131 <action function="page">restore_decrypt</action>
2132 </actions>
2133 </action>
2134
2135 <action>
2136 <conditions>
2137 <condition var1="tw_operation_state" var2="1"/>
2138 <condition var1="tw_operation_status" op="=" var2="0"/>
2139 </conditions>
2140 <actions>
2141 <action function="set">tw_page_done=1</action>
2142 <action function="page">restore_select</action>
2143 </actions>
2144 </action>
2145 </page>
2146
2147 <page name="restore_select">
2148 <template name="page"/>
2149
2150 <text style="text_l">
2151 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002157 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002158 </text>
2159
2160 <text style="text_m_accent">
2161 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 </text>
2164
2165 <text style="text_m">
2166 <placement x="%col1_x_left%" y="%row3_y%"/>
2167 <text>%tw_restore_name%</text>
2168 </text>
2169
2170 <fill color="%fileselector_linecolor%">
2171 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2172 </fill>
2173
2174 <button>
2175 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2176 <fill color="%transparent%"/>
2177 <actions>
2178 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2179 <action function="set">tw_fileexists=0</action>
2180 <action function="page">renamebackup</action>
2181 </actions>
2182 </button>
2183
2184 <partitionlist>
2185 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2188 <listtype name="restore"/>
2189 </partitionlist>
2190
2191 <text style="text_m_accent">
2192 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002194 </text>
2195
2196 <checkbox>
2197 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002198 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 <data variable="tw_skip_md5_check"/>
2200 </checkbox>
2201
2202 <button style="main_button_half_width">
2203 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002204 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002205 <actions>
2206 <action function="set">tw_back=restore</action>
2207 <action function="set">tw_action=cmd</action>
2208 <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 -05002209 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002210 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002211 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2212 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2213 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2214 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002215 <action function="page">confirm_action</action>
2216 </actions>
2217 </button>
2218
2219 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 <action function="page">restore_run</action>
2222 </slider>
2223
2224 <action>
2225 <touch key="home"/>
2226 <action function="page">main</action>
2227 </action>
2228
2229 <action>
2230 <touch key="back"/>
2231 <action function="page">restore</action>
2232 </action>
2233 </page>
2234
2235 <page name="renamebackup">
2236 <template name="page"/>
2237
2238 <text style="text_l">
2239 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002240 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002241 </text>
2242
2243 <text style="text_m">
2244 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 </text>
2247
2248 <text style="text_m_accent">
2249 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002250 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002251 </text>
2252
2253 <input>
2254 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2255 <text>%tw_backup_rename%</text>
2256 <data name="tw_backup_rename"/>
2257 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2258 <actions>
2259 <action function="set">tw_back=restore</action>
2260 <action function="set">tw_action=cmd</action>
2261 <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 -05002262 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2263 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2264 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2265 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2266 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002267 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2268 <action function="set">tw_existpage=renamebackup</action>
2269 <action function="set">tw_notexistpage=confirm_action</action>
2270 <action function="page">filecheck</action>
2271 </actions>
2272 </input>
2273
2274 <fill color="%accent_color%">
2275 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2276 </fill>
2277
2278 <fill color="%text_fail_color%">
2279 <condition var1="tw_fileexists" var2="1"/>
2280 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2281 </fill>
2282
2283 <text style="text_m_fail">
2284 <condition var1="tw_fileexists" var2="1"/>
2285 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002287 </text>
2288
2289 <button style="main_button_half_width_low">
2290 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002291 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">restore_select</action>
2293 </button>
2294
2295 <template name="keyboardtemplate"/>
2296
2297 <action>
2298 <touch key="home"/>
2299 <action function="page">main</action>
2300 </action>
2301
2302 <action>
2303 <touch key="back"/>
2304 <action function="page">restore_select</action>
2305 </action>
2306 </page>
2307
2308 <page name="restore_run">
2309 <template name="page"/>
2310
2311 <text style="text_l">
2312 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002313 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002314 </text>
2315
2316 <text style="text_m">
2317 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2318 <text>%tw_operation% %tw_partition%</text>
2319 </text>
2320
2321 <template name="console"/>
2322
2323 <template name="progress_bar"/>
2324
2325 <text style="text_m_accent">
2326 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 </text>
2329
2330 <text style="text_m">
2331 <placement x="%progress_text_x%" y="%row18_y%"/>
2332 <text>%tw_size_progress%</text>
2333 </text>
2334
2335 <action>
2336 <condition var1="tw_operation_state" var2="1"/>
2337 <actions>
2338 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002339 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002340 <action function="set">tw_show_reboot=1</action>
2341 <action function="page">action_complete</action>
2342 </actions>
2343 </action>
2344
2345 <action>
2346 <action function="nandroid">restore</action>
2347 </action>
2348 </page>
2349
2350 <page name="mount">
2351 <template name="page"/>
2352
2353 <text style="text_l">
2354 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002355 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002356 </text>
2357
2358 <text style="text_m">
2359 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002360 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002361 </text>
2362
2363 <partitionlist>
2364 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <listtype name="mount"/>
2367 </partitionlist>
2368
2369 <button style="checkbox">
2370 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2371 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002372 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002373 <image resource="checkbox_false"/>
2374 <action function="mountsystemtoggle">1</action>
2375 </button>
2376
2377 <button style="checkbox">
2378 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2379 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002380 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002381 <image resource="checkbox_true"/>
2382 <actions>
2383 <action function="set">tw_lifetime_writes=2</action>
2384 <action function="page">system_readonly_check</action>
2385 </actions>
2386 </button>
2387
2388 <button style="main_button_half_width">
2389 <condition var1="tw_has_usb_storage" var2="1"/>
2390 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 <action function="page">usb_mount</action>
2393 </button>
2394
2395 <button style="main_button_half_width">
2396 <conditions>
2397 <condition var1="tw_is_encrypted" var2="1"/>
2398 <condition var1="tw_is_decrypted" var2="0"/>
2399 </conditions>
2400 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 <action function="page">decrypt</action>
2403 </button>
2404
2405 <button style="main_button_half_width">
2406 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002407 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002408 <actions>
2409 <action function="set">tw_back=mount</action>
2410 <action function="overlay">select_storage</action>
2411 </actions>
2412 </button>
2413
2414 <button style="main_button_half_width">
2415 <conditions>
2416 <condition var1="tw_has_mtp" var2="1"/>
2417 <condition var1="tw_mtp_enabled" var2="0"/>
2418 </conditions>
2419 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 <action function="startmtp"/>
2422 </button>
2423
2424 <button style="main_button_half_width">
2425 <conditions>
2426 <condition var1="tw_has_mtp" var2="1"/>
2427 <condition var1="tw_mtp_enabled" var2="1"/>
2428 </conditions>
2429 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002430 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002431 <action function="stopmtp"/>
2432 </button>
2433
2434 <action>
2435 <touch key="home"/>
2436 <action function="page">main</action>
2437 </action>
2438
2439 <action>
2440 <touch key="back"/>
2441 <action function="page">main</action>
2442 </action>
2443 </page>
2444
2445 <page name="usb_mount">
2446 <template name="page"/>
2447
2448 <text style="text_l">
2449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002455 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <text style="text_m_accent">
2459 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 </text>
2462
2463 <text style="text_m">
2464 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002465 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002466 </text>
2467
2468 <text style="text_m">
2469 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002470 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002471 </text>
2472
2473 <button style="main_button_half_width">
2474 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <action function="page">usb_umount</action>
2477 </button>
2478
2479 <action>
2480 <action function="mount">usb</action>
2481 <action function="set">tw_busy=1</action>
2482 </action>
2483 </page>
2484
2485 <page name="usb_umount">
2486 <action>
2487 <action function="unmount">usb</action>
2488 </action>
2489
2490 <action>
2491 <action function="page">mount</action>
2492 <action function="set">tw_busy=0</action>
2493 </action>
2494 </page>
2495
2496 <page name="system_readonly_check">
2497 <action>
2498 <action function="checkpartitionlifetimewrites">/system</action>
2499 </action>
2500
2501 <action>
2502 <condition var1="tw_lifetime_writes" var2="1"/>
2503 <actions>
2504 <action function="mountsystemtoggle">0</action>
2505 <action function="page">mount</action>
2506 </actions>
2507 </action>
2508
2509 <action>
2510 <condition var1="tw_lifetime_writes" var2="0"/>
2511 <actions>
2512 <action function="set">tw_back=mount</action>
2513 <action function="page">system_readonly</action>
2514 </actions>
2515 </action>
2516 </page>
2517
2518 <page name="reboot">
2519 <template name="page"/>
2520
2521 <text style="text_l">
2522 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002523 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002524 </text>
2525
2526 <button style="main_button">
2527 <condition var1="tw_reboot_system" var2="1"/>
2528 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002530 <actions>
2531 <action function="set">tw_back=reboot</action>
2532 <action function="set">tw_action=reboot</action>
2533 <action function="set">tw_action_param=system</action>
2534 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002535 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2536 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2537 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2538 <action function="set">tw_action_text2=</action>
2539 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2540 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002541 <action function="page">rebootcheck</action>
2542 </actions>
2543 </button>
2544
2545 <button style="main_button">
2546 <condition var1="tw_reboot_poweroff" var2="1"/>
2547 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <actions>
2550 <action function="set">tw_back=reboot</action>
2551 <action function="set">tw_action=reboot</action>
2552 <action function="set">tw_action_param=poweroff</action>
2553 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2555 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2556 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2557 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2558 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <action function="page">rebootcheck</action>
2560 </actions>
2561 </button>
2562
2563 <button style="main_button">
2564 <condition var1="tw_reboot_recovery" var2="1"/>
2565 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002566 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002567 <actions>
2568 <action function="set">tw_back=reboot</action>
2569 <action function="set">tw_action=reboot</action>
2570 <action function="set">tw_action_param=recovery</action>
2571 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2573 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2574 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2575 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2576 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002577 <action function="page">rebootcheck</action>
2578 </actions>
2579 </button>
2580
2581 <button style="main_button">
2582 <condition var1="tw_reboot_bootloader" var2="1"/>
2583 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 <actions>
2586 <action function="set">tw_back=reboot</action>
2587 <action function="set">tw_action=reboot</action>
2588 <action function="set">tw_action_param=bootloader</action>
2589 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002590 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2591 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2592 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2593 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2594 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <action function="page">rebootcheck</action>
2596 </actions>
2597 </button>
2598
2599 <button style="main_button">
2600 <condition var1="tw_download_mode" var2="1"/>
2601 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002602 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002603 <actions>
2604 <action function="set">tw_back=reboot</action>
2605 <action function="set">tw_action=reboot</action>
2606 <action function="set">tw_action_param=download</action>
2607 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2609 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2610 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2611 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2612 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002613 <action function="page">rebootcheck</action>
2614 </actions>
2615 </button>
2616
2617 <action>
2618 <touch key="home"/>
2619 <action function="page">main</action>
2620 </action>
2621
2622 <action>
2623 <touch key="back"/>
2624 <action function="page">main</action>
2625 </action>
2626 </page>
2627
2628 <page name="system_readonly">
2629 <template name="page"/>
2630
2631 <text style="text_l">
2632 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002633 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002634 </text>
2635
2636 <text style="text_m_accent">
2637 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002639 </text>
2640
2641 <text style="text_m">
2642 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002643 <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 +01002644 </text>
2645
2646 <text style="text_m">
2647 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <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 +01002649 </text>
2650
2651 <text style="text_m_fail">
2652 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 </text>
2655
2656 <checkbox>
2657 <condition var1="tw_is_encrypted" var2="0"/>
2658 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002659 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <data variable="tw_never_show_system_ro_page"/>
2661 </checkbox>
2662
2663 <button style="main_button_half_width">
2664 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002665 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <actions>
2667 <action function="mountsystemtoggle">1</action>
2668 <action function="set">tw_page_done=1</action>
2669 <action function="page">%tw_back%</action>
2670 </actions>
2671 </button>
2672
z31s1g608d7ff2016-01-18 19:47:25 +01002673 <button style="main_button_half_width">
2674 <placement x="%col2_x_left%" y="%row15a_y%"/>
2675 <text>{@sel_lang_btn=Select Language}</text>
2676 <action function="overlay">select_language</action>
2677 </button>
2678
z31s1g28f0a922015-11-07 18:50:22 +01002679 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002680 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002681 <actions>
2682 <action function="mountsystemtoggle">0</action>
2683 <action function="set">tw_page_done=1</action>
2684 <action function="page">%tw_back%</action>
2685 </actions>
2686 </slider>
2687 </page>
2688
2689 <page name="settings">
2690 <template name="page"/>
2691
2692 <text style="text_l">
2693 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002695 </text>
2696
2697 <text style="text_m">
2698 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 </text>
2701
2702 <template name="tabs_settings"/>
2703
2704 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002706 </fill>
2707
2708 <listbox style="scrolllist">
2709 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2710 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002712 <data variable="tw_signed_zip_verify"/>
2713 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002715 <data variable="tw_rm_rf"/>
2716 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002717 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2718 <data variable="tw_disable_free_space"/>
2719 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002720 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002721 <data variable="tw_skip_md5_generate"/>
2722 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002723 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002724 <data variable="tw_skip_md5_check"/>
2725 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002727 <data variable="tw_military_time"/>
2728 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002729 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002730 <data variable="tw_simulate_actions"/>
2731 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002732 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002733 <condition var1="tw_simulate_actions" var2="1"/>
2734 <data variable="tw_simulate_fail"/>
2735 </listitem>
2736 </listbox>
2737
2738 <checkbox>
2739 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 <data variable="tw_samsung_navbar"/>
2742 </checkbox>
2743
2744 <button style="radiobutton">
2745 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2746 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 <image resource="radio_false"/>
2749 <action function="set">tw_navbar_button_position=0</action>
2750 </button>
2751
2752 <button style="radiobutton">
2753 <condition var1="tw_navbar_button_position" var2="0"/>
2754 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002756 <image resource="radio_true"/>
2757 <action function="set">tw_navbar_button_position=0</action>
2758 </button>
2759
2760 <button style="radiobutton">
2761 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2762 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 <image resource="radio_false"/>
2765 <action function="set">tw_navbar_button_position=1</action>
2766 </button>
2767
2768 <button style="radiobutton">
2769 <condition var1="tw_navbar_button_position" var2="1"/>
2770 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002772 <image resource="radio_true"/>
2773 <action function="set">tw_navbar_button_position=1</action>
2774 </button>
2775
2776 <button style="radiobutton">
2777 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2778 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <image resource="radio_false"/>
2781 <action function="set">tw_navbar_button_position=2</action>
2782 </button>
2783
2784 <button style="radiobutton">
2785 <condition var1="tw_navbar_button_position" var2="2"/>
2786 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002787 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002788 <image resource="radio_true"/>
2789 <action function="set">tw_navbar_button_position=2</action>
2790 </button>
2791
2792 <button style="main_button_half_width">
2793 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002794 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002795 <action function="restoredefaultsettings"/>
2796 </button>
2797
2798 <action>
2799 <touch key="home"/>
2800 <action function="page">main</action>
2801 </action>
2802
2803 <action>
2804 <touch key="back"/>
2805 <action function="page">main</action>
2806 </action>
2807 </page>
2808
2809 <page name="settings_timezone">
2810 <template name="page"/>
2811
2812 <text style="text_l">
2813 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002815 </text>
2816
2817 <text style="text_m">
2818 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </text>
2821
2822 <template name="tabs_settings"/>
2823
2824 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002825 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002826 </fill>
2827
2828 <listbox>
2829 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002830 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002831 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002832 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2833 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2834 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2835 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2836 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2837 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2838 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2839 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2840 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2841 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2842 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2843 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2844 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2845 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2846 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2847 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2848 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2849 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2850 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2851 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2852 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2853 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2854 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2855 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002856 </listbox>
2857
2858 <text style="text_m_accent">
2859 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 </text>
2862
2863 <button style="button_quarter_width">
2864 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002866 <action function="set">tw_time_zone_guioffset=0</action>
2867 </button>
2868
2869 <button style="button_quarter_width">
2870 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002872 <action function="set">tw_time_zone_guioffset=15</action>
2873 </button>
2874
2875 <button style="button_quarter_width">
2876 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002878 <action function="set">tw_time_zone_guioffset=30</action>
2879 </button>
2880
2881 <button style="button_quarter_width">
2882 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002883 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002884 <action function="set">tw_time_zone_guioffset=45</action>
2885 </button>
2886
2887 <checkbox>
2888 <placement x="%col1_x_right%" y="%row7_y%"/>
2889 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002891 <data variable="tw_time_zone_guidst"/>
2892 <image checked="checkbox_true" unchecked="checkbox_false"/>
2893 </checkbox>
2894
2895 <text color="%text_color%">
2896 <font resource="font_m"/>
2897 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002898 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002899 </text>
2900
2901 <button>
2902 <highlight color="%highlight_color%"/>
2903 <placement x="%col2_x_right%" y="%row15a_y%"/>
2904 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002905 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002906 <image resource="main_button_half_width"/>
2907 <action function="setguitimezone"/>
2908 </button>
2909
2910 <action>
2911 <touch key="home"/>
2912 <action function="page">main</action>
2913 </action>
2914
2915 <action>
2916 <touch key="back"/>
2917 <action function="page">main</action>
2918 </action>
2919 </page>
2920
2921 <page name="settings_screen">
2922 <template name="page"/>
2923
2924 <text style="text_l">
2925 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 </text>
2928
2929 <text style="text_m">
2930 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </text>
2933
2934 <template name="tabs_settings"/>
2935
2936 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002938 </fill>
2939
2940 <button>
2941 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2942 <font resource="font_m" color="%text_color%"/>
2943 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2944 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002945 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002946 <image resource="checkbox_false"/>
2947 <action function="set">tw_screen_timeout_secs=60</action>
2948 </button>
2949
2950 <button>
2951 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2952 <font resource="font_m" color="%text_color%"/>
2953 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2954 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002955 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002956 <image resource="checkbox_true"/>
2957 <action function="set">tw_screen_timeout_secs=0</action>
2958 </button>
2959
2960 <slidervalue>
2961 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2962 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2963 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002964 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002965 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2966 </slidervalue>
2967
2968 <slidervalue>
2969 <condition var1="tw_has_brightnesss_file" var2="1"/>
2970 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002971 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002972 <data variable="tw_brightness_pct" min="10" max="100"/>
2973 <actions>
2974 <action function="set">tw_brightness=%tw_brightness_max%</action>
2975 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2976 <action function="compute">tw_brightness/100</action>
2977 <action function="setbrightness">%tw_brightness%</action>
2978 </actions>
2979 </slidervalue>
2980
2981 <action>
2982 <touch key="home"/>
2983 <action function="page">main</action>
2984 </action>
2985
2986 <action>
2987 <touch key="back"/>
2988 <action function="page">main</action>
2989 </action>
2990 </page>
2991
2992 <page name="settings_vibration">
2993 <template name="page"/>
2994
2995 <text style="text_l">
2996 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002997 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002998 </text>
2999
3000 <text style="text_m">
3001 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003003 </text>
3004
3005 <template name="tabs_settings"/>
3006
3007 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </fill>
3010
3011 <slidervalue>
3012 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_button_vibrate" min="0" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3021 </slidervalue>
3022
3023 <slidervalue>
3024 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 <data variable="tw_action_vibrate" min="0" max="500"/>
3027 </slidervalue>
3028
3029 <action>
3030 <touch key="home"/>
3031 <action function="page">main</action>
3032 </action>
3033
3034 <action>
3035 <touch key="back"/>
3036 <action function="page">main</action>
3037 </action>
3038 </page>
3039
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <page name="settings_language">
3041 <template name="page"/>
3042
3043 <text style="text_l">
3044 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3045 <text>{@settings_hdr=Settings}</text>
3046 </text>
3047
3048 <text style="text_m">
3049 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3050 <text>{@language_hdr=Language - %tw_language_display%}</text>
3051 </text>
3052
3053 <template name="tabs_settings"/>
3054
3055 <fill color="%text_color%">
3056 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3057 </fill>
3058
3059 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003060 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <text>{@select_language=Select Language:}</text>
3062 <icon selected="radio_true" unselected="radio_false" />
3063 <data name="tw_language" />
3064 </listbox>
3065
z31s1g56189522016-01-13 19:12:40 +01003066 <button>
3067 <highlight color="%highlight_color%"/>
3068 <placement x="%col2_x_right%" y="%row15a_y%"/>
3069 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003070 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003071 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <action function="setlanguage"></action>
3073 </button>
3074
3075 <action>
3076 <touch key="home" />
3077 <action function="page">main</action>
3078 </action>
3079
3080 <action>
3081 <touch key="back" />
3082 <action function="page">settings</action>
3083 </action>
3084 </page>
3085
z31s1g28f0a922015-11-07 18:50:22 +01003086 <page name="advanced">
3087 <template name="page"/>
3088
3089 <text style="text_l">
3090 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 </text>
3093
3094 <button style="main_button">
3095 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003096 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003097 <actions>
3098 <action function="set">tw_back=advanced</action>
3099 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003100 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3101 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3102 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3103 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <action function="page">confirm_action</action>
3105 </actions>
3106 </button>
3107
3108 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003109 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003110 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003111 <text>{@fix_context_btn=Fix Contexts}</text>
3112 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003113 </button>
3114
3115 <button style="main_button">
3116 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3117 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003118 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003119 <actions>
3120 <action function="set">partitionlisterror=0</action>
3121 <action function="page">partsdcardsel</action>
3122 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003123 </button>
3124
3125 <button style="main_button">
3126 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <action function="page">filemanagerlist</action>
3129 </button>
3130
3131 <button style="main_button">
3132 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003134 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003135 </button>
3136
3137 <button style="main_button">
3138 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <action function="reload"/>
3141 </button>
3142
3143 <button style="main_button">
3144 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 <action function="page">sideload</action>
3147 </button>
3148
3149 <button style="main_button">
3150 <condition var1="tw_show_dumlock" var2="1"/>
3151 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003153 <action function="page">htcdumlock</action>
3154 </button>
3155
3156 <button style="main_button">
3157 <condition var1="tw_has_injecttwrp" var2="1"/>
3158 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <actions>
3161 <action function="set">tw_back=advanced</action>
3162 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3164 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3165 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection 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 <action>
3172 <touch key="home"/>
3173 <action function="page">main</action>
3174 </action>
3175
3176 <action>
3177 <touch key="back"/>
3178 <action function="page">main</action>
3179 </action>
3180 </page>
3181
Ethan Yonker483e9f42016-01-11 22:21:18 -06003182 <page name="partsdcardsel">
3183 <template name="page"/>
3184
3185 <text style="text_l">
3186 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3187 <text>{@advanced_hdr=Advanced}</text>
3188 </text>
3189
3190 <text style="text_m">
3191 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3192 <text>{@part_sd_hdr=Partition SD Card}</text>
3193 </text>
3194
z31s1g782e1c92016-01-30 16:50:09 +01003195 <partitionlist>
3196 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003197 <text>{@sel_storage_list=Select Storage}</text>
3198 <data name="tw_storage_path"/>
3199 <listtype name="storage"/>
3200 </partitionlist>
3201
z31s1g782e1c92016-01-30 16:50:09 +01003202 <text style="text_m_fail">
3203 <condition var1="partitionlisterror" var2="1"/>
3204 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3205 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3206 </text>
3207
3208 <button style="main_button_half_width">
3209 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003210 <text>{@ok_btn=OK}</text>
3211 <actions>
3212 <action function="getpartitiondetails">tw_storage_path</action>
3213 <action function="page">partsdcardcheck</action>
3214 </actions>
3215 </button>
3216
Ethan Yonker483e9f42016-01-11 22:21:18 -06003217 <action>
3218 <touch key="home"/>
3219 <action function="page">main</action>
3220 </action>
3221
3222 <action>
3223 <touch key="back"/>
3224 <action function="page">advanced</action>
3225 </action>
3226 </page>
3227
3228 <page name="partsdcardcheck">
3229 <action>
3230 <condition var1="tw_partition_removable" op="=" var2="1"/>
3231 <actions>
3232 <action function="set">partitionlisterror=0</action>
3233 <action function="page">partsdcard</action>
3234 </actions>
3235 </action>
3236
3237 <action>
3238 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3239 <actions>
3240 <action function="set">partitionlisterror=1</action>
3241 <action function="page">partsdcardsel</action>
3242 </actions>
3243 </action>
3244 </page>
3245
z31s1g28f0a922015-11-07 18:50:22 +01003246 <page name="partsdcard">
3247 <template name="page"/>
3248
3249 <text style="text_l">
3250 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003252 </text>
3253
3254 <text style="text_m">
3255 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 </text>
3258
3259 <text style="text_m_fail">
3260 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003262 </text>
3263
3264 <text style="text_m_fail">
3265 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 </text>
3268
3269 <text style="text_m_accent">
3270 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 </text>
3273
3274 <text style="text_m">
3275 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3276 <text>%tw_sdext_size%</text>
3277 </text>
3278
3279 <button style="button_quarter_width">
3280 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003282 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003283 </button>
3284
3285 <button style="button_quarter_width">
3286 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003288 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </button>
3290
3291 <text style="text_m_accent">
3292 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m">
3297 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3298 <text>%tw_swap_size%</text>
3299 </text>
3300
3301 <button style="button_quarter_width">
3302 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003304 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </button>
3306
3307 <button style="button_quarter_width">
3308 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003310 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </button>
3312
3313 <text style="text_m_accent">
3314 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m">
3319 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3320 <text>%tw_sdpart_file_system%</text>
3321 </text>
3322
3323 <button style="button_quarter_width">
3324 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3325 <text>EXT3</text>
3326 <action function="set">tw_sdpart_file_system=ext3</action>
3327 </button>
3328
3329 <button style="button_quarter_width">
3330 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3331 <text>EXT4</text>
3332 <action function="set">tw_sdpart_file_system=ext4</action>
3333 </button>
3334
3335 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="page">partsdcardaction</action>
3338 <actions>
3339 <action function="set">tw_back=partsdcard</action>
3340 <action function="set">tw_action=partitionsd</action>
3341 <action function="set">tw_has_action2=1</action>
3342 <action function="set">tw_action2=set</action>
3343 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3345 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3346 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <action function="page">action_page</action>
3348 </actions>
3349 </slider>
3350
3351 <action>
3352 <touch key="home"/>
3353 <action function="page">main</action>
3354 </action>
3355
3356 <action>
3357 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003358 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003359 </action>
3360 </page>
3361
3362 <page name="htcdumlock">
3363 <template name="page"/>
3364
3365 <text style="text_l">
3366 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003368 </text>
3369
3370 <text style="text_m">
3371 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </text>
3374
3375 <button style="main_button_m">
3376 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 <actions>
3379 <action function="set">tw_back=htcdumlock</action>
3380 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3382 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3383 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3384 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <action function="page">confirm_action</action>
3386 </actions>
3387 </button>
3388
3389 <button style="main_button_m">
3390 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003392 <actions>
3393 <action function="set">tw_back=htcdumlock</action>
3394 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3396 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3397 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3398 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003399 <action function="page">confirm_action</action>
3400 </actions>
3401 </button>
3402
3403 <button style="main_button_m">
3404 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 <actions>
3407 <action function="set">tw_back=htcdumlock</action>
3408 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3410 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3411 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3412 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003413 <action function="page">confirm_action</action>
3414 </actions>
3415 </button>
3416
3417 <action>
3418 <touch key="home"/>
3419 <action function="page">main</action>
3420 </action>
3421
3422 <action>
3423 <touch key="back"/>
3424 <action function="page">advanced</action>
3425 </action>
3426 </page>
3427
3428 <page name="lock">
3429 <background color="%semi_transparent%"/>
3430
3431 <image>
3432 <image resource="unlock_icon"/>
3433 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3434 </image>
3435
3436 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 <action function="overlay"/>
3439 </slider>
3440 </page>
3441
3442 <page name="filemanagerlist">
3443 <template name="page"/>
3444
3445 <text style="text_l">
3446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <text style="text_m">
3451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <template name="sort_options"/>
3456
3457 <fileselector>
3458 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3459 <text>%tw_file_location1%</text>
3460 <filter folders="1" files="1"/>
3461 <path name="tw_file_location1" default="/"/>
3462 <data name="tw_filename1"/>
3463 <selection name="tw_selection1"/>
3464 </fileselector>
3465
3466 <button style="main_button_half_width_low">
3467 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <actions>
3470 <action function="set">tw_filename1=tw_file_location1</action>
3471 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003473 <action function="page">filemanageroptions</action>
3474 </actions>
3475 </button>
3476
3477 <action>
3478 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <action function="set">tw_fm_isfolder=0</action>
3481 </actions>
3482 </action>
3483
3484 <action>
3485 <touch key="home"/>
3486 <action function="page">main</action>
3487 </action>
3488
3489 <action>
3490 <touch key="back"/>
3491 <action function="page">advanced</action>
3492 </action>
3493
3494 <action>
3495 <condition var1="tw_filename1" op="modified"/>
3496 <action function="page">filemanageroptions</action>
3497 </action>
3498 </page>
3499
3500 <page name="filemanageroptions">
3501 <template name="page"/>
3502
3503 <text style="text_l">
3504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003505 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003506 </text>
3507
3508 <text style="text_m">
3509 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003511 </text>
3512
3513 <text style="text_m_accent">
3514 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </text>
3517
3518 <text style="text_m">
3519 <placement x="%col1_x_left%" y="%row3_y%"/>
3520 <text>%tw_filename1%</text>
3521 </text>
3522
3523 <button style="main_button_half_width">
3524 <condition var1="tw_fm_isfolder" var2="0"/>
3525 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <actions>
3528 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003529 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003530 <action function="page">choosedestinationfolder</action>
3531 </actions>
3532 </button>
3533
3534 <button style="main_button_half_width">
3535 <condition var1="tw_fm_isfolder" var2="1"/>
3536 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <actions>
3539 <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 -05003540 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <action function="page">choosedestinationfolder</action>
3542 </actions>
3543 </button>
3544
3545 <button style="main_button_half_width">
3546 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003547 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003548 <actions>
3549 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003551 <action function="page">choosedestinationfolder</action>
3552 </actions>
3553 </button>
3554
3555 <button style="main_button_half_width">
3556 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <actions>
3559 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003561 <action function="set">tw_fm_text2=</action>
3562 <action function="set">tw_fm_text3=</action>
3563 <action function="set">tw_include_text3=0</action>
3564 <action function="set">tw_back=filemanageroptions</action>
3565 <action function="page">filemanagerconfirm</action>
3566 </actions>
3567 </button>
3568
3569 <button style="main_button_half_width">
3570 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 <actions>
3573 <action function="set">tw_filemanager_rename=0000</action>
3574 <action function="set">tw_fm_text2=</action>
3575 <action function="set">tw_fm_text3=</action>
3576 <action function="set">tw_include_text3=0</action>
3577 <action function="set">tw_back=filemanageroptions</action>
3578 <action function="page">filemanagerchmod</action>
3579 </actions>
3580 </button>
3581
3582 <button style="main_button_half_width">
3583 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003584 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003585 <actions>
3586 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003588 <action function="set">tw_fm_text2=</action>
3589 <action function="set">tw_fm_text3=</action>
3590 <action function="set">tw_include_text3=0</action>
3591 <action function="set">tw_back=filemanageroptions</action>
3592 <action function="page">filemanagerconfirm</action>
3593 </actions>
3594 </button>
3595
3596 <button style="main_button_half_width">
3597 <condition var1="tw_fm_isfolder" var2="0"/>
3598 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <actions>
3601 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003602 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003603 <action function="set">tw_filemanager_command=mv</action>
3604 <action function="page">filemanagerrenamefile</action>
3605 </actions>
3606 </button>
3607
3608 <button style="main_button_half_width">
3609 <condition var1="tw_fm_isfolder" var2="1"/>
3610 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <actions>
3613 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3616 <action function="page">filemanagerrenamefolder</action>
3617 </actions>
3618 </button>
3619
3620 <action>
3621 <touch key="home"/>
3622 <action function="page">main</action>
3623 </action>
3624
3625 <action>
3626 <touch key="back"/>
3627 <action function="page">filemanagerlist</action>
3628 </action>
3629 </page>
3630
3631 <page name="choosedestinationfolder">
3632 <template name="page"/>
3633
3634 <text style="text_l">
3635 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 </text>
3638
3639 <text style="text_m">
3640 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003642 </text>
3643
3644 <template name="sort_options"/>
3645
3646 <fileselector>
3647 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3648 <text>%tw_file_location2%</text>
3649 <filter folders="1" files="0"/>
3650 <path name="tw_file_location2" default="/"/>
3651 <data name="tw_filename2"/>
3652 <selection name="tw_selection2"/>
3653 </fileselector>
3654
3655 <button style="main_button_half_width_low">
3656 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 <actions>
3659 <action function="set">tw_fm_text2=to</action>
3660 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3661 <action function="set">tw_include_text3=1</action>
3662 <action function="set">tw_back=filemanageroptions</action>
3663 <action function="page">filemanagerconfirm</action>
3664 </actions>
3665 </button>
3666
3667 <action>
3668 <touch key="home"/>
3669 <action function="page">main</action>
3670 </action>
3671
3672 <action>
3673 <touch key="back"/>
3674 <action function="page">filemanageroptions</action>
3675 </action>
3676 </page>
3677
3678 <page name="filemanagerrenamefile">
3679 <template name="page"/>
3680
3681 <text style="text_l">
3682 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 </text>
3685
3686 <text style="text_m">
3687 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003688 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003689 </text>
3690
3691 <text style="text_m_accent">
3692 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 </text>
3695
3696 <input>
3697 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3698 <text>%tw_filemanager_rename%</text>
3699 <data name="tw_filemanager_rename"/>
3700 <restrict minlen="1" maxlen="128"/>
3701 <actions>
3702 <action function="set">tw_fm_text2=to</action>
3703 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3704 <action function="set">tw_include_text3=1</action>
3705 <action function="set">tw_back=filemanageroptions</action>
3706 <action function="page">filemanagerconfirm</action>
3707 </actions>
3708 </input>
3709
3710 <fill color="%accent_color%">
3711 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3712 </fill>
3713
3714 <button style="main_button_half_width_low">
3715 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003717 <action function="page">filemanageroptions</action>
3718 </button>
3719
3720 <template name="keyboardtemplate"/>
3721
3722 <action>
3723 <touch key="home"/>
3724 <action function="page">main</action>
3725 </action>
3726
3727 <action>
3728 <touch key="back"/>
3729 <action function="page">filemanageroptions</action>
3730 </action>
3731 </page>
3732
3733 <page name="filemanagerrenamefolder">
3734 <template name="page"/>
3735
3736 <text style="text_l">
3737 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </text>
3740
3741 <text style="text_m">
3742 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003744 </text>
3745
3746 <text style="text_m_accent">
3747 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <input>
3752 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3753 <text>%tw_filemanager_rename%</text>
3754 <data name="tw_filemanager_rename"/>
3755 <restrict minlen="1" maxlen="128"/>
3756 <actions>
3757 <action function="set">tw_fm_text2=to</action>
3758 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3759 <action function="set">tw_include_text3=1</action>
3760 <action function="set">tw_back=filemanageroptions</action>
3761 <action function="page">filemanagerconfirm</action>
3762 </actions>
3763 </input>
3764
3765 <fill color="%accent_color%">
3766 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3767 </fill>
3768
3769 <button style="main_button_half_width_low">
3770 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 <action function="page">filemanageroptions</action>
3773 </button>
3774
3775 <template name="keyboardtemplate"/>
3776
3777 <action>
3778 <touch key="home"/>
3779 <action function="page">main</action>
3780 </action>
3781
3782 <action>
3783 <touch key="back"/>
3784 <action function="page">filemanageroptions</action>
3785 </action>
3786 </page>
3787
3788 <page name="filemanagerchmod">
3789 <template name="page"/>
3790
3791 <text style="text_l">
3792 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003794 </text>
3795
3796 <text style="text_m">
3797 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 </text>
3800
3801 <text style="text_m_accent">
3802 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 </text>
3805
3806 <input>
3807 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3808 <text>%tw_filemanager_rename%</text>
3809 <data name="tw_filemanager_rename"/>
3810 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3811 <actions>
3812 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3813 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3814 <action function="set">tw_back=filemanageroptions</action>
3815 <action function="page">filemanagerconfirm</action>
3816 </actions>
3817 </input>
3818
3819 <fill color="%accent_color%">
3820 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3821 </fill>
3822
3823 <button style="main_button_half_width_low">
3824 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003825 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003826 <action function="page">filemanageroptions</action>
3827 </button>
3828
3829 <template name="keyboardtemplate"/>
3830
3831 <action>
3832 <touch key="home"/>
3833 <action function="page">main</action>
3834 </action>
3835
3836 <action>
3837 <touch key="back"/>
3838 <action function="page">filemanageroptions</action>
3839 </action>
3840 </page>
3841
3842 <page name="filemanagerconfirm">
3843 <template name="page"/>
3844
3845 <text style="text_l">
3846 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003847 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003848 </text>
3849
3850 <text style="text_m">
3851 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 </text>
3854
3855 <text style="text_m_accent">
3856 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3857 <text>%tw_fm_text1%</text>
3858 </text>
3859
3860 <text style="text_m">
3861 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3862 <text>%tw_filename1%</text>
3863 </text>
3864
3865 <text style="text_m_accent">
3866 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3867 <text>%tw_fm_text2%</text>
3868 </text>
3869
3870 <text style="text_m">
3871 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3872 <text>%tw_fm_text3%</text>
3873 </text>
3874
3875 <text style="text_m">
3876 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 </text>
3879
3880 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003882 <action function="page">filemanageraction</action>
3883 </slider>
3884
3885 <action>
3886 <touch key="back"/>
3887 <action function="page">%tw_back%</action>
3888 </action>
3889
3890 <action>
3891 <touch key="home"/>
3892 <action function="page">main</action>
3893 </action>
3894 </page>
3895
3896 <page name="filemanageraction">
3897 <template name="page"/>
3898
3899 <text style="text_l">
3900 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003902 </text>
3903
3904 <text style="text_m">
3905 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3906 <text>%tw_fm_text1%</text>
3907 </text>
3908
3909 <template name="console"/>
3910
3911 <template name="progress_bar"/>
3912
3913 <action>
3914 <conditions>
3915 <condition var1="tw_operation_state" var2="1"/>
3916 <condition var1="tw_operation_status" var2="0"/>
3917 </conditions>
3918 <actions>
3919 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003921 <action function="page">action_complete</action>
3922 </actions>
3923 </action>
3924
3925 <action>
3926 <conditions>
3927 <condition var1="tw_operation_state" var2="1"/>
3928 <condition var1="tw_operation_status" op="!=" var2="0"/>
3929 </conditions>
3930 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003932 <action function="page">action_complete</action>
3933 </actions>
3934 </action>
3935
3936 <action>
3937 <condition var1="tw_include_text3" var2="0"/>
3938 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3939 </action>
3940
3941 <action>
3942 <condition var1="tw_include_text3" var2="1"/>
3943 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3944 </action>
3945 </page>
3946
3947 <page name="decrypt">
3948 <template name="page"/>
3949
3950 <action>
3951 <condition var1="tw_crypto_pwtype" var2="2"/>
3952 <action function="page">decrypt_pattern</action>
3953 </action>
3954
3955 <text style="text_l">
3956 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 </text>
3959
3960 <text style="text_m">
3961 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 </text>
3964
3965 <text style="text_m_accent">
3966 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 </text>
3969
3970 <input>
3971 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3972 <text>%tw_crypto_display%</text>
3973 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3974 <restrict minlen="1" maxlen="254"/>
3975 <action function="page">trydecrypt</action>
3976 </input>
3977
3978 <fill color="%accent_color%">
3979 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3980 </fill>
3981
3982 <fill color="%text_fail_color%">
3983 <condition var1="tw_password_fail" var2="1"/>
3984 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3985 </fill>
3986
3987 <text style="text_m_fail">
3988 <condition var1="tw_password_fail" var2="1"/>
3989 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08003990 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <button style="main_button_half_width_low">
3994 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 <actions>
3997 <action function="set">tw_page_done=1</action>
3998 <action function="page">main</action>
3999 </actions>
4000 </button>
4001
z31s1g608d7ff2016-01-18 19:47:25 +01004002 <button style="main_button_half_width_low">
4003 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4004 <text>{@sel_lang_btn=Select Language}</text>
4005 <action function="overlay">select_language</action>
4006 </button>
4007
z31s1g28f0a922015-11-07 18:50:22 +01004008 <template name="keyboardtemplate"/>
4009 </page>
4010
4011 <page name="decrypt_pattern">
4012 <template name="page"/>
4013
4014 <text style="text_l">
4015 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004017 </text>
4018
4019 <text style="text_m">
4020 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004021 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004022 </text>
4023
4024 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004025 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004027 </text>
4028
Aleksa Saraib25a1832015-12-31 17:36:00 +01004029 <text style="text_m_fail">
4030 <condition var1="tw_password_fail" var2="1"/>
4031 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004032 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004033 </text>
4034
z31s1g28f0a922015-11-07 18:50:22 +01004035 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004036 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004037 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4038 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4039 <data name="tw_crypto_password"/>
4040 <action function="page">trydecrypt</action>
4041 </patternpassword>
4042
Aleksa Saraib25a1832015-12-31 17:36:00 +01004043 <button style="main_button_half_width_low">
4044 <placement x="%col_button_right%" y="%row1a_y%"/>
4045 <text>3x3</text>
4046 <action function="set">tw_gui_pattern_grid_size=3</action>
4047 </button>
4048
4049 <button style="main_button_half_width_low">
4050 <placement x="%col_button_right%" y="%row4a_y%"/>
4051 <text>4x4</text>
4052 <action function="set">tw_gui_pattern_grid_size=4</action>
4053 </button>
4054
4055 <button style="main_button_half_width_low">
4056 <placement x="%col_button_right%" y="%row7a_y%"/>
4057 <text>5x5</text>
4058 <action function="set">tw_gui_pattern_grid_size=5</action>
4059 </button>
4060
4061 <button style="main_button_half_width_low">
4062 <placement x="%col_button_right%" y="%row10a_y%"/>
4063 <text>6x6</text>
4064 <action function="set">tw_gui_pattern_grid_size=6</action>
4065 </button>
4066
z31s1g28f0a922015-11-07 18:50:22 +01004067 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004068 <placement x="%col1_x_right%" y="%row15a_y%"/>
4069 <text>{@sel_lang_btn=Select Language}</text>
4070 <action function="overlay">select_language</action>
4071 </button>
4072
4073 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004074 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 <actions>
4077 <action function="set">tw_page_done=1</action>
4078 <action function="page">main</action>
4079 </actions>
4080 </button>
4081 </page>
4082
4083 <page name="trydecrypt">
4084 <template name="page"/>
4085
4086 <text style="text_l">
4087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004089 </text>
4090
4091 <text style="text_m">
4092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004094 </text>
4095
4096 <template name="console"/>
4097
4098 <template name="progress_bar"/>
4099
4100 <action>
4101 <action function="decrypt"/>
4102 </action>
4103
4104 <action>
4105 <conditions>
4106 <condition var1="tw_operation_state" var2="1"/>
4107 <condition var1="tw_operation_status" op="!=" var2="0"/>
4108 </conditions>
4109 <actions>
4110 <action function="set">tw_password_fail=1</action>
4111 <action function="page">decrypt</action>
4112 </actions>
4113 </action>
4114
4115 <action>
4116 <conditions>
4117 <condition var1="tw_operation_state" var2="1"/>
4118 <condition var1="tw_operation_status" op="=" var2="0"/>
4119 </conditions>
4120 <actions>
4121 <action function="set">tw_page_done=1</action>
4122 <action function="page">main</action>
4123 </actions>
4124 </action>
4125 </page>
4126
z31s1g28f0a922015-11-07 18:50:22 +01004127 <page name="terminalcommand">
4128 <template name="page"/>
4129
4130 <fill color="%background_color%">
4131 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4132 </fill>
4133
z31s1g56189522016-01-13 19:12:40 +01004134 <terminal>
4135 <condition var1="tw_hide_kb" var2="0"/>
4136 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4137 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004138
z31s1g56189522016-01-13 19:12:40 +01004139 <terminal>
4140 <condition var1="tw_hide_kb" var2="1"/>
4141 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4142 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004143
z31s1g56189522016-01-13 19:12:40 +01004144 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004145
z31s1g56189522016-01-13 19:12:40 +01004146 <object type="fill" color="#000000">
4147 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4148 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004149
z31s1g608d7ff2016-01-18 19:47:25 +01004150 <button>
z31s1g56189522016-01-13 19:12:40 +01004151 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4152 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4153 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4154 <image resource="back" />
4155 <condition var1="tw_busy" var2="0" />
4156 <actions>
4157 <action function="set">tw_hide_kb=0</action>
4158 <action function="page">advanced</action>
4159 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004160 </button>
z31s1g56189522016-01-13 19:12:40 +01004161
z31s1g608d7ff2016-01-18 19:47:25 +01004162 <button>
z31s1g56189522016-01-13 19:12:40 +01004163 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4164 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4165 <condition var1="tw_hide_kb" op="=" var2="0" />
4166 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4167 <image resource="kb_hide" />
4168 <condition var1="tw_busy" var2="0" />
4169 <actions>
4170 <action function="set">tw_hide_kb=1</action>
4171 <action function="page">terminalcommand</action>
4172 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </button>
z31s1g56189522016-01-13 19:12:40 +01004174
z31s1g608d7ff2016-01-18 19:47:25 +01004175 <button>
z31s1g56189522016-01-13 19:12:40 +01004176 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4177 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4178 <condition var1="tw_hide_kb" op="=" var2="1" />
4179 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4180 <image resource="kb_show" />
4181 <condition var1="tw_busy" var2="0" />
4182 <actions>
4183 <action function="set">tw_hide_kb=0</action>
4184 <action function="page">terminalcommand</action>
4185 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004186 </button>
z31s1g56189522016-01-13 19:12:40 +01004187
z31s1g608d7ff2016-01-18 19:47:25 +01004188 <button>
z31s1g56189522016-01-13 19:12:40 +01004189 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4190 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4191 <image resource="home" />
4192 <condition var1="tw_busy" var2="0" />
4193 <actions>
4194 <action function="set">tw_hide_kb=0</action>
4195 <action function="key">home</action>
4196 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004197 </button>
z31s1g56189522016-01-13 19:12:40 +01004198
z31s1g608d7ff2016-01-18 19:47:25 +01004199 <button>
z31s1g56189522016-01-13 19:12:40 +01004200 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4201 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4202 <condition var1="tw_hide_kb" op="=" var2="0" />
4203 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4204 <image resource="kb_hide" />
4205 <condition var1="tw_busy" var2="0" />
4206 <actions>
4207 <action function="set">tw_hide_kb=1</action>
4208 <action function="page">terminalcommand</action>
4209 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004210 </button>
z31s1g56189522016-01-13 19:12:40 +01004211
z31s1g608d7ff2016-01-18 19:47:25 +01004212 <button>
z31s1g56189522016-01-13 19:12:40 +01004213 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4214 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4215 <condition var1="tw_hide_kb" op="=" var2="1" />
4216 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4217 <image resource="kb_show" />
4218 <condition var1="tw_busy" var2="0" />
4219 <actions>
4220 <action function="set">tw_hide_kb=0</action>
4221 <action function="page">terminalcommand</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 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4229 <image resource="back" />
4230 <condition var1="tw_busy" var2="0" />
4231 <actions>
4232 <action function="set">tw_hide_kb=0</action>
4233 <action function="page">advanced</action>
4234 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004235 </button>
z31s1g56189522016-01-13 19:12:40 +01004236
z31s1g608d7ff2016-01-18 19:47:25 +01004237 <button>
z31s1g56189522016-01-13 19:12:40 +01004238 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4239 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4240 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4241 <image resource="back" />
4242 <condition var1="tw_busy" var2="0" />
4243 <actions>
4244 <action function="set">tw_hide_kb=0</action>
4245 <action function="page">advanced</action>
4246 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004247 </button>
z31s1g56189522016-01-13 19:12:40 +01004248
z31s1g608d7ff2016-01-18 19:47:25 +01004249 <button>
z31s1g56189522016-01-13 19:12:40 +01004250 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4251 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4252 <condition var1="tw_hide_kb" op="=" var2="0" />
4253 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4254 <image resource="kb_hide" />
4255 <condition var1="tw_busy" var2="0" />
4256 <actions>
4257 <action function="set">tw_hide_kb=1</action>
4258 <action function="page">terminalcommand</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="1" />
4264 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4265 <condition var1="tw_hide_kb" op="=" var2="1" />
4266 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4267 <image resource="kb_show" />
4268 <condition var1="tw_busy" var2="0" />
4269 <actions>
4270 <action function="set">tw_hide_kb=0</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="1" />
4277 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4278 <image resource="home" />
4279 <condition var1="tw_busy" var2="0" />
4280 <actions>
4281 <action function="set">tw_hide_kb=0</action>
4282 <action function="key">home</action>
4283 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004284 </button>
z31s1g56189522016-01-13 19:12:40 +01004285
z31s1g608d7ff2016-01-18 19:47:25 +01004286 <button>
z31s1g56189522016-01-13 19:12:40 +01004287 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4288 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4289 <condition var1="tw_hide_kb" op="=" var2="0" />
4290 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4291 <image resource="kb_hide" />
4292 <condition var1="tw_busy" var2="0" />
4293 <actions>
4294 <action function="set">tw_hide_kb=1</action>
4295 <action function="page">terminalcommand</action>
4296 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004297 </button>
z31s1g56189522016-01-13 19:12:40 +01004298
z31s1g608d7ff2016-01-18 19:47:25 +01004299 <button>
z31s1g56189522016-01-13 19:12:40 +01004300 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4301 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4302 <condition var1="tw_hide_kb" op="=" var2="1" />
4303 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4304 <image resource="kb_show" />
4305 <condition var1="tw_busy" var2="0" />
4306 <actions>
4307 <action function="set">tw_hide_kb=0</action>
4308 <action function="page">terminalcommand</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 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4316 <image resource="back" />
4317 <condition var1="tw_busy" var2="0" />
4318 <actions>
4319 <action function="set">tw_hide_kb=0</action>
4320 <action function="page">advanced</action>
4321 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004322 </button>
z31s1g56189522016-01-13 19:12:40 +01004323
z31s1g608d7ff2016-01-18 19:47:25 +01004324 <button>
z31s1g56189522016-01-13 19:12:40 +01004325 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4326 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4327 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4328 <image resource="back" />
4329 <condition var1="tw_busy" var2="0" />
4330 <actions>
4331 <action function="set">tw_hide_kb=0</action>
4332 <action function="page">advanced</action>
4333 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004334 </button>
z31s1g56189522016-01-13 19:12:40 +01004335
z31s1g608d7ff2016-01-18 19:47:25 +01004336 <button>
z31s1g56189522016-01-13 19:12:40 +01004337 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4338 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4339 <condition var1="tw_hide_kb" op="=" var2="0" />
4340 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4341 <image resource="kb_hide" />
4342 <condition var1="tw_busy" var2="0" />
4343 <actions>
4344 <action function="set">tw_hide_kb=1</action>
4345 <action function="page">terminalcommand</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="2" />
4351 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4352 <condition var1="tw_hide_kb" op="=" var2="1" />
4353 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4354 <image resource="kb_show" />
4355 <condition var1="tw_busy" var2="0" />
4356 <actions>
4357 <action function="set">tw_hide_kb=0</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="2" />
4364 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4365 <image resource="home" />
4366 <condition var1="tw_busy" var2="0" />
4367 <actions>
4368 <action function="set">tw_hide_kb=0</action>
4369 <action function="key">home</action>
4370 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004371 </button>
z31s1g56189522016-01-13 19:12:40 +01004372
z31s1g608d7ff2016-01-18 19:47:25 +01004373 <button>
z31s1g56189522016-01-13 19:12:40 +01004374 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4375 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4376 <condition var1="tw_hide_kb" op="=" var2="0" />
4377 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4378 <image resource="kb_hide" />
4379 <condition var1="tw_busy" var2="0" />
4380 <actions>
4381 <action function="set">tw_hide_kb=1</action>
4382 <action function="page">terminalcommand</action>
4383 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004384 </button>
z31s1g56189522016-01-13 19:12:40 +01004385
z31s1g608d7ff2016-01-18 19:47:25 +01004386 <button>
z31s1g56189522016-01-13 19:12:40 +01004387 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4388 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4389 <condition var1="tw_hide_kb" op="=" var2="1" />
4390 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4391 <image resource="kb_show" />
4392 <condition var1="tw_busy" var2="0" />
4393 <actions>
4394 <action function="set">tw_hide_kb=0</action>
4395 <action function="page">terminalcommand</action>
4396 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004397 </button>
z31s1g56189522016-01-13 19:12:40 +01004398
z31s1g608d7ff2016-01-18 19:47:25 +01004399 <button>
z31s1g56189522016-01-13 19:12:40 +01004400 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4401 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4402 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4403 <image resource="back" />
4404 <condition var1="tw_busy" var2="0" />
4405 <actions>
4406 <action function="set">tw_hide_kb=0</action>
4407 <action function="page">advanced</action>
4408 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004409 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004410
4411 <action>
4412 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004413 <actions>
4414 <action function="page">main</action>
4415 <action function="set">tw_hide_kb=0</action>
4416 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </action>
4418
4419 <action>
4420 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004421 <actions>
4422 <action function="page">advanced</action>
4423 <action function="set">tw_hide_kb=0</action>
4424 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </action>
z31s1g56189522016-01-13 19:12:40 +01004426
4427 <object type="action">
4428 <touch key="power+voldown" />
4429 <action function="screenshot" />
4430 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004431 </page>
4432
4433 <page name="sideload">
4434 <template name="page"/>
4435
4436 <text style="text_l">
4437 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004438 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004439 </text>
4440
4441 <text style="text_m">
4442 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004444 </text>
4445
4446 <checkbox>
4447 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004449 <data variable="tw_wipe_dalvik"/>
4450 </checkbox>
4451
4452 <checkbox>
4453 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 <data variable="tw_wipe_cache"/>
4456 </checkbox>
4457
4458 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004459 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 <actions>
4461 <action function="set">tw_back=advanced</action>
4462 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004463 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4464 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4465 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004466 <action function="set">tw_has_cancel=1</action>
4467 <action function="set">tw_show_reboot=1</action>
4468 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4469 <action function="page">action_page</action>
4470 </actions>
4471 </slider>
4472
4473 <action>
4474 <touch key="home"/>
4475 <action function="page">main</action>
4476 </action>
4477
4478 <action>
4479 <touch key="back"/>
4480 <action function="page">advanced</action>
4481 </action>
4482 </page>
4483
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004484 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004485 <template name="page"/>
4486
4487 <text style="text_l">
4488 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004489 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004490 </text>
4491
4492 <text style="text_m">
4493 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004494 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </text>
4496
4497 <text style="text_m_accent">
4498 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004499 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004500 </text>
4501
z31s1g28f0a922015-11-07 18:50:22 +01004502 <text style="text_m_fail">
4503 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004504 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004505 </text>
4506
4507 <text style="text_m_fail">
4508 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004509 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004513 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004514 <actions>
4515 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004516 <action function="set">tw_action=fixcontexts</action>
4517 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4518 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004520 <action function="set">tw_show_reboot=1</action>
4521 <action function="page">action_page</action>
4522 </actions>
4523 </slider>
4524
4525 <action>
4526 <touch key="home"/>
4527 <action function="page">main</action>
4528 </action>
4529
4530 <action>
4531 <touch key="back"/>
4532 <action function="page">advanced</action>
4533 </action>
4534 </page>
4535
4536 <page name="installsu">
4537 <template name="page"/>
4538
4539 <text style="text_l">
4540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004541 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004542 </text>
4543
4544 <text style="text_m">
4545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004547 </text>
4548
4549 <text style="text_m_accent">
4550 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 </text>
4553
4554 <text style="text_m">
4555 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004556 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004557 </text>
4558
4559 <text style="text_m">
4560 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004562 </text>
4563
4564 <button style="main_button_half_width">
4565 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004566 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004567 <action function="set">tw_page_done=1</action>
4568 </button>
4569
4570 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004571 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 <actions>
4573 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004575 <action function="set">tw_action_text2=</action>
4576 <action function="page">singleaction_page</action>
4577 </actions>
4578 </slider>
4579 </page>
4580
4581 <page name="slideout">
4582 <fill color="%background_color%">
4583 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4584 </fill>
4585
4586 <console>
4587 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4588 </console>
4589
4590 <button>
4591 <fill color="%transparent%"/>
4592 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4593 <action function="overlay"/>
4594 </button>
4595
4596 <action>
4597 <touch key="power+voldown"/>
4598 <action function="screenshot"/>
4599 </action>
4600 </page>
4601
4602 <page name="select_storage">
4603 <fill color="%semi_transparent%">
4604 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4605 </fill>
4606
4607 <fill color="%background_color%">
4608 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4609 </fill>
4610
4611 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004612 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004613 <data name="tw_storage_path"/>
4614 <listtype name="storage"/>
4615 </partitionlist>
4616
4617 <button style="button_third_width">
4618 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 <actions>
4621 <action function="set">tw_clear_destination=%tw_back%</action>
4622 <action function="overlay"/>
4623 <action function="page">clear_vars</action>
4624 </actions>
4625 </button>
4626
4627 <fill color="#000000">
4628 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4629 </fill>
4630
4631 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004632 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4633 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4634 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4635 <image resource="back" />
4636 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004637 <actions>
4638 <action function="overlay"/>
4639 <action function="key">%tw_back%</action>
4640 </actions>
4641 </button>
4642
4643 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004644 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4645 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4646 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4647 <image resource="console" />
4648 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004649 <action function="overlay">slideout</action>
4650 </button>
4651
4652 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004653 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4654 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4655 <image resource="home" />
4656 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004657 <actions>
4658 <action function="overlay"/>
4659 <action function="key">home</action>
4660 </actions>
4661 </button>
4662
4663 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004664 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4665 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4666 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4667 <image resource="console" />
4668 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004669 <action function="overlay">slideout</action>
4670 </button>
4671
4672 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004673 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4674 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4675 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4676 <image resource="back" />
4677 <condition var1="tw_busy" var2="0" />
4678 <actions>
4679 <action function="overlay"/>
4680 <action function="key">%tw_back%</action>
4681 </actions>
4682 </button>
4683
4684 <button>
4685 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4686 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4687 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4688 <image resource="back" />
4689 <condition var1="tw_busy" var2="0" />
4690 <actions>
4691 <action function="overlay"/>
4692 <action function="key">%tw_back%</action>
4693 </actions>
4694 </button>
4695
4696 <button>
4697 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4698 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4699 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4700 <image resource="console" />
4701 <condition var1="tw_busy" var2="0" />
4702 <action function="overlay">slideout</action>
4703 </button>
4704
4705 <button>
4706 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4707 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4708 <image resource="home" />
4709 <condition var1="tw_busy" var2="0" />
4710 <actions>
4711 <action function="overlay"/>
4712 <action function="key">home</action>
4713 </actions>
4714 </button>
4715
4716 <button>
4717 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4718 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4719 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4720 <image resource="console" />
4721 <condition var1="tw_busy" var2="0" />
4722 <action function="overlay">slideout</action>
4723 </button>
4724
4725 <button>
4726 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4727 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4728 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4729 <image resource="back" />
4730 <condition var1="tw_busy" var2="0" />
4731 <actions>
4732 <action function="overlay"/>
4733 <action function="key">%tw_back%</action>
4734 </actions>
4735 </button>
4736
4737 <button>
4738 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4739 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4740 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4741 <image resource="back" />
4742 <condition var1="tw_busy" var2="0" />
4743 <actions>
4744 <action function="overlay"/>
4745 <action function="key">%tw_back%</action>
4746 </actions>
4747 </button>
4748
4749 <button>
4750 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4751 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4752 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4753 <image resource="console" />
4754 <condition var1="tw_busy" var2="0" />
4755 <action function="overlay">slideout</action>
4756 </button>
4757
4758 <button>
4759 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4760 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4761 <image resource="home" />
4762 <condition var1="tw_busy" var2="0" />
4763 <actions>
4764 <action function="overlay"/>
4765 <action function="key">home</action>
4766 </actions>
4767 </button>
4768
4769 <button>
4770 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4771 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4772 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4773 <image resource="console" />
4774 <condition var1="tw_busy" var2="0" />
4775 <action function="overlay">slideout</action>
4776 </button>
4777
4778 <button>
4779 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4780 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4781 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4782 <image resource="back" />
4783 <condition var1="tw_busy" var2="0" />
4784 <actions>
4785 <action function="overlay"/>
4786 <action function="key">%tw_back%</action>
4787 </actions>
4788 </button>
4789
4790 <action>
4791 <touch key="power+voldown"/>
4792 <action function="screenshot"/>
4793 </action>
4794 </page>
4795
4796 <page name="select_language">
4797 <fill color="%semi_transparent%">
4798 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4799 </fill>
4800
4801 <fill color="%background_color%">
4802 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4803 </fill>
4804
4805 <listbox>
4806 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4807 <text>{@select_language=Select Language:}</text>
4808 <icon selected="radio_true" unselected="radio_false" />
4809 <data name="tw_language" />
4810 </listbox>
4811
4812 <button style="button_third_width">
4813 <placement x="%dialog_button_x%" y="%row13_y%"/>
4814 <text>{@ok_btn=OK}</text>
4815 <actions>
4816 <action function="overlay"/>
4817 <action function="setlanguage"></action>
4818 </actions>
4819 </button>
4820
4821 <fill color="#000000">
4822 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4823 </fill>
4824
4825 <button>
4826 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4827 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4828 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4829 <image resource="back" />
4830 <condition var1="tw_busy" var2="0" />
4831 <actions>
4832 <action function="overlay"/>
4833 <action function="key">%tw_back%</action>
4834 </actions>
4835 </button>
4836
4837 <button>
4838 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4839 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4840 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4841 <image resource="console" />
4842 <condition var1="tw_busy" var2="0" />
4843 <action function="overlay">slideout</action>
4844 </button>
4845
4846 <button>
4847 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4848 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4849 <image resource="home" />
4850 <condition var1="tw_busy" var2="0" />
4851 <actions>
4852 <action function="overlay"/>
4853 <action function="key">home</action>
4854 </actions>
4855 </button>
4856
4857 <button>
4858 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4859 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4860 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4861 <image resource="console" />
4862 <condition var1="tw_busy" var2="0" />
4863 <action function="overlay">slideout</action>
4864 </button>
4865
4866 <button>
4867 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4868 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4869 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4870 <image resource="back" />
4871 <condition var1="tw_busy" var2="0" />
4872 <actions>
4873 <action function="overlay"/>
4874 <action function="key">%tw_back%</action>
4875 </actions>
4876 </button>
4877
4878 <button>
4879 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4880 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4881 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4882 <image resource="back" />
4883 <condition var1="tw_busy" var2="0" />
4884 <actions>
4885 <action function="overlay"/>
4886 <action function="key">%tw_back%</action>
4887 </actions>
4888 </button>
4889
4890 <button>
4891 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4892 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4893 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4894 <image resource="console" />
4895 <condition var1="tw_busy" var2="0" />
4896 <action function="overlay">slideout</action>
4897 </button>
4898
4899 <button>
4900 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4901 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4902 <image resource="home" />
4903 <condition var1="tw_busy" var2="0" />
4904 <actions>
4905 <action function="overlay"/>
4906 <action function="key">home</action>
4907 </actions>
4908 </button>
4909
4910 <button>
4911 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4912 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4913 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4914 <image resource="console" />
4915 <condition var1="tw_busy" var2="0" />
4916 <action function="overlay">slideout</action>
4917 </button>
4918
4919 <button>
4920 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4921 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4922 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4923 <image resource="back" />
4924 <condition var1="tw_busy" var2="0" />
4925 <actions>
4926 <action function="overlay"/>
4927 <action function="key">%tw_back%</action>
4928 </actions>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4933 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4934 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4935 <image resource="back" />
4936 <condition var1="tw_busy" var2="0" />
4937 <actions>
4938 <action function="overlay"/>
4939 <action function="key">%tw_back%</action>
4940 </actions>
4941 </button>
4942
4943 <button>
4944 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4945 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4946 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4947 <image resource="console" />
4948 <condition var1="tw_busy" var2="0" />
4949 <action function="overlay">slideout</action>
4950 </button>
4951
4952 <button>
4953 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4954 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4955 <image resource="home" />
4956 <condition var1="tw_busy" var2="0" />
4957 <actions>
4958 <action function="overlay"/>
4959 <action function="key">home</action>
4960 </actions>
4961 </button>
4962
4963 <button>
4964 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4965 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4966 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4967 <image resource="console" />
4968 <condition var1="tw_busy" var2="0" />
4969 <action function="overlay">slideout</action>
4970 </button>
4971
4972 <button>
4973 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4974 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4975 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4976 <image resource="back" />
4977 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004978 <actions>
4979 <action function="overlay"/>
4980 <action function="key">%tw_back%</action>
4981 </actions>
4982 </button>
4983
4984 <action>
4985 <touch key="power+voldown"/>
4986 <action function="screenshot"/>
4987 </action>
4988 </page>
4989 </pages>
4990</recovery>