blob: 3aed1981e0a7b1f0e16b6b1b2a7ca59d7dbaca43 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
142 </style>
143
144 <style name="partitionlist">
145 <highlight color="%fileselector_highlight_color%"/>
146 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
147 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 <icon selected="checkbox_true" unselected="checkbox_false"/>
150 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
151 <background color="%background_color%"/>
152 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
153 </style>
154
155 <style name="partitionlist_storage">
156 <highlight color="%fileselector_highlight_color%"/>
157 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
158 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
159 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
160 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
161 <icon selected="radio_true" unselected="radio_false"/>
162 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
163 <background color="%background_color%"/>
164 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
165 </style>
166
167 <style name="slider">
168 <placement x="%col2_x_right%" y="%row17a_y%"/>
169 <font resource="font_m" color="%text_color%"/>
170 <resource base="slider" used="slider_used" touch="slider_touch"/>
171 </style>
172
173 <style name="slider_centered">
174 <placement x="%center_x%" y="%row17a_y%"/>
175 <font resource="font_m" color="%text_color%"/>
176 <resource base="slider" used="slider_used" touch="slider_touch"/>
177 </style>
178
179 <style name="slidervalue">
180 <resource handle="handle"/>
181 <font resource="font_m" color="%text_color%"/>
182 <colors line="%fileselector_linecolor%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100185
186 <style name="patternpassword">
187 <size name="tw_gui_pattern_grid_size" default="3"/>
188 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100189 </styles>
190
191 <pages>
192 <page name="main">
193 <action>
194 <actions>
195 <action function="set">tw_clear_destination=main2</action>
196 <action function="page">clear_vars</action>
197 </actions>
198 </action>
199 </page>
200
201 <page name="main2">
202 <template name="page"/>
203
204 <text style="text_l">
205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500206 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100207 </text>
208
209 <text style="text_m">
210 <condition var1="tw_no_cpu_temp" var2="0"/>
211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
212 <text>%tw_version%</text>
213 </text>
214
215 <button style="main_button">
216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <actions>
219 <action function="queueclear"/>
220 <action function="set">tw_selectimage=0</action>
221 <action function="page">install</action>
222 </actions>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">backup</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">restore</action>
241 </button>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">advanced</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <action function="page">reboot</action>
265 </button>
266 </page>
267
268 <page name="install">
269 <template name="page"/>
270
271 <text style="text_l">
272 <condition var1="tw_selectimage" var2="0"/>
273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 </text>
276
277 <text style="text_l">
278 <condition var1="tw_selectimage" var2="1"/>
279 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500280 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100281 </text>
282
283 <text style="text_m">
284 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <template name="sort_options"/>
289
290 <fileselector>
291 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500292 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100293 <filter folders="1" files="0"/>
294 <path name="tw_zip_location" default="/sdcard"/>
295 <data name="select"/>
296 </fileselector>
297
298 <fileselector>
299 <condition var1="tw_selectimage" var2="0"/>
300 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
301 <text>%tw_zip_location%</text>
302 <filter extn=".zip" folders="0" files="1"/>
303 <path name="tw_zip_location" default="/sdcard"/>
304 <data name="tw_filename"/>
305 <selection name="tw_file"/>
306 </fileselector>
307
308 <fileselector>
309 <condition var1="tw_selectimage" var2="1"/>
310 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
311 <text>%tw_zip_location%</text>
312 <filter extn=".img" folders="0" files="1"/>
313 <path name="tw_zip_location" default="/sdcard"/>
314 <data name="tw_filename"/>
315 <selection name="tw_file"/>
316 </fileselector>
317
318 <button style="main_button_half_width_low">
319 <condition var1="tw_selectimage" var2="0"/>
320 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="set">tw_selectimage=1</action>
324 <action function="page">install</action>
325 </actions>
326 </button>
327
328 <button style="main_button_half_width_low">
329 <condition var1="tw_selectimage" var2="1"/>
330 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <actions>
333 <action function="set">tw_selectimage=0</action>
334 <action function="page">install</action>
335 </actions>
336 </button>
337
338 <button style="main_button_half_width_low">
339 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 <actions>
342 <action function="set">tw_back=install</action>
343 <action function="overlay">select_storage</action>
344 </actions>
345 </button>
346
347 <action>
348 <conditions>
349 <condition var1="tw_selectimage" var2="0"/>
350 <condition var1="tw_filename" op="modified"/>
351 </conditions>
352 <actions>
353 <action function="queuezip"/>
354 <action function="page">flash_confirm</action>
355 </actions>
356 </action>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="1"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <action function="page">flashimage_confirm</action>
364 </action>
365
366 <action>
367 <touch key="back"/>
368 <action function="page">main</action>
369 </action>
370
371 <action>
372 <touch key="home"/>
373 <action function="page">main</action>
374 </action>
375 </page>
376
377 <page name="flash_confirm">
378 <template name="page"/>
379
380 <text style="text_l">
381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100383 </text>
384
385 <text style="text_m">
386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500387 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </text>
389
390 <text style="text_m_accent">
391 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500392 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100393 </text>
394
395 <text style="text_m_accent">
396 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500402 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m">
411 <placement x="%col1_x_left%" y="%row9_y%"/>
412 <text>%tw_zip_location%</text>
413 </text>
414
415 <text style="text_m_accent">
416 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m">
421 <placement x="%col1_x_left%" y="%row12_y%"/>
422 <text>%tw_file%</text>
423 </text>
424
425 <text style="text_m_accent">
426 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500427 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100428 </text>
429
430 <checkbox>
431 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <data variable="tw_signed_zip_verify"/>
434 </checkbox>
435
436 <checkbox>
437 <condition var1="tw_has_injecttwrp" var2="1"/>
438 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <data variable="tw_inject_after_zip"/>
441 </checkbox>
442
bigbiffa869fc72016-03-01 19:40:36 -0500443 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500444 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500446 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500447 </checkbox>
448
z31s1g28f0a922015-11-07 18:50:22 +0100449 <button style="main_button_half_width">
450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <action function="page">install</action>
453 </button>
454
455 <button style="main_button_half_width">
456 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 <actions>
459 <action function="queueclear"/>
460 <action function="page">install</action>
461 </actions>
462 </button>
463
464 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 <action function="flash">flash_zip</action>
467 </slider>
468
469 <action>
470 <touch key="back"/>
471 <actions>
472 <action function="cancelzip"/>
473 <action function="page">install</action>
474 </actions>
475 </action>
476
477 <action>
478 <touch key="home"/>
479 <action function="page">main</action>
480 </action>
481 </page>
482
483 <page name="flash_zip">
484 <template name="page"/>
485
486 <text style="text_l">
487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 </text>
490
491 <text style="text_m">
492 <placement x="%col1_x_header%" y="%row4_header_y%"/>
493 <text>%tw_file%</text>
494 </text>
495
496 <template name="console"/>
497
498 <template name="progress_bar"/>
499
500 <action>
501 <condition var1="tw_operation_state" var2="1"/>
502 <action function="page">flash_done</action>
503 </action>
504 </page>
505
506 <page name="flash_done">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m_fail">
515 <condition var1="tw_operation_status" op="!=" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <text style="text_m">
521 <condition var1="tw_operation_status" var2="0"/>
522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500523 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100524 </text>
525
526 <template name="console"/>
527
528 <button style="main_button_half_width">
529 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500530 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <actions>
532 <action function="set">tw_back=flash_done</action>
533 <action function="set">tw_action=wipe</action>
534 <action function="set">tw_action_param=/cache</action>
535 <action function="set">tw_has_action2=1</action>
536 <action function="set">tw_action2=wipe</action>
537 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
539 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
540 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
541 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <action function="page">confirm_action</action>
543 </actions>
544 </button>
545
546 <button style="main_button_half_width">
547 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 <actions>
550 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500551 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100552 </actions>
553 </button>
554
555 <action>
556 <touch key="back"/>
557 <actions>
558 <action function="set">tw_clear_destination=install</action>
559 <action function="page">clear_vars</action>
560 </actions>
561 </action>
562
563 <action>
564 <touch key="home"/>
565 <actions>
566 <action function="set">tw_clear_destination=main2</action>
567 <action function="page">clear_vars</action>
568 </actions>
569 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500570
571 <action>
572 <conditions>
573 <condition var1="tw_install_reboot" var2="1"/>
574 <condition var1="tw_operation_status" var2="0"/>
575 <condition var1="tw_reboot_system" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="set">tw_sleep=%tw_sleep_total%</action>
579 <action function="page">flash_sleep_and_reboot</action>
580 </actions>
581 </action>
582 </page>
583
584 <page name="flash_sleep_and_reboot">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
589 <text>{@install_zip_hdr=Install Zip}</text>
590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
594 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
595 </text>
596
597 <template name="console"/>
598
599 <template name="progress_bar"/>
600
601 <button style="main_button_half_width">
602 <condition var1="tw_sleep" op="&gt;" var2="0"/>
603 <placement x="%center_x%" y="%row15a_y%"/>
604 <text>{@cancel_btn=Cancel}</text>
605 <actions>
606 <action function="set">tw_install_reboot=0</action>
607 <action function="page">flash_done</action>
608 </actions>
609 </button>
610
611 <action>
612 <conditions>
613 <condition var1="tw_sleep" var2="tw_sleep_total"/>
614 <condition var1="tw_install_reboot" var2="1"/>
615 </conditions>
616 <action function="sleepcounter">%tw_sleep_total%</action>
617 </action>
618
619 <action>
620 <conditions>
621 <condition var1="tw_sleep" var2="0"/>
622 <condition var1="tw_install_reboot" var2="1"/>
623 </conditions>
624 <actions>
625 <action function="sleep">50000</action>
626 <action function="set">tw_back=main2</action>
627 <action function="page">reboot_system_routine</action>
628 </actions>
629 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100630 </page>
631
632 <page name="flashimage_confirm">
633 <template name="page"/>
634
635 <text style="text_l">
636 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 </text>
639
640 <text style="text_m">
641 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500642 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100643 </text>
644
645 <text style="text_m_accent">
646 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500647 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100648 </text>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row9_y%"/>
652 <text>%tw_zip_location%</text>
653 </text>
654
655 <text style="text_m_accent">
656 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500657 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100658 </text>
659
660 <text style="text_m">
661 <placement x="%col1_x_left%" y="%row12_y%"/>
662 <text>%tw_file%</text>
663 </text>
664
665 <partitionlist>
666 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
667 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 <data name="tw_flash_partition"/>
670 <listtype name="flashimg"/>
671 </partitionlist>
672
673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <actions>
676 <action function="set">tw_back=flashimage_confirm</action>
677 <action function="set">tw_action=flashimage</action>
678 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500681 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 <action function="page">action_page</action>
683 </actions>
684 <action function="flashimage"/>
685 </slider>
686
687 <action>
688 <touch key="back"/>
689 <actions>
690 <action function="set">tw_clear_destination=install</action>
691 <action function="page">clear_vars</action>
692 </actions>
693 </action>
694
695 <action>
696 <touch key="home"/>
697 <actions>
698 <action function="set">tw_clear_destination=main2</action>
699 <action function="page">clear_vars</action>
700 </actions>
701 </action>
702 </page>
703
704 <page name="clear_vars">
705 <action>
706 <action function="set">tw_operation_state=0</action>
707 <action function="set">tw_text1=</action>
708 <action function="set">tw_text2=</action>
709 <action function="set">tw_text3=</action>
710 <action function="set">tw_text4=</action>
711 <action function="set">tw_action_text1=</action>
712 <action function="set">tw_action_text2=</action>
713 <action function="set">tw_action_param=</action>
714 <action function="set">tw_has_action2=0</action>
715 <action function="set">tw_action2=</action>
716 <action function="set">tw_action2_param=</action>
717 <action function="set">tw_has_cancel=0</action>
718 <action function="set">tw_cancel_action=</action>
719 <action function="set">tw_cancel_param=</action>
720 <action function="set">tw_show_exclamation=0</action>
721 <action function="set">tw_show_reboot=0</action>
722 <action function="page">%tw_clear_destination%</action>
723 </action>
724 </page>
725
Matt Mower908dd252016-05-25 02:26:50 -0500726 <page name="reboot_system_routine">
727 <action>
728 <action function="set">tw_action=reboot</action>
729 <action function="set">tw_action_param=system</action>
730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
732 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
735 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
736 <action function="set">tw_action_text2=</action>
737 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
738 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
739 <action function="page">rebootcheck</action>
740 </action>
741 </page>
742
z31s1g28f0a922015-11-07 18:50:22 +0100743 <page name="confirm_action">
744 <template name="page"/>
745
746 <text style="text_l">
747 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </text>
750
751 <text style="text_m">
752 <placement x="%col1_x_header%" y="%row4_header_y%"/>
753 <text/>
754 </text>
755
756 <text style="text_m_accent">
757 <placement x="%center_x%" y="%row2_y%" placement="5"/>
758 <text>%tw_text1%</text>
759 </text>
760
761 <text style="text_m_accent">
762 <placement x="%center_x%" y="%row3_y%" placement="5"/>
763 <text>%tw_text2%</text>
764 </text>
765
766 <text style="text_m">
767 <placement x="%center_x%" y="%row4_y%" placement="5"/>
768 <text>%tw_text3%</text>
769 </text>
770
771 <text style="text_m">
772 <placement x="%center_x%" y="%row5_y%" placement="5"/>
773 <text>%tw_text4%</text>
774 </text>
775
776 <text style="text_m">
777 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <slider style="slider_centered">
782 <text>%tw_slider_text%</text>
783 <action function="page">action_page</action>
784 </slider>
785
786 <action>
787 <touch key="back"/>
788 <actions>
789 <action function="set">tw_clear_destination=%tw_back%</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </action>
793
794 <action>
795 <touch key="home"/>
796 <action function="page">main</action>
797 </action>
798 </page>
799
800 <page name="action_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <button style="main_button_half_width">
818 <condition var1="tw_has_cancel" var2="1"/>
819 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500820 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100821 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
822 </button>
823
824 <action>
825 <condition var1="tw_operation_state" var2="1"/>
826 <actions>
827 <action function="page">action_complete</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="0"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 </actions>
836 </action>
837
838 <action>
839 <condition var1="tw_has_action2" var2="1"/>
840 <actions>
841 <action function="%tw_action%">%tw_action_param%</action>
842 <action function="%tw_action2%">%tw_action2_param%</action>
843 </actions>
844 </action>
845 </page>
846
847 <page name="singleaction_page">
848 <template name="page"/>
849
850 <text style="text_l">
851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
852 <text>%tw_action_text1%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
857 <text>%tw_action_text2%</text>
858 </text>
859
860 <template name="console"/>
861
862 <template name="progress_bar"/>
863
864 <action>
865 <condition var1="tw_operation_state" var2="1"/>
866 <actions>
867 <action function="set">tw_page_done=1</action>
868 </actions>
869 </action>
870
871 <action>
872 <condition var1="tw_has_action2" var2="0"/>
873 <actions>
874 <action function="%tw_action%">%tw_action_param%</action>
875 </actions>
876 </action>
877
878 <action>
879 <condition var1="tw_has_action2" var2="1"/>
880 <actions>
881 <action function="%tw_action%">%tw_action_param%</action>
882 <action function="%tw_action2%">%tw_action2_param%</action>
883 </actions>
884 </action>
885 </page>
886
887 <page name="action_complete">
888 <template name="page"/>
889
890 <text style="text_l">
891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
892 <text>%tw_complete_text1%</text>
893 </text>
894
895 <text style="text_m_fail">
896 <condition var1="tw_operation_status" op="!=" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <text style="text_m">
902 <condition var1="tw_operation_status" var2="0"/>
903 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <template name="console"/>
908
909 <button style="main_button_half_width">
910 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </button>
917
918 <button style="main_button_half_width">
919 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 <actions>
922 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500923 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100924 </actions>
925 </button>
926
927 <action>
928 <touch key="home"/>
929 <actions>
930 <action function="set">tw_clear_destination=main2</action>
931 <action function="page">clear_vars</action>
932 </actions>
933 </action>
934
935 <action>
936 <touch key="back"/>
937 <actions>
938 <action function="set">tw_clear_destination=%tw_back%</action>
939 <action function="page">clear_vars</action>
940 </actions>
941 </action>
942 </page>
943
944 <page name="filecheck">
945 <action>
946 <action function="fileexists">%tw_filecheck%</action>
947 </action>
948
949 <action>
950 <conditions>
951 <condition var1="tw_operation_state" var2="1"/>
952 <condition var1="tw_operation_status" var2="0"/>
953 </conditions>
954 <actions>
955 <action function="set">tw_fileexists=1</action>
956 <action function="page">%tw_existpage%</action>
957 </actions>
958 </action>
959
960 <action>
961 <conditions>
962 <condition var1="tw_operation_state" var2="1"/>
963 <condition var1="tw_operation_status" var2="1"/>
964 </conditions>
965 <actions>
966 <action function="set">tw_fileexists=0</action>
967 <action function="page">%tw_notexistpage%</action>
968 </actions>
969 </action>
970 </page>
971
972 <page name="rebootcheck">
973 <action>
974 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
975 <action function="reboot">%tw_action_param%</action>
976 </action>
977
978 <action>
979 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
980 <action function="page">confirm_action</action>
981 </action>
982 </page>
983
984 <page name="wipe">
985 <template name="page"/>
986
987 <text style="text_l">
988 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 </text>
991
992 <text style="text_m">
993 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m_accent">
998 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m_accent">
1003 <condition var1="tw_has_data_media" var2="1"/>
1004 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m_accent">
1009 <conditions>
1010 <condition var1="tw_has_android_secure" var2="1"/>
1011 <condition var1="fileexists" var2="/and-sec"/>
1012 </conditions>
1013 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 </text>
1016
1017 <text style="text_m_accent">
1018 <condition var1="tw_has_sdext_partition" var2="1"/>
1019 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001021 </text>
1022
1023 <text style="text_m">
1024 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001030 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <button style="main_button_half_width">
1039 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <actions>
1042 <action function="set">partitionlisterror=0</action>
1043 <action function="page">advancedwipe</action>
1044 </actions>
1045 </button>
1046
1047 <button style="main_button_half_width">
1048 <condition var1="tw_has_data_media" var2="1"/>
1049 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <action function="page">formatdata</action>
1052 </button>
1053
1054 <button style="main_button_half_width">
1055 <conditions>
1056 <condition var1="tw_is_encrypted" var2="1"/>
1057 <condition var1="tw_has_data_media" var2="0"/>
1058 </conditions>
1059 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <actions>
1062 <action function="set">tw_back=wipe</action>
1063 <action function="set">tw_action=wipe</action>
1064 <action function="set">tw_action_param=DATAMEDIA</action>
1065 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001066 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001067 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1069 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1070 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001071 <action function="page">confirm_action</action>
1072 </actions>
1073 </button>
1074
1075 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001077 <actions>
1078 <action function="set">tw_back=wipe</action>
1079 <action function="set">tw_action=wipe</action>
1080 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1082 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <action function="page">action_page</action>
1084 </actions>
1085 </slider>
1086
1087 <action>
1088 <touch key="back"/>
1089 <action function="page">main</action>
1090 </action>
1091
1092 <action>
1093 <touch key="home"/>
1094 <action function="page">main</action>
1095 </action>
1096 </page>
1097
1098 <page name="advancedwipe">
1099 <template name="page"/>
1100
1101 <action>
1102 <action function="set">tw_wipe_list=</action>
1103 </action>
1104
1105 <text style="text_l">
1106 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001107 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001108 </text>
1109
1110 <text style="text_m">
1111 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 </text>
1114
1115 <partitionlist>
1116 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <data name="tw_wipe_list"/>
1119 <listtype name="wipe"/>
1120 </partitionlist>
1121
1122 <text style="text_m_fail">
1123 <condition var1="partitionlisterror" var2="1"/>
1124 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <button style="main_button_m">
1129 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001132 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <action function="page">checkpartitionlist</action>
1134 </actions>
1135 </button>
1136
1137 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 <actions>
1140 <action function="set">tw_back=advancedwipe</action>
1141 <action function="set">tw_action=wipe</action>
1142 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1144 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1145 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001146 <action function="page">action_page</action>
1147 </actions>
1148 </slider>
1149
1150 <action>
1151 <touch key="home"/>
1152 <action function="page">main</action>
1153 </action>
1154
1155 <action>
1156 <touch key="back"/>
1157 <action function="page">wipe</action>
1158 </action>
1159 </page>
1160
1161 <page name="formatdata">
1162 <template name="page"/>
1163
1164 <text style="text_l">
1165 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 </text>
1168
1169 <text style="text_m">
1170 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m_fail">
1175 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <text style="text_m_fail">
1180 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001181 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001182 </text>
1183
Ethan Yonker66a19492015-12-10 10:19:45 -06001184 <text style="text_m_fail">
1185 <condition var1="tw_has_adopted_storage" var2="1"/>
1186 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1187 <text>{@format_data_adopted=Including Adopted Storage}</text>
1188 </text>
1189
z31s1g28f0a922015-11-07 18:50:22 +01001190 <text style="text_m">
1191 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m">
1196 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <input>
1201 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1202 <text>%tw_confirm_formatdata%</text>
1203 <data name="tw_confirm_formatdata"/>
1204 <restrict minlen="3" maxlen="3" allow="yes"/>
1205 <action function="page">formatdata_confirm</action>
1206 </input>
1207
1208 <fill color="%accent_color%">
1209 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1210 </fill>
1211
1212 <template name="keyboardtemplate"/>
1213
1214 <action>
1215 <touch key="home"/>
1216 <action function="page">main</action>
1217 </action>
1218
1219 <action>
1220 <touch key="back"/>
1221 <action function="page">wipe</action>
1222 </action>
1223 </page>
1224
1225 <page name="formatdata_confirm">
1226 <action>
1227 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1228 <actions>
1229 <action function="set">tw_back=formatdata</action>
1230 <action function="set">tw_action=wipe</action>
1231 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001232 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1233 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001234 <action function="page">action_page</action>
1235 </actions>
1236 </action>
1237
1238 <action>
1239 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1240 <action function="page">formatdata</action>
1241 </action>
1242 </page>
1243
1244 <page name="checkpartitionlist">
1245 <action>
1246 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1247 <actions>
1248 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001249 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001250 <action function="page">partitionoptions</action>
1251 </actions>
1252 </action>
1253
1254 <action>
1255 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1256 <actions>
1257 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001258 <action function="page">advancedwipe</action>
1259 </actions>
1260 </action>
1261 </page>
1262
1263 <page name="partitionoptions">
1264 <template name="page"/>
1265
1266 <text style="text_l">
1267 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m_accent">
1277 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m_accent">
1282 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m">
1287 <condition var1="tw_partition_is_present" var2="1"/>
1288 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001289 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001290 </text>
1291
1292 <text style="text_m">
1293 <condition var1="tw_partition_is_present" var2="0"/>
1294 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m">
1299 <condition var1="tw_partition_removable" var2="1"/>
1300 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m">
1305 <condition var1="tw_partition_removable" var2="0"/>
1306 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001307 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001308 </text>
1309
1310 <text style="text_m">
1311 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m">
1326 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <button style="main_button_half_width">
1331 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1332 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <actions>
1335 <action function="set">tw_back=partitionoptions</action>
1336 <action function="set">tw_action=resize</action>
1337 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1338 <action function="set">tw_has_action2=1</action>
1339 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001340 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001341 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1344 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1345 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001346 <action function="page">confirm_action</action>
1347 </actions>
1348 </button>
1349
1350 <button style="main_button_half_width">
1351 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1352 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 <actions>
1355 <action function="set">tw_back=partitionoptions</action>
1356 <action function="set">tw_action=repair</action>
1357 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1358 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001360 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001361 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1362 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1363 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="page">confirm_action</action>
1365 </actions>
1366 </button>
1367
1368 <button style="main_button_half_width">
1369 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001370 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001371 <action function="page">selectfilesystem</action>
1372 </button>
1373
1374 <action>
1375 <touch key="home"/>
1376 <action function="page">main</action>
1377 </action>
1378
1379 <action>
1380 <touch key="back"/>
1381 <action function="page">advancedwipe</action>
1382 </action>
1383 </page>
1384
1385 <page name="refreshfilesystem">
1386 <action>
1387 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1388 <actions>
1389 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001390 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001391 <action function="page">selectfilesystem</action>
1392 </actions>
1393 </action>
1394
1395 <action>
1396 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1397 <actions>
1398 <action function="set">partitionlisterror=1</action>
1399 <action function="set">tw_wipe_list=</action>
1400 <action function="page">advancedwipe</action>
1401 </actions>
1402 </action>
1403 </page>
1404
1405 <page name="selectfilesystem">
1406 <template name="page"/>
1407
1408 <text style="text_l">
1409 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m">
1414 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m_accent">
1419 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <text style="text_m_accent">
1424 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001426 </text>
1427
1428 <text style="text_m_fail">
1429 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001430 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001431 </text>
1432
1433 <text style="text_m_fail">
1434 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001436 </text>
1437
1438 <button style="main_button_half_width">
1439 <condition var1="tw_partition_ext" op="=" var2="1"/>
1440 <placement x="%col1_x_left%" y="%row11_y%"/>
1441 <text>EXT2</text>
1442 <actions>
1443 <action function="set">tw_back=refreshfilesystem</action>
1444 <action function="set">tw_action=changefilesystem</action>
1445 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1446 <action function="set">tw_action_new_file_system=ext2</action>
1447 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001448 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1449 <action function="set">tw_text2=EXT2</action>
1450 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1451 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1452 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">confirm_action</action>
1454 </actions>
1455 </button>
1456
1457 <button style="main_button_half_width">
1458 <condition var1="tw_partition_ext" op="=" var2="1"/>
1459 <placement x="%col2_x_left%" y="%row11_y%"/>
1460 <text>EXT3</text>
1461 <actions>
1462 <action function="set">tw_back=refreshfilesystem</action>
1463 <action function="set">tw_action=changefilesystem</action>
1464 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1465 <action function="set">tw_action_new_file_system=ext3</action>
1466 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001467 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1468 <action function="set">tw_text2=EXT3</action>
1469 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1470 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1471 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001472 <action function="page">confirm_action</action>
1473 </actions>
1474 </button>
1475
1476 <button style="main_button_half_width">
1477 <condition var1="tw_partition_ext" op="=" var2="1"/>
1478 <placement x="%center_x%" y="%row11_y%"/>
1479 <text>EXT4</text>
1480 <actions>
1481 <action function="set">tw_back=refreshfilesystem</action>
1482 <action function="set">tw_action=changefilesystem</action>
1483 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1484 <action function="set">tw_action_new_file_system=ext4</action>
1485 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001486 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1487 <action function="set">tw_text2=EXT4</action>
1488 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1489 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1490 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001491 <action function="page">confirm_action</action>
1492 </actions>
1493 </button>
1494
1495 <button style="main_button_half_width">
1496 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1497 <placement x="%col2_x_right%" y="%row11_y%"/>
1498 <text>FAT</text>
1499 <actions>
1500 <action function="set">tw_back=refreshfilesystem</action>
1501 <action function="set">tw_action=changefilesystem</action>
1502 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1503 <action function="set">tw_action_new_file_system=vfat</action>
1504 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1506 <action function="set">tw_text2=FAT</action>
1507 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1508 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1509 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001510 <action function="page">confirm_action</action>
1511 </actions>
1512 </button>
1513
1514 <button style="main_button_half_width">
1515 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1516 <placement x="%col2_x_left%" y="%row15a_y%"/>
1517 <text>exFAT</text>
1518 <actions>
1519 <action function="set">tw_back=refreshfilesystem</action>
1520 <action function="set">tw_action=changefilesystem</action>
1521 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1522 <action function="set">tw_action_new_file_system=exfat</action>
1523 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001524 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1525 <action function="set">tw_text2=exFAT</action>
1526 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1527 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1528 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001529 <action function="page">confirm_action</action>
1530 </actions>
1531 </button>
1532
1533 <button style="main_button_half_width">
1534 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1535 <placement x="%center_x%" y="%row15a_y%"/>
1536 <text>F2FS</text>
1537 <actions>
1538 <action function="set">tw_back=refreshfilesystem</action>
1539 <action function="set">tw_action=changefilesystem</action>
1540 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1541 <action function="set">tw_action_new_file_system=f2fs</action>
1542 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001543 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1544 <action function="set">tw_text2=F2FS</action>
1545 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1546 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1547 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001548 <action function="page">confirm_action</action>
1549 </actions>
1550 </button>
1551
1552 <action>
1553 <touch key="home"/>
1554 <action function="page">main</action>
1555 </action>
1556
1557 <action>
1558 <touch key="back"/>
1559 <action function="page">partitionoptions</action>
1560 </action>
1561 </page>
1562
1563 <page name="backup">
1564 <template name="page"/>
1565
1566 <text style="text_l">
1567 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001568 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001569 </text>
1570
1571 <text style="text_m">
1572 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001574 </text>
1575
1576 <text style="text_m_accent">
1577 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 </text>
1580
1581 <text style="text_m">
1582 <placement x="%col1_x_left%" y="%row3_y%"/>
1583 <text>%tw_backup_name%</text>
1584 </text>
1585
1586 <fill color="%fileselector_linecolor%">
1587 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1588 </fill>
1589
1590 <button>
1591 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1592 <fill color="%transparent%"/>
1593 <actions>
1594 <action function="set">tw_fileexists=0</action>
1595 <action function="page">backupname1</action>
1596 </actions>
1597 </button>
1598
1599 <partitionlist>
1600 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 <data name="tw_backup_list"/>
1603 <listtype name="backup"/>
1604 </partitionlist>
1605
1606 <text style="text_m_accent">
1607 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001609 </text>
1610
1611 <text style="text_m">
1612 <conditions>
1613 <condition var1="tw_include_encrypted_backup" var2="1"/>
1614 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001615 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001616 </conditions>
1617 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001618 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </text>
1620
1621 <text style="text_m">
1622 <conditions>
1623 <condition var1="tw_include_encrypted_backup" var2="1"/>
1624 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001625 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001626 </conditions>
1627 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001629 </text>
1630
1631 <fill color="%fileselector_linecolor%">
1632 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1633 </fill>
1634
1635 <button>
1636 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1637 <fill color="%transparent%"/>
1638 <actions>
1639 <action function="set">tw_password_not_match=0</action>
1640 <action function="page">backupencryption</action>
1641 </actions>
1642 </button>
1643
1644 <text style="text_m_accent">
1645 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001647 </text>
1648
1649 <checkbox>
1650 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 <data variable="tw_use_compression"/>
1653 </checkbox>
1654
1655 <checkbox>
1656 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001657 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001658 <data variable="tw_skip_md5_generate"/>
1659 </checkbox>
1660
1661 <checkbox>
1662 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001663 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 <data variable="tw_disable_free_space"/>
1665 </checkbox>
1666
1667 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001668 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001669 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 <actions>
1672 <action function="set">tw_back=backup</action>
1673 <action function="overlay">select_storage</action>
1674 </actions>
1675 </button>
1676
1677 <button style="main_button_half_width">
1678 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <actions>
1681 <action function="refreshsizes"/>
1682 <action function="page">backup</action>
1683 </actions>
1684 </button>
1685
1686 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001688 <action function="page">backup_run</action>
1689 </slider>
1690
1691 <action>
1692 <touch key="home"/>
1693 <action function="page">main</action>
1694 </action>
1695
1696 <action>
1697 <touch key="back"/>
1698 <action function="page">main</action>
1699 </action>
1700 </page>
1701
1702 <page name="backupname1">
1703 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001705 <action function="generatebackupname"/>
1706 </action>
1707
1708 <action>
1709 <action function="page">backupname2</action>
1710 </action>
1711 </page>
1712
1713 <page name="backupname2">
1714 <template name="page"/>
1715
1716 <text style="text_l">
1717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001718 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001719 </text>
1720
1721 <text style="text_m">
1722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </text>
1725
1726 <text style="text_m_accent">
1727 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <input>
1732 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1733 <text>%tw_backup_name%</text>
1734 <data name="tw_backup_name"/>
1735 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1736 <actions>
1737 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1738 <action function="set">tw_existpage=backupname2</action>
1739 <action function="set">tw_notexistpage=backup</action>
1740 <action function="page">filecheck</action>
1741 </actions>
1742 </input>
1743
1744 <fill color="%accent_color%">
1745 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1746 </fill>
1747
1748 <fill color="%text_fail_color%">
1749 <condition var1="tw_fileexists" var2="1"/>
1750 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1751 </fill>
1752
1753 <text style="text_m_fail">
1754 <condition var1="tw_fileexists" var2="1"/>
1755 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001756 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001757 </text>
1758
1759 <button style="main_button_half_width_low">
1760 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <action function="page">backup</action>
1765 </actions>
1766 </button>
1767
1768 <button style="main_button_half_width_low">
1769 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001770 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001771 <action function="appenddatetobackupname"/>
1772 </button>
1773
1774 <template name="keyboardtemplate"/>
1775
1776 <action>
1777 <touch key="home"/>
1778 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001780 <action function="page">main</action>
1781 </actions>
1782 </action>
1783
1784 <action>
1785 <touch key="back"/>
1786 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001787 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001788 <action function="page">backup</action>
1789 </actions>
1790 </action>
1791 </page>
1792
1793 <page name="backupencryption">
1794 <template name="page"/>
1795
1796 <text style="text_l">
1797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001798 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001799 </text>
1800
1801 <text style="text_m">
1802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <text style="text_m_accent">
1807 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <input>
1812 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1813 <text>%tw_backup_encrypt_display%</text>
1814 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1815 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1816 <action function="page">backupencryption2</action>
1817 </input>
1818
1819 <fill color="%accent_color%">
1820 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1821 </fill>
1822
1823 <fill color="%text_fail_color%">
1824 <condition var1="tw_password_not_match" var2="1"/>
1825 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1826 </fill>
1827
1828 <text style="text_m_fail">
1829 <condition var1="tw_password_not_match" var2="1"/>
1830 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <button style="main_button_half_width_low">
1835 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 <actions>
1838 <action function="set">tw_encrypt_backup=0</action>
1839 <action function="set">tw_backup_password=</action>
1840 <action function="set">tw_backup_password2=</action>
1841 <action function="set">tw_backup_encrypt_display=</action>
1842 <action function="set">tw_backup_encrypt_display2=</action>
1843 <action function="page">backup</action>
1844 </actions>
1845 </button>
1846
1847 <template name="keyboardtemplate"/>
1848
1849 <action>
1850 <touch key="home"/>
1851 <action function="page">main</action>
1852 </action>
1853
1854 <action>
1855 <touch key="back"/>
1856 <action function="page">backup</action>
1857 </action>
1858 </page>
1859
1860 <page name="backupencryption2">
1861 <template name="page"/>
1862
1863 <text style="text_l">
1864 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001865 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001866 </text>
1867
1868 <text style="text_m">
1869 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m_accent">
1874 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <input>
1879 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1880 <text>%tw_backup_encrypt_display2%</text>
1881 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1882 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1883 <action function="page">checkbackuppassword</action>
1884 </input>
1885
1886 <fill color="%accent_color%">
1887 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1888 </fill>
1889
1890 <text style="text_m">
1891 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 </text>
1894
1895 <button style="main_button_half_width_low">
1896 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 <actions>
1899 <action function="set">tw_encrypt_backup=0</action>
1900 <action function="set">tw_backup_password=</action>
1901 <action function="set">tw_backup_password2=</action>
1902 <action function="set">tw_backup_encrypt_display=</action>
1903 <action function="set">tw_backup_encrypt_display2=</action>
1904 <action function="page">backup</action>
1905 </actions>
1906 </button>
1907
1908 <template name="keyboardtemplate"/>
1909
1910 <action>
1911 <touch key="home"/>
1912 <action function="page">main</action>
1913 </action>
1914
1915 <action>
1916 <touch key="back"/>
1917 <action function="page">backup</action>
1918 </action>
1919 </page>
1920
1921 <page name="checkbackuppassword">
1922 <action>
1923 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1924 <actions>
1925 <action function="set">tw_encrypt_backup=1</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </action>
1929
1930 <action>
1931 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1932 <actions>
1933 <action function="set">tw_encrypt_backup=0</action>
1934 <action function="set">tw_password_not_match=1</action>
1935 <action function="set">tw_backup_password=</action>
1936 <action function="set">tw_backup_password2=</action>
1937 <action function="set">tw_backup_encrypt_display=</action>
1938 <action function="set">tw_backup_encrypt_display2=</action>
1939 <action function="page">backupencryption</action>
1940 </actions>
1941 </action>
1942 </page>
1943
1944 <page name="backup_run">
1945 <template name="page"/>
1946
1947 <text style="text_l">
1948 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1949 <text>%tw_operation%</text>
1950 </text>
1951
1952 <text style="text_m">
1953 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1954 <text>%tw_partition% Partition</text>
1955 </text>
1956
1957 <template name="console"/>
1958
1959 <template name="progress_bar"/>
1960
1961 <text style="text_m_accent">
1962 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001963 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001964 </text>
1965
1966 <text style="text_m">
1967 <placement x="%progress_text_x%" y="%row17_y%"/>
1968 <text>%tw_file_progress%</text>
1969 </text>
1970
1971 <text style="text_m">
1972 <placement x="%progress_text_x%" y="%row18_y%"/>
1973 <text>%tw_size_progress%</text>
1974 </text>
1975
1976 <button style="main_button_half_width">
1977 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001978 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001979 <action function="cancelbackup"/>
1980 </button>
1981
1982 <action>
1983 <action function="nandroid">backup</action>
1984 </action>
1985
1986 <action>
1987 <condition var1="tw_operation_state" var2="1"/>
1988 <condition var1="tw_cancel_backup" var2="0"/>
1989 <actions>
1990 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001992 <action function="set">tw_show_reboot=1</action>
1993 <action function="page">action_complete</action>
1994 </actions>
1995 </action>
1996
1997 <action>
1998 <condition var1="tw_operation_state" var2="1"/>
1999 <condition var1="tw_cancel_backup" var2="1"/>
2000 <actions>
2001 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002003 <action function="set">tw_show_reboot=1</action>
2004 <action function="page">action_complete</action>
2005 </actions>
2006 </action>
2007 </page>
2008
2009 <page name="restore">
2010 <template name="page"/>
2011
2012 <text style="text_l">
2013 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <text style="text_m">
2018 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <template name="sort_options"/>
2023
2024 <fileselector>
2025 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002027 <filter folders="1" files="0" nav="0"/>
2028 <path name="tw_backups_folder"/>
2029 <data name="tw_restore" default=""/>
2030 <selection name="tw_restore_name"/>
2031 </fileselector>
2032
2033 <button style="main_button_half_width_low">
2034 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002035 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002036 <actions>
2037 <action function="set">tw_back=restore</action>
2038 <action function="overlay">select_storage</action>
2039 </actions>
2040 </button>
2041
2042 <action>
2043 <condition var1="tw_restore" op="modified"/>
2044 <actions>
2045 <action function="readBackup"/>
2046 <action function="page">restore_read</action>
2047 </actions>
2048 </action>
2049
2050 <action>
2051 <touch key="home"/>
2052 <action function="page">main</action>
2053 </action>
2054
2055 <action>
2056 <touch key="back"/>
2057 <action function="page">main</action>
2058 </action>
2059 </page>
2060
2061 <page name="restore_read">
2062 <action>
2063 <condition var1="tw_restore_encrypted" var2="1"/>
2064 <actions>
2065 <action function="set">tw_password_fail=0</action>
2066 <action function="page">restore_decrypt</action>
2067 </actions>
2068 </action>
2069
2070 <action>
2071 <condition var1="tw_restore_encrypted" var2="0"/>
2072 <actions>
2073 <action function="page">restore_select</action>
2074 </actions>
2075 </action>
2076 </page>
2077
2078 <page name="restore_decrypt">
2079 <template name="page"/>
2080
2081 <text style="text_l">
2082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m_accent">
2092 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <input>
2097 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2098 <text>%tw_restore_display%</text>
2099 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2100 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2101 <action function="page">try_restore_decrypt</action>
2102 </input>
2103
2104 <fill color="%accent_color%">
2105 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2106 </fill>
2107
2108 <fill color="%text_fail_color%">
2109 <condition var1="tw_password_fail" var2="1"/>
2110 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2111 </fill>
2112
2113 <text style="text_m_fail">
2114 <condition var1="tw_password_fail" var2="1"/>
2115 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002117 </text>
2118
2119 <button style="main_button_half_width_low">
2120 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002121 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002122 <actions>
2123 <action function="set">tw_page_done=1</action>
2124 <action function="page">restore</action>
2125 </actions>
2126 </button>
2127
2128 <button style="main_button_half_width_low">
2129 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002130 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002131 <actions>
2132 <action function="set">tw_back=restore</action>
2133 <action function="set">tw_action=cmd</action>
2134 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2136 <action function="set">tw_text2=%tw_restore_name%</action>
2137 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2138 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2139 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2140 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002141 <action function="page">confirm_action</action>
2142 </actions>
2143 </button>
2144
2145 <template name="keyboardtemplate"/>
2146
2147 <action>
2148 <touch key="home"/>
2149 <action function="page">main</action>
2150 </action>
2151
2152 <action>
2153 <touch key="back"/>
2154 <action function="page">restore</action>
2155 </action>
2156 </page>
2157
2158 <page name="try_restore_decrypt">
2159 <template name="page"/>
2160
2161 <text style="text_l">
2162 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002164 </text>
2165
2166 <text style="text_m">
2167 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002168 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002169 </text>
2170
2171 <template name="console"/>
2172
2173 <template name="progress_bar"/>
2174
2175 <action>
2176 <action function="decrypt_backup"/>
2177 </action>
2178
2179 <action>
2180 <conditions>
2181 <condition var1="tw_operation_state" var2="1"/>
2182 <condition var1="tw_operation_status" op="!=" var2="0"/>
2183 </conditions>
2184 <actions>
2185 <action function="set">tw_password_fail=1</action>
2186 <action function="page">restore_decrypt</action>
2187 </actions>
2188 </action>
2189
2190 <action>
2191 <conditions>
2192 <condition var1="tw_operation_state" var2="1"/>
2193 <condition var1="tw_operation_status" op="=" var2="0"/>
2194 </conditions>
2195 <actions>
2196 <action function="set">tw_page_done=1</action>
2197 <action function="page">restore_select</action>
2198 </actions>
2199 </action>
2200 </page>
2201
2202 <page name="restore_select">
2203 <template name="page"/>
2204
2205 <text style="text_l">
2206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002207 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002208 </text>
2209
2210 <text style="text_m">
2211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m_accent">
2216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <text style="text_m">
2221 <placement x="%col1_x_left%" y="%row3_y%"/>
2222 <text>%tw_restore_name%</text>
2223 </text>
2224
2225 <fill color="%fileselector_linecolor%">
2226 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2227 </fill>
2228
2229 <button>
2230 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2231 <fill color="%transparent%"/>
2232 <actions>
2233 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2234 <action function="set">tw_fileexists=0</action>
2235 <action function="page">renamebackup</action>
2236 </actions>
2237 </button>
2238
2239 <partitionlist>
2240 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2243 <listtype name="restore"/>
2244 </partitionlist>
2245
2246 <text style="text_m_accent">
2247 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002248 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002249 </text>
2250
2251 <checkbox>
2252 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002253 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 <data variable="tw_skip_md5_check"/>
2255 </checkbox>
2256
2257 <button style="main_button_half_width">
2258 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002259 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002260 <actions>
2261 <action function="set">tw_back=restore</action>
2262 <action function="set">tw_action=cmd</action>
2263 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2267 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2268 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2269 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <action function="page">confirm_action</action>
2271 </actions>
2272 </button>
2273
2274 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002275 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <action function="page">restore_run</action>
2277 </slider>
2278
2279 <action>
2280 <touch key="home"/>
2281 <action function="page">main</action>
2282 </action>
2283
2284 <action>
2285 <touch key="back"/>
2286 <action function="page">restore</action>
2287 </action>
2288 </page>
2289
2290 <page name="renamebackup">
2291 <template name="page"/>
2292
2293 <text style="text_l">
2294 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <text style="text_m">
2299 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m_accent">
2304 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <input>
2309 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2310 <text>%tw_backup_rename%</text>
2311 <data name="tw_backup_rename"/>
2312 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2313 <actions>
2314 <action function="set">tw_back=restore</action>
2315 <action function="set">tw_action=cmd</action>
2316 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2318 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2319 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2320 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2321 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2323 <action function="set">tw_existpage=renamebackup</action>
2324 <action function="set">tw_notexistpage=confirm_action</action>
2325 <action function="page">filecheck</action>
2326 </actions>
2327 </input>
2328
2329 <fill color="%accent_color%">
2330 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2331 </fill>
2332
2333 <fill color="%text_fail_color%">
2334 <condition var1="tw_fileexists" var2="1"/>
2335 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2336 </fill>
2337
2338 <text style="text_m_fail">
2339 <condition var1="tw_fileexists" var2="1"/>
2340 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002342 </text>
2343
2344 <button style="main_button_half_width_low">
2345 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 <action function="page">restore_select</action>
2348 </button>
2349
2350 <template name="keyboardtemplate"/>
2351
2352 <action>
2353 <touch key="home"/>
2354 <action function="page">main</action>
2355 </action>
2356
2357 <action>
2358 <touch key="back"/>
2359 <action function="page">restore_select</action>
2360 </action>
2361 </page>
2362
2363 <page name="restore_run">
2364 <template name="page"/>
2365
2366 <text style="text_l">
2367 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <text style="text_m">
2372 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2373 <text>%tw_operation% %tw_partition%</text>
2374 </text>
2375
2376 <template name="console"/>
2377
2378 <template name="progress_bar"/>
2379
2380 <text style="text_m_accent">
2381 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002383 </text>
2384
2385 <text style="text_m">
2386 <placement x="%progress_text_x%" y="%row18_y%"/>
2387 <text>%tw_size_progress%</text>
2388 </text>
2389
2390 <action>
2391 <condition var1="tw_operation_state" var2="1"/>
2392 <actions>
2393 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002394 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002395 <action function="set">tw_show_reboot=1</action>
2396 <action function="page">action_complete</action>
2397 </actions>
2398 </action>
2399
2400 <action>
2401 <action function="nandroid">restore</action>
2402 </action>
2403 </page>
2404
2405 <page name="mount">
2406 <template name="page"/>
2407
2408 <text style="text_l">
2409 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002410 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002411 </text>
2412
2413 <text style="text_m">
2414 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 </text>
2417
2418 <partitionlist>
2419 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 <listtype name="mount"/>
2422 </partitionlist>
2423
2424 <button style="checkbox">
2425 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2426 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <image resource="checkbox_false"/>
2429 <action function="mountsystemtoggle">1</action>
2430 </button>
2431
2432 <button style="checkbox">
2433 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2434 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 <image resource="checkbox_true"/>
2437 <actions>
2438 <action function="set">tw_lifetime_writes=2</action>
2439 <action function="page">system_readonly_check</action>
2440 </actions>
2441 </button>
2442
2443 <button style="main_button_half_width">
2444 <condition var1="tw_has_usb_storage" var2="1"/>
2445 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002446 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002447 <action function="page">usb_mount</action>
2448 </button>
2449
2450 <button style="main_button_half_width">
2451 <conditions>
2452 <condition var1="tw_is_encrypted" var2="1"/>
2453 <condition var1="tw_is_decrypted" var2="0"/>
2454 </conditions>
2455 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 <action function="page">decrypt</action>
2458 </button>
2459
2460 <button style="main_button_half_width">
2461 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 <actions>
2464 <action function="set">tw_back=mount</action>
2465 <action function="overlay">select_storage</action>
2466 </actions>
2467 </button>
2468
2469 <button style="main_button_half_width">
2470 <conditions>
2471 <condition var1="tw_has_mtp" var2="1"/>
2472 <condition var1="tw_mtp_enabled" var2="0"/>
2473 </conditions>
2474 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <action function="startmtp"/>
2477 </button>
2478
2479 <button style="main_button_half_width">
2480 <conditions>
2481 <condition var1="tw_has_mtp" var2="1"/>
2482 <condition var1="tw_mtp_enabled" var2="1"/>
2483 </conditions>
2484 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 <action function="stopmtp"/>
2487 </button>
2488
2489 <action>
2490 <touch key="home"/>
2491 <action function="page">main</action>
2492 </action>
2493
2494 <action>
2495 <touch key="back"/>
2496 <action function="page">main</action>
2497 </action>
2498 </page>
2499
2500 <page name="usb_mount">
2501 <template name="page"/>
2502
2503 <text style="text_l">
2504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002505 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002506 </text>
2507
2508 <text style="text_m">
2509 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002510 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 </text>
2512
2513 <text style="text_m_accent">
2514 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 </text>
2517
2518 <text style="text_m">
2519 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 </text>
2527
2528 <button style="main_button_half_width">
2529 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 <action function="page">usb_umount</action>
2532 </button>
2533
2534 <action>
2535 <action function="mount">usb</action>
2536 <action function="set">tw_busy=1</action>
2537 </action>
2538 </page>
2539
2540 <page name="usb_umount">
2541 <action>
2542 <action function="unmount">usb</action>
2543 </action>
2544
2545 <action>
2546 <action function="page">mount</action>
2547 <action function="set">tw_busy=0</action>
2548 </action>
2549 </page>
2550
2551 <page name="system_readonly_check">
2552 <action>
2553 <action function="checkpartitionlifetimewrites">/system</action>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_lifetime_writes" var2="1"/>
2558 <actions>
2559 <action function="mountsystemtoggle">0</action>
2560 <action function="page">mount</action>
2561 </actions>
2562 </action>
2563
2564 <action>
2565 <condition var1="tw_lifetime_writes" var2="0"/>
2566 <actions>
2567 <action function="set">tw_back=mount</action>
2568 <action function="page">system_readonly</action>
2569 </actions>
2570 </action>
2571 </page>
2572
2573 <page name="reboot">
2574 <template name="page"/>
2575
2576 <text style="text_l">
2577 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002578 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002579 </text>
2580
2581 <button style="main_button">
2582 <condition var1="tw_reboot_system" var2="1"/>
2583 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 <actions>
2586 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002587 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002588 </actions>
2589 </button>
2590
2591 <button style="main_button">
2592 <condition var1="tw_reboot_poweroff" var2="1"/>
2593 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <actions>
2596 <action function="set">tw_back=reboot</action>
2597 <action function="set">tw_action=reboot</action>
2598 <action function="set">tw_action_param=poweroff</action>
2599 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002600 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2601 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2602 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2603 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2604 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="page">rebootcheck</action>
2606 </actions>
2607 </button>
2608
2609 <button style="main_button">
2610 <condition var1="tw_reboot_recovery" var2="1"/>
2611 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002612 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002613 <actions>
2614 <action function="set">tw_back=reboot</action>
2615 <action function="set">tw_action=reboot</action>
2616 <action function="set">tw_action_param=recovery</action>
2617 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2619 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2620 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2621 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2622 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002623 <action function="page">rebootcheck</action>
2624 </actions>
2625 </button>
2626
2627 <button style="main_button">
2628 <condition var1="tw_reboot_bootloader" var2="1"/>
2629 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 <actions>
2632 <action function="set">tw_back=reboot</action>
2633 <action function="set">tw_action=reboot</action>
2634 <action function="set">tw_action_param=bootloader</action>
2635 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2637 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2638 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2639 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2640 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="page">rebootcheck</action>
2642 </actions>
2643 </button>
2644
2645 <button style="main_button">
2646 <condition var1="tw_download_mode" var2="1"/>
2647 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <actions>
2650 <action function="set">tw_back=reboot</action>
2651 <action function="set">tw_action=reboot</action>
2652 <action function="set">tw_action_param=download</action>
2653 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2655 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2656 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2657 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2658 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002659 <action function="page">rebootcheck</action>
2660 </actions>
2661 </button>
2662
2663 <action>
2664 <touch key="home"/>
2665 <action function="page">main</action>
2666 </action>
2667
2668 <action>
2669 <touch key="back"/>
2670 <action function="page">main</action>
2671 </action>
2672 </page>
2673
2674 <page name="system_readonly">
2675 <template name="page"/>
2676
2677 <text style="text_l">
2678 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002679 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002680 </text>
2681
2682 <text style="text_m_accent">
2683 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <text style="text_m">
2688 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002690 </text>
2691
2692 <text style="text_m">
2693 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002695 </text>
2696
2697 <text style="text_m_fail">
2698 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 </text>
2701
2702 <checkbox>
2703 <condition var1="tw_is_encrypted" var2="0"/>
2704 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_never_show_system_ro_page"/>
2707 </checkbox>
2708
2709 <button style="main_button_half_width">
2710 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 <actions>
2713 <action function="mountsystemtoggle">1</action>
2714 <action function="set">tw_page_done=1</action>
2715 <action function="page">%tw_back%</action>
2716 </actions>
2717 </button>
2718
z31s1g608d7ff2016-01-18 19:47:25 +01002719 <button style="main_button_half_width">
2720 <placement x="%col2_x_left%" y="%row15a_y%"/>
2721 <text>{@sel_lang_btn=Select Language}</text>
2722 <action function="overlay">select_language</action>
2723 </button>
2724
z31s1g28f0a922015-11-07 18:50:22 +01002725 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002727 <actions>
2728 <action function="mountsystemtoggle">0</action>
2729 <action function="set">tw_page_done=1</action>
2730 <action function="page">%tw_back%</action>
2731 </actions>
2732 </slider>
2733 </page>
2734
2735 <page name="settings">
2736 <template name="page"/>
2737
2738 <text style="text_l">
2739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 </text>
2742
2743 <text style="text_m">
2744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002745 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002746 </text>
2747
2748 <template name="tabs_settings"/>
2749
2750 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002752 </fill>
2753
2754 <listbox style="scrolllist">
2755 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2756 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002758 <data variable="tw_signed_zip_verify"/>
2759 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002760 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2761 <data variable="tw_install_reboot"/>
2762 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002764 <data variable="tw_rm_rf"/>
2765 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002766 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2767 <data variable="tw_disable_free_space"/>
2768 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002769 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002770 <data variable="tw_skip_md5_generate"/>
2771 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002772 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002773 <data variable="tw_skip_md5_check"/>
2774 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002776 <data variable="tw_military_time"/>
2777 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002778 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002779 <data variable="tw_simulate_actions"/>
2780 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002782 <condition var1="tw_simulate_actions" var2="1"/>
2783 <data variable="tw_simulate_fail"/>
2784 </listitem>
2785 </listbox>
2786
2787 <checkbox>
2788 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002790 <data variable="tw_samsung_navbar"/>
2791 </checkbox>
2792
2793 <button style="radiobutton">
2794 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2795 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 <image resource="radio_false"/>
2798 <action function="set">tw_navbar_button_position=0</action>
2799 </button>
2800
2801 <button style="radiobutton">
2802 <condition var1="tw_navbar_button_position" var2="0"/>
2803 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002804 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <image resource="radio_true"/>
2806 <action function="set">tw_navbar_button_position=0</action>
2807 </button>
2808
2809 <button style="radiobutton">
2810 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2811 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <image resource="radio_false"/>
2814 <action function="set">tw_navbar_button_position=1</action>
2815 </button>
2816
2817 <button style="radiobutton">
2818 <condition var1="tw_navbar_button_position" var2="1"/>
2819 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002821 <image resource="radio_true"/>
2822 <action function="set">tw_navbar_button_position=1</action>
2823 </button>
2824
2825 <button style="radiobutton">
2826 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2827 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 <image resource="radio_false"/>
2830 <action function="set">tw_navbar_button_position=2</action>
2831 </button>
2832
2833 <button style="radiobutton">
2834 <condition var1="tw_navbar_button_position" var2="2"/>
2835 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 <image resource="radio_true"/>
2838 <action function="set">tw_navbar_button_position=2</action>
2839 </button>
2840
2841 <button style="main_button_half_width">
2842 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="restoredefaultsettings"/>
2845 </button>
2846
2847 <action>
2848 <touch key="home"/>
2849 <action function="page">main</action>
2850 </action>
2851
2852 <action>
2853 <touch key="back"/>
2854 <action function="page">main</action>
2855 </action>
2856 </page>
2857
2858 <page name="settings_timezone">
2859 <template name="page"/>
2860
2861 <text style="text_l">
2862 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002864 </text>
2865
2866 <text style="text_m">
2867 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 </text>
2870
2871 <template name="tabs_settings"/>
2872
2873 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </fill>
2876
2877 <listbox>
2878 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2882 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2883 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2884 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2885 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2886 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2887 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2888 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2889 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2890 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2891 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2892 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2893 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2894 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2895 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2896 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2897 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2898 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2899 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2900 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2901 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2902 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2903 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2904 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listbox>
2906
2907 <text style="text_m_accent">
2908 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002909 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002910 </text>
2911
2912 <button style="button_quarter_width">
2913 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 <action function="set">tw_time_zone_guioffset=0</action>
2916 </button>
2917
2918 <button style="button_quarter_width">
2919 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <action function="set">tw_time_zone_guioffset=15</action>
2922 </button>
2923
2924 <button style="button_quarter_width">
2925 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002926 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002927 <action function="set">tw_time_zone_guioffset=30</action>
2928 </button>
2929
2930 <button style="button_quarter_width">
2931 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002933 <action function="set">tw_time_zone_guioffset=45</action>
2934 </button>
2935
2936 <checkbox>
2937 <placement x="%col1_x_right%" y="%row7_y%"/>
2938 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 <data variable="tw_time_zone_guidst"/>
2941 <image checked="checkbox_true" unchecked="checkbox_false"/>
2942 </checkbox>
2943
2944 <text color="%text_color%">
2945 <font resource="font_m"/>
2946 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 </text>
2949
2950 <button>
2951 <highlight color="%highlight_color%"/>
2952 <placement x="%col2_x_right%" y="%row15a_y%"/>
2953 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 <image resource="main_button_half_width"/>
2956 <action function="setguitimezone"/>
2957 </button>
2958
2959 <action>
2960 <touch key="home"/>
2961 <action function="page">main</action>
2962 </action>
2963
2964 <action>
2965 <touch key="back"/>
2966 <action function="page">main</action>
2967 </action>
2968 </page>
2969
2970 <page name="settings_screen">
2971 <template name="page"/>
2972
2973 <text style="text_l">
2974 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 </text>
2982
2983 <template name="tabs_settings"/>
2984
2985 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </fill>
2988
2989 <button>
2990 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2991 <font resource="font_m" color="%text_color%"/>
2992 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2993 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <image resource="checkbox_false"/>
2996 <action function="set">tw_screen_timeout_secs=60</action>
2997 </button>
2998
2999 <button>
3000 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3001 <font resource="font_m" color="%text_color%"/>
3002 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3003 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003004 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <image resource="checkbox_true"/>
3006 <action function="set">tw_screen_timeout_secs=0</action>
3007 </button>
3008
3009 <slidervalue>
3010 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3011 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3012 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3015 </slidervalue>
3016
3017 <slidervalue>
3018 <condition var1="tw_has_brightnesss_file" var2="1"/>
3019 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <data variable="tw_brightness_pct" min="10" max="100"/>
3022 <actions>
3023 <action function="set">tw_brightness=%tw_brightness_max%</action>
3024 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3025 <action function="compute">tw_brightness/100</action>
3026 <action function="setbrightness">%tw_brightness%</action>
3027 </actions>
3028 </slidervalue>
3029
3030 <action>
3031 <touch key="home"/>
3032 <action function="page">main</action>
3033 </action>
3034
3035 <action>
3036 <touch key="back"/>
3037 <action function="page">main</action>
3038 </action>
3039 </page>
3040
3041 <page name="settings_vibration">
3042 <template name="page"/>
3043
3044 <text style="text_l">
3045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m">
3050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <template name="tabs_settings"/>
3055
3056 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </fill>
3059
3060 <slidervalue>
3061 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <data variable="tw_button_vibrate" min="0" max="300"/>
3064 </slidervalue>
3065
3066 <slidervalue>
3067 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3070 </slidervalue>
3071
3072 <slidervalue>
3073 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <data variable="tw_action_vibrate" min="0" max="500"/>
3076 </slidervalue>
3077
3078 <action>
3079 <touch key="home"/>
3080 <action function="page">main</action>
3081 </action>
3082
3083 <action>
3084 <touch key="back"/>
3085 <action function="page">main</action>
3086 </action>
3087 </page>
3088
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <page name="settings_language">
3090 <template name="page"/>
3091
3092 <text style="text_l">
3093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3094 <text>{@settings_hdr=Settings}</text>
3095 </text>
3096
3097 <text style="text_m">
3098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3099 <text>{@language_hdr=Language - %tw_language_display%}</text>
3100 </text>
3101
3102 <template name="tabs_settings"/>
3103
3104 <fill color="%text_color%">
3105 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3106 </fill>
3107
3108 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003109 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@select_language=Select Language:}</text>
3111 <icon selected="radio_true" unselected="radio_false" />
3112 <data name="tw_language" />
3113 </listbox>
3114
z31s1g56189522016-01-13 19:12:40 +01003115 <button>
3116 <highlight color="%highlight_color%"/>
3117 <placement x="%col2_x_right%" y="%row15a_y%"/>
3118 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003120 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <action function="setlanguage"></action>
3122 </button>
3123
3124 <action>
3125 <touch key="home" />
3126 <action function="page">main</action>
3127 </action>
3128
3129 <action>
3130 <touch key="back" />
3131 <action function="page">settings</action>
3132 </action>
3133 </page>
3134
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003135 <page name="copylog">
3136 <template name="page"/>
3137
3138 <text style="text_l">
3139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3140 <text>{@copying_log=Copy Logs to SD Card}</text>
3141 </text>
3142
3143 <checkbox>
3144 <placement x="%indent%" y="%row4_y%"/>
3145 <text>{@include_kernel_log=Include Kernel Log}</text>
3146 <data variable="tw_include_kernel_log" value="1"/>
3147 </checkbox>
3148
3149 <slider>
3150 <text>{@copying_log=Copy Logs to SD Card}</text>
3151 <actions>
3152 <action function="set">tw_back=advanced</action>
3153 <action function="set">tw_action=copylog</action>
3154 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3155 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3156 <action function="page">action_page</action>
3157 </actions>
3158 </slider>
3159
3160 <action>
3161 <touch key="home"/>
3162 <action function="page">main</action>
3163 </action>
3164
3165 <action>
3166 <touch key="back"/>
3167 <actions>
3168 <action function="page">advanced</action>
3169 </actions>
3170 </action>
3171
3172 </page>
3173
z31s1g28f0a922015-11-07 18:50:22 +01003174 <page name="advanced">
3175 <template name="page"/>
3176
3177 <text style="text_l">
3178 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </text>
3181
3182 <button style="main_button">
3183 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003184 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003185 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003186 </button>
3187
3188 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003189 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003191 <text>{@fix_context_btn=Fix Contexts}</text>
3192 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003193 </button>
3194
3195 <button style="main_button">
3196 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3197 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003199 <actions>
3200 <action function="set">partitionlisterror=0</action>
3201 <action function="page">partsdcardsel</action>
3202 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003203 </button>
3204
3205 <button style="main_button">
3206 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <action function="page">filemanagerlist</action>
3209 </button>
3210
3211 <button style="main_button">
3212 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003213 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003214 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </button>
3216
3217 <button style="main_button">
3218 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <action function="reload"/>
3221 </button>
3222
3223 <button style="main_button">
3224 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 <action function="page">sideload</action>
3227 </button>
3228
3229 <button style="main_button">
3230 <condition var1="tw_show_dumlock" var2="1"/>
3231 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003233 <action function="page">htcdumlock</action>
3234 </button>
3235
3236 <button style="main_button">
3237 <condition var1="tw_has_injecttwrp" var2="1"/>
3238 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <actions>
3241 <action function="set">tw_back=advanced</action>
3242 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3244 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3245 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3246 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003247 <action function="page">confirm_action</action>
3248 </actions>
3249 </button>
3250
3251 <action>
3252 <touch key="home"/>
3253 <action function="page">main</action>
3254 </action>
3255
3256 <action>
3257 <touch key="back"/>
3258 <action function="page">main</action>
3259 </action>
3260 </page>
3261
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <page name="partsdcardsel">
3263 <template name="page"/>
3264
3265 <text style="text_l">
3266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3267 <text>{@advanced_hdr=Advanced}</text>
3268 </text>
3269
3270 <text style="text_m">
3271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3272 <text>{@part_sd_hdr=Partition SD Card}</text>
3273 </text>
3274
z31s1g782e1c92016-01-30 16:50:09 +01003275 <partitionlist>
3276 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003277 <text>{@sel_storage_list=Select Storage}</text>
3278 <data name="tw_storage_path"/>
3279 <listtype name="storage"/>
3280 </partitionlist>
3281
z31s1g782e1c92016-01-30 16:50:09 +01003282 <text style="text_m_fail">
3283 <condition var1="partitionlisterror" var2="1"/>
3284 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3285 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3286 </text>
3287
3288 <button style="main_button_half_width">
3289 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003290 <text>{@ok_btn=OK}</text>
3291 <actions>
3292 <action function="getpartitiondetails">tw_storage_path</action>
3293 <action function="page">partsdcardcheck</action>
3294 </actions>
3295 </button>
3296
Ethan Yonker483e9f42016-01-11 22:21:18 -06003297 <action>
3298 <touch key="home"/>
3299 <action function="page">main</action>
3300 </action>
3301
3302 <action>
3303 <touch key="back"/>
3304 <action function="page">advanced</action>
3305 </action>
3306 </page>
3307
3308 <page name="partsdcardcheck">
3309 <action>
3310 <condition var1="tw_partition_removable" op="=" var2="1"/>
3311 <actions>
3312 <action function="set">partitionlisterror=0</action>
3313 <action function="page">partsdcard</action>
3314 </actions>
3315 </action>
3316
3317 <action>
3318 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3319 <actions>
3320 <action function="set">partitionlisterror=1</action>
3321 <action function="page">partsdcardsel</action>
3322 </actions>
3323 </action>
3324 </page>
3325
z31s1g28f0a922015-11-07 18:50:22 +01003326 <page name="partsdcard">
3327 <template name="page"/>
3328
3329 <text style="text_l">
3330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </text>
3338
3339 <text style="text_m_fail">
3340 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 </text>
3343
3344 <text style="text_m_fail">
3345 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </text>
3348
3349 <text style="text_m_accent">
3350 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </text>
3353
3354 <text style="text_m">
3355 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3356 <text>%tw_sdext_size%</text>
3357 </text>
3358
3359 <button style="button_quarter_width">
3360 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003362 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 </button>
3364
3365 <button style="button_quarter_width">
3366 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003368 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 </button>
3370
3371 <text style="text_m_accent">
3372 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003374 </text>
3375
3376 <text style="text_m">
3377 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3378 <text>%tw_swap_size%</text>
3379 </text>
3380
3381 <button style="button_quarter_width">
3382 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003384 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 </button>
3386
3387 <button style="button_quarter_width">
3388 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003390 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003391 </button>
3392
3393 <text style="text_m_accent">
3394 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 </text>
3397
3398 <text style="text_m">
3399 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3400 <text>%tw_sdpart_file_system%</text>
3401 </text>
3402
3403 <button style="button_quarter_width">
3404 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3405 <text>EXT3</text>
3406 <action function="set">tw_sdpart_file_system=ext3</action>
3407 </button>
3408
3409 <button style="button_quarter_width">
3410 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3411 <text>EXT4</text>
3412 <action function="set">tw_sdpart_file_system=ext4</action>
3413 </button>
3414
3415 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 <action function="page">partsdcardaction</action>
3418 <actions>
3419 <action function="set">tw_back=partsdcard</action>
3420 <action function="set">tw_action=partitionsd</action>
3421 <action function="set">tw_has_action2=1</action>
3422 <action function="set">tw_action2=set</action>
3423 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3425 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3426 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003427 <action function="page">action_page</action>
3428 </actions>
3429 </slider>
3430
3431 <action>
3432 <touch key="home"/>
3433 <action function="page">main</action>
3434 </action>
3435
3436 <action>
3437 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003438 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </action>
3440 </page>
3441
3442 <page name="htcdumlock">
3443 <template name="page"/>
3444
3445 <text style="text_l">
3446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <text style="text_m">
3451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <button style="main_button_m">
3456 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 <actions>
3459 <action function="set">tw_back=htcdumlock</action>
3460 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3462 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3463 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3464 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003465 <action function="page">confirm_action</action>
3466 </actions>
3467 </button>
3468
3469 <button style="main_button_m">
3470 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003472 <actions>
3473 <action function="set">tw_back=htcdumlock</action>
3474 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3476 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3477 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3478 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003479 <action function="page">confirm_action</action>
3480 </actions>
3481 </button>
3482
3483 <button style="main_button_m">
3484 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 <actions>
3487 <action function="set">tw_back=htcdumlock</action>
3488 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3490 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3491 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3492 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <action function="page">confirm_action</action>
3494 </actions>
3495 </button>
3496
3497 <action>
3498 <touch key="home"/>
3499 <action function="page">main</action>
3500 </action>
3501
3502 <action>
3503 <touch key="back"/>
3504 <action function="page">advanced</action>
3505 </action>
3506 </page>
3507
3508 <page name="lock">
3509 <background color="%semi_transparent%"/>
3510
3511 <image>
3512 <image resource="unlock_icon"/>
3513 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3514 </image>
3515
3516 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <action function="overlay"/>
3519 </slider>
3520 </page>
3521
3522 <page name="filemanagerlist">
3523 <template name="page"/>
3524
3525 <text style="text_l">
3526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003528 </text>
3529
3530 <text style="text_m">
3531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003533 </text>
3534
3535 <template name="sort_options"/>
3536
3537 <fileselector>
3538 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3539 <text>%tw_file_location1%</text>
3540 <filter folders="1" files="1"/>
3541 <path name="tw_file_location1" default="/"/>
3542 <data name="tw_filename1"/>
3543 <selection name="tw_selection1"/>
3544 </fileselector>
3545
3546 <button style="main_button_half_width_low">
3547 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <actions>
3550 <action function="set">tw_filename1=tw_file_location1</action>
3551 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003553 <action function="page">filemanageroptions</action>
3554 </actions>
3555 </button>
3556
3557 <action>
3558 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003560 <action function="set">tw_fm_isfolder=0</action>
3561 </actions>
3562 </action>
3563
3564 <action>
3565 <touch key="home"/>
3566 <action function="page">main</action>
3567 </action>
3568
3569 <action>
3570 <touch key="back"/>
3571 <action function="page">advanced</action>
3572 </action>
3573
3574 <action>
3575 <condition var1="tw_filename1" op="modified"/>
3576 <action function="page">filemanageroptions</action>
3577 </action>
3578 </page>
3579
3580 <page name="filemanageroptions">
3581 <template name="page"/>
3582
3583 <text style="text_l">
3584 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 </text>
3587
3588 <text style="text_m">
3589 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </text>
3592
3593 <text style="text_m_accent">
3594 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </text>
3597
3598 <text style="text_m">
3599 <placement x="%col1_x_left%" y="%row3_y%"/>
3600 <text>%tw_filename1%</text>
3601 </text>
3602
3603 <button style="main_button_half_width">
3604 <condition var1="tw_fm_isfolder" var2="0"/>
3605 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <actions>
3608 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <action function="page">choosedestinationfolder</action>
3611 </actions>
3612 </button>
3613
3614 <button style="main_button_half_width">
3615 <condition var1="tw_fm_isfolder" var2="1"/>
3616 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <actions>
3619 <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 -05003620 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <action function="page">choosedestinationfolder</action>
3622 </actions>
3623 </button>
3624
3625 <button style="main_button_half_width">
3626 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <action function="page">choosedestinationfolder</action>
3632 </actions>
3633 </button>
3634
3635 <button style="main_button_half_width">
3636 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 <actions>
3639 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003641 <action function="set">tw_fm_text2=</action>
3642 <action function="set">tw_fm_text3=</action>
3643 <action function="set">tw_include_text3=0</action>
3644 <action function="set">tw_back=filemanageroptions</action>
3645 <action function="page">filemanagerconfirm</action>
3646 </actions>
3647 </button>
3648
3649 <button style="main_button_half_width">
3650 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <actions>
3653 <action function="set">tw_filemanager_rename=0000</action>
3654 <action function="set">tw_fm_text2=</action>
3655 <action function="set">tw_fm_text3=</action>
3656 <action function="set">tw_include_text3=0</action>
3657 <action function="set">tw_back=filemanageroptions</action>
3658 <action function="page">filemanagerchmod</action>
3659 </actions>
3660 </button>
3661
3662 <button style="main_button_half_width">
3663 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <actions>
3666 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003668 <action function="set">tw_fm_text2=</action>
3669 <action function="set">tw_fm_text3=</action>
3670 <action function="set">tw_include_text3=0</action>
3671 <action function="set">tw_back=filemanageroptions</action>
3672 <action function="page">filemanagerconfirm</action>
3673 </actions>
3674 </button>
3675
3676 <button style="main_button_half_width">
3677 <condition var1="tw_fm_isfolder" var2="0"/>
3678 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003679 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003680 <actions>
3681 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003682 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003683 <action function="set">tw_filemanager_command=mv</action>
3684 <action function="page">filemanagerrenamefile</action>
3685 </actions>
3686 </button>
3687
3688 <button style="main_button_half_width">
3689 <condition var1="tw_fm_isfolder" var2="1"/>
3690 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003692 <actions>
3693 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003694 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003695 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3696 <action function="page">filemanagerrenamefolder</action>
3697 </actions>
3698 </button>
3699
3700 <action>
3701 <touch key="home"/>
3702 <action function="page">main</action>
3703 </action>
3704
3705 <action>
3706 <touch key="back"/>
3707 <action function="page">filemanagerlist</action>
3708 </action>
3709 </page>
3710
3711 <page name="choosedestinationfolder">
3712 <template name="page"/>
3713
3714 <text style="text_l">
3715 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003717 </text>
3718
3719 <text style="text_m">
3720 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003722 </text>
3723
3724 <template name="sort_options"/>
3725
3726 <fileselector>
3727 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3728 <text>%tw_file_location2%</text>
3729 <filter folders="1" files="0"/>
3730 <path name="tw_file_location2" default="/"/>
3731 <data name="tw_filename2"/>
3732 <selection name="tw_selection2"/>
3733 </fileselector>
3734
3735 <button style="main_button_half_width_low">
3736 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 <actions>
3739 <action function="set">tw_fm_text2=to</action>
3740 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3741 <action function="set">tw_include_text3=1</action>
3742 <action function="set">tw_back=filemanageroptions</action>
3743 <action function="page">filemanagerconfirm</action>
3744 </actions>
3745 </button>
3746
3747 <action>
3748 <touch key="home"/>
3749 <action function="page">main</action>
3750 </action>
3751
3752 <action>
3753 <touch key="back"/>
3754 <action function="page">filemanageroptions</action>
3755 </action>
3756 </page>
3757
3758 <page name="filemanagerrenamefile">
3759 <template name="page"/>
3760
3761 <text style="text_l">
3762 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003763 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003764 </text>
3765
3766 <text style="text_m">
3767 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </text>
3770
3771 <text style="text_m_accent">
3772 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 </text>
3775
3776 <input>
3777 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3778 <text>%tw_filemanager_rename%</text>
3779 <data name="tw_filemanager_rename"/>
3780 <restrict minlen="1" maxlen="128"/>
3781 <actions>
3782 <action function="set">tw_fm_text2=to</action>
3783 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3784 <action function="set">tw_include_text3=1</action>
3785 <action function="set">tw_back=filemanageroptions</action>
3786 <action function="page">filemanagerconfirm</action>
3787 </actions>
3788 </input>
3789
3790 <fill color="%accent_color%">
3791 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3792 </fill>
3793
3794 <button style="main_button_half_width_low">
3795 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003796 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003797 <action function="page">filemanageroptions</action>
3798 </button>
3799
3800 <template name="keyboardtemplate"/>
3801
3802 <action>
3803 <touch key="home"/>
3804 <action function="page">main</action>
3805 </action>
3806
3807 <action>
3808 <touch key="back"/>
3809 <action function="page">filemanageroptions</action>
3810 </action>
3811 </page>
3812
3813 <page name="filemanagerrenamefolder">
3814 <template name="page"/>
3815
3816 <text style="text_l">
3817 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003818 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003819 </text>
3820
3821 <text style="text_m">
3822 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003823 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003824 </text>
3825
3826 <text style="text_m_accent">
3827 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003829 </text>
3830
3831 <input>
3832 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3833 <text>%tw_filemanager_rename%</text>
3834 <data name="tw_filemanager_rename"/>
3835 <restrict minlen="1" maxlen="128"/>
3836 <actions>
3837 <action function="set">tw_fm_text2=to</action>
3838 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3839 <action function="set">tw_include_text3=1</action>
3840 <action function="set">tw_back=filemanageroptions</action>
3841 <action function="page">filemanagerconfirm</action>
3842 </actions>
3843 </input>
3844
3845 <fill color="%accent_color%">
3846 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3847 </fill>
3848
3849 <button style="main_button_half_width_low">
3850 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 <action function="page">filemanageroptions</action>
3853 </button>
3854
3855 <template name="keyboardtemplate"/>
3856
3857 <action>
3858 <touch key="home"/>
3859 <action function="page">main</action>
3860 </action>
3861
3862 <action>
3863 <touch key="back"/>
3864 <action function="page">filemanageroptions</action>
3865 </action>
3866 </page>
3867
3868 <page name="filemanagerchmod">
3869 <template name="page"/>
3870
3871 <text style="text_l">
3872 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 </text>
3875
3876 <text style="text_m">
3877 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 </text>
3880
3881 <text style="text_m_accent">
3882 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 </text>
3885
3886 <input>
3887 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3888 <text>%tw_filemanager_rename%</text>
3889 <data name="tw_filemanager_rename"/>
3890 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3891 <actions>
3892 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3893 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3894 <action function="set">tw_back=filemanageroptions</action>
3895 <action function="page">filemanagerconfirm</action>
3896 </actions>
3897 </input>
3898
3899 <fill color="%accent_color%">
3900 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3901 </fill>
3902
3903 <button style="main_button_half_width_low">
3904 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="page">filemanageroptions</action>
3907 </button>
3908
3909 <template name="keyboardtemplate"/>
3910
3911 <action>
3912 <touch key="home"/>
3913 <action function="page">main</action>
3914 </action>
3915
3916 <action>
3917 <touch key="back"/>
3918 <action function="page">filemanageroptions</action>
3919 </action>
3920 </page>
3921
3922 <page name="filemanagerconfirm">
3923 <template name="page"/>
3924
3925 <text style="text_l">
3926 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003932 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003933 </text>
3934
3935 <text style="text_m_accent">
3936 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3937 <text>%tw_fm_text1%</text>
3938 </text>
3939
3940 <text style="text_m">
3941 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3942 <text>%tw_filename1%</text>
3943 </text>
3944
3945 <text style="text_m_accent">
3946 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3947 <text>%tw_fm_text2%</text>
3948 </text>
3949
3950 <text style="text_m">
3951 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3952 <text>%tw_fm_text3%</text>
3953 </text>
3954
3955 <text style="text_m">
3956 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 </text>
3959
3960 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 <action function="page">filemanageraction</action>
3963 </slider>
3964
3965 <action>
3966 <touch key="back"/>
3967 <action function="page">%tw_back%</action>
3968 </action>
3969
3970 <action>
3971 <touch key="home"/>
3972 <action function="page">main</action>
3973 </action>
3974 </page>
3975
3976 <page name="filemanageraction">
3977 <template name="page"/>
3978
3979 <text style="text_l">
3980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m">
3985 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3986 <text>%tw_fm_text1%</text>
3987 </text>
3988
3989 <template name="console"/>
3990
3991 <template name="progress_bar"/>
3992
3993 <action>
3994 <conditions>
3995 <condition var1="tw_operation_state" var2="1"/>
3996 <condition var1="tw_operation_status" var2="0"/>
3997 </conditions>
3998 <actions>
3999 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004001 <action function="page">action_complete</action>
4002 </actions>
4003 </action>
4004
4005 <action>
4006 <conditions>
4007 <condition var1="tw_operation_state" var2="1"/>
4008 <condition var1="tw_operation_status" op="!=" var2="0"/>
4009 </conditions>
4010 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004012 <action function="page">action_complete</action>
4013 </actions>
4014 </action>
4015
4016 <action>
4017 <condition var1="tw_include_text3" var2="0"/>
4018 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4019 </action>
4020
4021 <action>
4022 <condition var1="tw_include_text3" var2="1"/>
4023 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4024 </action>
4025 </page>
4026
4027 <page name="decrypt">
4028 <template name="page"/>
4029
4030 <action>
4031 <condition var1="tw_crypto_pwtype" var2="2"/>
4032 <action function="page">decrypt_pattern</action>
4033 </action>
4034
4035 <text style="text_l">
4036 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 </text>
4039
4040 <text style="text_m">
4041 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004042 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004043 </text>
4044
4045 <text style="text_m_accent">
4046 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </text>
4049
4050 <input>
4051 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4052 <text>%tw_crypto_display%</text>
4053 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4054 <restrict minlen="1" maxlen="254"/>
4055 <action function="page">trydecrypt</action>
4056 </input>
4057
4058 <fill color="%accent_color%">
4059 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4060 </fill>
4061
4062 <fill color="%text_fail_color%">
4063 <condition var1="tw_password_fail" var2="1"/>
4064 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4065 </fill>
4066
4067 <text style="text_m_fail">
4068 <condition var1="tw_password_fail" var2="1"/>
4069 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004070 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004071 </text>
4072
4073 <button style="main_button_half_width_low">
4074 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 <actions>
4077 <action function="set">tw_page_done=1</action>
4078 <action function="page">main</action>
4079 </actions>
4080 </button>
4081
z31s1g608d7ff2016-01-18 19:47:25 +01004082 <button style="main_button_half_width_low">
4083 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4084 <text>{@sel_lang_btn=Select Language}</text>
4085 <action function="overlay">select_language</action>
4086 </button>
4087
z31s1g28f0a922015-11-07 18:50:22 +01004088 <template name="keyboardtemplate"/>
4089 </page>
4090
4091 <page name="decrypt_pattern">
4092 <template name="page"/>
4093
4094 <text style="text_l">
4095 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <text style="text_m">
4100 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004105 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 </text>
4108
Aleksa Saraib25a1832015-12-31 17:36:00 +01004109 <text style="text_m_fail">
4110 <condition var1="tw_password_fail" var2="1"/>
4111 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004112 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004113 </text>
4114
z31s1g28f0a922015-11-07 18:50:22 +01004115 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004116 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004117 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4118 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4119 <data name="tw_crypto_password"/>
4120 <action function="page">trydecrypt</action>
4121 </patternpassword>
4122
Aleksa Saraib25a1832015-12-31 17:36:00 +01004123 <button style="main_button_half_width_low">
4124 <placement x="%col_button_right%" y="%row1a_y%"/>
4125 <text>3x3</text>
4126 <action function="set">tw_gui_pattern_grid_size=3</action>
4127 </button>
4128
4129 <button style="main_button_half_width_low">
4130 <placement x="%col_button_right%" y="%row4a_y%"/>
4131 <text>4x4</text>
4132 <action function="set">tw_gui_pattern_grid_size=4</action>
4133 </button>
4134
4135 <button style="main_button_half_width_low">
4136 <placement x="%col_button_right%" y="%row7a_y%"/>
4137 <text>5x5</text>
4138 <action function="set">tw_gui_pattern_grid_size=5</action>
4139 </button>
4140
4141 <button style="main_button_half_width_low">
4142 <placement x="%col_button_right%" y="%row10a_y%"/>
4143 <text>6x6</text>
4144 <action function="set">tw_gui_pattern_grid_size=6</action>
4145 </button>
4146
z31s1g28f0a922015-11-07 18:50:22 +01004147 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004148 <placement x="%col1_x_right%" y="%row15a_y%"/>
4149 <text>{@sel_lang_btn=Select Language}</text>
4150 <action function="overlay">select_language</action>
4151 </button>
4152
4153 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004154 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 <actions>
4157 <action function="set">tw_page_done=1</action>
4158 <action function="page">main</action>
4159 </actions>
4160 </button>
4161 </page>
4162
4163 <page name="trydecrypt">
4164 <template name="page"/>
4165
4166 <text style="text_l">
4167 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004168 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004169 </text>
4170
4171 <text style="text_m">
4172 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
4176 <template name="console"/>
4177
4178 <template name="progress_bar"/>
4179
4180 <action>
4181 <action function="decrypt"/>
4182 </action>
4183
4184 <action>
4185 <conditions>
4186 <condition var1="tw_operation_state" var2="1"/>
4187 <condition var1="tw_operation_status" op="!=" var2="0"/>
4188 </conditions>
4189 <actions>
4190 <action function="set">tw_password_fail=1</action>
4191 <action function="page">decrypt</action>
4192 </actions>
4193 </action>
4194
4195 <action>
4196 <conditions>
4197 <condition var1="tw_operation_state" var2="1"/>
4198 <condition var1="tw_operation_status" op="=" var2="0"/>
4199 </conditions>
4200 <actions>
4201 <action function="set">tw_page_done=1</action>
4202 <action function="page">main</action>
4203 </actions>
4204 </action>
4205 </page>
4206
z31s1g28f0a922015-11-07 18:50:22 +01004207 <page name="terminalcommand">
4208 <template name="page"/>
4209
4210 <fill color="%background_color%">
4211 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4212 </fill>
4213
z31s1g56189522016-01-13 19:12:40 +01004214 <terminal>
4215 <condition var1="tw_hide_kb" var2="0"/>
4216 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4217 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004218
z31s1g56189522016-01-13 19:12:40 +01004219 <terminal>
4220 <condition var1="tw_hide_kb" var2="1"/>
4221 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4222 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004223
z31s1g56189522016-01-13 19:12:40 +01004224 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004225
z31s1g56189522016-01-13 19:12:40 +01004226 <object type="fill" color="#000000">
4227 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4228 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004229
z31s1g608d7ff2016-01-18 19:47:25 +01004230 <button>
z31s1g56189522016-01-13 19:12:40 +01004231 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4232 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4233 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4234 <image resource="back" />
4235 <condition var1="tw_busy" var2="0" />
4236 <actions>
4237 <action function="set">tw_hide_kb=0</action>
4238 <action function="page">advanced</action>
4239 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004240 </button>
z31s1g56189522016-01-13 19:12:40 +01004241
z31s1g608d7ff2016-01-18 19:47:25 +01004242 <button>
z31s1g56189522016-01-13 19:12:40 +01004243 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4244 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4245 <condition var1="tw_hide_kb" op="=" var2="0" />
4246 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4247 <image resource="kb_hide" />
4248 <condition var1="tw_busy" var2="0" />
4249 <actions>
4250 <action function="set">tw_hide_kb=1</action>
4251 <action function="page">terminalcommand</action>
4252 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004253 </button>
z31s1g56189522016-01-13 19:12:40 +01004254
z31s1g608d7ff2016-01-18 19:47:25 +01004255 <button>
z31s1g56189522016-01-13 19:12:40 +01004256 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4257 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4258 <condition var1="tw_hide_kb" op="=" var2="1" />
4259 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4260 <image resource="kb_show" />
4261 <condition var1="tw_busy" var2="0" />
4262 <actions>
4263 <action function="set">tw_hide_kb=0</action>
4264 <action function="page">terminalcommand</action>
4265 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004266 </button>
z31s1g56189522016-01-13 19:12:40 +01004267
z31s1g608d7ff2016-01-18 19:47:25 +01004268 <button>
z31s1g56189522016-01-13 19:12:40 +01004269 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4270 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4271 <image resource="home" />
4272 <condition var1="tw_busy" var2="0" />
4273 <actions>
4274 <action function="set">tw_hide_kb=0</action>
4275 <action function="key">home</action>
4276 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004277 </button>
z31s1g56189522016-01-13 19:12:40 +01004278
z31s1g608d7ff2016-01-18 19:47:25 +01004279 <button>
z31s1g56189522016-01-13 19:12:40 +01004280 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4281 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4282 <condition var1="tw_hide_kb" op="=" var2="0" />
4283 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4284 <image resource="kb_hide" />
4285 <condition var1="tw_busy" var2="0" />
4286 <actions>
4287 <action function="set">tw_hide_kb=1</action>
4288 <action function="page">terminalcommand</action>
4289 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004290 </button>
z31s1g56189522016-01-13 19:12:40 +01004291
z31s1g608d7ff2016-01-18 19:47:25 +01004292 <button>
z31s1g56189522016-01-13 19:12:40 +01004293 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4294 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4295 <condition var1="tw_hide_kb" op="=" var2="1" />
4296 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4297 <image resource="kb_show" />
4298 <condition var1="tw_busy" var2="0" />
4299 <actions>
4300 <action function="set">tw_hide_kb=0</action>
4301 <action function="page">terminalcommand</action>
4302 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004303 </button>
z31s1g56189522016-01-13 19:12:40 +01004304
z31s1g608d7ff2016-01-18 19:47:25 +01004305 <button>
z31s1g56189522016-01-13 19:12:40 +01004306 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4307 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4308 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4309 <image resource="back" />
4310 <condition var1="tw_busy" var2="0" />
4311 <actions>
4312 <action function="set">tw_hide_kb=0</action>
4313 <action function="page">advanced</action>
4314 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004315 </button>
z31s1g56189522016-01-13 19:12:40 +01004316
z31s1g608d7ff2016-01-18 19:47:25 +01004317 <button>
z31s1g56189522016-01-13 19:12:40 +01004318 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4319 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4320 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4321 <image resource="back" />
4322 <condition var1="tw_busy" var2="0" />
4323 <actions>
4324 <action function="set">tw_hide_kb=0</action>
4325 <action function="page">advanced</action>
4326 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004327 </button>
z31s1g56189522016-01-13 19:12:40 +01004328
z31s1g608d7ff2016-01-18 19:47:25 +01004329 <button>
z31s1g56189522016-01-13 19:12:40 +01004330 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4331 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4332 <condition var1="tw_hide_kb" op="=" var2="0" />
4333 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4334 <image resource="kb_hide" />
4335 <condition var1="tw_busy" var2="0" />
4336 <actions>
4337 <action function="set">tw_hide_kb=1</action>
4338 <action function="page">terminalcommand</action>
4339 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004340 </button>
z31s1g56189522016-01-13 19:12:40 +01004341
z31s1g608d7ff2016-01-18 19:47:25 +01004342 <button>
z31s1g56189522016-01-13 19:12:40 +01004343 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4344 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4345 <condition var1="tw_hide_kb" op="=" var2="1" />
4346 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4347 <image resource="kb_show" />
4348 <condition var1="tw_busy" var2="0" />
4349 <actions>
4350 <action function="set">tw_hide_kb=0</action>
4351 <action function="page">terminalcommand</action>
4352 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004353 </button>
z31s1g56189522016-01-13 19:12:40 +01004354
z31s1g608d7ff2016-01-18 19:47:25 +01004355 <button>
z31s1g56189522016-01-13 19:12:40 +01004356 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4357 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4358 <image resource="home" />
4359 <condition var1="tw_busy" var2="0" />
4360 <actions>
4361 <action function="set">tw_hide_kb=0</action>
4362 <action function="key">home</action>
4363 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004364 </button>
z31s1g56189522016-01-13 19:12:40 +01004365
z31s1g608d7ff2016-01-18 19:47:25 +01004366 <button>
z31s1g56189522016-01-13 19:12:40 +01004367 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4368 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4369 <condition var1="tw_hide_kb" op="=" var2="0" />
4370 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4371 <image resource="kb_hide" />
4372 <condition var1="tw_busy" var2="0" />
4373 <actions>
4374 <action function="set">tw_hide_kb=1</action>
4375 <action function="page">terminalcommand</action>
4376 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004377 </button>
z31s1g56189522016-01-13 19:12:40 +01004378
z31s1g608d7ff2016-01-18 19:47:25 +01004379 <button>
z31s1g56189522016-01-13 19:12:40 +01004380 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4381 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4382 <condition var1="tw_hide_kb" op="=" var2="1" />
4383 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4384 <image resource="kb_show" />
4385 <condition var1="tw_busy" var2="0" />
4386 <actions>
4387 <action function="set">tw_hide_kb=0</action>
4388 <action function="page">terminalcommand</action>
4389 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004390 </button>
z31s1g56189522016-01-13 19:12:40 +01004391
z31s1g608d7ff2016-01-18 19:47:25 +01004392 <button>
z31s1g56189522016-01-13 19:12:40 +01004393 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4394 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4395 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4396 <image resource="back" />
4397 <condition var1="tw_busy" var2="0" />
4398 <actions>
4399 <action function="set">tw_hide_kb=0</action>
4400 <action function="page">advanced</action>
4401 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004402 </button>
z31s1g56189522016-01-13 19:12:40 +01004403
z31s1g608d7ff2016-01-18 19:47:25 +01004404 <button>
z31s1g56189522016-01-13 19:12:40 +01004405 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4406 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4407 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4408 <image resource="back" />
4409 <condition var1="tw_busy" var2="0" />
4410 <actions>
4411 <action function="set">tw_hide_kb=0</action>
4412 <action function="page">advanced</action>
4413 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004414 </button>
z31s1g56189522016-01-13 19:12:40 +01004415
z31s1g608d7ff2016-01-18 19:47:25 +01004416 <button>
z31s1g56189522016-01-13 19:12:40 +01004417 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4418 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4419 <condition var1="tw_hide_kb" op="=" var2="0" />
4420 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4421 <image resource="kb_hide" />
4422 <condition var1="tw_busy" var2="0" />
4423 <actions>
4424 <action function="set">tw_hide_kb=1</action>
4425 <action function="page">terminalcommand</action>
4426 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004427 </button>
z31s1g56189522016-01-13 19:12:40 +01004428
z31s1g608d7ff2016-01-18 19:47:25 +01004429 <button>
z31s1g56189522016-01-13 19:12:40 +01004430 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4431 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4432 <condition var1="tw_hide_kb" op="=" var2="1" />
4433 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4434 <image resource="kb_show" />
4435 <condition var1="tw_busy" var2="0" />
4436 <actions>
4437 <action function="set">tw_hide_kb=0</action>
4438 <action function="page">terminalcommand</action>
4439 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004440 </button>
z31s1g56189522016-01-13 19:12:40 +01004441
z31s1g608d7ff2016-01-18 19:47:25 +01004442 <button>
z31s1g56189522016-01-13 19:12:40 +01004443 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4444 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4445 <image resource="home" />
4446 <condition var1="tw_busy" var2="0" />
4447 <actions>
4448 <action function="set">tw_hide_kb=0</action>
4449 <action function="key">home</action>
4450 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004451 </button>
z31s1g56189522016-01-13 19:12:40 +01004452
z31s1g608d7ff2016-01-18 19:47:25 +01004453 <button>
z31s1g56189522016-01-13 19:12:40 +01004454 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4455 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4456 <condition var1="tw_hide_kb" op="=" var2="0" />
4457 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4458 <image resource="kb_hide" />
4459 <condition var1="tw_busy" var2="0" />
4460 <actions>
4461 <action function="set">tw_hide_kb=1</action>
4462 <action function="page">terminalcommand</action>
4463 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004464 </button>
z31s1g56189522016-01-13 19:12:40 +01004465
z31s1g608d7ff2016-01-18 19:47:25 +01004466 <button>
z31s1g56189522016-01-13 19:12:40 +01004467 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4468 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4469 <condition var1="tw_hide_kb" op="=" var2="1" />
4470 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4471 <image resource="kb_show" />
4472 <condition var1="tw_busy" var2="0" />
4473 <actions>
4474 <action function="set">tw_hide_kb=0</action>
4475 <action function="page">terminalcommand</action>
4476 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004477 </button>
z31s1g56189522016-01-13 19:12:40 +01004478
z31s1g608d7ff2016-01-18 19:47:25 +01004479 <button>
z31s1g56189522016-01-13 19:12:40 +01004480 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4481 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4482 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4483 <image resource="back" />
4484 <condition var1="tw_busy" var2="0" />
4485 <actions>
4486 <action function="set">tw_hide_kb=0</action>
4487 <action function="page">advanced</action>
4488 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004489 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004490
4491 <action>
4492 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004493 <actions>
4494 <action function="page">main</action>
4495 <action function="set">tw_hide_kb=0</action>
4496 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </action>
4498
4499 <action>
4500 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004501 <actions>
4502 <action function="page">advanced</action>
4503 <action function="set">tw_hide_kb=0</action>
4504 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004505 </action>
z31s1g56189522016-01-13 19:12:40 +01004506
4507 <object type="action">
4508 <touch key="power+voldown" />
4509 <action function="screenshot" />
4510 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004511 </page>
4512
4513 <page name="sideload">
4514 <template name="page"/>
4515
4516 <text style="text_l">
4517 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004518 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004519 </text>
4520
4521 <text style="text_m">
4522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004524 </text>
4525
4526 <checkbox>
4527 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 <data variable="tw_wipe_dalvik"/>
4530 </checkbox>
4531
4532 <checkbox>
4533 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <data variable="tw_wipe_cache"/>
4536 </checkbox>
4537
4538 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <actions>
4541 <action function="set">tw_back=advanced</action>
4542 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4544 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4545 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004546 <action function="set">tw_has_cancel=1</action>
4547 <action function="set">tw_show_reboot=1</action>
4548 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4549 <action function="page">action_page</action>
4550 </actions>
4551 </slider>
4552
4553 <action>
4554 <touch key="home"/>
4555 <action function="page">main</action>
4556 </action>
4557
4558 <action>
4559 <touch key="back"/>
4560 <action function="page">advanced</action>
4561 </action>
4562 </page>
4563
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004564 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004565 <template name="page"/>
4566
4567 <text style="text_l">
4568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004569 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004570 </text>
4571
4572 <text style="text_m">
4573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004574 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 </text>
4576
4577 <text style="text_m_accent">
4578 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004579 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004580 </text>
4581
z31s1g28f0a922015-11-07 18:50:22 +01004582 <text style="text_m_fail">
4583 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004584 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004585 </text>
4586
4587 <text style="text_m_fail">
4588 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004589 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004590 </text>
4591
4592 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004593 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 <actions>
4595 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004596 <action function="set">tw_action=fixcontexts</action>
4597 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4598 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004599 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004600 <action function="set">tw_show_reboot=1</action>
4601 <action function="page">action_page</action>
4602 </actions>
4603 </slider>
4604
4605 <action>
4606 <touch key="home"/>
4607 <action function="page">main</action>
4608 </action>
4609
4610 <action>
4611 <touch key="back"/>
4612 <action function="page">advanced</action>
4613 </action>
4614 </page>
4615
4616 <page name="installsu">
4617 <template name="page"/>
4618
4619 <text style="text_l">
4620 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 </text>
4623
4624 <text style="text_m">
4625 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004626 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004627 </text>
4628
4629 <text style="text_m_accent">
4630 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <text style="text_m">
4635 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004637 </text>
4638
4639 <text style="text_m">
4640 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 </text>
4643
4644 <button style="main_button_half_width">
4645 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 <action function="set">tw_page_done=1</action>
4648 </button>
4649
4650 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <actions>
4653 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004654 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004655 <action function="set">tw_action_text2=</action>
4656 <action function="page">singleaction_page</action>
4657 </actions>
4658 </slider>
4659 </page>
4660
4661 <page name="slideout">
4662 <fill color="%background_color%">
4663 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4664 </fill>
4665
4666 <console>
4667 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4668 </console>
4669
4670 <button>
4671 <fill color="%transparent%"/>
4672 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4673 <action function="overlay"/>
4674 </button>
4675
4676 <action>
4677 <touch key="power+voldown"/>
4678 <action function="screenshot"/>
4679 </action>
4680 </page>
4681
4682 <page name="select_storage">
4683 <fill color="%semi_transparent%">
4684 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4685 </fill>
4686
4687 <fill color="%background_color%">
4688 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4689 </fill>
4690
4691 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004692 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 <data name="tw_storage_path"/>
4694 <listtype name="storage"/>
4695 </partitionlist>
4696
4697 <button style="button_third_width">
4698 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004699 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004700 <actions>
4701 <action function="set">tw_clear_destination=%tw_back%</action>
4702 <action function="overlay"/>
4703 <action function="page">clear_vars</action>
4704 </actions>
4705 </button>
4706
4707 <fill color="#000000">
4708 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4709 </fill>
4710
4711 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004712 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4713 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4714 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4715 <image resource="back" />
4716 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004717 <actions>
4718 <action function="overlay"/>
4719 <action function="key">%tw_back%</action>
4720 </actions>
4721 </button>
4722
4723 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004724 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4725 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4726 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4727 <image resource="console" />
4728 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004729 <action function="overlay">slideout</action>
4730 </button>
4731
4732 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004733 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4734 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4735 <image resource="home" />
4736 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004737 <actions>
4738 <action function="overlay"/>
4739 <action function="key">home</action>
4740 </actions>
4741 </button>
4742
4743 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004744 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4745 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4746 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4747 <image resource="console" />
4748 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004749 <action function="overlay">slideout</action>
4750 </button>
4751
4752 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004753 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4754 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4755 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4756 <image resource="back" />
4757 <condition var1="tw_busy" var2="0" />
4758 <actions>
4759 <action function="overlay"/>
4760 <action function="key">%tw_back%</action>
4761 </actions>
4762 </button>
4763
4764 <button>
4765 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4766 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4767 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4768 <image resource="back" />
4769 <condition var1="tw_busy" var2="0" />
4770 <actions>
4771 <action function="overlay"/>
4772 <action function="key">%tw_back%</action>
4773 </actions>
4774 </button>
4775
4776 <button>
4777 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4778 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4779 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4780 <image resource="console" />
4781 <condition var1="tw_busy" var2="0" />
4782 <action function="overlay">slideout</action>
4783 </button>
4784
4785 <button>
4786 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4787 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4788 <image resource="home" />
4789 <condition var1="tw_busy" var2="0" />
4790 <actions>
4791 <action function="overlay"/>
4792 <action function="key">home</action>
4793 </actions>
4794 </button>
4795
4796 <button>
4797 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4798 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4799 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4800 <image resource="console" />
4801 <condition var1="tw_busy" var2="0" />
4802 <action function="overlay">slideout</action>
4803 </button>
4804
4805 <button>
4806 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4807 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4808 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4809 <image resource="back" />
4810 <condition var1="tw_busy" var2="0" />
4811 <actions>
4812 <action function="overlay"/>
4813 <action function="key">%tw_back%</action>
4814 </actions>
4815 </button>
4816
4817 <button>
4818 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4819 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4820 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4821 <image resource="back" />
4822 <condition var1="tw_busy" var2="0" />
4823 <actions>
4824 <action function="overlay"/>
4825 <action function="key">%tw_back%</action>
4826 </actions>
4827 </button>
4828
4829 <button>
4830 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4831 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4832 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4833 <image resource="console" />
4834 <condition var1="tw_busy" var2="0" />
4835 <action function="overlay">slideout</action>
4836 </button>
4837
4838 <button>
4839 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4840 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4841 <image resource="home" />
4842 <condition var1="tw_busy" var2="0" />
4843 <actions>
4844 <action function="overlay"/>
4845 <action function="key">home</action>
4846 </actions>
4847 </button>
4848
4849 <button>
4850 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4851 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4852 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4853 <image resource="console" />
4854 <condition var1="tw_busy" var2="0" />
4855 <action function="overlay">slideout</action>
4856 </button>
4857
4858 <button>
4859 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4860 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4861 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4862 <image resource="back" />
4863 <condition var1="tw_busy" var2="0" />
4864 <actions>
4865 <action function="overlay"/>
4866 <action function="key">%tw_back%</action>
4867 </actions>
4868 </button>
4869
4870 <action>
4871 <touch key="power+voldown"/>
4872 <action function="screenshot"/>
4873 </action>
4874 </page>
4875
4876 <page name="select_language">
4877 <fill color="%semi_transparent%">
4878 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4879 </fill>
4880
4881 <fill color="%background_color%">
4882 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4883 </fill>
4884
4885 <listbox>
4886 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4887 <text>{@select_language=Select Language:}</text>
4888 <icon selected="radio_true" unselected="radio_false" />
4889 <data name="tw_language" />
4890 </listbox>
4891
4892 <button style="button_third_width">
4893 <placement x="%dialog_button_x%" y="%row13_y%"/>
4894 <text>{@ok_btn=OK}</text>
4895 <actions>
4896 <action function="overlay"/>
4897 <action function="setlanguage"></action>
4898 </actions>
4899 </button>
4900
4901 <fill color="#000000">
4902 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4903 </fill>
4904
4905 <button>
4906 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4907 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4908 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4909 <image resource="back" />
4910 <condition var1="tw_busy" var2="0" />
4911 <actions>
4912 <action function="overlay"/>
4913 <action function="key">%tw_back%</action>
4914 </actions>
4915 </button>
4916
4917 <button>
4918 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4919 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4920 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4921 <image resource="console" />
4922 <condition var1="tw_busy" var2="0" />
4923 <action function="overlay">slideout</action>
4924 </button>
4925
4926 <button>
4927 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4928 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4929 <image resource="home" />
4930 <condition var1="tw_busy" var2="0" />
4931 <actions>
4932 <action function="overlay"/>
4933 <action function="key">home</action>
4934 </actions>
4935 </button>
4936
4937 <button>
4938 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4939 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4940 <placement x="%console_button_x%" 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="0" />
4948 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4949 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4950 <image resource="back" />
4951 <condition var1="tw_busy" var2="0" />
4952 <actions>
4953 <action function="overlay"/>
4954 <action function="key">%tw_back%</action>
4955 </actions>
4956 </button>
4957
4958 <button>
4959 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4960 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4961 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4962 <image resource="back" />
4963 <condition var1="tw_busy" var2="0" />
4964 <actions>
4965 <action function="overlay"/>
4966 <action function="key">%tw_back%</action>
4967 </actions>
4968 </button>
4969
4970 <button>
4971 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4972 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4973 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4974 <image resource="console" />
4975 <condition var1="tw_busy" var2="0" />
4976 <action function="overlay">slideout</action>
4977 </button>
4978
4979 <button>
4980 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4981 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4982 <image resource="home" />
4983 <condition var1="tw_busy" var2="0" />
4984 <actions>
4985 <action function="overlay"/>
4986 <action function="key">home</action>
4987 </actions>
4988 </button>
4989
4990 <button>
4991 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4992 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4993 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4994 <image resource="console" />
4995 <condition var1="tw_busy" var2="0" />
4996 <action function="overlay">slideout</action>
4997 </button>
4998
4999 <button>
5000 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5001 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5002 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5003 <image resource="back" />
5004 <condition var1="tw_busy" var2="0" />
5005 <actions>
5006 <action function="overlay"/>
5007 <action function="key">%tw_back%</action>
5008 </actions>
5009 </button>
5010
5011 <button>
5012 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5013 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5014 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5015 <image resource="back" />
5016 <condition var1="tw_busy" var2="0" />
5017 <actions>
5018 <action function="overlay"/>
5019 <action function="key">%tw_back%</action>
5020 </actions>
5021 </button>
5022
5023 <button>
5024 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5025 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5026 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5027 <image resource="console" />
5028 <condition var1="tw_busy" var2="0" />
5029 <action function="overlay">slideout</action>
5030 </button>
5031
5032 <button>
5033 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5034 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5035 <image resource="home" />
5036 <condition var1="tw_busy" var2="0" />
5037 <actions>
5038 <action function="overlay"/>
5039 <action function="key">home</action>
5040 </actions>
5041 </button>
5042
5043 <button>
5044 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5045 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5046 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5047 <image resource="console" />
5048 <condition var1="tw_busy" var2="0" />
5049 <action function="overlay">slideout</action>
5050 </button>
5051
5052 <button>
5053 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5054 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5055 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5056 <image resource="back" />
5057 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005058 <actions>
5059 <action function="overlay"/>
5060 <action function="key">%tw_back%</action>
5061 </actions>
5062 </button>
5063
5064 <action>
5065 <touch key="power+voldown"/>
5066 <action function="screenshot"/>
5067 </action>
5068 </page>
5069 </pages>
5070</recovery>