blob: ff6babe1c65879f03eb223960a4ea30c16bbf8a8 [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
1123 <text style="text_m">
1124 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <text style="text_m">
1129 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <input>
1134 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1135 <text>%tw_confirm_formatdata%</text>
1136 <data name="tw_confirm_formatdata"/>
1137 <restrict minlen="3" maxlen="3" allow="yes"/>
1138 <action function="page">formatdata_confirm</action>
1139 </input>
1140
1141 <fill color="%accent_color%">
1142 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1143 </fill>
1144
1145 <template name="keyboardtemplate"/>
1146
1147 <action>
1148 <touch key="home"/>
1149 <action function="page">main</action>
1150 </action>
1151
1152 <action>
1153 <touch key="back"/>
1154 <action function="page">wipe</action>
1155 </action>
1156 </page>
1157
1158 <page name="formatdata_confirm">
1159 <action>
1160 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1161 <actions>
1162 <action function="set">tw_back=formatdata</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1166 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001167 <action function="page">action_page</action>
1168 </actions>
1169 </action>
1170
1171 <action>
1172 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1173 <action function="page">formatdata</action>
1174 </action>
1175 </page>
1176
1177 <page name="checkpartitionlist">
1178 <action>
1179 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1180 <actions>
1181 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001182 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001183 <action function="page">partitionoptions</action>
1184 </actions>
1185 </action>
1186
1187 <action>
1188 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1189 <actions>
1190 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001191 <action function="page">advancedwipe</action>
1192 </actions>
1193 </action>
1194 </page>
1195
1196 <page name="partitionoptions">
1197 <template name="page"/>
1198
1199 <text style="text_l">
1200 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <text style="text_m">
1205 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001206 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001207 </text>
1208
1209 <text style="text_m_accent">
1210 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001212 </text>
1213
1214 <text style="text_m_accent">
1215 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001216 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001217 </text>
1218
1219 <text style="text_m">
1220 <condition var1="tw_partition_is_present" var2="1"/>
1221 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 </text>
1224
1225 <text style="text_m">
1226 <condition var1="tw_partition_is_present" var2="0"/>
1227 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001228 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001229 </text>
1230
1231 <text style="text_m">
1232 <condition var1="tw_partition_removable" var2="1"/>
1233 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </text>
1236
1237 <text style="text_m">
1238 <condition var1="tw_partition_removable" var2="0"/>
1239 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 </text>
1247
1248 <text style="text_m">
1249 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m">
1254 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 </text>
1257
1258 <text style="text_m">
1259 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 </text>
1262
1263 <button style="main_button_half_width">
1264 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1265 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 <actions>
1268 <action function="set">tw_back=partitionoptions</action>
1269 <action function="set">tw_action=resize</action>
1270 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1271 <action function="set">tw_has_action2=1</action>
1272 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001273 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001275 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001276 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1277 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1278 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001279 <action function="page">confirm_action</action>
1280 </actions>
1281 </button>
1282
1283 <button style="main_button_half_width">
1284 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1285 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <actions>
1288 <action function="set">tw_back=partitionoptions</action>
1289 <action function="set">tw_action=repair</action>
1290 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1291 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1295 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1296 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001297 <action function="page">confirm_action</action>
1298 </actions>
1299 </button>
1300
1301 <button style="main_button_half_width">
1302 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001303 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">selectfilesystem</action>
1305 </button>
1306
1307 <action>
1308 <touch key="home"/>
1309 <action function="page">main</action>
1310 </action>
1311
1312 <action>
1313 <touch key="back"/>
1314 <action function="page">advancedwipe</action>
1315 </action>
1316 </page>
1317
1318 <page name="refreshfilesystem">
1319 <action>
1320 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1321 <actions>
1322 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001323 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001324 <action function="page">selectfilesystem</action>
1325 </actions>
1326 </action>
1327
1328 <action>
1329 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1330 <actions>
1331 <action function="set">partitionlisterror=1</action>
1332 <action function="set">tw_wipe_list=</action>
1333 <action function="page">advancedwipe</action>
1334 </actions>
1335 </action>
1336 </page>
1337
1338 <page name="selectfilesystem">
1339 <template name="page"/>
1340
1341 <text style="text_l">
1342 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m">
1347 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m_accent">
1352 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <text style="text_m_accent">
1357 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <text style="text_m_fail">
1362 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m_fail">
1367 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <button style="main_button_half_width">
1372 <condition var1="tw_partition_ext" op="=" var2="1"/>
1373 <placement x="%col1_x_left%" y="%row11_y%"/>
1374 <text>EXT2</text>
1375 <actions>
1376 <action function="set">tw_back=refreshfilesystem</action>
1377 <action function="set">tw_action=changefilesystem</action>
1378 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1379 <action function="set">tw_action_new_file_system=ext2</action>
1380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1382 <action function="set">tw_text2=EXT2</action>
1383 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1384 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="page">confirm_action</action>
1387 </actions>
1388 </button>
1389
1390 <button style="main_button_half_width">
1391 <condition var1="tw_partition_ext" op="=" var2="1"/>
1392 <placement x="%col2_x_left%" y="%row11_y%"/>
1393 <text>EXT3</text>
1394 <actions>
1395 <action function="set">tw_back=refreshfilesystem</action>
1396 <action function="set">tw_action=changefilesystem</action>
1397 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1398 <action function="set">tw_action_new_file_system=ext3</action>
1399 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001400 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1401 <action function="set">tw_text2=EXT3</action>
1402 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1403 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1404 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001405 <action function="page">confirm_action</action>
1406 </actions>
1407 </button>
1408
1409 <button style="main_button_half_width">
1410 <condition var1="tw_partition_ext" op="=" var2="1"/>
1411 <placement x="%center_x%" y="%row11_y%"/>
1412 <text>EXT4</text>
1413 <actions>
1414 <action function="set">tw_back=refreshfilesystem</action>
1415 <action function="set">tw_action=changefilesystem</action>
1416 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1417 <action function="set">tw_action_new_file_system=ext4</action>
1418 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1420 <action function="set">tw_text2=EXT4</action>
1421 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1422 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1423 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001424 <action function="page">confirm_action</action>
1425 </actions>
1426 </button>
1427
1428 <button style="main_button_half_width">
1429 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1430 <placement x="%col2_x_right%" y="%row11_y%"/>
1431 <text>FAT</text>
1432 <actions>
1433 <action function="set">tw_back=refreshfilesystem</action>
1434 <action function="set">tw_action=changefilesystem</action>
1435 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1436 <action function="set">tw_action_new_file_system=vfat</action>
1437 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1439 <action function="set">tw_text2=FAT</action>
1440 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1441 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1442 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001443 <action function="page">confirm_action</action>
1444 </actions>
1445 </button>
1446
1447 <button style="main_button_half_width">
1448 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1449 <placement x="%col2_x_left%" y="%row15a_y%"/>
1450 <text>exFAT</text>
1451 <actions>
1452 <action function="set">tw_back=refreshfilesystem</action>
1453 <action function="set">tw_action=changefilesystem</action>
1454 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1455 <action function="set">tw_action_new_file_system=exfat</action>
1456 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1458 <action function="set">tw_text2=exFAT</action>
1459 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1460 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1461 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001462 <action function="page">confirm_action</action>
1463 </actions>
1464 </button>
1465
1466 <button style="main_button_half_width">
1467 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1468 <placement x="%center_x%" y="%row15a_y%"/>
1469 <text>F2FS</text>
1470 <actions>
1471 <action function="set">tw_back=refreshfilesystem</action>
1472 <action function="set">tw_action=changefilesystem</action>
1473 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1474 <action function="set">tw_action_new_file_system=f2fs</action>
1475 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001476 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1477 <action function="set">tw_text2=F2FS</action>
1478 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1479 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1480 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001481 <action function="page">confirm_action</action>
1482 </actions>
1483 </button>
1484
1485 <action>
1486 <touch key="home"/>
1487 <action function="page">main</action>
1488 </action>
1489
1490 <action>
1491 <touch key="back"/>
1492 <action function="page">partitionoptions</action>
1493 </action>
1494 </page>
1495
1496 <page name="backup">
1497 <template name="page"/>
1498
1499 <text style="text_l">
1500 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m">
1505 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_accent">
1510 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <text style="text_m">
1515 <placement x="%col1_x_left%" y="%row3_y%"/>
1516 <text>%tw_backup_name%</text>
1517 </text>
1518
1519 <fill color="%fileselector_linecolor%">
1520 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1521 </fill>
1522
1523 <button>
1524 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1525 <fill color="%transparent%"/>
1526 <actions>
1527 <action function="set">tw_fileexists=0</action>
1528 <action function="page">backupname1</action>
1529 </actions>
1530 </button>
1531
1532 <partitionlist>
1533 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001534 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001535 <data name="tw_backup_list"/>
1536 <listtype name="backup"/>
1537 </partitionlist>
1538
1539 <text style="text_m_accent">
1540 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 </text>
1543
1544 <text style="text_m">
1545 <conditions>
1546 <condition var1="tw_include_encrypted_backup" var2="1"/>
1547 <condition var1="tw_encrypt_backup" var2="0"/>
1548 </conditions>
1549 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001550 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001551 </text>
1552
1553 <text style="text_m">
1554 <conditions>
1555 <condition var1="tw_include_encrypted_backup" var2="1"/>
1556 <condition var1="tw_encrypt_backup" var2="1"/>
1557 </conditions>
1558 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001559 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001560 </text>
1561
1562 <fill color="%fileselector_linecolor%">
1563 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1564 </fill>
1565
1566 <button>
1567 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1568 <fill color="%transparent%"/>
1569 <actions>
1570 <action function="set">tw_password_not_match=0</action>
1571 <action function="page">backupencryption</action>
1572 </actions>
1573 </button>
1574
1575 <text style="text_m_accent">
1576 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001578 </text>
1579
1580 <checkbox>
1581 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 <data variable="tw_use_compression"/>
1584 </checkbox>
1585
1586 <checkbox>
1587 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 <data variable="tw_skip_md5_generate"/>
1590 </checkbox>
1591
1592 <checkbox>
1593 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 <data variable="tw_disable_free_space"/>
1596 </checkbox>
1597
1598 <button style="main_button_half_width">
1599 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <actions>
1602 <action function="set">tw_back=backup</action>
1603 <action function="overlay">select_storage</action>
1604 </actions>
1605 </button>
1606
1607 <button style="main_button_half_width">
1608 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 <actions>
1611 <action function="refreshsizes"/>
1612 <action function="page">backup</action>
1613 </actions>
1614 </button>
1615
1616 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <action function="page">backup_run</action>
1619 </slider>
1620
1621 <action>
1622 <touch key="home"/>
1623 <action function="page">main</action>
1624 </action>
1625
1626 <action>
1627 <touch key="back"/>
1628 <action function="page">main</action>
1629 </action>
1630 </page>
1631
1632 <page name="backupname1">
1633 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001635 <action function="generatebackupname"/>
1636 </action>
1637
1638 <action>
1639 <action function="page">backupname2</action>
1640 </action>
1641 </page>
1642
1643 <page name="backupname2">
1644 <template name="page"/>
1645
1646 <text style="text_l">
1647 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m">
1652 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001653 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001654 </text>
1655
1656 <text style="text_m_accent">
1657 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </text>
1660
1661 <input>
1662 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1663 <text>%tw_backup_name%</text>
1664 <data name="tw_backup_name"/>
1665 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1666 <actions>
1667 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1668 <action function="set">tw_existpage=backupname2</action>
1669 <action function="set">tw_notexistpage=backup</action>
1670 <action function="page">filecheck</action>
1671 </actions>
1672 </input>
1673
1674 <fill color="%accent_color%">
1675 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1676 </fill>
1677
1678 <fill color="%text_fail_color%">
1679 <condition var1="tw_fileexists" var2="1"/>
1680 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1681 </fill>
1682
1683 <text style="text_m_fail">
1684 <condition var1="tw_fileexists" var2="1"/>
1685 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 </text>
1688
1689 <button style="main_button_half_width_low">
1690 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001691 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001694 <action function="page">backup</action>
1695 </actions>
1696 </button>
1697
1698 <button style="main_button_half_width_low">
1699 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 <action function="appenddatetobackupname"/>
1702 </button>
1703
1704 <template name="keyboardtemplate"/>
1705
1706 <action>
1707 <touch key="home"/>
1708 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">main</action>
1711 </actions>
1712 </action>
1713
1714 <action>
1715 <touch key="back"/>
1716 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001717 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001718 <action function="page">backup</action>
1719 </actions>
1720 </action>
1721 </page>
1722
1723 <page name="backupencryption">
1724 <template name="page"/>
1725
1726 <text style="text_l">
1727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <text style="text_m">
1732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 </text>
1735
1736 <text style="text_m_accent">
1737 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001738 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001739 </text>
1740
1741 <input>
1742 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1743 <text>%tw_backup_encrypt_display%</text>
1744 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1745 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1746 <action function="page">backupencryption2</action>
1747 </input>
1748
1749 <fill color="%accent_color%">
1750 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1751 </fill>
1752
1753 <fill color="%text_fail_color%">
1754 <condition var1="tw_password_not_match" var2="1"/>
1755 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1756 </fill>
1757
1758 <text style="text_m_fail">
1759 <condition var1="tw_password_not_match" var2="1"/>
1760 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </text>
1763
1764 <button style="main_button_half_width_low">
1765 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
1768 <action function="set">tw_encrypt_backup=0</action>
1769 <action function="set">tw_backup_password=</action>
1770 <action function="set">tw_backup_password2=</action>
1771 <action function="set">tw_backup_encrypt_display=</action>
1772 <action function="set">tw_backup_encrypt_display2=</action>
1773 <action function="page">backup</action>
1774 </actions>
1775 </button>
1776
1777 <template name="keyboardtemplate"/>
1778
1779 <action>
1780 <touch key="home"/>
1781 <action function="page">main</action>
1782 </action>
1783
1784 <action>
1785 <touch key="back"/>
1786 <action function="page">backup</action>
1787 </action>
1788 </page>
1789
1790 <page name="backupencryption2">
1791 <template name="page"/>
1792
1793 <text style="text_l">
1794 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <text style="text_m">
1799 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 </text>
1802
1803 <text style="text_m_accent">
1804 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001805 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001806 </text>
1807
1808 <input>
1809 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1810 <text>%tw_backup_encrypt_display2%</text>
1811 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1812 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1813 <action function="page">checkbackuppassword</action>
1814 </input>
1815
1816 <fill color="%accent_color%">
1817 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1818 </fill>
1819
1820 <text style="text_m">
1821 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </text>
1824
1825 <button style="main_button_half_width_low">
1826 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <actions>
1829 <action function="set">tw_encrypt_backup=0</action>
1830 <action function="set">tw_backup_password=</action>
1831 <action function="set">tw_backup_password2=</action>
1832 <action function="set">tw_backup_encrypt_display=</action>
1833 <action function="set">tw_backup_encrypt_display2=</action>
1834 <action function="page">backup</action>
1835 </actions>
1836 </button>
1837
1838 <template name="keyboardtemplate"/>
1839
1840 <action>
1841 <touch key="home"/>
1842 <action function="page">main</action>
1843 </action>
1844
1845 <action>
1846 <touch key="back"/>
1847 <action function="page">backup</action>
1848 </action>
1849 </page>
1850
1851 <page name="checkbackuppassword">
1852 <action>
1853 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1854 <actions>
1855 <action function="set">tw_encrypt_backup=1</action>
1856 <action function="page">backup</action>
1857 </actions>
1858 </action>
1859
1860 <action>
1861 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1862 <actions>
1863 <action function="set">tw_encrypt_backup=0</action>
1864 <action function="set">tw_password_not_match=1</action>
1865 <action function="set">tw_backup_password=</action>
1866 <action function="set">tw_backup_password2=</action>
1867 <action function="set">tw_backup_encrypt_display=</action>
1868 <action function="set">tw_backup_encrypt_display2=</action>
1869 <action function="page">backupencryption</action>
1870 </actions>
1871 </action>
1872 </page>
1873
1874 <page name="backup_run">
1875 <template name="page"/>
1876
1877 <text style="text_l">
1878 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1879 <text>%tw_operation%</text>
1880 </text>
1881
1882 <text style="text_m">
1883 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1884 <text>%tw_partition% Partition</text>
1885 </text>
1886
1887 <template name="console"/>
1888
1889 <template name="progress_bar"/>
1890
1891 <text style="text_m_accent">
1892 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <text style="text_m">
1897 <placement x="%progress_text_x%" y="%row17_y%"/>
1898 <text>%tw_file_progress%</text>
1899 </text>
1900
1901 <text style="text_m">
1902 <placement x="%progress_text_x%" y="%row18_y%"/>
1903 <text>%tw_size_progress%</text>
1904 </text>
1905
1906 <button style="main_button_half_width">
1907 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001908 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001909 <action function="cancelbackup"/>
1910 </button>
1911
1912 <action>
1913 <action function="nandroid">backup</action>
1914 </action>
1915
1916 <action>
1917 <condition var1="tw_operation_state" var2="1"/>
1918 <condition var1="tw_cancel_backup" var2="0"/>
1919 <actions>
1920 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001921 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001922 <action function="set">tw_show_reboot=1</action>
1923 <action function="page">action_complete</action>
1924 </actions>
1925 </action>
1926
1927 <action>
1928 <condition var1="tw_operation_state" var2="1"/>
1929 <condition var1="tw_cancel_backup" var2="1"/>
1930 <actions>
1931 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001933 <action function="set">tw_show_reboot=1</action>
1934 <action function="page">action_complete</action>
1935 </actions>
1936 </action>
1937 </page>
1938
1939 <page name="restore">
1940 <template name="page"/>
1941
1942 <text style="text_l">
1943 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 </text>
1946
1947 <text style="text_m">
1948 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001949 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001950 </text>
1951
1952 <template name="sort_options"/>
1953
1954 <fileselector>
1955 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 <filter folders="1" files="0" nav="0"/>
1958 <path name="tw_backups_folder"/>
1959 <data name="tw_restore" default=""/>
1960 <selection name="tw_restore_name"/>
1961 </fileselector>
1962
1963 <button style="main_button_half_width_low">
1964 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001965 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001966 <actions>
1967 <action function="set">tw_back=restore</action>
1968 <action function="overlay">select_storage</action>
1969 </actions>
1970 </button>
1971
1972 <action>
1973 <condition var1="tw_restore" op="modified"/>
1974 <actions>
1975 <action function="readBackup"/>
1976 <action function="page">restore_read</action>
1977 </actions>
1978 </action>
1979
1980 <action>
1981 <touch key="home"/>
1982 <action function="page">main</action>
1983 </action>
1984
1985 <action>
1986 <touch key="back"/>
1987 <action function="page">main</action>
1988 </action>
1989 </page>
1990
1991 <page name="restore_read">
1992 <action>
1993 <condition var1="tw_restore_encrypted" var2="1"/>
1994 <actions>
1995 <action function="set">tw_password_fail=0</action>
1996 <action function="page">restore_decrypt</action>
1997 </actions>
1998 </action>
1999
2000 <action>
2001 <condition var1="tw_restore_encrypted" var2="0"/>
2002 <actions>
2003 <action function="page">restore_select</action>
2004 </actions>
2005 </action>
2006 </page>
2007
2008 <page name="restore_decrypt">
2009 <template name="page"/>
2010
2011 <text style="text_l">
2012 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <text style="text_m_accent">
2022 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 </text>
2025
2026 <input>
2027 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2028 <text>%tw_restore_display%</text>
2029 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2030 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2031 <action function="page">try_restore_decrypt</action>
2032 </input>
2033
2034 <fill color="%accent_color%">
2035 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2036 </fill>
2037
2038 <fill color="%text_fail_color%">
2039 <condition var1="tw_password_fail" var2="1"/>
2040 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2041 </fill>
2042
2043 <text style="text_m_fail">
2044 <condition var1="tw_password_fail" var2="1"/>
2045 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002046 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002047 </text>
2048
2049 <button style="main_button_half_width_low">
2050 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002051 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002052 <actions>
2053 <action function="set">tw_page_done=1</action>
2054 <action function="page">restore</action>
2055 </actions>
2056 </button>
2057
2058 <button style="main_button_half_width_low">
2059 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 <actions>
2062 <action function="set">tw_back=restore</action>
2063 <action function="set">tw_action=cmd</action>
2064 <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 -05002065 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2066 <action function="set">tw_text2=%tw_restore_name%</action>
2067 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2068 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2069 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2070 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002071 <action function="page">confirm_action</action>
2072 </actions>
2073 </button>
2074
2075 <template name="keyboardtemplate"/>
2076
2077 <action>
2078 <touch key="home"/>
2079 <action function="page">main</action>
2080 </action>
2081
2082 <action>
2083 <touch key="back"/>
2084 <action function="page">restore</action>
2085 </action>
2086 </page>
2087
2088 <page name="try_restore_decrypt">
2089 <template name="page"/>
2090
2091 <text style="text_l">
2092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <template name="console"/>
2102
2103 <template name="progress_bar"/>
2104
2105 <action>
2106 <action function="decrypt_backup"/>
2107 </action>
2108
2109 <action>
2110 <conditions>
2111 <condition var1="tw_operation_state" var2="1"/>
2112 <condition var1="tw_operation_status" op="!=" var2="0"/>
2113 </conditions>
2114 <actions>
2115 <action function="set">tw_password_fail=1</action>
2116 <action function="page">restore_decrypt</action>
2117 </actions>
2118 </action>
2119
2120 <action>
2121 <conditions>
2122 <condition var1="tw_operation_state" var2="1"/>
2123 <condition var1="tw_operation_status" op="=" var2="0"/>
2124 </conditions>
2125 <actions>
2126 <action function="set">tw_page_done=1</action>
2127 <action function="page">restore_select</action>
2128 </actions>
2129 </action>
2130 </page>
2131
2132 <page name="restore_select">
2133 <template name="page"/>
2134
2135 <text style="text_l">
2136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002137 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002138 </text>
2139
2140 <text style="text_m">
2141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002142 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002143 </text>
2144
2145 <text style="text_m_accent">
2146 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002147 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m">
2151 <placement x="%col1_x_left%" y="%row3_y%"/>
2152 <text>%tw_restore_name%</text>
2153 </text>
2154
2155 <fill color="%fileselector_linecolor%">
2156 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2157 </fill>
2158
2159 <button>
2160 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2161 <fill color="%transparent%"/>
2162 <actions>
2163 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2164 <action function="set">tw_fileexists=0</action>
2165 <action function="page">renamebackup</action>
2166 </actions>
2167 </button>
2168
2169 <partitionlist>
2170 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002171 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002172 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2173 <listtype name="restore"/>
2174 </partitionlist>
2175
2176 <text style="text_m_accent">
2177 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002178 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002179 </text>
2180
2181 <checkbox>
2182 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002183 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <data variable="tw_skip_md5_check"/>
2185 </checkbox>
2186
2187 <button style="main_button_half_width">
2188 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002189 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 <actions>
2191 <action function="set">tw_back=restore</action>
2192 <action function="set">tw_action=cmd</action>
2193 <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 -05002194 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002195 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002196 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2197 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2198 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2199 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <action function="page">confirm_action</action>
2201 </actions>
2202 </button>
2203
2204 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002205 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002206 <action function="page">restore_run</action>
2207 </slider>
2208
2209 <action>
2210 <touch key="home"/>
2211 <action function="page">main</action>
2212 </action>
2213
2214 <action>
2215 <touch key="back"/>
2216 <action function="page">restore</action>
2217 </action>
2218 </page>
2219
2220 <page name="renamebackup">
2221 <template name="page"/>
2222
2223 <text style="text_l">
2224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <text style="text_m">
2229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <text style="text_m_accent">
2234 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002235 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002236 </text>
2237
2238 <input>
2239 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2240 <text>%tw_backup_rename%</text>
2241 <data name="tw_backup_rename"/>
2242 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2243 <actions>
2244 <action function="set">tw_back=restore</action>
2245 <action function="set">tw_action=cmd</action>
2246 <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 -05002247 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2248 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2249 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2250 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2251 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002252 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2253 <action function="set">tw_existpage=renamebackup</action>
2254 <action function="set">tw_notexistpage=confirm_action</action>
2255 <action function="page">filecheck</action>
2256 </actions>
2257 </input>
2258
2259 <fill color="%accent_color%">
2260 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2261 </fill>
2262
2263 <fill color="%text_fail_color%">
2264 <condition var1="tw_fileexists" var2="1"/>
2265 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2266 </fill>
2267
2268 <text style="text_m_fail">
2269 <condition var1="tw_fileexists" var2="1"/>
2270 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002272 </text>
2273
2274 <button style="main_button_half_width_low">
2275 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002276 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002277 <action function="page">restore_select</action>
2278 </button>
2279
2280 <template name="keyboardtemplate"/>
2281
2282 <action>
2283 <touch key="home"/>
2284 <action function="page">main</action>
2285 </action>
2286
2287 <action>
2288 <touch key="back"/>
2289 <action function="page">restore_select</action>
2290 </action>
2291 </page>
2292
2293 <page name="restore_run">
2294 <template name="page"/>
2295
2296 <text style="text_l">
2297 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </text>
2300
2301 <text style="text_m">
2302 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2303 <text>%tw_operation% %tw_partition%</text>
2304 </text>
2305
2306 <template name="console"/>
2307
2308 <template name="progress_bar"/>
2309
2310 <text style="text_m_accent">
2311 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 </text>
2314
2315 <text style="text_m">
2316 <placement x="%progress_text_x%" y="%row18_y%"/>
2317 <text>%tw_size_progress%</text>
2318 </text>
2319
2320 <action>
2321 <condition var1="tw_operation_state" var2="1"/>
2322 <actions>
2323 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002324 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002325 <action function="set">tw_show_reboot=1</action>
2326 <action function="page">action_complete</action>
2327 </actions>
2328 </action>
2329
2330 <action>
2331 <action function="nandroid">restore</action>
2332 </action>
2333 </page>
2334
2335 <page name="mount">
2336 <template name="page"/>
2337
2338 <text style="text_l">
2339 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 </text>
2342
2343 <text style="text_m">
2344 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <partitionlist>
2349 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002350 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002351 <listtype name="mount"/>
2352 </partitionlist>
2353
2354 <button style="checkbox">
2355 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2356 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002358 <image resource="checkbox_false"/>
2359 <action function="mountsystemtoggle">1</action>
2360 </button>
2361
2362 <button style="checkbox">
2363 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2364 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <image resource="checkbox_true"/>
2367 <actions>
2368 <action function="set">tw_lifetime_writes=2</action>
2369 <action function="page">system_readonly_check</action>
2370 </actions>
2371 </button>
2372
2373 <button style="main_button_half_width">
2374 <condition var1="tw_has_usb_storage" var2="1"/>
2375 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <action function="page">usb_mount</action>
2378 </button>
2379
2380 <button style="main_button_half_width">
2381 <conditions>
2382 <condition var1="tw_is_encrypted" var2="1"/>
2383 <condition var1="tw_is_decrypted" var2="0"/>
2384 </conditions>
2385 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">decrypt</action>
2388 </button>
2389
2390 <button style="main_button_half_width">
2391 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <actions>
2394 <action function="set">tw_back=mount</action>
2395 <action function="overlay">select_storage</action>
2396 </actions>
2397 </button>
2398
2399 <button style="main_button_half_width">
2400 <conditions>
2401 <condition var1="tw_has_mtp" var2="1"/>
2402 <condition var1="tw_mtp_enabled" var2="0"/>
2403 </conditions>
2404 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002405 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002406 <action function="startmtp"/>
2407 </button>
2408
2409 <button style="main_button_half_width">
2410 <conditions>
2411 <condition var1="tw_has_mtp" var2="1"/>
2412 <condition var1="tw_mtp_enabled" var2="1"/>
2413 </conditions>
2414 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 <action function="stopmtp"/>
2417 </button>
2418
2419 <action>
2420 <touch key="home"/>
2421 <action function="page">main</action>
2422 </action>
2423
2424 <action>
2425 <touch key="back"/>
2426 <action function="page">main</action>
2427 </action>
2428 </page>
2429
2430 <page name="usb_mount">
2431 <template name="page"/>
2432
2433 <text style="text_l">
2434 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </text>
2437
2438 <text style="text_m">
2439 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002440 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 </text>
2442
2443 <text style="text_m_accent">
2444 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 </text>
2447
2448 <text style="text_m">
2449 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <button style="main_button_half_width">
2459 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <action function="page">usb_umount</action>
2462 </button>
2463
2464 <action>
2465 <action function="mount">usb</action>
2466 <action function="set">tw_busy=1</action>
2467 </action>
2468 </page>
2469
2470 <page name="usb_umount">
2471 <action>
2472 <action function="unmount">usb</action>
2473 </action>
2474
2475 <action>
2476 <action function="page">mount</action>
2477 <action function="set">tw_busy=0</action>
2478 </action>
2479 </page>
2480
2481 <page name="system_readonly_check">
2482 <action>
2483 <action function="checkpartitionlifetimewrites">/system</action>
2484 </action>
2485
2486 <action>
2487 <condition var1="tw_lifetime_writes" var2="1"/>
2488 <actions>
2489 <action function="mountsystemtoggle">0</action>
2490 <action function="page">mount</action>
2491 </actions>
2492 </action>
2493
2494 <action>
2495 <condition var1="tw_lifetime_writes" var2="0"/>
2496 <actions>
2497 <action function="set">tw_back=mount</action>
2498 <action function="page">system_readonly</action>
2499 </actions>
2500 </action>
2501 </page>
2502
2503 <page name="reboot">
2504 <template name="page"/>
2505
2506 <text style="text_l">
2507 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002508 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 </text>
2510
2511 <button style="main_button">
2512 <condition var1="tw_reboot_system" var2="1"/>
2513 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002514 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002515 <actions>
2516 <action function="set">tw_back=reboot</action>
2517 <action function="set">tw_action=reboot</action>
2518 <action function="set">tw_action_param=system</action>
2519 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2521 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2522 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2523 <action function="set">tw_action_text2=</action>
2524 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2525 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="page">rebootcheck</action>
2527 </actions>
2528 </button>
2529
2530 <button style="main_button">
2531 <condition var1="tw_reboot_poweroff" var2="1"/>
2532 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002533 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002534 <actions>
2535 <action function="set">tw_back=reboot</action>
2536 <action function="set">tw_action=reboot</action>
2537 <action function="set">tw_action_param=poweroff</action>
2538 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2540 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2541 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2542 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2543 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002544 <action function="page">rebootcheck</action>
2545 </actions>
2546 </button>
2547
2548 <button style="main_button">
2549 <condition var1="tw_reboot_recovery" var2="1"/>
2550 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <actions>
2553 <action function="set">tw_back=reboot</action>
2554 <action function="set">tw_action=reboot</action>
2555 <action function="set">tw_action_param=recovery</action>
2556 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002557 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2558 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2559 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2560 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2561 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002562 <action function="page">rebootcheck</action>
2563 </actions>
2564 </button>
2565
2566 <button style="main_button">
2567 <condition var1="tw_reboot_bootloader" var2="1"/>
2568 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 <actions>
2571 <action function="set">tw_back=reboot</action>
2572 <action function="set">tw_action=reboot</action>
2573 <action function="set">tw_action_param=bootloader</action>
2574 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2576 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2577 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2578 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2579 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002580 <action function="page">rebootcheck</action>
2581 </actions>
2582 </button>
2583
2584 <button style="main_button">
2585 <condition var1="tw_download_mode" var2="1"/>
2586 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002587 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002588 <actions>
2589 <action function="set">tw_back=reboot</action>
2590 <action function="set">tw_action=reboot</action>
2591 <action function="set">tw_action_param=download</action>
2592 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002593 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2594 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2595 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2596 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2597 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002598 <action function="page">rebootcheck</action>
2599 </actions>
2600 </button>
2601
2602 <action>
2603 <touch key="home"/>
2604 <action function="page">main</action>
2605 </action>
2606
2607 <action>
2608 <touch key="back"/>
2609 <action function="page">main</action>
2610 </action>
2611 </page>
2612
2613 <page name="system_readonly">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <text style="text_m_accent">
2622 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002624 </text>
2625
2626 <text style="text_m">
2627 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002628 <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 +01002629 </text>
2630
2631 <text style="text_m">
2632 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002633 <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 +01002634 </text>
2635
2636 <text style="text_m_fail">
2637 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002639 </text>
2640
2641 <checkbox>
2642 <condition var1="tw_is_encrypted" var2="0"/>
2643 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <data variable="tw_never_show_system_ro_page"/>
2646 </checkbox>
2647
2648 <button style="main_button_half_width">
2649 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 <actions>
2652 <action function="mountsystemtoggle">1</action>
2653 <action function="set">tw_page_done=1</action>
2654 <action function="page">%tw_back%</action>
2655 </actions>
2656 </button>
2657
z31s1g608d7ff2016-01-18 19:47:25 +01002658 <button style="main_button_half_width">
2659 <placement x="%col2_x_left%" y="%row15a_y%"/>
2660 <text>{@sel_lang_btn=Select Language}</text>
2661 <action function="overlay">select_language</action>
2662 </button>
2663
z31s1g28f0a922015-11-07 18:50:22 +01002664 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002665 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <actions>
2667 <action function="mountsystemtoggle">0</action>
2668 <action function="set">tw_page_done=1</action>
2669 <action function="page">%tw_back%</action>
2670 </actions>
2671 </slider>
2672 </page>
2673
2674 <page name="settings">
2675 <template name="page"/>
2676
2677 <text style="text_l">
2678 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002679 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002680 </text>
2681
2682 <text style="text_m">
2683 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <template name="tabs_settings"/>
2688
2689 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002691 </fill>
2692
2693 <listbox style="scrolllist">
2694 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2695 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002697 <data variable="tw_signed_zip_verify"/>
2698 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002700 <data variable="tw_rm_rf"/>
2701 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_skip_md5_generate"/>
2704 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002705 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_skip_md5_check"/>
2707 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002709 <data variable="tw_military_time"/>
2710 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002712 <data variable="tw_simulate_actions"/>
2713 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002715 <condition var1="tw_simulate_actions" var2="1"/>
2716 <data variable="tw_simulate_fail"/>
2717 </listitem>
2718 </listbox>
2719
2720 <checkbox>
2721 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002722 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002723 <data variable="tw_samsung_navbar"/>
2724 </checkbox>
2725
2726 <button style="radiobutton">
2727 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2728 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002729 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002730 <image resource="radio_false"/>
2731 <action function="set">tw_navbar_button_position=0</action>
2732 </button>
2733
2734 <button style="radiobutton">
2735 <condition var1="tw_navbar_button_position" var2="0"/>
2736 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002738 <image resource="radio_true"/>
2739 <action function="set">tw_navbar_button_position=0</action>
2740 </button>
2741
2742 <button style="radiobutton">
2743 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2744 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002745 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002746 <image resource="radio_false"/>
2747 <action function="set">tw_navbar_button_position=1</action>
2748 </button>
2749
2750 <button style="radiobutton">
2751 <condition var1="tw_navbar_button_position" var2="1"/>
2752 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002753 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002754 <image resource="radio_true"/>
2755 <action function="set">tw_navbar_button_position=1</action>
2756 </button>
2757
2758 <button style="radiobutton">
2759 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2760 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002761 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002762 <image resource="radio_false"/>
2763 <action function="set">tw_navbar_button_position=2</action>
2764 </button>
2765
2766 <button style="radiobutton">
2767 <condition var1="tw_navbar_button_position" var2="2"/>
2768 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002769 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002770 <image resource="radio_true"/>
2771 <action function="set">tw_navbar_button_position=2</action>
2772 </button>
2773
2774 <button style="main_button_half_width">
2775 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002776 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002777 <action function="restoredefaultsettings"/>
2778 </button>
2779
2780 <action>
2781 <touch key="home"/>
2782 <action function="page">main</action>
2783 </action>
2784
2785 <action>
2786 <touch key="back"/>
2787 <action function="page">main</action>
2788 </action>
2789 </page>
2790
2791 <page name="settings_timezone">
2792 <template name="page"/>
2793
2794 <text style="text_l">
2795 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 </text>
2798
2799 <text style="text_m">
2800 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </text>
2803
2804 <template name="tabs_settings"/>
2805
2806 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002808 </fill>
2809
2810 <listbox>
2811 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002814 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2815 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2816 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2817 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2818 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2819 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2820 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2821 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2822 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2823 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2824 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2825 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2826 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2827 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2828 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2829 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2830 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2831 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2832 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2833 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2834 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2835 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2836 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2837 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002838 </listbox>
2839
2840 <text style="text_m_accent">
2841 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002842 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002843 </text>
2844
2845 <button style="button_quarter_width">
2846 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 <action function="set">tw_time_zone_guioffset=0</action>
2849 </button>
2850
2851 <button style="button_quarter_width">
2852 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_time_zone_guioffset=15</action>
2855 </button>
2856
2857 <button style="button_quarter_width">
2858 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <action function="set">tw_time_zone_guioffset=30</action>
2861 </button>
2862
2863 <button style="button_quarter_width">
2864 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002866 <action function="set">tw_time_zone_guioffset=45</action>
2867 </button>
2868
2869 <checkbox>
2870 <placement x="%col1_x_right%" y="%row7_y%"/>
2871 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002872 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002873 <data variable="tw_time_zone_guidst"/>
2874 <image checked="checkbox_true" unchecked="checkbox_false"/>
2875 </checkbox>
2876
2877 <text color="%text_color%">
2878 <font resource="font_m"/>
2879 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002880 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002881 </text>
2882
2883 <button>
2884 <highlight color="%highlight_color%"/>
2885 <placement x="%col2_x_right%" y="%row15a_y%"/>
2886 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002887 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002888 <image resource="main_button_half_width"/>
2889 <action function="setguitimezone"/>
2890 </button>
2891
2892 <action>
2893 <touch key="home"/>
2894 <action function="page">main</action>
2895 </action>
2896
2897 <action>
2898 <touch key="back"/>
2899 <action function="page">main</action>
2900 </action>
2901 </page>
2902
2903 <page name="settings_screen">
2904 <template name="page"/>
2905
2906 <text style="text_l">
2907 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002908 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002909 </text>
2910
2911 <text style="text_m">
2912 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002914 </text>
2915
2916 <template name="tabs_settings"/>
2917
2918 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002920 </fill>
2921
2922 <button>
2923 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2924 <font resource="font_m" color="%text_color%"/>
2925 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2926 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002927 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002928 <image resource="checkbox_false"/>
2929 <action function="set">tw_screen_timeout_secs=60</action>
2930 </button>
2931
2932 <button>
2933 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2934 <font resource="font_m" color="%text_color%"/>
2935 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2936 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <image resource="checkbox_true"/>
2939 <action function="set">tw_screen_timeout_secs=0</action>
2940 </button>
2941
2942 <slidervalue>
2943 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2944 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2945 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002946 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002947 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2948 </slidervalue>
2949
2950 <slidervalue>
2951 <condition var1="tw_has_brightnesss_file" var2="1"/>
2952 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 <data variable="tw_brightness_pct" min="10" max="100"/>
2955 <actions>
2956 <action function="set">tw_brightness=%tw_brightness_max%</action>
2957 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2958 <action function="compute">tw_brightness/100</action>
2959 <action function="setbrightness">%tw_brightness%</action>
2960 </actions>
2961 </slidervalue>
2962
2963 <action>
2964 <touch key="home"/>
2965 <action function="page">main</action>
2966 </action>
2967
2968 <action>
2969 <touch key="back"/>
2970 <action function="page">main</action>
2971 </action>
2972 </page>
2973
2974 <page name="settings_vibration">
2975 <template name="page"/>
2976
2977 <text style="text_l">
2978 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 </text>
2981
2982 <text style="text_m">
2983 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <template name="tabs_settings"/>
2988
2989 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </fill>
2992
2993 <slidervalue>
2994 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <data variable="tw_button_vibrate" min="0" max="300"/>
2997 </slidervalue>
2998
2999 <slidervalue>
3000 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3003 </slidervalue>
3004
3005 <slidervalue>
3006 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003008 <data variable="tw_action_vibrate" min="0" max="500"/>
3009 </slidervalue>
3010
3011 <action>
3012 <touch key="home"/>
3013 <action function="page">main</action>
3014 </action>
3015
3016 <action>
3017 <touch key="back"/>
3018 <action function="page">main</action>
3019 </action>
3020 </page>
3021
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <page name="settings_language">
3023 <template name="page"/>
3024
3025 <text style="text_l">
3026 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3027 <text>{@settings_hdr=Settings}</text>
3028 </text>
3029
3030 <text style="text_m">
3031 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3032 <text>{@language_hdr=Language - %tw_language_display%}</text>
3033 </text>
3034
3035 <template name="tabs_settings"/>
3036
3037 <fill color="%text_color%">
3038 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3039 </fill>
3040
3041 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003042 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003043 <text>{@select_language=Select Language:}</text>
3044 <icon selected="radio_true" unselected="radio_false" />
3045 <data name="tw_language" />
3046 </listbox>
3047
z31s1g56189522016-01-13 19:12:40 +01003048 <button>
3049 <highlight color="%highlight_color%"/>
3050 <placement x="%col2_x_right%" y="%row15a_y%"/>
3051 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003053 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <action function="setlanguage"></action>
3055 </button>
3056
3057 <action>
3058 <touch key="home" />
3059 <action function="page">main</action>
3060 </action>
3061
3062 <action>
3063 <touch key="back" />
3064 <action function="page">settings</action>
3065 </action>
3066 </page>
3067
z31s1g28f0a922015-11-07 18:50:22 +01003068 <page name="advanced">
3069 <template name="page"/>
3070
3071 <text style="text_l">
3072 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </text>
3075
3076 <button style="main_button">
3077 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003078 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003079 <actions>
3080 <action function="set">tw_back=advanced</action>
3081 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3083 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3084 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3085 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003086 <action function="page">confirm_action</action>
3087 </actions>
3088 </button>
3089
3090 <button style="main_button">
3091 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 <action function="page">fixperms</action>
3094 </button>
3095
3096 <button style="main_button">
3097 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3098 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003100 <actions>
3101 <action function="set">partitionlisterror=0</action>
3102 <action function="page">partsdcardsel</action>
3103 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003104 </button>
3105
3106 <button style="main_button">
3107 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <action function="page">filemanagerlist</action>
3110 </button>
3111
3112 <button style="main_button">
3113 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003115 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003116 </button>
3117
3118 <button style="main_button">
3119 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <action function="reload"/>
3122 </button>
3123
3124 <button style="main_button">
3125 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003127 <action function="page">sideload</action>
3128 </button>
3129
3130 <button style="main_button">
3131 <condition var1="tw_show_dumlock" var2="1"/>
3132 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 <action function="page">htcdumlock</action>
3135 </button>
3136
3137 <button style="main_button">
3138 <condition var1="tw_has_injecttwrp" var2="1"/>
3139 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 <actions>
3142 <action function="set">tw_back=advanced</action>
3143 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3145 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3146 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3147 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <action function="page">confirm_action</action>
3149 </actions>
3150 </button>
3151
3152 <action>
3153 <touch key="home"/>
3154 <action function="page">main</action>
3155 </action>
3156
3157 <action>
3158 <touch key="back"/>
3159 <action function="page">main</action>
3160 </action>
3161 </page>
3162
Ethan Yonker483e9f42016-01-11 22:21:18 -06003163 <page name="partsdcardsel">
3164 <template name="page"/>
3165
3166 <text style="text_l">
3167 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3168 <text>{@advanced_hdr=Advanced}</text>
3169 </text>
3170
3171 <text style="text_m">
3172 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3173 <text>{@part_sd_hdr=Partition SD Card}</text>
3174 </text>
3175
3176 <partitionlist style="partitionlist_storage">
3177 <text>{@sel_storage_list=Select Storage}</text>
3178 <data name="tw_storage_path"/>
3179 <listtype name="storage"/>
3180 </partitionlist>
3181
3182 <button style="button_third_width">
3183 <placement x="%dialog_button_x%" y="%row13_y%"/>
3184 <text>{@ok_btn=OK}</text>
3185 <actions>
3186 <action function="getpartitiondetails">tw_storage_path</action>
3187 <action function="page">partsdcardcheck</action>
3188 </actions>
3189 </button>
3190
3191 <text style="text_m_fail">
3192 <condition var1="partitionlisterror" var2="1"/>
3193 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3194 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3195 </text>
3196
3197 <action>
3198 <touch key="home"/>
3199 <action function="page">main</action>
3200 </action>
3201
3202 <action>
3203 <touch key="back"/>
3204 <action function="page">advanced</action>
3205 </action>
3206 </page>
3207
3208 <page name="partsdcardcheck">
3209 <action>
3210 <condition var1="tw_partition_removable" op="=" var2="1"/>
3211 <actions>
3212 <action function="set">partitionlisterror=0</action>
3213 <action function="page">partsdcard</action>
3214 </actions>
3215 </action>
3216
3217 <action>
3218 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3219 <actions>
3220 <action function="set">partitionlisterror=1</action>
3221 <action function="page">partsdcardsel</action>
3222 </actions>
3223 </action>
3224 </page>
3225
z31s1g28f0a922015-11-07 18:50:22 +01003226 <page name="partsdcard">
3227 <template name="page"/>
3228
3229 <text style="text_l">
3230 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 </text>
3233
3234 <text style="text_m">
3235 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003236 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003237 </text>
3238
3239 <text style="text_m_fail">
3240 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 </text>
3243
3244 <text style="text_m_fail">
3245 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003247 </text>
3248
3249 <text style="text_m_accent">
3250 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003252 </text>
3253
3254 <text style="text_m">
3255 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3256 <text>%tw_sdext_size%</text>
3257 </text>
3258
3259 <button style="button_quarter_width">
3260 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </button>
3264
3265 <button style="button_quarter_width">
3266 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003268 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003269 </button>
3270
3271 <text style="text_m_accent">
3272 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 </text>
3275
3276 <text style="text_m">
3277 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3278 <text>%tw_swap_size%</text>
3279 </text>
3280
3281 <button style="button_quarter_width">
3282 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003284 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003285 </button>
3286
3287 <button style="button_quarter_width">
3288 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003289 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003290 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </button>
3292
3293 <text style="text_m_accent">
3294 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <text style="text_m">
3299 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3300 <text>%tw_sdpart_file_system%</text>
3301 </text>
3302
3303 <button style="button_quarter_width">
3304 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3305 <text>EXT3</text>
3306 <action function="set">tw_sdpart_file_system=ext3</action>
3307 </button>
3308
3309 <button style="button_quarter_width">
3310 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3311 <text>EXT4</text>
3312 <action function="set">tw_sdpart_file_system=ext4</action>
3313 </button>
3314
3315 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 <action function="page">partsdcardaction</action>
3318 <actions>
3319 <action function="set">tw_back=partsdcard</action>
3320 <action function="set">tw_action=partitionsd</action>
3321 <action function="set">tw_has_action2=1</action>
3322 <action function="set">tw_action2=set</action>
3323 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3325 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3326 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003327 <action function="page">action_page</action>
3328 </actions>
3329 </slider>
3330
3331 <action>
3332 <touch key="home"/>
3333 <action function="page">main</action>
3334 </action>
3335
3336 <action>
3337 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003338 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003339 </action>
3340 </page>
3341
3342 <page name="htcdumlock">
3343 <template name="page"/>
3344
3345 <text style="text_l">
3346 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </text>
3349
3350 <text style="text_m">
3351 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003352 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003353 </text>
3354
3355 <button style="main_button_m">
3356 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003357 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003358 <actions>
3359 <action function="set">tw_back=htcdumlock</action>
3360 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3362 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3363 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3364 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003365 <action function="page">confirm_action</action>
3366 </actions>
3367 </button>
3368
3369 <button style="main_button_m">
3370 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <actions>
3373 <action function="set">tw_back=htcdumlock</action>
3374 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3376 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3377 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3378 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <action function="page">confirm_action</action>
3380 </actions>
3381 </button>
3382
3383 <button style="main_button_m">
3384 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003385 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <actions>
3387 <action function="set">tw_back=htcdumlock</action>
3388 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003389 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3390 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3391 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3392 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="page">confirm_action</action>
3394 </actions>
3395 </button>
3396
3397 <action>
3398 <touch key="home"/>
3399 <action function="page">main</action>
3400 </action>
3401
3402 <action>
3403 <touch key="back"/>
3404 <action function="page">advanced</action>
3405 </action>
3406 </page>
3407
3408 <page name="lock">
3409 <background color="%semi_transparent%"/>
3410
3411 <image>
3412 <image resource="unlock_icon"/>
3413 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3414 </image>
3415
3416 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003417 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003418 <action function="overlay"/>
3419 </slider>
3420 </page>
3421
3422 <page name="filemanagerlist">
3423 <template name="page"/>
3424
3425 <text style="text_l">
3426 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003428 </text>
3429
3430 <text style="text_m">
3431 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 </text>
3434
3435 <template name="sort_options"/>
3436
3437 <fileselector>
3438 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3439 <text>%tw_file_location1%</text>
3440 <filter folders="1" files="1"/>
3441 <path name="tw_file_location1" default="/"/>
3442 <data name="tw_filename1"/>
3443 <selection name="tw_selection1"/>
3444 </fileselector>
3445
3446 <button style="main_button_half_width_low">
3447 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <actions>
3450 <action function="set">tw_filename1=tw_file_location1</action>
3451 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <action function="page">filemanageroptions</action>
3454 </actions>
3455 </button>
3456
3457 <action>
3458 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003460 <action function="set">tw_fm_isfolder=0</action>
3461 </actions>
3462 </action>
3463
3464 <action>
3465 <touch key="home"/>
3466 <action function="page">main</action>
3467 </action>
3468
3469 <action>
3470 <touch key="back"/>
3471 <action function="page">advanced</action>
3472 </action>
3473
3474 <action>
3475 <condition var1="tw_filename1" op="modified"/>
3476 <action function="page">filemanageroptions</action>
3477 </action>
3478 </page>
3479
3480 <page name="filemanageroptions">
3481 <template name="page"/>
3482
3483 <text style="text_l">
3484 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <text style="text_m">
3489 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </text>
3492
3493 <text style="text_m_accent">
3494 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003496 </text>
3497
3498 <text style="text_m">
3499 <placement x="%col1_x_left%" y="%row3_y%"/>
3500 <text>%tw_filename1%</text>
3501 </text>
3502
3503 <button style="main_button_half_width">
3504 <condition var1="tw_fm_isfolder" var2="0"/>
3505 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 <actions>
3508 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003510 <action function="page">choosedestinationfolder</action>
3511 </actions>
3512 </button>
3513
3514 <button style="main_button_half_width">
3515 <condition var1="tw_fm_isfolder" var2="1"/>
3516 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <actions>
3519 <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 -05003520 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003521 <action function="page">choosedestinationfolder</action>
3522 </actions>
3523 </button>
3524
3525 <button style="main_button_half_width">
3526 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003528 <actions>
3529 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003531 <action function="page">choosedestinationfolder</action>
3532 </actions>
3533 </button>
3534
3535 <button style="main_button_half_width">
3536 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003537 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <actions>
3539 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003540 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <action function="set">tw_fm_text2=</action>
3542 <action function="set">tw_fm_text3=</action>
3543 <action function="set">tw_include_text3=0</action>
3544 <action function="set">tw_back=filemanageroptions</action>
3545 <action function="page">filemanagerconfirm</action>
3546 </actions>
3547 </button>
3548
3549 <button style="main_button_half_width">
3550 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <actions>
3553 <action function="set">tw_filemanager_rename=0000</action>
3554 <action function="set">tw_fm_text2=</action>
3555 <action function="set">tw_fm_text3=</action>
3556 <action function="set">tw_include_text3=0</action>
3557 <action function="set">tw_back=filemanageroptions</action>
3558 <action function="page">filemanagerchmod</action>
3559 </actions>
3560 </button>
3561
3562 <button style="main_button_half_width">
3563 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <actions>
3566 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003568 <action function="set">tw_fm_text2=</action>
3569 <action function="set">tw_fm_text3=</action>
3570 <action function="set">tw_include_text3=0</action>
3571 <action function="set">tw_back=filemanageroptions</action>
3572 <action function="page">filemanagerconfirm</action>
3573 </actions>
3574 </button>
3575
3576 <button style="main_button_half_width">
3577 <condition var1="tw_fm_isfolder" var2="0"/>
3578 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <actions>
3581 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003583 <action function="set">tw_filemanager_command=mv</action>
3584 <action function="page">filemanagerrenamefile</action>
3585 </actions>
3586 </button>
3587
3588 <button style="main_button_half_width">
3589 <condition var1="tw_fm_isfolder" var2="1"/>
3590 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <actions>
3593 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003595 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3596 <action function="page">filemanagerrenamefolder</action>
3597 </actions>
3598 </button>
3599
3600 <action>
3601 <touch key="home"/>
3602 <action function="page">main</action>
3603 </action>
3604
3605 <action>
3606 <touch key="back"/>
3607 <action function="page">filemanagerlist</action>
3608 </action>
3609 </page>
3610
3611 <page name="choosedestinationfolder">
3612 <template name="page"/>
3613
3614 <text style="text_l">
3615 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003616 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003617 </text>
3618
3619 <text style="text_m">
3620 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003621 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003622 </text>
3623
3624 <template name="sort_options"/>
3625
3626 <fileselector>
3627 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3628 <text>%tw_file_location2%</text>
3629 <filter folders="1" files="0"/>
3630 <path name="tw_file_location2" default="/"/>
3631 <data name="tw_filename2"/>
3632 <selection name="tw_selection2"/>
3633 </fileselector>
3634
3635 <button style="main_button_half_width_low">
3636 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 <actions>
3639 <action function="set">tw_fm_text2=to</action>
3640 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3641 <action function="set">tw_include_text3=1</action>
3642 <action function="set">tw_back=filemanageroptions</action>
3643 <action function="page">filemanagerconfirm</action>
3644 </actions>
3645 </button>
3646
3647 <action>
3648 <touch key="home"/>
3649 <action function="page">main</action>
3650 </action>
3651
3652 <action>
3653 <touch key="back"/>
3654 <action function="page">filemanageroptions</action>
3655 </action>
3656 </page>
3657
3658 <page name="filemanagerrenamefile">
3659 <template name="page"/>
3660
3661 <text style="text_l">
3662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003664 </text>
3665
3666 <text style="text_m">
3667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003668 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003669 </text>
3670
3671 <text style="text_m_accent">
3672 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003673 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003674 </text>
3675
3676 <input>
3677 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3678 <text>%tw_filemanager_rename%</text>
3679 <data name="tw_filemanager_rename"/>
3680 <restrict minlen="1" maxlen="128"/>
3681 <actions>
3682 <action function="set">tw_fm_text2=to</action>
3683 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3684 <action function="set">tw_include_text3=1</action>
3685 <action function="set">tw_back=filemanageroptions</action>
3686 <action function="page">filemanagerconfirm</action>
3687 </actions>
3688 </input>
3689
3690 <fill color="%accent_color%">
3691 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3692 </fill>
3693
3694 <button style="main_button_half_width_low">
3695 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 <action function="page">filemanageroptions</action>
3698 </button>
3699
3700 <template name="keyboardtemplate"/>
3701
3702 <action>
3703 <touch key="home"/>
3704 <action function="page">main</action>
3705 </action>
3706
3707 <action>
3708 <touch key="back"/>
3709 <action function="page">filemanageroptions</action>
3710 </action>
3711 </page>
3712
3713 <page name="filemanagerrenamefolder">
3714 <template name="page"/>
3715
3716 <text style="text_l">
3717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </text>
3720
3721 <text style="text_m">
3722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </text>
3725
3726 <text style="text_m_accent">
3727 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <input>
3732 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3733 <text>%tw_filemanager_rename%</text>
3734 <data name="tw_filemanager_rename"/>
3735 <restrict minlen="1" maxlen="128"/>
3736 <actions>
3737 <action function="set">tw_fm_text2=to</action>
3738 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3739 <action function="set">tw_include_text3=1</action>
3740 <action function="set">tw_back=filemanageroptions</action>
3741 <action function="page">filemanagerconfirm</action>
3742 </actions>
3743 </input>
3744
3745 <fill color="%accent_color%">
3746 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3747 </fill>
3748
3749 <button style="main_button_half_width_low">
3750 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003752 <action function="page">filemanageroptions</action>
3753 </button>
3754
3755 <template name="keyboardtemplate"/>
3756
3757 <action>
3758 <touch key="home"/>
3759 <action function="page">main</action>
3760 </action>
3761
3762 <action>
3763 <touch key="back"/>
3764 <action function="page">filemanageroptions</action>
3765 </action>
3766 </page>
3767
3768 <page name="filemanagerchmod">
3769 <template name="page"/>
3770
3771 <text style="text_l">
3772 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 </text>
3775
3776 <text style="text_m">
3777 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 </text>
3780
3781 <text style="text_m_accent">
3782 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 </text>
3785
3786 <input>
3787 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3788 <text>%tw_filemanager_rename%</text>
3789 <data name="tw_filemanager_rename"/>
3790 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3791 <actions>
3792 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3793 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3794 <action function="set">tw_back=filemanageroptions</action>
3795 <action function="page">filemanagerconfirm</action>
3796 </actions>
3797 </input>
3798
3799 <fill color="%accent_color%">
3800 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3801 </fill>
3802
3803 <button style="main_button_half_width_low">
3804 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003806 <action function="page">filemanageroptions</action>
3807 </button>
3808
3809 <template name="keyboardtemplate"/>
3810
3811 <action>
3812 <touch key="home"/>
3813 <action function="page">main</action>
3814 </action>
3815
3816 <action>
3817 <touch key="back"/>
3818 <action function="page">filemanageroptions</action>
3819 </action>
3820 </page>
3821
3822 <page name="filemanagerconfirm">
3823 <template name="page"/>
3824
3825 <text style="text_l">
3826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <text style="text_m_accent">
3836 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3837 <text>%tw_fm_text1%</text>
3838 </text>
3839
3840 <text style="text_m">
3841 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3842 <text>%tw_filename1%</text>
3843 </text>
3844
3845 <text style="text_m_accent">
3846 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3847 <text>%tw_fm_text2%</text>
3848 </text>
3849
3850 <text style="text_m">
3851 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3852 <text>%tw_fm_text3%</text>
3853 </text>
3854
3855 <text style="text_m">
3856 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003857 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003858 </text>
3859
3860 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003861 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003862 <action function="page">filemanageraction</action>
3863 </slider>
3864
3865 <action>
3866 <touch key="back"/>
3867 <action function="page">%tw_back%</action>
3868 </action>
3869
3870 <action>
3871 <touch key="home"/>
3872 <action function="page">main</action>
3873 </action>
3874 </page>
3875
3876 <page name="filemanageraction">
3877 <template name="page"/>
3878
3879 <text style="text_l">
3880 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003882 </text>
3883
3884 <text style="text_m">
3885 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3886 <text>%tw_fm_text1%</text>
3887 </text>
3888
3889 <template name="console"/>
3890
3891 <template name="progress_bar"/>
3892
3893 <action>
3894 <conditions>
3895 <condition var1="tw_operation_state" var2="1"/>
3896 <condition var1="tw_operation_status" var2="0"/>
3897 </conditions>
3898 <actions>
3899 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003900 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <action function="page">action_complete</action>
3902 </actions>
3903 </action>
3904
3905 <action>
3906 <conditions>
3907 <condition var1="tw_operation_state" var2="1"/>
3908 <condition var1="tw_operation_status" op="!=" var2="0"/>
3909 </conditions>
3910 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003912 <action function="page">action_complete</action>
3913 </actions>
3914 </action>
3915
3916 <action>
3917 <condition var1="tw_include_text3" var2="0"/>
3918 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3919 </action>
3920
3921 <action>
3922 <condition var1="tw_include_text3" var2="1"/>
3923 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3924 </action>
3925 </page>
3926
3927 <page name="decrypt">
3928 <template name="page"/>
3929
3930 <action>
3931 <condition var1="tw_crypto_pwtype" var2="2"/>
3932 <action function="page">decrypt_pattern</action>
3933 </action>
3934
3935 <text style="text_l">
3936 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <text style="text_m">
3941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 </text>
3944
3945 <text style="text_m_accent">
3946 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </text>
3949
3950 <input>
3951 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3952 <text>%tw_crypto_display%</text>
3953 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3954 <restrict minlen="1" maxlen="254"/>
3955 <action function="page">trydecrypt</action>
3956 </input>
3957
3958 <fill color="%accent_color%">
3959 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3960 </fill>
3961
3962 <fill color="%text_fail_color%">
3963 <condition var1="tw_password_fail" var2="1"/>
3964 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3965 </fill>
3966
3967 <text style="text_m_fail">
3968 <condition var1="tw_password_fail" var2="1"/>
3969 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003970 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </text>
3972
3973 <button style="main_button_half_width_low">
3974 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <actions>
3977 <action function="set">tw_page_done=1</action>
3978 <action function="page">main</action>
3979 </actions>
3980 </button>
3981
z31s1g608d7ff2016-01-18 19:47:25 +01003982 <button style="main_button_half_width_low">
3983 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
3984 <text>{@sel_lang_btn=Select Language}</text>
3985 <action function="overlay">select_language</action>
3986 </button>
3987
z31s1g28f0a922015-11-07 18:50:22 +01003988 <template name="keyboardtemplate"/>
3989 </page>
3990
3991 <page name="decrypt_pattern">
3992 <template name="page"/>
3993
3994 <text style="text_l">
3995 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </text>
3998
3999 <text style="text_m">
4000 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004002 </text>
4003
4004 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004005 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004006 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004007 </text>
4008
Aleksa Saraib25a1832015-12-31 17:36:00 +01004009 <text style="text_m_fail">
4010 <condition var1="tw_password_fail" var2="1"/>
4011 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
4012 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4013 </text>
4014
z31s1g28f0a922015-11-07 18:50:22 +01004015 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004016 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004017 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4018 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4019 <data name="tw_crypto_password"/>
4020 <action function="page">trydecrypt</action>
4021 </patternpassword>
4022
Aleksa Saraib25a1832015-12-31 17:36:00 +01004023 <button style="main_button_half_width_low">
4024 <placement x="%col_button_right%" y="%row1a_y%"/>
4025 <text>3x3</text>
4026 <action function="set">tw_gui_pattern_grid_size=3</action>
4027 </button>
4028
4029 <button style="main_button_half_width_low">
4030 <placement x="%col_button_right%" y="%row4a_y%"/>
4031 <text>4x4</text>
4032 <action function="set">tw_gui_pattern_grid_size=4</action>
4033 </button>
4034
4035 <button style="main_button_half_width_low">
4036 <placement x="%col_button_right%" y="%row7a_y%"/>
4037 <text>5x5</text>
4038 <action function="set">tw_gui_pattern_grid_size=5</action>
4039 </button>
4040
4041 <button style="main_button_half_width_low">
4042 <placement x="%col_button_right%" y="%row10a_y%"/>
4043 <text>6x6</text>
4044 <action function="set">tw_gui_pattern_grid_size=6</action>
4045 </button>
4046
z31s1g28f0a922015-11-07 18:50:22 +01004047 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004048 <placement x="%col1_x_right%" y="%row15a_y%"/>
4049 <text>{@sel_lang_btn=Select Language}</text>
4050 <action function="overlay">select_language</action>
4051 </button>
4052
4053 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004054 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004056 <actions>
4057 <action function="set">tw_page_done=1</action>
4058 <action function="page">main</action>
4059 </actions>
4060 </button>
4061 </page>
4062
4063 <page name="trydecrypt">
4064 <template name="page"/>
4065
4066 <text style="text_l">
4067 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </text>
4070
4071 <text style="text_m">
4072 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <template name="console"/>
4077
4078 <template name="progress_bar"/>
4079
4080 <action>
4081 <action function="decrypt"/>
4082 </action>
4083
4084 <action>
4085 <conditions>
4086 <condition var1="tw_operation_state" var2="1"/>
4087 <condition var1="tw_operation_status" op="!=" var2="0"/>
4088 </conditions>
4089 <actions>
4090 <action function="set">tw_password_fail=1</action>
4091 <action function="page">decrypt</action>
4092 </actions>
4093 </action>
4094
4095 <action>
4096 <conditions>
4097 <condition var1="tw_operation_state" var2="1"/>
4098 <condition var1="tw_operation_status" op="=" var2="0"/>
4099 </conditions>
4100 <actions>
4101 <action function="set">tw_page_done=1</action>
4102 <action function="page">main</action>
4103 </actions>
4104 </action>
4105 </page>
4106
z31s1g28f0a922015-11-07 18:50:22 +01004107 <page name="terminalcommand">
4108 <template name="page"/>
4109
4110 <fill color="%background_color%">
4111 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4112 </fill>
4113
z31s1g56189522016-01-13 19:12:40 +01004114 <terminal>
4115 <condition var1="tw_hide_kb" var2="0"/>
4116 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4117 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004118
z31s1g56189522016-01-13 19:12:40 +01004119 <terminal>
4120 <condition var1="tw_hide_kb" var2="1"/>
4121 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4122 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004123
z31s1g56189522016-01-13 19:12:40 +01004124 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004125
z31s1g56189522016-01-13 19:12:40 +01004126 <object type="fill" color="#000000">
4127 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4128 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004129
z31s1g608d7ff2016-01-18 19:47:25 +01004130 <button>
z31s1g56189522016-01-13 19:12:40 +01004131 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4132 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4133 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4134 <image resource="back" />
4135 <condition var1="tw_busy" var2="0" />
4136 <actions>
4137 <action function="set">tw_hide_kb=0</action>
4138 <action function="page">advanced</action>
4139 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004140 </button>
z31s1g56189522016-01-13 19:12:40 +01004141
z31s1g608d7ff2016-01-18 19:47:25 +01004142 <button>
z31s1g56189522016-01-13 19:12:40 +01004143 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4144 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4145 <condition var1="tw_hide_kb" op="=" var2="0" />
4146 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4147 <image resource="kb_hide" />
4148 <condition var1="tw_busy" var2="0" />
4149 <actions>
4150 <action function="set">tw_hide_kb=1</action>
4151 <action function="page">terminalcommand</action>
4152 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004153 </button>
z31s1g56189522016-01-13 19:12:40 +01004154
z31s1g608d7ff2016-01-18 19:47:25 +01004155 <button>
z31s1g56189522016-01-13 19:12:40 +01004156 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4157 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4158 <condition var1="tw_hide_kb" op="=" var2="1" />
4159 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4160 <image resource="kb_show" />
4161 <condition var1="tw_busy" var2="0" />
4162 <actions>
4163 <action function="set">tw_hide_kb=0</action>
4164 <action function="page">terminalcommand</action>
4165 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004166 </button>
z31s1g56189522016-01-13 19:12:40 +01004167
z31s1g608d7ff2016-01-18 19:47:25 +01004168 <button>
z31s1g56189522016-01-13 19:12:40 +01004169 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4170 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4171 <image resource="home" />
4172 <condition var1="tw_busy" var2="0" />
4173 <actions>
4174 <action function="set">tw_hide_kb=0</action>
4175 <action function="key">home</action>
4176 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004177 </button>
z31s1g56189522016-01-13 19:12:40 +01004178
z31s1g608d7ff2016-01-18 19:47:25 +01004179 <button>
z31s1g56189522016-01-13 19:12:40 +01004180 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4181 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4182 <condition var1="tw_hide_kb" op="=" var2="0" />
4183 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4184 <image resource="kb_hide" />
4185 <condition var1="tw_busy" var2="0" />
4186 <actions>
4187 <action function="set">tw_hide_kb=1</action>
4188 <action function="page">terminalcommand</action>
4189 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004190 </button>
z31s1g56189522016-01-13 19:12:40 +01004191
z31s1g608d7ff2016-01-18 19:47:25 +01004192 <button>
z31s1g56189522016-01-13 19:12:40 +01004193 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4194 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4195 <condition var1="tw_hide_kb" op="=" var2="1" />
4196 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4197 <image resource="kb_show" />
4198 <condition var1="tw_busy" var2="0" />
4199 <actions>
4200 <action function="set">tw_hide_kb=0</action>
4201 <action function="page">terminalcommand</action>
4202 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004203 </button>
z31s1g56189522016-01-13 19:12:40 +01004204
z31s1g608d7ff2016-01-18 19:47:25 +01004205 <button>
z31s1g56189522016-01-13 19:12:40 +01004206 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4207 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4208 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4209 <image resource="back" />
4210 <condition var1="tw_busy" var2="0" />
4211 <actions>
4212 <action function="set">tw_hide_kb=0</action>
4213 <action function="page">advanced</action>
4214 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004215 </button>
z31s1g56189522016-01-13 19:12:40 +01004216
z31s1g608d7ff2016-01-18 19:47:25 +01004217 <button>
z31s1g56189522016-01-13 19:12:40 +01004218 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4219 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4220 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4221 <image resource="back" />
4222 <condition var1="tw_busy" var2="0" />
4223 <actions>
4224 <action function="set">tw_hide_kb=0</action>
4225 <action function="page">advanced</action>
4226 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004227 </button>
z31s1g56189522016-01-13 19:12:40 +01004228
z31s1g608d7ff2016-01-18 19:47:25 +01004229 <button>
z31s1g56189522016-01-13 19:12:40 +01004230 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4231 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4232 <condition var1="tw_hide_kb" op="=" var2="0" />
4233 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4234 <image resource="kb_hide" />
4235 <condition var1="tw_busy" var2="0" />
4236 <actions>
4237 <action function="set">tw_hide_kb=1</action>
4238 <action function="page">terminalcommand</action>
4239 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004240 </button>
z31s1g56189522016-01-13 19:12:40 +01004241
z31s1g608d7ff2016-01-18 19:47:25 +01004242 <button>
z31s1g56189522016-01-13 19:12:40 +01004243 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4244 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4245 <condition var1="tw_hide_kb" op="=" var2="1" />
4246 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4247 <image resource="kb_show" />
4248 <condition var1="tw_busy" var2="0" />
4249 <actions>
4250 <action function="set">tw_hide_kb=0</action>
4251 <action function="page">terminalcommand</action>
4252 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004253 </button>
z31s1g56189522016-01-13 19:12:40 +01004254
z31s1g608d7ff2016-01-18 19:47:25 +01004255 <button>
z31s1g56189522016-01-13 19:12:40 +01004256 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4257 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4258 <image resource="home" />
4259 <condition var1="tw_busy" var2="0" />
4260 <actions>
4261 <action function="set">tw_hide_kb=0</action>
4262 <action function="key">home</action>
4263 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004264 </button>
z31s1g56189522016-01-13 19:12:40 +01004265
z31s1g608d7ff2016-01-18 19:47:25 +01004266 <button>
z31s1g56189522016-01-13 19:12:40 +01004267 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4268 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4269 <condition var1="tw_hide_kb" op="=" var2="0" />
4270 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4271 <image resource="kb_hide" />
4272 <condition var1="tw_busy" var2="0" />
4273 <actions>
4274 <action function="set">tw_hide_kb=1</action>
4275 <action function="page">terminalcommand</action>
4276 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004277 </button>
z31s1g56189522016-01-13 19:12:40 +01004278
z31s1g608d7ff2016-01-18 19:47:25 +01004279 <button>
z31s1g56189522016-01-13 19:12:40 +01004280 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4281 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4282 <condition var1="tw_hide_kb" op="=" var2="1" />
4283 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4284 <image resource="kb_show" />
4285 <condition var1="tw_busy" var2="0" />
4286 <actions>
4287 <action function="set">tw_hide_kb=0</action>
4288 <action function="page">terminalcommand</action>
4289 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004290 </button>
z31s1g56189522016-01-13 19:12:40 +01004291
z31s1g608d7ff2016-01-18 19:47:25 +01004292 <button>
z31s1g56189522016-01-13 19:12:40 +01004293 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4294 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4295 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4296 <image resource="back" />
4297 <condition var1="tw_busy" var2="0" />
4298 <actions>
4299 <action function="set">tw_hide_kb=0</action>
4300 <action function="page">advanced</action>
4301 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004302 </button>
z31s1g56189522016-01-13 19:12:40 +01004303
z31s1g608d7ff2016-01-18 19:47:25 +01004304 <button>
z31s1g56189522016-01-13 19:12:40 +01004305 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4306 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4307 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4308 <image resource="back" />
4309 <condition var1="tw_busy" var2="0" />
4310 <actions>
4311 <action function="set">tw_hide_kb=0</action>
4312 <action function="page">advanced</action>
4313 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004314 </button>
z31s1g56189522016-01-13 19:12:40 +01004315
z31s1g608d7ff2016-01-18 19:47:25 +01004316 <button>
z31s1g56189522016-01-13 19:12:40 +01004317 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4318 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4319 <condition var1="tw_hide_kb" op="=" var2="0" />
4320 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4321 <image resource="kb_hide" />
4322 <condition var1="tw_busy" var2="0" />
4323 <actions>
4324 <action function="set">tw_hide_kb=1</action>
4325 <action function="page">terminalcommand</action>
4326 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004327 </button>
z31s1g56189522016-01-13 19:12:40 +01004328
z31s1g608d7ff2016-01-18 19:47:25 +01004329 <button>
z31s1g56189522016-01-13 19:12:40 +01004330 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4331 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4332 <condition var1="tw_hide_kb" op="=" var2="1" />
4333 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4334 <image resource="kb_show" />
4335 <condition var1="tw_busy" var2="0" />
4336 <actions>
4337 <action function="set">tw_hide_kb=0</action>
4338 <action function="page">terminalcommand</action>
4339 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004340 </button>
z31s1g56189522016-01-13 19:12:40 +01004341
z31s1g608d7ff2016-01-18 19:47:25 +01004342 <button>
z31s1g56189522016-01-13 19:12:40 +01004343 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4344 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4345 <image resource="home" />
4346 <condition var1="tw_busy" var2="0" />
4347 <actions>
4348 <action function="set">tw_hide_kb=0</action>
4349 <action function="key">home</action>
4350 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004351 </button>
z31s1g56189522016-01-13 19:12:40 +01004352
z31s1g608d7ff2016-01-18 19:47:25 +01004353 <button>
z31s1g56189522016-01-13 19:12:40 +01004354 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4355 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4356 <condition var1="tw_hide_kb" op="=" var2="0" />
4357 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4358 <image resource="kb_hide" />
4359 <condition var1="tw_busy" var2="0" />
4360 <actions>
4361 <action function="set">tw_hide_kb=1</action>
4362 <action function="page">terminalcommand</action>
4363 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004364 </button>
z31s1g56189522016-01-13 19:12:40 +01004365
z31s1g608d7ff2016-01-18 19:47:25 +01004366 <button>
z31s1g56189522016-01-13 19:12:40 +01004367 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4368 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4369 <condition var1="tw_hide_kb" op="=" var2="1" />
4370 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4371 <image resource="kb_show" />
4372 <condition var1="tw_busy" var2="0" />
4373 <actions>
4374 <action function="set">tw_hide_kb=0</action>
4375 <action function="page">terminalcommand</action>
4376 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004377 </button>
z31s1g56189522016-01-13 19:12:40 +01004378
z31s1g608d7ff2016-01-18 19:47:25 +01004379 <button>
z31s1g56189522016-01-13 19:12:40 +01004380 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4381 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4382 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4383 <image resource="back" />
4384 <condition var1="tw_busy" var2="0" />
4385 <actions>
4386 <action function="set">tw_hide_kb=0</action>
4387 <action function="page">advanced</action>
4388 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004389 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004390
4391 <action>
4392 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004393 <actions>
4394 <action function="page">main</action>
4395 <action function="set">tw_hide_kb=0</action>
4396 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </action>
4398
4399 <action>
4400 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004401 <actions>
4402 <action function="page">advanced</action>
4403 <action function="set">tw_hide_kb=0</action>
4404 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </action>
z31s1g56189522016-01-13 19:12:40 +01004406
4407 <object type="action">
4408 <touch key="power+voldown" />
4409 <action function="screenshot" />
4410 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004411 </page>
4412
4413 <page name="sideload">
4414 <template name="page"/>
4415
4416 <text style="text_l">
4417 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004418 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004419 </text>
4420
4421 <text style="text_m">
4422 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 </text>
4425
4426 <checkbox>
4427 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 <data variable="tw_wipe_dalvik"/>
4430 </checkbox>
4431
4432 <checkbox>
4433 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 <data variable="tw_wipe_cache"/>
4436 </checkbox>
4437
4438 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 <actions>
4441 <action function="set">tw_back=advanced</action>
4442 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4444 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4445 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004446 <action function="set">tw_has_cancel=1</action>
4447 <action function="set">tw_show_reboot=1</action>
4448 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4449 <action function="page">action_page</action>
4450 </actions>
4451 </slider>
4452
4453 <action>
4454 <touch key="home"/>
4455 <action function="page">main</action>
4456 </action>
4457
4458 <action>
4459 <touch key="back"/>
4460 <action function="page">advanced</action>
4461 </action>
4462 </page>
4463
4464 <page name="fixperms">
4465 <template name="page"/>
4466
4467 <text style="text_l">
4468 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004469 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 </text>
4471
4472 <text style="text_m">
4473 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004474 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004475 </text>
4476
4477 <text style="text_m_accent">
4478 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </text>
4481
4482 <checkbox>
4483 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 <data variable="tw_fixperms_restorecon"/>
4486 </checkbox>
4487
4488 <text style="text_m_fail">
4489 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004490 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </text>
4492
4493 <text style="text_m_fail">
4494 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 </text>
4497
4498 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004499 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004500 <actions>
4501 <action function="set">tw_back=advanced</action>
4502 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4504 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4505 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004506 <action function="set">tw_show_reboot=1</action>
4507 <action function="page">action_page</action>
4508 </actions>
4509 </slider>
4510
4511 <action>
4512 <touch key="home"/>
4513 <action function="page">main</action>
4514 </action>
4515
4516 <action>
4517 <touch key="back"/>
4518 <action function="page">advanced</action>
4519 </action>
4520 </page>
4521
4522 <page name="installsu">
4523 <template name="page"/>
4524
4525 <text style="text_l">
4526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004527 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004528 </text>
4529
4530 <text style="text_m">
4531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004532 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004533 </text>
4534
4535 <text style="text_m_accent">
4536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </text>
4539
4540 <text style="text_m">
4541 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </text>
4544
4545 <text style="text_m">
4546 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <button style="main_button_half_width">
4551 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004552 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004553 <action function="set">tw_page_done=1</action>
4554 </button>
4555
4556 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004557 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004558 <actions>
4559 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004561 <action function="set">tw_action_text2=</action>
4562 <action function="page">singleaction_page</action>
4563 </actions>
4564 </slider>
4565 </page>
4566
4567 <page name="slideout">
4568 <fill color="%background_color%">
4569 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4570 </fill>
4571
4572 <console>
4573 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4574 </console>
4575
4576 <button>
4577 <fill color="%transparent%"/>
4578 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4579 <action function="overlay"/>
4580 </button>
4581
4582 <action>
4583 <touch key="power+voldown"/>
4584 <action function="screenshot"/>
4585 </action>
4586 </page>
4587
4588 <page name="select_storage">
4589 <fill color="%semi_transparent%">
4590 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4591 </fill>
4592
4593 <fill color="%background_color%">
4594 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4595 </fill>
4596
4597 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 <data name="tw_storage_path"/>
4600 <listtype name="storage"/>
4601 </partitionlist>
4602
4603 <button style="button_third_width">
4604 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004605 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004606 <actions>
4607 <action function="set">tw_clear_destination=%tw_back%</action>
4608 <action function="overlay"/>
4609 <action function="page">clear_vars</action>
4610 </actions>
4611 </button>
4612
4613 <fill color="#000000">
4614 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4615 </fill>
4616
4617 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004618 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4619 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4620 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4621 <image resource="back" />
4622 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004623 <actions>
4624 <action function="overlay"/>
4625 <action function="key">%tw_back%</action>
4626 </actions>
4627 </button>
4628
4629 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004630 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4631 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4632 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4633 <image resource="console" />
4634 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004635 <action function="overlay">slideout</action>
4636 </button>
4637
4638 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004639 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4640 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4641 <image resource="home" />
4642 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004643 <actions>
4644 <action function="overlay"/>
4645 <action function="key">home</action>
4646 </actions>
4647 </button>
4648
4649 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004650 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4651 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4652 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4653 <image resource="console" />
4654 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004655 <action function="overlay">slideout</action>
4656 </button>
4657
4658 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004659 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4660 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4661 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4662 <image resource="back" />
4663 <condition var1="tw_busy" var2="0" />
4664 <actions>
4665 <action function="overlay"/>
4666 <action function="key">%tw_back%</action>
4667 </actions>
4668 </button>
4669
4670 <button>
4671 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4672 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4673 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4674 <image resource="back" />
4675 <condition var1="tw_busy" var2="0" />
4676 <actions>
4677 <action function="overlay"/>
4678 <action function="key">%tw_back%</action>
4679 </actions>
4680 </button>
4681
4682 <button>
4683 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4684 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4685 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4686 <image resource="console" />
4687 <condition var1="tw_busy" var2="0" />
4688 <action function="overlay">slideout</action>
4689 </button>
4690
4691 <button>
4692 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4693 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4694 <image resource="home" />
4695 <condition var1="tw_busy" var2="0" />
4696 <actions>
4697 <action function="overlay"/>
4698 <action function="key">home</action>
4699 </actions>
4700 </button>
4701
4702 <button>
4703 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4704 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4705 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4706 <image resource="console" />
4707 <condition var1="tw_busy" var2="0" />
4708 <action function="overlay">slideout</action>
4709 </button>
4710
4711 <button>
4712 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4713 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4714 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4715 <image resource="back" />
4716 <condition var1="tw_busy" var2="0" />
4717 <actions>
4718 <action function="overlay"/>
4719 <action function="key">%tw_back%</action>
4720 </actions>
4721 </button>
4722
4723 <button>
4724 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4725 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4726 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4727 <image resource="back" />
4728 <condition var1="tw_busy" var2="0" />
4729 <actions>
4730 <action function="overlay"/>
4731 <action function="key">%tw_back%</action>
4732 </actions>
4733 </button>
4734
4735 <button>
4736 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4737 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4738 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4739 <image resource="console" />
4740 <condition var1="tw_busy" var2="0" />
4741 <action function="overlay">slideout</action>
4742 </button>
4743
4744 <button>
4745 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4746 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4747 <image resource="home" />
4748 <condition var1="tw_busy" var2="0" />
4749 <actions>
4750 <action function="overlay"/>
4751 <action function="key">home</action>
4752 </actions>
4753 </button>
4754
4755 <button>
4756 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4757 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4758 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4759 <image resource="console" />
4760 <condition var1="tw_busy" var2="0" />
4761 <action function="overlay">slideout</action>
4762 </button>
4763
4764 <button>
4765 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4766 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4767 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4768 <image resource="back" />
4769 <condition var1="tw_busy" var2="0" />
4770 <actions>
4771 <action function="overlay"/>
4772 <action function="key">%tw_back%</action>
4773 </actions>
4774 </button>
4775
4776 <action>
4777 <touch key="power+voldown"/>
4778 <action function="screenshot"/>
4779 </action>
4780 </page>
4781
4782 <page name="select_language">
4783 <fill color="%semi_transparent%">
4784 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4785 </fill>
4786
4787 <fill color="%background_color%">
4788 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4789 </fill>
4790
4791 <listbox>
4792 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4793 <text>{@select_language=Select Language:}</text>
4794 <icon selected="radio_true" unselected="radio_false" />
4795 <data name="tw_language" />
4796 </listbox>
4797
4798 <button style="button_third_width">
4799 <placement x="%dialog_button_x%" y="%row13_y%"/>
4800 <text>{@ok_btn=OK}</text>
4801 <actions>
4802 <action function="overlay"/>
4803 <action function="setlanguage"></action>
4804 </actions>
4805 </button>
4806
4807 <fill color="#000000">
4808 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4809 </fill>
4810
4811 <button>
4812 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4813 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4814 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4815 <image resource="back" />
4816 <condition var1="tw_busy" var2="0" />
4817 <actions>
4818 <action function="overlay"/>
4819 <action function="key">%tw_back%</action>
4820 </actions>
4821 </button>
4822
4823 <button>
4824 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4825 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4826 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4827 <image resource="console" />
4828 <condition var1="tw_busy" var2="0" />
4829 <action function="overlay">slideout</action>
4830 </button>
4831
4832 <button>
4833 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4834 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4835 <image resource="home" />
4836 <condition var1="tw_busy" var2="0" />
4837 <actions>
4838 <action function="overlay"/>
4839 <action function="key">home</action>
4840 </actions>
4841 </button>
4842
4843 <button>
4844 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4845 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4846 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4847 <image resource="console" />
4848 <condition var1="tw_busy" var2="0" />
4849 <action function="overlay">slideout</action>
4850 </button>
4851
4852 <button>
4853 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4854 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4855 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4856 <image resource="back" />
4857 <condition var1="tw_busy" var2="0" />
4858 <actions>
4859 <action function="overlay"/>
4860 <action function="key">%tw_back%</action>
4861 </actions>
4862 </button>
4863
4864 <button>
4865 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4866 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4867 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4868 <image resource="back" />
4869 <condition var1="tw_busy" var2="0" />
4870 <actions>
4871 <action function="overlay"/>
4872 <action function="key">%tw_back%</action>
4873 </actions>
4874 </button>
4875
4876 <button>
4877 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4878 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4879 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4880 <image resource="console" />
4881 <condition var1="tw_busy" var2="0" />
4882 <action function="overlay">slideout</action>
4883 </button>
4884
4885 <button>
4886 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4887 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4888 <image resource="home" />
4889 <condition var1="tw_busy" var2="0" />
4890 <actions>
4891 <action function="overlay"/>
4892 <action function="key">home</action>
4893 </actions>
4894 </button>
4895
4896 <button>
4897 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4898 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4899 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4900 <image resource="console" />
4901 <condition var1="tw_busy" var2="0" />
4902 <action function="overlay">slideout</action>
4903 </button>
4904
4905 <button>
4906 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4907 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4908 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4909 <image resource="back" />
4910 <condition var1="tw_busy" var2="0" />
4911 <actions>
4912 <action function="overlay"/>
4913 <action function="key">%tw_back%</action>
4914 </actions>
4915 </button>
4916
4917 <button>
4918 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4919 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4920 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4921 <image resource="back" />
4922 <condition var1="tw_busy" var2="0" />
4923 <actions>
4924 <action function="overlay"/>
4925 <action function="key">%tw_back%</action>
4926 </actions>
4927 </button>
4928
4929 <button>
4930 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4931 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4932 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4933 <image resource="console" />
4934 <condition var1="tw_busy" var2="0" />
4935 <action function="overlay">slideout</action>
4936 </button>
4937
4938 <button>
4939 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4940 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4941 <image resource="home" />
4942 <condition var1="tw_busy" var2="0" />
4943 <actions>
4944 <action function="overlay"/>
4945 <action function="key">home</action>
4946 </actions>
4947 </button>
4948
4949 <button>
4950 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4951 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4952 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4953 <image resource="console" />
4954 <condition var1="tw_busy" var2="0" />
4955 <action function="overlay">slideout</action>
4956 </button>
4957
4958 <button>
4959 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4960 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4961 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4962 <image resource="back" />
4963 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004964 <actions>
4965 <action function="overlay"/>
4966 <action function="key">%tw_back%</action>
4967 </actions>
4968 </button>
4969
4970 <action>
4971 <touch key="power+voldown"/>
4972 <action function="screenshot"/>
4973 </action>
4974 </page>
4975 </pages>
4976</recovery>