blob: 5c92fccd312eb7297c7182446b03dda6b19ddea2 [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
z31s1g28f0a922015-11-07 18:50:22 +01003135 <page name="advanced">
3136 <template name="page"/>
3137
3138 <text style="text_l">
3139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 </text>
3142
3143 <button style="main_button">
3144 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 <actions>
3147 <action function="set">tw_back=advanced</action>
3148 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3150 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3151 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3152 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003153 <action function="page">confirm_action</action>
3154 </actions>
3155 </button>
3156
3157 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003158 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003159 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003160 <text>{@fix_context_btn=Fix Contexts}</text>
3161 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003162 </button>
3163
3164 <button style="main_button">
3165 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3166 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003167 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003168 <actions>
3169 <action function="set">partitionlisterror=0</action>
3170 <action function="page">partsdcardsel</action>
3171 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </button>
3173
3174 <button style="main_button">
3175 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <action function="page">filemanagerlist</action>
3178 </button>
3179
3180 <button style="main_button">
3181 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003183 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003184 </button>
3185
3186 <button style="main_button">
3187 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="reload"/>
3190 </button>
3191
3192 <button style="main_button">
3193 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="page">sideload</action>
3196 </button>
3197
3198 <button style="main_button">
3199 <condition var1="tw_show_dumlock" var2="1"/>
3200 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <action function="page">htcdumlock</action>
3203 </button>
3204
3205 <button style="main_button">
3206 <condition var1="tw_has_injecttwrp" var2="1"/>
3207 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <actions>
3210 <action function="set">tw_back=advanced</action>
3211 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003212 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3213 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3214 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3215 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003216 <action function="page">confirm_action</action>
3217 </actions>
3218 </button>
3219
3220 <action>
3221 <touch key="home"/>
3222 <action function="page">main</action>
3223 </action>
3224
3225 <action>
3226 <touch key="back"/>
3227 <action function="page">main</action>
3228 </action>
3229 </page>
3230
Ethan Yonker483e9f42016-01-11 22:21:18 -06003231 <page name="partsdcardsel">
3232 <template name="page"/>
3233
3234 <text style="text_l">
3235 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3236 <text>{@advanced_hdr=Advanced}</text>
3237 </text>
3238
3239 <text style="text_m">
3240 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3241 <text>{@part_sd_hdr=Partition SD Card}</text>
3242 </text>
3243
z31s1g782e1c92016-01-30 16:50:09 +01003244 <partitionlist>
3245 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003246 <text>{@sel_storage_list=Select Storage}</text>
3247 <data name="tw_storage_path"/>
3248 <listtype name="storage"/>
3249 </partitionlist>
3250
z31s1g782e1c92016-01-30 16:50:09 +01003251 <text style="text_m_fail">
3252 <condition var1="partitionlisterror" var2="1"/>
3253 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3254 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3255 </text>
3256
3257 <button style="main_button_half_width">
3258 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003259 <text>{@ok_btn=OK}</text>
3260 <actions>
3261 <action function="getpartitiondetails">tw_storage_path</action>
3262 <action function="page">partsdcardcheck</action>
3263 </actions>
3264 </button>
3265
Ethan Yonker483e9f42016-01-11 22:21:18 -06003266 <action>
3267 <touch key="home"/>
3268 <action function="page">main</action>
3269 </action>
3270
3271 <action>
3272 <touch key="back"/>
3273 <action function="page">advanced</action>
3274 </action>
3275 </page>
3276
3277 <page name="partsdcardcheck">
3278 <action>
3279 <condition var1="tw_partition_removable" op="=" var2="1"/>
3280 <actions>
3281 <action function="set">partitionlisterror=0</action>
3282 <action function="page">partsdcard</action>
3283 </actions>
3284 </action>
3285
3286 <action>
3287 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3288 <actions>
3289 <action function="set">partitionlisterror=1</action>
3290 <action function="page">partsdcardsel</action>
3291 </actions>
3292 </action>
3293 </page>
3294
z31s1g28f0a922015-11-07 18:50:22 +01003295 <page name="partsdcard">
3296 <template name="page"/>
3297
3298 <text style="text_l">
3299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 </text>
3302
3303 <text style="text_m">
3304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 </text>
3307
3308 <text style="text_m_fail">
3309 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </text>
3312
3313 <text style="text_m_fail">
3314 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m_accent">
3319 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </text>
3322
3323 <text style="text_m">
3324 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3325 <text>%tw_sdext_size%</text>
3326 </text>
3327
3328 <button style="button_quarter_width">
3329 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003331 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </button>
3333
3334 <button style="button_quarter_width">
3335 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003337 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003338 </button>
3339
3340 <text style="text_m_accent">
3341 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </text>
3344
3345 <text style="text_m">
3346 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3347 <text>%tw_swap_size%</text>
3348 </text>
3349
3350 <button style="button_quarter_width">
3351 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003352 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003353 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003354 </button>
3355
3356 <button style="button_quarter_width">
3357 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003359 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </button>
3361
3362 <text style="text_m_accent">
3363 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </text>
3366
3367 <text style="text_m">
3368 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3369 <text>%tw_sdpart_file_system%</text>
3370 </text>
3371
3372 <button style="button_quarter_width">
3373 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3374 <text>EXT3</text>
3375 <action function="set">tw_sdpart_file_system=ext3</action>
3376 </button>
3377
3378 <button style="button_quarter_width">
3379 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3380 <text>EXT4</text>
3381 <action function="set">tw_sdpart_file_system=ext4</action>
3382 </button>
3383
3384 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003385 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <action function="page">partsdcardaction</action>
3387 <actions>
3388 <action function="set">tw_back=partsdcard</action>
3389 <action function="set">tw_action=partitionsd</action>
3390 <action function="set">tw_has_action2=1</action>
3391 <action function="set">tw_action2=set</action>
3392 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003393 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3394 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3395 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003396 <action function="page">action_page</action>
3397 </actions>
3398 </slider>
3399
3400 <action>
3401 <touch key="home"/>
3402 <action function="page">main</action>
3403 </action>
3404
3405 <action>
3406 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003407 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003408 </action>
3409 </page>
3410
3411 <page name="htcdumlock">
3412 <template name="page"/>
3413
3414 <text style="text_l">
3415 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 </text>
3418
3419 <text style="text_m">
3420 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </text>
3423
3424 <button style="main_button_m">
3425 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003426 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003427 <actions>
3428 <action function="set">tw_back=htcdumlock</action>
3429 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3431 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3432 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3433 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <action function="page">confirm_action</action>
3435 </actions>
3436 </button>
3437
3438 <button style="main_button_m">
3439 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003440 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003441 <actions>
3442 <action function="set">tw_back=htcdumlock</action>
3443 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3445 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3446 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3447 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <action function="page">confirm_action</action>
3449 </actions>
3450 </button>
3451
3452 <button style="main_button_m">
3453 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <actions>
3456 <action function="set">tw_back=htcdumlock</action>
3457 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3459 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3460 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3461 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003462 <action function="page">confirm_action</action>
3463 </actions>
3464 </button>
3465
3466 <action>
3467 <touch key="home"/>
3468 <action function="page">main</action>
3469 </action>
3470
3471 <action>
3472 <touch key="back"/>
3473 <action function="page">advanced</action>
3474 </action>
3475 </page>
3476
3477 <page name="lock">
3478 <background color="%semi_transparent%"/>
3479
3480 <image>
3481 <image resource="unlock_icon"/>
3482 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3483 </image>
3484
3485 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 <action function="overlay"/>
3488 </slider>
3489 </page>
3490
3491 <page name="filemanagerlist">
3492 <template name="page"/>
3493
3494 <text style="text_l">
3495 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </text>
3498
3499 <text style="text_m">
3500 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <template name="sort_options"/>
3505
3506 <fileselector>
3507 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3508 <text>%tw_file_location1%</text>
3509 <filter folders="1" files="1"/>
3510 <path name="tw_file_location1" default="/"/>
3511 <data name="tw_filename1"/>
3512 <selection name="tw_selection1"/>
3513 </fileselector>
3514
3515 <button style="main_button_half_width_low">
3516 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <actions>
3519 <action function="set">tw_filename1=tw_file_location1</action>
3520 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003522 <action function="page">filemanageroptions</action>
3523 </actions>
3524 </button>
3525
3526 <action>
3527 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <action function="set">tw_fm_isfolder=0</action>
3530 </actions>
3531 </action>
3532
3533 <action>
3534 <touch key="home"/>
3535 <action function="page">main</action>
3536 </action>
3537
3538 <action>
3539 <touch key="back"/>
3540 <action function="page">advanced</action>
3541 </action>
3542
3543 <action>
3544 <condition var1="tw_filename1" op="modified"/>
3545 <action function="page">filemanageroptions</action>
3546 </action>
3547 </page>
3548
3549 <page name="filemanageroptions">
3550 <template name="page"/>
3551
3552 <text style="text_l">
3553 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003555 </text>
3556
3557 <text style="text_m">
3558 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003560 </text>
3561
3562 <text style="text_m_accent">
3563 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003565 </text>
3566
3567 <text style="text_m">
3568 <placement x="%col1_x_left%" y="%row3_y%"/>
3569 <text>%tw_filename1%</text>
3570 </text>
3571
3572 <button style="main_button_half_width">
3573 <condition var1="tw_fm_isfolder" var2="0"/>
3574 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 <actions>
3577 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003579 <action function="page">choosedestinationfolder</action>
3580 </actions>
3581 </button>
3582
3583 <button style="main_button_half_width">
3584 <condition var1="tw_fm_isfolder" var2="1"/>
3585 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <actions>
3588 <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 -05003589 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003590 <action function="page">choosedestinationfolder</action>
3591 </actions>
3592 </button>
3593
3594 <button style="main_button_half_width">
3595 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003597 <actions>
3598 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <action function="page">choosedestinationfolder</action>
3601 </actions>
3602 </button>
3603
3604 <button style="main_button_half_width">
3605 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <actions>
3608 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <action function="set">tw_fm_text2=</action>
3611 <action function="set">tw_fm_text3=</action>
3612 <action function="set">tw_include_text3=0</action>
3613 <action function="set">tw_back=filemanageroptions</action>
3614 <action function="page">filemanagerconfirm</action>
3615 </actions>
3616 </button>
3617
3618 <button style="main_button_half_width">
3619 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <actions>
3622 <action function="set">tw_filemanager_rename=0000</action>
3623 <action function="set">tw_fm_text2=</action>
3624 <action function="set">tw_fm_text3=</action>
3625 <action function="set">tw_include_text3=0</action>
3626 <action function="set">tw_back=filemanageroptions</action>
3627 <action function="page">filemanagerchmod</action>
3628 </actions>
3629 </button>
3630
3631 <button style="main_button_half_width">
3632 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003634 <actions>
3635 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <action function="set">tw_fm_text2=</action>
3638 <action function="set">tw_fm_text3=</action>
3639 <action function="set">tw_include_text3=0</action>
3640 <action function="set">tw_back=filemanageroptions</action>
3641 <action function="page">filemanagerconfirm</action>
3642 </actions>
3643 </button>
3644
3645 <button style="main_button_half_width">
3646 <condition var1="tw_fm_isfolder" var2="0"/>
3647 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <actions>
3650 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="set">tw_filemanager_command=mv</action>
3653 <action function="page">filemanagerrenamefile</action>
3654 </actions>
3655 </button>
3656
3657 <button style="main_button_half_width">
3658 <condition var1="tw_fm_isfolder" var2="1"/>
3659 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 <actions>
3662 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003664 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3665 <action function="page">filemanagerrenamefolder</action>
3666 </actions>
3667 </button>
3668
3669 <action>
3670 <touch key="home"/>
3671 <action function="page">main</action>
3672 </action>
3673
3674 <action>
3675 <touch key="back"/>
3676 <action function="page">filemanagerlist</action>
3677 </action>
3678 </page>
3679
3680 <page name="choosedestinationfolder">
3681 <template name="page"/>
3682
3683 <text style="text_l">
3684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 </text>
3687
3688 <text style="text_m">
3689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <template name="sort_options"/>
3694
3695 <fileselector>
3696 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3697 <text>%tw_file_location2%</text>
3698 <filter folders="1" files="0"/>
3699 <path name="tw_file_location2" default="/"/>
3700 <data name="tw_filename2"/>
3701 <selection name="tw_selection2"/>
3702 </fileselector>
3703
3704 <button style="main_button_half_width_low">
3705 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 <actions>
3708 <action function="set">tw_fm_text2=to</action>
3709 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3710 <action function="set">tw_include_text3=1</action>
3711 <action function="set">tw_back=filemanageroptions</action>
3712 <action function="page">filemanagerconfirm</action>
3713 </actions>
3714 </button>
3715
3716 <action>
3717 <touch key="home"/>
3718 <action function="page">main</action>
3719 </action>
3720
3721 <action>
3722 <touch key="back"/>
3723 <action function="page">filemanageroptions</action>
3724 </action>
3725 </page>
3726
3727 <page name="filemanagerrenamefile">
3728 <template name="page"/>
3729
3730 <text style="text_l">
3731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003732 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003733 </text>
3734
3735 <text style="text_m">
3736 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003738 </text>
3739
3740 <text style="text_m_accent">
3741 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003743 </text>
3744
3745 <input>
3746 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3747 <text>%tw_filemanager_rename%</text>
3748 <data name="tw_filemanager_rename"/>
3749 <restrict minlen="1" maxlen="128"/>
3750 <actions>
3751 <action function="set">tw_fm_text2=to</action>
3752 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3753 <action function="set">tw_include_text3=1</action>
3754 <action function="set">tw_back=filemanageroptions</action>
3755 <action function="page">filemanagerconfirm</action>
3756 </actions>
3757 </input>
3758
3759 <fill color="%accent_color%">
3760 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3761 </fill>
3762
3763 <button style="main_button_half_width_low">
3764 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 <action function="page">filemanageroptions</action>
3767 </button>
3768
3769 <template name="keyboardtemplate"/>
3770
3771 <action>
3772 <touch key="home"/>
3773 <action function="page">main</action>
3774 </action>
3775
3776 <action>
3777 <touch key="back"/>
3778 <action function="page">filemanageroptions</action>
3779 </action>
3780 </page>
3781
3782 <page name="filemanagerrenamefolder">
3783 <template name="page"/>
3784
3785 <text style="text_l">
3786 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 </text>
3789
3790 <text style="text_m">
3791 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 </text>
3794
3795 <text style="text_m_accent">
3796 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003798 </text>
3799
3800 <input>
3801 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3802 <text>%tw_filemanager_rename%</text>
3803 <data name="tw_filemanager_rename"/>
3804 <restrict minlen="1" maxlen="128"/>
3805 <actions>
3806 <action function="set">tw_fm_text2=to</action>
3807 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3808 <action function="set">tw_include_text3=1</action>
3809 <action function="set">tw_back=filemanageroptions</action>
3810 <action function="page">filemanagerconfirm</action>
3811 </actions>
3812 </input>
3813
3814 <fill color="%accent_color%">
3815 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3816 </fill>
3817
3818 <button style="main_button_half_width_low">
3819 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003821 <action function="page">filemanageroptions</action>
3822 </button>
3823
3824 <template name="keyboardtemplate"/>
3825
3826 <action>
3827 <touch key="home"/>
3828 <action function="page">main</action>
3829 </action>
3830
3831 <action>
3832 <touch key="back"/>
3833 <action function="page">filemanageroptions</action>
3834 </action>
3835 </page>
3836
3837 <page name="filemanagerchmod">
3838 <template name="page"/>
3839
3840 <text style="text_l">
3841 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003842 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003843 </text>
3844
3845 <text style="text_m">
3846 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003847 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003848 </text>
3849
3850 <text style="text_m_accent">
3851 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 </text>
3854
3855 <input>
3856 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3857 <text>%tw_filemanager_rename%</text>
3858 <data name="tw_filemanager_rename"/>
3859 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3860 <actions>
3861 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3862 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3863 <action function="set">tw_back=filemanageroptions</action>
3864 <action function="page">filemanagerconfirm</action>
3865 </actions>
3866 </input>
3867
3868 <fill color="%accent_color%">
3869 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3870 </fill>
3871
3872 <button style="main_button_half_width_low">
3873 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 <action function="page">filemanageroptions</action>
3876 </button>
3877
3878 <template name="keyboardtemplate"/>
3879
3880 <action>
3881 <touch key="home"/>
3882 <action function="page">main</action>
3883 </action>
3884
3885 <action>
3886 <touch key="back"/>
3887 <action function="page">filemanageroptions</action>
3888 </action>
3889 </page>
3890
3891 <page name="filemanagerconfirm">
3892 <template name="page"/>
3893
3894 <text style="text_l">
3895 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 </text>
3898
3899 <text style="text_m">
3900 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003902 </text>
3903
3904 <text style="text_m_accent">
3905 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3906 <text>%tw_fm_text1%</text>
3907 </text>
3908
3909 <text style="text_m">
3910 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3911 <text>%tw_filename1%</text>
3912 </text>
3913
3914 <text style="text_m_accent">
3915 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3916 <text>%tw_fm_text2%</text>
3917 </text>
3918
3919 <text style="text_m">
3920 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3921 <text>%tw_fm_text3%</text>
3922 </text>
3923
3924 <text style="text_m">
3925 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 <action function="page">filemanageraction</action>
3932 </slider>
3933
3934 <action>
3935 <touch key="back"/>
3936 <action function="page">%tw_back%</action>
3937 </action>
3938
3939 <action>
3940 <touch key="home"/>
3941 <action function="page">main</action>
3942 </action>
3943 </page>
3944
3945 <page name="filemanageraction">
3946 <template name="page"/>
3947
3948 <text style="text_l">
3949 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <text style="text_m">
3954 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3955 <text>%tw_fm_text1%</text>
3956 </text>
3957
3958 <template name="console"/>
3959
3960 <template name="progress_bar"/>
3961
3962 <action>
3963 <conditions>
3964 <condition var1="tw_operation_state" var2="1"/>
3965 <condition var1="tw_operation_status" var2="0"/>
3966 </conditions>
3967 <actions>
3968 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003970 <action function="page">action_complete</action>
3971 </actions>
3972 </action>
3973
3974 <action>
3975 <conditions>
3976 <condition var1="tw_operation_state" var2="1"/>
3977 <condition var1="tw_operation_status" op="!=" var2="0"/>
3978 </conditions>
3979 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003981 <action function="page">action_complete</action>
3982 </actions>
3983 </action>
3984
3985 <action>
3986 <condition var1="tw_include_text3" var2="0"/>
3987 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3988 </action>
3989
3990 <action>
3991 <condition var1="tw_include_text3" var2="1"/>
3992 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3993 </action>
3994 </page>
3995
3996 <page name="decrypt">
3997 <template name="page"/>
3998
3999 <action>
4000 <condition var1="tw_crypto_pwtype" var2="2"/>
4001 <action function="page">decrypt_pattern</action>
4002 </action>
4003
4004 <text style="text_l">
4005 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004006 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004007 </text>
4008
4009 <text style="text_m">
4010 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 </text>
4013
4014 <text style="text_m_accent">
4015 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004017 </text>
4018
4019 <input>
4020 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4021 <text>%tw_crypto_display%</text>
4022 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4023 <restrict minlen="1" maxlen="254"/>
4024 <action function="page">trydecrypt</action>
4025 </input>
4026
4027 <fill color="%accent_color%">
4028 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4029 </fill>
4030
4031 <fill color="%text_fail_color%">
4032 <condition var1="tw_password_fail" var2="1"/>
4033 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4034 </fill>
4035
4036 <text style="text_m_fail">
4037 <condition var1="tw_password_fail" var2="1"/>
4038 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004039 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <button style="main_button_half_width_low">
4043 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 <actions>
4046 <action function="set">tw_page_done=1</action>
4047 <action function="page">main</action>
4048 </actions>
4049 </button>
4050
z31s1g608d7ff2016-01-18 19:47:25 +01004051 <button style="main_button_half_width_low">
4052 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4053 <text>{@sel_lang_btn=Select Language}</text>
4054 <action function="overlay">select_language</action>
4055 </button>
4056
z31s1g28f0a922015-11-07 18:50:22 +01004057 <template name="keyboardtemplate"/>
4058 </page>
4059
4060 <page name="decrypt_pattern">
4061 <template name="page"/>
4062
4063 <text style="text_l">
4064 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004066 </text>
4067
4068 <text style="text_m">
4069 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004071 </text>
4072
4073 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004074 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 </text>
4077
Aleksa Saraib25a1832015-12-31 17:36:00 +01004078 <text style="text_m_fail">
4079 <condition var1="tw_password_fail" var2="1"/>
4080 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004081 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004082 </text>
4083
z31s1g28f0a922015-11-07 18:50:22 +01004084 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004085 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004086 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4087 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4088 <data name="tw_crypto_password"/>
4089 <action function="page">trydecrypt</action>
4090 </patternpassword>
4091
Aleksa Saraib25a1832015-12-31 17:36:00 +01004092 <button style="main_button_half_width_low">
4093 <placement x="%col_button_right%" y="%row1a_y%"/>
4094 <text>3x3</text>
4095 <action function="set">tw_gui_pattern_grid_size=3</action>
4096 </button>
4097
4098 <button style="main_button_half_width_low">
4099 <placement x="%col_button_right%" y="%row4a_y%"/>
4100 <text>4x4</text>
4101 <action function="set">tw_gui_pattern_grid_size=4</action>
4102 </button>
4103
4104 <button style="main_button_half_width_low">
4105 <placement x="%col_button_right%" y="%row7a_y%"/>
4106 <text>5x5</text>
4107 <action function="set">tw_gui_pattern_grid_size=5</action>
4108 </button>
4109
4110 <button style="main_button_half_width_low">
4111 <placement x="%col_button_right%" y="%row10a_y%"/>
4112 <text>6x6</text>
4113 <action function="set">tw_gui_pattern_grid_size=6</action>
4114 </button>
4115
z31s1g28f0a922015-11-07 18:50:22 +01004116 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004117 <placement x="%col1_x_right%" y="%row15a_y%"/>
4118 <text>{@sel_lang_btn=Select Language}</text>
4119 <action function="overlay">select_language</action>
4120 </button>
4121
4122 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004123 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004125 <actions>
4126 <action function="set">tw_page_done=1</action>
4127 <action function="page">main</action>
4128 </actions>
4129 </button>
4130 </page>
4131
4132 <page name="trydecrypt">
4133 <template name="page"/>
4134
4135 <text style="text_l">
4136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 </text>
4139
4140 <text style="text_m">
4141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <template name="console"/>
4146
4147 <template name="progress_bar"/>
4148
4149 <action>
4150 <action function="decrypt"/>
4151 </action>
4152
4153 <action>
4154 <conditions>
4155 <condition var1="tw_operation_state" var2="1"/>
4156 <condition var1="tw_operation_status" op="!=" var2="0"/>
4157 </conditions>
4158 <actions>
4159 <action function="set">tw_password_fail=1</action>
4160 <action function="page">decrypt</action>
4161 </actions>
4162 </action>
4163
4164 <action>
4165 <conditions>
4166 <condition var1="tw_operation_state" var2="1"/>
4167 <condition var1="tw_operation_status" op="=" var2="0"/>
4168 </conditions>
4169 <actions>
4170 <action function="set">tw_page_done=1</action>
4171 <action function="page">main</action>
4172 </actions>
4173 </action>
4174 </page>
4175
z31s1g28f0a922015-11-07 18:50:22 +01004176 <page name="terminalcommand">
4177 <template name="page"/>
4178
4179 <fill color="%background_color%">
4180 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4181 </fill>
4182
z31s1g56189522016-01-13 19:12:40 +01004183 <terminal>
4184 <condition var1="tw_hide_kb" var2="0"/>
4185 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4186 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004187
z31s1g56189522016-01-13 19:12:40 +01004188 <terminal>
4189 <condition var1="tw_hide_kb" var2="1"/>
4190 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4191 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004192
z31s1g56189522016-01-13 19:12:40 +01004193 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004194
z31s1g56189522016-01-13 19:12:40 +01004195 <object type="fill" color="#000000">
4196 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4197 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004198
z31s1g608d7ff2016-01-18 19:47:25 +01004199 <button>
z31s1g56189522016-01-13 19:12:40 +01004200 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4201 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4202 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4203 <image resource="back" />
4204 <condition var1="tw_busy" var2="0" />
4205 <actions>
4206 <action function="set">tw_hide_kb=0</action>
4207 <action function="page">advanced</action>
4208 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004209 </button>
z31s1g56189522016-01-13 19:12:40 +01004210
z31s1g608d7ff2016-01-18 19:47:25 +01004211 <button>
z31s1g56189522016-01-13 19:12:40 +01004212 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4213 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4214 <condition var1="tw_hide_kb" op="=" var2="0" />
4215 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4216 <image resource="kb_hide" />
4217 <condition var1="tw_busy" var2="0" />
4218 <actions>
4219 <action function="set">tw_hide_kb=1</action>
4220 <action function="page">terminalcommand</action>
4221 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004222 </button>
z31s1g56189522016-01-13 19:12:40 +01004223
z31s1g608d7ff2016-01-18 19:47:25 +01004224 <button>
z31s1g56189522016-01-13 19:12:40 +01004225 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4226 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4227 <condition var1="tw_hide_kb" op="=" var2="1" />
4228 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4229 <image resource="kb_show" />
4230 <condition var1="tw_busy" var2="0" />
4231 <actions>
4232 <action function="set">tw_hide_kb=0</action>
4233 <action function="page">terminalcommand</action>
4234 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004235 </button>
z31s1g56189522016-01-13 19:12:40 +01004236
z31s1g608d7ff2016-01-18 19:47:25 +01004237 <button>
z31s1g56189522016-01-13 19:12:40 +01004238 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4239 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4240 <image resource="home" />
4241 <condition var1="tw_busy" var2="0" />
4242 <actions>
4243 <action function="set">tw_hide_kb=0</action>
4244 <action function="key">home</action>
4245 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004246 </button>
z31s1g56189522016-01-13 19:12:40 +01004247
z31s1g608d7ff2016-01-18 19:47:25 +01004248 <button>
z31s1g56189522016-01-13 19:12:40 +01004249 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4250 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4251 <condition var1="tw_hide_kb" op="=" var2="0" />
4252 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4253 <image resource="kb_hide" />
4254 <condition var1="tw_busy" var2="0" />
4255 <actions>
4256 <action function="set">tw_hide_kb=1</action>
4257 <action function="page">terminalcommand</action>
4258 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004259 </button>
z31s1g56189522016-01-13 19:12:40 +01004260
z31s1g608d7ff2016-01-18 19:47:25 +01004261 <button>
z31s1g56189522016-01-13 19:12:40 +01004262 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4263 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4264 <condition var1="tw_hide_kb" op="=" var2="1" />
4265 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4266 <image resource="kb_show" />
4267 <condition var1="tw_busy" var2="0" />
4268 <actions>
4269 <action function="set">tw_hide_kb=0</action>
4270 <action function="page">terminalcommand</action>
4271 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004272 </button>
z31s1g56189522016-01-13 19:12:40 +01004273
z31s1g608d7ff2016-01-18 19:47:25 +01004274 <button>
z31s1g56189522016-01-13 19:12:40 +01004275 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4276 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4277 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4278 <image resource="back" />
4279 <condition var1="tw_busy" var2="0" />
4280 <actions>
4281 <action function="set">tw_hide_kb=0</action>
4282 <action function="page">advanced</action>
4283 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004284 </button>
z31s1g56189522016-01-13 19:12:40 +01004285
z31s1g608d7ff2016-01-18 19:47:25 +01004286 <button>
z31s1g56189522016-01-13 19:12:40 +01004287 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4288 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4289 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4290 <image resource="back" />
4291 <condition var1="tw_busy" var2="0" />
4292 <actions>
4293 <action function="set">tw_hide_kb=0</action>
4294 <action function="page">advanced</action>
4295 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004296 </button>
z31s1g56189522016-01-13 19:12:40 +01004297
z31s1g608d7ff2016-01-18 19:47:25 +01004298 <button>
z31s1g56189522016-01-13 19:12:40 +01004299 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4300 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4301 <condition var1="tw_hide_kb" op="=" var2="0" />
4302 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4303 <image resource="kb_hide" />
4304 <condition var1="tw_busy" var2="0" />
4305 <actions>
4306 <action function="set">tw_hide_kb=1</action>
4307 <action function="page">terminalcommand</action>
4308 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004309 </button>
z31s1g56189522016-01-13 19:12:40 +01004310
z31s1g608d7ff2016-01-18 19:47:25 +01004311 <button>
z31s1g56189522016-01-13 19:12:40 +01004312 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4313 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4314 <condition var1="tw_hide_kb" op="=" var2="1" />
4315 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4316 <image resource="kb_show" />
4317 <condition var1="tw_busy" var2="0" />
4318 <actions>
4319 <action function="set">tw_hide_kb=0</action>
4320 <action function="page">terminalcommand</action>
4321 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004322 </button>
z31s1g56189522016-01-13 19:12:40 +01004323
z31s1g608d7ff2016-01-18 19:47:25 +01004324 <button>
z31s1g56189522016-01-13 19:12:40 +01004325 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4326 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4327 <image resource="home" />
4328 <condition var1="tw_busy" var2="0" />
4329 <actions>
4330 <action function="set">tw_hide_kb=0</action>
4331 <action function="key">home</action>
4332 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004333 </button>
z31s1g56189522016-01-13 19:12:40 +01004334
z31s1g608d7ff2016-01-18 19:47:25 +01004335 <button>
z31s1g56189522016-01-13 19:12:40 +01004336 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4337 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4338 <condition var1="tw_hide_kb" op="=" var2="0" />
4339 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4340 <image resource="kb_hide" />
4341 <condition var1="tw_busy" var2="0" />
4342 <actions>
4343 <action function="set">tw_hide_kb=1</action>
4344 <action function="page">terminalcommand</action>
4345 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004346 </button>
z31s1g56189522016-01-13 19:12:40 +01004347
z31s1g608d7ff2016-01-18 19:47:25 +01004348 <button>
z31s1g56189522016-01-13 19:12:40 +01004349 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4350 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4351 <condition var1="tw_hide_kb" op="=" var2="1" />
4352 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4353 <image resource="kb_show" />
4354 <condition var1="tw_busy" var2="0" />
4355 <actions>
4356 <action function="set">tw_hide_kb=0</action>
4357 <action function="page">terminalcommand</action>
4358 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004359 </button>
z31s1g56189522016-01-13 19:12:40 +01004360
z31s1g608d7ff2016-01-18 19:47:25 +01004361 <button>
z31s1g56189522016-01-13 19:12:40 +01004362 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4363 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4364 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4365 <image resource="back" />
4366 <condition var1="tw_busy" var2="0" />
4367 <actions>
4368 <action function="set">tw_hide_kb=0</action>
4369 <action function="page">advanced</action>
4370 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004371 </button>
z31s1g56189522016-01-13 19:12:40 +01004372
z31s1g608d7ff2016-01-18 19:47:25 +01004373 <button>
z31s1g56189522016-01-13 19:12:40 +01004374 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4375 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4376 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4377 <image resource="back" />
4378 <condition var1="tw_busy" var2="0" />
4379 <actions>
4380 <action function="set">tw_hide_kb=0</action>
4381 <action function="page">advanced</action>
4382 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004383 </button>
z31s1g56189522016-01-13 19:12:40 +01004384
z31s1g608d7ff2016-01-18 19:47:25 +01004385 <button>
z31s1g56189522016-01-13 19:12:40 +01004386 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4387 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4388 <condition var1="tw_hide_kb" op="=" var2="0" />
4389 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4390 <image resource="kb_hide" />
4391 <condition var1="tw_busy" var2="0" />
4392 <actions>
4393 <action function="set">tw_hide_kb=1</action>
4394 <action function="page">terminalcommand</action>
4395 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004396 </button>
z31s1g56189522016-01-13 19:12:40 +01004397
z31s1g608d7ff2016-01-18 19:47:25 +01004398 <button>
z31s1g56189522016-01-13 19:12:40 +01004399 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4400 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4401 <condition var1="tw_hide_kb" op="=" var2="1" />
4402 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4403 <image resource="kb_show" />
4404 <condition var1="tw_busy" var2="0" />
4405 <actions>
4406 <action function="set">tw_hide_kb=0</action>
4407 <action function="page">terminalcommand</action>
4408 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004409 </button>
z31s1g56189522016-01-13 19:12:40 +01004410
z31s1g608d7ff2016-01-18 19:47:25 +01004411 <button>
z31s1g56189522016-01-13 19:12:40 +01004412 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4413 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4414 <image resource="home" />
4415 <condition var1="tw_busy" var2="0" />
4416 <actions>
4417 <action function="set">tw_hide_kb=0</action>
4418 <action function="key">home</action>
4419 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004420 </button>
z31s1g56189522016-01-13 19:12:40 +01004421
z31s1g608d7ff2016-01-18 19:47:25 +01004422 <button>
z31s1g56189522016-01-13 19:12:40 +01004423 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4424 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4425 <condition var1="tw_hide_kb" op="=" var2="0" />
4426 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4427 <image resource="kb_hide" />
4428 <condition var1="tw_busy" var2="0" />
4429 <actions>
4430 <action function="set">tw_hide_kb=1</action>
4431 <action function="page">terminalcommand</action>
4432 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004433 </button>
z31s1g56189522016-01-13 19:12:40 +01004434
z31s1g608d7ff2016-01-18 19:47:25 +01004435 <button>
z31s1g56189522016-01-13 19:12:40 +01004436 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4437 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4438 <condition var1="tw_hide_kb" op="=" var2="1" />
4439 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4440 <image resource="kb_show" />
4441 <condition var1="tw_busy" var2="0" />
4442 <actions>
4443 <action function="set">tw_hide_kb=0</action>
4444 <action function="page">terminalcommand</action>
4445 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004446 </button>
z31s1g56189522016-01-13 19:12:40 +01004447
z31s1g608d7ff2016-01-18 19:47:25 +01004448 <button>
z31s1g56189522016-01-13 19:12:40 +01004449 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4450 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4451 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4452 <image resource="back" />
4453 <condition var1="tw_busy" var2="0" />
4454 <actions>
4455 <action function="set">tw_hide_kb=0</action>
4456 <action function="page">advanced</action>
4457 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004458 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004459
4460 <action>
4461 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004462 <actions>
4463 <action function="page">main</action>
4464 <action function="set">tw_hide_kb=0</action>
4465 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004466 </action>
4467
4468 <action>
4469 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004470 <actions>
4471 <action function="page">advanced</action>
4472 <action function="set">tw_hide_kb=0</action>
4473 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004474 </action>
z31s1g56189522016-01-13 19:12:40 +01004475
4476 <object type="action">
4477 <touch key="power+voldown" />
4478 <action function="screenshot" />
4479 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </page>
4481
4482 <page name="sideload">
4483 <template name="page"/>
4484
4485 <text style="text_l">
4486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004488 </text>
4489
4490 <text style="text_m">
4491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004492 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004493 </text>
4494
4495 <checkbox>
4496 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004497 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004498 <data variable="tw_wipe_dalvik"/>
4499 </checkbox>
4500
4501 <checkbox>
4502 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004504 <data variable="tw_wipe_cache"/>
4505 </checkbox>
4506
4507 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004508 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004509 <actions>
4510 <action function="set">tw_back=advanced</action>
4511 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004512 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4513 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4514 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004515 <action function="set">tw_has_cancel=1</action>
4516 <action function="set">tw_show_reboot=1</action>
4517 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4518 <action function="page">action_page</action>
4519 </actions>
4520 </slider>
4521
4522 <action>
4523 <touch key="home"/>
4524 <action function="page">main</action>
4525 </action>
4526
4527 <action>
4528 <touch key="back"/>
4529 <action function="page">advanced</action>
4530 </action>
4531 </page>
4532
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004533 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004534 <template name="page"/>
4535
4536 <text style="text_l">
4537 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004538 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004539 </text>
4540
4541 <text style="text_m">
4542 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004543 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m_accent">
4547 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004548 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
z31s1g28f0a922015-11-07 18:50:22 +01004551 <text style="text_m_fail">
4552 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004553 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 </text>
4555
4556 <text style="text_m_fail">
4557 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004558 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 </text>
4560
4561 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004562 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004563 <actions>
4564 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004565 <action function="set">tw_action=fixcontexts</action>
4566 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4567 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004568 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004569 <action function="set">tw_show_reboot=1</action>
4570 <action function="page">action_page</action>
4571 </actions>
4572 </slider>
4573
4574 <action>
4575 <touch key="home"/>
4576 <action function="page">main</action>
4577 </action>
4578
4579 <action>
4580 <touch key="back"/>
4581 <action function="page">advanced</action>
4582 </action>
4583 </page>
4584
4585 <page name="installsu">
4586 <template name="page"/>
4587
4588 <text style="text_l">
4589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004590 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004591 </text>
4592
4593 <text style="text_m">
4594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004595 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004596 </text>
4597
4598 <text style="text_m_accent">
4599 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004600 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004601 </text>
4602
4603 <text style="text_m">
4604 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004605 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004606 </text>
4607
4608 <text style="text_m">
4609 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004610 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004611 </text>
4612
4613 <button style="main_button_half_width">
4614 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004615 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004616 <action function="set">tw_page_done=1</action>
4617 </button>
4618
4619 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004620 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004621 <actions>
4622 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004624 <action function="set">tw_action_text2=</action>
4625 <action function="page">singleaction_page</action>
4626 </actions>
4627 </slider>
4628 </page>
4629
4630 <page name="slideout">
4631 <fill color="%background_color%">
4632 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4633 </fill>
4634
4635 <console>
4636 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4637 </console>
4638
4639 <button>
4640 <fill color="%transparent%"/>
4641 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4642 <action function="overlay"/>
4643 </button>
4644
4645 <action>
4646 <touch key="power+voldown"/>
4647 <action function="screenshot"/>
4648 </action>
4649 </page>
4650
4651 <page name="select_storage">
4652 <fill color="%semi_transparent%">
4653 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4654 </fill>
4655
4656 <fill color="%background_color%">
4657 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4658 </fill>
4659
4660 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004661 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004662 <data name="tw_storage_path"/>
4663 <listtype name="storage"/>
4664 </partitionlist>
4665
4666 <button style="button_third_width">
4667 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <actions>
4670 <action function="set">tw_clear_destination=%tw_back%</action>
4671 <action function="overlay"/>
4672 <action function="page">clear_vars</action>
4673 </actions>
4674 </button>
4675
4676 <fill color="#000000">
4677 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4678 </fill>
4679
4680 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004681 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4682 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4683 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4684 <image resource="back" />
4685 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004686 <actions>
4687 <action function="overlay"/>
4688 <action function="key">%tw_back%</action>
4689 </actions>
4690 </button>
4691
4692 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004693 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4694 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4695 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4696 <image resource="console" />
4697 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004698 <action function="overlay">slideout</action>
4699 </button>
4700
4701 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004702 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4703 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4704 <image resource="home" />
4705 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004706 <actions>
4707 <action function="overlay"/>
4708 <action function="key">home</action>
4709 </actions>
4710 </button>
4711
4712 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004713 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4714 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4715 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4716 <image resource="console" />
4717 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004718 <action function="overlay">slideout</action>
4719 </button>
4720
4721 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004722 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4723 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4724 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4725 <image resource="back" />
4726 <condition var1="tw_busy" var2="0" />
4727 <actions>
4728 <action function="overlay"/>
4729 <action function="key">%tw_back%</action>
4730 </actions>
4731 </button>
4732
4733 <button>
4734 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4735 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4736 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4737 <image resource="back" />
4738 <condition var1="tw_busy" var2="0" />
4739 <actions>
4740 <action function="overlay"/>
4741 <action function="key">%tw_back%</action>
4742 </actions>
4743 </button>
4744
4745 <button>
4746 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4747 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4748 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4749 <image resource="console" />
4750 <condition var1="tw_busy" var2="0" />
4751 <action function="overlay">slideout</action>
4752 </button>
4753
4754 <button>
4755 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4756 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4757 <image resource="home" />
4758 <condition var1="tw_busy" var2="0" />
4759 <actions>
4760 <action function="overlay"/>
4761 <action function="key">home</action>
4762 </actions>
4763 </button>
4764
4765 <button>
4766 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4767 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4768 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4769 <image resource="console" />
4770 <condition var1="tw_busy" var2="0" />
4771 <action function="overlay">slideout</action>
4772 </button>
4773
4774 <button>
4775 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4776 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4777 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4778 <image resource="back" />
4779 <condition var1="tw_busy" var2="0" />
4780 <actions>
4781 <action function="overlay"/>
4782 <action function="key">%tw_back%</action>
4783 </actions>
4784 </button>
4785
4786 <button>
4787 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4788 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4789 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4790 <image resource="back" />
4791 <condition var1="tw_busy" var2="0" />
4792 <actions>
4793 <action function="overlay"/>
4794 <action function="key">%tw_back%</action>
4795 </actions>
4796 </button>
4797
4798 <button>
4799 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4800 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4801 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4802 <image resource="console" />
4803 <condition var1="tw_busy" var2="0" />
4804 <action function="overlay">slideout</action>
4805 </button>
4806
4807 <button>
4808 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4809 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4810 <image resource="home" />
4811 <condition var1="tw_busy" var2="0" />
4812 <actions>
4813 <action function="overlay"/>
4814 <action function="key">home</action>
4815 </actions>
4816 </button>
4817
4818 <button>
4819 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4820 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4821 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4822 <image resource="console" />
4823 <condition var1="tw_busy" var2="0" />
4824 <action function="overlay">slideout</action>
4825 </button>
4826
4827 <button>
4828 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4829 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4830 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4831 <image resource="back" />
4832 <condition var1="tw_busy" var2="0" />
4833 <actions>
4834 <action function="overlay"/>
4835 <action function="key">%tw_back%</action>
4836 </actions>
4837 </button>
4838
4839 <action>
4840 <touch key="power+voldown"/>
4841 <action function="screenshot"/>
4842 </action>
4843 </page>
4844
4845 <page name="select_language">
4846 <fill color="%semi_transparent%">
4847 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4848 </fill>
4849
4850 <fill color="%background_color%">
4851 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4852 </fill>
4853
4854 <listbox>
4855 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4856 <text>{@select_language=Select Language:}</text>
4857 <icon selected="radio_true" unselected="radio_false" />
4858 <data name="tw_language" />
4859 </listbox>
4860
4861 <button style="button_third_width">
4862 <placement x="%dialog_button_x%" y="%row13_y%"/>
4863 <text>{@ok_btn=OK}</text>
4864 <actions>
4865 <action function="overlay"/>
4866 <action function="setlanguage"></action>
4867 </actions>
4868 </button>
4869
4870 <fill color="#000000">
4871 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4872 </fill>
4873
4874 <button>
4875 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4876 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4877 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4878 <image resource="back" />
4879 <condition var1="tw_busy" var2="0" />
4880 <actions>
4881 <action function="overlay"/>
4882 <action function="key">%tw_back%</action>
4883 </actions>
4884 </button>
4885
4886 <button>
4887 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4888 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4889 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4890 <image resource="console" />
4891 <condition var1="tw_busy" var2="0" />
4892 <action function="overlay">slideout</action>
4893 </button>
4894
4895 <button>
4896 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4897 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4898 <image resource="home" />
4899 <condition var1="tw_busy" var2="0" />
4900 <actions>
4901 <action function="overlay"/>
4902 <action function="key">home</action>
4903 </actions>
4904 </button>
4905
4906 <button>
4907 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4908 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4909 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4910 <image resource="console" />
4911 <condition var1="tw_busy" var2="0" />
4912 <action function="overlay">slideout</action>
4913 </button>
4914
4915 <button>
4916 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4917 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4918 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4919 <image resource="back" />
4920 <condition var1="tw_busy" var2="0" />
4921 <actions>
4922 <action function="overlay"/>
4923 <action function="key">%tw_back%</action>
4924 </actions>
4925 </button>
4926
4927 <button>
4928 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4929 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4930 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4931 <image resource="back" />
4932 <condition var1="tw_busy" var2="0" />
4933 <actions>
4934 <action function="overlay"/>
4935 <action function="key">%tw_back%</action>
4936 </actions>
4937 </button>
4938
4939 <button>
4940 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4941 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4942 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4943 <image resource="console" />
4944 <condition var1="tw_busy" var2="0" />
4945 <action function="overlay">slideout</action>
4946 </button>
4947
4948 <button>
4949 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4950 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4951 <image resource="home" />
4952 <condition var1="tw_busy" var2="0" />
4953 <actions>
4954 <action function="overlay"/>
4955 <action function="key">home</action>
4956 </actions>
4957 </button>
4958
4959 <button>
4960 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4961 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4962 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4963 <image resource="console" />
4964 <condition var1="tw_busy" var2="0" />
4965 <action function="overlay">slideout</action>
4966 </button>
4967
4968 <button>
4969 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4970 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4971 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4972 <image resource="back" />
4973 <condition var1="tw_busy" var2="0" />
4974 <actions>
4975 <action function="overlay"/>
4976 <action function="key">%tw_back%</action>
4977 </actions>
4978 </button>
4979
4980 <button>
4981 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4982 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4983 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4984 <image resource="back" />
4985 <condition var1="tw_busy" var2="0" />
4986 <actions>
4987 <action function="overlay"/>
4988 <action function="key">%tw_back%</action>
4989 </actions>
4990 </button>
4991
4992 <button>
4993 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4994 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4995 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4996 <image resource="console" />
4997 <condition var1="tw_busy" var2="0" />
4998 <action function="overlay">slideout</action>
4999 </button>
5000
5001 <button>
5002 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5003 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5004 <image resource="home" />
5005 <condition var1="tw_busy" var2="0" />
5006 <actions>
5007 <action function="overlay"/>
5008 <action function="key">home</action>
5009 </actions>
5010 </button>
5011
5012 <button>
5013 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5014 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5015 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5016 <image resource="console" />
5017 <condition var1="tw_busy" var2="0" />
5018 <action function="overlay">slideout</action>
5019 </button>
5020
5021 <button>
5022 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5023 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5024 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5025 <image resource="back" />
5026 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005027 <actions>
5028 <action function="overlay"/>
5029 <action function="key">%tw_back%</action>
5030 </actions>
5031 </button>
5032
5033 <action>
5034 <touch key="power+voldown"/>
5035 <action function="screenshot"/>
5036 </action>
5037 </page>
5038 </pages>
5039</recovery>