blob: 7ce8d653408a40a0d9f410838c76d286044cdc18 [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">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003097 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003099 <text>{@fix_context_btn=Fix Contexts}</text>
3100 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003101 </button>
3102
3103 <button style="main_button">
3104 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3105 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003106 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003107 <actions>
3108 <action function="set">partitionlisterror=0</action>
3109 <action function="page">partsdcardsel</action>
3110 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003111 </button>
3112
3113 <button style="main_button">
3114 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 <action function="page">filemanagerlist</action>
3117 </button>
3118
3119 <button style="main_button">
3120 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003122 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003123 </button>
3124
3125 <button style="main_button">
3126 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <action function="reload"/>
3129 </button>
3130
3131 <button style="main_button">
3132 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 <action function="page">sideload</action>
3135 </button>
3136
3137 <button style="main_button">
3138 <condition var1="tw_show_dumlock" var2="1"/>
3139 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 <action function="page">htcdumlock</action>
3142 </button>
3143
3144 <button style="main_button">
3145 <condition var1="tw_has_injecttwrp" var2="1"/>
3146 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <actions>
3149 <action function="set">tw_back=advanced</action>
3150 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3152 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3153 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3154 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003155 <action function="page">confirm_action</action>
3156 </actions>
3157 </button>
3158
3159 <action>
3160 <touch key="home"/>
3161 <action function="page">main</action>
3162 </action>
3163
3164 <action>
3165 <touch key="back"/>
3166 <action function="page">main</action>
3167 </action>
3168 </page>
3169
Ethan Yonker483e9f42016-01-11 22:21:18 -06003170 <page name="partsdcardsel">
3171 <template name="page"/>
3172
3173 <text style="text_l">
3174 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3175 <text>{@advanced_hdr=Advanced}</text>
3176 </text>
3177
3178 <text style="text_m">
3179 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3180 <text>{@part_sd_hdr=Partition SD Card}</text>
3181 </text>
3182
3183 <partitionlist style="partitionlist_storage">
3184 <text>{@sel_storage_list=Select Storage}</text>
3185 <data name="tw_storage_path"/>
3186 <listtype name="storage"/>
3187 </partitionlist>
3188
3189 <button style="button_third_width">
3190 <placement x="%dialog_button_x%" y="%row13_y%"/>
3191 <text>{@ok_btn=OK}</text>
3192 <actions>
3193 <action function="getpartitiondetails">tw_storage_path</action>
3194 <action function="page">partsdcardcheck</action>
3195 </actions>
3196 </button>
3197
3198 <text style="text_m_fail">
3199 <condition var1="partitionlisterror" var2="1"/>
3200 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3201 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3202 </text>
3203
3204 <action>
3205 <touch key="home"/>
3206 <action function="page">main</action>
3207 </action>
3208
3209 <action>
3210 <touch key="back"/>
3211 <action function="page">advanced</action>
3212 </action>
3213 </page>
3214
3215 <page name="partsdcardcheck">
3216 <action>
3217 <condition var1="tw_partition_removable" op="=" var2="1"/>
3218 <actions>
3219 <action function="set">partitionlisterror=0</action>
3220 <action function="page">partsdcard</action>
3221 </actions>
3222 </action>
3223
3224 <action>
3225 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3226 <actions>
3227 <action function="set">partitionlisterror=1</action>
3228 <action function="page">partsdcardsel</action>
3229 </actions>
3230 </action>
3231 </page>
3232
z31s1g28f0a922015-11-07 18:50:22 +01003233 <page name="partsdcard">
3234 <template name="page"/>
3235
3236 <text style="text_l">
3237 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 </text>
3240
3241 <text style="text_m">
3242 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003244 </text>
3245
3246 <text style="text_m_fail">
3247 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003248 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003249 </text>
3250
3251 <text style="text_m_fail">
3252 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003253 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003254 </text>
3255
3256 <text style="text_m_accent">
3257 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003258 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003259 </text>
3260
3261 <text style="text_m">
3262 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3263 <text>%tw_sdext_size%</text>
3264 </text>
3265
3266 <button style="button_quarter_width">
3267 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003268 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003269 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003270 </button>
3271
3272 <button style="button_quarter_width">
3273 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003274 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003275 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003276 </button>
3277
3278 <text style="text_m_accent">
3279 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 </text>
3282
3283 <text style="text_m">
3284 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3285 <text>%tw_swap_size%</text>
3286 </text>
3287
3288 <button style="button_quarter_width">
3289 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003291 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003292 </button>
3293
3294 <button style="button_quarter_width">
3295 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003296 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003297 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003298 </button>
3299
3300 <text style="text_m_accent">
3301 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 </text>
3304
3305 <text style="text_m">
3306 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3307 <text>%tw_sdpart_file_system%</text>
3308 </text>
3309
3310 <button style="button_quarter_width">
3311 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3312 <text>EXT3</text>
3313 <action function="set">tw_sdpart_file_system=ext3</action>
3314 </button>
3315
3316 <button style="button_quarter_width">
3317 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3318 <text>EXT4</text>
3319 <action function="set">tw_sdpart_file_system=ext4</action>
3320 </button>
3321
3322 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 <action function="page">partsdcardaction</action>
3325 <actions>
3326 <action function="set">tw_back=partsdcard</action>
3327 <action function="set">tw_action=partitionsd</action>
3328 <action function="set">tw_has_action2=1</action>
3329 <action function="set">tw_action2=set</action>
3330 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3332 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3333 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003334 <action function="page">action_page</action>
3335 </actions>
3336 </slider>
3337
3338 <action>
3339 <touch key="home"/>
3340 <action function="page">main</action>
3341 </action>
3342
3343 <action>
3344 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003345 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </action>
3347 </page>
3348
3349 <page name="htcdumlock">
3350 <template name="page"/>
3351
3352 <text style="text_l">
3353 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003355 </text>
3356
3357 <text style="text_m">
3358 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </text>
3361
3362 <button style="main_button_m">
3363 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003365 <actions>
3366 <action function="set">tw_back=htcdumlock</action>
3367 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003368 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3369 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3370 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3371 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <action function="page">confirm_action</action>
3373 </actions>
3374 </button>
3375
3376 <button style="main_button_m">
3377 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <actions>
3380 <action function="set">tw_back=htcdumlock</action>
3381 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003382 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3383 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3384 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3385 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <action function="page">confirm_action</action>
3387 </actions>
3388 </button>
3389
3390 <button style="main_button_m">
3391 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <actions>
3394 <action function="set">tw_back=htcdumlock</action>
3395 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003396 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3397 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3398 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3399 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <action function="page">confirm_action</action>
3401 </actions>
3402 </button>
3403
3404 <action>
3405 <touch key="home"/>
3406 <action function="page">main</action>
3407 </action>
3408
3409 <action>
3410 <touch key="back"/>
3411 <action function="page">advanced</action>
3412 </action>
3413 </page>
3414
3415 <page name="lock">
3416 <background color="%semi_transparent%"/>
3417
3418 <image>
3419 <image resource="unlock_icon"/>
3420 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3421 </image>
3422
3423 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <action function="overlay"/>
3426 </slider>
3427 </page>
3428
3429 <page name="filemanagerlist">
3430 <template name="page"/>
3431
3432 <text style="text_l">
3433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 </text>
3436
3437 <text style="text_m">
3438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <template name="sort_options"/>
3443
3444 <fileselector>
3445 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3446 <text>%tw_file_location1%</text>
3447 <filter folders="1" files="1"/>
3448 <path name="tw_file_location1" default="/"/>
3449 <data name="tw_filename1"/>
3450 <selection name="tw_selection1"/>
3451 </fileselector>
3452
3453 <button style="main_button_half_width_low">
3454 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <actions>
3457 <action function="set">tw_filename1=tw_file_location1</action>
3458 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003460 <action function="page">filemanageroptions</action>
3461 </actions>
3462 </button>
3463
3464 <action>
3465 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <action function="set">tw_fm_isfolder=0</action>
3468 </actions>
3469 </action>
3470
3471 <action>
3472 <touch key="home"/>
3473 <action function="page">main</action>
3474 </action>
3475
3476 <action>
3477 <touch key="back"/>
3478 <action function="page">advanced</action>
3479 </action>
3480
3481 <action>
3482 <condition var1="tw_filename1" op="modified"/>
3483 <action function="page">filemanageroptions</action>
3484 </action>
3485 </page>
3486
3487 <page name="filemanageroptions">
3488 <template name="page"/>
3489
3490 <text style="text_l">
3491 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </text>
3494
3495 <text style="text_m">
3496 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 </text>
3499
3500 <text style="text_m_accent">
3501 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </text>
3504
3505 <text style="text_m">
3506 <placement x="%col1_x_left%" y="%row3_y%"/>
3507 <text>%tw_filename1%</text>
3508 </text>
3509
3510 <button style="main_button_half_width">
3511 <condition var1="tw_fm_isfolder" var2="0"/>
3512 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <actions>
3515 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003516 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003517 <action function="page">choosedestinationfolder</action>
3518 </actions>
3519 </button>
3520
3521 <button style="main_button_half_width">
3522 <condition var1="tw_fm_isfolder" var2="1"/>
3523 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <actions>
3526 <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 -05003527 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003528 <action function="page">choosedestinationfolder</action>
3529 </actions>
3530 </button>
3531
3532 <button style="main_button_half_width">
3533 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <actions>
3536 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <action function="page">choosedestinationfolder</action>
3539 </actions>
3540 </button>
3541
3542 <button style="main_button_half_width">
3543 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003545 <actions>
3546 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003547 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003548 <action function="set">tw_fm_text2=</action>
3549 <action function="set">tw_fm_text3=</action>
3550 <action function="set">tw_include_text3=0</action>
3551 <action function="set">tw_back=filemanageroptions</action>
3552 <action function="page">filemanagerconfirm</action>
3553 </actions>
3554 </button>
3555
3556 <button style="main_button_half_width">
3557 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <actions>
3560 <action function="set">tw_filemanager_rename=0000</action>
3561 <action function="set">tw_fm_text2=</action>
3562 <action function="set">tw_fm_text3=</action>
3563 <action function="set">tw_include_text3=0</action>
3564 <action function="set">tw_back=filemanageroptions</action>
3565 <action function="page">filemanagerchmod</action>
3566 </actions>
3567 </button>
3568
3569 <button style="main_button_half_width">
3570 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 <actions>
3573 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <action function="set">tw_fm_text2=</action>
3576 <action function="set">tw_fm_text3=</action>
3577 <action function="set">tw_include_text3=0</action>
3578 <action function="set">tw_back=filemanageroptions</action>
3579 <action function="page">filemanagerconfirm</action>
3580 </actions>
3581 </button>
3582
3583 <button style="main_button_half_width">
3584 <condition var1="tw_fm_isfolder" var2="0"/>
3585 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <actions>
3588 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003590 <action function="set">tw_filemanager_command=mv</action>
3591 <action function="page">filemanagerrenamefile</action>
3592 </actions>
3593 </button>
3594
3595 <button style="main_button_half_width">
3596 <condition var1="tw_fm_isfolder" var2="1"/>
3597 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003599 <actions>
3600 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003601 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003602 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3603 <action function="page">filemanagerrenamefolder</action>
3604 </actions>
3605 </button>
3606
3607 <action>
3608 <touch key="home"/>
3609 <action function="page">main</action>
3610 </action>
3611
3612 <action>
3613 <touch key="back"/>
3614 <action function="page">filemanagerlist</action>
3615 </action>
3616 </page>
3617
3618 <page name="choosedestinationfolder">
3619 <template name="page"/>
3620
3621 <text style="text_l">
3622 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003624 </text>
3625
3626 <text style="text_m">
3627 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003629 </text>
3630
3631 <template name="sort_options"/>
3632
3633 <fileselector>
3634 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3635 <text>%tw_file_location2%</text>
3636 <filter folders="1" files="0"/>
3637 <path name="tw_file_location2" default="/"/>
3638 <data name="tw_filename2"/>
3639 <selection name="tw_selection2"/>
3640 </fileselector>
3641
3642 <button style="main_button_half_width_low">
3643 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 <actions>
3646 <action function="set">tw_fm_text2=to</action>
3647 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3648 <action function="set">tw_include_text3=1</action>
3649 <action function="set">tw_back=filemanageroptions</action>
3650 <action function="page">filemanagerconfirm</action>
3651 </actions>
3652 </button>
3653
3654 <action>
3655 <touch key="home"/>
3656 <action function="page">main</action>
3657 </action>
3658
3659 <action>
3660 <touch key="back"/>
3661 <action function="page">filemanageroptions</action>
3662 </action>
3663 </page>
3664
3665 <page name="filemanagerrenamefile">
3666 <template name="page"/>
3667
3668 <text style="text_l">
3669 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </text>
3672
3673 <text style="text_m">
3674 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 </text>
3677
3678 <text style="text_m_accent">
3679 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003680 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003681 </text>
3682
3683 <input>
3684 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3685 <text>%tw_filemanager_rename%</text>
3686 <data name="tw_filemanager_rename"/>
3687 <restrict minlen="1" maxlen="128"/>
3688 <actions>
3689 <action function="set">tw_fm_text2=to</action>
3690 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3691 <action function="set">tw_include_text3=1</action>
3692 <action function="set">tw_back=filemanageroptions</action>
3693 <action function="page">filemanagerconfirm</action>
3694 </actions>
3695 </input>
3696
3697 <fill color="%accent_color%">
3698 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3699 </fill>
3700
3701 <button style="main_button_half_width_low">
3702 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 <action function="page">filemanageroptions</action>
3705 </button>
3706
3707 <template name="keyboardtemplate"/>
3708
3709 <action>
3710 <touch key="home"/>
3711 <action function="page">main</action>
3712 </action>
3713
3714 <action>
3715 <touch key="back"/>
3716 <action function="page">filemanageroptions</action>
3717 </action>
3718 </page>
3719
3720 <page name="filemanagerrenamefolder">
3721 <template name="page"/>
3722
3723 <text style="text_l">
3724 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003726 </text>
3727
3728 <text style="text_m">
3729 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003730 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003731 </text>
3732
3733 <text style="text_m_accent">
3734 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </text>
3737
3738 <input>
3739 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3740 <text>%tw_filemanager_rename%</text>
3741 <data name="tw_filemanager_rename"/>
3742 <restrict minlen="1" maxlen="128"/>
3743 <actions>
3744 <action function="set">tw_fm_text2=to</action>
3745 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3746 <action function="set">tw_include_text3=1</action>
3747 <action function="set">tw_back=filemanageroptions</action>
3748 <action function="page">filemanagerconfirm</action>
3749 </actions>
3750 </input>
3751
3752 <fill color="%accent_color%">
3753 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3754 </fill>
3755
3756 <button style="main_button_half_width_low">
3757 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003759 <action function="page">filemanageroptions</action>
3760 </button>
3761
3762 <template name="keyboardtemplate"/>
3763
3764 <action>
3765 <touch key="home"/>
3766 <action function="page">main</action>
3767 </action>
3768
3769 <action>
3770 <touch key="back"/>
3771 <action function="page">filemanageroptions</action>
3772 </action>
3773 </page>
3774
3775 <page name="filemanagerchmod">
3776 <template name="page"/>
3777
3778 <text style="text_l">
3779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003781 </text>
3782
3783 <text style="text_m">
3784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </text>
3787
3788 <text style="text_m_accent">
3789 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 </text>
3792
3793 <input>
3794 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3795 <text>%tw_filemanager_rename%</text>
3796 <data name="tw_filemanager_rename"/>
3797 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3798 <actions>
3799 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3800 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3801 <action function="set">tw_back=filemanageroptions</action>
3802 <action function="page">filemanagerconfirm</action>
3803 </actions>
3804 </input>
3805
3806 <fill color="%accent_color%">
3807 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3808 </fill>
3809
3810 <button style="main_button_half_width_low">
3811 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003812 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003813 <action function="page">filemanageroptions</action>
3814 </button>
3815
3816 <template name="keyboardtemplate"/>
3817
3818 <action>
3819 <touch key="home"/>
3820 <action function="page">main</action>
3821 </action>
3822
3823 <action>
3824 <touch key="back"/>
3825 <action function="page">filemanageroptions</action>
3826 </action>
3827 </page>
3828
3829 <page name="filemanagerconfirm">
3830 <template name="page"/>
3831
3832 <text style="text_l">
3833 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 </text>
3836
3837 <text style="text_m">
3838 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003839 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003840 </text>
3841
3842 <text style="text_m_accent">
3843 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3844 <text>%tw_fm_text1%</text>
3845 </text>
3846
3847 <text style="text_m">
3848 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3849 <text>%tw_filename1%</text>
3850 </text>
3851
3852 <text style="text_m_accent">
3853 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3854 <text>%tw_fm_text2%</text>
3855 </text>
3856
3857 <text style="text_m">
3858 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3859 <text>%tw_fm_text3%</text>
3860 </text>
3861
3862 <text style="text_m">
3863 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003865 </text>
3866
3867 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 <action function="page">filemanageraction</action>
3870 </slider>
3871
3872 <action>
3873 <touch key="back"/>
3874 <action function="page">%tw_back%</action>
3875 </action>
3876
3877 <action>
3878 <touch key="home"/>
3879 <action function="page">main</action>
3880 </action>
3881 </page>
3882
3883 <page name="filemanageraction">
3884 <template name="page"/>
3885
3886 <text style="text_l">
3887 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 </text>
3890
3891 <text style="text_m">
3892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3893 <text>%tw_fm_text1%</text>
3894 </text>
3895
3896 <template name="console"/>
3897
3898 <template name="progress_bar"/>
3899
3900 <action>
3901 <conditions>
3902 <condition var1="tw_operation_state" var2="1"/>
3903 <condition var1="tw_operation_status" var2="0"/>
3904 </conditions>
3905 <actions>
3906 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <action function="page">action_complete</action>
3909 </actions>
3910 </action>
3911
3912 <action>
3913 <conditions>
3914 <condition var1="tw_operation_state" var2="1"/>
3915 <condition var1="tw_operation_status" op="!=" var2="0"/>
3916 </conditions>
3917 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003919 <action function="page">action_complete</action>
3920 </actions>
3921 </action>
3922
3923 <action>
3924 <condition var1="tw_include_text3" var2="0"/>
3925 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3926 </action>
3927
3928 <action>
3929 <condition var1="tw_include_text3" var2="1"/>
3930 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3931 </action>
3932 </page>
3933
3934 <page name="decrypt">
3935 <template name="page"/>
3936
3937 <action>
3938 <condition var1="tw_crypto_pwtype" var2="2"/>
3939 <action function="page">decrypt_pattern</action>
3940 </action>
3941
3942 <text style="text_l">
3943 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 </text>
3946
3947 <text style="text_m">
3948 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003949 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003950 </text>
3951
3952 <text style="text_m_accent">
3953 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 </text>
3956
3957 <input>
3958 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3959 <text>%tw_crypto_display%</text>
3960 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3961 <restrict minlen="1" maxlen="254"/>
3962 <action function="page">trydecrypt</action>
3963 </input>
3964
3965 <fill color="%accent_color%">
3966 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3967 </fill>
3968
3969 <fill color="%text_fail_color%">
3970 <condition var1="tw_password_fail" var2="1"/>
3971 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3972 </fill>
3973
3974 <text style="text_m_fail">
3975 <condition var1="tw_password_fail" var2="1"/>
3976 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08003977 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 </text>
3979
3980 <button style="main_button_half_width_low">
3981 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 <actions>
3984 <action function="set">tw_page_done=1</action>
3985 <action function="page">main</action>
3986 </actions>
3987 </button>
3988
z31s1g608d7ff2016-01-18 19:47:25 +01003989 <button style="main_button_half_width_low">
3990 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
3991 <text>{@sel_lang_btn=Select Language}</text>
3992 <action function="overlay">select_language</action>
3993 </button>
3994
z31s1g28f0a922015-11-07 18:50:22 +01003995 <template name="keyboardtemplate"/>
3996 </page>
3997
3998 <page name="decrypt_pattern">
3999 <template name="page"/>
4000
4001 <text style="text_l">
4002 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004003 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004004 </text>
4005
4006 <text style="text_m">
4007 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004008 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004009 </text>
4010
4011 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004012 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004013 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004014 </text>
4015
Aleksa Saraib25a1832015-12-31 17:36:00 +01004016 <text style="text_m_fail">
4017 <condition var1="tw_password_fail" var2="1"/>
4018 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004019 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004020 </text>
4021
z31s1g28f0a922015-11-07 18:50:22 +01004022 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004023 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004024 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4025 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4026 <data name="tw_crypto_password"/>
4027 <action function="page">trydecrypt</action>
4028 </patternpassword>
4029
Aleksa Saraib25a1832015-12-31 17:36:00 +01004030 <button style="main_button_half_width_low">
4031 <placement x="%col_button_right%" y="%row1a_y%"/>
4032 <text>3x3</text>
4033 <action function="set">tw_gui_pattern_grid_size=3</action>
4034 </button>
4035
4036 <button style="main_button_half_width_low">
4037 <placement x="%col_button_right%" y="%row4a_y%"/>
4038 <text>4x4</text>
4039 <action function="set">tw_gui_pattern_grid_size=4</action>
4040 </button>
4041
4042 <button style="main_button_half_width_low">
4043 <placement x="%col_button_right%" y="%row7a_y%"/>
4044 <text>5x5</text>
4045 <action function="set">tw_gui_pattern_grid_size=5</action>
4046 </button>
4047
4048 <button style="main_button_half_width_low">
4049 <placement x="%col_button_right%" y="%row10a_y%"/>
4050 <text>6x6</text>
4051 <action function="set">tw_gui_pattern_grid_size=6</action>
4052 </button>
4053
z31s1g28f0a922015-11-07 18:50:22 +01004054 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004055 <placement x="%col1_x_right%" y="%row15a_y%"/>
4056 <text>{@sel_lang_btn=Select Language}</text>
4057 <action function="overlay">select_language</action>
4058 </button>
4059
4060 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004061 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004062 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004063 <actions>
4064 <action function="set">tw_page_done=1</action>
4065 <action function="page">main</action>
4066 </actions>
4067 </button>
4068 </page>
4069
4070 <page name="trydecrypt">
4071 <template name="page"/>
4072
4073 <text style="text_l">
4074 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004076 </text>
4077
4078 <text style="text_m">
4079 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 </text>
4082
4083 <template name="console"/>
4084
4085 <template name="progress_bar"/>
4086
4087 <action>
4088 <action function="decrypt"/>
4089 </action>
4090
4091 <action>
4092 <conditions>
4093 <condition var1="tw_operation_state" var2="1"/>
4094 <condition var1="tw_operation_status" op="!=" var2="0"/>
4095 </conditions>
4096 <actions>
4097 <action function="set">tw_password_fail=1</action>
4098 <action function="page">decrypt</action>
4099 </actions>
4100 </action>
4101
4102 <action>
4103 <conditions>
4104 <condition var1="tw_operation_state" var2="1"/>
4105 <condition var1="tw_operation_status" op="=" var2="0"/>
4106 </conditions>
4107 <actions>
4108 <action function="set">tw_page_done=1</action>
4109 <action function="page">main</action>
4110 </actions>
4111 </action>
4112 </page>
4113
z31s1g28f0a922015-11-07 18:50:22 +01004114 <page name="terminalcommand">
4115 <template name="page"/>
4116
4117 <fill color="%background_color%">
4118 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4119 </fill>
4120
z31s1g56189522016-01-13 19:12:40 +01004121 <terminal>
4122 <condition var1="tw_hide_kb" var2="0"/>
4123 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4124 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004125
z31s1g56189522016-01-13 19:12:40 +01004126 <terminal>
4127 <condition var1="tw_hide_kb" var2="1"/>
4128 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4129 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004130
z31s1g56189522016-01-13 19:12:40 +01004131 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004132
z31s1g56189522016-01-13 19:12:40 +01004133 <object type="fill" color="#000000">
4134 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4135 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004136
z31s1g608d7ff2016-01-18 19:47:25 +01004137 <button>
z31s1g56189522016-01-13 19:12:40 +01004138 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4139 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4140 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4141 <image resource="back" />
4142 <condition var1="tw_busy" var2="0" />
4143 <actions>
4144 <action function="set">tw_hide_kb=0</action>
4145 <action function="page">advanced</action>
4146 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004147 </button>
z31s1g56189522016-01-13 19:12:40 +01004148
z31s1g608d7ff2016-01-18 19:47:25 +01004149 <button>
z31s1g56189522016-01-13 19:12:40 +01004150 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4151 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4152 <condition var1="tw_hide_kb" op="=" var2="0" />
4153 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4154 <image resource="kb_hide" />
4155 <condition var1="tw_busy" var2="0" />
4156 <actions>
4157 <action function="set">tw_hide_kb=1</action>
4158 <action function="page">terminalcommand</action>
4159 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004160 </button>
z31s1g56189522016-01-13 19:12:40 +01004161
z31s1g608d7ff2016-01-18 19:47:25 +01004162 <button>
z31s1g56189522016-01-13 19:12:40 +01004163 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4164 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4165 <condition var1="tw_hide_kb" op="=" var2="1" />
4166 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4167 <image resource="kb_show" />
4168 <condition var1="tw_busy" var2="0" />
4169 <actions>
4170 <action function="set">tw_hide_kb=0</action>
4171 <action function="page">terminalcommand</action>
4172 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </button>
z31s1g56189522016-01-13 19:12:40 +01004174
z31s1g608d7ff2016-01-18 19:47:25 +01004175 <button>
z31s1g56189522016-01-13 19:12:40 +01004176 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4177 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4178 <image resource="home" />
4179 <condition var1="tw_busy" var2="0" />
4180 <actions>
4181 <action function="set">tw_hide_kb=0</action>
4182 <action function="key">home</action>
4183 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004184 </button>
z31s1g56189522016-01-13 19:12:40 +01004185
z31s1g608d7ff2016-01-18 19:47:25 +01004186 <button>
z31s1g56189522016-01-13 19:12:40 +01004187 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4188 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4189 <condition var1="tw_hide_kb" op="=" var2="0" />
4190 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4191 <image resource="kb_hide" />
4192 <condition var1="tw_busy" var2="0" />
4193 <actions>
4194 <action function="set">tw_hide_kb=1</action>
4195 <action function="page">terminalcommand</action>
4196 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004197 </button>
z31s1g56189522016-01-13 19:12:40 +01004198
z31s1g608d7ff2016-01-18 19:47:25 +01004199 <button>
z31s1g56189522016-01-13 19:12:40 +01004200 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4201 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4202 <condition var1="tw_hide_kb" op="=" var2="1" />
4203 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4204 <image resource="kb_show" />
4205 <condition var1="tw_busy" var2="0" />
4206 <actions>
4207 <action function="set">tw_hide_kb=0</action>
4208 <action function="page">terminalcommand</action>
4209 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004210 </button>
z31s1g56189522016-01-13 19:12:40 +01004211
z31s1g608d7ff2016-01-18 19:47:25 +01004212 <button>
z31s1g56189522016-01-13 19:12:40 +01004213 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4214 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4215 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4216 <image resource="back" />
4217 <condition var1="tw_busy" var2="0" />
4218 <actions>
4219 <action function="set">tw_hide_kb=0</action>
4220 <action function="page">advanced</action>
4221 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004222 </button>
z31s1g56189522016-01-13 19:12:40 +01004223
z31s1g608d7ff2016-01-18 19:47:25 +01004224 <button>
z31s1g56189522016-01-13 19:12:40 +01004225 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4226 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4227 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4228 <image resource="back" />
4229 <condition var1="tw_busy" var2="0" />
4230 <actions>
4231 <action function="set">tw_hide_kb=0</action>
4232 <action function="page">advanced</action>
4233 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004234 </button>
z31s1g56189522016-01-13 19:12:40 +01004235
z31s1g608d7ff2016-01-18 19:47:25 +01004236 <button>
z31s1g56189522016-01-13 19:12:40 +01004237 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4238 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4239 <condition var1="tw_hide_kb" op="=" var2="0" />
4240 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4241 <image resource="kb_hide" />
4242 <condition var1="tw_busy" var2="0" />
4243 <actions>
4244 <action function="set">tw_hide_kb=1</action>
4245 <action function="page">terminalcommand</action>
4246 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004247 </button>
z31s1g56189522016-01-13 19:12:40 +01004248
z31s1g608d7ff2016-01-18 19:47:25 +01004249 <button>
z31s1g56189522016-01-13 19:12:40 +01004250 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4251 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4252 <condition var1="tw_hide_kb" op="=" var2="1" />
4253 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4254 <image resource="kb_show" />
4255 <condition var1="tw_busy" var2="0" />
4256 <actions>
4257 <action function="set">tw_hide_kb=0</action>
4258 <action function="page">terminalcommand</action>
4259 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004260 </button>
z31s1g56189522016-01-13 19:12:40 +01004261
z31s1g608d7ff2016-01-18 19:47:25 +01004262 <button>
z31s1g56189522016-01-13 19:12:40 +01004263 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4264 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4265 <image resource="home" />
4266 <condition var1="tw_busy" var2="0" />
4267 <actions>
4268 <action function="set">tw_hide_kb=0</action>
4269 <action function="key">home</action>
4270 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004271 </button>
z31s1g56189522016-01-13 19:12:40 +01004272
z31s1g608d7ff2016-01-18 19:47:25 +01004273 <button>
z31s1g56189522016-01-13 19:12:40 +01004274 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4275 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4276 <condition var1="tw_hide_kb" op="=" var2="0" />
4277 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4278 <image resource="kb_hide" />
4279 <condition var1="tw_busy" var2="0" />
4280 <actions>
4281 <action function="set">tw_hide_kb=1</action>
4282 <action function="page">terminalcommand</action>
4283 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004284 </button>
z31s1g56189522016-01-13 19:12:40 +01004285
z31s1g608d7ff2016-01-18 19:47:25 +01004286 <button>
z31s1g56189522016-01-13 19:12:40 +01004287 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4288 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4289 <condition var1="tw_hide_kb" op="=" var2="1" />
4290 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4291 <image resource="kb_show" />
4292 <condition var1="tw_busy" var2="0" />
4293 <actions>
4294 <action function="set">tw_hide_kb=0</action>
4295 <action function="page">terminalcommand</action>
4296 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004297 </button>
z31s1g56189522016-01-13 19:12:40 +01004298
z31s1g608d7ff2016-01-18 19:47:25 +01004299 <button>
z31s1g56189522016-01-13 19:12:40 +01004300 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4301 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4302 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4303 <image resource="back" />
4304 <condition var1="tw_busy" var2="0" />
4305 <actions>
4306 <action function="set">tw_hide_kb=0</action>
4307 <action function="page">advanced</action>
4308 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004309 </button>
z31s1g56189522016-01-13 19:12:40 +01004310
z31s1g608d7ff2016-01-18 19:47:25 +01004311 <button>
z31s1g56189522016-01-13 19:12:40 +01004312 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4313 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4314 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4315 <image resource="back" />
4316 <condition var1="tw_busy" var2="0" />
4317 <actions>
4318 <action function="set">tw_hide_kb=0</action>
4319 <action function="page">advanced</action>
4320 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004321 </button>
z31s1g56189522016-01-13 19:12:40 +01004322
z31s1g608d7ff2016-01-18 19:47:25 +01004323 <button>
z31s1g56189522016-01-13 19:12:40 +01004324 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4325 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4326 <condition var1="tw_hide_kb" op="=" var2="0" />
4327 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4328 <image resource="kb_hide" />
4329 <condition var1="tw_busy" var2="0" />
4330 <actions>
4331 <action function="set">tw_hide_kb=1</action>
4332 <action function="page">terminalcommand</action>
4333 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004334 </button>
z31s1g56189522016-01-13 19:12:40 +01004335
z31s1g608d7ff2016-01-18 19:47:25 +01004336 <button>
z31s1g56189522016-01-13 19:12:40 +01004337 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4338 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4339 <condition var1="tw_hide_kb" op="=" var2="1" />
4340 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4341 <image resource="kb_show" />
4342 <condition var1="tw_busy" var2="0" />
4343 <actions>
4344 <action function="set">tw_hide_kb=0</action>
4345 <action function="page">terminalcommand</action>
4346 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004347 </button>
z31s1g56189522016-01-13 19:12:40 +01004348
z31s1g608d7ff2016-01-18 19:47:25 +01004349 <button>
z31s1g56189522016-01-13 19:12:40 +01004350 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4351 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4352 <image resource="home" />
4353 <condition var1="tw_busy" var2="0" />
4354 <actions>
4355 <action function="set">tw_hide_kb=0</action>
4356 <action function="key">home</action>
4357 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004358 </button>
z31s1g56189522016-01-13 19:12:40 +01004359
z31s1g608d7ff2016-01-18 19:47:25 +01004360 <button>
z31s1g56189522016-01-13 19:12:40 +01004361 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4362 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4363 <condition var1="tw_hide_kb" op="=" var2="0" />
4364 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4365 <image resource="kb_hide" />
4366 <condition var1="tw_busy" var2="0" />
4367 <actions>
4368 <action function="set">tw_hide_kb=1</action>
4369 <action function="page">terminalcommand</action>
4370 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004371 </button>
z31s1g56189522016-01-13 19:12:40 +01004372
z31s1g608d7ff2016-01-18 19:47:25 +01004373 <button>
z31s1g56189522016-01-13 19:12:40 +01004374 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4375 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4376 <condition var1="tw_hide_kb" op="=" var2="1" />
4377 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4378 <image resource="kb_show" />
4379 <condition var1="tw_busy" var2="0" />
4380 <actions>
4381 <action function="set">tw_hide_kb=0</action>
4382 <action function="page">terminalcommand</action>
4383 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004384 </button>
z31s1g56189522016-01-13 19:12:40 +01004385
z31s1g608d7ff2016-01-18 19:47:25 +01004386 <button>
z31s1g56189522016-01-13 19:12:40 +01004387 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4388 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4389 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4390 <image resource="back" />
4391 <condition var1="tw_busy" var2="0" />
4392 <actions>
4393 <action function="set">tw_hide_kb=0</action>
4394 <action function="page">advanced</action>
4395 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004396 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004397
4398 <action>
4399 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004400 <actions>
4401 <action function="page">main</action>
4402 <action function="set">tw_hide_kb=0</action>
4403 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004404 </action>
4405
4406 <action>
4407 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004408 <actions>
4409 <action function="page">advanced</action>
4410 <action function="set">tw_hide_kb=0</action>
4411 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </action>
z31s1g56189522016-01-13 19:12:40 +01004413
4414 <object type="action">
4415 <touch key="power+voldown" />
4416 <action function="screenshot" />
4417 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004418 </page>
4419
4420 <page name="sideload">
4421 <template name="page"/>
4422
4423 <text style="text_l">
4424 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 </text>
4427
4428 <text style="text_m">
4429 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004430 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004431 </text>
4432
4433 <checkbox>
4434 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004435 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004436 <data variable="tw_wipe_dalvik"/>
4437 </checkbox>
4438
4439 <checkbox>
4440 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 <data variable="tw_wipe_cache"/>
4443 </checkbox>
4444
4445 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 <actions>
4448 <action function="set">tw_back=advanced</action>
4449 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4451 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4452 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004453 <action function="set">tw_has_cancel=1</action>
4454 <action function="set">tw_show_reboot=1</action>
4455 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4456 <action function="page">action_page</action>
4457 </actions>
4458 </slider>
4459
4460 <action>
4461 <touch key="home"/>
4462 <action function="page">main</action>
4463 </action>
4464
4465 <action>
4466 <touch key="back"/>
4467 <action function="page">advanced</action>
4468 </action>
4469 </page>
4470
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004471 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004472 <template name="page"/>
4473
4474 <text style="text_l">
4475 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </text>
4478
4479 <text style="text_m">
4480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004481 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 </text>
4483
4484 <text style="text_m_accent">
4485 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004486 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004487 </text>
4488
z31s1g28f0a922015-11-07 18:50:22 +01004489 <text style="text_m_fail">
4490 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004491 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004492 </text>
4493
4494 <text style="text_m_fail">
4495 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004496 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </text>
4498
4499 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004500 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004501 <actions>
4502 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004503 <action function="set">tw_action=fixcontexts</action>
4504 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4505 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004507 <action function="set">tw_show_reboot=1</action>
4508 <action function="page">action_page</action>
4509 </actions>
4510 </slider>
4511
4512 <action>
4513 <touch key="home"/>
4514 <action function="page">main</action>
4515 </action>
4516
4517 <action>
4518 <touch key="back"/>
4519 <action function="page">advanced</action>
4520 </action>
4521 </page>
4522
4523 <page name="installsu">
4524 <template name="page"/>
4525
4526 <text style="text_l">
4527 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 </text>
4530
4531 <text style="text_m">
4532 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <text style="text_m_accent">
4537 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004538 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004539 </text>
4540
4541 <text style="text_m">
4542 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m">
4547 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
4551 <button style="main_button_half_width">
4552 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004553 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 <action function="set">tw_page_done=1</action>
4555 </button>
4556
4557 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 <actions>
4560 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004562 <action function="set">tw_action_text2=</action>
4563 <action function="page">singleaction_page</action>
4564 </actions>
4565 </slider>
4566 </page>
4567
4568 <page name="slideout">
4569 <fill color="%background_color%">
4570 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4571 </fill>
4572
4573 <console>
4574 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4575 </console>
4576
4577 <button>
4578 <fill color="%transparent%"/>
4579 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4580 <action function="overlay"/>
4581 </button>
4582
4583 <action>
4584 <touch key="power+voldown"/>
4585 <action function="screenshot"/>
4586 </action>
4587 </page>
4588
4589 <page name="select_storage">
4590 <fill color="%semi_transparent%">
4591 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4592 </fill>
4593
4594 <fill color="%background_color%">
4595 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4596 </fill>
4597
4598 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004599 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004600 <data name="tw_storage_path"/>
4601 <listtype name="storage"/>
4602 </partitionlist>
4603
4604 <button style="button_third_width">
4605 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 <actions>
4608 <action function="set">tw_clear_destination=%tw_back%</action>
4609 <action function="overlay"/>
4610 <action function="page">clear_vars</action>
4611 </actions>
4612 </button>
4613
4614 <fill color="#000000">
4615 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4616 </fill>
4617
4618 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004619 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4620 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4621 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4622 <image resource="back" />
4623 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004624 <actions>
4625 <action function="overlay"/>
4626 <action function="key">%tw_back%</action>
4627 </actions>
4628 </button>
4629
4630 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004631 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4632 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4633 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4634 <image resource="console" />
4635 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004636 <action function="overlay">slideout</action>
4637 </button>
4638
4639 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004640 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4641 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4642 <image resource="home" />
4643 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004644 <actions>
4645 <action function="overlay"/>
4646 <action function="key">home</action>
4647 </actions>
4648 </button>
4649
4650 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004651 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4652 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4653 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4654 <image resource="console" />
4655 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004656 <action function="overlay">slideout</action>
4657 </button>
4658
4659 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004660 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4661 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4662 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4663 <image resource="back" />
4664 <condition var1="tw_busy" var2="0" />
4665 <actions>
4666 <action function="overlay"/>
4667 <action function="key">%tw_back%</action>
4668 </actions>
4669 </button>
4670
4671 <button>
4672 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4673 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4674 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4675 <image resource="back" />
4676 <condition var1="tw_busy" var2="0" />
4677 <actions>
4678 <action function="overlay"/>
4679 <action function="key">%tw_back%</action>
4680 </actions>
4681 </button>
4682
4683 <button>
4684 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4685 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4686 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4687 <image resource="console" />
4688 <condition var1="tw_busy" var2="0" />
4689 <action function="overlay">slideout</action>
4690 </button>
4691
4692 <button>
4693 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4694 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4695 <image resource="home" />
4696 <condition var1="tw_busy" var2="0" />
4697 <actions>
4698 <action function="overlay"/>
4699 <action function="key">home</action>
4700 </actions>
4701 </button>
4702
4703 <button>
4704 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4705 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4706 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4707 <image resource="console" />
4708 <condition var1="tw_busy" var2="0" />
4709 <action function="overlay">slideout</action>
4710 </button>
4711
4712 <button>
4713 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4714 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4715 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4716 <image resource="back" />
4717 <condition var1="tw_busy" var2="0" />
4718 <actions>
4719 <action function="overlay"/>
4720 <action function="key">%tw_back%</action>
4721 </actions>
4722 </button>
4723
4724 <button>
4725 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4726 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4727 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4728 <image resource="back" />
4729 <condition var1="tw_busy" var2="0" />
4730 <actions>
4731 <action function="overlay"/>
4732 <action function="key">%tw_back%</action>
4733 </actions>
4734 </button>
4735
4736 <button>
4737 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4738 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4739 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4740 <image resource="console" />
4741 <condition var1="tw_busy" var2="0" />
4742 <action function="overlay">slideout</action>
4743 </button>
4744
4745 <button>
4746 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4747 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4748 <image resource="home" />
4749 <condition var1="tw_busy" var2="0" />
4750 <actions>
4751 <action function="overlay"/>
4752 <action function="key">home</action>
4753 </actions>
4754 </button>
4755
4756 <button>
4757 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4758 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4759 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4760 <image resource="console" />
4761 <condition var1="tw_busy" var2="0" />
4762 <action function="overlay">slideout</action>
4763 </button>
4764
4765 <button>
4766 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4767 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4768 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4769 <image resource="back" />
4770 <condition var1="tw_busy" var2="0" />
4771 <actions>
4772 <action function="overlay"/>
4773 <action function="key">%tw_back%</action>
4774 </actions>
4775 </button>
4776
4777 <action>
4778 <touch key="power+voldown"/>
4779 <action function="screenshot"/>
4780 </action>
4781 </page>
4782
4783 <page name="select_language">
4784 <fill color="%semi_transparent%">
4785 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4786 </fill>
4787
4788 <fill color="%background_color%">
4789 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4790 </fill>
4791
4792 <listbox>
4793 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4794 <text>{@select_language=Select Language:}</text>
4795 <icon selected="radio_true" unselected="radio_false" />
4796 <data name="tw_language" />
4797 </listbox>
4798
4799 <button style="button_third_width">
4800 <placement x="%dialog_button_x%" y="%row13_y%"/>
4801 <text>{@ok_btn=OK}</text>
4802 <actions>
4803 <action function="overlay"/>
4804 <action function="setlanguage"></action>
4805 </actions>
4806 </button>
4807
4808 <fill color="#000000">
4809 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4810 </fill>
4811
4812 <button>
4813 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4814 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4815 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4816 <image resource="back" />
4817 <condition var1="tw_busy" var2="0" />
4818 <actions>
4819 <action function="overlay"/>
4820 <action function="key">%tw_back%</action>
4821 </actions>
4822 </button>
4823
4824 <button>
4825 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4826 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4827 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4828 <image resource="console" />
4829 <condition var1="tw_busy" var2="0" />
4830 <action function="overlay">slideout</action>
4831 </button>
4832
4833 <button>
4834 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4835 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4836 <image resource="home" />
4837 <condition var1="tw_busy" var2="0" />
4838 <actions>
4839 <action function="overlay"/>
4840 <action function="key">home</action>
4841 </actions>
4842 </button>
4843
4844 <button>
4845 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4846 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4847 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4848 <image resource="console" />
4849 <condition var1="tw_busy" var2="0" />
4850 <action function="overlay">slideout</action>
4851 </button>
4852
4853 <button>
4854 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4855 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4856 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4857 <image resource="back" />
4858 <condition var1="tw_busy" var2="0" />
4859 <actions>
4860 <action function="overlay"/>
4861 <action function="key">%tw_back%</action>
4862 </actions>
4863 </button>
4864
4865 <button>
4866 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4867 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4868 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4869 <image resource="back" />
4870 <condition var1="tw_busy" var2="0" />
4871 <actions>
4872 <action function="overlay"/>
4873 <action function="key">%tw_back%</action>
4874 </actions>
4875 </button>
4876
4877 <button>
4878 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4879 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4880 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4881 <image resource="console" />
4882 <condition var1="tw_busy" var2="0" />
4883 <action function="overlay">slideout</action>
4884 </button>
4885
4886 <button>
4887 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4888 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4889 <image resource="home" />
4890 <condition var1="tw_busy" var2="0" />
4891 <actions>
4892 <action function="overlay"/>
4893 <action function="key">home</action>
4894 </actions>
4895 </button>
4896
4897 <button>
4898 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4899 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4900 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4901 <image resource="console" />
4902 <condition var1="tw_busy" var2="0" />
4903 <action function="overlay">slideout</action>
4904 </button>
4905
4906 <button>
4907 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4908 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4909 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4910 <image resource="back" />
4911 <condition var1="tw_busy" var2="0" />
4912 <actions>
4913 <action function="overlay"/>
4914 <action function="key">%tw_back%</action>
4915 </actions>
4916 </button>
4917
4918 <button>
4919 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4920 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4921 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4922 <image resource="back" />
4923 <condition var1="tw_busy" var2="0" />
4924 <actions>
4925 <action function="overlay"/>
4926 <action function="key">%tw_back%</action>
4927 </actions>
4928 </button>
4929
4930 <button>
4931 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4932 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4933 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4934 <image resource="console" />
4935 <condition var1="tw_busy" var2="0" />
4936 <action function="overlay">slideout</action>
4937 </button>
4938
4939 <button>
4940 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4941 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4942 <image resource="home" />
4943 <condition var1="tw_busy" var2="0" />
4944 <actions>
4945 <action function="overlay"/>
4946 <action function="key">home</action>
4947 </actions>
4948 </button>
4949
4950 <button>
4951 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4952 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4953 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4954 <image resource="console" />
4955 <condition var1="tw_busy" var2="0" />
4956 <action function="overlay">slideout</action>
4957 </button>
4958
4959 <button>
4960 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4961 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4962 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4963 <image resource="back" />
4964 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004965 <actions>
4966 <action function="overlay"/>
4967 <action function="key">%tw_back%</action>
4968 </actions>
4969 </button>
4970
4971 <action>
4972 <touch key="power+voldown"/>
4973 <action function="screenshot"/>
4974 </action>
4975 </page>
4976 </pages>
4977</recovery>