blob: ba96e41866315520c35776e22688a1c8e06c5b68 [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
z31s1g782e1c92016-01-30 16:50:09 +01003183 <partitionlist>
3184 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003185 <text>{@sel_storage_list=Select Storage}</text>
3186 <data name="tw_storage_path"/>
3187 <listtype name="storage"/>
3188 </partitionlist>
3189
z31s1g782e1c92016-01-30 16:50:09 +01003190 <text style="text_m_fail">
3191 <condition var1="partitionlisterror" var2="1"/>
3192 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3193 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3194 </text>
3195
3196 <button style="main_button_half_width">
3197 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003198 <text>{@ok_btn=OK}</text>
3199 <actions>
3200 <action function="getpartitiondetails">tw_storage_path</action>
3201 <action function="page">partsdcardcheck</action>
3202 </actions>
3203 </button>
3204
Ethan Yonker483e9f42016-01-11 22:21:18 -06003205 <action>
3206 <touch key="home"/>
3207 <action function="page">main</action>
3208 </action>
3209
3210 <action>
3211 <touch key="back"/>
3212 <action function="page">advanced</action>
3213 </action>
3214 </page>
3215
3216 <page name="partsdcardcheck">
3217 <action>
3218 <condition var1="tw_partition_removable" op="=" var2="1"/>
3219 <actions>
3220 <action function="set">partitionlisterror=0</action>
3221 <action function="page">partsdcard</action>
3222 </actions>
3223 </action>
3224
3225 <action>
3226 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3227 <actions>
3228 <action function="set">partitionlisterror=1</action>
3229 <action function="page">partsdcardsel</action>
3230 </actions>
3231 </action>
3232 </page>
3233
z31s1g28f0a922015-11-07 18:50:22 +01003234 <page name="partsdcard">
3235 <template name="page"/>
3236
3237 <text style="text_l">
3238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 </text>
3241
3242 <text style="text_m">
3243 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 </text>
3246
3247 <text style="text_m_fail">
3248 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003250 </text>
3251
3252 <text style="text_m_fail">
3253 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003255 </text>
3256
3257 <text style="text_m_accent">
3258 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 </text>
3261
3262 <text style="text_m">
3263 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3264 <text>%tw_sdext_size%</text>
3265 </text>
3266
3267 <button style="button_quarter_width">
3268 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003270 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003271 </button>
3272
3273 <button style="button_quarter_width">
3274 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003276 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003277 </button>
3278
3279 <text style="text_m_accent">
3280 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 </text>
3283
3284 <text style="text_m">
3285 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3286 <text>%tw_swap_size%</text>
3287 </text>
3288
3289 <button style="button_quarter_width">
3290 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003292 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003293 </button>
3294
3295 <button style="button_quarter_width">
3296 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003298 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </button>
3300
3301 <text style="text_m_accent">
3302 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 </text>
3305
3306 <text style="text_m">
3307 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3308 <text>%tw_sdpart_file_system%</text>
3309 </text>
3310
3311 <button style="button_quarter_width">
3312 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3313 <text>EXT3</text>
3314 <action function="set">tw_sdpart_file_system=ext3</action>
3315 </button>
3316
3317 <button style="button_quarter_width">
3318 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3319 <text>EXT4</text>
3320 <action function="set">tw_sdpart_file_system=ext4</action>
3321 </button>
3322
3323 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <action function="page">partsdcardaction</action>
3326 <actions>
3327 <action function="set">tw_back=partsdcard</action>
3328 <action function="set">tw_action=partitionsd</action>
3329 <action function="set">tw_has_action2=1</action>
3330 <action function="set">tw_action2=set</action>
3331 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3333 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3334 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003335 <action function="page">action_page</action>
3336 </actions>
3337 </slider>
3338
3339 <action>
3340 <touch key="home"/>
3341 <action function="page">main</action>
3342 </action>
3343
3344 <action>
3345 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003346 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </action>
3348 </page>
3349
3350 <page name="htcdumlock">
3351 <template name="page"/>
3352
3353 <text style="text_l">
3354 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 </text>
3357
3358 <text style="text_m">
3359 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 </text>
3362
3363 <button style="main_button_m">
3364 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <actions>
3367 <action function="set">tw_back=htcdumlock</action>
3368 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3370 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3371 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3372 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <action function="page">confirm_action</action>
3374 </actions>
3375 </button>
3376
3377 <button style="main_button_m">
3378 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003379 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <actions>
3381 <action function="set">tw_back=htcdumlock</action>
3382 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3384 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3385 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3386 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="page">confirm_action</action>
3388 </actions>
3389 </button>
3390
3391 <button style="main_button_m">
3392 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003393 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003394 <actions>
3395 <action function="set">tw_back=htcdumlock</action>
3396 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003397 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3398 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3399 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3400 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003401 <action function="page">confirm_action</action>
3402 </actions>
3403 </button>
3404
3405 <action>
3406 <touch key="home"/>
3407 <action function="page">main</action>
3408 </action>
3409
3410 <action>
3411 <touch key="back"/>
3412 <action function="page">advanced</action>
3413 </action>
3414 </page>
3415
3416 <page name="lock">
3417 <background color="%semi_transparent%"/>
3418
3419 <image>
3420 <image resource="unlock_icon"/>
3421 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3422 </image>
3423
3424 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003425 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003426 <action function="overlay"/>
3427 </slider>
3428 </page>
3429
3430 <page name="filemanagerlist">
3431 <template name="page"/>
3432
3433 <text style="text_l">
3434 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003436 </text>
3437
3438 <text style="text_m">
3439 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003440 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003441 </text>
3442
3443 <template name="sort_options"/>
3444
3445 <fileselector>
3446 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3447 <text>%tw_file_location1%</text>
3448 <filter folders="1" files="1"/>
3449 <path name="tw_file_location1" default="/"/>
3450 <data name="tw_filename1"/>
3451 <selection name="tw_selection1"/>
3452 </fileselector>
3453
3454 <button style="main_button_half_width_low">
3455 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <actions>
3458 <action function="set">tw_filename1=tw_file_location1</action>
3459 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <action function="page">filemanageroptions</action>
3462 </actions>
3463 </button>
3464
3465 <action>
3466 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003468 <action function="set">tw_fm_isfolder=0</action>
3469 </actions>
3470 </action>
3471
3472 <action>
3473 <touch key="home"/>
3474 <action function="page">main</action>
3475 </action>
3476
3477 <action>
3478 <touch key="back"/>
3479 <action function="page">advanced</action>
3480 </action>
3481
3482 <action>
3483 <condition var1="tw_filename1" op="modified"/>
3484 <action function="page">filemanageroptions</action>
3485 </action>
3486 </page>
3487
3488 <page name="filemanageroptions">
3489 <template name="page"/>
3490
3491 <text style="text_l">
3492 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003493 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003494 </text>
3495
3496 <text style="text_m">
3497 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </text>
3500
3501 <text style="text_m_accent">
3502 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 </text>
3505
3506 <text style="text_m">
3507 <placement x="%col1_x_left%" y="%row3_y%"/>
3508 <text>%tw_filename1%</text>
3509 </text>
3510
3511 <button style="main_button_half_width">
3512 <condition var1="tw_fm_isfolder" var2="0"/>
3513 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003514 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003515 <actions>
3516 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <action function="page">choosedestinationfolder</action>
3519 </actions>
3520 </button>
3521
3522 <button style="main_button_half_width">
3523 <condition var1="tw_fm_isfolder" var2="1"/>
3524 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003525 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003526 <actions>
3527 <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 -05003528 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <action function="page">choosedestinationfolder</action>
3530 </actions>
3531 </button>
3532
3533 <button style="main_button_half_width">
3534 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <actions>
3537 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003538 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003539 <action function="page">choosedestinationfolder</action>
3540 </actions>
3541 </button>
3542
3543 <button style="main_button_half_width">
3544 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <actions>
3547 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <action function="set">tw_fm_text2=</action>
3550 <action function="set">tw_fm_text3=</action>
3551 <action function="set">tw_include_text3=0</action>
3552 <action function="set">tw_back=filemanageroptions</action>
3553 <action function="page">filemanagerconfirm</action>
3554 </actions>
3555 </button>
3556
3557 <button style="main_button_half_width">
3558 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003560 <actions>
3561 <action function="set">tw_filemanager_rename=0000</action>
3562 <action function="set">tw_fm_text2=</action>
3563 <action function="set">tw_fm_text3=</action>
3564 <action function="set">tw_include_text3=0</action>
3565 <action function="set">tw_back=filemanageroptions</action>
3566 <action function="page">filemanagerchmod</action>
3567 </actions>
3568 </button>
3569
3570 <button style="main_button_half_width">
3571 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <actions>
3574 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003576 <action function="set">tw_fm_text2=</action>
3577 <action function="set">tw_fm_text3=</action>
3578 <action function="set">tw_include_text3=0</action>
3579 <action function="set">tw_back=filemanageroptions</action>
3580 <action function="page">filemanagerconfirm</action>
3581 </actions>
3582 </button>
3583
3584 <button style="main_button_half_width">
3585 <condition var1="tw_fm_isfolder" var2="0"/>
3586 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 <actions>
3589 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003591 <action function="set">tw_filemanager_command=mv</action>
3592 <action function="page">filemanagerrenamefile</action>
3593 </actions>
3594 </button>
3595
3596 <button style="main_button_half_width">
3597 <condition var1="tw_fm_isfolder" var2="1"/>
3598 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <actions>
3601 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003602 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003603 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3604 <action function="page">filemanagerrenamefolder</action>
3605 </actions>
3606 </button>
3607
3608 <action>
3609 <touch key="home"/>
3610 <action function="page">main</action>
3611 </action>
3612
3613 <action>
3614 <touch key="back"/>
3615 <action function="page">filemanagerlist</action>
3616 </action>
3617 </page>
3618
3619 <page name="choosedestinationfolder">
3620 <template name="page"/>
3621
3622 <text style="text_l">
3623 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 </text>
3626
3627 <text style="text_m">
3628 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003629 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003630 </text>
3631
3632 <template name="sort_options"/>
3633
3634 <fileselector>
3635 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3636 <text>%tw_file_location2%</text>
3637 <filter folders="1" files="0"/>
3638 <path name="tw_file_location2" default="/"/>
3639 <data name="tw_filename2"/>
3640 <selection name="tw_selection2"/>
3641 </fileselector>
3642
3643 <button style="main_button_half_width_low">
3644 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <actions>
3647 <action function="set">tw_fm_text2=to</action>
3648 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3649 <action function="set">tw_include_text3=1</action>
3650 <action function="set">tw_back=filemanageroptions</action>
3651 <action function="page">filemanagerconfirm</action>
3652 </actions>
3653 </button>
3654
3655 <action>
3656 <touch key="home"/>
3657 <action function="page">main</action>
3658 </action>
3659
3660 <action>
3661 <touch key="back"/>
3662 <action function="page">filemanageroptions</action>
3663 </action>
3664 </page>
3665
3666 <page name="filemanagerrenamefile">
3667 <template name="page"/>
3668
3669 <text style="text_l">
3670 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 </text>
3673
3674 <text style="text_m">
3675 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003677 </text>
3678
3679 <text style="text_m_accent">
3680 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003682 </text>
3683
3684 <input>
3685 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3686 <text>%tw_filemanager_rename%</text>
3687 <data name="tw_filemanager_rename"/>
3688 <restrict minlen="1" maxlen="128"/>
3689 <actions>
3690 <action function="set">tw_fm_text2=to</action>
3691 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3692 <action function="set">tw_include_text3=1</action>
3693 <action function="set">tw_back=filemanageroptions</action>
3694 <action function="page">filemanagerconfirm</action>
3695 </actions>
3696 </input>
3697
3698 <fill color="%accent_color%">
3699 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3700 </fill>
3701
3702 <button style="main_button_half_width_low">
3703 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003704 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003705 <action function="page">filemanageroptions</action>
3706 </button>
3707
3708 <template name="keyboardtemplate"/>
3709
3710 <action>
3711 <touch key="home"/>
3712 <action function="page">main</action>
3713 </action>
3714
3715 <action>
3716 <touch key="back"/>
3717 <action function="page">filemanageroptions</action>
3718 </action>
3719 </page>
3720
3721 <page name="filemanagerrenamefolder">
3722 <template name="page"/>
3723
3724 <text style="text_l">
3725 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 </text>
3728
3729 <text style="text_m">
3730 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003732 </text>
3733
3734 <text style="text_m_accent">
3735 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003736 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003737 </text>
3738
3739 <input>
3740 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3741 <text>%tw_filemanager_rename%</text>
3742 <data name="tw_filemanager_rename"/>
3743 <restrict minlen="1" maxlen="128"/>
3744 <actions>
3745 <action function="set">tw_fm_text2=to</action>
3746 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3747 <action function="set">tw_include_text3=1</action>
3748 <action function="set">tw_back=filemanageroptions</action>
3749 <action function="page">filemanagerconfirm</action>
3750 </actions>
3751 </input>
3752
3753 <fill color="%accent_color%">
3754 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3755 </fill>
3756
3757 <button style="main_button_half_width_low">
3758 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <action function="page">filemanageroptions</action>
3761 </button>
3762
3763 <template name="keyboardtemplate"/>
3764
3765 <action>
3766 <touch key="home"/>
3767 <action function="page">main</action>
3768 </action>
3769
3770 <action>
3771 <touch key="back"/>
3772 <action function="page">filemanageroptions</action>
3773 </action>
3774 </page>
3775
3776 <page name="filemanagerchmod">
3777 <template name="page"/>
3778
3779 <text style="text_l">
3780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 </text>
3783
3784 <text style="text_m">
3785 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 </text>
3788
3789 <text style="text_m_accent">
3790 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003791 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003792 </text>
3793
3794 <input>
3795 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3796 <text>%tw_filemanager_rename%</text>
3797 <data name="tw_filemanager_rename"/>
3798 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3799 <actions>
3800 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3801 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3802 <action function="set">tw_back=filemanageroptions</action>
3803 <action function="page">filemanagerconfirm</action>
3804 </actions>
3805 </input>
3806
3807 <fill color="%accent_color%">
3808 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3809 </fill>
3810
3811 <button style="main_button_half_width_low">
3812 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003814 <action function="page">filemanageroptions</action>
3815 </button>
3816
3817 <template name="keyboardtemplate"/>
3818
3819 <action>
3820 <touch key="home"/>
3821 <action function="page">main</action>
3822 </action>
3823
3824 <action>
3825 <touch key="back"/>
3826 <action function="page">filemanageroptions</action>
3827 </action>
3828 </page>
3829
3830 <page name="filemanagerconfirm">
3831 <template name="page"/>
3832
3833 <text style="text_l">
3834 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003835 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003836 </text>
3837
3838 <text style="text_m">
3839 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003841 </text>
3842
3843 <text style="text_m_accent">
3844 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3845 <text>%tw_fm_text1%</text>
3846 </text>
3847
3848 <text style="text_m">
3849 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3850 <text>%tw_filename1%</text>
3851 </text>
3852
3853 <text style="text_m_accent">
3854 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3855 <text>%tw_fm_text2%</text>
3856 </text>
3857
3858 <text style="text_m">
3859 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3860 <text>%tw_fm_text3%</text>
3861 </text>
3862
3863 <text style="text_m">
3864 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 <action function="page">filemanageraction</action>
3871 </slider>
3872
3873 <action>
3874 <touch key="back"/>
3875 <action function="page">%tw_back%</action>
3876 </action>
3877
3878 <action>
3879 <touch key="home"/>
3880 <action function="page">main</action>
3881 </action>
3882 </page>
3883
3884 <page name="filemanageraction">
3885 <template name="page"/>
3886
3887 <text style="text_l">
3888 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003890 </text>
3891
3892 <text style="text_m">
3893 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3894 <text>%tw_fm_text1%</text>
3895 </text>
3896
3897 <template name="console"/>
3898
3899 <template name="progress_bar"/>
3900
3901 <action>
3902 <conditions>
3903 <condition var1="tw_operation_state" var2="1"/>
3904 <condition var1="tw_operation_status" var2="0"/>
3905 </conditions>
3906 <actions>
3907 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003909 <action function="page">action_complete</action>
3910 </actions>
3911 </action>
3912
3913 <action>
3914 <conditions>
3915 <condition var1="tw_operation_state" var2="1"/>
3916 <condition var1="tw_operation_status" op="!=" var2="0"/>
3917 </conditions>
3918 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003919 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003920 <action function="page">action_complete</action>
3921 </actions>
3922 </action>
3923
3924 <action>
3925 <condition var1="tw_include_text3" var2="0"/>
3926 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3927 </action>
3928
3929 <action>
3930 <condition var1="tw_include_text3" var2="1"/>
3931 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3932 </action>
3933 </page>
3934
3935 <page name="decrypt">
3936 <template name="page"/>
3937
3938 <action>
3939 <condition var1="tw_crypto_pwtype" var2="2"/>
3940 <action function="page">decrypt_pattern</action>
3941 </action>
3942
3943 <text style="text_l">
3944 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003946 </text>
3947
3948 <text style="text_m">
3949 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <text style="text_m_accent">
3954 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003956 </text>
3957
3958 <input>
3959 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3960 <text>%tw_crypto_display%</text>
3961 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3962 <restrict minlen="1" maxlen="254"/>
3963 <action function="page">trydecrypt</action>
3964 </input>
3965
3966 <fill color="%accent_color%">
3967 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3968 </fill>
3969
3970 <fill color="%text_fail_color%">
3971 <condition var1="tw_password_fail" var2="1"/>
3972 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3973 </fill>
3974
3975 <text style="text_m_fail">
3976 <condition var1="tw_password_fail" var2="1"/>
3977 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08003978 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003979 </text>
3980
3981 <button style="main_button_half_width_low">
3982 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <actions>
3985 <action function="set">tw_page_done=1</action>
3986 <action function="page">main</action>
3987 </actions>
3988 </button>
3989
z31s1g608d7ff2016-01-18 19:47:25 +01003990 <button style="main_button_half_width_low">
3991 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
3992 <text>{@sel_lang_btn=Select Language}</text>
3993 <action function="overlay">select_language</action>
3994 </button>
3995
z31s1g28f0a922015-11-07 18:50:22 +01003996 <template name="keyboardtemplate"/>
3997 </page>
3998
3999 <page name="decrypt_pattern">
4000 <template name="page"/>
4001
4002 <text style="text_l">
4003 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004005 </text>
4006
4007 <text style="text_m">
4008 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004009 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004010 </text>
4011
4012 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004013 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004014 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004015 </text>
4016
Aleksa Saraib25a1832015-12-31 17:36:00 +01004017 <text style="text_m_fail">
4018 <condition var1="tw_password_fail" var2="1"/>
4019 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004020 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004021 </text>
4022
z31s1g28f0a922015-11-07 18:50:22 +01004023 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004024 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004025 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4026 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4027 <data name="tw_crypto_password"/>
4028 <action function="page">trydecrypt</action>
4029 </patternpassword>
4030
Aleksa Saraib25a1832015-12-31 17:36:00 +01004031 <button style="main_button_half_width_low">
4032 <placement x="%col_button_right%" y="%row1a_y%"/>
4033 <text>3x3</text>
4034 <action function="set">tw_gui_pattern_grid_size=3</action>
4035 </button>
4036
4037 <button style="main_button_half_width_low">
4038 <placement x="%col_button_right%" y="%row4a_y%"/>
4039 <text>4x4</text>
4040 <action function="set">tw_gui_pattern_grid_size=4</action>
4041 </button>
4042
4043 <button style="main_button_half_width_low">
4044 <placement x="%col_button_right%" y="%row7a_y%"/>
4045 <text>5x5</text>
4046 <action function="set">tw_gui_pattern_grid_size=5</action>
4047 </button>
4048
4049 <button style="main_button_half_width_low">
4050 <placement x="%col_button_right%" y="%row10a_y%"/>
4051 <text>6x6</text>
4052 <action function="set">tw_gui_pattern_grid_size=6</action>
4053 </button>
4054
z31s1g28f0a922015-11-07 18:50:22 +01004055 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004056 <placement x="%col1_x_right%" y="%row15a_y%"/>
4057 <text>{@sel_lang_btn=Select Language}</text>
4058 <action function="overlay">select_language</action>
4059 </button>
4060
4061 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004062 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 <actions>
4065 <action function="set">tw_page_done=1</action>
4066 <action function="page">main</action>
4067 </actions>
4068 </button>
4069 </page>
4070
4071 <page name="trydecrypt">
4072 <template name="page"/>
4073
4074 <text style="text_l">
4075 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004077 </text>
4078
4079 <text style="text_m">
4080 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004082 </text>
4083
4084 <template name="console"/>
4085
4086 <template name="progress_bar"/>
4087
4088 <action>
4089 <action function="decrypt"/>
4090 </action>
4091
4092 <action>
4093 <conditions>
4094 <condition var1="tw_operation_state" var2="1"/>
4095 <condition var1="tw_operation_status" op="!=" var2="0"/>
4096 </conditions>
4097 <actions>
4098 <action function="set">tw_password_fail=1</action>
4099 <action function="page">decrypt</action>
4100 </actions>
4101 </action>
4102
4103 <action>
4104 <conditions>
4105 <condition var1="tw_operation_state" var2="1"/>
4106 <condition var1="tw_operation_status" op="=" var2="0"/>
4107 </conditions>
4108 <actions>
4109 <action function="set">tw_page_done=1</action>
4110 <action function="page">main</action>
4111 </actions>
4112 </action>
4113 </page>
4114
z31s1g28f0a922015-11-07 18:50:22 +01004115 <page name="terminalcommand">
4116 <template name="page"/>
4117
4118 <fill color="%background_color%">
4119 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4120 </fill>
4121
z31s1g56189522016-01-13 19:12:40 +01004122 <terminal>
4123 <condition var1="tw_hide_kb" var2="0"/>
4124 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4125 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004126
z31s1g56189522016-01-13 19:12:40 +01004127 <terminal>
4128 <condition var1="tw_hide_kb" var2="1"/>
4129 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4130 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004131
z31s1g56189522016-01-13 19:12:40 +01004132 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004133
z31s1g56189522016-01-13 19:12:40 +01004134 <object type="fill" color="#000000">
4135 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4136 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004137
z31s1g608d7ff2016-01-18 19:47:25 +01004138 <button>
z31s1g56189522016-01-13 19:12:40 +01004139 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4140 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4141 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4142 <image resource="back" />
4143 <condition var1="tw_busy" var2="0" />
4144 <actions>
4145 <action function="set">tw_hide_kb=0</action>
4146 <action function="page">advanced</action>
4147 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004148 </button>
z31s1g56189522016-01-13 19:12:40 +01004149
z31s1g608d7ff2016-01-18 19:47:25 +01004150 <button>
z31s1g56189522016-01-13 19:12:40 +01004151 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4152 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4153 <condition var1="tw_hide_kb" op="=" var2="0" />
4154 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4155 <image resource="kb_hide" />
4156 <condition var1="tw_busy" var2="0" />
4157 <actions>
4158 <action function="set">tw_hide_kb=1</action>
4159 <action function="page">terminalcommand</action>
4160 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004161 </button>
z31s1g56189522016-01-13 19:12:40 +01004162
z31s1g608d7ff2016-01-18 19:47:25 +01004163 <button>
z31s1g56189522016-01-13 19:12:40 +01004164 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4165 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4166 <condition var1="tw_hide_kb" op="=" var2="1" />
4167 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4168 <image resource="kb_show" />
4169 <condition var1="tw_busy" var2="0" />
4170 <actions>
4171 <action function="set">tw_hide_kb=0</action>
4172 <action function="page">terminalcommand</action>
4173 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004174 </button>
z31s1g56189522016-01-13 19:12:40 +01004175
z31s1g608d7ff2016-01-18 19:47:25 +01004176 <button>
z31s1g56189522016-01-13 19:12:40 +01004177 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4178 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4179 <image resource="home" />
4180 <condition var1="tw_busy" var2="0" />
4181 <actions>
4182 <action function="set">tw_hide_kb=0</action>
4183 <action function="key">home</action>
4184 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004185 </button>
z31s1g56189522016-01-13 19:12:40 +01004186
z31s1g608d7ff2016-01-18 19:47:25 +01004187 <button>
z31s1g56189522016-01-13 19:12:40 +01004188 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4189 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4190 <condition var1="tw_hide_kb" op="=" var2="0" />
4191 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4192 <image resource="kb_hide" />
4193 <condition var1="tw_busy" var2="0" />
4194 <actions>
4195 <action function="set">tw_hide_kb=1</action>
4196 <action function="page">terminalcommand</action>
4197 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004198 </button>
z31s1g56189522016-01-13 19:12:40 +01004199
z31s1g608d7ff2016-01-18 19:47:25 +01004200 <button>
z31s1g56189522016-01-13 19:12:40 +01004201 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4202 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4203 <condition var1="tw_hide_kb" op="=" var2="1" />
4204 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4205 <image resource="kb_show" />
4206 <condition var1="tw_busy" var2="0" />
4207 <actions>
4208 <action function="set">tw_hide_kb=0</action>
4209 <action function="page">terminalcommand</action>
4210 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004211 </button>
z31s1g56189522016-01-13 19:12:40 +01004212
z31s1g608d7ff2016-01-18 19:47:25 +01004213 <button>
z31s1g56189522016-01-13 19:12:40 +01004214 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4215 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4216 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4217 <image resource="back" />
4218 <condition var1="tw_busy" var2="0" />
4219 <actions>
4220 <action function="set">tw_hide_kb=0</action>
4221 <action function="page">advanced</action>
4222 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004223 </button>
z31s1g56189522016-01-13 19:12:40 +01004224
z31s1g608d7ff2016-01-18 19:47:25 +01004225 <button>
z31s1g56189522016-01-13 19:12:40 +01004226 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4227 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4228 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4229 <image resource="back" />
4230 <condition var1="tw_busy" var2="0" />
4231 <actions>
4232 <action function="set">tw_hide_kb=0</action>
4233 <action function="page">advanced</action>
4234 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004235 </button>
z31s1g56189522016-01-13 19:12:40 +01004236
z31s1g608d7ff2016-01-18 19:47:25 +01004237 <button>
z31s1g56189522016-01-13 19:12:40 +01004238 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4239 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4240 <condition var1="tw_hide_kb" op="=" var2="0" />
4241 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4242 <image resource="kb_hide" />
4243 <condition var1="tw_busy" var2="0" />
4244 <actions>
4245 <action function="set">tw_hide_kb=1</action>
4246 <action function="page">terminalcommand</action>
4247 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004248 </button>
z31s1g56189522016-01-13 19:12:40 +01004249
z31s1g608d7ff2016-01-18 19:47:25 +01004250 <button>
z31s1g56189522016-01-13 19:12:40 +01004251 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4252 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4253 <condition var1="tw_hide_kb" op="=" var2="1" />
4254 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4255 <image resource="kb_show" />
4256 <condition var1="tw_busy" var2="0" />
4257 <actions>
4258 <action function="set">tw_hide_kb=0</action>
4259 <action function="page">terminalcommand</action>
4260 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004261 </button>
z31s1g56189522016-01-13 19:12:40 +01004262
z31s1g608d7ff2016-01-18 19:47:25 +01004263 <button>
z31s1g56189522016-01-13 19:12:40 +01004264 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4265 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4266 <image resource="home" />
4267 <condition var1="tw_busy" var2="0" />
4268 <actions>
4269 <action function="set">tw_hide_kb=0</action>
4270 <action function="key">home</action>
4271 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004272 </button>
z31s1g56189522016-01-13 19:12:40 +01004273
z31s1g608d7ff2016-01-18 19:47:25 +01004274 <button>
z31s1g56189522016-01-13 19:12:40 +01004275 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4276 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4277 <condition var1="tw_hide_kb" op="=" var2="0" />
4278 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4279 <image resource="kb_hide" />
4280 <condition var1="tw_busy" var2="0" />
4281 <actions>
4282 <action function="set">tw_hide_kb=1</action>
4283 <action function="page">terminalcommand</action>
4284 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004285 </button>
z31s1g56189522016-01-13 19:12:40 +01004286
z31s1g608d7ff2016-01-18 19:47:25 +01004287 <button>
z31s1g56189522016-01-13 19:12:40 +01004288 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4289 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4290 <condition var1="tw_hide_kb" op="=" var2="1" />
4291 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4292 <image resource="kb_show" />
4293 <condition var1="tw_busy" var2="0" />
4294 <actions>
4295 <action function="set">tw_hide_kb=0</action>
4296 <action function="page">terminalcommand</action>
4297 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004298 </button>
z31s1g56189522016-01-13 19:12:40 +01004299
z31s1g608d7ff2016-01-18 19:47:25 +01004300 <button>
z31s1g56189522016-01-13 19:12:40 +01004301 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4302 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4303 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4304 <image resource="back" />
4305 <condition var1="tw_busy" var2="0" />
4306 <actions>
4307 <action function="set">tw_hide_kb=0</action>
4308 <action function="page">advanced</action>
4309 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004310 </button>
z31s1g56189522016-01-13 19:12:40 +01004311
z31s1g608d7ff2016-01-18 19:47:25 +01004312 <button>
z31s1g56189522016-01-13 19:12:40 +01004313 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4314 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4315 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4316 <image resource="back" />
4317 <condition var1="tw_busy" var2="0" />
4318 <actions>
4319 <action function="set">tw_hide_kb=0</action>
4320 <action function="page">advanced</action>
4321 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004322 </button>
z31s1g56189522016-01-13 19:12:40 +01004323
z31s1g608d7ff2016-01-18 19:47:25 +01004324 <button>
z31s1g56189522016-01-13 19:12:40 +01004325 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4326 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4327 <condition var1="tw_hide_kb" op="=" var2="0" />
4328 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4329 <image resource="kb_hide" />
4330 <condition var1="tw_busy" var2="0" />
4331 <actions>
4332 <action function="set">tw_hide_kb=1</action>
4333 <action function="page">terminalcommand</action>
4334 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004335 </button>
z31s1g56189522016-01-13 19:12:40 +01004336
z31s1g608d7ff2016-01-18 19:47:25 +01004337 <button>
z31s1g56189522016-01-13 19:12:40 +01004338 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4339 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4340 <condition var1="tw_hide_kb" op="=" var2="1" />
4341 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4342 <image resource="kb_show" />
4343 <condition var1="tw_busy" var2="0" />
4344 <actions>
4345 <action function="set">tw_hide_kb=0</action>
4346 <action function="page">terminalcommand</action>
4347 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004348 </button>
z31s1g56189522016-01-13 19:12:40 +01004349
z31s1g608d7ff2016-01-18 19:47:25 +01004350 <button>
z31s1g56189522016-01-13 19:12:40 +01004351 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4352 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4353 <image resource="home" />
4354 <condition var1="tw_busy" var2="0" />
4355 <actions>
4356 <action function="set">tw_hide_kb=0</action>
4357 <action function="key">home</action>
4358 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004359 </button>
z31s1g56189522016-01-13 19:12:40 +01004360
z31s1g608d7ff2016-01-18 19:47:25 +01004361 <button>
z31s1g56189522016-01-13 19:12:40 +01004362 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4363 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4364 <condition var1="tw_hide_kb" op="=" var2="0" />
4365 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4366 <image resource="kb_hide" />
4367 <condition var1="tw_busy" var2="0" />
4368 <actions>
4369 <action function="set">tw_hide_kb=1</action>
4370 <action function="page">terminalcommand</action>
4371 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004372 </button>
z31s1g56189522016-01-13 19:12:40 +01004373
z31s1g608d7ff2016-01-18 19:47:25 +01004374 <button>
z31s1g56189522016-01-13 19:12:40 +01004375 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4376 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4377 <condition var1="tw_hide_kb" op="=" var2="1" />
4378 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4379 <image resource="kb_show" />
4380 <condition var1="tw_busy" var2="0" />
4381 <actions>
4382 <action function="set">tw_hide_kb=0</action>
4383 <action function="page">terminalcommand</action>
4384 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004385 </button>
z31s1g56189522016-01-13 19:12:40 +01004386
z31s1g608d7ff2016-01-18 19:47:25 +01004387 <button>
z31s1g56189522016-01-13 19:12:40 +01004388 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4389 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4390 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4391 <image resource="back" />
4392 <condition var1="tw_busy" var2="0" />
4393 <actions>
4394 <action function="set">tw_hide_kb=0</action>
4395 <action function="page">advanced</action>
4396 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004397 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004398
4399 <action>
4400 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004401 <actions>
4402 <action function="page">main</action>
4403 <action function="set">tw_hide_kb=0</action>
4404 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </action>
4406
4407 <action>
4408 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004409 <actions>
4410 <action function="page">advanced</action>
4411 <action function="set">tw_hide_kb=0</action>
4412 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004413 </action>
z31s1g56189522016-01-13 19:12:40 +01004414
4415 <object type="action">
4416 <touch key="power+voldown" />
4417 <action function="screenshot" />
4418 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004419 </page>
4420
4421 <page name="sideload">
4422 <template name="page"/>
4423
4424 <text style="text_l">
4425 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004427 </text>
4428
4429 <text style="text_m">
4430 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 </text>
4433
4434 <checkbox>
4435 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004437 <data variable="tw_wipe_dalvik"/>
4438 </checkbox>
4439
4440 <checkbox>
4441 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004442 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004443 <data variable="tw_wipe_cache"/>
4444 </checkbox>
4445
4446 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004447 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004448 <actions>
4449 <action function="set">tw_back=advanced</action>
4450 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4452 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4453 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <action function="set">tw_has_cancel=1</action>
4455 <action function="set">tw_show_reboot=1</action>
4456 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4457 <action function="page">action_page</action>
4458 </actions>
4459 </slider>
4460
4461 <action>
4462 <touch key="home"/>
4463 <action function="page">main</action>
4464 </action>
4465
4466 <action>
4467 <touch key="back"/>
4468 <action function="page">advanced</action>
4469 </action>
4470 </page>
4471
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004472 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004473 <template name="page"/>
4474
4475 <text style="text_l">
4476 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004477 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004478 </text>
4479
4480 <text style="text_m">
4481 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004482 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004483 </text>
4484
4485 <text style="text_m_accent">
4486 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004487 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004488 </text>
4489
z31s1g28f0a922015-11-07 18:50:22 +01004490 <text style="text_m_fail">
4491 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004492 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004493 </text>
4494
4495 <text style="text_m_fail">
4496 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004497 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004498 </text>
4499
4500 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004501 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 <actions>
4503 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004504 <action function="set">tw_action=fixcontexts</action>
4505 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4506 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004508 <action function="set">tw_show_reboot=1</action>
4509 <action function="page">action_page</action>
4510 </actions>
4511 </slider>
4512
4513 <action>
4514 <touch key="home"/>
4515 <action function="page">main</action>
4516 </action>
4517
4518 <action>
4519 <touch key="back"/>
4520 <action function="page">advanced</action>
4521 </action>
4522 </page>
4523
4524 <page name="installsu">
4525 <template name="page"/>
4526
4527 <text style="text_l">
4528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004529 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004530 </text>
4531
4532 <text style="text_m">
4533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004535 </text>
4536
4537 <text style="text_m_accent">
4538 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 </text>
4541
4542 <text style="text_m">
4543 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004544 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004545 </text>
4546
4547 <text style="text_m">
4548 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004549 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004550 </text>
4551
4552 <button style="main_button_half_width">
4553 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004554 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004555 <action function="set">tw_page_done=1</action>
4556 </button>
4557
4558 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004559 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004560 <actions>
4561 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004562 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004563 <action function="set">tw_action_text2=</action>
4564 <action function="page">singleaction_page</action>
4565 </actions>
4566 </slider>
4567 </page>
4568
4569 <page name="slideout">
4570 <fill color="%background_color%">
4571 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4572 </fill>
4573
4574 <console>
4575 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4576 </console>
4577
4578 <button>
4579 <fill color="%transparent%"/>
4580 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4581 <action function="overlay"/>
4582 </button>
4583
4584 <action>
4585 <touch key="power+voldown"/>
4586 <action function="screenshot"/>
4587 </action>
4588 </page>
4589
4590 <page name="select_storage">
4591 <fill color="%semi_transparent%">
4592 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4593 </fill>
4594
4595 <fill color="%background_color%">
4596 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4597 </fill>
4598
4599 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004600 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004601 <data name="tw_storage_path"/>
4602 <listtype name="storage"/>
4603 </partitionlist>
4604
4605 <button style="button_third_width">
4606 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004607 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004608 <actions>
4609 <action function="set">tw_clear_destination=%tw_back%</action>
4610 <action function="overlay"/>
4611 <action function="page">clear_vars</action>
4612 </actions>
4613 </button>
4614
4615 <fill color="#000000">
4616 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4617 </fill>
4618
4619 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004620 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4621 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4622 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4623 <image resource="back" />
4624 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004625 <actions>
4626 <action function="overlay"/>
4627 <action function="key">%tw_back%</action>
4628 </actions>
4629 </button>
4630
4631 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004632 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4633 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4634 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4635 <image resource="console" />
4636 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004637 <action function="overlay">slideout</action>
4638 </button>
4639
4640 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004641 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4642 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4643 <image resource="home" />
4644 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004645 <actions>
4646 <action function="overlay"/>
4647 <action function="key">home</action>
4648 </actions>
4649 </button>
4650
4651 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004652 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4653 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4654 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4655 <image resource="console" />
4656 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004657 <action function="overlay">slideout</action>
4658 </button>
4659
4660 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004661 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4662 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4663 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4664 <image resource="back" />
4665 <condition var1="tw_busy" var2="0" />
4666 <actions>
4667 <action function="overlay"/>
4668 <action function="key">%tw_back%</action>
4669 </actions>
4670 </button>
4671
4672 <button>
4673 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4674 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4675 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4676 <image resource="back" />
4677 <condition var1="tw_busy" var2="0" />
4678 <actions>
4679 <action function="overlay"/>
4680 <action function="key">%tw_back%</action>
4681 </actions>
4682 </button>
4683
4684 <button>
4685 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4686 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4687 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4688 <image resource="console" />
4689 <condition var1="tw_busy" var2="0" />
4690 <action function="overlay">slideout</action>
4691 </button>
4692
4693 <button>
4694 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4695 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4696 <image resource="home" />
4697 <condition var1="tw_busy" var2="0" />
4698 <actions>
4699 <action function="overlay"/>
4700 <action function="key">home</action>
4701 </actions>
4702 </button>
4703
4704 <button>
4705 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4706 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4707 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4708 <image resource="console" />
4709 <condition var1="tw_busy" var2="0" />
4710 <action function="overlay">slideout</action>
4711 </button>
4712
4713 <button>
4714 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4715 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4716 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4717 <image resource="back" />
4718 <condition var1="tw_busy" var2="0" />
4719 <actions>
4720 <action function="overlay"/>
4721 <action function="key">%tw_back%</action>
4722 </actions>
4723 </button>
4724
4725 <button>
4726 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4727 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4728 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4729 <image resource="back" />
4730 <condition var1="tw_busy" var2="0" />
4731 <actions>
4732 <action function="overlay"/>
4733 <action function="key">%tw_back%</action>
4734 </actions>
4735 </button>
4736
4737 <button>
4738 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4739 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4740 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4741 <image resource="console" />
4742 <condition var1="tw_busy" var2="0" />
4743 <action function="overlay">slideout</action>
4744 </button>
4745
4746 <button>
4747 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4748 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4749 <image resource="home" />
4750 <condition var1="tw_busy" var2="0" />
4751 <actions>
4752 <action function="overlay"/>
4753 <action function="key">home</action>
4754 </actions>
4755 </button>
4756
4757 <button>
4758 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4759 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4760 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4761 <image resource="console" />
4762 <condition var1="tw_busy" var2="0" />
4763 <action function="overlay">slideout</action>
4764 </button>
4765
4766 <button>
4767 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4768 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4769 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4770 <image resource="back" />
4771 <condition var1="tw_busy" var2="0" />
4772 <actions>
4773 <action function="overlay"/>
4774 <action function="key">%tw_back%</action>
4775 </actions>
4776 </button>
4777
4778 <action>
4779 <touch key="power+voldown"/>
4780 <action function="screenshot"/>
4781 </action>
4782 </page>
4783
4784 <page name="select_language">
4785 <fill color="%semi_transparent%">
4786 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4787 </fill>
4788
4789 <fill color="%background_color%">
4790 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4791 </fill>
4792
4793 <listbox>
4794 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4795 <text>{@select_language=Select Language:}</text>
4796 <icon selected="radio_true" unselected="radio_false" />
4797 <data name="tw_language" />
4798 </listbox>
4799
4800 <button style="button_third_width">
4801 <placement x="%dialog_button_x%" y="%row13_y%"/>
4802 <text>{@ok_btn=OK}</text>
4803 <actions>
4804 <action function="overlay"/>
4805 <action function="setlanguage"></action>
4806 </actions>
4807 </button>
4808
4809 <fill color="#000000">
4810 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4811 </fill>
4812
4813 <button>
4814 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4815 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4816 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4817 <image resource="back" />
4818 <condition var1="tw_busy" var2="0" />
4819 <actions>
4820 <action function="overlay"/>
4821 <action function="key">%tw_back%</action>
4822 </actions>
4823 </button>
4824
4825 <button>
4826 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4827 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4828 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4829 <image resource="console" />
4830 <condition var1="tw_busy" var2="0" />
4831 <action function="overlay">slideout</action>
4832 </button>
4833
4834 <button>
4835 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4836 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4837 <image resource="home" />
4838 <condition var1="tw_busy" var2="0" />
4839 <actions>
4840 <action function="overlay"/>
4841 <action function="key">home</action>
4842 </actions>
4843 </button>
4844
4845 <button>
4846 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4847 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4848 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4849 <image resource="console" />
4850 <condition var1="tw_busy" var2="0" />
4851 <action function="overlay">slideout</action>
4852 </button>
4853
4854 <button>
4855 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4856 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4857 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4858 <image resource="back" />
4859 <condition var1="tw_busy" var2="0" />
4860 <actions>
4861 <action function="overlay"/>
4862 <action function="key">%tw_back%</action>
4863 </actions>
4864 </button>
4865
4866 <button>
4867 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4868 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4869 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4870 <image resource="back" />
4871 <condition var1="tw_busy" var2="0" />
4872 <actions>
4873 <action function="overlay"/>
4874 <action function="key">%tw_back%</action>
4875 </actions>
4876 </button>
4877
4878 <button>
4879 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4880 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4881 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4882 <image resource="console" />
4883 <condition var1="tw_busy" var2="0" />
4884 <action function="overlay">slideout</action>
4885 </button>
4886
4887 <button>
4888 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4889 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4890 <image resource="home" />
4891 <condition var1="tw_busy" var2="0" />
4892 <actions>
4893 <action function="overlay"/>
4894 <action function="key">home</action>
4895 </actions>
4896 </button>
4897
4898 <button>
4899 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4900 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4901 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4902 <image resource="console" />
4903 <condition var1="tw_busy" var2="0" />
4904 <action function="overlay">slideout</action>
4905 </button>
4906
4907 <button>
4908 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4909 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4910 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4911 <image resource="back" />
4912 <condition var1="tw_busy" var2="0" />
4913 <actions>
4914 <action function="overlay"/>
4915 <action function="key">%tw_back%</action>
4916 </actions>
4917 </button>
4918
4919 <button>
4920 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4921 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4922 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4923 <image resource="back" />
4924 <condition var1="tw_busy" var2="0" />
4925 <actions>
4926 <action function="overlay"/>
4927 <action function="key">%tw_back%</action>
4928 </actions>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4933 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4934 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4935 <image resource="console" />
4936 <condition var1="tw_busy" var2="0" />
4937 <action function="overlay">slideout</action>
4938 </button>
4939
4940 <button>
4941 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4942 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4943 <image resource="home" />
4944 <condition var1="tw_busy" var2="0" />
4945 <actions>
4946 <action function="overlay"/>
4947 <action function="key">home</action>
4948 </actions>
4949 </button>
4950
4951 <button>
4952 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4953 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4954 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4955 <image resource="console" />
4956 <condition var1="tw_busy" var2="0" />
4957 <action function="overlay">slideout</action>
4958 </button>
4959
4960 <button>
4961 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4962 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4963 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4964 <image resource="back" />
4965 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004966 <actions>
4967 <action function="overlay"/>
4968 <action function="key">%tw_back%</action>
4969 </actions>
4970 </button>
4971
4972 <action>
4973 <touch key="power+voldown"/>
4974 <action function="screenshot"/>
4975 </action>
4976 </page>
4977 </pages>
4978</recovery>