blob: 525a2c1da2fd8608fe59f19d78cd19a0e461d6dc [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"/>
1560 </conditions>
1561 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001562 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001563 </text>
1564
1565 <text style="text_m">
1566 <conditions>
1567 <condition var1="tw_include_encrypted_backup" var2="1"/>
1568 <condition var1="tw_encrypt_backup" var2="1"/>
1569 </conditions>
1570 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001571 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001572 </text>
1573
1574 <fill color="%fileselector_linecolor%">
1575 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1576 </fill>
1577
1578 <button>
1579 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1580 <fill color="%transparent%"/>
1581 <actions>
1582 <action function="set">tw_password_not_match=0</action>
1583 <action function="page">backupencryption</action>
1584 </actions>
1585 </button>
1586
1587 <text style="text_m_accent">
1588 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 </text>
1591
1592 <checkbox>
1593 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 <data variable="tw_use_compression"/>
1596 </checkbox>
1597
1598 <checkbox>
1599 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <data variable="tw_skip_md5_generate"/>
1602 </checkbox>
1603
1604 <checkbox>
1605 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <data variable="tw_disable_free_space"/>
1608 </checkbox>
1609
1610 <button style="main_button_half_width">
1611 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001612 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001613 <actions>
1614 <action function="set">tw_back=backup</action>
1615 <action function="overlay">select_storage</action>
1616 </actions>
1617 </button>
1618
1619 <button style="main_button_half_width">
1620 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001621 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001622 <actions>
1623 <action function="refreshsizes"/>
1624 <action function="page">backup</action>
1625 </actions>
1626 </button>
1627
1628 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 <action function="page">backup_run</action>
1631 </slider>
1632
1633 <action>
1634 <touch key="home"/>
1635 <action function="page">main</action>
1636 </action>
1637
1638 <action>
1639 <touch key="back"/>
1640 <action function="page">main</action>
1641 </action>
1642 </page>
1643
1644 <page name="backupname1">
1645 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001647 <action function="generatebackupname"/>
1648 </action>
1649
1650 <action>
1651 <action function="page">backupname2</action>
1652 </action>
1653 </page>
1654
1655 <page name="backupname2">
1656 <template name="page"/>
1657
1658 <text style="text_l">
1659 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 </text>
1662
1663 <text style="text_m">
1664 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001665 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001666 </text>
1667
1668 <text style="text_m_accent">
1669 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <input>
1674 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1675 <text>%tw_backup_name%</text>
1676 <data name="tw_backup_name"/>
1677 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1678 <actions>
1679 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1680 <action function="set">tw_existpage=backupname2</action>
1681 <action function="set">tw_notexistpage=backup</action>
1682 <action function="page">filecheck</action>
1683 </actions>
1684 </input>
1685
1686 <fill color="%accent_color%">
1687 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1688 </fill>
1689
1690 <fill color="%text_fail_color%">
1691 <condition var1="tw_fileexists" var2="1"/>
1692 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1693 </fill>
1694
1695 <text style="text_m_fail">
1696 <condition var1="tw_fileexists" var2="1"/>
1697 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 </text>
1700
1701 <button style="main_button_half_width_low">
1702 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001703 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001704 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001705 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001706 <action function="page">backup</action>
1707 </actions>
1708 </button>
1709
1710 <button style="main_button_half_width_low">
1711 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001712 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <action function="appenddatetobackupname"/>
1714 </button>
1715
1716 <template name="keyboardtemplate"/>
1717
1718 <action>
1719 <touch key="home"/>
1720 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001721 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001722 <action function="page">main</action>
1723 </actions>
1724 </action>
1725
1726 <action>
1727 <touch key="back"/>
1728 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001729 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001730 <action function="page">backup</action>
1731 </actions>
1732 </action>
1733 </page>
1734
1735 <page name="backupencryption">
1736 <template name="page"/>
1737
1738 <text style="text_l">
1739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </text>
1742
1743 <text style="text_m">
1744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 </text>
1747
1748 <text style="text_m_accent">
1749 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 </text>
1752
1753 <input>
1754 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1755 <text>%tw_backup_encrypt_display%</text>
1756 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1757 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1758 <action function="page">backupencryption2</action>
1759 </input>
1760
1761 <fill color="%accent_color%">
1762 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1763 </fill>
1764
1765 <fill color="%text_fail_color%">
1766 <condition var1="tw_password_not_match" var2="1"/>
1767 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1768 </fill>
1769
1770 <text style="text_m_fail">
1771 <condition var1="tw_password_not_match" var2="1"/>
1772 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001773 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001774 </text>
1775
1776 <button style="main_button_half_width_low">
1777 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 <actions>
1780 <action function="set">tw_encrypt_backup=0</action>
1781 <action function="set">tw_backup_password=</action>
1782 <action function="set">tw_backup_password2=</action>
1783 <action function="set">tw_backup_encrypt_display=</action>
1784 <action function="set">tw_backup_encrypt_display2=</action>
1785 <action function="page">backup</action>
1786 </actions>
1787 </button>
1788
1789 <template name="keyboardtemplate"/>
1790
1791 <action>
1792 <touch key="home"/>
1793 <action function="page">main</action>
1794 </action>
1795
1796 <action>
1797 <touch key="back"/>
1798 <action function="page">backup</action>
1799 </action>
1800 </page>
1801
1802 <page name="backupencryption2">
1803 <template name="page"/>
1804
1805 <text style="text_l">
1806 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001808 </text>
1809
1810 <text style="text_m">
1811 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001812 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001813 </text>
1814
1815 <text style="text_m_accent">
1816 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 </text>
1819
1820 <input>
1821 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1822 <text>%tw_backup_encrypt_display2%</text>
1823 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1824 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1825 <action function="page">checkbackuppassword</action>
1826 </input>
1827
1828 <fill color="%accent_color%">
1829 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1830 </fill>
1831
1832 <text style="text_m">
1833 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001834 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001835 </text>
1836
1837 <button style="main_button_half_width_low">
1838 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001839 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001840 <actions>
1841 <action function="set">tw_encrypt_backup=0</action>
1842 <action function="set">tw_backup_password=</action>
1843 <action function="set">tw_backup_password2=</action>
1844 <action function="set">tw_backup_encrypt_display=</action>
1845 <action function="set">tw_backup_encrypt_display2=</action>
1846 <action function="page">backup</action>
1847 </actions>
1848 </button>
1849
1850 <template name="keyboardtemplate"/>
1851
1852 <action>
1853 <touch key="home"/>
1854 <action function="page">main</action>
1855 </action>
1856
1857 <action>
1858 <touch key="back"/>
1859 <action function="page">backup</action>
1860 </action>
1861 </page>
1862
1863 <page name="checkbackuppassword">
1864 <action>
1865 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1866 <actions>
1867 <action function="set">tw_encrypt_backup=1</action>
1868 <action function="page">backup</action>
1869 </actions>
1870 </action>
1871
1872 <action>
1873 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1874 <actions>
1875 <action function="set">tw_encrypt_backup=0</action>
1876 <action function="set">tw_password_not_match=1</action>
1877 <action function="set">tw_backup_password=</action>
1878 <action function="set">tw_backup_password2=</action>
1879 <action function="set">tw_backup_encrypt_display=</action>
1880 <action function="set">tw_backup_encrypt_display2=</action>
1881 <action function="page">backupencryption</action>
1882 </actions>
1883 </action>
1884 </page>
1885
1886 <page name="backup_run">
1887 <template name="page"/>
1888
1889 <text style="text_l">
1890 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1891 <text>%tw_operation%</text>
1892 </text>
1893
1894 <text style="text_m">
1895 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1896 <text>%tw_partition% Partition</text>
1897 </text>
1898
1899 <template name="console"/>
1900
1901 <template name="progress_bar"/>
1902
1903 <text style="text_m_accent">
1904 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 </text>
1907
1908 <text style="text_m">
1909 <placement x="%progress_text_x%" y="%row17_y%"/>
1910 <text>%tw_file_progress%</text>
1911 </text>
1912
1913 <text style="text_m">
1914 <placement x="%progress_text_x%" y="%row18_y%"/>
1915 <text>%tw_size_progress%</text>
1916 </text>
1917
1918 <button style="main_button_half_width">
1919 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 <action function="cancelbackup"/>
1922 </button>
1923
1924 <action>
1925 <action function="nandroid">backup</action>
1926 </action>
1927
1928 <action>
1929 <condition var1="tw_operation_state" var2="1"/>
1930 <condition var1="tw_cancel_backup" var2="0"/>
1931 <actions>
1932 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001934 <action function="set">tw_show_reboot=1</action>
1935 <action function="page">action_complete</action>
1936 </actions>
1937 </action>
1938
1939 <action>
1940 <condition var1="tw_operation_state" var2="1"/>
1941 <condition var1="tw_cancel_backup" var2="1"/>
1942 <actions>
1943 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001945 <action function="set">tw_show_reboot=1</action>
1946 <action function="page">action_complete</action>
1947 </actions>
1948 </action>
1949 </page>
1950
1951 <page name="restore">
1952 <template name="page"/>
1953
1954 <text style="text_l">
1955 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 </text>
1958
1959 <text style="text_m">
1960 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001961 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001962 </text>
1963
1964 <template name="sort_options"/>
1965
1966 <fileselector>
1967 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001968 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001969 <filter folders="1" files="0" nav="0"/>
1970 <path name="tw_backups_folder"/>
1971 <data name="tw_restore" default=""/>
1972 <selection name="tw_restore_name"/>
1973 </fileselector>
1974
1975 <button style="main_button_half_width_low">
1976 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001977 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001978 <actions>
1979 <action function="set">tw_back=restore</action>
1980 <action function="overlay">select_storage</action>
1981 </actions>
1982 </button>
1983
1984 <action>
1985 <condition var1="tw_restore" op="modified"/>
1986 <actions>
1987 <action function="readBackup"/>
1988 <action function="page">restore_read</action>
1989 </actions>
1990 </action>
1991
1992 <action>
1993 <touch key="home"/>
1994 <action function="page">main</action>
1995 </action>
1996
1997 <action>
1998 <touch key="back"/>
1999 <action function="page">main</action>
2000 </action>
2001 </page>
2002
2003 <page name="restore_read">
2004 <action>
2005 <condition var1="tw_restore_encrypted" var2="1"/>
2006 <actions>
2007 <action function="set">tw_password_fail=0</action>
2008 <action function="page">restore_decrypt</action>
2009 </actions>
2010 </action>
2011
2012 <action>
2013 <condition var1="tw_restore_encrypted" var2="0"/>
2014 <actions>
2015 <action function="page">restore_select</action>
2016 </actions>
2017 </action>
2018 </page>
2019
2020 <page name="restore_decrypt">
2021 <template name="page"/>
2022
2023 <text style="text_l">
2024 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002025 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002026 </text>
2027
2028 <text style="text_m">
2029 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002030 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002031 </text>
2032
2033 <text style="text_m_accent">
2034 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 </text>
2037
2038 <input>
2039 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2040 <text>%tw_restore_display%</text>
2041 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2042 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2043 <action function="page">try_restore_decrypt</action>
2044 </input>
2045
2046 <fill color="%accent_color%">
2047 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2048 </fill>
2049
2050 <fill color="%text_fail_color%">
2051 <condition var1="tw_password_fail" var2="1"/>
2052 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2053 </fill>
2054
2055 <text style="text_m_fail">
2056 <condition var1="tw_password_fail" var2="1"/>
2057 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 </text>
2060
2061 <button style="main_button_half_width_low">
2062 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002063 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002064 <actions>
2065 <action function="set">tw_page_done=1</action>
2066 <action function="page">restore</action>
2067 </actions>
2068 </button>
2069
2070 <button style="main_button_half_width_low">
2071 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002072 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002073 <actions>
2074 <action function="set">tw_back=restore</action>
2075 <action function="set">tw_action=cmd</action>
2076 <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 -05002077 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2078 <action function="set">tw_text2=%tw_restore_name%</action>
2079 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2080 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2081 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2082 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002083 <action function="page">confirm_action</action>
2084 </actions>
2085 </button>
2086
2087 <template name="keyboardtemplate"/>
2088
2089 <action>
2090 <touch key="home"/>
2091 <action function="page">main</action>
2092 </action>
2093
2094 <action>
2095 <touch key="back"/>
2096 <action function="page">restore</action>
2097 </action>
2098 </page>
2099
2100 <page name="try_restore_decrypt">
2101 <template name="page"/>
2102
2103 <text style="text_l">
2104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002106 </text>
2107
2108 <text style="text_m">
2109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 </text>
2112
2113 <template name="console"/>
2114
2115 <template name="progress_bar"/>
2116
2117 <action>
2118 <action function="decrypt_backup"/>
2119 </action>
2120
2121 <action>
2122 <conditions>
2123 <condition var1="tw_operation_state" var2="1"/>
2124 <condition var1="tw_operation_status" op="!=" var2="0"/>
2125 </conditions>
2126 <actions>
2127 <action function="set">tw_password_fail=1</action>
2128 <action function="page">restore_decrypt</action>
2129 </actions>
2130 </action>
2131
2132 <action>
2133 <conditions>
2134 <condition var1="tw_operation_state" var2="1"/>
2135 <condition var1="tw_operation_status" op="=" var2="0"/>
2136 </conditions>
2137 <actions>
2138 <action function="set">tw_page_done=1</action>
2139 <action function="page">restore_select</action>
2140 </actions>
2141 </action>
2142 </page>
2143
2144 <page name="restore_select">
2145 <template name="page"/>
2146
2147 <text style="text_l">
2148 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002149 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002150 </text>
2151
2152 <text style="text_m">
2153 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002154 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002155 </text>
2156
2157 <text style="text_m_accent">
2158 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002159 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002160 </text>
2161
2162 <text style="text_m">
2163 <placement x="%col1_x_left%" y="%row3_y%"/>
2164 <text>%tw_restore_name%</text>
2165 </text>
2166
2167 <fill color="%fileselector_linecolor%">
2168 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2169 </fill>
2170
2171 <button>
2172 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2173 <fill color="%transparent%"/>
2174 <actions>
2175 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2176 <action function="set">tw_fileexists=0</action>
2177 <action function="page">renamebackup</action>
2178 </actions>
2179 </button>
2180
2181 <partitionlist>
2182 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002183 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2185 <listtype name="restore"/>
2186 </partitionlist>
2187
2188 <text style="text_m_accent">
2189 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 </text>
2192
2193 <checkbox>
2194 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002195 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002196 <data variable="tw_skip_md5_check"/>
2197 </checkbox>
2198
2199 <button style="main_button_half_width">
2200 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002201 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002202 <actions>
2203 <action function="set">tw_back=restore</action>
2204 <action function="set">tw_action=cmd</action>
2205 <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 -05002206 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002207 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2209 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2210 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2211 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002212 <action function="page">confirm_action</action>
2213 </actions>
2214 </button>
2215
2216 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 <action function="page">restore_run</action>
2219 </slider>
2220
2221 <action>
2222 <touch key="home"/>
2223 <action function="page">main</action>
2224 </action>
2225
2226 <action>
2227 <touch key="back"/>
2228 <action function="page">restore</action>
2229 </action>
2230 </page>
2231
2232 <page name="renamebackup">
2233 <template name="page"/>
2234
2235 <text style="text_l">
2236 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002237 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002238 </text>
2239
2240 <text style="text_m">
2241 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 </text>
2244
2245 <text style="text_m_accent">
2246 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002248 </text>
2249
2250 <input>
2251 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2252 <text>%tw_backup_rename%</text>
2253 <data name="tw_backup_rename"/>
2254 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2255 <actions>
2256 <action function="set">tw_back=restore</action>
2257 <action function="set">tw_action=cmd</action>
2258 <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 -05002259 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2260 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2261 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2262 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2263 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002264 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2265 <action function="set">tw_existpage=renamebackup</action>
2266 <action function="set">tw_notexistpage=confirm_action</action>
2267 <action function="page">filecheck</action>
2268 </actions>
2269 </input>
2270
2271 <fill color="%accent_color%">
2272 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2273 </fill>
2274
2275 <fill color="%text_fail_color%">
2276 <condition var1="tw_fileexists" var2="1"/>
2277 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2278 </fill>
2279
2280 <text style="text_m_fail">
2281 <condition var1="tw_fileexists" var2="1"/>
2282 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002283 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002284 </text>
2285
2286 <button style="main_button_half_width_low">
2287 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <action function="page">restore_select</action>
2290 </button>
2291
2292 <template name="keyboardtemplate"/>
2293
2294 <action>
2295 <touch key="home"/>
2296 <action function="page">main</action>
2297 </action>
2298
2299 <action>
2300 <touch key="back"/>
2301 <action function="page">restore_select</action>
2302 </action>
2303 </page>
2304
2305 <page name="restore_run">
2306 <template name="page"/>
2307
2308 <text style="text_l">
2309 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 </text>
2312
2313 <text style="text_m">
2314 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2315 <text>%tw_operation% %tw_partition%</text>
2316 </text>
2317
2318 <template name="console"/>
2319
2320 <template name="progress_bar"/>
2321
2322 <text style="text_m_accent">
2323 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002324 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002325 </text>
2326
2327 <text style="text_m">
2328 <placement x="%progress_text_x%" y="%row18_y%"/>
2329 <text>%tw_size_progress%</text>
2330 </text>
2331
2332 <action>
2333 <condition var1="tw_operation_state" var2="1"/>
2334 <actions>
2335 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002336 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002337 <action function="set">tw_show_reboot=1</action>
2338 <action function="page">action_complete</action>
2339 </actions>
2340 </action>
2341
2342 <action>
2343 <action function="nandroid">restore</action>
2344 </action>
2345 </page>
2346
2347 <page name="mount">
2348 <template name="page"/>
2349
2350 <text style="text_l">
2351 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002353 </text>
2354
2355 <text style="text_m">
2356 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002358 </text>
2359
2360 <partitionlist>
2361 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002362 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002363 <listtype name="mount"/>
2364 </partitionlist>
2365
2366 <button style="checkbox">
2367 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2368 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 <image resource="checkbox_false"/>
2371 <action function="mountsystemtoggle">1</action>
2372 </button>
2373
2374 <button style="checkbox">
2375 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2376 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002377 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002378 <image resource="checkbox_true"/>
2379 <actions>
2380 <action function="set">tw_lifetime_writes=2</action>
2381 <action function="page">system_readonly_check</action>
2382 </actions>
2383 </button>
2384
2385 <button style="main_button_half_width">
2386 <condition var1="tw_has_usb_storage" var2="1"/>
2387 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002388 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002389 <action function="page">usb_mount</action>
2390 </button>
2391
2392 <button style="main_button_half_width">
2393 <conditions>
2394 <condition var1="tw_is_encrypted" var2="1"/>
2395 <condition var1="tw_is_decrypted" var2="0"/>
2396 </conditions>
2397 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002398 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002399 <action function="page">decrypt</action>
2400 </button>
2401
2402 <button style="main_button_half_width">
2403 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 <actions>
2406 <action function="set">tw_back=mount</action>
2407 <action function="overlay">select_storage</action>
2408 </actions>
2409 </button>
2410
2411 <button style="main_button_half_width">
2412 <conditions>
2413 <condition var1="tw_has_mtp" var2="1"/>
2414 <condition var1="tw_mtp_enabled" var2="0"/>
2415 </conditions>
2416 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002418 <action function="startmtp"/>
2419 </button>
2420
2421 <button style="main_button_half_width">
2422 <conditions>
2423 <condition var1="tw_has_mtp" var2="1"/>
2424 <condition var1="tw_mtp_enabled" var2="1"/>
2425 </conditions>
2426 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <action function="stopmtp"/>
2429 </button>
2430
2431 <action>
2432 <touch key="home"/>
2433 <action function="page">main</action>
2434 </action>
2435
2436 <action>
2437 <touch key="back"/>
2438 <action function="page">main</action>
2439 </action>
2440 </page>
2441
2442 <page name="usb_mount">
2443 <template name="page"/>
2444
2445 <text style="text_l">
2446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002448 </text>
2449
2450 <text style="text_m">
2451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002452 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </text>
2454
2455 <text style="text_m_accent">
2456 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <text style="text_m">
2461 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 </text>
2464
2465 <text style="text_m">
2466 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 </text>
2469
2470 <button style="main_button_half_width">
2471 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002472 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002473 <action function="page">usb_umount</action>
2474 </button>
2475
2476 <action>
2477 <action function="mount">usb</action>
2478 <action function="set">tw_busy=1</action>
2479 </action>
2480 </page>
2481
2482 <page name="usb_umount">
2483 <action>
2484 <action function="unmount">usb</action>
2485 </action>
2486
2487 <action>
2488 <action function="page">mount</action>
2489 <action function="set">tw_busy=0</action>
2490 </action>
2491 </page>
2492
2493 <page name="system_readonly_check">
2494 <action>
2495 <action function="checkpartitionlifetimewrites">/system</action>
2496 </action>
2497
2498 <action>
2499 <condition var1="tw_lifetime_writes" var2="1"/>
2500 <actions>
2501 <action function="mountsystemtoggle">0</action>
2502 <action function="page">mount</action>
2503 </actions>
2504 </action>
2505
2506 <action>
2507 <condition var1="tw_lifetime_writes" var2="0"/>
2508 <actions>
2509 <action function="set">tw_back=mount</action>
2510 <action function="page">system_readonly</action>
2511 </actions>
2512 </action>
2513 </page>
2514
2515 <page name="reboot">
2516 <template name="page"/>
2517
2518 <text style="text_l">
2519 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002520 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <button style="main_button">
2524 <condition var1="tw_reboot_system" var2="1"/>
2525 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 <actions>
2528 <action function="set">tw_back=reboot</action>
2529 <action function="set">tw_action=reboot</action>
2530 <action function="set">tw_action_param=system</action>
2531 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002532 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2533 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2534 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2535 <action function="set">tw_action_text2=</action>
2536 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2537 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="page">rebootcheck</action>
2539 </actions>
2540 </button>
2541
2542 <button style="main_button">
2543 <condition var1="tw_reboot_poweroff" var2="1"/>
2544 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 <actions>
2547 <action function="set">tw_back=reboot</action>
2548 <action function="set">tw_action=reboot</action>
2549 <action function="set">tw_action_param=poweroff</action>
2550 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2552 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2553 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2554 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2555 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002556 <action function="page">rebootcheck</action>
2557 </actions>
2558 </button>
2559
2560 <button style="main_button">
2561 <condition var1="tw_reboot_recovery" var2="1"/>
2562 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002563 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002564 <actions>
2565 <action function="set">tw_back=reboot</action>
2566 <action function="set">tw_action=reboot</action>
2567 <action function="set">tw_action_param=recovery</action>
2568 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2570 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2571 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2572 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2573 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002574 <action function="page">rebootcheck</action>
2575 </actions>
2576 </button>
2577
2578 <button style="main_button">
2579 <condition var1="tw_reboot_bootloader" var2="1"/>
2580 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <actions>
2583 <action function="set">tw_back=reboot</action>
2584 <action function="set">tw_action=reboot</action>
2585 <action function="set">tw_action_param=bootloader</action>
2586 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002587 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2588 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2589 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2590 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2591 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002592 <action function="page">rebootcheck</action>
2593 </actions>
2594 </button>
2595
2596 <button style="main_button">
2597 <condition var1="tw_download_mode" var2="1"/>
2598 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 <actions>
2601 <action function="set">tw_back=reboot</action>
2602 <action function="set">tw_action=reboot</action>
2603 <action function="set">tw_action_param=download</action>
2604 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002605 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2606 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2607 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2608 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2609 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002610 <action function="page">rebootcheck</action>
2611 </actions>
2612 </button>
2613
2614 <action>
2615 <touch key="home"/>
2616 <action function="page">main</action>
2617 </action>
2618
2619 <action>
2620 <touch key="back"/>
2621 <action function="page">main</action>
2622 </action>
2623 </page>
2624
2625 <page name="system_readonly">
2626 <template name="page"/>
2627
2628 <text style="text_l">
2629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 </text>
2632
2633 <text style="text_m_accent">
2634 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 </text>
2637
2638 <text style="text_m">
2639 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <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 +01002641 </text>
2642
2643 <text style="text_m">
2644 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002645 <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 +01002646 </text>
2647
2648 <text style="text_m_fail">
2649 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 </text>
2652
2653 <checkbox>
2654 <condition var1="tw_is_encrypted" var2="0"/>
2655 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <data variable="tw_never_show_system_ro_page"/>
2658 </checkbox>
2659
2660 <button style="main_button_half_width">
2661 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 <actions>
2664 <action function="mountsystemtoggle">1</action>
2665 <action function="set">tw_page_done=1</action>
2666 <action function="page">%tw_back%</action>
2667 </actions>
2668 </button>
2669
z31s1g608d7ff2016-01-18 19:47:25 +01002670 <button style="main_button_half_width">
2671 <placement x="%col2_x_left%" y="%row15a_y%"/>
2672 <text>{@sel_lang_btn=Select Language}</text>
2673 <action function="overlay">select_language</action>
2674 </button>
2675
z31s1g28f0a922015-11-07 18:50:22 +01002676 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002677 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002678 <actions>
2679 <action function="mountsystemtoggle">0</action>
2680 <action function="set">tw_page_done=1</action>
2681 <action function="page">%tw_back%</action>
2682 </actions>
2683 </slider>
2684 </page>
2685
2686 <page name="settings">
2687 <template name="page"/>
2688
2689 <text style="text_l">
2690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002691 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002692 </text>
2693
2694 <text style="text_m">
2695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002697 </text>
2698
2699 <template name="tabs_settings"/>
2700
2701 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002703 </fill>
2704
2705 <listbox style="scrolllist">
2706 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2707 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002709 <data variable="tw_signed_zip_verify"/>
2710 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002712 <data variable="tw_rm_rf"/>
2713 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002715 <data variable="tw_skip_md5_generate"/>
2716 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002717 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002718 <data variable="tw_skip_md5_check"/>
2719 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002720 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002721 <data variable="tw_military_time"/>
2722 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002723 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002724 <data variable="tw_simulate_actions"/>
2725 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002727 <condition var1="tw_simulate_actions" var2="1"/>
2728 <data variable="tw_simulate_fail"/>
2729 </listitem>
2730 </listbox>
2731
2732 <checkbox>
2733 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002735 <data variable="tw_samsung_navbar"/>
2736 </checkbox>
2737
2738 <button style="radiobutton">
2739 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2740 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002741 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <image resource="radio_false"/>
2743 <action function="set">tw_navbar_button_position=0</action>
2744 </button>
2745
2746 <button style="radiobutton">
2747 <condition var1="tw_navbar_button_position" var2="0"/>
2748 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 <image resource="radio_true"/>
2751 <action function="set">tw_navbar_button_position=0</action>
2752 </button>
2753
2754 <button style="radiobutton">
2755 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2756 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 <image resource="radio_false"/>
2759 <action function="set">tw_navbar_button_position=1</action>
2760 </button>
2761
2762 <button style="radiobutton">
2763 <condition var1="tw_navbar_button_position" var2="1"/>
2764 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002765 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002766 <image resource="radio_true"/>
2767 <action function="set">tw_navbar_button_position=1</action>
2768 </button>
2769
2770 <button style="radiobutton">
2771 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2772 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002773 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002774 <image resource="radio_false"/>
2775 <action function="set">tw_navbar_button_position=2</action>
2776 </button>
2777
2778 <button style="radiobutton">
2779 <condition var1="tw_navbar_button_position" var2="2"/>
2780 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002782 <image resource="radio_true"/>
2783 <action function="set">tw_navbar_button_position=2</action>
2784 </button>
2785
2786 <button style="main_button_half_width">
2787 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002788 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002789 <action function="restoredefaultsettings"/>
2790 </button>
2791
2792 <action>
2793 <touch key="home"/>
2794 <action function="page">main</action>
2795 </action>
2796
2797 <action>
2798 <touch key="back"/>
2799 <action function="page">main</action>
2800 </action>
2801 </page>
2802
2803 <page name="settings_timezone">
2804 <template name="page"/>
2805
2806 <text style="text_l">
2807 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <text style="text_m">
2812 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 </text>
2815
2816 <template name="tabs_settings"/>
2817
2818 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </fill>
2821
2822 <listbox>
2823 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002824 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002825 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2827 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2828 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2829 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2830 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2831 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2832 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2833 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2834 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2835 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2836 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2837 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2838 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2839 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2840 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2841 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2842 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2843 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2844 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2845 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2846 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2847 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2848 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2849 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002850 </listbox>
2851
2852 <text style="text_m_accent">
2853 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002854 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002855 </text>
2856
2857 <button style="button_quarter_width">
2858 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <action function="set">tw_time_zone_guioffset=0</action>
2861 </button>
2862
2863 <button style="button_quarter_width">
2864 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002866 <action function="set">tw_time_zone_guioffset=15</action>
2867 </button>
2868
2869 <button style="button_quarter_width">
2870 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002872 <action function="set">tw_time_zone_guioffset=30</action>
2873 </button>
2874
2875 <button style="button_quarter_width">
2876 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002878 <action function="set">tw_time_zone_guioffset=45</action>
2879 </button>
2880
2881 <checkbox>
2882 <placement x="%col1_x_right%" y="%row7_y%"/>
2883 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 <data variable="tw_time_zone_guidst"/>
2886 <image checked="checkbox_true" unchecked="checkbox_false"/>
2887 </checkbox>
2888
2889 <text color="%text_color%">
2890 <font resource="font_m"/>
2891 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002893 </text>
2894
2895 <button>
2896 <highlight color="%highlight_color%"/>
2897 <placement x="%col2_x_right%" y="%row15a_y%"/>
2898 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002899 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002900 <image resource="main_button_half_width"/>
2901 <action function="setguitimezone"/>
2902 </button>
2903
2904 <action>
2905 <touch key="home"/>
2906 <action function="page">main</action>
2907 </action>
2908
2909 <action>
2910 <touch key="back"/>
2911 <action function="page">main</action>
2912 </action>
2913 </page>
2914
2915 <page name="settings_screen">
2916 <template name="page"/>
2917
2918 <text style="text_l">
2919 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 </text>
2922
2923 <text style="text_m">
2924 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <template name="tabs_settings"/>
2929
2930 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002932 </fill>
2933
2934 <button>
2935 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2936 <font resource="font_m" color="%text_color%"/>
2937 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2938 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <image resource="checkbox_false"/>
2941 <action function="set">tw_screen_timeout_secs=60</action>
2942 </button>
2943
2944 <button>
2945 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2946 <font resource="font_m" color="%text_color%"/>
2947 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2948 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002950 <image resource="checkbox_true"/>
2951 <action function="set">tw_screen_timeout_secs=0</action>
2952 </button>
2953
2954 <slidervalue>
2955 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2956 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2957 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002958 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002959 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2960 </slidervalue>
2961
2962 <slidervalue>
2963 <condition var1="tw_has_brightnesss_file" var2="1"/>
2964 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 <data variable="tw_brightness_pct" min="10" max="100"/>
2967 <actions>
2968 <action function="set">tw_brightness=%tw_brightness_max%</action>
2969 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2970 <action function="compute">tw_brightness/100</action>
2971 <action function="setbrightness">%tw_brightness%</action>
2972 </actions>
2973 </slidervalue>
2974
2975 <action>
2976 <touch key="home"/>
2977 <action function="page">main</action>
2978 </action>
2979
2980 <action>
2981 <touch key="back"/>
2982 <action function="page">main</action>
2983 </action>
2984 </page>
2985
2986 <page name="settings_vibration">
2987 <template name="page"/>
2988
2989 <text style="text_l">
2990 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </text>
2993
2994 <text style="text_m">
2995 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <template name="tabs_settings"/>
3000
3001 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003003 </fill>
3004
3005 <slidervalue>
3006 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <data variable="tw_button_vibrate" min="0" max="300"/>
3009 </slidervalue>
3010
3011 <slidervalue>
3012 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <data variable="tw_action_vibrate" min="0" max="500"/>
3021 </slidervalue>
3022
3023 <action>
3024 <touch key="home"/>
3025 <action function="page">main</action>
3026 </action>
3027
3028 <action>
3029 <touch key="back"/>
3030 <action function="page">main</action>
3031 </action>
3032 </page>
3033
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <page name="settings_language">
3035 <template name="page"/>
3036
3037 <text style="text_l">
3038 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3039 <text>{@settings_hdr=Settings}</text>
3040 </text>
3041
3042 <text style="text_m">
3043 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3044 <text>{@language_hdr=Language - %tw_language_display%}</text>
3045 </text>
3046
3047 <template name="tabs_settings"/>
3048
3049 <fill color="%text_color%">
3050 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3051 </fill>
3052
3053 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003054 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@select_language=Select Language:}</text>
3056 <icon selected="radio_true" unselected="radio_false" />
3057 <data name="tw_language" />
3058 </listbox>
3059
z31s1g56189522016-01-13 19:12:40 +01003060 <button>
3061 <highlight color="%highlight_color%"/>
3062 <placement x="%col2_x_right%" y="%row15a_y%"/>
3063 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003064 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003065 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003066 <action function="setlanguage"></action>
3067 </button>
3068
3069 <action>
3070 <touch key="home" />
3071 <action function="page">main</action>
3072 </action>
3073
3074 <action>
3075 <touch key="back" />
3076 <action function="page">settings</action>
3077 </action>
3078 </page>
3079
z31s1g28f0a922015-11-07 18:50:22 +01003080 <page name="advanced">
3081 <template name="page"/>
3082
3083 <text style="text_l">
3084 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </text>
3087
3088 <button style="main_button">
3089 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <actions>
3092 <action function="set">tw_back=advanced</action>
3093 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3095 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3096 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3097 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <action function="page">confirm_action</action>
3099 </actions>
3100 </button>
3101
3102 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003103 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003105 <text>{@fix_context_btn=Fix Contexts}</text>
3106 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003107 </button>
3108
3109 <button style="main_button">
3110 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3111 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003113 <actions>
3114 <action function="set">partitionlisterror=0</action>
3115 <action function="page">partsdcardsel</action>
3116 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003117 </button>
3118
3119 <button style="main_button">
3120 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003122 <action function="page">filemanagerlist</action>
3123 </button>
3124
3125 <button style="main_button">
3126 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003128 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003129 </button>
3130
3131 <button style="main_button">
3132 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 <action function="reload"/>
3135 </button>
3136
3137 <button style="main_button">
3138 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <action function="page">sideload</action>
3141 </button>
3142
3143 <button style="main_button">
3144 <condition var1="tw_show_dumlock" var2="1"/>
3145 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 <action function="page">htcdumlock</action>
3148 </button>
3149
3150 <button style="main_button">
3151 <condition var1="tw_has_injecttwrp" var2="1"/>
3152 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 <actions>
3155 <action function="set">tw_back=advanced</action>
3156 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3158 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3159 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3160 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <action function="page">confirm_action</action>
3162 </actions>
3163 </button>
3164
3165 <action>
3166 <touch key="home"/>
3167 <action function="page">main</action>
3168 </action>
3169
3170 <action>
3171 <touch key="back"/>
3172 <action function="page">main</action>
3173 </action>
3174 </page>
3175
Ethan Yonker483e9f42016-01-11 22:21:18 -06003176 <page name="partsdcardsel">
3177 <template name="page"/>
3178
3179 <text style="text_l">
3180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3181 <text>{@advanced_hdr=Advanced}</text>
3182 </text>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3186 <text>{@part_sd_hdr=Partition SD Card}</text>
3187 </text>
3188
z31s1g782e1c92016-01-30 16:50:09 +01003189 <partitionlist>
3190 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003191 <text>{@sel_storage_list=Select Storage}</text>
3192 <data name="tw_storage_path"/>
3193 <listtype name="storage"/>
3194 </partitionlist>
3195
z31s1g782e1c92016-01-30 16:50:09 +01003196 <text style="text_m_fail">
3197 <condition var1="partitionlisterror" var2="1"/>
3198 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3199 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3200 </text>
3201
3202 <button style="main_button_half_width">
3203 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003204 <text>{@ok_btn=OK}</text>
3205 <actions>
3206 <action function="getpartitiondetails">tw_storage_path</action>
3207 <action function="page">partsdcardcheck</action>
3208 </actions>
3209 </button>
3210
Ethan Yonker483e9f42016-01-11 22:21:18 -06003211 <action>
3212 <touch key="home"/>
3213 <action function="page">main</action>
3214 </action>
3215
3216 <action>
3217 <touch key="back"/>
3218 <action function="page">advanced</action>
3219 </action>
3220 </page>
3221
3222 <page name="partsdcardcheck">
3223 <action>
3224 <condition var1="tw_partition_removable" op="=" var2="1"/>
3225 <actions>
3226 <action function="set">partitionlisterror=0</action>
3227 <action function="page">partsdcard</action>
3228 </actions>
3229 </action>
3230
3231 <action>
3232 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3233 <actions>
3234 <action function="set">partitionlisterror=1</action>
3235 <action function="page">partsdcardsel</action>
3236 </actions>
3237 </action>
3238 </page>
3239
z31s1g28f0a922015-11-07 18:50:22 +01003240 <page name="partsdcard">
3241 <template name="page"/>
3242
3243 <text style="text_l">
3244 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 </text>
3247
3248 <text style="text_m">
3249 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003251 </text>
3252
3253 <text style="text_m_fail">
3254 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </text>
3257
3258 <text style="text_m_fail">
3259 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003261 </text>
3262
3263 <text style="text_m_accent">
3264 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </text>
3267
3268 <text style="text_m">
3269 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3270 <text>%tw_sdext_size%</text>
3271 </text>
3272
3273 <button style="button_quarter_width">
3274 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003276 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003277 </button>
3278
3279 <button style="button_quarter_width">
3280 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@part_sd_p=+}</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 <text style="text_m_accent">
3286 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </text>
3289
3290 <text style="text_m">
3291 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3292 <text>%tw_swap_size%</text>
3293 </text>
3294
3295 <button style="button_quarter_width">
3296 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003298 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </button>
3300
3301 <button style="button_quarter_width">
3302 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@part_sd_p=+}</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 <text style="text_m_accent">
3308 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 </text>
3311
3312 <text style="text_m">
3313 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3314 <text>%tw_sdpart_file_system%</text>
3315 </text>
3316
3317 <button style="button_quarter_width">
3318 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3319 <text>EXT3</text>
3320 <action function="set">tw_sdpart_file_system=ext3</action>
3321 </button>
3322
3323 <button style="button_quarter_width">
3324 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3325 <text>EXT4</text>
3326 <action function="set">tw_sdpart_file_system=ext4</action>
3327 </button>
3328
3329 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">partsdcardaction</action>
3332 <actions>
3333 <action function="set">tw_back=partsdcard</action>
3334 <action function="set">tw_action=partitionsd</action>
3335 <action function="set">tw_has_action2=1</action>
3336 <action function="set">tw_action2=set</action>
3337 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3339 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3340 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <action function="page">action_page</action>
3342 </actions>
3343 </slider>
3344
3345 <action>
3346 <touch key="home"/>
3347 <action function="page">main</action>
3348 </action>
3349
3350 <action>
3351 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003352 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003353 </action>
3354 </page>
3355
3356 <page name="htcdumlock">
3357 <template name="page"/>
3358
3359 <text style="text_l">
3360 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </text>
3363
3364 <text style="text_m">
3365 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 </text>
3368
3369 <button style="main_button_m">
3370 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <actions>
3373 <action function="set">tw_back=htcdumlock</action>
3374 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3376 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3377 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3378 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <action function="page">confirm_action</action>
3380 </actions>
3381 </button>
3382
3383 <button style="main_button_m">
3384 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003385 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <actions>
3387 <action function="set">tw_back=htcdumlock</action>
3388 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3390 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3391 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3392 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="page">confirm_action</action>
3394 </actions>
3395 </button>
3396
3397 <button style="main_button_m">
3398 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <actions>
3401 <action function="set">tw_back=htcdumlock</action>
3402 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3404 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3405 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3406 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <action function="page">confirm_action</action>
3408 </actions>
3409 </button>
3410
3411 <action>
3412 <touch key="home"/>
3413 <action function="page">main</action>
3414 </action>
3415
3416 <action>
3417 <touch key="back"/>
3418 <action function="page">advanced</action>
3419 </action>
3420 </page>
3421
3422 <page name="lock">
3423 <background color="%semi_transparent%"/>
3424
3425 <image>
3426 <image resource="unlock_icon"/>
3427 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3428 </image>
3429
3430 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003431 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003432 <action function="overlay"/>
3433 </slider>
3434 </page>
3435
3436 <page name="filemanagerlist">
3437 <template name="page"/>
3438
3439 <text style="text_l">
3440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003442 </text>
3443
3444 <text style="text_m">
3445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 </text>
3448
3449 <template name="sort_options"/>
3450
3451 <fileselector>
3452 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3453 <text>%tw_file_location1%</text>
3454 <filter folders="1" files="1"/>
3455 <path name="tw_file_location1" default="/"/>
3456 <data name="tw_filename1"/>
3457 <selection name="tw_selection1"/>
3458 </fileselector>
3459
3460 <button style="main_button_half_width_low">
3461 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <actions>
3464 <action function="set">tw_filename1=tw_file_location1</action>
3465 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <action function="page">filemanageroptions</action>
3468 </actions>
3469 </button>
3470
3471 <action>
3472 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003474 <action function="set">tw_fm_isfolder=0</action>
3475 </actions>
3476 </action>
3477
3478 <action>
3479 <touch key="home"/>
3480 <action function="page">main</action>
3481 </action>
3482
3483 <action>
3484 <touch key="back"/>
3485 <action function="page">advanced</action>
3486 </action>
3487
3488 <action>
3489 <condition var1="tw_filename1" op="modified"/>
3490 <action function="page">filemanageroptions</action>
3491 </action>
3492 </page>
3493
3494 <page name="filemanageroptions">
3495 <template name="page"/>
3496
3497 <text style="text_l">
3498 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 </text>
3501
3502 <text style="text_m">
3503 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003504 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003505 </text>
3506
3507 <text style="text_m_accent">
3508 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003510 </text>
3511
3512 <text style="text_m">
3513 <placement x="%col1_x_left%" y="%row3_y%"/>
3514 <text>%tw_filename1%</text>
3515 </text>
3516
3517 <button style="main_button_half_width">
3518 <condition var1="tw_fm_isfolder" var2="0"/>
3519 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003521 <actions>
3522 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <action function="page">choosedestinationfolder</action>
3525 </actions>
3526 </button>
3527
3528 <button style="main_button_half_width">
3529 <condition var1="tw_fm_isfolder" var2="1"/>
3530 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 <actions>
3533 <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 -05003534 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <action function="page">choosedestinationfolder</action>
3536 </actions>
3537 </button>
3538
3539 <button style="main_button_half_width">
3540 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003542 <actions>
3543 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003545 <action function="page">choosedestinationfolder</action>
3546 </actions>
3547 </button>
3548
3549 <button style="main_button_half_width">
3550 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <actions>
3553 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003555 <action function="set">tw_fm_text2=</action>
3556 <action function="set">tw_fm_text3=</action>
3557 <action function="set">tw_include_text3=0</action>
3558 <action function="set">tw_back=filemanageroptions</action>
3559 <action function="page">filemanagerconfirm</action>
3560 </actions>
3561 </button>
3562
3563 <button style="main_button_half_width">
3564 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003565 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003566 <actions>
3567 <action function="set">tw_filemanager_rename=0000</action>
3568 <action function="set">tw_fm_text2=</action>
3569 <action function="set">tw_fm_text3=</action>
3570 <action function="set">tw_include_text3=0</action>
3571 <action function="set">tw_back=filemanageroptions</action>
3572 <action function="page">filemanagerchmod</action>
3573 </actions>
3574 </button>
3575
3576 <button style="main_button_half_width">
3577 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 <actions>
3580 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003582 <action function="set">tw_fm_text2=</action>
3583 <action function="set">tw_fm_text3=</action>
3584 <action function="set">tw_include_text3=0</action>
3585 <action function="set">tw_back=filemanageroptions</action>
3586 <action function="page">filemanagerconfirm</action>
3587 </actions>
3588 </button>
3589
3590 <button style="main_button_half_width">
3591 <condition var1="tw_fm_isfolder" var2="0"/>
3592 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <actions>
3595 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003597 <action function="set">tw_filemanager_command=mv</action>
3598 <action function="page">filemanagerrenamefile</action>
3599 </actions>
3600 </button>
3601
3602 <button style="main_button_half_width">
3603 <condition var1="tw_fm_isfolder" var2="1"/>
3604 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 <actions>
3607 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003609 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3610 <action function="page">filemanagerrenamefolder</action>
3611 </actions>
3612 </button>
3613
3614 <action>
3615 <touch key="home"/>
3616 <action function="page">main</action>
3617 </action>
3618
3619 <action>
3620 <touch key="back"/>
3621 <action function="page">filemanagerlist</action>
3622 </action>
3623 </page>
3624
3625 <page name="choosedestinationfolder">
3626 <template name="page"/>
3627
3628 <text style="text_l">
3629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 </text>
3632
3633 <text style="text_m">
3634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <template name="sort_options"/>
3639
3640 <fileselector>
3641 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3642 <text>%tw_file_location2%</text>
3643 <filter folders="1" files="0"/>
3644 <path name="tw_file_location2" default="/"/>
3645 <data name="tw_filename2"/>
3646 <selection name="tw_selection2"/>
3647 </fileselector>
3648
3649 <button style="main_button_half_width_low">
3650 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <actions>
3653 <action function="set">tw_fm_text2=to</action>
3654 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3655 <action function="set">tw_include_text3=1</action>
3656 <action function="set">tw_back=filemanageroptions</action>
3657 <action function="page">filemanagerconfirm</action>
3658 </actions>
3659 </button>
3660
3661 <action>
3662 <touch key="home"/>
3663 <action function="page">main</action>
3664 </action>
3665
3666 <action>
3667 <touch key="back"/>
3668 <action function="page">filemanageroptions</action>
3669 </action>
3670 </page>
3671
3672 <page name="filemanagerrenamefile">
3673 <template name="page"/>
3674
3675 <text style="text_l">
3676 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003678 </text>
3679
3680 <text style="text_m">
3681 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003683 </text>
3684
3685 <text style="text_m_accent">
3686 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003687 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003688 </text>
3689
3690 <input>
3691 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3692 <text>%tw_filemanager_rename%</text>
3693 <data name="tw_filemanager_rename"/>
3694 <restrict minlen="1" maxlen="128"/>
3695 <actions>
3696 <action function="set">tw_fm_text2=to</action>
3697 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3698 <action function="set">tw_include_text3=1</action>
3699 <action function="set">tw_back=filemanageroptions</action>
3700 <action function="page">filemanagerconfirm</action>
3701 </actions>
3702 </input>
3703
3704 <fill color="%accent_color%">
3705 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3706 </fill>
3707
3708 <button style="main_button_half_width_low">
3709 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003710 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003711 <action function="page">filemanageroptions</action>
3712 </button>
3713
3714 <template name="keyboardtemplate"/>
3715
3716 <action>
3717 <touch key="home"/>
3718 <action function="page">main</action>
3719 </action>
3720
3721 <action>
3722 <touch key="back"/>
3723 <action function="page">filemanageroptions</action>
3724 </action>
3725 </page>
3726
3727 <page name="filemanagerrenamefolder">
3728 <template name="page"/>
3729
3730 <text style="text_l">
3731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 </text>
3734
3735 <text style="text_m">
3736 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 </text>
3739
3740 <text style="text_m_accent">
3741 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003743 </text>
3744
3745 <input>
3746 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3747 <text>%tw_filemanager_rename%</text>
3748 <data name="tw_filemanager_rename"/>
3749 <restrict minlen="1" maxlen="128"/>
3750 <actions>
3751 <action function="set">tw_fm_text2=to</action>
3752 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3753 <action function="set">tw_include_text3=1</action>
3754 <action function="set">tw_back=filemanageroptions</action>
3755 <action function="page">filemanagerconfirm</action>
3756 </actions>
3757 </input>
3758
3759 <fill color="%accent_color%">
3760 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3761 </fill>
3762
3763 <button style="main_button_half_width_low">
3764 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 <action function="page">filemanageroptions</action>
3767 </button>
3768
3769 <template name="keyboardtemplate"/>
3770
3771 <action>
3772 <touch key="home"/>
3773 <action function="page">main</action>
3774 </action>
3775
3776 <action>
3777 <touch key="back"/>
3778 <action function="page">filemanageroptions</action>
3779 </action>
3780 </page>
3781
3782 <page name="filemanagerchmod">
3783 <template name="page"/>
3784
3785 <text style="text_l">
3786 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 </text>
3789
3790 <text style="text_m">
3791 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 </text>
3794
3795 <text style="text_m_accent">
3796 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 </text>
3799
3800 <input>
3801 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3802 <text>%tw_filemanager_rename%</text>
3803 <data name="tw_filemanager_rename"/>
3804 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3805 <actions>
3806 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3807 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3808 <action function="set">tw_back=filemanageroptions</action>
3809 <action function="page">filemanagerconfirm</action>
3810 </actions>
3811 </input>
3812
3813 <fill color="%accent_color%">
3814 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3815 </fill>
3816
3817 <button style="main_button_half_width_low">
3818 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003820 <action function="page">filemanageroptions</action>
3821 </button>
3822
3823 <template name="keyboardtemplate"/>
3824
3825 <action>
3826 <touch key="home"/>
3827 <action function="page">main</action>
3828 </action>
3829
3830 <action>
3831 <touch key="back"/>
3832 <action function="page">filemanageroptions</action>
3833 </action>
3834 </page>
3835
3836 <page name="filemanagerconfirm">
3837 <template name="page"/>
3838
3839 <text style="text_l">
3840 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003841 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003842 </text>
3843
3844 <text style="text_m">
3845 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003846 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003847 </text>
3848
3849 <text style="text_m_accent">
3850 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3851 <text>%tw_fm_text1%</text>
3852 </text>
3853
3854 <text style="text_m">
3855 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3856 <text>%tw_filename1%</text>
3857 </text>
3858
3859 <text style="text_m_accent">
3860 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3861 <text>%tw_fm_text2%</text>
3862 </text>
3863
3864 <text style="text_m">
3865 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3866 <text>%tw_fm_text3%</text>
3867 </text>
3868
3869 <text style="text_m">
3870 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 </text>
3873
3874 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 <action function="page">filemanageraction</action>
3877 </slider>
3878
3879 <action>
3880 <touch key="back"/>
3881 <action function="page">%tw_back%</action>
3882 </action>
3883
3884 <action>
3885 <touch key="home"/>
3886 <action function="page">main</action>
3887 </action>
3888 </page>
3889
3890 <page name="filemanageraction">
3891 <template name="page"/>
3892
3893 <text style="text_l">
3894 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 </text>
3897
3898 <text style="text_m">
3899 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3900 <text>%tw_fm_text1%</text>
3901 </text>
3902
3903 <template name="console"/>
3904
3905 <template name="progress_bar"/>
3906
3907 <action>
3908 <conditions>
3909 <condition var1="tw_operation_state" var2="1"/>
3910 <condition var1="tw_operation_status" var2="0"/>
3911 </conditions>
3912 <actions>
3913 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003915 <action function="page">action_complete</action>
3916 </actions>
3917 </action>
3918
3919 <action>
3920 <conditions>
3921 <condition var1="tw_operation_state" var2="1"/>
3922 <condition var1="tw_operation_status" op="!=" var2="0"/>
3923 </conditions>
3924 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003926 <action function="page">action_complete</action>
3927 </actions>
3928 </action>
3929
3930 <action>
3931 <condition var1="tw_include_text3" var2="0"/>
3932 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3933 </action>
3934
3935 <action>
3936 <condition var1="tw_include_text3" var2="1"/>
3937 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3938 </action>
3939 </page>
3940
3941 <page name="decrypt">
3942 <template name="page"/>
3943
3944 <action>
3945 <condition var1="tw_crypto_pwtype" var2="2"/>
3946 <action function="page">decrypt_pattern</action>
3947 </action>
3948
3949 <text style="text_l">
3950 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003951 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003952 </text>
3953
3954 <text style="text_m">
3955 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </text>
3958
3959 <text style="text_m_accent">
3960 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <input>
3965 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3966 <text>%tw_crypto_display%</text>
3967 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3968 <restrict minlen="1" maxlen="254"/>
3969 <action function="page">trydecrypt</action>
3970 </input>
3971
3972 <fill color="%accent_color%">
3973 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3974 </fill>
3975
3976 <fill color="%text_fail_color%">
3977 <condition var1="tw_password_fail" var2="1"/>
3978 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3979 </fill>
3980
3981 <text style="text_m_fail">
3982 <condition var1="tw_password_fail" var2="1"/>
3983 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08003984 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 </text>
3986
3987 <button style="main_button_half_width_low">
3988 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 <actions>
3991 <action function="set">tw_page_done=1</action>
3992 <action function="page">main</action>
3993 </actions>
3994 </button>
3995
z31s1g608d7ff2016-01-18 19:47:25 +01003996 <button style="main_button_half_width_low">
3997 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
3998 <text>{@sel_lang_btn=Select Language}</text>
3999 <action function="overlay">select_language</action>
4000 </button>
4001
z31s1g28f0a922015-11-07 18:50:22 +01004002 <template name="keyboardtemplate"/>
4003 </page>
4004
4005 <page name="decrypt_pattern">
4006 <template name="page"/>
4007
4008 <text style="text_l">
4009 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004010 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004011 </text>
4012
4013 <text style="text_m">
4014 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004015 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004016 </text>
4017
4018 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004019 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 </text>
4022
Aleksa Saraib25a1832015-12-31 17:36:00 +01004023 <text style="text_m_fail">
4024 <condition var1="tw_password_fail" var2="1"/>
4025 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004026 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004027 </text>
4028
z31s1g28f0a922015-11-07 18:50:22 +01004029 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004030 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004031 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4032 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4033 <data name="tw_crypto_password"/>
4034 <action function="page">trydecrypt</action>
4035 </patternpassword>
4036
Aleksa Saraib25a1832015-12-31 17:36:00 +01004037 <button style="main_button_half_width_low">
4038 <placement x="%col_button_right%" y="%row1a_y%"/>
4039 <text>3x3</text>
4040 <action function="set">tw_gui_pattern_grid_size=3</action>
4041 </button>
4042
4043 <button style="main_button_half_width_low">
4044 <placement x="%col_button_right%" y="%row4a_y%"/>
4045 <text>4x4</text>
4046 <action function="set">tw_gui_pattern_grid_size=4</action>
4047 </button>
4048
4049 <button style="main_button_half_width_low">
4050 <placement x="%col_button_right%" y="%row7a_y%"/>
4051 <text>5x5</text>
4052 <action function="set">tw_gui_pattern_grid_size=5</action>
4053 </button>
4054
4055 <button style="main_button_half_width_low">
4056 <placement x="%col_button_right%" y="%row10a_y%"/>
4057 <text>6x6</text>
4058 <action function="set">tw_gui_pattern_grid_size=6</action>
4059 </button>
4060
z31s1g28f0a922015-11-07 18:50:22 +01004061 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004062 <placement x="%col1_x_right%" y="%row15a_y%"/>
4063 <text>{@sel_lang_btn=Select Language}</text>
4064 <action function="overlay">select_language</action>
4065 </button>
4066
4067 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004068 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 <actions>
4071 <action function="set">tw_page_done=1</action>
4072 <action function="page">main</action>
4073 </actions>
4074 </button>
4075 </page>
4076
4077 <page name="trydecrypt">
4078 <template name="page"/>
4079
4080 <text style="text_l">
4081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004083 </text>
4084
4085 <text style="text_m">
4086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 </text>
4089
4090 <template name="console"/>
4091
4092 <template name="progress_bar"/>
4093
4094 <action>
4095 <action function="decrypt"/>
4096 </action>
4097
4098 <action>
4099 <conditions>
4100 <condition var1="tw_operation_state" var2="1"/>
4101 <condition var1="tw_operation_status" op="!=" var2="0"/>
4102 </conditions>
4103 <actions>
4104 <action function="set">tw_password_fail=1</action>
4105 <action function="page">decrypt</action>
4106 </actions>
4107 </action>
4108
4109 <action>
4110 <conditions>
4111 <condition var1="tw_operation_state" var2="1"/>
4112 <condition var1="tw_operation_status" op="=" var2="0"/>
4113 </conditions>
4114 <actions>
4115 <action function="set">tw_page_done=1</action>
4116 <action function="page">main</action>
4117 </actions>
4118 </action>
4119 </page>
4120
z31s1g28f0a922015-11-07 18:50:22 +01004121 <page name="terminalcommand">
4122 <template name="page"/>
4123
4124 <fill color="%background_color%">
4125 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4126 </fill>
4127
z31s1g56189522016-01-13 19:12:40 +01004128 <terminal>
4129 <condition var1="tw_hide_kb" var2="0"/>
4130 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4131 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004132
z31s1g56189522016-01-13 19:12:40 +01004133 <terminal>
4134 <condition var1="tw_hide_kb" var2="1"/>
4135 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4136 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004137
z31s1g56189522016-01-13 19:12:40 +01004138 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004139
z31s1g56189522016-01-13 19:12:40 +01004140 <object type="fill" color="#000000">
4141 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4142 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004143
z31s1g608d7ff2016-01-18 19:47:25 +01004144 <button>
z31s1g56189522016-01-13 19:12:40 +01004145 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4146 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4147 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4148 <image resource="back" />
4149 <condition var1="tw_busy" var2="0" />
4150 <actions>
4151 <action function="set">tw_hide_kb=0</action>
4152 <action function="page">advanced</action>
4153 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004154 </button>
z31s1g56189522016-01-13 19:12:40 +01004155
z31s1g608d7ff2016-01-18 19:47:25 +01004156 <button>
z31s1g56189522016-01-13 19:12:40 +01004157 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4158 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4159 <condition var1="tw_hide_kb" op="=" var2="0" />
4160 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4161 <image resource="kb_hide" />
4162 <condition var1="tw_busy" var2="0" />
4163 <actions>
4164 <action function="set">tw_hide_kb=1</action>
4165 <action function="page">terminalcommand</action>
4166 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004167 </button>
z31s1g56189522016-01-13 19:12:40 +01004168
z31s1g608d7ff2016-01-18 19:47:25 +01004169 <button>
z31s1g56189522016-01-13 19:12:40 +01004170 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4171 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4172 <condition var1="tw_hide_kb" op="=" var2="1" />
4173 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4174 <image resource="kb_show" />
4175 <condition var1="tw_busy" var2="0" />
4176 <actions>
4177 <action function="set">tw_hide_kb=0</action>
4178 <action function="page">terminalcommand</action>
4179 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004180 </button>
z31s1g56189522016-01-13 19:12:40 +01004181
z31s1g608d7ff2016-01-18 19:47:25 +01004182 <button>
z31s1g56189522016-01-13 19:12:40 +01004183 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4184 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4185 <image resource="home" />
4186 <condition var1="tw_busy" var2="0" />
4187 <actions>
4188 <action function="set">tw_hide_kb=0</action>
4189 <action function="key">home</action>
4190 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004191 </button>
z31s1g56189522016-01-13 19:12:40 +01004192
z31s1g608d7ff2016-01-18 19:47:25 +01004193 <button>
z31s1g56189522016-01-13 19:12:40 +01004194 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4195 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4196 <condition var1="tw_hide_kb" op="=" var2="0" />
4197 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4198 <image resource="kb_hide" />
4199 <condition var1="tw_busy" var2="0" />
4200 <actions>
4201 <action function="set">tw_hide_kb=1</action>
4202 <action function="page">terminalcommand</action>
4203 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004204 </button>
z31s1g56189522016-01-13 19:12:40 +01004205
z31s1g608d7ff2016-01-18 19:47:25 +01004206 <button>
z31s1g56189522016-01-13 19:12:40 +01004207 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4208 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4209 <condition var1="tw_hide_kb" op="=" var2="1" />
4210 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4211 <image resource="kb_show" />
4212 <condition var1="tw_busy" var2="0" />
4213 <actions>
4214 <action function="set">tw_hide_kb=0</action>
4215 <action function="page">terminalcommand</action>
4216 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004217 </button>
z31s1g56189522016-01-13 19:12:40 +01004218
z31s1g608d7ff2016-01-18 19:47:25 +01004219 <button>
z31s1g56189522016-01-13 19:12:40 +01004220 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4221 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4222 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4223 <image resource="back" />
4224 <condition var1="tw_busy" var2="0" />
4225 <actions>
4226 <action function="set">tw_hide_kb=0</action>
4227 <action function="page">advanced</action>
4228 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004229 </button>
z31s1g56189522016-01-13 19:12:40 +01004230
z31s1g608d7ff2016-01-18 19:47:25 +01004231 <button>
z31s1g56189522016-01-13 19:12:40 +01004232 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4233 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4234 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4235 <image resource="back" />
4236 <condition var1="tw_busy" var2="0" />
4237 <actions>
4238 <action function="set">tw_hide_kb=0</action>
4239 <action function="page">advanced</action>
4240 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004241 </button>
z31s1g56189522016-01-13 19:12:40 +01004242
z31s1g608d7ff2016-01-18 19:47:25 +01004243 <button>
z31s1g56189522016-01-13 19:12:40 +01004244 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4245 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4246 <condition var1="tw_hide_kb" op="=" var2="0" />
4247 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4248 <image resource="kb_hide" />
4249 <condition var1="tw_busy" var2="0" />
4250 <actions>
4251 <action function="set">tw_hide_kb=1</action>
4252 <action function="page">terminalcommand</action>
4253 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004254 </button>
z31s1g56189522016-01-13 19:12:40 +01004255
z31s1g608d7ff2016-01-18 19:47:25 +01004256 <button>
z31s1g56189522016-01-13 19:12:40 +01004257 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4258 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4259 <condition var1="tw_hide_kb" op="=" var2="1" />
4260 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4261 <image resource="kb_show" />
4262 <condition var1="tw_busy" var2="0" />
4263 <actions>
4264 <action function="set">tw_hide_kb=0</action>
4265 <action function="page">terminalcommand</action>
4266 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004267 </button>
z31s1g56189522016-01-13 19:12:40 +01004268
z31s1g608d7ff2016-01-18 19:47:25 +01004269 <button>
z31s1g56189522016-01-13 19:12:40 +01004270 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4271 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4272 <image resource="home" />
4273 <condition var1="tw_busy" var2="0" />
4274 <actions>
4275 <action function="set">tw_hide_kb=0</action>
4276 <action function="key">home</action>
4277 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004278 </button>
z31s1g56189522016-01-13 19:12:40 +01004279
z31s1g608d7ff2016-01-18 19:47:25 +01004280 <button>
z31s1g56189522016-01-13 19:12:40 +01004281 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4282 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4283 <condition var1="tw_hide_kb" op="=" var2="0" />
4284 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4285 <image resource="kb_hide" />
4286 <condition var1="tw_busy" var2="0" />
4287 <actions>
4288 <action function="set">tw_hide_kb=1</action>
4289 <action function="page">terminalcommand</action>
4290 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004291 </button>
z31s1g56189522016-01-13 19:12:40 +01004292
z31s1g608d7ff2016-01-18 19:47:25 +01004293 <button>
z31s1g56189522016-01-13 19:12:40 +01004294 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4295 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4296 <condition var1="tw_hide_kb" op="=" var2="1" />
4297 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4298 <image resource="kb_show" />
4299 <condition var1="tw_busy" var2="0" />
4300 <actions>
4301 <action function="set">tw_hide_kb=0</action>
4302 <action function="page">terminalcommand</action>
4303 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004304 </button>
z31s1g56189522016-01-13 19:12:40 +01004305
z31s1g608d7ff2016-01-18 19:47:25 +01004306 <button>
z31s1g56189522016-01-13 19:12:40 +01004307 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4308 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4309 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4310 <image resource="back" />
4311 <condition var1="tw_busy" var2="0" />
4312 <actions>
4313 <action function="set">tw_hide_kb=0</action>
4314 <action function="page">advanced</action>
4315 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004316 </button>
z31s1g56189522016-01-13 19:12:40 +01004317
z31s1g608d7ff2016-01-18 19:47:25 +01004318 <button>
z31s1g56189522016-01-13 19:12:40 +01004319 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4320 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4321 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4322 <image resource="back" />
4323 <condition var1="tw_busy" var2="0" />
4324 <actions>
4325 <action function="set">tw_hide_kb=0</action>
4326 <action function="page">advanced</action>
4327 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004328 </button>
z31s1g56189522016-01-13 19:12:40 +01004329
z31s1g608d7ff2016-01-18 19:47:25 +01004330 <button>
z31s1g56189522016-01-13 19:12:40 +01004331 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4332 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4333 <condition var1="tw_hide_kb" op="=" var2="0" />
4334 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4335 <image resource="kb_hide" />
4336 <condition var1="tw_busy" var2="0" />
4337 <actions>
4338 <action function="set">tw_hide_kb=1</action>
4339 <action function="page">terminalcommand</action>
4340 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004341 </button>
z31s1g56189522016-01-13 19:12:40 +01004342
z31s1g608d7ff2016-01-18 19:47:25 +01004343 <button>
z31s1g56189522016-01-13 19:12:40 +01004344 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4345 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4346 <condition var1="tw_hide_kb" op="=" var2="1" />
4347 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4348 <image resource="kb_show" />
4349 <condition var1="tw_busy" var2="0" />
4350 <actions>
4351 <action function="set">tw_hide_kb=0</action>
4352 <action function="page">terminalcommand</action>
4353 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004354 </button>
z31s1g56189522016-01-13 19:12:40 +01004355
z31s1g608d7ff2016-01-18 19:47:25 +01004356 <button>
z31s1g56189522016-01-13 19:12:40 +01004357 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4358 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4359 <image resource="home" />
4360 <condition var1="tw_busy" var2="0" />
4361 <actions>
4362 <action function="set">tw_hide_kb=0</action>
4363 <action function="key">home</action>
4364 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004365 </button>
z31s1g56189522016-01-13 19:12:40 +01004366
z31s1g608d7ff2016-01-18 19:47:25 +01004367 <button>
z31s1g56189522016-01-13 19:12:40 +01004368 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4369 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4370 <condition var1="tw_hide_kb" op="=" var2="0" />
4371 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4372 <image resource="kb_hide" />
4373 <condition var1="tw_busy" var2="0" />
4374 <actions>
4375 <action function="set">tw_hide_kb=1</action>
4376 <action function="page">terminalcommand</action>
4377 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004378 </button>
z31s1g56189522016-01-13 19:12:40 +01004379
z31s1g608d7ff2016-01-18 19:47:25 +01004380 <button>
z31s1g56189522016-01-13 19:12:40 +01004381 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4382 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4383 <condition var1="tw_hide_kb" op="=" var2="1" />
4384 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4385 <image resource="kb_show" />
4386 <condition var1="tw_busy" var2="0" />
4387 <actions>
4388 <action function="set">tw_hide_kb=0</action>
4389 <action function="page">terminalcommand</action>
4390 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004391 </button>
z31s1g56189522016-01-13 19:12:40 +01004392
z31s1g608d7ff2016-01-18 19:47:25 +01004393 <button>
z31s1g56189522016-01-13 19:12:40 +01004394 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4395 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4396 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4397 <image resource="back" />
4398 <condition var1="tw_busy" var2="0" />
4399 <actions>
4400 <action function="set">tw_hide_kb=0</action>
4401 <action function="page">advanced</action>
4402 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004403 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004404
4405 <action>
4406 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004407 <actions>
4408 <action function="page">main</action>
4409 <action function="set">tw_hide_kb=0</action>
4410 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004411 </action>
4412
4413 <action>
4414 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004415 <actions>
4416 <action function="page">advanced</action>
4417 <action function="set">tw_hide_kb=0</action>
4418 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004419 </action>
z31s1g56189522016-01-13 19:12:40 +01004420
4421 <object type="action">
4422 <touch key="power+voldown" />
4423 <action function="screenshot" />
4424 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </page>
4426
4427 <page name="sideload">
4428 <template name="page"/>
4429
4430 <text style="text_l">
4431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 </text>
4434
4435 <text style="text_m">
4436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004437 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004438 </text>
4439
4440 <checkbox>
4441 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004442 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004443 <data variable="tw_wipe_dalvik"/>
4444 </checkbox>
4445
4446 <checkbox>
4447 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004449 <data variable="tw_wipe_cache"/>
4450 </checkbox>
4451
4452 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <actions>
4455 <action function="set">tw_back=advanced</action>
4456 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4458 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4459 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004460 <action function="set">tw_has_cancel=1</action>
4461 <action function="set">tw_show_reboot=1</action>
4462 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4463 <action function="page">action_page</action>
4464 </actions>
4465 </slider>
4466
4467 <action>
4468 <touch key="home"/>
4469 <action function="page">main</action>
4470 </action>
4471
4472 <action>
4473 <touch key="back"/>
4474 <action function="page">advanced</action>
4475 </action>
4476 </page>
4477
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004478 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004479 <template name="page"/>
4480
4481 <text style="text_l">
4482 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <text style="text_m">
4487 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004488 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m_accent">
4492 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004493 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004494 </text>
4495
z31s1g28f0a922015-11-07 18:50:22 +01004496 <text style="text_m_fail">
4497 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004498 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004499 </text>
4500
4501 <text style="text_m_fail">
4502 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004503 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004504 </text>
4505
4506 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004507 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 <actions>
4509 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004510 <action function="set">tw_action=fixcontexts</action>
4511 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4512 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004513 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004514 <action function="set">tw_show_reboot=1</action>
4515 <action function="page">action_page</action>
4516 </actions>
4517 </slider>
4518
4519 <action>
4520 <touch key="home"/>
4521 <action function="page">main</action>
4522 </action>
4523
4524 <action>
4525 <touch key="back"/>
4526 <action function="page">advanced</action>
4527 </action>
4528 </page>
4529
4530 <page name="installsu">
4531 <template name="page"/>
4532
4533 <text style="text_l">
4534 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004535 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004536 </text>
4537
4538 <text style="text_m">
4539 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004540 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004541 </text>
4542
4543 <text style="text_m_accent">
4544 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004545 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004546 </text>
4547
4548 <text style="text_m">
4549 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m">
4554 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
4558 <button style="main_button_half_width">
4559 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004561 <action function="set">tw_page_done=1</action>
4562 </button>
4563
4564 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004565 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004566 <actions>
4567 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004568 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004569 <action function="set">tw_action_text2=</action>
4570 <action function="page">singleaction_page</action>
4571 </actions>
4572 </slider>
4573 </page>
4574
4575 <page name="slideout">
4576 <fill color="%background_color%">
4577 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4578 </fill>
4579
4580 <console>
4581 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4582 </console>
4583
4584 <button>
4585 <fill color="%transparent%"/>
4586 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4587 <action function="overlay"/>
4588 </button>
4589
4590 <action>
4591 <touch key="power+voldown"/>
4592 <action function="screenshot"/>
4593 </action>
4594 </page>
4595
4596 <page name="select_storage">
4597 <fill color="%semi_transparent%">
4598 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4599 </fill>
4600
4601 <fill color="%background_color%">
4602 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4603 </fill>
4604
4605 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 <data name="tw_storage_path"/>
4608 <listtype name="storage"/>
4609 </partitionlist>
4610
4611 <button style="button_third_width">
4612 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004614 <actions>
4615 <action function="set">tw_clear_destination=%tw_back%</action>
4616 <action function="overlay"/>
4617 <action function="page">clear_vars</action>
4618 </actions>
4619 </button>
4620
4621 <fill color="#000000">
4622 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4623 </fill>
4624
4625 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004626 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4627 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4628 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4629 <image resource="back" />
4630 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004631 <actions>
4632 <action function="overlay"/>
4633 <action function="key">%tw_back%</action>
4634 </actions>
4635 </button>
4636
4637 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004638 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4639 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4640 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4641 <image resource="console" />
4642 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004643 <action function="overlay">slideout</action>
4644 </button>
4645
4646 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004647 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4648 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4649 <image resource="home" />
4650 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004651 <actions>
4652 <action function="overlay"/>
4653 <action function="key">home</action>
4654 </actions>
4655 </button>
4656
4657 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004658 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4659 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4660 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4661 <image resource="console" />
4662 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004663 <action function="overlay">slideout</action>
4664 </button>
4665
4666 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004667 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4668 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4669 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4670 <image resource="back" />
4671 <condition var1="tw_busy" var2="0" />
4672 <actions>
4673 <action function="overlay"/>
4674 <action function="key">%tw_back%</action>
4675 </actions>
4676 </button>
4677
4678 <button>
4679 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4680 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4681 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4682 <image resource="back" />
4683 <condition var1="tw_busy" var2="0" />
4684 <actions>
4685 <action function="overlay"/>
4686 <action function="key">%tw_back%</action>
4687 </actions>
4688 </button>
4689
4690 <button>
4691 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4692 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4693 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4694 <image resource="console" />
4695 <condition var1="tw_busy" var2="0" />
4696 <action function="overlay">slideout</action>
4697 </button>
4698
4699 <button>
4700 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4701 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4702 <image resource="home" />
4703 <condition var1="tw_busy" var2="0" />
4704 <actions>
4705 <action function="overlay"/>
4706 <action function="key">home</action>
4707 </actions>
4708 </button>
4709
4710 <button>
4711 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4712 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4713 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4714 <image resource="console" />
4715 <condition var1="tw_busy" var2="0" />
4716 <action function="overlay">slideout</action>
4717 </button>
4718
4719 <button>
4720 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4721 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4722 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4723 <image resource="back" />
4724 <condition var1="tw_busy" var2="0" />
4725 <actions>
4726 <action function="overlay"/>
4727 <action function="key">%tw_back%</action>
4728 </actions>
4729 </button>
4730
4731 <button>
4732 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4733 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4734 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4735 <image resource="back" />
4736 <condition var1="tw_busy" var2="0" />
4737 <actions>
4738 <action function="overlay"/>
4739 <action function="key">%tw_back%</action>
4740 </actions>
4741 </button>
4742
4743 <button>
4744 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4745 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4746 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4747 <image resource="console" />
4748 <condition var1="tw_busy" var2="0" />
4749 <action function="overlay">slideout</action>
4750 </button>
4751
4752 <button>
4753 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4754 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4755 <image resource="home" />
4756 <condition var1="tw_busy" var2="0" />
4757 <actions>
4758 <action function="overlay"/>
4759 <action function="key">home</action>
4760 </actions>
4761 </button>
4762
4763 <button>
4764 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4765 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4766 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4767 <image resource="console" />
4768 <condition var1="tw_busy" var2="0" />
4769 <action function="overlay">slideout</action>
4770 </button>
4771
4772 <button>
4773 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4774 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4775 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4776 <image resource="back" />
4777 <condition var1="tw_busy" var2="0" />
4778 <actions>
4779 <action function="overlay"/>
4780 <action function="key">%tw_back%</action>
4781 </actions>
4782 </button>
4783
4784 <action>
4785 <touch key="power+voldown"/>
4786 <action function="screenshot"/>
4787 </action>
4788 </page>
4789
4790 <page name="select_language">
4791 <fill color="%semi_transparent%">
4792 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4793 </fill>
4794
4795 <fill color="%background_color%">
4796 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4797 </fill>
4798
4799 <listbox>
4800 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4801 <text>{@select_language=Select Language:}</text>
4802 <icon selected="radio_true" unselected="radio_false" />
4803 <data name="tw_language" />
4804 </listbox>
4805
4806 <button style="button_third_width">
4807 <placement x="%dialog_button_x%" y="%row13_y%"/>
4808 <text>{@ok_btn=OK}</text>
4809 <actions>
4810 <action function="overlay"/>
4811 <action function="setlanguage"></action>
4812 </actions>
4813 </button>
4814
4815 <fill color="#000000">
4816 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4817 </fill>
4818
4819 <button>
4820 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4821 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4822 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4823 <image resource="back" />
4824 <condition var1="tw_busy" var2="0" />
4825 <actions>
4826 <action function="overlay"/>
4827 <action function="key">%tw_back%</action>
4828 </actions>
4829 </button>
4830
4831 <button>
4832 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4833 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4834 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4835 <image resource="console" />
4836 <condition var1="tw_busy" var2="0" />
4837 <action function="overlay">slideout</action>
4838 </button>
4839
4840 <button>
4841 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4842 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="home" />
4844 <condition var1="tw_busy" var2="0" />
4845 <actions>
4846 <action function="overlay"/>
4847 <action function="key">home</action>
4848 </actions>
4849 </button>
4850
4851 <button>
4852 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4853 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4854 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4855 <image resource="console" />
4856 <condition var1="tw_busy" var2="0" />
4857 <action function="overlay">slideout</action>
4858 </button>
4859
4860 <button>
4861 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4862 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4863 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4864 <image resource="back" />
4865 <condition var1="tw_busy" var2="0" />
4866 <actions>
4867 <action function="overlay"/>
4868 <action function="key">%tw_back%</action>
4869 </actions>
4870 </button>
4871
4872 <button>
4873 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4874 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4875 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4876 <image resource="back" />
4877 <condition var1="tw_busy" var2="0" />
4878 <actions>
4879 <action function="overlay"/>
4880 <action function="key">%tw_back%</action>
4881 </actions>
4882 </button>
4883
4884 <button>
4885 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4886 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4887 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4888 <image resource="console" />
4889 <condition var1="tw_busy" var2="0" />
4890 <action function="overlay">slideout</action>
4891 </button>
4892
4893 <button>
4894 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4895 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4896 <image resource="home" />
4897 <condition var1="tw_busy" var2="0" />
4898 <actions>
4899 <action function="overlay"/>
4900 <action function="key">home</action>
4901 </actions>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4906 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4907 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4908 <image resource="console" />
4909 <condition var1="tw_busy" var2="0" />
4910 <action function="overlay">slideout</action>
4911 </button>
4912
4913 <button>
4914 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4915 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4916 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4917 <image resource="back" />
4918 <condition var1="tw_busy" var2="0" />
4919 <actions>
4920 <action function="overlay"/>
4921 <action function="key">%tw_back%</action>
4922 </actions>
4923 </button>
4924
4925 <button>
4926 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4927 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4928 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4929 <image resource="back" />
4930 <condition var1="tw_busy" var2="0" />
4931 <actions>
4932 <action function="overlay"/>
4933 <action function="key">%tw_back%</action>
4934 </actions>
4935 </button>
4936
4937 <button>
4938 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4939 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4940 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4941 <image resource="console" />
4942 <condition var1="tw_busy" var2="0" />
4943 <action function="overlay">slideout</action>
4944 </button>
4945
4946 <button>
4947 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4948 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4949 <image resource="home" />
4950 <condition var1="tw_busy" var2="0" />
4951 <actions>
4952 <action function="overlay"/>
4953 <action function="key">home</action>
4954 </actions>
4955 </button>
4956
4957 <button>
4958 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4959 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4960 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4961 <image resource="console" />
4962 <condition var1="tw_busy" var2="0" />
4963 <action function="overlay">slideout</action>
4964 </button>
4965
4966 <button>
4967 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4968 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4969 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="back" />
4971 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004972 <actions>
4973 <action function="overlay"/>
4974 <action function="key">%tw_back%</action>
4975 </actions>
4976 </button>
4977
4978 <action>
4979 <touch key="power+voldown"/>
4980 <action function="screenshot"/>
4981 </action>
4982 </page>
4983 </pages>
4984</recovery>