blob: 6c91d0659130cdeb7ee5f45eeffe1eb51fce60aa [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>
1071 <action function="checkpartitionlist"/>
1072 <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>
1182 <action function="getpartitiondetails"/>
1183 <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>
1191 <action function="set">tw_wipe_list=</action>
1192 <action function="page">advancedwipe</action>
1193 </actions>
1194 </action>
1195 </page>
1196
1197 <page name="partitionoptions">
1198 <template name="page"/>
1199
1200 <text style="text_l">
1201 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m">
1206 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m_accent">
1211 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001212 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001213 </text>
1214
1215 <text style="text_m_accent">
1216 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <text style="text_m">
1221 <condition var1="tw_partition_is_present" var2="1"/>
1222 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </text>
1225
1226 <text style="text_m">
1227 <condition var1="tw_partition_is_present" var2="0"/>
1228 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 </text>
1231
1232 <text style="text_m">
1233 <condition var1="tw_partition_removable" var2="1"/>
1234 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001235 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001236 </text>
1237
1238 <text style="text_m">
1239 <condition var1="tw_partition_removable" var2="0"/>
1240 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m">
1245 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
1254 <text style="text_m">
1255 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001256 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001257 </text>
1258
1259 <text style="text_m">
1260 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 </text>
1263
1264 <button style="main_button_half_width">
1265 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1266 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 <actions>
1269 <action function="set">tw_back=partitionoptions</action>
1270 <action function="set">tw_action=resize</action>
1271 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1272 <action function="set">tw_has_action2=1</action>
1273 <action function="set">tw_action2=getpartitiondetails</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>
1323 <action function="getpartitiondetails"/>
1324 <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>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002324 <action function="set">tw_complete_text1={@restore_completed=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%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <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%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@reboot_hdr=Reboot Menu}</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
2658 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002659 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <actions>
2661 <action function="mountsystemtoggle">0</action>
2662 <action function="set">tw_page_done=1</action>
2663 <action function="page">%tw_back%</action>
2664 </actions>
2665 </slider>
2666 </page>
2667
2668 <page name="settings">
2669 <template name="page"/>
2670
2671 <text style="text_l">
2672 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 </text>
2675
2676 <text style="text_m">
2677 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 </text>
2680
2681 <template name="tabs_settings"/>
2682
2683 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </fill>
2686
2687 <listbox style="scrolllist">
2688 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2689 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002691 <data variable="tw_signed_zip_verify"/>
2692 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002694 <data variable="tw_rm_rf"/>
2695 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002697 <data variable="tw_skip_md5_generate"/>
2698 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002699 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002700 <data variable="tw_skip_md5_check"/>
2701 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_military_time"/>
2704 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_simulate_actions"/>
2707 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002709 <condition var1="tw_simulate_actions" var2="1"/>
2710 <data variable="tw_simulate_fail"/>
2711 </listitem>
2712 </listbox>
2713
2714 <checkbox>
2715 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002716 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002717 <data variable="tw_samsung_navbar"/>
2718 </checkbox>
2719
2720 <button style="radiobutton">
2721 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2722 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002723 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002724 <image resource="radio_false"/>
2725 <action function="set">tw_navbar_button_position=0</action>
2726 </button>
2727
2728 <button style="radiobutton">
2729 <condition var1="tw_navbar_button_position" var2="0"/>
2730 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002731 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002732 <image resource="radio_true"/>
2733 <action function="set">tw_navbar_button_position=0</action>
2734 </button>
2735
2736 <button style="radiobutton">
2737 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2738 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 <image resource="radio_false"/>
2741 <action function="set">tw_navbar_button_position=1</action>
2742 </button>
2743
2744 <button style="radiobutton">
2745 <condition var1="tw_navbar_button_position" var2="1"/>
2746 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 <image resource="radio_true"/>
2749 <action function="set">tw_navbar_button_position=1</action>
2750 </button>
2751
2752 <button style="radiobutton">
2753 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2754 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002756 <image resource="radio_false"/>
2757 <action function="set">tw_navbar_button_position=2</action>
2758 </button>
2759
2760 <button style="radiobutton">
2761 <condition var1="tw_navbar_button_position" var2="2"/>
2762 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 <image resource="radio_true"/>
2765 <action function="set">tw_navbar_button_position=2</action>
2766 </button>
2767
2768 <button style="main_button_half_width">
2769 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 <action function="restoredefaultsettings"/>
2772 </button>
2773
2774 <action>
2775 <touch key="home"/>
2776 <action function="page">main</action>
2777 </action>
2778
2779 <action>
2780 <touch key="back"/>
2781 <action function="page">main</action>
2782 </action>
2783 </page>
2784
2785 <page name="settings_timezone">
2786 <template name="page"/>
2787
2788 <text style="text_l">
2789 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002791 </text>
2792
2793 <text style="text_m">
2794 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002796 </text>
2797
2798 <template name="tabs_settings"/>
2799
2800 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </fill>
2803
2804 <listbox>
2805 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002807 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2809 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2810 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2811 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2812 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2813 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2814 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2815 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2816 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2817 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2818 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2819 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2820 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2821 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2822 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2823 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2824 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2825 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2826 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2827 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2828 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2829 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2830 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2831 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002832 </listbox>
2833
2834 <text style="text_m_accent">
2835 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 </text>
2838
2839 <button style="button_quarter_width">
2840 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="set">tw_time_zone_guioffset=0</action>
2843 </button>
2844
2845 <button style="button_quarter_width">
2846 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 <action function="set">tw_time_zone_guioffset=15</action>
2849 </button>
2850
2851 <button style="button_quarter_width">
2852 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_time_zone_guioffset=30</action>
2855 </button>
2856
2857 <button style="button_quarter_width">
2858 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <action function="set">tw_time_zone_guioffset=45</action>
2861 </button>
2862
2863 <checkbox>
2864 <placement x="%col1_x_right%" y="%row7_y%"/>
2865 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002866 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002867 <data variable="tw_time_zone_guidst"/>
2868 <image checked="checkbox_true" unchecked="checkbox_false"/>
2869 </checkbox>
2870
2871 <text color="%text_color%">
2872 <font resource="font_m"/>
2873 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <button>
2878 <highlight color="%highlight_color%"/>
2879 <placement x="%col2_x_right%" y="%row15a_y%"/>
2880 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002882 <image resource="main_button_half_width"/>
2883 <action function="setguitimezone"/>
2884 </button>
2885
2886 <action>
2887 <touch key="home"/>
2888 <action function="page">main</action>
2889 </action>
2890
2891 <action>
2892 <touch key="back"/>
2893 <action function="page">main</action>
2894 </action>
2895 </page>
2896
2897 <page name="settings_screen">
2898 <template name="page"/>
2899
2900 <text style="text_l">
2901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002902 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002903 </text>
2904
2905 <text style="text_m">
2906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002907 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002908 </text>
2909
2910 <template name="tabs_settings"/>
2911
2912 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002914 </fill>
2915
2916 <button>
2917 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2918 <font resource="font_m" color="%text_color%"/>
2919 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2920 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002921 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <image resource="checkbox_false"/>
2923 <action function="set">tw_screen_timeout_secs=60</action>
2924 </button>
2925
2926 <button>
2927 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2928 <font resource="font_m" color="%text_color%"/>
2929 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2930 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 <image resource="checkbox_true"/>
2933 <action function="set">tw_screen_timeout_secs=0</action>
2934 </button>
2935
2936 <slidervalue>
2937 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2938 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2939 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002940 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002941 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2942 </slidervalue>
2943
2944 <slidervalue>
2945 <condition var1="tw_has_brightnesss_file" var2="1"/>
2946 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 <data variable="tw_brightness_pct" min="10" max="100"/>
2949 <actions>
2950 <action function="set">tw_brightness=%tw_brightness_max%</action>
2951 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2952 <action function="compute">tw_brightness/100</action>
2953 <action function="setbrightness">%tw_brightness%</action>
2954 </actions>
2955 </slidervalue>
2956
2957 <action>
2958 <touch key="home"/>
2959 <action function="page">main</action>
2960 </action>
2961
2962 <action>
2963 <touch key="back"/>
2964 <action function="page">main</action>
2965 </action>
2966 </page>
2967
2968 <page name="settings_vibration">
2969 <template name="page"/>
2970
2971 <text style="text_l">
2972 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002974 </text>
2975
2976 <text style="text_m">
2977 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002979 </text>
2980
2981 <template name="tabs_settings"/>
2982
2983 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </fill>
2986
2987 <slidervalue>
2988 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 <data variable="tw_button_vibrate" min="0" max="300"/>
2991 </slidervalue>
2992
2993 <slidervalue>
2994 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
2997 </slidervalue>
2998
2999 <slidervalue>
3000 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <data variable="tw_action_vibrate" min="0" max="500"/>
3003 </slidervalue>
3004
3005 <action>
3006 <touch key="home"/>
3007 <action function="page">main</action>
3008 </action>
3009
3010 <action>
3011 <touch key="back"/>
3012 <action function="page">main</action>
3013 </action>
3014 </page>
3015
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <page name="settings_language">
3017 <template name="page"/>
3018
3019 <text style="text_l">
3020 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3021 <text>{@settings_hdr=Settings}</text>
3022 </text>
3023
3024 <text style="text_m">
3025 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3026 <text>{@language_hdr=Language - %tw_language_display%}</text>
3027 </text>
3028
3029 <template name="tabs_settings"/>
3030
3031 <fill color="%text_color%">
3032 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3033 </fill>
3034
3035 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003036 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@select_language=Select Language:}</text>
3038 <icon selected="radio_true" unselected="radio_false" />
3039 <data name="tw_language" />
3040 </listbox>
3041
z31s1g56189522016-01-13 19:12:40 +01003042 <button>
3043 <highlight color="%highlight_color%"/>
3044 <placement x="%col2_x_right%" y="%row15a_y%"/>
3045 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003047 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <action function="setlanguage"></action>
3049 </button>
3050
3051 <action>
3052 <touch key="home" />
3053 <action function="page">main</action>
3054 </action>
3055
3056 <action>
3057 <touch key="back" />
3058 <action function="page">settings</action>
3059 </action>
3060 </page>
3061
z31s1g28f0a922015-11-07 18:50:22 +01003062 <page name="advanced">
3063 <template name="page"/>
3064
3065 <text style="text_l">
3066 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <button style="main_button">
3071 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 <actions>
3074 <action function="set">tw_back=advanced</action>
3075 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3077 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3078 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3079 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003080 <action function="page">confirm_action</action>
3081 </actions>
3082 </button>
3083
3084 <button style="main_button">
3085 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003087 <action function="page">fixperms</action>
3088 </button>
3089
3090 <button style="main_button">
3091 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3092 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <text>{@part_sd_btn=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003094 <action function="page">partsdcard</action>
3095 </button>
3096
3097 <button style="main_button">
3098 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 <action function="page">filemanagerlist</action>
3101 </button>
3102
3103 <button style="main_button">
3104 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003106 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003107 </button>
3108
3109 <button style="main_button">
3110 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <action function="reload"/>
3113 </button>
3114
3115 <button style="main_button">
3116 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003117 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003118 <action function="page">sideload</action>
3119 </button>
3120
3121 <button style="main_button">
3122 <condition var1="tw_show_dumlock" var2="1"/>
3123 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003124 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003125 <action function="page">htcdumlock</action>
3126 </button>
3127
3128 <button style="main_button">
3129 <condition var1="tw_has_injecttwrp" var2="1"/>
3130 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 <actions>
3133 <action function="set">tw_back=advanced</action>
3134 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3136 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3137 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3138 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003139 <action function="page">confirm_action</action>
3140 </actions>
3141 </button>
3142
3143 <action>
3144 <touch key="home"/>
3145 <action function="page">main</action>
3146 </action>
3147
3148 <action>
3149 <touch key="back"/>
3150 <action function="page">main</action>
3151 </action>
3152 </page>
3153
3154 <page name="partsdcard">
3155 <template name="page"/>
3156
3157 <text style="text_l">
3158 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 </text>
3161
3162 <text style="text_m">
3163 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003164 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003165 </text>
3166
3167 <text style="text_m_fail">
3168 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 </text>
3171
3172 <text style="text_m_fail">
3173 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003174 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003175 </text>
3176
3177 <text style="text_m_accent">
3178 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </text>
3181
3182 <text style="text_m">
3183 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3184 <text>%tw_sdext_size%</text>
3185 </text>
3186
3187 <button style="button_quarter_width">
3188 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <action function="addsubtract">tw_sdext_size-128</action>
3191 </button>
3192
3193 <button style="button_quarter_width">
3194 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <action function="addsubtract">tw_sdext_size+128</action>
3197 </button>
3198
3199 <text style="text_m_accent">
3200 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 </text>
3203
3204 <text style="text_m">
3205 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3206 <text>%tw_swap_size%</text>
3207 </text>
3208
3209 <button style="button_quarter_width">
3210 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003211 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <action function="addsubtract">tw_swap_size-32</action>
3213 </button>
3214
3215 <button style="button_quarter_width">
3216 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003218 <action function="addsubtract">tw_swap_size+32</action>
3219 </button>
3220
3221 <text style="text_m_accent">
3222 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003224 </text>
3225
3226 <text style="text_m">
3227 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3228 <text>%tw_sdpart_file_system%</text>
3229 </text>
3230
3231 <button style="button_quarter_width">
3232 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3233 <text>EXT3</text>
3234 <action function="set">tw_sdpart_file_system=ext3</action>
3235 </button>
3236
3237 <button style="button_quarter_width">
3238 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3239 <text>EXT4</text>
3240 <action function="set">tw_sdpart_file_system=ext4</action>
3241 </button>
3242
3243 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 <action function="page">partsdcardaction</action>
3246 <actions>
3247 <action function="set">tw_back=partsdcard</action>
3248 <action function="set">tw_action=partitionsd</action>
3249 <action function="set">tw_has_action2=1</action>
3250 <action function="set">tw_action2=set</action>
3251 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3253 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3254 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003255 <action function="page">action_page</action>
3256 </actions>
3257 </slider>
3258
3259 <action>
3260 <touch key="home"/>
3261 <action function="page">main</action>
3262 </action>
3263
3264 <action>
3265 <touch key="back"/>
3266 <action function="page">advanced</action>
3267 </action>
3268 </page>
3269
3270 <page name="htcdumlock">
3271 <template name="page"/>
3272
3273 <text style="text_l">
3274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 </text>
3277
3278 <text style="text_m">
3279 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 </text>
3282
3283 <button style="main_button_m">
3284 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 <actions>
3287 <action function="set">tw_back=htcdumlock</action>
3288 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003289 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3290 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3291 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3292 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <action function="page">confirm_action</action>
3294 </actions>
3295 </button>
3296
3297 <button style="main_button_m">
3298 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003299 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003300 <actions>
3301 <action function="set">tw_back=htcdumlock</action>
3302 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3304 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3305 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3306 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003307 <action function="page">confirm_action</action>
3308 </actions>
3309 </button>
3310
3311 <button style="main_button_m">
3312 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 <actions>
3315 <action function="set">tw_back=htcdumlock</action>
3316 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3318 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3319 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3320 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003321 <action function="page">confirm_action</action>
3322 </actions>
3323 </button>
3324
3325 <action>
3326 <touch key="home"/>
3327 <action function="page">main</action>
3328 </action>
3329
3330 <action>
3331 <touch key="back"/>
3332 <action function="page">advanced</action>
3333 </action>
3334 </page>
3335
3336 <page name="lock">
3337 <background color="%semi_transparent%"/>
3338
3339 <image>
3340 <image resource="unlock_icon"/>
3341 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3342 </image>
3343
3344 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <action function="overlay"/>
3347 </slider>
3348 </page>
3349
3350 <page name="filemanagerlist">
3351 <template name="page"/>
3352
3353 <text style="text_l">
3354 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 </text>
3357
3358 <text style="text_m">
3359 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 </text>
3362
3363 <template name="sort_options"/>
3364
3365 <fileselector>
3366 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3367 <text>%tw_file_location1%</text>
3368 <filter folders="1" files="1"/>
3369 <path name="tw_file_location1" default="/"/>
3370 <data name="tw_filename1"/>
3371 <selection name="tw_selection1"/>
3372 </fileselector>
3373
3374 <button style="main_button_half_width_low">
3375 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 <actions>
3378 <action function="set">tw_filename1=tw_file_location1</action>
3379 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <action function="page">filemanageroptions</action>
3382 </actions>
3383 </button>
3384
3385 <action>
3386 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003387 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003388 <action function="set">tw_fm_isfolder=0</action>
3389 </actions>
3390 </action>
3391
3392 <action>
3393 <touch key="home"/>
3394 <action function="page">main</action>
3395 </action>
3396
3397 <action>
3398 <touch key="back"/>
3399 <action function="page">advanced</action>
3400 </action>
3401
3402 <action>
3403 <condition var1="tw_filename1" op="modified"/>
3404 <action function="page">filemanageroptions</action>
3405 </action>
3406 </page>
3407
3408 <page name="filemanageroptions">
3409 <template name="page"/>
3410
3411 <text style="text_l">
3412 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003414 </text>
3415
3416 <text style="text_m">
3417 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003418 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003419 </text>
3420
3421 <text style="text_m_accent">
3422 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003423 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003424 </text>
3425
3426 <text style="text_m">
3427 <placement x="%col1_x_left%" y="%row3_y%"/>
3428 <text>%tw_filename1%</text>
3429 </text>
3430
3431 <button style="main_button_half_width">
3432 <condition var1="tw_fm_isfolder" var2="0"/>
3433 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 <actions>
3436 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003438 <action function="page">choosedestinationfolder</action>
3439 </actions>
3440 </button>
3441
3442 <button style="main_button_half_width">
3443 <condition var1="tw_fm_isfolder" var2="1"/>
3444 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003446 <actions>
3447 <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 -05003448 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003449 <action function="page">choosedestinationfolder</action>
3450 </actions>
3451 </button>
3452
3453 <button style="main_button_half_width">
3454 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <actions>
3457 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="page">choosedestinationfolder</action>
3460 </actions>
3461 </button>
3462
3463 <button style="main_button_half_width">
3464 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <actions>
3467 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <action function="set">tw_fm_text2=</action>
3470 <action function="set">tw_fm_text3=</action>
3471 <action function="set">tw_include_text3=0</action>
3472 <action function="set">tw_back=filemanageroptions</action>
3473 <action function="page">filemanagerconfirm</action>
3474 </actions>
3475 </button>
3476
3477 <button style="main_button_half_width">
3478 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <actions>
3481 <action function="set">tw_filemanager_rename=0000</action>
3482 <action function="set">tw_fm_text2=</action>
3483 <action function="set">tw_fm_text3=</action>
3484 <action function="set">tw_include_text3=0</action>
3485 <action function="set">tw_back=filemanageroptions</action>
3486 <action function="page">filemanagerchmod</action>
3487 </actions>
3488 </button>
3489
3490 <button style="main_button_half_width">
3491 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <actions>
3494 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003496 <action function="set">tw_fm_text2=</action>
3497 <action function="set">tw_fm_text3=</action>
3498 <action function="set">tw_include_text3=0</action>
3499 <action function="set">tw_back=filemanageroptions</action>
3500 <action function="page">filemanagerconfirm</action>
3501 </actions>
3502 </button>
3503
3504 <button style="main_button_half_width">
3505 <condition var1="tw_fm_isfolder" var2="0"/>
3506 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003508 <actions>
3509 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003511 <action function="set">tw_filemanager_command=mv</action>
3512 <action function="page">filemanagerrenamefile</action>
3513 </actions>
3514 </button>
3515
3516 <button style="main_button_half_width">
3517 <condition var1="tw_fm_isfolder" var2="1"/>
3518 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003519 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003520 <actions>
3521 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003522 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003523 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3524 <action function="page">filemanagerrenamefolder</action>
3525 </actions>
3526 </button>
3527
3528 <action>
3529 <touch key="home"/>
3530 <action function="page">main</action>
3531 </action>
3532
3533 <action>
3534 <touch key="back"/>
3535 <action function="page">filemanagerlist</action>
3536 </action>
3537 </page>
3538
3539 <page name="choosedestinationfolder">
3540 <template name="page"/>
3541
3542 <text style="text_l">
3543 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </text>
3546
3547 <text style="text_m">
3548 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 </text>
3551
3552 <template name="sort_options"/>
3553
3554 <fileselector>
3555 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3556 <text>%tw_file_location2%</text>
3557 <filter folders="1" files="0"/>
3558 <path name="tw_file_location2" default="/"/>
3559 <data name="tw_filename2"/>
3560 <selection name="tw_selection2"/>
3561 </fileselector>
3562
3563 <button style="main_button_half_width_low">
3564 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003565 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003566 <actions>
3567 <action function="set">tw_fm_text2=to</action>
3568 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3569 <action function="set">tw_include_text3=1</action>
3570 <action function="set">tw_back=filemanageroptions</action>
3571 <action function="page">filemanagerconfirm</action>
3572 </actions>
3573 </button>
3574
3575 <action>
3576 <touch key="home"/>
3577 <action function="page">main</action>
3578 </action>
3579
3580 <action>
3581 <touch key="back"/>
3582 <action function="page">filemanageroptions</action>
3583 </action>
3584 </page>
3585
3586 <page name="filemanagerrenamefile">
3587 <template name="page"/>
3588
3589 <text style="text_l">
3590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 </text>
3593
3594 <text style="text_m">
3595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003597 </text>
3598
3599 <text style="text_m_accent">
3600 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003601 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003602 </text>
3603
3604 <input>
3605 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3606 <text>%tw_filemanager_rename%</text>
3607 <data name="tw_filemanager_rename"/>
3608 <restrict minlen="1" maxlen="128"/>
3609 <actions>
3610 <action function="set">tw_fm_text2=to</action>
3611 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3612 <action function="set">tw_include_text3=1</action>
3613 <action function="set">tw_back=filemanageroptions</action>
3614 <action function="page">filemanagerconfirm</action>
3615 </actions>
3616 </input>
3617
3618 <fill color="%accent_color%">
3619 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3620 </fill>
3621
3622 <button style="main_button_half_width_low">
3623 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <action function="page">filemanageroptions</action>
3626 </button>
3627
3628 <template name="keyboardtemplate"/>
3629
3630 <action>
3631 <touch key="home"/>
3632 <action function="page">main</action>
3633 </action>
3634
3635 <action>
3636 <touch key="back"/>
3637 <action function="page">filemanageroptions</action>
3638 </action>
3639 </page>
3640
3641 <page name="filemanagerrenamefolder">
3642 <template name="page"/>
3643
3644 <text style="text_l">
3645 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003646 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003647 </text>
3648
3649 <text style="text_m">
3650 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 </text>
3653
3654 <text style="text_m_accent">
3655 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 </text>
3658
3659 <input>
3660 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3661 <text>%tw_filemanager_rename%</text>
3662 <data name="tw_filemanager_rename"/>
3663 <restrict minlen="1" maxlen="128"/>
3664 <actions>
3665 <action function="set">tw_fm_text2=to</action>
3666 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3667 <action function="set">tw_include_text3=1</action>
3668 <action function="set">tw_back=filemanageroptions</action>
3669 <action function="page">filemanagerconfirm</action>
3670 </actions>
3671 </input>
3672
3673 <fill color="%accent_color%">
3674 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3675 </fill>
3676
3677 <button style="main_button_half_width_low">
3678 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003679 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003680 <action function="page">filemanageroptions</action>
3681 </button>
3682
3683 <template name="keyboardtemplate"/>
3684
3685 <action>
3686 <touch key="home"/>
3687 <action function="page">main</action>
3688 </action>
3689
3690 <action>
3691 <touch key="back"/>
3692 <action function="page">filemanageroptions</action>
3693 </action>
3694 </page>
3695
3696 <page name="filemanagerchmod">
3697 <template name="page"/>
3698
3699 <text style="text_l">
3700 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </text>
3703
3704 <text style="text_m">
3705 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </text>
3708
3709 <text style="text_m_accent">
3710 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003711 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003712 </text>
3713
3714 <input>
3715 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3716 <text>%tw_filemanager_rename%</text>
3717 <data name="tw_filemanager_rename"/>
3718 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3719 <actions>
3720 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3721 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3722 <action function="set">tw_back=filemanageroptions</action>
3723 <action function="page">filemanagerconfirm</action>
3724 </actions>
3725 </input>
3726
3727 <fill color="%accent_color%">
3728 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3729 </fill>
3730
3731 <button style="main_button_half_width_low">
3732 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <action function="page">filemanageroptions</action>
3735 </button>
3736
3737 <template name="keyboardtemplate"/>
3738
3739 <action>
3740 <touch key="home"/>
3741 <action function="page">main</action>
3742 </action>
3743
3744 <action>
3745 <touch key="back"/>
3746 <action function="page">filemanageroptions</action>
3747 </action>
3748 </page>
3749
3750 <page name="filemanagerconfirm">
3751 <template name="page"/>
3752
3753 <text style="text_l">
3754 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 </text>
3757
3758 <text style="text_m">
3759 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003760 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003761 </text>
3762
3763 <text style="text_m_accent">
3764 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3765 <text>%tw_fm_text1%</text>
3766 </text>
3767
3768 <text style="text_m">
3769 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3770 <text>%tw_filename1%</text>
3771 </text>
3772
3773 <text style="text_m_accent">
3774 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3775 <text>%tw_fm_text2%</text>
3776 </text>
3777
3778 <text style="text_m">
3779 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3780 <text>%tw_fm_text3%</text>
3781 </text>
3782
3783 <text style="text_m">
3784 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </text>
3787
3788 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <action function="page">filemanageraction</action>
3791 </slider>
3792
3793 <action>
3794 <touch key="back"/>
3795 <action function="page">%tw_back%</action>
3796 </action>
3797
3798 <action>
3799 <touch key="home"/>
3800 <action function="page">main</action>
3801 </action>
3802 </page>
3803
3804 <page name="filemanageraction">
3805 <template name="page"/>
3806
3807 <text style="text_l">
3808 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003809 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003810 </text>
3811
3812 <text style="text_m">
3813 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3814 <text>%tw_fm_text1%</text>
3815 </text>
3816
3817 <template name="console"/>
3818
3819 <template name="progress_bar"/>
3820
3821 <action>
3822 <conditions>
3823 <condition var1="tw_operation_state" var2="1"/>
3824 <condition var1="tw_operation_status" var2="0"/>
3825 </conditions>
3826 <actions>
3827 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003829 <action function="page">action_complete</action>
3830 </actions>
3831 </action>
3832
3833 <action>
3834 <conditions>
3835 <condition var1="tw_operation_state" var2="1"/>
3836 <condition var1="tw_operation_status" op="!=" var2="0"/>
3837 </conditions>
3838 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003839 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003840 <action function="page">action_complete</action>
3841 </actions>
3842 </action>
3843
3844 <action>
3845 <condition var1="tw_include_text3" var2="0"/>
3846 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3847 </action>
3848
3849 <action>
3850 <condition var1="tw_include_text3" var2="1"/>
3851 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3852 </action>
3853 </page>
3854
3855 <page name="decrypt">
3856 <template name="page"/>
3857
3858 <action>
3859 <condition var1="tw_crypto_pwtype" var2="2"/>
3860 <action function="page">decrypt_pattern</action>
3861 </action>
3862
3863 <text style="text_l">
3864 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <text style="text_m">
3869 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003871 </text>
3872
3873 <text style="text_m_accent">
3874 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <input>
3879 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3880 <text>%tw_crypto_display%</text>
3881 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3882 <restrict minlen="1" maxlen="254"/>
3883 <action function="page">trydecrypt</action>
3884 </input>
3885
3886 <fill color="%accent_color%">
3887 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3888 </fill>
3889
3890 <fill color="%text_fail_color%">
3891 <condition var1="tw_password_fail" var2="1"/>
3892 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3893 </fill>
3894
3895 <text style="text_m_fail">
3896 <condition var1="tw_password_fail" var2="1"/>
3897 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 </text>
3900
3901 <button style="main_button_half_width_low">
3902 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003904 <actions>
3905 <action function="set">tw_page_done=1</action>
3906 <action function="page">main</action>
3907 </actions>
3908 </button>
3909
3910 <template name="keyboardtemplate"/>
3911 </page>
3912
3913 <page name="decrypt_pattern">
3914 <template name="page"/>
3915
3916 <text style="text_l">
3917 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003919 </text>
3920
3921 <text style="text_m">
3922 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003923 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003924 </text>
3925
3926 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01003927 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003928 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003929 </text>
3930
Aleksa Saraib25a1832015-12-31 17:36:00 +01003931 <text style="text_m_fail">
3932 <condition var1="tw_password_fail" var2="1"/>
3933 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
3934 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
3935 </text>
3936
z31s1g28f0a922015-11-07 18:50:22 +01003937 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01003938 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003939 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
3940 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
3941 <data name="tw_crypto_password"/>
3942 <action function="page">trydecrypt</action>
3943 </patternpassword>
3944
Aleksa Saraib25a1832015-12-31 17:36:00 +01003945 <button style="main_button_half_width_low">
3946 <placement x="%col_button_right%" y="%row1a_y%"/>
3947 <text>3x3</text>
3948 <action function="set">tw_gui_pattern_grid_size=3</action>
3949 </button>
3950
3951 <button style="main_button_half_width_low">
3952 <placement x="%col_button_right%" y="%row4a_y%"/>
3953 <text>4x4</text>
3954 <action function="set">tw_gui_pattern_grid_size=4</action>
3955 </button>
3956
3957 <button style="main_button_half_width_low">
3958 <placement x="%col_button_right%" y="%row7a_y%"/>
3959 <text>5x5</text>
3960 <action function="set">tw_gui_pattern_grid_size=5</action>
3961 </button>
3962
3963 <button style="main_button_half_width_low">
3964 <placement x="%col_button_right%" y="%row10a_y%"/>
3965 <text>6x6</text>
3966 <action function="set">tw_gui_pattern_grid_size=6</action>
3967 </button>
3968
z31s1g28f0a922015-11-07 18:50:22 +01003969 <button style="main_button_half_width">
3970 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <actions>
3973 <action function="set">tw_page_done=1</action>
3974 <action function="page">main</action>
3975 </actions>
3976 </button>
3977 </page>
3978
3979 <page name="trydecrypt">
3980 <template name="page"/>
3981
3982 <text style="text_l">
3983 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003984 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 </text>
3986
3987 <text style="text_m">
3988 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 </text>
3991
3992 <template name="console"/>
3993
3994 <template name="progress_bar"/>
3995
3996 <action>
3997 <action function="decrypt"/>
3998 </action>
3999
4000 <action>
4001 <conditions>
4002 <condition var1="tw_operation_state" var2="1"/>
4003 <condition var1="tw_operation_status" op="!=" var2="0"/>
4004 </conditions>
4005 <actions>
4006 <action function="set">tw_password_fail=1</action>
4007 <action function="page">decrypt</action>
4008 </actions>
4009 </action>
4010
4011 <action>
4012 <conditions>
4013 <condition var1="tw_operation_state" var2="1"/>
4014 <condition var1="tw_operation_status" op="=" var2="0"/>
4015 </conditions>
4016 <actions>
4017 <action function="set">tw_page_done=1</action>
4018 <action function="page">main</action>
4019 </actions>
4020 </action>
4021 </page>
4022
z31s1g28f0a922015-11-07 18:50:22 +01004023 <page name="terminalcommand">
4024 <template name="page"/>
4025
4026 <fill color="%background_color%">
4027 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4028 </fill>
4029
z31s1g56189522016-01-13 19:12:40 +01004030 <terminal>
4031 <condition var1="tw_hide_kb" var2="0"/>
4032 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4033 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004034
z31s1g56189522016-01-13 19:12:40 +01004035 <terminal>
4036 <condition var1="tw_hide_kb" var2="1"/>
4037 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4038 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004039
z31s1g56189522016-01-13 19:12:40 +01004040 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004041
z31s1g56189522016-01-13 19:12:40 +01004042 <object type="fill" color="#000000">
4043 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4044 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004045
z31s1g56189522016-01-13 19:12:40 +01004046 <object type="button">
4047 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4048 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4049 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4050 <image resource="back" />
4051 <condition var1="tw_busy" var2="0" />
4052 <actions>
4053 <action function="set">tw_hide_kb=0</action>
4054 <action function="page">advanced</action>
4055 </actions>
4056 </object>
4057
4058 <object type="button">
4059 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4060 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4061 <condition var1="tw_hide_kb" op="=" var2="0" />
4062 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4063 <image resource="kb_hide" />
4064 <condition var1="tw_busy" var2="0" />
4065 <actions>
4066 <action function="set">tw_hide_kb=1</action>
4067 <action function="page">terminalcommand</action>
4068 </actions>
4069 </object>
4070
4071 <object type="button">
4072 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4073 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4074 <condition var1="tw_hide_kb" op="=" var2="1" />
4075 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4076 <image resource="kb_show" />
4077 <condition var1="tw_busy" var2="0" />
4078 <actions>
4079 <action function="set">tw_hide_kb=0</action>
4080 <action function="page">terminalcommand</action>
4081 </actions>
4082 </object>
4083
4084 <object type="button">
4085 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4086 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4087 <image resource="home" />
4088 <condition var1="tw_busy" var2="0" />
4089 <actions>
4090 <action function="set">tw_hide_kb=0</action>
4091 <action function="key">home</action>
4092 </actions>
4093 </object>
4094
4095 <object type="button">
4096 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4097 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4098 <condition var1="tw_hide_kb" op="=" var2="0" />
4099 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4100 <image resource="kb_hide" />
4101 <condition var1="tw_busy" var2="0" />
4102 <actions>
4103 <action function="set">tw_hide_kb=1</action>
4104 <action function="page">terminalcommand</action>
4105 </actions>
4106 </object>
4107
4108 <object type="button">
4109 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4110 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4111 <condition var1="tw_hide_kb" op="=" var2="1" />
4112 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4113 <image resource="kb_show" />
4114 <condition var1="tw_busy" var2="0" />
4115 <actions>
4116 <action function="set">tw_hide_kb=0</action>
4117 <action function="page">terminalcommand</action>
4118 </actions>
4119 </object>
4120
4121 <object type="button">
4122 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4123 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4124 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4125 <image resource="back" />
4126 <condition var1="tw_busy" var2="0" />
4127 <actions>
4128 <action function="set">tw_hide_kb=0</action>
4129 <action function="page">advanced</action>
4130 </actions>
4131 </object>
4132
4133 <object type="button">
4134 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4135 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4136 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4137 <image resource="back" />
4138 <condition var1="tw_busy" var2="0" />
4139 <actions>
4140 <action function="set">tw_hide_kb=0</action>
4141 <action function="page">advanced</action>
4142 </actions>
4143 </object>
4144
4145 <object type="button">
4146 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4147 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4148 <condition var1="tw_hide_kb" op="=" var2="0" />
4149 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4150 <image resource="kb_hide" />
4151 <condition var1="tw_busy" var2="0" />
4152 <actions>
4153 <action function="set">tw_hide_kb=1</action>
4154 <action function="page">terminalcommand</action>
4155 </actions>
4156 </object>
4157
4158 <object type="button">
4159 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4160 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4161 <condition var1="tw_hide_kb" op="=" var2="1" />
4162 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4163 <image resource="kb_show" />
4164 <condition var1="tw_busy" var2="0" />
4165 <actions>
4166 <action function="set">tw_hide_kb=0</action>
4167 <action function="page">terminalcommand</action>
4168 </actions>
4169 </object>
4170
4171 <object type="button">
4172 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4173 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4174 <image resource="home" />
4175 <condition var1="tw_busy" var2="0" />
4176 <actions>
4177 <action function="set">tw_hide_kb=0</action>
4178 <action function="key">home</action>
4179 </actions>
4180 </object>
4181
4182 <object type="button">
4183 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4184 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4185 <condition var1="tw_hide_kb" op="=" var2="0" />
4186 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4187 <image resource="kb_hide" />
4188 <condition var1="tw_busy" var2="0" />
4189 <actions>
4190 <action function="set">tw_hide_kb=1</action>
4191 <action function="page">terminalcommand</action>
4192 </actions>
4193 </object>
4194
4195 <object type="button">
4196 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4197 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4198 <condition var1="tw_hide_kb" op="=" var2="1" />
4199 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4200 <image resource="kb_show" />
4201 <condition var1="tw_busy" var2="0" />
4202 <actions>
4203 <action function="set">tw_hide_kb=0</action>
4204 <action function="page">terminalcommand</action>
4205 </actions>
4206 </object>
4207
4208 <object type="button">
4209 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4210 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4211 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4212 <image resource="back" />
4213 <condition var1="tw_busy" var2="0" />
4214 <actions>
4215 <action function="set">tw_hide_kb=0</action>
4216 <action function="page">advanced</action>
4217 </actions>
4218 </object>
4219
4220 <object type="button">
4221 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4222 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4223 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4224 <image resource="back" />
4225 <condition var1="tw_busy" var2="0" />
4226 <actions>
4227 <action function="set">tw_hide_kb=0</action>
4228 <action function="page">advanced</action>
4229 </actions>
4230 </object>
4231
4232 <object type="button">
4233 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4234 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4235 <condition var1="tw_hide_kb" op="=" var2="0" />
4236 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4237 <image resource="kb_hide" />
4238 <condition var1="tw_busy" var2="0" />
4239 <actions>
4240 <action function="set">tw_hide_kb=1</action>
4241 <action function="page">terminalcommand</action>
4242 </actions>
4243 </object>
4244
4245 <object type="button">
4246 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4247 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4248 <condition var1="tw_hide_kb" op="=" var2="1" />
4249 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4250 <image resource="kb_show" />
4251 <condition var1="tw_busy" var2="0" />
4252 <actions>
4253 <action function="set">tw_hide_kb=0</action>
4254 <action function="page">terminalcommand</action>
4255 </actions>
4256 </object>
4257
4258 <object type="button">
4259 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4260 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4261 <image resource="home" />
4262 <condition var1="tw_busy" var2="0" />
4263 <actions>
4264 <action function="set">tw_hide_kb=0</action>
4265 <action function="key">home</action>
4266 </actions>
4267 </object>
4268
4269 <object type="button">
4270 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4271 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4272 <condition var1="tw_hide_kb" op="=" var2="0" />
4273 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4274 <image resource="kb_hide" />
4275 <condition var1="tw_busy" var2="0" />
4276 <actions>
4277 <action function="set">tw_hide_kb=1</action>
4278 <action function="page">terminalcommand</action>
4279 </actions>
4280 </object>
4281
4282 <object type="button">
4283 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4284 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4285 <condition var1="tw_hide_kb" op="=" var2="1" />
4286 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4287 <image resource="kb_show" />
4288 <condition var1="tw_busy" var2="0" />
4289 <actions>
4290 <action function="set">tw_hide_kb=0</action>
4291 <action function="page">terminalcommand</action>
4292 </actions>
4293 </object>
4294
4295 <object type="button">
4296 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4297 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4298 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4299 <image resource="back" />
4300 <condition var1="tw_busy" var2="0" />
4301 <actions>
4302 <action function="set">tw_hide_kb=0</action>
4303 <action function="page">advanced</action>
4304 </actions>
4305 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004306
4307 <action>
4308 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004309 <actions>
4310 <action function="page">main</action>
4311 <action function="set">tw_hide_kb=0</action>
4312 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004313 </action>
4314
4315 <action>
4316 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004317 <actions>
4318 <action function="page">advanced</action>
4319 <action function="set">tw_hide_kb=0</action>
4320 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </action>
z31s1g56189522016-01-13 19:12:40 +01004322
4323 <object type="action">
4324 <touch key="power+voldown" />
4325 <action function="screenshot" />
4326 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </page>
4328
4329 <page name="sideload">
4330 <template name="page"/>
4331
4332 <text style="text_l">
4333 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004334 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004335 </text>
4336
4337 <text style="text_m">
4338 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 </text>
4341
4342 <checkbox>
4343 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 <data variable="tw_wipe_dalvik"/>
4346 </checkbox>
4347
4348 <checkbox>
4349 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 <data variable="tw_wipe_cache"/>
4352 </checkbox>
4353
4354 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <action function="page">partsdcardaction</action>
4357 <actions>
4358 <action function="set">tw_back=advanced</action>
4359 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004360 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4361 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4362 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004363 <action function="set">tw_has_cancel=1</action>
4364 <action function="set">tw_show_reboot=1</action>
4365 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4366 <action function="page">action_page</action>
4367 </actions>
4368 </slider>
4369
4370 <action>
4371 <touch key="home"/>
4372 <action function="page">main</action>
4373 </action>
4374
4375 <action>
4376 <touch key="back"/>
4377 <action function="page">advanced</action>
4378 </action>
4379 </page>
4380
4381 <page name="fixperms">
4382 <template name="page"/>
4383
4384 <text style="text_l">
4385 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004386 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004387 </text>
4388
4389 <text style="text_m">
4390 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004391 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004392 </text>
4393
4394 <text style="text_m_accent">
4395 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <checkbox>
4400 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004401 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004402 <data variable="tw_fixperms_restorecon"/>
4403 </checkbox>
4404
4405 <text style="text_m_fail">
4406 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004407 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004408 </text>
4409
4410 <text style="text_m_fail">
4411 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004412 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004413 </text>
4414
4415 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <actions>
4418 <action function="set">tw_back=advanced</action>
4419 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004420 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4421 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4422 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004423 <action function="set">tw_show_reboot=1</action>
4424 <action function="page">action_page</action>
4425 </actions>
4426 </slider>
4427
4428 <action>
4429 <touch key="home"/>
4430 <action function="page">main</action>
4431 </action>
4432
4433 <action>
4434 <touch key="back"/>
4435 <action function="page">advanced</action>
4436 </action>
4437 </page>
4438
4439 <page name="installsu">
4440 <template name="page"/>
4441
4442 <text style="text_l">
4443 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <text style="text_m">
4448 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </text>
4451
4452 <text style="text_m_accent">
4453 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 </text>
4456
4457 <text style="text_m">
4458 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004459 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 </text>
4461
4462 <text style="text_m">
4463 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004464 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004465 </text>
4466
4467 <button style="main_button_half_width">
4468 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004469 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 <action function="set">tw_page_done=1</action>
4471 </button>
4472
4473 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004474 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004475 <actions>
4476 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004477 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004478 <action function="set">tw_action_text2=</action>
4479 <action function="page">singleaction_page</action>
4480 </actions>
4481 </slider>
4482 </page>
4483
4484 <page name="slideout">
4485 <fill color="%background_color%">
4486 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4487 </fill>
4488
4489 <console>
4490 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4491 </console>
4492
4493 <button>
4494 <fill color="%transparent%"/>
4495 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4496 <action function="overlay"/>
4497 </button>
4498
4499 <action>
4500 <touch key="power+voldown"/>
4501 <action function="screenshot"/>
4502 </action>
4503 </page>
4504
4505 <page name="select_storage">
4506 <fill color="%semi_transparent%">
4507 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4508 </fill>
4509
4510 <fill color="%background_color%">
4511 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4512 </fill>
4513
4514 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004515 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004516 <data name="tw_storage_path"/>
4517 <listtype name="storage"/>
4518 </partitionlist>
4519
4520 <button style="button_third_width">
4521 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004522 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004523 <actions>
4524 <action function="set">tw_clear_destination=%tw_back%</action>
4525 <action function="overlay"/>
4526 <action function="page">clear_vars</action>
4527 </actions>
4528 </button>
4529
4530 <fill color="#000000">
4531 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4532 </fill>
4533
4534 <button>
4535 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4536 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4537 <image resource="back"/>
4538 <condition var1="tw_busy" var2="0"/>
4539 <actions>
4540 <action function="overlay"/>
4541 <action function="key">%tw_back%</action>
4542 </actions>
4543 </button>
4544
4545 <button>
4546 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4547 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4548 <image resource="console"/>
4549 <condition var1="tw_busy" var2="0"/>
4550 <action function="overlay">slideout</action>
4551 </button>
4552
4553 <button>
4554 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4555 <image resource="home"/>
4556 <condition var1="tw_busy" var2="0"/>
4557 <actions>
4558 <action function="overlay"/>
4559 <action function="key">home</action>
4560 </actions>
4561 </button>
4562
4563 <button>
4564 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4565 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4566 <image resource="console"/>
4567 <condition var1="tw_busy" var2="0"/>
4568 <action function="overlay">slideout</action>
4569 </button>
4570
4571 <button>
4572 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4573 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4574 <image resource="back"/>
4575 <condition var1="tw_busy" var2="0"/>
4576 <actions>
4577 <action function="overlay"/>
4578 <action function="key">%tw_back%</action>
4579 </actions>
4580 </button>
4581
4582 <action>
4583 <touch key="power+voldown"/>
4584 <action function="screenshot"/>
4585 </action>
4586 </page>
4587 </pages>
4588</recovery>