blob: a6b5dca4c0ad96270e8ab560c2e1651ee1ba648b [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
443 <button style="main_button_half_width">
444 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500445 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100446 <action function="page">install</action>
447 </button>
448
449 <button style="main_button_half_width">
450 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <actions>
453 <action function="queueclear"/>
454 <action function="page">install</action>
455 </actions>
456 </button>
457
458 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500459 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100460 <action function="flash">flash_zip</action>
461 </slider>
462
463 <action>
464 <touch key="back"/>
465 <actions>
466 <action function="cancelzip"/>
467 <action function="page">install</action>
468 </actions>
469 </action>
470
471 <action>
472 <touch key="home"/>
473 <action function="page">main</action>
474 </action>
475 </page>
476
477 <page name="flash_zip">
478 <template name="page"/>
479
480 <text style="text_l">
481 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 </text>
484
485 <text style="text_m">
486 <placement x="%col1_x_header%" y="%row4_header_y%"/>
487 <text>%tw_file%</text>
488 </text>
489
490 <template name="console"/>
491
492 <template name="progress_bar"/>
493
494 <action>
495 <condition var1="tw_operation_state" var2="1"/>
496 <action function="page">flash_done</action>
497 </action>
498 </page>
499
500 <page name="flash_done">
501 <template name="page"/>
502
503 <text style="text_l">
504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500505 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100506 </text>
507
508 <text style="text_m_fail">
509 <condition var1="tw_operation_status" op="!=" var2="0"/>
510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m">
515 <condition var1="tw_operation_status" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <template name="console"/>
521
522 <button style="main_button_half_width">
523 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 <actions>
526 <action function="set">tw_back=flash_done</action>
527 <action function="set">tw_action=wipe</action>
528 <action function="set">tw_action_param=/cache</action>
529 <action function="set">tw_has_action2=1</action>
530 <action function="set">tw_action2=wipe</action>
531 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500532 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
533 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
534 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
535 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100536 <action function="page">confirm_action</action>
537 </actions>
538 </button>
539
540 <button style="main_button_half_width">
541 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500542 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <actions>
544 <action function="set">tw_back=main2</action>
545 <action function="set">tw_action=reboot</action>
546 <action function="set">tw_action_param=system</action>
547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
549 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100550 <action function="set">tw_text3=</action>
551 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500552 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
555 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <action function="page">rebootcheck</action>
557 </actions>
558 </button>
559
560 <action>
561 <touch key="back"/>
562 <actions>
563 <action function="set">tw_clear_destination=install</action>
564 <action function="page">clear_vars</action>
565 </actions>
566 </action>
567
568 <action>
569 <touch key="home"/>
570 <actions>
571 <action function="set">tw_clear_destination=main2</action>
572 <action function="page">clear_vars</action>
573 </actions>
574 </action>
575 </page>
576
577 <page name="flashimage_confirm">
578 <template name="page"/>
579
580 <text style="text_l">
581 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500582 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100583 </text>
584
585 <text style="text_m">
586 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500587 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100588 </text>
589
590 <text style="text_m_accent">
591 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500592 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </text>
594
595 <text style="text_m">
596 <placement x="%col1_x_left%" y="%row9_y%"/>
597 <text>%tw_zip_location%</text>
598 </text>
599
600 <text style="text_m_accent">
601 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500602 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100603 </text>
604
605 <text style="text_m">
606 <placement x="%col1_x_left%" y="%row12_y%"/>
607 <text>%tw_file%</text>
608 </text>
609
610 <partitionlist>
611 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
612 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500613 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100614 <data name="tw_flash_partition"/>
615 <listtype name="flashimg"/>
616 </partitionlist>
617
618 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500619 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100620 <actions>
621 <action function="set">tw_back=flashimage_confirm</action>
622 <action function="set">tw_action=flashimage</action>
623 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500624 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100625 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <action function="page">action_page</action>
628 </actions>
629 <action function="flashimage"/>
630 </slider>
631
632 <action>
633 <touch key="back"/>
634 <actions>
635 <action function="set">tw_clear_destination=install</action>
636 <action function="page">clear_vars</action>
637 </actions>
638 </action>
639
640 <action>
641 <touch key="home"/>
642 <actions>
643 <action function="set">tw_clear_destination=main2</action>
644 <action function="page">clear_vars</action>
645 </actions>
646 </action>
647 </page>
648
649 <page name="clear_vars">
650 <action>
651 <action function="set">tw_operation_state=0</action>
652 <action function="set">tw_text1=</action>
653 <action function="set">tw_text2=</action>
654 <action function="set">tw_text3=</action>
655 <action function="set">tw_text4=</action>
656 <action function="set">tw_action_text1=</action>
657 <action function="set">tw_action_text2=</action>
658 <action function="set">tw_action_param=</action>
659 <action function="set">tw_has_action2=0</action>
660 <action function="set">tw_action2=</action>
661 <action function="set">tw_action2_param=</action>
662 <action function="set">tw_has_cancel=0</action>
663 <action function="set">tw_cancel_action=</action>
664 <action function="set">tw_cancel_param=</action>
665 <action function="set">tw_show_exclamation=0</action>
666 <action function="set">tw_show_reboot=0</action>
667 <action function="page">%tw_clear_destination%</action>
668 </action>
669 </page>
670
671 <page name="confirm_action">
672 <template name="page"/>
673
674 <text style="text_l">
675 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500676 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100677 </text>
678
679 <text style="text_m">
680 <placement x="%col1_x_header%" y="%row4_header_y%"/>
681 <text/>
682 </text>
683
684 <text style="text_m_accent">
685 <placement x="%center_x%" y="%row2_y%" placement="5"/>
686 <text>%tw_text1%</text>
687 </text>
688
689 <text style="text_m_accent">
690 <placement x="%center_x%" y="%row3_y%" placement="5"/>
691 <text>%tw_text2%</text>
692 </text>
693
694 <text style="text_m">
695 <placement x="%center_x%" y="%row4_y%" placement="5"/>
696 <text>%tw_text3%</text>
697 </text>
698
699 <text style="text_m">
700 <placement x="%center_x%" y="%row5_y%" placement="5"/>
701 <text>%tw_text4%</text>
702 </text>
703
704 <text style="text_m">
705 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500706 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100707 </text>
708
709 <slider style="slider_centered">
710 <text>%tw_slider_text%</text>
711 <action function="page">action_page</action>
712 </slider>
713
714 <action>
715 <touch key="back"/>
716 <actions>
717 <action function="set">tw_clear_destination=%tw_back%</action>
718 <action function="page">clear_vars</action>
719 </actions>
720 </action>
721
722 <action>
723 <touch key="home"/>
724 <action function="page">main</action>
725 </action>
726 </page>
727
728 <page name="action_page">
729 <template name="page"/>
730
731 <text style="text_l">
732 <placement x="%col1_x_header%" y="%row3_header_y%"/>
733 <text>%tw_action_text1%</text>
734 </text>
735
736 <text style="text_m">
737 <placement x="%col1_x_header%" y="%row4_header_y%"/>
738 <text>%tw_action_text2%</text>
739 </text>
740
741 <template name="console"/>
742
743 <template name="progress_bar"/>
744
745 <button style="main_button_half_width">
746 <condition var1="tw_has_cancel" var2="1"/>
747 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
750 </button>
751
752 <action>
753 <condition var1="tw_operation_state" var2="1"/>
754 <actions>
755 <action function="page">action_complete</action>
756 </actions>
757 </action>
758
759 <action>
760 <condition var1="tw_has_action2" var2="0"/>
761 <actions>
762 <action function="%tw_action%">%tw_action_param%</action>
763 </actions>
764 </action>
765
766 <action>
767 <condition var1="tw_has_action2" var2="1"/>
768 <actions>
769 <action function="%tw_action%">%tw_action_param%</action>
770 <action function="%tw_action2%">%tw_action2_param%</action>
771 </actions>
772 </action>
773 </page>
774
775 <page name="singleaction_page">
776 <template name="page"/>
777
778 <text style="text_l">
779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
780 <text>%tw_action_text1%</text>
781 </text>
782
783 <text style="text_m">
784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
785 <text>%tw_action_text2%</text>
786 </text>
787
788 <template name="console"/>
789
790 <template name="progress_bar"/>
791
792 <action>
793 <condition var1="tw_operation_state" var2="1"/>
794 <actions>
795 <action function="set">tw_page_done=1</action>
796 </actions>
797 </action>
798
799 <action>
800 <condition var1="tw_has_action2" var2="0"/>
801 <actions>
802 <action function="%tw_action%">%tw_action_param%</action>
803 </actions>
804 </action>
805
806 <action>
807 <condition var1="tw_has_action2" var2="1"/>
808 <actions>
809 <action function="%tw_action%">%tw_action_param%</action>
810 <action function="%tw_action2%">%tw_action2_param%</action>
811 </actions>
812 </action>
813 </page>
814
815 <page name="action_complete">
816 <template name="page"/>
817
818 <text style="text_l">
819 <placement x="%col1_x_header%" y="%row3_header_y%"/>
820 <text>%tw_complete_text1%</text>
821 </text>
822
823 <text style="text_m_fail">
824 <condition var1="tw_operation_status" op="!=" var2="0"/>
825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500826 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100827 </text>
828
829 <text style="text_m">
830 <condition var1="tw_operation_status" var2="0"/>
831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500832 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100833 </text>
834
835 <template name="console"/>
836
837 <button style="main_button_half_width">
838 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500839 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100840 <actions>
841 <action function="set">tw_clear_destination=%tw_back%</action>
842 <action function="page">clear_vars</action>
843 </actions>
844 </button>
845
846 <button style="main_button_half_width">
847 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100849 <actions>
850 <action function="set">tw_back=main2</action>
851 <action function="set">tw_action=reboot</action>
852 <action function="set">tw_action_param=system</action>
853 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500854 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
855 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100856 <action function="set">tw_text3=</action>
857 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500858 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100859 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500860 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
861 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100862 <action function="page">rebootcheck</action>
863 </actions>
864 </button>
865
866 <action>
867 <touch key="home"/>
868 <actions>
869 <action function="set">tw_clear_destination=main2</action>
870 <action function="page">clear_vars</action>
871 </actions>
872 </action>
873
874 <action>
875 <touch key="back"/>
876 <actions>
877 <action function="set">tw_clear_destination=%tw_back%</action>
878 <action function="page">clear_vars</action>
879 </actions>
880 </action>
881 </page>
882
883 <page name="filecheck">
884 <action>
885 <action function="fileexists">%tw_filecheck%</action>
886 </action>
887
888 <action>
889 <conditions>
890 <condition var1="tw_operation_state" var2="1"/>
891 <condition var1="tw_operation_status" var2="0"/>
892 </conditions>
893 <actions>
894 <action function="set">tw_fileexists=1</action>
895 <action function="page">%tw_existpage%</action>
896 </actions>
897 </action>
898
899 <action>
900 <conditions>
901 <condition var1="tw_operation_state" var2="1"/>
902 <condition var1="tw_operation_status" var2="1"/>
903 </conditions>
904 <actions>
905 <action function="set">tw_fileexists=0</action>
906 <action function="page">%tw_notexistpage%</action>
907 </actions>
908 </action>
909 </page>
910
911 <page name="rebootcheck">
912 <action>
913 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
914 <action function="reboot">%tw_action_param%</action>
915 </action>
916
917 <action>
918 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
919 <action function="page">confirm_action</action>
920 </action>
921 </page>
922
923 <page name="wipe">
924 <template name="page"/>
925
926 <text style="text_l">
927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500928 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100929 </text>
930
931 <text style="text_m">
932 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500933 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100934 </text>
935
936 <text style="text_m_accent">
937 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 </text>
940
941 <text style="text_m_accent">
942 <condition var1="tw_has_data_media" var2="1"/>
943 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500944 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100945 </text>
946
947 <text style="text_m_accent">
948 <conditions>
949 <condition var1="tw_has_android_secure" var2="1"/>
950 <condition var1="fileexists" var2="/and-sec"/>
951 </conditions>
952 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100954 </text>
955
956 <text style="text_m_accent">
957 <condition var1="tw_has_sdext_partition" var2="1"/>
958 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100960 </text>
961
962 <text style="text_m">
963 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 </text>
966
967 <text style="text_m">
968 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m">
973 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500974 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100975 </text>
976
977 <button style="main_button_half_width">
978 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500979 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100980 <actions>
981 <action function="set">partitionlisterror=0</action>
982 <action function="page">advancedwipe</action>
983 </actions>
984 </button>
985
986 <button style="main_button_half_width">
987 <condition var1="tw_has_data_media" var2="1"/>
988 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 <action function="page">formatdata</action>
991 </button>
992
993 <button style="main_button_half_width">
994 <conditions>
995 <condition var1="tw_is_encrypted" var2="1"/>
996 <condition var1="tw_has_data_media" var2="0"/>
997 </conditions>
998 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <actions>
1001 <action function="set">tw_back=wipe</action>
1002 <action function="set">tw_action=wipe</action>
1003 <action function="set">tw_action_param=DATAMEDIA</action>
1004 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001006 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1008 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1009 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001010 <action function="page">confirm_action</action>
1011 </actions>
1012 </button>
1013
1014 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <actions>
1017 <action function="set">tw_back=wipe</action>
1018 <action function="set">tw_action=wipe</action>
1019 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1021 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <action function="page">action_page</action>
1023 </actions>
1024 </slider>
1025
1026 <action>
1027 <touch key="back"/>
1028 <action function="page">main</action>
1029 </action>
1030
1031 <action>
1032 <touch key="home"/>
1033 <action function="page">main</action>
1034 </action>
1035 </page>
1036
1037 <page name="advancedwipe">
1038 <template name="page"/>
1039
1040 <action>
1041 <action function="set">tw_wipe_list=</action>
1042 </action>
1043
1044 <text style="text_l">
1045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <text style="text_m">
1050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 </text>
1053
1054 <partitionlist>
1055 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001057 <data name="tw_wipe_list"/>
1058 <listtype name="wipe"/>
1059 </partitionlist>
1060
1061 <text style="text_m_fail">
1062 <condition var1="partitionlisterror" var2="1"/>
1063 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <button style="main_button_m">
1068 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001071 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <action function="page">checkpartitionlist</action>
1073 </actions>
1074 </button>
1075
1076 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 <actions>
1079 <action function="set">tw_back=advancedwipe</action>
1080 <action function="set">tw_action=wipe</action>
1081 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1083 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1084 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001085 <action function="page">action_page</action>
1086 </actions>
1087 </slider>
1088
1089 <action>
1090 <touch key="home"/>
1091 <action function="page">main</action>
1092 </action>
1093
1094 <action>
1095 <touch key="back"/>
1096 <action function="page">wipe</action>
1097 </action>
1098 </page>
1099
1100 <page name="formatdata">
1101 <template name="page"/>
1102
1103 <text style="text_l">
1104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <text style="text_m">
1109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 </text>
1112
1113 <text style="text_m_fail">
1114 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001115 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001116 </text>
1117
1118 <text style="text_m_fail">
1119 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 </text>
1122
Ethan Yonker66a19492015-12-10 10:19:45 -06001123 <text style="text_m_fail">
1124 <condition var1="tw_has_adopted_storage" var2="1"/>
1125 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1126 <text>{@format_data_adopted=Including Adopted Storage}</text>
1127 </text>
1128
z31s1g28f0a922015-11-07 18:50:22 +01001129 <text style="text_m">
1130 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001131 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001132 </text>
1133
1134 <text style="text_m">
1135 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001136 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001137 </text>
1138
1139 <input>
1140 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1141 <text>%tw_confirm_formatdata%</text>
1142 <data name="tw_confirm_formatdata"/>
1143 <restrict minlen="3" maxlen="3" allow="yes"/>
1144 <action function="page">formatdata_confirm</action>
1145 </input>
1146
1147 <fill color="%accent_color%">
1148 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1149 </fill>
1150
1151 <template name="keyboardtemplate"/>
1152
1153 <action>
1154 <touch key="home"/>
1155 <action function="page">main</action>
1156 </action>
1157
1158 <action>
1159 <touch key="back"/>
1160 <action function="page">wipe</action>
1161 </action>
1162 </page>
1163
1164 <page name="formatdata_confirm">
1165 <action>
1166 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1167 <actions>
1168 <action function="set">tw_back=formatdata</action>
1169 <action function="set">tw_action=wipe</action>
1170 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1172 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001173 <action function="page">action_page</action>
1174 </actions>
1175 </action>
1176
1177 <action>
1178 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1179 <action function="page">formatdata</action>
1180 </action>
1181 </page>
1182
1183 <page name="checkpartitionlist">
1184 <action>
1185 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1186 <actions>
1187 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001188 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001189 <action function="page">partitionoptions</action>
1190 </actions>
1191 </action>
1192
1193 <action>
1194 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1195 <actions>
1196 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001197 <action function="page">advancedwipe</action>
1198 </actions>
1199 </action>
1200 </page>
1201
1202 <page name="partitionoptions">
1203 <template name="page"/>
1204
1205 <text style="text_l">
1206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m">
1211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001213 </text>
1214
1215 <text style="text_m_accent">
1216 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <text style="text_m_accent">
1221 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 </text>
1224
1225 <text style="text_m">
1226 <condition var1="tw_partition_is_present" var2="1"/>
1227 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001228 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001229 </text>
1230
1231 <text style="text_m">
1232 <condition var1="tw_partition_is_present" var2="0"/>
1233 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </text>
1236
1237 <text style="text_m">
1238 <condition var1="tw_partition_removable" var2="1"/>
1239 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <condition var1="tw_partition_removable" var2="0"/>
1245 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
1254 <text style="text_m">
1255 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 </text>
1258
1259 <text style="text_m">
1260 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 </text>
1263
1264 <text style="text_m">
1265 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 </text>
1268
1269 <button style="main_button_half_width">
1270 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1271 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <actions>
1274 <action function="set">tw_back=partitionoptions</action>
1275 <action function="set">tw_action=resize</action>
1276 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1277 <action function="set">tw_has_action2=1</action>
1278 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001279 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001282 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1283 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1284 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001285 <action function="page">confirm_action</action>
1286 </actions>
1287 </button>
1288
1289 <button style="main_button_half_width">
1290 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1291 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <actions>
1294 <action function="set">tw_back=partitionoptions</action>
1295 <action function="set">tw_action=repair</action>
1296 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1297 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001298 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001299 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1301 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1302 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001303 <action function="page">confirm_action</action>
1304 </actions>
1305 </button>
1306
1307 <button style="main_button_half_width">
1308 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001309 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001310 <action function="page">selectfilesystem</action>
1311 </button>
1312
1313 <action>
1314 <touch key="home"/>
1315 <action function="page">main</action>
1316 </action>
1317
1318 <action>
1319 <touch key="back"/>
1320 <action function="page">advancedwipe</action>
1321 </action>
1322 </page>
1323
1324 <page name="refreshfilesystem">
1325 <action>
1326 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1327 <actions>
1328 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001329 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001330 <action function="page">selectfilesystem</action>
1331 </actions>
1332 </action>
1333
1334 <action>
1335 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1336 <actions>
1337 <action function="set">partitionlisterror=1</action>
1338 <action function="set">tw_wipe_list=</action>
1339 <action function="page">advancedwipe</action>
1340 </actions>
1341 </action>
1342 </page>
1343
1344 <page name="selectfilesystem">
1345 <template name="page"/>
1346
1347 <text style="text_l">
1348 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <text style="text_m">
1353 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001354 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001355 </text>
1356
1357 <text style="text_m_accent">
1358 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <text style="text_m_accent">
1363 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001365 </text>
1366
1367 <text style="text_m_fail">
1368 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001370 </text>
1371
1372 <text style="text_m_fail">
1373 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 </text>
1376
1377 <button style="main_button_half_width">
1378 <condition var1="tw_partition_ext" op="=" var2="1"/>
1379 <placement x="%col1_x_left%" y="%row11_y%"/>
1380 <text>EXT2</text>
1381 <actions>
1382 <action function="set">tw_back=refreshfilesystem</action>
1383 <action function="set">tw_action=changefilesystem</action>
1384 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1385 <action function="set">tw_action_new_file_system=ext2</action>
1386 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1388 <action function="set">tw_text2=EXT2</action>
1389 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1390 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1391 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001392 <action function="page">confirm_action</action>
1393 </actions>
1394 </button>
1395
1396 <button style="main_button_half_width">
1397 <condition var1="tw_partition_ext" op="=" var2="1"/>
1398 <placement x="%col2_x_left%" y="%row11_y%"/>
1399 <text>EXT3</text>
1400 <actions>
1401 <action function="set">tw_back=refreshfilesystem</action>
1402 <action function="set">tw_action=changefilesystem</action>
1403 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1404 <action function="set">tw_action_new_file_system=ext3</action>
1405 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1407 <action function="set">tw_text2=EXT3</action>
1408 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1409 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1410 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001411 <action function="page">confirm_action</action>
1412 </actions>
1413 </button>
1414
1415 <button style="main_button_half_width">
1416 <condition var1="tw_partition_ext" op="=" var2="1"/>
1417 <placement x="%center_x%" y="%row11_y%"/>
1418 <text>EXT4</text>
1419 <actions>
1420 <action function="set">tw_back=refreshfilesystem</action>
1421 <action function="set">tw_action=changefilesystem</action>
1422 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1423 <action function="set">tw_action_new_file_system=ext4</action>
1424 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1426 <action function="set">tw_text2=EXT4</action>
1427 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1428 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1429 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <action function="page">confirm_action</action>
1431 </actions>
1432 </button>
1433
1434 <button style="main_button_half_width">
1435 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1436 <placement x="%col2_x_right%" y="%row11_y%"/>
1437 <text>FAT</text>
1438 <actions>
1439 <action function="set">tw_back=refreshfilesystem</action>
1440 <action function="set">tw_action=changefilesystem</action>
1441 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1442 <action function="set">tw_action_new_file_system=vfat</action>
1443 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001444 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1445 <action function="set">tw_text2=FAT</action>
1446 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1447 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1448 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001449 <action function="page">confirm_action</action>
1450 </actions>
1451 </button>
1452
1453 <button style="main_button_half_width">
1454 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1455 <placement x="%col2_x_left%" y="%row15a_y%"/>
1456 <text>exFAT</text>
1457 <actions>
1458 <action function="set">tw_back=refreshfilesystem</action>
1459 <action function="set">tw_action=changefilesystem</action>
1460 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1461 <action function="set">tw_action_new_file_system=exfat</action>
1462 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1464 <action function="set">tw_text2=exFAT</action>
1465 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1466 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1467 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001468 <action function="page">confirm_action</action>
1469 </actions>
1470 </button>
1471
1472 <button style="main_button_half_width">
1473 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1474 <placement x="%center_x%" y="%row15a_y%"/>
1475 <text>F2FS</text>
1476 <actions>
1477 <action function="set">tw_back=refreshfilesystem</action>
1478 <action function="set">tw_action=changefilesystem</action>
1479 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1480 <action function="set">tw_action_new_file_system=f2fs</action>
1481 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001482 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1483 <action function="set">tw_text2=F2FS</action>
1484 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1485 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1486 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001487 <action function="page">confirm_action</action>
1488 </actions>
1489 </button>
1490
1491 <action>
1492 <touch key="home"/>
1493 <action function="page">main</action>
1494 </action>
1495
1496 <action>
1497 <touch key="back"/>
1498 <action function="page">partitionoptions</action>
1499 </action>
1500 </page>
1501
1502 <page name="backup">
1503 <template name="page"/>
1504
1505 <text style="text_l">
1506 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001507 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001508 </text>
1509
1510 <text style="text_m">
1511 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001512 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001513 </text>
1514
1515 <text style="text_m_accent">
1516 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001517 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001518 </text>
1519
1520 <text style="text_m">
1521 <placement x="%col1_x_left%" y="%row3_y%"/>
1522 <text>%tw_backup_name%</text>
1523 </text>
1524
1525 <fill color="%fileselector_linecolor%">
1526 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1527 </fill>
1528
1529 <button>
1530 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1531 <fill color="%transparent%"/>
1532 <actions>
1533 <action function="set">tw_fileexists=0</action>
1534 <action function="page">backupname1</action>
1535 </actions>
1536 </button>
1537
1538 <partitionlist>
1539 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001541 <data name="tw_backup_list"/>
1542 <listtype name="backup"/>
1543 </partitionlist>
1544
1545 <text style="text_m_accent">
1546 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001548 </text>
1549
1550 <text style="text_m">
1551 <conditions>
1552 <condition var1="tw_include_encrypted_backup" var2="1"/>
1553 <condition var1="tw_encrypt_backup" var2="0"/>
1554 </conditions>
1555 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001556 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001557 </text>
1558
1559 <text style="text_m">
1560 <conditions>
1561 <condition var1="tw_include_encrypted_backup" var2="1"/>
1562 <condition var1="tw_encrypt_backup" var2="1"/>
1563 </conditions>
1564 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001566 </text>
1567
1568 <fill color="%fileselector_linecolor%">
1569 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1570 </fill>
1571
1572 <button>
1573 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1574 <fill color="%transparent%"/>
1575 <actions>
1576 <action function="set">tw_password_not_match=0</action>
1577 <action function="page">backupencryption</action>
1578 </actions>
1579 </button>
1580
1581 <text style="text_m_accent">
1582 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 </text>
1585
1586 <checkbox>
1587 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 <data variable="tw_use_compression"/>
1590 </checkbox>
1591
1592 <checkbox>
1593 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 <data variable="tw_skip_md5_generate"/>
1596 </checkbox>
1597
1598 <checkbox>
1599 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <data variable="tw_disable_free_space"/>
1602 </checkbox>
1603
1604 <button style="main_button_half_width">
1605 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <actions>
1608 <action function="set">tw_back=backup</action>
1609 <action function="overlay">select_storage</action>
1610 </actions>
1611 </button>
1612
1613 <button style="main_button_half_width">
1614 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001616 <actions>
1617 <action function="refreshsizes"/>
1618 <action function="page">backup</action>
1619 </actions>
1620 </button>
1621
1622 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <action function="page">backup_run</action>
1625 </slider>
1626
1627 <action>
1628 <touch key="home"/>
1629 <action function="page">main</action>
1630 </action>
1631
1632 <action>
1633 <touch key="back"/>
1634 <action function="page">main</action>
1635 </action>
1636 </page>
1637
1638 <page name="backupname1">
1639 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001641 <action function="generatebackupname"/>
1642 </action>
1643
1644 <action>
1645 <action function="page">backupname2</action>
1646 </action>
1647 </page>
1648
1649 <page name="backupname2">
1650 <template name="page"/>
1651
1652 <text style="text_l">
1653 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 </text>
1656
1657 <text style="text_m">
1658 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001659 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001660 </text>
1661
1662 <text style="text_m_accent">
1663 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <input>
1668 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1669 <text>%tw_backup_name%</text>
1670 <data name="tw_backup_name"/>
1671 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1672 <actions>
1673 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1674 <action function="set">tw_existpage=backupname2</action>
1675 <action function="set">tw_notexistpage=backup</action>
1676 <action function="page">filecheck</action>
1677 </actions>
1678 </input>
1679
1680 <fill color="%accent_color%">
1681 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1682 </fill>
1683
1684 <fill color="%text_fail_color%">
1685 <condition var1="tw_fileexists" var2="1"/>
1686 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1687 </fill>
1688
1689 <text style="text_m_fail">
1690 <condition var1="tw_fileexists" var2="1"/>
1691 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 </text>
1694
1695 <button style="main_button_half_width_low">
1696 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <action function="page">backup</action>
1701 </actions>
1702 </button>
1703
1704 <button style="main_button_half_width_low">
1705 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 <action function="appenddatetobackupname"/>
1708 </button>
1709
1710 <template name="keyboardtemplate"/>
1711
1712 <action>
1713 <touch key="home"/>
1714 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="page">main</action>
1717 </actions>
1718 </action>
1719
1720 <action>
1721 <touch key="back"/>
1722 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001724 <action function="page">backup</action>
1725 </actions>
1726 </action>
1727 </page>
1728
1729 <page name="backupencryption">
1730 <template name="page"/>
1731
1732 <text style="text_l">
1733 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <text style="text_m">
1738 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001739 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001740 </text>
1741
1742 <text style="text_m_accent">
1743 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001744 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001745 </text>
1746
1747 <input>
1748 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1749 <text>%tw_backup_encrypt_display%</text>
1750 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1751 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1752 <action function="page">backupencryption2</action>
1753 </input>
1754
1755 <fill color="%accent_color%">
1756 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1757 </fill>
1758
1759 <fill color="%text_fail_color%">
1760 <condition var1="tw_password_not_match" var2="1"/>
1761 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1762 </fill>
1763
1764 <text style="text_m_fail">
1765 <condition var1="tw_password_not_match" var2="1"/>
1766 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001767 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001768 </text>
1769
1770 <button style="main_button_half_width_low">
1771 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001772 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001773 <actions>
1774 <action function="set">tw_encrypt_backup=0</action>
1775 <action function="set">tw_backup_password=</action>
1776 <action function="set">tw_backup_password2=</action>
1777 <action function="set">tw_backup_encrypt_display=</action>
1778 <action function="set">tw_backup_encrypt_display2=</action>
1779 <action function="page">backup</action>
1780 </actions>
1781 </button>
1782
1783 <template name="keyboardtemplate"/>
1784
1785 <action>
1786 <touch key="home"/>
1787 <action function="page">main</action>
1788 </action>
1789
1790 <action>
1791 <touch key="back"/>
1792 <action function="page">backup</action>
1793 </action>
1794 </page>
1795
1796 <page name="backupencryption2">
1797 <template name="page"/>
1798
1799 <text style="text_l">
1800 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001802 </text>
1803
1804 <text style="text_m">
1805 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001806 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001807 </text>
1808
1809 <text style="text_m_accent">
1810 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001811 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001812 </text>
1813
1814 <input>
1815 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1816 <text>%tw_backup_encrypt_display2%</text>
1817 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1818 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1819 <action function="page">checkbackuppassword</action>
1820 </input>
1821
1822 <fill color="%accent_color%">
1823 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1824 </fill>
1825
1826 <text style="text_m">
1827 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001828 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001829 </text>
1830
1831 <button style="main_button_half_width_low">
1832 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001833 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001834 <actions>
1835 <action function="set">tw_encrypt_backup=0</action>
1836 <action function="set">tw_backup_password=</action>
1837 <action function="set">tw_backup_password2=</action>
1838 <action function="set">tw_backup_encrypt_display=</action>
1839 <action function="set">tw_backup_encrypt_display2=</action>
1840 <action function="page">backup</action>
1841 </actions>
1842 </button>
1843
1844 <template name="keyboardtemplate"/>
1845
1846 <action>
1847 <touch key="home"/>
1848 <action function="page">main</action>
1849 </action>
1850
1851 <action>
1852 <touch key="back"/>
1853 <action function="page">backup</action>
1854 </action>
1855 </page>
1856
1857 <page name="checkbackuppassword">
1858 <action>
1859 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1860 <actions>
1861 <action function="set">tw_encrypt_backup=1</action>
1862 <action function="page">backup</action>
1863 </actions>
1864 </action>
1865
1866 <action>
1867 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1868 <actions>
1869 <action function="set">tw_encrypt_backup=0</action>
1870 <action function="set">tw_password_not_match=1</action>
1871 <action function="set">tw_backup_password=</action>
1872 <action function="set">tw_backup_password2=</action>
1873 <action function="set">tw_backup_encrypt_display=</action>
1874 <action function="set">tw_backup_encrypt_display2=</action>
1875 <action function="page">backupencryption</action>
1876 </actions>
1877 </action>
1878 </page>
1879
1880 <page name="backup_run">
1881 <template name="page"/>
1882
1883 <text style="text_l">
1884 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1885 <text>%tw_operation%</text>
1886 </text>
1887
1888 <text style="text_m">
1889 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1890 <text>%tw_partition% Partition</text>
1891 </text>
1892
1893 <template name="console"/>
1894
1895 <template name="progress_bar"/>
1896
1897 <text style="text_m_accent">
1898 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001899 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001900 </text>
1901
1902 <text style="text_m">
1903 <placement x="%progress_text_x%" y="%row17_y%"/>
1904 <text>%tw_file_progress%</text>
1905 </text>
1906
1907 <text style="text_m">
1908 <placement x="%progress_text_x%" y="%row18_y%"/>
1909 <text>%tw_size_progress%</text>
1910 </text>
1911
1912 <button style="main_button_half_width">
1913 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001915 <action function="cancelbackup"/>
1916 </button>
1917
1918 <action>
1919 <action function="nandroid">backup</action>
1920 </action>
1921
1922 <action>
1923 <condition var1="tw_operation_state" var2="1"/>
1924 <condition var1="tw_cancel_backup" var2="0"/>
1925 <actions>
1926 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001928 <action function="set">tw_show_reboot=1</action>
1929 <action function="page">action_complete</action>
1930 </actions>
1931 </action>
1932
1933 <action>
1934 <condition var1="tw_operation_state" var2="1"/>
1935 <condition var1="tw_cancel_backup" var2="1"/>
1936 <actions>
1937 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001938 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001939 <action function="set">tw_show_reboot=1</action>
1940 <action function="page">action_complete</action>
1941 </actions>
1942 </action>
1943 </page>
1944
1945 <page name="restore">
1946 <template name="page"/>
1947
1948 <text style="text_l">
1949 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001950 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001951 </text>
1952
1953 <text style="text_m">
1954 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001955 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001956 </text>
1957
1958 <template name="sort_options"/>
1959
1960 <fileselector>
1961 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001962 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001963 <filter folders="1" files="0" nav="0"/>
1964 <path name="tw_backups_folder"/>
1965 <data name="tw_restore" default=""/>
1966 <selection name="tw_restore_name"/>
1967 </fileselector>
1968
1969 <button style="main_button_half_width_low">
1970 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001971 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001972 <actions>
1973 <action function="set">tw_back=restore</action>
1974 <action function="overlay">select_storage</action>
1975 </actions>
1976 </button>
1977
1978 <action>
1979 <condition var1="tw_restore" op="modified"/>
1980 <actions>
1981 <action function="readBackup"/>
1982 <action function="page">restore_read</action>
1983 </actions>
1984 </action>
1985
1986 <action>
1987 <touch key="home"/>
1988 <action function="page">main</action>
1989 </action>
1990
1991 <action>
1992 <touch key="back"/>
1993 <action function="page">main</action>
1994 </action>
1995 </page>
1996
1997 <page name="restore_read">
1998 <action>
1999 <condition var1="tw_restore_encrypted" var2="1"/>
2000 <actions>
2001 <action function="set">tw_password_fail=0</action>
2002 <action function="page">restore_decrypt</action>
2003 </actions>
2004 </action>
2005
2006 <action>
2007 <condition var1="tw_restore_encrypted" var2="0"/>
2008 <actions>
2009 <action function="page">restore_select</action>
2010 </actions>
2011 </action>
2012 </page>
2013
2014 <page name="restore_decrypt">
2015 <template name="page"/>
2016
2017 <text style="text_l">
2018 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <text style="text_m">
2023 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002025 </text>
2026
2027 <text style="text_m_accent">
2028 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002029 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002030 </text>
2031
2032 <input>
2033 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2034 <text>%tw_restore_display%</text>
2035 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2036 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2037 <action function="page">try_restore_decrypt</action>
2038 </input>
2039
2040 <fill color="%accent_color%">
2041 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2042 </fill>
2043
2044 <fill color="%text_fail_color%">
2045 <condition var1="tw_password_fail" var2="1"/>
2046 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2047 </fill>
2048
2049 <text style="text_m_fail">
2050 <condition var1="tw_password_fail" var2="1"/>
2051 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002052 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002053 </text>
2054
2055 <button style="main_button_half_width_low">
2056 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002057 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002058 <actions>
2059 <action function="set">tw_page_done=1</action>
2060 <action function="page">restore</action>
2061 </actions>
2062 </button>
2063
2064 <button style="main_button_half_width_low">
2065 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002066 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002067 <actions>
2068 <action function="set">tw_back=restore</action>
2069 <action function="set">tw_action=cmd</action>
2070 <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 -05002071 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2072 <action function="set">tw_text2=%tw_restore_name%</action>
2073 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2074 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2075 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2076 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002077 <action function="page">confirm_action</action>
2078 </actions>
2079 </button>
2080
2081 <template name="keyboardtemplate"/>
2082
2083 <action>
2084 <touch key="home"/>
2085 <action function="page">main</action>
2086 </action>
2087
2088 <action>
2089 <touch key="back"/>
2090 <action function="page">restore</action>
2091 </action>
2092 </page>
2093
2094 <page name="try_restore_decrypt">
2095 <template name="page"/>
2096
2097 <text style="text_l">
2098 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002099 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002100 </text>
2101
2102 <text style="text_m">
2103 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002104 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002105 </text>
2106
2107 <template name="console"/>
2108
2109 <template name="progress_bar"/>
2110
2111 <action>
2112 <action function="decrypt_backup"/>
2113 </action>
2114
2115 <action>
2116 <conditions>
2117 <condition var1="tw_operation_state" var2="1"/>
2118 <condition var1="tw_operation_status" op="!=" var2="0"/>
2119 </conditions>
2120 <actions>
2121 <action function="set">tw_password_fail=1</action>
2122 <action function="page">restore_decrypt</action>
2123 </actions>
2124 </action>
2125
2126 <action>
2127 <conditions>
2128 <condition var1="tw_operation_state" var2="1"/>
2129 <condition var1="tw_operation_status" op="=" var2="0"/>
2130 </conditions>
2131 <actions>
2132 <action function="set">tw_page_done=1</action>
2133 <action function="page">restore_select</action>
2134 </actions>
2135 </action>
2136 </page>
2137
2138 <page name="restore_select">
2139 <template name="page"/>
2140
2141 <text style="text_l">
2142 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </text>
2145
2146 <text style="text_m">
2147 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002148 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002149 </text>
2150
2151 <text style="text_m_accent">
2152 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002153 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002154 </text>
2155
2156 <text style="text_m">
2157 <placement x="%col1_x_left%" y="%row3_y%"/>
2158 <text>%tw_restore_name%</text>
2159 </text>
2160
2161 <fill color="%fileselector_linecolor%">
2162 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2163 </fill>
2164
2165 <button>
2166 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2167 <fill color="%transparent%"/>
2168 <actions>
2169 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2170 <action function="set">tw_fileexists=0</action>
2171 <action function="page">renamebackup</action>
2172 </actions>
2173 </button>
2174
2175 <partitionlist>
2176 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002177 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002178 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2179 <listtype name="restore"/>
2180 </partitionlist>
2181
2182 <text style="text_m_accent">
2183 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002184 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002185 </text>
2186
2187 <checkbox>
2188 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002189 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 <data variable="tw_skip_md5_check"/>
2191 </checkbox>
2192
2193 <button style="main_button_half_width">
2194 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002195 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002196 <actions>
2197 <action function="set">tw_back=restore</action>
2198 <action function="set">tw_action=cmd</action>
2199 <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 -05002200 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002201 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002202 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2203 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2204 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2205 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002206 <action function="page">confirm_action</action>
2207 </actions>
2208 </button>
2209
2210 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002211 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002212 <action function="page">restore_run</action>
2213 </slider>
2214
2215 <action>
2216 <touch key="home"/>
2217 <action function="page">main</action>
2218 </action>
2219
2220 <action>
2221 <touch key="back"/>
2222 <action function="page">restore</action>
2223 </action>
2224 </page>
2225
2226 <page name="renamebackup">
2227 <template name="page"/>
2228
2229 <text style="text_l">
2230 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002231 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002232 </text>
2233
2234 <text style="text_m">
2235 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002236 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </text>
2238
2239 <text style="text_m_accent">
2240 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 </text>
2243
2244 <input>
2245 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2246 <text>%tw_backup_rename%</text>
2247 <data name="tw_backup_rename"/>
2248 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2249 <actions>
2250 <action function="set">tw_back=restore</action>
2251 <action function="set">tw_action=cmd</action>
2252 <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 -05002253 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2254 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2255 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2256 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2257 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002258 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2259 <action function="set">tw_existpage=renamebackup</action>
2260 <action function="set">tw_notexistpage=confirm_action</action>
2261 <action function="page">filecheck</action>
2262 </actions>
2263 </input>
2264
2265 <fill color="%accent_color%">
2266 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2267 </fill>
2268
2269 <fill color="%text_fail_color%">
2270 <condition var1="tw_fileexists" var2="1"/>
2271 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2272 </fill>
2273
2274 <text style="text_m_fail">
2275 <condition var1="tw_fileexists" var2="1"/>
2276 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </text>
2279
2280 <button style="main_button_half_width_low">
2281 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002282 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002283 <action function="page">restore_select</action>
2284 </button>
2285
2286 <template name="keyboardtemplate"/>
2287
2288 <action>
2289 <touch key="home"/>
2290 <action function="page">main</action>
2291 </action>
2292
2293 <action>
2294 <touch key="back"/>
2295 <action function="page">restore_select</action>
2296 </action>
2297 </page>
2298
2299 <page name="restore_run">
2300 <template name="page"/>
2301
2302 <text style="text_l">
2303 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002304 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002305 </text>
2306
2307 <text style="text_m">
2308 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2309 <text>%tw_operation% %tw_partition%</text>
2310 </text>
2311
2312 <template name="console"/>
2313
2314 <template name="progress_bar"/>
2315
2316 <text style="text_m_accent">
2317 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002318 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002319 </text>
2320
2321 <text style="text_m">
2322 <placement x="%progress_text_x%" y="%row18_y%"/>
2323 <text>%tw_size_progress%</text>
2324 </text>
2325
2326 <action>
2327 <condition var1="tw_operation_state" var2="1"/>
2328 <actions>
2329 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002330 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002331 <action function="set">tw_show_reboot=1</action>
2332 <action function="page">action_complete</action>
2333 </actions>
2334 </action>
2335
2336 <action>
2337 <action function="nandroid">restore</action>
2338 </action>
2339 </page>
2340
2341 <page name="mount">
2342 <template name="page"/>
2343
2344 <text style="text_l">
2345 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <text style="text_m">
2350 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 </text>
2353
2354 <partitionlist>
2355 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 <listtype name="mount"/>
2358 </partitionlist>
2359
2360 <button style="checkbox">
2361 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2362 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 <image resource="checkbox_false"/>
2365 <action function="mountsystemtoggle">1</action>
2366 </button>
2367
2368 <button style="checkbox">
2369 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2370 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002371 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002372 <image resource="checkbox_true"/>
2373 <actions>
2374 <action function="set">tw_lifetime_writes=2</action>
2375 <action function="page">system_readonly_check</action>
2376 </actions>
2377 </button>
2378
2379 <button style="main_button_half_width">
2380 <condition var1="tw_has_usb_storage" var2="1"/>
2381 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002383 <action function="page">usb_mount</action>
2384 </button>
2385
2386 <button style="main_button_half_width">
2387 <conditions>
2388 <condition var1="tw_is_encrypted" var2="1"/>
2389 <condition var1="tw_is_decrypted" var2="0"/>
2390 </conditions>
2391 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <action function="page">decrypt</action>
2394 </button>
2395
2396 <button style="main_button_half_width">
2397 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002398 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002399 <actions>
2400 <action function="set">tw_back=mount</action>
2401 <action function="overlay">select_storage</action>
2402 </actions>
2403 </button>
2404
2405 <button style="main_button_half_width">
2406 <conditions>
2407 <condition var1="tw_has_mtp" var2="1"/>
2408 <condition var1="tw_mtp_enabled" var2="0"/>
2409 </conditions>
2410 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <action function="startmtp"/>
2413 </button>
2414
2415 <button style="main_button_half_width">
2416 <conditions>
2417 <condition var1="tw_has_mtp" var2="1"/>
2418 <condition var1="tw_mtp_enabled" var2="1"/>
2419 </conditions>
2420 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002421 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="stopmtp"/>
2423 </button>
2424
2425 <action>
2426 <touch key="home"/>
2427 <action function="page">main</action>
2428 </action>
2429
2430 <action>
2431 <touch key="back"/>
2432 <action function="page">main</action>
2433 </action>
2434 </page>
2435
2436 <page name="usb_mount">
2437 <template name="page"/>
2438
2439 <text style="text_l">
2440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002441 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002442 </text>
2443
2444 <text style="text_m">
2445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002446 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002447 </text>
2448
2449 <text style="text_m_accent">
2450 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 </text>
2453
2454 <text style="text_m">
2455 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002456 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002457 </text>
2458
2459 <text style="text_m">
2460 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 </text>
2463
2464 <button style="main_button_half_width">
2465 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 <action function="page">usb_umount</action>
2468 </button>
2469
2470 <action>
2471 <action function="mount">usb</action>
2472 <action function="set">tw_busy=1</action>
2473 </action>
2474 </page>
2475
2476 <page name="usb_umount">
2477 <action>
2478 <action function="unmount">usb</action>
2479 </action>
2480
2481 <action>
2482 <action function="page">mount</action>
2483 <action function="set">tw_busy=0</action>
2484 </action>
2485 </page>
2486
2487 <page name="system_readonly_check">
2488 <action>
2489 <action function="checkpartitionlifetimewrites">/system</action>
2490 </action>
2491
2492 <action>
2493 <condition var1="tw_lifetime_writes" var2="1"/>
2494 <actions>
2495 <action function="mountsystemtoggle">0</action>
2496 <action function="page">mount</action>
2497 </actions>
2498 </action>
2499
2500 <action>
2501 <condition var1="tw_lifetime_writes" var2="0"/>
2502 <actions>
2503 <action function="set">tw_back=mount</action>
2504 <action function="page">system_readonly</action>
2505 </actions>
2506 </action>
2507 </page>
2508
2509 <page name="reboot">
2510 <template name="page"/>
2511
2512 <text style="text_l">
2513 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002514 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002515 </text>
2516
2517 <button style="main_button">
2518 <condition var1="tw_reboot_system" var2="1"/>
2519 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 <actions>
2522 <action function="set">tw_back=reboot</action>
2523 <action function="set">tw_action=reboot</action>
2524 <action function="set">tw_action_param=system</action>
2525 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2527 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2528 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2529 <action function="set">tw_action_text2=</action>
2530 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2531 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002532 <action function="page">rebootcheck</action>
2533 </actions>
2534 </button>
2535
2536 <button style="main_button">
2537 <condition var1="tw_reboot_poweroff" var2="1"/>
2538 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <actions>
2541 <action function="set">tw_back=reboot</action>
2542 <action function="set">tw_action=reboot</action>
2543 <action function="set">tw_action_param=poweroff</action>
2544 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2546 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2547 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2548 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2549 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002550 <action function="page">rebootcheck</action>
2551 </actions>
2552 </button>
2553
2554 <button style="main_button">
2555 <condition var1="tw_reboot_recovery" var2="1"/>
2556 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002557 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002558 <actions>
2559 <action function="set">tw_back=reboot</action>
2560 <action function="set">tw_action=reboot</action>
2561 <action function="set">tw_action_param=recovery</action>
2562 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002563 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2564 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2565 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2566 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2567 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002568 <action function="page">rebootcheck</action>
2569 </actions>
2570 </button>
2571
2572 <button style="main_button">
2573 <condition var1="tw_reboot_bootloader" var2="1"/>
2574 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002576 <actions>
2577 <action function="set">tw_back=reboot</action>
2578 <action function="set">tw_action=reboot</action>
2579 <action function="set">tw_action_param=bootloader</action>
2580 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002581 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2582 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2583 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2584 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2585 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002586 <action function="page">rebootcheck</action>
2587 </actions>
2588 </button>
2589
2590 <button style="main_button">
2591 <condition var1="tw_download_mode" var2="1"/>
2592 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002593 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002594 <actions>
2595 <action function="set">tw_back=reboot</action>
2596 <action function="set">tw_action=reboot</action>
2597 <action function="set">tw_action_param=download</action>
2598 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2600 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2601 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2602 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2603 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002604 <action function="page">rebootcheck</action>
2605 </actions>
2606 </button>
2607
2608 <action>
2609 <touch key="home"/>
2610 <action function="page">main</action>
2611 </action>
2612
2613 <action>
2614 <touch key="back"/>
2615 <action function="page">main</action>
2616 </action>
2617 </page>
2618
2619 <page name="system_readonly">
2620 <template name="page"/>
2621
2622 <text style="text_l">
2623 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 </text>
2626
2627 <text style="text_m_accent">
2628 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002629 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 </text>
2631
2632 <text style="text_m">
2633 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <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 +01002635 </text>
2636
2637 <text style="text_m">
2638 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <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 +01002640 </text>
2641
2642 <text style="text_m_fail">
2643 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 </text>
2646
2647 <checkbox>
2648 <condition var1="tw_is_encrypted" var2="0"/>
2649 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 <data variable="tw_never_show_system_ro_page"/>
2652 </checkbox>
2653
2654 <button style="main_button_half_width">
2655 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <actions>
2658 <action function="mountsystemtoggle">1</action>
2659 <action function="set">tw_page_done=1</action>
2660 <action function="page">%tw_back%</action>
2661 </actions>
2662 </button>
2663
z31s1g608d7ff2016-01-18 19:47:25 +01002664 <button style="main_button_half_width">
2665 <placement x="%col2_x_left%" y="%row15a_y%"/>
2666 <text>{@sel_lang_btn=Select Language}</text>
2667 <action function="overlay">select_language</action>
2668 </button>
2669
z31s1g28f0a922015-11-07 18:50:22 +01002670 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002671 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002672 <actions>
2673 <action function="mountsystemtoggle">0</action>
2674 <action function="set">tw_page_done=1</action>
2675 <action function="page">%tw_back%</action>
2676 </actions>
2677 </slider>
2678 </page>
2679
2680 <page name="settings">
2681 <template name="page"/>
2682
2683 <text style="text_l">
2684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002685 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002686 </text>
2687
2688 <text style="text_m">
2689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002691 </text>
2692
2693 <template name="tabs_settings"/>
2694
2695 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002697 </fill>
2698
2699 <listbox style="scrolllist">
2700 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2701 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_signed_zip_verify"/>
2704 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_rm_rf"/>
2707 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002709 <data variable="tw_skip_md5_generate"/>
2710 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002711 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002712 <data variable="tw_skip_md5_check"/>
2713 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002715 <data variable="tw_military_time"/>
2716 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002717 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002718 <data variable="tw_simulate_actions"/>
2719 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002720 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002721 <condition var1="tw_simulate_actions" var2="1"/>
2722 <data variable="tw_simulate_fail"/>
2723 </listitem>
2724 </listbox>
2725
2726 <checkbox>
2727 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002728 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002729 <data variable="tw_samsung_navbar"/>
2730 </checkbox>
2731
2732 <button style="radiobutton">
2733 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2734 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002735 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002736 <image resource="radio_false"/>
2737 <action function="set">tw_navbar_button_position=0</action>
2738 </button>
2739
2740 <button style="radiobutton">
2741 <condition var1="tw_navbar_button_position" var2="0"/>
2742 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002743 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002744 <image resource="radio_true"/>
2745 <action function="set">tw_navbar_button_position=0</action>
2746 </button>
2747
2748 <button style="radiobutton">
2749 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2750 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002752 <image resource="radio_false"/>
2753 <action function="set">tw_navbar_button_position=1</action>
2754 </button>
2755
2756 <button style="radiobutton">
2757 <condition var1="tw_navbar_button_position" var2="1"/>
2758 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002759 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002760 <image resource="radio_true"/>
2761 <action function="set">tw_navbar_button_position=1</action>
2762 </button>
2763
2764 <button style="radiobutton">
2765 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2766 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <image resource="radio_false"/>
2769 <action function="set">tw_navbar_button_position=2</action>
2770 </button>
2771
2772 <button style="radiobutton">
2773 <condition var1="tw_navbar_button_position" var2="2"/>
2774 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002776 <image resource="radio_true"/>
2777 <action function="set">tw_navbar_button_position=2</action>
2778 </button>
2779
2780 <button style="main_button_half_width">
2781 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002782 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002783 <action function="restoredefaultsettings"/>
2784 </button>
2785
2786 <action>
2787 <touch key="home"/>
2788 <action function="page">main</action>
2789 </action>
2790
2791 <action>
2792 <touch key="back"/>
2793 <action function="page">main</action>
2794 </action>
2795 </page>
2796
2797 <page name="settings_timezone">
2798 <template name="page"/>
2799
2800 <text style="text_l">
2801 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002803 </text>
2804
2805 <text style="text_m">
2806 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 </text>
2809
2810 <template name="tabs_settings"/>
2811
2812 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002814 </fill>
2815
2816 <listbox>
2817 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002818 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002819 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002820 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2821 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2822 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2823 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2824 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2825 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2826 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2827 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2828 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2829 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2830 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2831 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2832 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2833 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2834 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2835 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2836 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2837 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2838 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2839 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2840 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2841 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2842 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2843 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002844 </listbox>
2845
2846 <text style="text_m_accent">
2847 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002848 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002849 </text>
2850
2851 <button style="button_quarter_width">
2852 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_time_zone_guioffset=0</action>
2855 </button>
2856
2857 <button style="button_quarter_width">
2858 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <action function="set">tw_time_zone_guioffset=15</action>
2861 </button>
2862
2863 <button style="button_quarter_width">
2864 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002866 <action function="set">tw_time_zone_guioffset=30</action>
2867 </button>
2868
2869 <button style="button_quarter_width">
2870 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002872 <action function="set">tw_time_zone_guioffset=45</action>
2873 </button>
2874
2875 <checkbox>
2876 <placement x="%col1_x_right%" y="%row7_y%"/>
2877 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002878 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002879 <data variable="tw_time_zone_guidst"/>
2880 <image checked="checkbox_true" unchecked="checkbox_false"/>
2881 </checkbox>
2882
2883 <text color="%text_color%">
2884 <font resource="font_m"/>
2885 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002886 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002887 </text>
2888
2889 <button>
2890 <highlight color="%highlight_color%"/>
2891 <placement x="%col2_x_right%" y="%row15a_y%"/>
2892 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002893 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002894 <image resource="main_button_half_width"/>
2895 <action function="setguitimezone"/>
2896 </button>
2897
2898 <action>
2899 <touch key="home"/>
2900 <action function="page">main</action>
2901 </action>
2902
2903 <action>
2904 <touch key="back"/>
2905 <action function="page">main</action>
2906 </action>
2907 </page>
2908
2909 <page name="settings_screen">
2910 <template name="page"/>
2911
2912 <text style="text_l">
2913 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002914 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002915 </text>
2916
2917 <text style="text_m">
2918 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002920 </text>
2921
2922 <template name="tabs_settings"/>
2923
2924 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </fill>
2927
2928 <button>
2929 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2930 <font resource="font_m" color="%text_color%"/>
2931 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2932 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002933 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002934 <image resource="checkbox_false"/>
2935 <action function="set">tw_screen_timeout_secs=60</action>
2936 </button>
2937
2938 <button>
2939 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2940 <font resource="font_m" color="%text_color%"/>
2941 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2942 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 <image resource="checkbox_true"/>
2945 <action function="set">tw_screen_timeout_secs=0</action>
2946 </button>
2947
2948 <slidervalue>
2949 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2950 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2951 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002952 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002953 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2954 </slidervalue>
2955
2956 <slidervalue>
2957 <condition var1="tw_has_brightnesss_file" var2="1"/>
2958 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002959 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002960 <data variable="tw_brightness_pct" min="10" max="100"/>
2961 <actions>
2962 <action function="set">tw_brightness=%tw_brightness_max%</action>
2963 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2964 <action function="compute">tw_brightness/100</action>
2965 <action function="setbrightness">%tw_brightness%</action>
2966 </actions>
2967 </slidervalue>
2968
2969 <action>
2970 <touch key="home"/>
2971 <action function="page">main</action>
2972 </action>
2973
2974 <action>
2975 <touch key="back"/>
2976 <action function="page">main</action>
2977 </action>
2978 </page>
2979
2980 <page name="settings_vibration">
2981 <template name="page"/>
2982
2983 <text style="text_l">
2984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002986 </text>
2987
2988 <text style="text_m">
2989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <template name="tabs_settings"/>
2994
2995 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </fill>
2998
2999 <slidervalue>
3000 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <data variable="tw_button_vibrate" min="0" max="300"/>
3003 </slidervalue>
3004
3005 <slidervalue>
3006 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3009 </slidervalue>
3010
3011 <slidervalue>
3012 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_action_vibrate" min="0" max="500"/>
3015 </slidervalue>
3016
3017 <action>
3018 <touch key="home"/>
3019 <action function="page">main</action>
3020 </action>
3021
3022 <action>
3023 <touch key="back"/>
3024 <action function="page">main</action>
3025 </action>
3026 </page>
3027
Ethan Yonker74db1572015-10-28 12:44:49 -05003028 <page name="settings_language">
3029 <template name="page"/>
3030
3031 <text style="text_l">
3032 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3033 <text>{@settings_hdr=Settings}</text>
3034 </text>
3035
3036 <text style="text_m">
3037 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3038 <text>{@language_hdr=Language - %tw_language_display%}</text>
3039 </text>
3040
3041 <template name="tabs_settings"/>
3042
3043 <fill color="%text_color%">
3044 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3045 </fill>
3046
3047 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003048 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003049 <text>{@select_language=Select Language:}</text>
3050 <icon selected="radio_true" unselected="radio_false" />
3051 <data name="tw_language" />
3052 </listbox>
3053
z31s1g56189522016-01-13 19:12:40 +01003054 <button>
3055 <highlight color="%highlight_color%"/>
3056 <placement x="%col2_x_right%" y="%row15a_y%"/>
3057 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003059 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003060 <action function="setlanguage"></action>
3061 </button>
3062
3063 <action>
3064 <touch key="home" />
3065 <action function="page">main</action>
3066 </action>
3067
3068 <action>
3069 <touch key="back" />
3070 <action function="page">settings</action>
3071 </action>
3072 </page>
3073
z31s1g28f0a922015-11-07 18:50:22 +01003074 <page name="advanced">
3075 <template name="page"/>
3076
3077 <text style="text_l">
3078 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003080 </text>
3081
3082 <button style="main_button">
3083 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <actions>
3086 <action function="set">tw_back=advanced</action>
3087 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3089 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3090 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3091 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <action function="page">confirm_action</action>
3093 </actions>
3094 </button>
3095
3096 <button style="main_button">
3097 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003099 <action function="page">fixperms</action>
3100 </button>
3101
3102 <button style="main_button">
3103 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3104 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003106 <actions>
3107 <action function="set">partitionlisterror=0</action>
3108 <action function="page">partsdcardsel</action>
3109 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003110 </button>
3111
3112 <button style="main_button">
3113 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003115 <action function="page">filemanagerlist</action>
3116 </button>
3117
3118 <button style="main_button">
3119 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003121 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003122 </button>
3123
3124 <button style="main_button">
3125 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003127 <action function="reload"/>
3128 </button>
3129
3130 <button style="main_button">
3131 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003132 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003133 <action function="page">sideload</action>
3134 </button>
3135
3136 <button style="main_button">
3137 <condition var1="tw_show_dumlock" var2="1"/>
3138 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <action function="page">htcdumlock</action>
3141 </button>
3142
3143 <button style="main_button">
3144 <condition var1="tw_has_injecttwrp" var2="1"/>
3145 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 <actions>
3148 <action function="set">tw_back=advanced</action>
3149 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3151 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3152 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3153 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003154 <action function="page">confirm_action</action>
3155 </actions>
3156 </button>
3157
3158 <action>
3159 <touch key="home"/>
3160 <action function="page">main</action>
3161 </action>
3162
3163 <action>
3164 <touch key="back"/>
3165 <action function="page">main</action>
3166 </action>
3167 </page>
3168
Ethan Yonker483e9f42016-01-11 22:21:18 -06003169 <page name="partsdcardsel">
3170 <template name="page"/>
3171
3172 <text style="text_l">
3173 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3174 <text>{@advanced_hdr=Advanced}</text>
3175 </text>
3176
3177 <text style="text_m">
3178 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3179 <text>{@part_sd_hdr=Partition SD Card}</text>
3180 </text>
3181
3182 <partitionlist style="partitionlist_storage">
3183 <text>{@sel_storage_list=Select Storage}</text>
3184 <data name="tw_storage_path"/>
3185 <listtype name="storage"/>
3186 </partitionlist>
3187
3188 <button style="button_third_width">
3189 <placement x="%dialog_button_x%" y="%row13_y%"/>
3190 <text>{@ok_btn=OK}</text>
3191 <actions>
3192 <action function="getpartitiondetails">tw_storage_path</action>
3193 <action function="page">partsdcardcheck</action>
3194 </actions>
3195 </button>
3196
3197 <text style="text_m_fail">
3198 <condition var1="partitionlisterror" var2="1"/>
3199 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3200 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3201 </text>
3202
3203 <action>
3204 <touch key="home"/>
3205 <action function="page">main</action>
3206 </action>
3207
3208 <action>
3209 <touch key="back"/>
3210 <action function="page">advanced</action>
3211 </action>
3212 </page>
3213
3214 <page name="partsdcardcheck">
3215 <action>
3216 <condition var1="tw_partition_removable" op="=" var2="1"/>
3217 <actions>
3218 <action function="set">partitionlisterror=0</action>
3219 <action function="page">partsdcard</action>
3220 </actions>
3221 </action>
3222
3223 <action>
3224 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3225 <actions>
3226 <action function="set">partitionlisterror=1</action>
3227 <action function="page">partsdcardsel</action>
3228 </actions>
3229 </action>
3230 </page>
3231
z31s1g28f0a922015-11-07 18:50:22 +01003232 <page name="partsdcard">
3233 <template name="page"/>
3234
3235 <text style="text_l">
3236 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 </text>
3239
3240 <text style="text_m">
3241 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 </text>
3244
3245 <text style="text_m_fail">
3246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003247 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003248 </text>
3249
3250 <text style="text_m_fail">
3251 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </text>
3254
3255 <text style="text_m_accent">
3256 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 </text>
3259
3260 <text style="text_m">
3261 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3262 <text>%tw_sdext_size%</text>
3263 </text>
3264
3265 <button style="button_quarter_width">
3266 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003268 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </button>
3270
3271 <button style="button_quarter_width">
3272 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003274 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003275 </button>
3276
3277 <text style="text_m_accent">
3278 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003279 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003280 </text>
3281
3282 <text style="text_m">
3283 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3284 <text>%tw_swap_size%</text>
3285 </text>
3286
3287 <button style="button_quarter_width">
3288 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003289 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003290 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </button>
3292
3293 <button style="button_quarter_width">
3294 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003296 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003297 </button>
3298
3299 <text style="text_m_accent">
3300 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003302 </text>
3303
3304 <text style="text_m">
3305 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3306 <text>%tw_sdpart_file_system%</text>
3307 </text>
3308
3309 <button style="button_quarter_width">
3310 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3311 <text>EXT3</text>
3312 <action function="set">tw_sdpart_file_system=ext3</action>
3313 </button>
3314
3315 <button style="button_quarter_width">
3316 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3317 <text>EXT4</text>
3318 <action function="set">tw_sdpart_file_system=ext4</action>
3319 </button>
3320
3321 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <action function="page">partsdcardaction</action>
3324 <actions>
3325 <action function="set">tw_back=partsdcard</action>
3326 <action function="set">tw_action=partitionsd</action>
3327 <action function="set">tw_has_action2=1</action>
3328 <action function="set">tw_action2=set</action>
3329 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3331 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3332 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <action function="page">action_page</action>
3334 </actions>
3335 </slider>
3336
3337 <action>
3338 <touch key="home"/>
3339 <action function="page">main</action>
3340 </action>
3341
3342 <action>
3343 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003344 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003345 </action>
3346 </page>
3347
3348 <page name="htcdumlock">
3349 <template name="page"/>
3350
3351 <text style="text_l">
3352 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003354 </text>
3355
3356 <text style="text_m">
3357 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003359 </text>
3360
3361 <button style="main_button_m">
3362 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003364 <actions>
3365 <action function="set">tw_back=htcdumlock</action>
3366 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3368 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3369 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3370 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003371 <action function="page">confirm_action</action>
3372 </actions>
3373 </button>
3374
3375 <button style="main_button_m">
3376 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 <actions>
3379 <action function="set">tw_back=htcdumlock</action>
3380 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3382 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3383 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3384 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <action function="page">confirm_action</action>
3386 </actions>
3387 </button>
3388
3389 <button style="main_button_m">
3390 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003392 <actions>
3393 <action function="set">tw_back=htcdumlock</action>
3394 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3396 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3397 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3398 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003399 <action function="page">confirm_action</action>
3400 </actions>
3401 </button>
3402
3403 <action>
3404 <touch key="home"/>
3405 <action function="page">main</action>
3406 </action>
3407
3408 <action>
3409 <touch key="back"/>
3410 <action function="page">advanced</action>
3411 </action>
3412 </page>
3413
3414 <page name="lock">
3415 <background color="%semi_transparent%"/>
3416
3417 <image>
3418 <image resource="unlock_icon"/>
3419 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3420 </image>
3421
3422 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003423 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003424 <action function="overlay"/>
3425 </slider>
3426 </page>
3427
3428 <page name="filemanagerlist">
3429 <template name="page"/>
3430
3431 <text style="text_l">
3432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003434 </text>
3435
3436 <text style="text_m">
3437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </text>
3440
3441 <template name="sort_options"/>
3442
3443 <fileselector>
3444 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3445 <text>%tw_file_location1%</text>
3446 <filter folders="1" files="1"/>
3447 <path name="tw_file_location1" default="/"/>
3448 <data name="tw_filename1"/>
3449 <selection name="tw_selection1"/>
3450 </fileselector>
3451
3452 <button style="main_button_half_width_low">
3453 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <actions>
3456 <action function="set">tw_filename1=tw_file_location1</action>
3457 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="page">filemanageroptions</action>
3460 </actions>
3461 </button>
3462
3463 <action>
3464 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <action function="set">tw_fm_isfolder=0</action>
3467 </actions>
3468 </action>
3469
3470 <action>
3471 <touch key="home"/>
3472 <action function="page">main</action>
3473 </action>
3474
3475 <action>
3476 <touch key="back"/>
3477 <action function="page">advanced</action>
3478 </action>
3479
3480 <action>
3481 <condition var1="tw_filename1" op="modified"/>
3482 <action function="page">filemanageroptions</action>
3483 </action>
3484 </page>
3485
3486 <page name="filemanageroptions">
3487 <template name="page"/>
3488
3489 <text style="text_l">
3490 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 </text>
3493
3494 <text style="text_m">
3495 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </text>
3498
3499 <text style="text_m_accent">
3500 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <text style="text_m">
3505 <placement x="%col1_x_left%" y="%row3_y%"/>
3506 <text>%tw_filename1%</text>
3507 </text>
3508
3509 <button style="main_button_half_width">
3510 <condition var1="tw_fm_isfolder" var2="0"/>
3511 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <actions>
3514 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003515 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003516 <action function="page">choosedestinationfolder</action>
3517 </actions>
3518 </button>
3519
3520 <button style="main_button_half_width">
3521 <condition var1="tw_fm_isfolder" var2="1"/>
3522 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <actions>
3525 <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 -05003526 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <action function="page">choosedestinationfolder</action>
3528 </actions>
3529 </button>
3530
3531 <button style="main_button_half_width">
3532 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <actions>
3535 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003537 <action function="page">choosedestinationfolder</action>
3538 </actions>
3539 </button>
3540
3541 <button style="main_button_half_width">
3542 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003543 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003544 <actions>
3545 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003546 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003547 <action function="set">tw_fm_text2=</action>
3548 <action function="set">tw_fm_text3=</action>
3549 <action function="set">tw_include_text3=0</action>
3550 <action function="set">tw_back=filemanageroptions</action>
3551 <action function="page">filemanagerconfirm</action>
3552 </actions>
3553 </button>
3554
3555 <button style="main_button_half_width">
3556 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <actions>
3559 <action function="set">tw_filemanager_rename=0000</action>
3560 <action function="set">tw_fm_text2=</action>
3561 <action function="set">tw_fm_text3=</action>
3562 <action function="set">tw_include_text3=0</action>
3563 <action function="set">tw_back=filemanageroptions</action>
3564 <action function="page">filemanagerchmod</action>
3565 </actions>
3566 </button>
3567
3568 <button style="main_button_half_width">
3569 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003570 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003571 <actions>
3572 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003574 <action function="set">tw_fm_text2=</action>
3575 <action function="set">tw_fm_text3=</action>
3576 <action function="set">tw_include_text3=0</action>
3577 <action function="set">tw_back=filemanageroptions</action>
3578 <action function="page">filemanagerconfirm</action>
3579 </actions>
3580 </button>
3581
3582 <button style="main_button_half_width">
3583 <condition var1="tw_fm_isfolder" var2="0"/>
3584 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <actions>
3587 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <action function="set">tw_filemanager_command=mv</action>
3590 <action function="page">filemanagerrenamefile</action>
3591 </actions>
3592 </button>
3593
3594 <button style="main_button_half_width">
3595 <condition var1="tw_fm_isfolder" var2="1"/>
3596 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 <actions>
3599 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3602 <action function="page">filemanagerrenamefolder</action>
3603 </actions>
3604 </button>
3605
3606 <action>
3607 <touch key="home"/>
3608 <action function="page">main</action>
3609 </action>
3610
3611 <action>
3612 <touch key="back"/>
3613 <action function="page">filemanagerlist</action>
3614 </action>
3615 </page>
3616
3617 <page name="choosedestinationfolder">
3618 <template name="page"/>
3619
3620 <text style="text_l">
3621 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003623 </text>
3624
3625 <text style="text_m">
3626 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 </text>
3629
3630 <template name="sort_options"/>
3631
3632 <fileselector>
3633 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3634 <text>%tw_file_location2%</text>
3635 <filter folders="1" files="0"/>
3636 <path name="tw_file_location2" default="/"/>
3637 <data name="tw_filename2"/>
3638 <selection name="tw_selection2"/>
3639 </fileselector>
3640
3641 <button style="main_button_half_width_low">
3642 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 <actions>
3645 <action function="set">tw_fm_text2=to</action>
3646 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3647 <action function="set">tw_include_text3=1</action>
3648 <action function="set">tw_back=filemanageroptions</action>
3649 <action function="page">filemanagerconfirm</action>
3650 </actions>
3651 </button>
3652
3653 <action>
3654 <touch key="home"/>
3655 <action function="page">main</action>
3656 </action>
3657
3658 <action>
3659 <touch key="back"/>
3660 <action function="page">filemanageroptions</action>
3661 </action>
3662 </page>
3663
3664 <page name="filemanagerrenamefile">
3665 <template name="page"/>
3666
3667 <text style="text_l">
3668 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 </text>
3671
3672 <text style="text_m">
3673 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 </text>
3676
3677 <text style="text_m_accent">
3678 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003679 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003680 </text>
3681
3682 <input>
3683 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3684 <text>%tw_filemanager_rename%</text>
3685 <data name="tw_filemanager_rename"/>
3686 <restrict minlen="1" maxlen="128"/>
3687 <actions>
3688 <action function="set">tw_fm_text2=to</action>
3689 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3690 <action function="set">tw_include_text3=1</action>
3691 <action function="set">tw_back=filemanageroptions</action>
3692 <action function="page">filemanagerconfirm</action>
3693 </actions>
3694 </input>
3695
3696 <fill color="%accent_color%">
3697 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3698 </fill>
3699
3700 <button style="main_button_half_width_low">
3701 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 <action function="page">filemanageroptions</action>
3704 </button>
3705
3706 <template name="keyboardtemplate"/>
3707
3708 <action>
3709 <touch key="home"/>
3710 <action function="page">main</action>
3711 </action>
3712
3713 <action>
3714 <touch key="back"/>
3715 <action function="page">filemanageroptions</action>
3716 </action>
3717 </page>
3718
3719 <page name="filemanagerrenamefolder">
3720 <template name="page"/>
3721
3722 <text style="text_l">
3723 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 </text>
3726
3727 <text style="text_m">
3728 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 </text>
3731
3732 <text style="text_m_accent">
3733 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003734 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003735 </text>
3736
3737 <input>
3738 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3739 <text>%tw_filemanager_rename%</text>
3740 <data name="tw_filemanager_rename"/>
3741 <restrict minlen="1" maxlen="128"/>
3742 <actions>
3743 <action function="set">tw_fm_text2=to</action>
3744 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3745 <action function="set">tw_include_text3=1</action>
3746 <action function="set">tw_back=filemanageroptions</action>
3747 <action function="page">filemanagerconfirm</action>
3748 </actions>
3749 </input>
3750
3751 <fill color="%accent_color%">
3752 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3753 </fill>
3754
3755 <button style="main_button_half_width_low">
3756 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003758 <action function="page">filemanageroptions</action>
3759 </button>
3760
3761 <template name="keyboardtemplate"/>
3762
3763 <action>
3764 <touch key="home"/>
3765 <action function="page">main</action>
3766 </action>
3767
3768 <action>
3769 <touch key="back"/>
3770 <action function="page">filemanageroptions</action>
3771 </action>
3772 </page>
3773
3774 <page name="filemanagerchmod">
3775 <template name="page"/>
3776
3777 <text style="text_l">
3778 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003780 </text>
3781
3782 <text style="text_m">
3783 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003785 </text>
3786
3787 <text style="text_m_accent">
3788 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </text>
3791
3792 <input>
3793 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3794 <text>%tw_filemanager_rename%</text>
3795 <data name="tw_filemanager_rename"/>
3796 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3797 <actions>
3798 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3799 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3800 <action function="set">tw_back=filemanageroptions</action>
3801 <action function="page">filemanagerconfirm</action>
3802 </actions>
3803 </input>
3804
3805 <fill color="%accent_color%">
3806 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3807 </fill>
3808
3809 <button style="main_button_half_width_low">
3810 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003811 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003812 <action function="page">filemanageroptions</action>
3813 </button>
3814
3815 <template name="keyboardtemplate"/>
3816
3817 <action>
3818 <touch key="home"/>
3819 <action function="page">main</action>
3820 </action>
3821
3822 <action>
3823 <touch key="back"/>
3824 <action function="page">filemanageroptions</action>
3825 </action>
3826 </page>
3827
3828 <page name="filemanagerconfirm">
3829 <template name="page"/>
3830
3831 <text style="text_l">
3832 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003834 </text>
3835
3836 <text style="text_m">
3837 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 </text>
3840
3841 <text style="text_m_accent">
3842 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3843 <text>%tw_fm_text1%</text>
3844 </text>
3845
3846 <text style="text_m">
3847 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3848 <text>%tw_filename1%</text>
3849 </text>
3850
3851 <text style="text_m_accent">
3852 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3853 <text>%tw_fm_text2%</text>
3854 </text>
3855
3856 <text style="text_m">
3857 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3858 <text>%tw_fm_text3%</text>
3859 </text>
3860
3861 <text style="text_m">
3862 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003864 </text>
3865
3866 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003867 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003868 <action function="page">filemanageraction</action>
3869 </slider>
3870
3871 <action>
3872 <touch key="back"/>
3873 <action function="page">%tw_back%</action>
3874 </action>
3875
3876 <action>
3877 <touch key="home"/>
3878 <action function="page">main</action>
3879 </action>
3880 </page>
3881
3882 <page name="filemanageraction">
3883 <template name="page"/>
3884
3885 <text style="text_l">
3886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 </text>
3889
3890 <text style="text_m">
3891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3892 <text>%tw_fm_text1%</text>
3893 </text>
3894
3895 <template name="console"/>
3896
3897 <template name="progress_bar"/>
3898
3899 <action>
3900 <conditions>
3901 <condition var1="tw_operation_state" var2="1"/>
3902 <condition var1="tw_operation_status" var2="0"/>
3903 </conditions>
3904 <actions>
3905 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003906 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003907 <action function="page">action_complete</action>
3908 </actions>
3909 </action>
3910
3911 <action>
3912 <conditions>
3913 <condition var1="tw_operation_state" var2="1"/>
3914 <condition var1="tw_operation_status" op="!=" var2="0"/>
3915 </conditions>
3916 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003917 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003918 <action function="page">action_complete</action>
3919 </actions>
3920 </action>
3921
3922 <action>
3923 <condition var1="tw_include_text3" var2="0"/>
3924 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3925 </action>
3926
3927 <action>
3928 <condition var1="tw_include_text3" var2="1"/>
3929 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3930 </action>
3931 </page>
3932
3933 <page name="decrypt">
3934 <template name="page"/>
3935
3936 <action>
3937 <condition var1="tw_crypto_pwtype" var2="2"/>
3938 <action function="page">decrypt_pattern</action>
3939 </action>
3940
3941 <text style="text_l">
3942 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003943 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003944 </text>
3945
3946 <text style="text_m">
3947 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003948 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003949 </text>
3950
3951 <text style="text_m_accent">
3952 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003954 </text>
3955
3956 <input>
3957 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3958 <text>%tw_crypto_display%</text>
3959 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3960 <restrict minlen="1" maxlen="254"/>
3961 <action function="page">trydecrypt</action>
3962 </input>
3963
3964 <fill color="%accent_color%">
3965 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3966 </fill>
3967
3968 <fill color="%text_fail_color%">
3969 <condition var1="tw_password_fail" var2="1"/>
3970 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3971 </fill>
3972
3973 <text style="text_m_fail">
3974 <condition var1="tw_password_fail" var2="1"/>
3975 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 </text>
3978
3979 <button style="main_button_half_width_low">
3980 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 <actions>
3983 <action function="set">tw_page_done=1</action>
3984 <action function="page">main</action>
3985 </actions>
3986 </button>
3987
z31s1g608d7ff2016-01-18 19:47:25 +01003988 <button style="main_button_half_width_low">
3989 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
3990 <text>{@sel_lang_btn=Select Language}</text>
3991 <action function="overlay">select_language</action>
3992 </button>
3993
z31s1g28f0a922015-11-07 18:50:22 +01003994 <template name="keyboardtemplate"/>
3995 </page>
3996
3997 <page name="decrypt_pattern">
3998 <template name="page"/>
3999
4000 <text style="text_l">
4001 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004002 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004003 </text>
4004
4005 <text style="text_m">
4006 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004008 </text>
4009
4010 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004011 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
Aleksa Saraib25a1832015-12-31 17:36:00 +01004015 <text style="text_m_fail">
4016 <condition var1="tw_password_fail" var2="1"/>
4017 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
4018 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4019 </text>
4020
z31s1g28f0a922015-11-07 18:50:22 +01004021 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004022 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004023 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4024 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4025 <data name="tw_crypto_password"/>
4026 <action function="page">trydecrypt</action>
4027 </patternpassword>
4028
Aleksa Saraib25a1832015-12-31 17:36:00 +01004029 <button style="main_button_half_width_low">
4030 <placement x="%col_button_right%" y="%row1a_y%"/>
4031 <text>3x3</text>
4032 <action function="set">tw_gui_pattern_grid_size=3</action>
4033 </button>
4034
4035 <button style="main_button_half_width_low">
4036 <placement x="%col_button_right%" y="%row4a_y%"/>
4037 <text>4x4</text>
4038 <action function="set">tw_gui_pattern_grid_size=4</action>
4039 </button>
4040
4041 <button style="main_button_half_width_low">
4042 <placement x="%col_button_right%" y="%row7a_y%"/>
4043 <text>5x5</text>
4044 <action function="set">tw_gui_pattern_grid_size=5</action>
4045 </button>
4046
4047 <button style="main_button_half_width_low">
4048 <placement x="%col_button_right%" y="%row10a_y%"/>
4049 <text>6x6</text>
4050 <action function="set">tw_gui_pattern_grid_size=6</action>
4051 </button>
4052
z31s1g28f0a922015-11-07 18:50:22 +01004053 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004054 <placement x="%col1_x_right%" y="%row15a_y%"/>
4055 <text>{@sel_lang_btn=Select Language}</text>
4056 <action function="overlay">select_language</action>
4057 </button>
4058
4059 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004060 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004061 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004062 <actions>
4063 <action function="set">tw_page_done=1</action>
4064 <action function="page">main</action>
4065 </actions>
4066 </button>
4067 </page>
4068
4069 <page name="trydecrypt">
4070 <template name="page"/>
4071
4072 <text style="text_l">
4073 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 </text>
4076
4077 <text style="text_m">
4078 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <template name="console"/>
4083
4084 <template name="progress_bar"/>
4085
4086 <action>
4087 <action function="decrypt"/>
4088 </action>
4089
4090 <action>
4091 <conditions>
4092 <condition var1="tw_operation_state" var2="1"/>
4093 <condition var1="tw_operation_status" op="!=" var2="0"/>
4094 </conditions>
4095 <actions>
4096 <action function="set">tw_password_fail=1</action>
4097 <action function="page">decrypt</action>
4098 </actions>
4099 </action>
4100
4101 <action>
4102 <conditions>
4103 <condition var1="tw_operation_state" var2="1"/>
4104 <condition var1="tw_operation_status" op="=" var2="0"/>
4105 </conditions>
4106 <actions>
4107 <action function="set">tw_page_done=1</action>
4108 <action function="page">main</action>
4109 </actions>
4110 </action>
4111 </page>
4112
z31s1g28f0a922015-11-07 18:50:22 +01004113 <page name="terminalcommand">
4114 <template name="page"/>
4115
4116 <fill color="%background_color%">
4117 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4118 </fill>
4119
z31s1g56189522016-01-13 19:12:40 +01004120 <terminal>
4121 <condition var1="tw_hide_kb" var2="0"/>
4122 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4123 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004124
z31s1g56189522016-01-13 19:12:40 +01004125 <terminal>
4126 <condition var1="tw_hide_kb" var2="1"/>
4127 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4128 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004129
z31s1g56189522016-01-13 19:12:40 +01004130 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004131
z31s1g56189522016-01-13 19:12:40 +01004132 <object type="fill" color="#000000">
4133 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4134 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004135
z31s1g608d7ff2016-01-18 19:47:25 +01004136 <button>
z31s1g56189522016-01-13 19:12:40 +01004137 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4138 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4139 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4140 <image resource="back" />
4141 <condition var1="tw_busy" var2="0" />
4142 <actions>
4143 <action function="set">tw_hide_kb=0</action>
4144 <action function="page">advanced</action>
4145 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004146 </button>
z31s1g56189522016-01-13 19:12:40 +01004147
z31s1g608d7ff2016-01-18 19:47:25 +01004148 <button>
z31s1g56189522016-01-13 19:12:40 +01004149 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4150 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4151 <condition var1="tw_hide_kb" op="=" var2="0" />
4152 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4153 <image resource="kb_hide" />
4154 <condition var1="tw_busy" var2="0" />
4155 <actions>
4156 <action function="set">tw_hide_kb=1</action>
4157 <action function="page">terminalcommand</action>
4158 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004159 </button>
z31s1g56189522016-01-13 19:12:40 +01004160
z31s1g608d7ff2016-01-18 19:47:25 +01004161 <button>
z31s1g56189522016-01-13 19:12:40 +01004162 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4163 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4164 <condition var1="tw_hide_kb" op="=" var2="1" />
4165 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4166 <image resource="kb_show" />
4167 <condition var1="tw_busy" var2="0" />
4168 <actions>
4169 <action function="set">tw_hide_kb=0</action>
4170 <action function="page">terminalcommand</action>
4171 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004172 </button>
z31s1g56189522016-01-13 19:12:40 +01004173
z31s1g608d7ff2016-01-18 19:47:25 +01004174 <button>
z31s1g56189522016-01-13 19:12:40 +01004175 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4176 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4177 <image resource="home" />
4178 <condition var1="tw_busy" var2="0" />
4179 <actions>
4180 <action function="set">tw_hide_kb=0</action>
4181 <action function="key">home</action>
4182 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004183 </button>
z31s1g56189522016-01-13 19:12:40 +01004184
z31s1g608d7ff2016-01-18 19:47:25 +01004185 <button>
z31s1g56189522016-01-13 19:12:40 +01004186 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4187 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4188 <condition var1="tw_hide_kb" op="=" var2="0" />
4189 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4190 <image resource="kb_hide" />
4191 <condition var1="tw_busy" var2="0" />
4192 <actions>
4193 <action function="set">tw_hide_kb=1</action>
4194 <action function="page">terminalcommand</action>
4195 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004196 </button>
z31s1g56189522016-01-13 19:12:40 +01004197
z31s1g608d7ff2016-01-18 19:47:25 +01004198 <button>
z31s1g56189522016-01-13 19:12:40 +01004199 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4200 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4201 <condition var1="tw_hide_kb" op="=" var2="1" />
4202 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4203 <image resource="kb_show" />
4204 <condition var1="tw_busy" var2="0" />
4205 <actions>
4206 <action function="set">tw_hide_kb=0</action>
4207 <action function="page">terminalcommand</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 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4215 <image resource="back" />
4216 <condition var1="tw_busy" var2="0" />
4217 <actions>
4218 <action function="set">tw_hide_kb=0</action>
4219 <action function="page">advanced</action>
4220 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004221 </button>
z31s1g56189522016-01-13 19:12:40 +01004222
z31s1g608d7ff2016-01-18 19:47:25 +01004223 <button>
z31s1g56189522016-01-13 19:12:40 +01004224 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4225 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4226 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4227 <image resource="back" />
4228 <condition var1="tw_busy" var2="0" />
4229 <actions>
4230 <action function="set">tw_hide_kb=0</action>
4231 <action function="page">advanced</action>
4232 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004233 </button>
z31s1g56189522016-01-13 19:12:40 +01004234
z31s1g608d7ff2016-01-18 19:47:25 +01004235 <button>
z31s1g56189522016-01-13 19:12:40 +01004236 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4237 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4238 <condition var1="tw_hide_kb" op="=" var2="0" />
4239 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4240 <image resource="kb_hide" />
4241 <condition var1="tw_busy" var2="0" />
4242 <actions>
4243 <action function="set">tw_hide_kb=1</action>
4244 <action function="page">terminalcommand</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="1" />
4250 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4251 <condition var1="tw_hide_kb" op="=" var2="1" />
4252 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4253 <image resource="kb_show" />
4254 <condition var1="tw_busy" var2="0" />
4255 <actions>
4256 <action function="set">tw_hide_kb=0</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="1" />
4263 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4264 <image resource="home" />
4265 <condition var1="tw_busy" var2="0" />
4266 <actions>
4267 <action function="set">tw_hide_kb=0</action>
4268 <action function="key">home</action>
4269 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004270 </button>
z31s1g56189522016-01-13 19:12:40 +01004271
z31s1g608d7ff2016-01-18 19:47:25 +01004272 <button>
z31s1g56189522016-01-13 19:12:40 +01004273 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4274 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4275 <condition var1="tw_hide_kb" op="=" var2="0" />
4276 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4277 <image resource="kb_hide" />
4278 <condition var1="tw_busy" var2="0" />
4279 <actions>
4280 <action function="set">tw_hide_kb=1</action>
4281 <action function="page">terminalcommand</action>
4282 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004283 </button>
z31s1g56189522016-01-13 19:12:40 +01004284
z31s1g608d7ff2016-01-18 19:47:25 +01004285 <button>
z31s1g56189522016-01-13 19:12:40 +01004286 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4287 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4288 <condition var1="tw_hide_kb" op="=" var2="1" />
4289 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4290 <image resource="kb_show" />
4291 <condition var1="tw_busy" var2="0" />
4292 <actions>
4293 <action function="set">tw_hide_kb=0</action>
4294 <action function="page">terminalcommand</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 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4302 <image resource="back" />
4303 <condition var1="tw_busy" var2="0" />
4304 <actions>
4305 <action function="set">tw_hide_kb=0</action>
4306 <action function="page">advanced</action>
4307 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004308 </button>
z31s1g56189522016-01-13 19:12:40 +01004309
z31s1g608d7ff2016-01-18 19:47:25 +01004310 <button>
z31s1g56189522016-01-13 19:12:40 +01004311 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4312 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4313 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4314 <image resource="back" />
4315 <condition var1="tw_busy" var2="0" />
4316 <actions>
4317 <action function="set">tw_hide_kb=0</action>
4318 <action function="page">advanced</action>
4319 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004320 </button>
z31s1g56189522016-01-13 19:12:40 +01004321
z31s1g608d7ff2016-01-18 19:47:25 +01004322 <button>
z31s1g56189522016-01-13 19:12:40 +01004323 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4324 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4325 <condition var1="tw_hide_kb" op="=" var2="0" />
4326 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4327 <image resource="kb_hide" />
4328 <condition var1="tw_busy" var2="0" />
4329 <actions>
4330 <action function="set">tw_hide_kb=1</action>
4331 <action function="page">terminalcommand</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="2" />
4337 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4338 <condition var1="tw_hide_kb" op="=" var2="1" />
4339 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4340 <image resource="kb_show" />
4341 <condition var1="tw_busy" var2="0" />
4342 <actions>
4343 <action function="set">tw_hide_kb=0</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="2" />
4350 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4351 <image resource="home" />
4352 <condition var1="tw_busy" var2="0" />
4353 <actions>
4354 <action function="set">tw_hide_kb=0</action>
4355 <action function="key">home</action>
4356 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004357 </button>
z31s1g56189522016-01-13 19:12:40 +01004358
z31s1g608d7ff2016-01-18 19:47:25 +01004359 <button>
z31s1g56189522016-01-13 19:12:40 +01004360 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4361 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4362 <condition var1="tw_hide_kb" op="=" var2="0" />
4363 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4364 <image resource="kb_hide" />
4365 <condition var1="tw_busy" var2="0" />
4366 <actions>
4367 <action function="set">tw_hide_kb=1</action>
4368 <action function="page">terminalcommand</action>
4369 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004370 </button>
z31s1g56189522016-01-13 19:12:40 +01004371
z31s1g608d7ff2016-01-18 19:47:25 +01004372 <button>
z31s1g56189522016-01-13 19:12:40 +01004373 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4374 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4375 <condition var1="tw_hide_kb" op="=" var2="1" />
4376 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4377 <image resource="kb_show" />
4378 <condition var1="tw_busy" var2="0" />
4379 <actions>
4380 <action function="set">tw_hide_kb=0</action>
4381 <action function="page">terminalcommand</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 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4389 <image resource="back" />
4390 <condition var1="tw_busy" var2="0" />
4391 <actions>
4392 <action function="set">tw_hide_kb=0</action>
4393 <action function="page">advanced</action>
4394 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004395 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004396
4397 <action>
4398 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004399 <actions>
4400 <action function="page">main</action>
4401 <action function="set">tw_hide_kb=0</action>
4402 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004403 </action>
4404
4405 <action>
4406 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004407 <actions>
4408 <action function="page">advanced</action>
4409 <action function="set">tw_hide_kb=0</action>
4410 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004411 </action>
z31s1g56189522016-01-13 19:12:40 +01004412
4413 <object type="action">
4414 <touch key="power+voldown" />
4415 <action function="screenshot" />
4416 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </page>
4418
4419 <page name="sideload">
4420 <template name="page"/>
4421
4422 <text style="text_l">
4423 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m">
4428 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <checkbox>
4433 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 <data variable="tw_wipe_dalvik"/>
4436 </checkbox>
4437
4438 <checkbox>
4439 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004440 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004441 <data variable="tw_wipe_cache"/>
4442 </checkbox>
4443
4444 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 <actions>
4447 <action function="set">tw_back=advanced</action>
4448 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4450 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4451 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004452 <action function="set">tw_has_cancel=1</action>
4453 <action function="set">tw_show_reboot=1</action>
4454 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4455 <action function="page">action_page</action>
4456 </actions>
4457 </slider>
4458
4459 <action>
4460 <touch key="home"/>
4461 <action function="page">main</action>
4462 </action>
4463
4464 <action>
4465 <touch key="back"/>
4466 <action function="page">advanced</action>
4467 </action>
4468 </page>
4469
4470 <page name="fixperms">
4471 <template name="page"/>
4472
4473 <text style="text_l">
4474 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004475 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004476 </text>
4477
4478 <text style="text_m">
4479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004480 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004481 </text>
4482
4483 <text style="text_m_accent">
4484 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004486 </text>
4487
4488 <checkbox>
4489 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004490 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 <data variable="tw_fixperms_restorecon"/>
4492 </checkbox>
4493
4494 <text style="text_m_fail">
4495 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </text>
4498
4499 <text style="text_m_fail">
4500 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </text>
4503
4504 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004506 <actions>
4507 <action function="set">tw_back=advanced</action>
4508 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4510 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4511 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004512 <action function="set">tw_show_reboot=1</action>
4513 <action function="page">action_page</action>
4514 </actions>
4515 </slider>
4516
4517 <action>
4518 <touch key="home"/>
4519 <action function="page">main</action>
4520 </action>
4521
4522 <action>
4523 <touch key="back"/>
4524 <action function="page">advanced</action>
4525 </action>
4526 </page>
4527
4528 <page name="installsu">
4529 <template name="page"/>
4530
4531 <text style="text_l">
4532 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <text style="text_m">
4537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004538 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004539 </text>
4540
4541 <text style="text_m_accent">
4542 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m">
4547 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
4551 <text style="text_m">
4552 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004553 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 </text>
4555
4556 <button style="main_button_half_width">
4557 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 <action function="set">tw_page_done=1</action>
4560 </button>
4561
4562 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004563 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004564 <actions>
4565 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004566 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004567 <action function="set">tw_action_text2=</action>
4568 <action function="page">singleaction_page</action>
4569 </actions>
4570 </slider>
4571 </page>
4572
4573 <page name="slideout">
4574 <fill color="%background_color%">
4575 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4576 </fill>
4577
4578 <console>
4579 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4580 </console>
4581
4582 <button>
4583 <fill color="%transparent%"/>
4584 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4585 <action function="overlay"/>
4586 </button>
4587
4588 <action>
4589 <touch key="power+voldown"/>
4590 <action function="screenshot"/>
4591 </action>
4592 </page>
4593
4594 <page name="select_storage">
4595 <fill color="%semi_transparent%">
4596 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4597 </fill>
4598
4599 <fill color="%background_color%">
4600 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4601 </fill>
4602
4603 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 <data name="tw_storage_path"/>
4606 <listtype name="storage"/>
4607 </partitionlist>
4608
4609 <button style="button_third_width">
4610 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004611 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004612 <actions>
4613 <action function="set">tw_clear_destination=%tw_back%</action>
4614 <action function="overlay"/>
4615 <action function="page">clear_vars</action>
4616 </actions>
4617 </button>
4618
4619 <fill color="#000000">
4620 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4621 </fill>
4622
4623 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004624 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4625 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4626 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4627 <image resource="back" />
4628 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004629 <actions>
4630 <action function="overlay"/>
4631 <action function="key">%tw_back%</action>
4632 </actions>
4633 </button>
4634
4635 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004636 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4637 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4638 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4639 <image resource="console" />
4640 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004641 <action function="overlay">slideout</action>
4642 </button>
4643
4644 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004645 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4646 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4647 <image resource="home" />
4648 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004649 <actions>
4650 <action function="overlay"/>
4651 <action function="key">home</action>
4652 </actions>
4653 </button>
4654
4655 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004656 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4657 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4658 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4659 <image resource="console" />
4660 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004661 <action function="overlay">slideout</action>
4662 </button>
4663
4664 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004665 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4666 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4667 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4668 <image resource="back" />
4669 <condition var1="tw_busy" var2="0" />
4670 <actions>
4671 <action function="overlay"/>
4672 <action function="key">%tw_back%</action>
4673 </actions>
4674 </button>
4675
4676 <button>
4677 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4678 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4679 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4680 <image resource="back" />
4681 <condition var1="tw_busy" var2="0" />
4682 <actions>
4683 <action function="overlay"/>
4684 <action function="key">%tw_back%</action>
4685 </actions>
4686 </button>
4687
4688 <button>
4689 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4690 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4691 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4692 <image resource="console" />
4693 <condition var1="tw_busy" var2="0" />
4694 <action function="overlay">slideout</action>
4695 </button>
4696
4697 <button>
4698 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4699 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4700 <image resource="home" />
4701 <condition var1="tw_busy" var2="0" />
4702 <actions>
4703 <action function="overlay"/>
4704 <action function="key">home</action>
4705 </actions>
4706 </button>
4707
4708 <button>
4709 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4710 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4711 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4712 <image resource="console" />
4713 <condition var1="tw_busy" var2="0" />
4714 <action function="overlay">slideout</action>
4715 </button>
4716
4717 <button>
4718 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4719 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4720 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4721 <image resource="back" />
4722 <condition var1="tw_busy" var2="0" />
4723 <actions>
4724 <action function="overlay"/>
4725 <action function="key">%tw_back%</action>
4726 </actions>
4727 </button>
4728
4729 <button>
4730 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4731 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4732 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4733 <image resource="back" />
4734 <condition var1="tw_busy" var2="0" />
4735 <actions>
4736 <action function="overlay"/>
4737 <action function="key">%tw_back%</action>
4738 </actions>
4739 </button>
4740
4741 <button>
4742 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4743 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4744 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4745 <image resource="console" />
4746 <condition var1="tw_busy" var2="0" />
4747 <action function="overlay">slideout</action>
4748 </button>
4749
4750 <button>
4751 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4752 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4753 <image resource="home" />
4754 <condition var1="tw_busy" var2="0" />
4755 <actions>
4756 <action function="overlay"/>
4757 <action function="key">home</action>
4758 </actions>
4759 </button>
4760
4761 <button>
4762 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4763 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4764 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4765 <image resource="console" />
4766 <condition var1="tw_busy" var2="0" />
4767 <action function="overlay">slideout</action>
4768 </button>
4769
4770 <button>
4771 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4772 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4773 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4774 <image resource="back" />
4775 <condition var1="tw_busy" var2="0" />
4776 <actions>
4777 <action function="overlay"/>
4778 <action function="key">%tw_back%</action>
4779 </actions>
4780 </button>
4781
4782 <action>
4783 <touch key="power+voldown"/>
4784 <action function="screenshot"/>
4785 </action>
4786 </page>
4787
4788 <page name="select_language">
4789 <fill color="%semi_transparent%">
4790 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4791 </fill>
4792
4793 <fill color="%background_color%">
4794 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4795 </fill>
4796
4797 <listbox>
4798 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4799 <text>{@select_language=Select Language:}</text>
4800 <icon selected="radio_true" unselected="radio_false" />
4801 <data name="tw_language" />
4802 </listbox>
4803
4804 <button style="button_third_width">
4805 <placement x="%dialog_button_x%" y="%row13_y%"/>
4806 <text>{@ok_btn=OK}</text>
4807 <actions>
4808 <action function="overlay"/>
4809 <action function="setlanguage"></action>
4810 </actions>
4811 </button>
4812
4813 <fill color="#000000">
4814 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4815 </fill>
4816
4817 <button>
4818 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4819 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4820 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4821 <image resource="back" />
4822 <condition var1="tw_busy" var2="0" />
4823 <actions>
4824 <action function="overlay"/>
4825 <action function="key">%tw_back%</action>
4826 </actions>
4827 </button>
4828
4829 <button>
4830 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4831 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4832 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4833 <image resource="console" />
4834 <condition var1="tw_busy" var2="0" />
4835 <action function="overlay">slideout</action>
4836 </button>
4837
4838 <button>
4839 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4840 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4841 <image resource="home" />
4842 <condition var1="tw_busy" var2="0" />
4843 <actions>
4844 <action function="overlay"/>
4845 <action function="key">home</action>
4846 </actions>
4847 </button>
4848
4849 <button>
4850 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4851 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4852 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4853 <image resource="console" />
4854 <condition var1="tw_busy" var2="0" />
4855 <action function="overlay">slideout</action>
4856 </button>
4857
4858 <button>
4859 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4860 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4861 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4862 <image resource="back" />
4863 <condition var1="tw_busy" var2="0" />
4864 <actions>
4865 <action function="overlay"/>
4866 <action function="key">%tw_back%</action>
4867 </actions>
4868 </button>
4869
4870 <button>
4871 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4872 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4873 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4874 <image resource="back" />
4875 <condition var1="tw_busy" var2="0" />
4876 <actions>
4877 <action function="overlay"/>
4878 <action function="key">%tw_back%</action>
4879 </actions>
4880 </button>
4881
4882 <button>
4883 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4884 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4885 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4886 <image resource="console" />
4887 <condition var1="tw_busy" var2="0" />
4888 <action function="overlay">slideout</action>
4889 </button>
4890
4891 <button>
4892 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4893 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4894 <image resource="home" />
4895 <condition var1="tw_busy" var2="0" />
4896 <actions>
4897 <action function="overlay"/>
4898 <action function="key">home</action>
4899 </actions>
4900 </button>
4901
4902 <button>
4903 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4904 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4905 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4906 <image resource="console" />
4907 <condition var1="tw_busy" var2="0" />
4908 <action function="overlay">slideout</action>
4909 </button>
4910
4911 <button>
4912 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4913 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4914 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4915 <image resource="back" />
4916 <condition var1="tw_busy" var2="0" />
4917 <actions>
4918 <action function="overlay"/>
4919 <action function="key">%tw_back%</action>
4920 </actions>
4921 </button>
4922
4923 <button>
4924 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4925 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4926 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4927 <image resource="back" />
4928 <condition var1="tw_busy" var2="0" />
4929 <actions>
4930 <action function="overlay"/>
4931 <action function="key">%tw_back%</action>
4932 </actions>
4933 </button>
4934
4935 <button>
4936 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4937 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4938 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4939 <image resource="console" />
4940 <condition var1="tw_busy" var2="0" />
4941 <action function="overlay">slideout</action>
4942 </button>
4943
4944 <button>
4945 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4946 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4947 <image resource="home" />
4948 <condition var1="tw_busy" var2="0" />
4949 <actions>
4950 <action function="overlay"/>
4951 <action function="key">home</action>
4952 </actions>
4953 </button>
4954
4955 <button>
4956 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4957 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4958 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4959 <image resource="console" />
4960 <condition var1="tw_busy" var2="0" />
4961 <action function="overlay">slideout</action>
4962 </button>
4963
4964 <button>
4965 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4966 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4967 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4968 <image resource="back" />
4969 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004970 <actions>
4971 <action function="overlay"/>
4972 <action function="key">%tw_back%</action>
4973 </actions>
4974 </button>
4975
4976 <action>
4977 <touch key="power+voldown"/>
4978 <action function="screenshot"/>
4979 </action>
4980 </page>
4981 </pages>
4982</recovery>