blob: 938c8548d931fbb4b2b13a155abc5c4321f0f6ad [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
112 <style name="fileselector">
113 <highlight color="%fileselector_highlight_color%"/>
114 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
115 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
116 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
117 <sort name="tw_gui_sort_order"/>
118 <icon folder="folder" file="file"/>
119 <background color="%background_color%"/>
120 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
121 </style>
122
123 <style name="listbox">
124 <highlight color="%fileselector_highlight_color%"/>
125 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
126 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
127 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
128 <icon selected="radio_true" unselected="radio_false"/>
129 <background color="%background_color%"/>
130 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
131 </style>
132
133 <style name="scrolllist">
134 <background color="%background_color%"/>
135 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
136 </style>
137
138 <style name="partitionlist">
139 <highlight color="%fileselector_highlight_color%"/>
140 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
141 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
142 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
143 <icon selected="checkbox_true" unselected="checkbox_false"/>
144 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
145 <background color="%background_color%"/>
146 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
147 </style>
148
149 <style name="partitionlist_storage">
150 <highlight color="%fileselector_highlight_color%"/>
151 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
152 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
153 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
154 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
155 <icon selected="radio_true" unselected="radio_false"/>
156 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
157 <background color="%background_color%"/>
158 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
159 </style>
160
161 <style name="slider">
162 <placement x="%col2_x_right%" y="%row17a_y%"/>
163 <font resource="font_m" color="%text_color%"/>
164 <resource base="slider" used="slider_used" touch="slider_touch"/>
165 </style>
166
167 <style name="slider_centered">
168 <placement x="%center_x%" 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="slidervalue">
174 <resource handle="handle"/>
175 <font resource="font_m" color="%text_color%"/>
176 <colors line="%fileselector_linecolor%"/>
177 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
178 </style>
179 </styles>
180
181 <pages>
182 <page name="main">
183 <action>
184 <actions>
185 <action function="set">tw_clear_destination=main2</action>
186 <action function="page">clear_vars</action>
187 </actions>
188 </action>
189 </page>
190
191 <page name="main2">
192 <template name="page"/>
193
194 <text style="text_l">
195 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500196 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100197 </text>
198
199 <text style="text_m">
200 <condition var1="tw_no_cpu_temp" var2="0"/>
201 <placement x="%col1_x_header%" y="%row4_header_y%"/>
202 <text>%tw_version%</text>
203 </text>
204
205 <button style="main_button">
206 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 <actions>
209 <action function="queueclear"/>
210 <action function="set">tw_selectimage=0</action>
211 <action function="page">install</action>
212 </actions>
213 </button>
214
215 <button style="main_button">
216 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <action function="page">wipe</action>
219 </button>
220
221 <button style="main_button">
222 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500223 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100224 <action function="page">backup</action>
225 </button>
226
227 <button style="main_button">
228 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500229 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100230 <action function="page">restore</action>
231 </button>
232
233 <button style="main_button">
234 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500235 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100236 <action function="page">mount</action>
237 </button>
238
239 <button style="main_button">
240 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500241 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100242 <action function="page">settings</action>
243 </button>
244
245 <button style="main_button">
246 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500247 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100248 <action function="page">advanced</action>
249 </button>
250
251 <button style="main_button">
252 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500253 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100254 <action function="page">reboot</action>
255 </button>
256 </page>
257
258 <page name="install">
259 <template name="page"/>
260
261 <text style="text_l">
262 <condition var1="tw_selectimage" var2="0"/>
263 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500264 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100265 </text>
266
267 <text style="text_l">
268 <condition var1="tw_selectimage" var2="1"/>
269 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500270 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100271 </text>
272
273 <text style="text_m">
274 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500275 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100276 </text>
277
278 <template name="sort_options"/>
279
280 <fileselector>
281 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500282 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100283 <filter folders="1" files="0"/>
284 <path name="tw_zip_location" default="/sdcard"/>
285 <data name="select"/>
286 </fileselector>
287
288 <fileselector>
289 <condition var1="tw_selectimage" var2="0"/>
290 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
291 <text>%tw_zip_location%</text>
292 <filter extn=".zip" folders="0" files="1"/>
293 <path name="tw_zip_location" default="/sdcard"/>
294 <data name="tw_filename"/>
295 <selection name="tw_file"/>
296 </fileselector>
297
298 <fileselector>
299 <condition var1="tw_selectimage" var2="1"/>
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=".img" 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 <button style="main_button_half_width_low">
309 <condition var1="tw_selectimage" var2="0"/>
310 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <actions>
313 <action function="set">tw_selectimage=1</action>
314 <action function="page">install</action>
315 </actions>
316 </button>
317
318 <button style="main_button_half_width_low">
319 <condition var1="tw_selectimage" var2="1"/>
320 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="set">tw_selectimage=0</action>
324 <action function="page">install</action>
325 </actions>
326 </button>
327
328 <button style="main_button_half_width_low">
329 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500330 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100331 <actions>
332 <action function="set">tw_back=install</action>
333 <action function="overlay">select_storage</action>
334 </actions>
335 </button>
336
337 <action>
338 <conditions>
339 <condition var1="tw_selectimage" var2="0"/>
340 <condition var1="tw_filename" op="modified"/>
341 </conditions>
342 <actions>
343 <action function="queuezip"/>
344 <action function="page">flash_confirm</action>
345 </actions>
346 </action>
347
348 <action>
349 <conditions>
350 <condition var1="tw_selectimage" var2="1"/>
351 <condition var1="tw_filename" op="modified"/>
352 </conditions>
353 <action function="page">flashimage_confirm</action>
354 </action>
355
356 <action>
357 <touch key="back"/>
358 <action function="page">main</action>
359 </action>
360
361 <action>
362 <touch key="home"/>
363 <action function="page">main</action>
364 </action>
365 </page>
366
367 <page name="flash_confirm">
368 <template name="page"/>
369
370 <text style="text_l">
371 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500372 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100373 </text>
374
375 <text style="text_m">
376 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500377 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100378 </text>
379
380 <text style="text_m_accent">
381 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100383 </text>
384
385 <text style="text_m_accent">
386 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500387 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </text>
389
390 <text style="text_m">
391 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500392 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100393 </text>
394
395 <text style="text_m_accent">
396 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%col1_x_left%" y="%row9_y%"/>
402 <text>%tw_zip_location%</text>
403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m">
411 <placement x="%col1_x_left%" y="%row12_y%"/>
412 <text>%tw_file%</text>
413 </text>
414
415 <text style="text_m_accent">
416 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <checkbox>
421 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500422 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100423 <data variable="tw_signed_zip_verify"/>
424 </checkbox>
425
426 <checkbox>
427 <condition var1="tw_has_injecttwrp" var2="1"/>
428 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500429 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100430 <data variable="tw_inject_after_zip"/>
431 </checkbox>
432
433 <button style="main_button_half_width">
434 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500435 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100436 <action function="page">install</action>
437 </button>
438
439 <button style="main_button_half_width">
440 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500441 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100442 <actions>
443 <action function="queueclear"/>
444 <action function="page">install</action>
445 </actions>
446 </button>
447
448 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500449 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100450 <action function="flash">flash_zip</action>
451 </slider>
452
453 <action>
454 <touch key="back"/>
455 <actions>
456 <action function="cancelzip"/>
457 <action function="page">install</action>
458 </actions>
459 </action>
460
461 <action>
462 <touch key="home"/>
463 <action function="page">main</action>
464 </action>
465 </page>
466
467 <page name="flash_zip">
468 <template name="page"/>
469
470 <text style="text_l">
471 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500472 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100473 </text>
474
475 <text style="text_m">
476 <placement x="%col1_x_header%" y="%row4_header_y%"/>
477 <text>%tw_file%</text>
478 </text>
479
480 <template name="console"/>
481
482 <template name="progress_bar"/>
483
484 <action>
485 <condition var1="tw_operation_state" var2="1"/>
486 <action function="page">flash_done</action>
487 </action>
488 </page>
489
490 <page name="flash_done">
491 <template name="page"/>
492
493 <text style="text_l">
494 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500495 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100496 </text>
497
498 <text style="text_m_fail">
499 <condition var1="tw_operation_status" op="!=" var2="0"/>
500 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500501 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100502 </text>
503
504 <text style="text_m">
505 <condition var1="tw_operation_status" var2="0"/>
506 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500507 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100508 </text>
509
510 <template name="console"/>
511
512 <button style="main_button_half_width">
513 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500514 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100515 <actions>
516 <action function="set">tw_back=flash_done</action>
517 <action function="set">tw_action=wipe</action>
518 <action function="set">tw_action_param=/cache</action>
519 <action function="set">tw_has_action2=1</action>
520 <action function="set">tw_action2=wipe</action>
521 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500522 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
523 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
524 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
525 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100526 <action function="page">confirm_action</action>
527 </actions>
528 </button>
529
530 <button style="main_button_half_width">
531 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500532 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100533 <actions>
534 <action function="set">tw_back=main2</action>
535 <action function="set">tw_action=reboot</action>
536 <action function="set">tw_action_param=system</action>
537 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
539 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100540 <action function="set">tw_text3=</action>
541 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500542 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500544 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
545 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100546 <action function="page">rebootcheck</action>
547 </actions>
548 </button>
549
550 <action>
551 <touch key="back"/>
552 <actions>
553 <action function="set">tw_clear_destination=install</action>
554 <action function="page">clear_vars</action>
555 </actions>
556 </action>
557
558 <action>
559 <touch key="home"/>
560 <actions>
561 <action function="set">tw_clear_destination=main2</action>
562 <action function="page">clear_vars</action>
563 </actions>
564 </action>
565 </page>
566
567 <page name="flashimage_confirm">
568 <template name="page"/>
569
570 <text style="text_l">
571 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500572 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100573 </text>
574
575 <text style="text_m">
576 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500577 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100578 </text>
579
580 <text style="text_m_accent">
581 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500582 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100583 </text>
584
585 <text style="text_m">
586 <placement x="%col1_x_left%" y="%row9_y%"/>
587 <text>%tw_zip_location%</text>
588 </text>
589
590 <text style="text_m_accent">
591 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500592 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </text>
594
595 <text style="text_m">
596 <placement x="%col1_x_left%" y="%row12_y%"/>
597 <text>%tw_file%</text>
598 </text>
599
600 <partitionlist>
601 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
602 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500603 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100604 <data name="tw_flash_partition"/>
605 <listtype name="flashimg"/>
606 </partitionlist>
607
608 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 <actions>
611 <action function="set">tw_back=flashimage_confirm</action>
612 <action function="set">tw_action=flashimage</action>
613 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500614 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100615 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500616 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100617 <action function="page">action_page</action>
618 </actions>
619 <action function="flashimage"/>
620 </slider>
621
622 <action>
623 <touch key="back"/>
624 <actions>
625 <action function="set">tw_clear_destination=install</action>
626 <action function="page">clear_vars</action>
627 </actions>
628 </action>
629
630 <action>
631 <touch key="home"/>
632 <actions>
633 <action function="set">tw_clear_destination=main2</action>
634 <action function="page">clear_vars</action>
635 </actions>
636 </action>
637 </page>
638
639 <page name="clear_vars">
640 <action>
641 <action function="set">tw_operation_state=0</action>
642 <action function="set">tw_text1=</action>
643 <action function="set">tw_text2=</action>
644 <action function="set">tw_text3=</action>
645 <action function="set">tw_text4=</action>
646 <action function="set">tw_action_text1=</action>
647 <action function="set">tw_action_text2=</action>
648 <action function="set">tw_action_param=</action>
649 <action function="set">tw_has_action2=0</action>
650 <action function="set">tw_action2=</action>
651 <action function="set">tw_action2_param=</action>
652 <action function="set">tw_has_cancel=0</action>
653 <action function="set">tw_cancel_action=</action>
654 <action function="set">tw_cancel_param=</action>
655 <action function="set">tw_show_exclamation=0</action>
656 <action function="set">tw_show_reboot=0</action>
657 <action function="page">%tw_clear_destination%</action>
658 </action>
659 </page>
660
661 <page name="confirm_action">
662 <template name="page"/>
663
664 <text style="text_l">
665 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500666 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100667 </text>
668
669 <text style="text_m">
670 <placement x="%col1_x_header%" y="%row4_header_y%"/>
671 <text/>
672 </text>
673
674 <text style="text_m_accent">
675 <placement x="%center_x%" y="%row2_y%" placement="5"/>
676 <text>%tw_text1%</text>
677 </text>
678
679 <text style="text_m_accent">
680 <placement x="%center_x%" y="%row3_y%" placement="5"/>
681 <text>%tw_text2%</text>
682 </text>
683
684 <text style="text_m">
685 <placement x="%center_x%" y="%row4_y%" placement="5"/>
686 <text>%tw_text3%</text>
687 </text>
688
689 <text style="text_m">
690 <placement x="%center_x%" y="%row5_y%" placement="5"/>
691 <text>%tw_text4%</text>
692 </text>
693
694 <text style="text_m">
695 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500696 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100697 </text>
698
699 <slider style="slider_centered">
700 <text>%tw_slider_text%</text>
701 <action function="page">action_page</action>
702 </slider>
703
704 <action>
705 <touch key="back"/>
706 <actions>
707 <action function="set">tw_clear_destination=%tw_back%</action>
708 <action function="page">clear_vars</action>
709 </actions>
710 </action>
711
712 <action>
713 <touch key="home"/>
714 <action function="page">main</action>
715 </action>
716 </page>
717
718 <page name="action_page">
719 <template name="page"/>
720
721 <text style="text_l">
722 <placement x="%col1_x_header%" y="%row3_header_y%"/>
723 <text>%tw_action_text1%</text>
724 </text>
725
726 <text style="text_m">
727 <placement x="%col1_x_header%" y="%row4_header_y%"/>
728 <text>%tw_action_text2%</text>
729 </text>
730
731 <template name="console"/>
732
733 <template name="progress_bar"/>
734
735 <button style="main_button_half_width">
736 <condition var1="tw_has_cancel" var2="1"/>
737 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500738 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100739 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
740 </button>
741
742 <action>
743 <condition var1="tw_operation_state" var2="1"/>
744 <actions>
745 <action function="page">action_complete</action>
746 </actions>
747 </action>
748
749 <action>
750 <condition var1="tw_has_action2" var2="0"/>
751 <actions>
752 <action function="%tw_action%">%tw_action_param%</action>
753 </actions>
754 </action>
755
756 <action>
757 <condition var1="tw_has_action2" var2="1"/>
758 <actions>
759 <action function="%tw_action%">%tw_action_param%</action>
760 <action function="%tw_action2%">%tw_action2_param%</action>
761 </actions>
762 </action>
763 </page>
764
765 <page name="singleaction_page">
766 <template name="page"/>
767
768 <text style="text_l">
769 <placement x="%col1_x_header%" y="%row3_header_y%"/>
770 <text>%tw_action_text1%</text>
771 </text>
772
773 <text style="text_m">
774 <placement x="%col1_x_header%" y="%row4_header_y%"/>
775 <text>%tw_action_text2%</text>
776 </text>
777
778 <template name="console"/>
779
780 <template name="progress_bar"/>
781
782 <action>
783 <condition var1="tw_operation_state" var2="1"/>
784 <actions>
785 <action function="set">tw_page_done=1</action>
786 </actions>
787 </action>
788
789 <action>
790 <condition var1="tw_has_action2" var2="0"/>
791 <actions>
792 <action function="%tw_action%">%tw_action_param%</action>
793 </actions>
794 </action>
795
796 <action>
797 <condition var1="tw_has_action2" var2="1"/>
798 <actions>
799 <action function="%tw_action%">%tw_action_param%</action>
800 <action function="%tw_action2%">%tw_action2_param%</action>
801 </actions>
802 </action>
803 </page>
804
805 <page name="action_complete">
806 <template name="page"/>
807
808 <text style="text_l">
809 <placement x="%col1_x_header%" y="%row3_header_y%"/>
810 <text>%tw_complete_text1%</text>
811 </text>
812
813 <text style="text_m_fail">
814 <condition var1="tw_operation_status" op="!=" var2="0"/>
815 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500816 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100817 </text>
818
819 <text style="text_m">
820 <condition var1="tw_operation_status" var2="0"/>
821 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500822 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100823 </text>
824
825 <template name="console"/>
826
827 <button style="main_button_half_width">
828 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500829 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100830 <actions>
831 <action function="set">tw_clear_destination=%tw_back%</action>
832 <action function="page">clear_vars</action>
833 </actions>
834 </button>
835
836 <button style="main_button_half_width">
837 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500838 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100839 <actions>
840 <action function="set">tw_back=main2</action>
841 <action function="set">tw_action=reboot</action>
842 <action function="set">tw_action_param=system</action>
843 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500844 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
845 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100846 <action function="set">tw_text3=</action>
847 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100849 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500850 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
851 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100852 <action function="page">rebootcheck</action>
853 </actions>
854 </button>
855
856 <action>
857 <touch key="home"/>
858 <actions>
859 <action function="set">tw_clear_destination=main2</action>
860 <action function="page">clear_vars</action>
861 </actions>
862 </action>
863
864 <action>
865 <touch key="back"/>
866 <actions>
867 <action function="set">tw_clear_destination=%tw_back%</action>
868 <action function="page">clear_vars</action>
869 </actions>
870 </action>
871 </page>
872
873 <page name="filecheck">
874 <action>
875 <action function="fileexists">%tw_filecheck%</action>
876 </action>
877
878 <action>
879 <conditions>
880 <condition var1="tw_operation_state" var2="1"/>
881 <condition var1="tw_operation_status" var2="0"/>
882 </conditions>
883 <actions>
884 <action function="set">tw_fileexists=1</action>
885 <action function="page">%tw_existpage%</action>
886 </actions>
887 </action>
888
889 <action>
890 <conditions>
891 <condition var1="tw_operation_state" var2="1"/>
892 <condition var1="tw_operation_status" var2="1"/>
893 </conditions>
894 <actions>
895 <action function="set">tw_fileexists=0</action>
896 <action function="page">%tw_notexistpage%</action>
897 </actions>
898 </action>
899 </page>
900
901 <page name="rebootcheck">
902 <action>
903 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
904 <action function="reboot">%tw_action_param%</action>
905 </action>
906
907 <action>
908 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
909 <action function="page">confirm_action</action>
910 </action>
911 </page>
912
913 <page name="wipe">
914 <template name="page"/>
915
916 <text style="text_l">
917 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500918 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100919 </text>
920
921 <text style="text_m">
922 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500923 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100924 </text>
925
926 <text style="text_m_accent">
927 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500928 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100929 </text>
930
931 <text style="text_m_accent">
932 <condition var1="tw_has_data_media" var2="1"/>
933 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500934 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100935 </text>
936
937 <text style="text_m_accent">
938 <conditions>
939 <condition var1="tw_has_android_secure" var2="1"/>
940 <condition var1="fileexists" var2="/and-sec"/>
941 </conditions>
942 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500943 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100944 </text>
945
946 <text style="text_m_accent">
947 <condition var1="tw_has_sdext_partition" var2="1"/>
948 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500949 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100950 </text>
951
952 <text style="text_m">
953 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500954 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100955 </text>
956
957 <text style="text_m">
958 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100960 </text>
961
962 <text style="text_m">
963 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 </text>
966
967 <button style="main_button_half_width">
968 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 <actions>
971 <action function="set">partitionlisterror=0</action>
972 <action function="page">advancedwipe</action>
973 </actions>
974 </button>
975
976 <button style="main_button_half_width">
977 <condition var1="tw_has_data_media" var2="1"/>
978 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500979 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100980 <action function="page">formatdata</action>
981 </button>
982
983 <button style="main_button_half_width">
984 <conditions>
985 <condition var1="tw_is_encrypted" var2="1"/>
986 <condition var1="tw_has_data_media" var2="0"/>
987 </conditions>
988 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 <actions>
991 <action function="set">tw_back=wipe</action>
992 <action function="set">tw_action=wipe</action>
993 <action function="set">tw_action_param=DATAMEDIA</action>
994 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500995 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100996 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500997 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
998 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
999 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <action function="page">confirm_action</action>
1001 </actions>
1002 </button>
1003
1004 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 <actions>
1007 <action function="set">tw_back=wipe</action>
1008 <action function="set">tw_action=wipe</action>
1009 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1011 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001012 <action function="page">action_page</action>
1013 </actions>
1014 </slider>
1015
1016 <action>
1017 <touch key="back"/>
1018 <action function="page">main</action>
1019 </action>
1020
1021 <action>
1022 <touch key="home"/>
1023 <action function="page">main</action>
1024 </action>
1025 </page>
1026
1027 <page name="advancedwipe">
1028 <template name="page"/>
1029
1030 <action>
1031 <action function="set">tw_wipe_list=</action>
1032 </action>
1033
1034 <text style="text_l">
1035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001036 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001037 </text>
1038
1039 <text style="text_m">
1040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001042 </text>
1043
1044 <partitionlist>
1045 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 <data name="tw_wipe_list"/>
1048 <listtype name="wipe"/>
1049 </partitionlist>
1050
1051 <text style="text_m_fail">
1052 <condition var1="partitionlisterror" var2="1"/>
1053 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001054 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </text>
1056
1057 <button style="main_button_m">
1058 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 <actions>
1061 <action function="checkpartitionlist"/>
1062 <action function="page">checkpartitionlist</action>
1063 </actions>
1064 </button>
1065
1066 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001068 <actions>
1069 <action function="set">tw_back=advancedwipe</action>
1070 <action function="set">tw_action=wipe</action>
1071 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1073 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1074 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001075 <action function="page">action_page</action>
1076 </actions>
1077 </slider>
1078
1079 <action>
1080 <touch key="home"/>
1081 <action function="page">main</action>
1082 </action>
1083
1084 <action>
1085 <touch key="back"/>
1086 <action function="page">wipe</action>
1087 </action>
1088 </page>
1089
1090 <page name="formatdata">
1091 <template name="page"/>
1092
1093 <text style="text_l">
1094 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001096 </text>
1097
1098 <text style="text_m">
1099 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <text style="text_m_fail">
1104 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <text style="text_m_fail">
1109 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 </text>
1112
1113 <text style="text_m">
1114 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001115 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001116 </text>
1117
1118 <text style="text_m">
1119 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 </text>
1122
1123 <input>
1124 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1125 <text>%tw_confirm_formatdata%</text>
1126 <data name="tw_confirm_formatdata"/>
1127 <restrict minlen="3" maxlen="3" allow="yes"/>
1128 <action function="page">formatdata_confirm</action>
1129 </input>
1130
1131 <fill color="%accent_color%">
1132 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1133 </fill>
1134
1135 <template name="keyboardtemplate"/>
1136
1137 <action>
1138 <touch key="home"/>
1139 <action function="page">main</action>
1140 </action>
1141
1142 <action>
1143 <touch key="back"/>
1144 <action function="page">wipe</action>
1145 </action>
1146 </page>
1147
1148 <page name="formatdata_confirm">
1149 <action>
1150 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1151 <actions>
1152 <action function="set">tw_back=formatdata</action>
1153 <action function="set">tw_action=wipe</action>
1154 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001155 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1156 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001157 <action function="page">action_page</action>
1158 </actions>
1159 </action>
1160
1161 <action>
1162 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1163 <action function="page">formatdata</action>
1164 </action>
1165 </page>
1166
1167 <page name="checkpartitionlist">
1168 <action>
1169 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1170 <actions>
1171 <action function="set">partitionlisterror=0</action>
1172 <action function="getpartitiondetails"/>
1173 <action function="page">partitionoptions</action>
1174 </actions>
1175 </action>
1176
1177 <action>
1178 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1179 <actions>
1180 <action function="set">partitionlisterror=1</action>
1181 <action function="set">tw_wipe_list=</action>
1182 <action function="page">advancedwipe</action>
1183 </actions>
1184 </action>
1185 </page>
1186
1187 <page name="partitionoptions">
1188 <template name="page"/>
1189
1190 <text style="text_l">
1191 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m">
1196 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m_accent">
1201 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m_accent">
1206 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
1210 <text style="text_m">
1211 <condition var1="tw_partition_is_present" var2="1"/>
1212 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </text>
1215
1216 <text style="text_m">
1217 <condition var1="tw_partition_is_present" var2="0"/>
1218 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <text style="text_m">
1223 <condition var1="tw_partition_removable" var2="1"/>
1224 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001225 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001226 </text>
1227
1228 <text style="text_m">
1229 <condition var1="tw_partition_removable" var2="0"/>
1230 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001231 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001232 </text>
1233
1234 <text style="text_m">
1235 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </text>
1238
1239 <text style="text_m">
1240 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m">
1245 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m">
1250 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
1254 <button style="main_button_half_width">
1255 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1256 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 <actions>
1259 <action function="set">tw_back=partitionoptions</action>
1260 <action function="set">tw_action=resize</action>
1261 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1262 <action function="set">tw_has_action2=1</action>
1263 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001265 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1267 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1268 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001269 <action function="page">confirm_action</action>
1270 </actions>
1271 </button>
1272
1273 <button style="main_button_half_width">
1274 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1275 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001276 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001277 <actions>
1278 <action function="set">tw_back=partitionoptions</action>
1279 <action function="set">tw_action=repair</action>
1280 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1281 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001282 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001283 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001284 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1285 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1286 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="page">confirm_action</action>
1288 </actions>
1289 </button>
1290
1291 <button style="main_button_half_width">
1292 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001293 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001294 <action function="page">selectfilesystem</action>
1295 </button>
1296
1297 <action>
1298 <touch key="home"/>
1299 <action function="page">main</action>
1300 </action>
1301
1302 <action>
1303 <touch key="back"/>
1304 <action function="page">advancedwipe</action>
1305 </action>
1306 </page>
1307
1308 <page name="refreshfilesystem">
1309 <action>
1310 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1311 <actions>
1312 <action function="set">partitionlisterror=0</action>
1313 <action function="getpartitiondetails"/>
1314 <action function="page">selectfilesystem</action>
1315 </actions>
1316 </action>
1317
1318 <action>
1319 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1320 <actions>
1321 <action function="set">partitionlisterror=1</action>
1322 <action function="set">tw_wipe_list=</action>
1323 <action function="page">advancedwipe</action>
1324 </actions>
1325 </action>
1326 </page>
1327
1328 <page name="selectfilesystem">
1329 <template name="page"/>
1330
1331 <text style="text_l">
1332 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 </text>
1335
1336 <text style="text_m">
1337 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 </text>
1340
1341 <text style="text_m_accent">
1342 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m_accent">
1347 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m_fail">
1352 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <text style="text_m_fail">
1357 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <button style="main_button_half_width">
1362 <condition var1="tw_partition_ext" op="=" var2="1"/>
1363 <placement x="%col1_x_left%" y="%row11_y%"/>
1364 <text>EXT2</text>
1365 <actions>
1366 <action function="set">tw_back=refreshfilesystem</action>
1367 <action function="set">tw_action=changefilesystem</action>
1368 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1369 <action function="set">tw_action_new_file_system=ext2</action>
1370 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1372 <action function="set">tw_text2=EXT2</action>
1373 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1374 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1375 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <action function="page">confirm_action</action>
1377 </actions>
1378 </button>
1379
1380 <button style="main_button_half_width">
1381 <condition var1="tw_partition_ext" op="=" var2="1"/>
1382 <placement x="%col2_x_left%" y="%row11_y%"/>
1383 <text>EXT3</text>
1384 <actions>
1385 <action function="set">tw_back=refreshfilesystem</action>
1386 <action function="set">tw_action=changefilesystem</action>
1387 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1388 <action function="set">tw_action_new_file_system=ext3</action>
1389 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1391 <action function="set">tw_text2=EXT3</action>
1392 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1393 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1394 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001395 <action function="page">confirm_action</action>
1396 </actions>
1397 </button>
1398
1399 <button style="main_button_half_width">
1400 <condition var1="tw_partition_ext" op="=" var2="1"/>
1401 <placement x="%center_x%" y="%row11_y%"/>
1402 <text>EXT4</text>
1403 <actions>
1404 <action function="set">tw_back=refreshfilesystem</action>
1405 <action function="set">tw_action=changefilesystem</action>
1406 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1407 <action function="set">tw_action_new_file_system=ext4</action>
1408 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1410 <action function="set">tw_text2=EXT4</action>
1411 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1412 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1413 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <action function="page">confirm_action</action>
1415 </actions>
1416 </button>
1417
1418 <button style="main_button_half_width">
1419 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1420 <placement x="%col2_x_right%" y="%row11_y%"/>
1421 <text>FAT</text>
1422 <actions>
1423 <action function="set">tw_back=refreshfilesystem</action>
1424 <action function="set">tw_action=changefilesystem</action>
1425 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1426 <action function="set">tw_action_new_file_system=vfat</action>
1427 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001428 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1429 <action function="set">tw_text2=FAT</action>
1430 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1431 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1432 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <action function="page">confirm_action</action>
1434 </actions>
1435 </button>
1436
1437 <button style="main_button_half_width">
1438 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1439 <placement x="%col2_x_left%" y="%row15a_y%"/>
1440 <text>exFAT</text>
1441 <actions>
1442 <action function="set">tw_back=refreshfilesystem</action>
1443 <action function="set">tw_action=changefilesystem</action>
1444 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1445 <action function="set">tw_action_new_file_system=exfat</action>
1446 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1448 <action function="set">tw_text2=exFAT</action>
1449 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1450 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1451 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001452 <action function="page">confirm_action</action>
1453 </actions>
1454 </button>
1455
1456 <button style="main_button_half_width">
1457 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1458 <placement x="%center_x%" y="%row15a_y%"/>
1459 <text>F2FS</text>
1460 <actions>
1461 <action function="set">tw_back=refreshfilesystem</action>
1462 <action function="set">tw_action=changefilesystem</action>
1463 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1464 <action function="set">tw_action_new_file_system=f2fs</action>
1465 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001466 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1467 <action function="set">tw_text2=F2FS</action>
1468 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1469 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1470 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001471 <action function="page">confirm_action</action>
1472 </actions>
1473 </button>
1474
1475 <action>
1476 <touch key="home"/>
1477 <action function="page">main</action>
1478 </action>
1479
1480 <action>
1481 <touch key="back"/>
1482 <action function="page">partitionoptions</action>
1483 </action>
1484 </page>
1485
1486 <page name="backup">
1487 <template name="page"/>
1488
1489 <text style="text_l">
1490 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001492 </text>
1493
1494 <text style="text_m">
1495 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001496 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001497 </text>
1498
1499 <text style="text_m_accent">
1500 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m">
1505 <placement x="%col1_x_left%" y="%row3_y%"/>
1506 <text>%tw_backup_name%</text>
1507 </text>
1508
1509 <fill color="%fileselector_linecolor%">
1510 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1511 </fill>
1512
1513 <button>
1514 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1515 <fill color="%transparent%"/>
1516 <actions>
1517 <action function="set">tw_fileexists=0</action>
1518 <action function="page">backupname1</action>
1519 </actions>
1520 </button>
1521
1522 <partitionlist>
1523 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001524 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001525 <data name="tw_backup_list"/>
1526 <listtype name="backup"/>
1527 </partitionlist>
1528
1529 <text style="text_m_accent">
1530 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001532 </text>
1533
1534 <text style="text_m">
1535 <conditions>
1536 <condition var1="tw_include_encrypted_backup" var2="1"/>
1537 <condition var1="tw_encrypt_backup" var2="0"/>
1538 </conditions>
1539 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001541 </text>
1542
1543 <text style="text_m">
1544 <conditions>
1545 <condition var1="tw_include_encrypted_backup" var2="1"/>
1546 <condition var1="tw_encrypt_backup" var2="1"/>
1547 </conditions>
1548 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001549 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001550 </text>
1551
1552 <fill color="%fileselector_linecolor%">
1553 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1554 </fill>
1555
1556 <button>
1557 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1558 <fill color="%transparent%"/>
1559 <actions>
1560 <action function="set">tw_password_not_match=0</action>
1561 <action function="page">backupencryption</action>
1562 </actions>
1563 </button>
1564
1565 <text style="text_m_accent">
1566 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001567 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001568 </text>
1569
1570 <checkbox>
1571 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001572 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001573 <data variable="tw_use_compression"/>
1574 </checkbox>
1575
1576 <checkbox>
1577 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 <data variable="tw_skip_md5_generate"/>
1580 </checkbox>
1581
1582 <checkbox>
1583 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <data variable="tw_disable_free_space"/>
1586 </checkbox>
1587
1588 <button style="main_button_half_width">
1589 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <actions>
1592 <action function="set">tw_back=backup</action>
1593 <action function="overlay">select_storage</action>
1594 </actions>
1595 </button>
1596
1597 <button style="main_button_half_width">
1598 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001599 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001600 <actions>
1601 <action function="refreshsizes"/>
1602 <action function="page">backup</action>
1603 </actions>
1604 </button>
1605
1606 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 <action function="page">backup_run</action>
1609 </slider>
1610
1611 <action>
1612 <touch key="home"/>
1613 <action function="page">main</action>
1614 </action>
1615
1616 <action>
1617 <touch key="back"/>
1618 <action function="page">main</action>
1619 </action>
1620 </page>
1621
1622 <page name="backupname1">
1623 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <action function="generatebackupname"/>
1626 </action>
1627
1628 <action>
1629 <action function="page">backupname2</action>
1630 </action>
1631 </page>
1632
1633 <page name="backupname2">
1634 <template name="page"/>
1635
1636 <text style="text_l">
1637 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001638 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001639 </text>
1640
1641 <text style="text_m">
1642 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 </text>
1645
1646 <text style="text_m_accent">
1647 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <input>
1652 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1653 <text>%tw_backup_name%</text>
1654 <data name="tw_backup_name"/>
1655 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1656 <actions>
1657 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1658 <action function="set">tw_existpage=backupname2</action>
1659 <action function="set">tw_notexistpage=backup</action>
1660 <action function="page">filecheck</action>
1661 </actions>
1662 </input>
1663
1664 <fill color="%accent_color%">
1665 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1666 </fill>
1667
1668 <fill color="%text_fail_color%">
1669 <condition var1="tw_fileexists" var2="1"/>
1670 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1671 </fill>
1672
1673 <text style="text_m_fail">
1674 <condition var1="tw_fileexists" var2="1"/>
1675 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <button style="main_button_half_width_low">
1680 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001681 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001682 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <action function="page">backup</action>
1685 </actions>
1686 </button>
1687
1688 <button style="main_button_half_width_low">
1689 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <action function="appenddatetobackupname"/>
1692 </button>
1693
1694 <template name="keyboardtemplate"/>
1695
1696 <action>
1697 <touch key="home"/>
1698 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <action function="page">main</action>
1701 </actions>
1702 </action>
1703
1704 <action>
1705 <touch key="back"/>
1706 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001707 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001708 <action function="page">backup</action>
1709 </actions>
1710 </action>
1711 </page>
1712
1713 <page name="backupencryption">
1714 <template name="page"/>
1715
1716 <text style="text_l">
1717 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001718 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001719 </text>
1720
1721 <text style="text_m">
1722 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </text>
1725
1726 <text style="text_m_accent">
1727 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <input>
1732 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1733 <text>%tw_backup_encrypt_display%</text>
1734 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1735 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1736 <action function="page">backupencryption2</action>
1737 </input>
1738
1739 <fill color="%accent_color%">
1740 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1741 </fill>
1742
1743 <fill color="%text_fail_color%">
1744 <condition var1="tw_password_not_match" var2="1"/>
1745 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1746 </fill>
1747
1748 <text style="text_m_fail">
1749 <condition var1="tw_password_not_match" var2="1"/>
1750 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001752 </text>
1753
1754 <button style="main_button_half_width_low">
1755 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001756 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001757 <actions>
1758 <action function="set">tw_encrypt_backup=0</action>
1759 <action function="set">tw_backup_password=</action>
1760 <action function="set">tw_backup_password2=</action>
1761 <action function="set">tw_backup_encrypt_display=</action>
1762 <action function="set">tw_backup_encrypt_display2=</action>
1763 <action function="page">backup</action>
1764 </actions>
1765 </button>
1766
1767 <template name="keyboardtemplate"/>
1768
1769 <action>
1770 <touch key="home"/>
1771 <action function="page">main</action>
1772 </action>
1773
1774 <action>
1775 <touch key="back"/>
1776 <action function="page">backup</action>
1777 </action>
1778 </page>
1779
1780 <page name="backupencryption2">
1781 <template name="page"/>
1782
1783 <text style="text_l">
1784 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001786 </text>
1787
1788 <text style="text_m">
1789 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 </text>
1792
1793 <text style="text_m_accent">
1794 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <input>
1799 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1800 <text>%tw_backup_encrypt_display2%</text>
1801 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1802 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1803 <action function="page">checkbackuppassword</action>
1804 </input>
1805
1806 <fill color="%accent_color%">
1807 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1808 </fill>
1809
1810 <text style="text_m">
1811 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001812 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001813 </text>
1814
1815 <button style="main_button_half_width_low">
1816 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 <actions>
1819 <action function="set">tw_encrypt_backup=0</action>
1820 <action function="set">tw_backup_password=</action>
1821 <action function="set">tw_backup_password2=</action>
1822 <action function="set">tw_backup_encrypt_display=</action>
1823 <action function="set">tw_backup_encrypt_display2=</action>
1824 <action function="page">backup</action>
1825 </actions>
1826 </button>
1827
1828 <template name="keyboardtemplate"/>
1829
1830 <action>
1831 <touch key="home"/>
1832 <action function="page">main</action>
1833 </action>
1834
1835 <action>
1836 <touch key="back"/>
1837 <action function="page">backup</action>
1838 </action>
1839 </page>
1840
1841 <page name="checkbackuppassword">
1842 <action>
1843 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1844 <actions>
1845 <action function="set">tw_encrypt_backup=1</action>
1846 <action function="page">backup</action>
1847 </actions>
1848 </action>
1849
1850 <action>
1851 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1852 <actions>
1853 <action function="set">tw_encrypt_backup=0</action>
1854 <action function="set">tw_password_not_match=1</action>
1855 <action function="set">tw_backup_password=</action>
1856 <action function="set">tw_backup_password2=</action>
1857 <action function="set">tw_backup_encrypt_display=</action>
1858 <action function="set">tw_backup_encrypt_display2=</action>
1859 <action function="page">backupencryption</action>
1860 </actions>
1861 </action>
1862 </page>
1863
1864 <page name="backup_run">
1865 <template name="page"/>
1866
1867 <text style="text_l">
1868 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1869 <text>%tw_operation%</text>
1870 </text>
1871
1872 <text style="text_m">
1873 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1874 <text>%tw_partition% Partition</text>
1875 </text>
1876
1877 <template name="console"/>
1878
1879 <template name="progress_bar"/>
1880
1881 <text style="text_m_accent">
1882 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001884 </text>
1885
1886 <text style="text_m">
1887 <placement x="%progress_text_x%" y="%row17_y%"/>
1888 <text>%tw_file_progress%</text>
1889 </text>
1890
1891 <text style="text_m">
1892 <placement x="%progress_text_x%" y="%row18_y%"/>
1893 <text>%tw_size_progress%</text>
1894 </text>
1895
1896 <button style="main_button_half_width">
1897 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 <action function="cancelbackup"/>
1900 </button>
1901
1902 <action>
1903 <action function="nandroid">backup</action>
1904 </action>
1905
1906 <action>
1907 <condition var1="tw_operation_state" var2="1"/>
1908 <condition var1="tw_cancel_backup" var2="0"/>
1909 <actions>
1910 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001911 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001912 <action function="set">tw_show_reboot=1</action>
1913 <action function="page">action_complete</action>
1914 </actions>
1915 </action>
1916
1917 <action>
1918 <condition var1="tw_operation_state" var2="1"/>
1919 <condition var1="tw_cancel_backup" var2="1"/>
1920 <actions>
1921 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001923 <action function="set">tw_show_reboot=1</action>
1924 <action function="page">action_complete</action>
1925 </actions>
1926 </action>
1927 </page>
1928
1929 <page name="restore">
1930 <template name="page"/>
1931
1932 <text style="text_l">
1933 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001934 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </text>
1936
1937 <text style="text_m">
1938 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001939 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001940 </text>
1941
1942 <template name="sort_options"/>
1943
1944 <fileselector>
1945 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001946 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001947 <filter folders="1" files="0" nav="0"/>
1948 <path name="tw_backups_folder"/>
1949 <data name="tw_restore" default=""/>
1950 <selection name="tw_restore_name"/>
1951 </fileselector>
1952
1953 <button style="main_button_half_width_low">
1954 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001955 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001956 <actions>
1957 <action function="set">tw_back=restore</action>
1958 <action function="overlay">select_storage</action>
1959 </actions>
1960 </button>
1961
1962 <action>
1963 <condition var1="tw_restore" op="modified"/>
1964 <actions>
1965 <action function="readBackup"/>
1966 <action function="page">restore_read</action>
1967 </actions>
1968 </action>
1969
1970 <action>
1971 <touch key="home"/>
1972 <action function="page">main</action>
1973 </action>
1974
1975 <action>
1976 <touch key="back"/>
1977 <action function="page">main</action>
1978 </action>
1979 </page>
1980
1981 <page name="restore_read">
1982 <action>
1983 <condition var1="tw_restore_encrypted" var2="1"/>
1984 <actions>
1985 <action function="set">tw_password_fail=0</action>
1986 <action function="page">restore_decrypt</action>
1987 </actions>
1988 </action>
1989
1990 <action>
1991 <condition var1="tw_restore_encrypted" var2="0"/>
1992 <actions>
1993 <action function="page">restore_select</action>
1994 </actions>
1995 </action>
1996 </page>
1997
1998 <page name="restore_decrypt">
1999 <template name="page"/>
2000
2001 <text style="text_l">
2002 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002003 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002004 </text>
2005
2006 <text style="text_m">
2007 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002008 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002009 </text>
2010
2011 <text style="text_m_accent">
2012 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <input>
2017 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2018 <text>%tw_restore_display%</text>
2019 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2020 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2021 <action function="page">try_restore_decrypt</action>
2022 </input>
2023
2024 <fill color="%accent_color%">
2025 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2026 </fill>
2027
2028 <fill color="%text_fail_color%">
2029 <condition var1="tw_password_fail" var2="1"/>
2030 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2031 </fill>
2032
2033 <text style="text_m_fail">
2034 <condition var1="tw_password_fail" var2="1"/>
2035 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <button style="main_button_half_width_low">
2040 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 <actions>
2043 <action function="set">tw_page_done=1</action>
2044 <action function="page">restore</action>
2045 </actions>
2046 </button>
2047
2048 <button style="main_button_half_width_low">
2049 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002050 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002051 <actions>
2052 <action function="set">tw_back=restore</action>
2053 <action function="set">tw_action=cmd</action>
2054 <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 -05002055 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2056 <action function="set">tw_text2=%tw_restore_name%</action>
2057 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2058 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2059 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2060 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002061 <action function="page">confirm_action</action>
2062 </actions>
2063 </button>
2064
2065 <template name="keyboardtemplate"/>
2066
2067 <action>
2068 <touch key="home"/>
2069 <action function="page">main</action>
2070 </action>
2071
2072 <action>
2073 <touch key="back"/>
2074 <action function="page">restore</action>
2075 </action>
2076 </page>
2077
2078 <page name="try_restore_decrypt">
2079 <template name="page"/>
2080
2081 <text style="text_l">
2082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002083 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002084 </text>
2085
2086 <text style="text_m">
2087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <template name="console"/>
2092
2093 <template name="progress_bar"/>
2094
2095 <action>
2096 <action function="decrypt_backup"/>
2097 </action>
2098
2099 <action>
2100 <conditions>
2101 <condition var1="tw_operation_state" var2="1"/>
2102 <condition var1="tw_operation_status" op="!=" var2="0"/>
2103 </conditions>
2104 <actions>
2105 <action function="set">tw_password_fail=1</action>
2106 <action function="page">restore_decrypt</action>
2107 </actions>
2108 </action>
2109
2110 <action>
2111 <conditions>
2112 <condition var1="tw_operation_state" var2="1"/>
2113 <condition var1="tw_operation_status" op="=" var2="0"/>
2114 </conditions>
2115 <actions>
2116 <action function="set">tw_page_done=1</action>
2117 <action function="page">restore_select</action>
2118 </actions>
2119 </action>
2120 </page>
2121
2122 <page name="restore_select">
2123 <template name="page"/>
2124
2125 <text style="text_l">
2126 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002127 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002128 </text>
2129
2130 <text style="text_m">
2131 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002132 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002133 </text>
2134
2135 <text style="text_m_accent">
2136 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002137 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002138 </text>
2139
2140 <text style="text_m">
2141 <placement x="%col1_x_left%" y="%row3_y%"/>
2142 <text>%tw_restore_name%</text>
2143 </text>
2144
2145 <fill color="%fileselector_linecolor%">
2146 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2147 </fill>
2148
2149 <button>
2150 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2151 <fill color="%transparent%"/>
2152 <actions>
2153 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2154 <action function="set">tw_fileexists=0</action>
2155 <action function="page">renamebackup</action>
2156 </actions>
2157 </button>
2158
2159 <partitionlist>
2160 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2163 <listtype name="restore"/>
2164 </partitionlist>
2165
2166 <text style="text_m_accent">
2167 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002168 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002169 </text>
2170
2171 <checkbox>
2172 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002173 <text>{@retore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002174 <data variable="tw_skip_md5_check"/>
2175 </checkbox>
2176
2177 <button style="main_button_half_width">
2178 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002179 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002180 <actions>
2181 <action function="set">tw_back=restore</action>
2182 <action function="set">tw_action=cmd</action>
2183 <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 -05002184 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002185 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2187 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2188 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2189 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002190 <action function="page">confirm_action</action>
2191 </actions>
2192 </button>
2193
2194 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002195 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002196 <action function="page">restore_run</action>
2197 </slider>
2198
2199 <action>
2200 <touch key="home"/>
2201 <action function="page">main</action>
2202 </action>
2203
2204 <action>
2205 <touch key="back"/>
2206 <action function="page">restore</action>
2207 </action>
2208 </page>
2209
2210 <page name="renamebackup">
2211 <template name="page"/>
2212
2213 <text style="text_l">
2214 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002216 </text>
2217
2218 <text style="text_m">
2219 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 </text>
2222
2223 <text style="text_m_accent">
2224 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <input>
2229 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2230 <text>%tw_backup_rename%</text>
2231 <data name="tw_backup_rename"/>
2232 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2233 <actions>
2234 <action function="set">tw_back=restore</action>
2235 <action function="set">tw_action=cmd</action>
2236 <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 -05002237 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2238 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2239 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2240 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2241 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002242 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2243 <action function="set">tw_existpage=renamebackup</action>
2244 <action function="set">tw_notexistpage=confirm_action</action>
2245 <action function="page">filecheck</action>
2246 </actions>
2247 </input>
2248
2249 <fill color="%accent_color%">
2250 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2251 </fill>
2252
2253 <fill color="%text_fail_color%">
2254 <condition var1="tw_fileexists" var2="1"/>
2255 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2256 </fill>
2257
2258 <text style="text_m_fail">
2259 <condition var1="tw_fileexists" var2="1"/>
2260 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002261 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002262 </text>
2263
2264 <button style="main_button_half_width_low">
2265 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002267 <action function="page">restore_select</action>
2268 </button>
2269
2270 <template name="keyboardtemplate"/>
2271
2272 <action>
2273 <touch key="home"/>
2274 <action function="page">main</action>
2275 </action>
2276
2277 <action>
2278 <touch key="back"/>
2279 <action function="page">restore_select</action>
2280 </action>
2281 </page>
2282
2283 <page name="restore_run">
2284 <template name="page"/>
2285
2286 <text style="text_l">
2287 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 </text>
2290
2291 <text style="text_m">
2292 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2293 <text>%tw_operation% %tw_partition%</text>
2294 </text>
2295
2296 <template name="console"/>
2297
2298 <template name="progress_bar"/>
2299
2300 <text style="text_m_accent">
2301 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002302 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002303 </text>
2304
2305 <text style="text_m">
2306 <placement x="%progress_text_x%" y="%row18_y%"/>
2307 <text>%tw_size_progress%</text>
2308 </text>
2309
2310 <action>
2311 <condition var1="tw_operation_state" var2="1"/>
2312 <actions>
2313 <action function="set">tw_back=restore_select</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002315 <action function="set">tw_show_reboot=1</action>
2316 <action function="page">action_complete</action>
2317 </actions>
2318 </action>
2319
2320 <action>
2321 <action function="nandroid">restore</action>
2322 </action>
2323 </page>
2324
2325 <page name="mount">
2326 <template name="page"/>
2327
2328 <text style="text_l">
2329 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002331 </text>
2332
2333 <text style="text_m">
2334 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <partitionlist>
2339 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 <listtype name="mount"/>
2342 </partitionlist>
2343
2344 <button style="checkbox">
2345 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2346 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002347 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002348 <image resource="checkbox_false"/>
2349 <action function="mountsystemtoggle">1</action>
2350 </button>
2351
2352 <button style="checkbox">
2353 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2354 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002355 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002356 <image resource="checkbox_true"/>
2357 <actions>
2358 <action function="set">tw_lifetime_writes=2</action>
2359 <action function="page">system_readonly_check</action>
2360 </actions>
2361 </button>
2362
2363 <button style="main_button_half_width">
2364 <condition var1="tw_has_usb_storage" var2="1"/>
2365 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002366 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002367 <action function="page">usb_mount</action>
2368 </button>
2369
2370 <button style="main_button_half_width">
2371 <conditions>
2372 <condition var1="tw_is_encrypted" var2="1"/>
2373 <condition var1="tw_is_decrypted" var2="0"/>
2374 </conditions>
2375 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <action function="page">decrypt</action>
2378 </button>
2379
2380 <button style="main_button_half_width">
2381 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002383 <actions>
2384 <action function="set">tw_back=mount</action>
2385 <action function="overlay">select_storage</action>
2386 </actions>
2387 </button>
2388
2389 <button style="main_button_half_width">
2390 <conditions>
2391 <condition var1="tw_has_mtp" var2="1"/>
2392 <condition var1="tw_mtp_enabled" var2="0"/>
2393 </conditions>
2394 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002395 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002396 <action function="startmtp"/>
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="1"/>
2403 </conditions>
2404 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002405 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002406 <action function="stopmtp"/>
2407 </button>
2408
2409 <action>
2410 <touch key="home"/>
2411 <action function="page">main</action>
2412 </action>
2413
2414 <action>
2415 <touch key="back"/>
2416 <action function="page">main</action>
2417 </action>
2418 </page>
2419
2420 <page name="usb_mount">
2421 <template name="page"/>
2422
2423 <text style="text_l">
2424 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 </text>
2427
2428 <text style="text_m">
2429 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002430 <text>{usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002431 </text>
2432
2433 <text style="text_m_accent">
2434 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </text>
2437
2438 <text style="text_m">
2439 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 </text>
2442
2443 <text style="text_m">
2444 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 </text>
2447
2448 <button style="main_button_half_width">
2449 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 <action function="page">usb_umount</action>
2452 </button>
2453
2454 <action>
2455 <action function="mount">usb</action>
2456 <action function="set">tw_busy=1</action>
2457 </action>
2458 </page>
2459
2460 <page name="usb_umount">
2461 <action>
2462 <action function="unmount">usb</action>
2463 </action>
2464
2465 <action>
2466 <action function="page">mount</action>
2467 <action function="set">tw_busy=0</action>
2468 </action>
2469 </page>
2470
2471 <page name="system_readonly_check">
2472 <action>
2473 <action function="checkpartitionlifetimewrites">/system</action>
2474 </action>
2475
2476 <action>
2477 <condition var1="tw_lifetime_writes" var2="1"/>
2478 <actions>
2479 <action function="mountsystemtoggle">0</action>
2480 <action function="page">mount</action>
2481 </actions>
2482 </action>
2483
2484 <action>
2485 <condition var1="tw_lifetime_writes" var2="0"/>
2486 <actions>
2487 <action function="set">tw_back=mount</action>
2488 <action function="page">system_readonly</action>
2489 </actions>
2490 </action>
2491 </page>
2492
2493 <page name="reboot">
2494 <template name="page"/>
2495
2496 <text style="text_l">
2497 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@reboot_hdr=Reboot Menu}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 </text>
2500
2501 <button style="main_button">
2502 <condition var1="tw_reboot_system" var2="1"/>
2503 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002504 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002505 <actions>
2506 <action function="set">tw_back=reboot</action>
2507 <action function="set">tw_action=reboot</action>
2508 <action function="set">tw_action_param=system</action>
2509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2511 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2512 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2513 <action function="set">tw_action_text2=</action>
2514 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2515 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002516 <action function="page">rebootcheck</action>
2517 </actions>
2518 </button>
2519
2520 <button style="main_button">
2521 <condition var1="tw_reboot_poweroff" var2="1"/>
2522 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002523 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002524 <actions>
2525 <action function="set">tw_back=reboot</action>
2526 <action function="set">tw_action=reboot</action>
2527 <action function="set">tw_action_param=poweroff</action>
2528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2530 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2531 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2532 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2533 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002534 <action function="page">rebootcheck</action>
2535 </actions>
2536 </button>
2537
2538 <button style="main_button">
2539 <condition var1="tw_reboot_recovery" var2="1"/>
2540 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002541 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002542 <actions>
2543 <action function="set">tw_back=reboot</action>
2544 <action function="set">tw_action=reboot</action>
2545 <action function="set">tw_action_param=recovery</action>
2546 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2548 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2549 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2550 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2551 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <action function="page">rebootcheck</action>
2553 </actions>
2554 </button>
2555
2556 <button style="main_button">
2557 <condition var1="tw_reboot_bootloader" var2="1"/>
2558 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002559 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002560 <actions>
2561 <action function="set">tw_back=reboot</action>
2562 <action function="set">tw_action=reboot</action>
2563 <action function="set">tw_action_param=bootloader</action>
2564 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2566 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2567 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2568 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2569 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002570 <action function="page">rebootcheck</action>
2571 </actions>
2572 </button>
2573
2574 <button style="main_button">
2575 <condition var1="tw_download_mode" var2="1"/>
2576 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 <actions>
2579 <action function="set">tw_back=reboot</action>
2580 <action function="set">tw_action=reboot</action>
2581 <action function="set">tw_action_param=download</action>
2582 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002583 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2584 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2585 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2586 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2587 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002588 <action function="page">rebootcheck</action>
2589 </actions>
2590 </button>
2591
2592 <action>
2593 <touch key="home"/>
2594 <action function="page">main</action>
2595 </action>
2596
2597 <action>
2598 <touch key="back"/>
2599 <action function="page">main</action>
2600 </action>
2601 </page>
2602
2603 <page name="system_readonly">
2604 <template name="page"/>
2605
2606 <text style="text_l">
2607 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 </text>
2610
2611 <text style="text_m_accent">
2612 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 </text>
2615
2616 <text style="text_m">
2617 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <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 +01002619 </text>
2620
2621 <text style="text_m">
2622 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <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 +01002624 </text>
2625
2626 <text style="text_m_fail">
2627 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002628 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002629 </text>
2630
2631 <checkbox>
2632 <condition var1="tw_is_encrypted" var2="0"/>
2633 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 <data variable="tw_never_show_system_ro_page"/>
2636 </checkbox>
2637
2638 <button style="main_button_half_width">
2639 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <actions>
2642 <action function="mountsystemtoggle">1</action>
2643 <action function="set">tw_page_done=1</action>
2644 <action function="page">%tw_back%</action>
2645 </actions>
2646 </button>
2647
2648 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002650 <actions>
2651 <action function="mountsystemtoggle">0</action>
2652 <action function="set">tw_page_done=1</action>
2653 <action function="page">%tw_back%</action>
2654 </actions>
2655 </slider>
2656 </page>
2657
2658 <page name="settings">
2659 <template name="page"/>
2660
2661 <text style="text_l">
2662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002663 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002664 </text>
2665
2666 <text style="text_m">
2667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002668 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002669 </text>
2670
2671 <template name="tabs_settings"/>
2672
2673 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002674 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002675 </fill>
2676
2677 <listbox style="scrolllist">
2678 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2679 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002680 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002681 <data variable="tw_signed_zip_verify"/>
2682 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002684 <data variable="tw_rm_rf"/>
2685 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002686 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002687 <data variable="tw_skip_md5_generate"/>
2688 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <listitem name="{@retore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002690 <data variable="tw_skip_md5_check"/>
2691 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002693 <data variable="tw_military_time"/>
2694 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002695 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002696 <data variable="tw_simulate_actions"/>
2697 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002698 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002699 <condition var1="tw_simulate_actions" var2="1"/>
2700 <data variable="tw_simulate_fail"/>
2701 </listitem>
2702 </listbox>
2703
2704 <checkbox>
2705 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002706 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 <data variable="tw_samsung_navbar"/>
2708 </checkbox>
2709
2710 <button style="radiobutton">
2711 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2712 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 <image resource="radio_false"/>
2715 <action function="set">tw_navbar_button_position=0</action>
2716 </button>
2717
2718 <button style="radiobutton">
2719 <condition var1="tw_navbar_button_position" var2="0"/>
2720 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002721 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002722 <image resource="radio_true"/>
2723 <action function="set">tw_navbar_button_position=0</action>
2724 </button>
2725
2726 <button style="radiobutton">
2727 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2728 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002729 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002730 <image resource="radio_false"/>
2731 <action function="set">tw_navbar_button_position=1</action>
2732 </button>
2733
2734 <button style="radiobutton">
2735 <condition var1="tw_navbar_button_position" var2="1"/>
2736 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002737 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002738 <image resource="radio_true"/>
2739 <action function="set">tw_navbar_button_position=1</action>
2740 </button>
2741
2742 <button style="radiobutton">
2743 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2744 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002745 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002746 <image resource="radio_false"/>
2747 <action function="set">tw_navbar_button_position=2</action>
2748 </button>
2749
2750 <button style="radiobutton">
2751 <condition var1="tw_navbar_button_position" var2="2"/>
2752 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002753 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002754 <image resource="radio_true"/>
2755 <action function="set">tw_navbar_button_position=2</action>
2756 </button>
2757
2758 <button style="main_button_half_width">
2759 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002760 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002761 <action function="restoredefaultsettings"/>
2762 </button>
2763
2764 <action>
2765 <touch key="home"/>
2766 <action function="page">main</action>
2767 </action>
2768
2769 <action>
2770 <touch key="back"/>
2771 <action function="page">main</action>
2772 </action>
2773 </page>
2774
2775 <page name="settings_timezone">
2776 <template name="page"/>
2777
2778 <text style="text_l">
2779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 </text>
2782
2783 <text style="text_m">
2784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002785 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002786 </text>
2787
2788 <template name="tabs_settings"/>
2789
2790 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002792 </fill>
2793
2794 <listbox>
2795 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2799 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2800 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2801 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2802 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2803 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2804 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2805 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2806 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2807 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2808 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2809 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2810 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2811 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2812 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2813 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2814 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2815 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2816 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2817 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2818 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2819 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2820 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2821 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002822 </listbox>
2823
2824 <text style="text_m_accent">
2825 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 </text>
2828
2829 <button style="button_quarter_width">
2830 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002831 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002832 <action function="set">tw_time_zone_guioffset=0</action>
2833 </button>
2834
2835 <button style="button_quarter_width">
2836 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002837 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <action function="set">tw_time_zone_guioffset=15</action>
2839 </button>
2840
2841 <button style="button_quarter_width">
2842 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002843 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002844 <action function="set">tw_time_zone_guioffset=30</action>
2845 </button>
2846
2847 <button style="button_quarter_width">
2848 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002849 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002850 <action function="set">tw_time_zone_guioffset=45</action>
2851 </button>
2852
2853 <checkbox>
2854 <placement x="%col1_x_right%" y="%row7_y%"/>
2855 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002856 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002857 <data variable="tw_time_zone_guidst"/>
2858 <image checked="checkbox_true" unchecked="checkbox_false"/>
2859 </checkbox>
2860
2861 <text color="%text_color%">
2862 <font resource="font_m"/>
2863 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002864 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002865 </text>
2866
2867 <button>
2868 <highlight color="%highlight_color%"/>
2869 <placement x="%col2_x_right%" y="%row15a_y%"/>
2870 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002872 <image resource="main_button_half_width"/>
2873 <action function="setguitimezone"/>
2874 </button>
2875
2876 <action>
2877 <touch key="home"/>
2878 <action function="page">main</action>
2879 </action>
2880
2881 <action>
2882 <touch key="back"/>
2883 <action function="page">main</action>
2884 </action>
2885 </page>
2886
2887 <page name="settings_screen">
2888 <template name="page"/>
2889
2890 <text style="text_l">
2891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002893 </text>
2894
2895 <text style="text_m">
2896 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 </text>
2899
2900 <template name="tabs_settings"/>
2901
2902 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002904 </fill>
2905
2906 <button>
2907 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2908 <font resource="font_m" color="%text_color%"/>
2909 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2910 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002912 <image resource="checkbox_false"/>
2913 <action function="set">tw_screen_timeout_secs=60</action>
2914 </button>
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_true"/>
2923 <action function="set">tw_screen_timeout_secs=0</action>
2924 </button>
2925
2926 <slidervalue>
2927 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2928 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2929 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2932 </slidervalue>
2933
2934 <slidervalue>
2935 <condition var1="tw_has_brightnesss_file" var2="1"/>
2936 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <data variable="tw_brightness_pct" min="10" max="100"/>
2939 <actions>
2940 <action function="set">tw_brightness=%tw_brightness_max%</action>
2941 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2942 <action function="compute">tw_brightness/100</action>
2943 <action function="setbrightness">%tw_brightness%</action>
2944 </actions>
2945 </slidervalue>
2946
2947 <action>
2948 <touch key="home"/>
2949 <action function="page">main</action>
2950 </action>
2951
2952 <action>
2953 <touch key="back"/>
2954 <action function="page">main</action>
2955 </action>
2956 </page>
2957
2958 <page name="settings_vibration">
2959 <template name="page"/>
2960
2961 <text style="text_l">
2962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002963 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002964 </text>
2965
2966 <text style="text_m">
2967 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002969 </text>
2970
2971 <template name="tabs_settings"/>
2972
2973 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002975 </fill>
2976
2977 <slidervalue>
2978 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 <data variable="tw_button_vibrate" min="0" max="300"/>
2981 </slidervalue>
2982
2983 <slidervalue>
2984 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002986 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
2987 </slidervalue>
2988
2989 <slidervalue>
2990 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 <data variable="tw_action_vibrate" min="0" max="500"/>
2993 </slidervalue>
2994
2995 <action>
2996 <touch key="home"/>
2997 <action function="page">main</action>
2998 </action>
2999
3000 <action>
3001 <touch key="back"/>
3002 <action function="page">main</action>
3003 </action>
3004 </page>
3005
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <page name="settings_language">
3007 <template name="page"/>
3008
3009 <text style="text_l">
3010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3011 <text>{@settings_hdr=Settings}</text>
3012 </text>
3013
3014 <text style="text_m">
3015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3016 <text>{@language_hdr=Language - %tw_language_display%}</text>
3017 </text>
3018
3019 <template name="tabs_settings"/>
3020
3021 <fill color="%text_color%">
3022 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3023 </fill>
3024
3025 <listbox>
3026 <placement x="%indent%" y="%row3_y%" w="%fileselector_filemanager_height%" h="%listbox_settings_height%"/>
3027 <text>{@select_language=Select Language:}</text>
3028 <icon selected="radio_true" unselected="radio_false" />
3029 <data name="tw_language" />
3030 </listbox>
3031
3032 <button style="main_button_half_width_low">
3033 <placement x="%col_button_right%" y="%row16a_y%"/>
3034 <text>{@set_language_btn=Set Language}</text>
3035 <action function="setlanguage"></action>
3036 </button>
3037
3038 <action>
3039 <touch key="home" />
3040 <action function="page">main</action>
3041 </action>
3042
3043 <action>
3044 <touch key="back" />
3045 <action function="page">settings</action>
3046 </action>
3047 </page>
3048
z31s1g28f0a922015-11-07 18:50:22 +01003049 <page name="advanced">
3050 <template name="page"/>
3051
3052 <text style="text_l">
3053 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 </text>
3056
3057 <button style="main_button">
3058 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 <actions>
3061 <action function="set">tw_back=advanced</action>
3062 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3064 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3065 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3066 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003067 <action function="page">confirm_action</action>
3068 </actions>
3069 </button>
3070
3071 <button style="main_button">
3072 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 <action function="page">fixperms</action>
3075 </button>
3076
3077 <button style="main_button">
3078 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3079 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@part_sd_btn=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 <action function="page">partsdcard</action>
3082 </button>
3083
3084 <button style="main_button">
3085 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003087 <action function="page">filemanagerlist</action>
3088 </button>
3089
3090 <button style="main_button">
3091 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@terminal_btn=Terminal}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 <action function="page">terminalfolder</action>
3094 </button>
3095
3096 <button style="main_button">
3097 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003099 <action function="reload"/>
3100 </button>
3101
3102 <button style="main_button">
3103 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003105 <action function="page">sideload</action>
3106 </button>
3107
3108 <button style="main_button">
3109 <condition var1="tw_show_dumlock" var2="1"/>
3110 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <action function="page">htcdumlock</action>
3113 </button>
3114
3115 <button style="main_button">
3116 <condition var1="tw_has_injecttwrp" var2="1"/>
3117 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003118 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003119 <actions>
3120 <action function="set">tw_back=advanced</action>
3121 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3123 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3124 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3125 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003126 <action function="page">confirm_action</action>
3127 </actions>
3128 </button>
3129
3130 <action>
3131 <touch key="home"/>
3132 <action function="page">main</action>
3133 </action>
3134
3135 <action>
3136 <touch key="back"/>
3137 <action function="page">main</action>
3138 </action>
3139 </page>
3140
3141 <page name="partsdcard">
3142 <template name="page"/>
3143
3144 <text style="text_l">
3145 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 </text>
3148
3149 <text style="text_m">
3150 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 </text>
3153
3154 <text style="text_m_fail">
3155 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 </text>
3158
3159 <text style="text_m_fail">
3160 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003161 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003162 </text>
3163
3164 <text style="text_m_accent">
3165 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </text>
3168
3169 <text style="text_m">
3170 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3171 <text>%tw_sdext_size%</text>
3172 </text>
3173
3174 <button style="button_quarter_width">
3175 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <action function="addsubtract">tw_sdext_size-128</action>
3178 </button>
3179
3180 <button style="button_quarter_width">
3181 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <action function="addsubtract">tw_sdext_size+128</action>
3184 </button>
3185
3186 <text style="text_m_accent">
3187 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 </text>
3190
3191 <text style="text_m">
3192 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3193 <text>%tw_swap_size%</text>
3194 </text>
3195
3196 <button style="button_quarter_width">
3197 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@part_sd_m=-}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003199 <action function="addsubtract">tw_swap_size-32</action>
3200 </button>
3201
3202 <button style="button_quarter_width">
3203 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <text>{@part_sd_p=+}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003205 <action function="addsubtract">tw_swap_size+32</action>
3206 </button>
3207
3208 <text style="text_m_accent">
3209 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 </text>
3212
3213 <text style="text_m">
3214 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3215 <text>%tw_sdpart_file_system%</text>
3216 </text>
3217
3218 <button style="button_quarter_width">
3219 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3220 <text>EXT3</text>
3221 <action function="set">tw_sdpart_file_system=ext3</action>
3222 </button>
3223
3224 <button style="button_quarter_width">
3225 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3226 <text>EXT4</text>
3227 <action function="set">tw_sdpart_file_system=ext4</action>
3228 </button>
3229
3230 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003231 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 <action function="page">partsdcardaction</action>
3233 <actions>
3234 <action function="set">tw_back=partsdcard</action>
3235 <action function="set">tw_action=partitionsd</action>
3236 <action function="set">tw_has_action2=1</action>
3237 <action function="set">tw_action2=set</action>
3238 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3240 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3241 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003242 <action function="page">action_page</action>
3243 </actions>
3244 </slider>
3245
3246 <action>
3247 <touch key="home"/>
3248 <action function="page">main</action>
3249 </action>
3250
3251 <action>
3252 <touch key="back"/>
3253 <action function="page">advanced</action>
3254 </action>
3255 </page>
3256
3257 <page name="htcdumlock">
3258 <template name="page"/>
3259
3260 <text style="text_l">
3261 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </text>
3264
3265 <text style="text_m">
3266 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </text>
3269
3270 <button style="main_button_m">
3271 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <actions>
3274 <action function="set">tw_back=htcdumlock</action>
3275 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3277 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3278 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3279 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003280 <action function="page">confirm_action</action>
3281 </actions>
3282 </button>
3283
3284 <button style="main_button_m">
3285 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003287 <actions>
3288 <action function="set">tw_back=htcdumlock</action>
3289 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3291 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3292 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3293 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003294 <action function="page">confirm_action</action>
3295 </actions>
3296 </button>
3297
3298 <button style="main_button_m">
3299 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 <actions>
3302 <action function="set">tw_back=htcdumlock</action>
3303 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3305 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3306 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3307 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003308 <action function="page">confirm_action</action>
3309 </actions>
3310 </button>
3311
3312 <action>
3313 <touch key="home"/>
3314 <action function="page">main</action>
3315 </action>
3316
3317 <action>
3318 <touch key="back"/>
3319 <action function="page">advanced</action>
3320 </action>
3321 </page>
3322
3323 <page name="lock">
3324 <background color="%semi_transparent%"/>
3325
3326 <image>
3327 <image resource="unlock_icon"/>
3328 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3329 </image>
3330
3331 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <action function="overlay"/>
3334 </slider>
3335 </page>
3336
3337 <page name="filemanagerlist">
3338 <template name="page"/>
3339
3340 <text style="text_l">
3341 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </text>
3344
3345 <text style="text_m">
3346 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </text>
3349
3350 <template name="sort_options"/>
3351
3352 <fileselector>
3353 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3354 <text>%tw_file_location1%</text>
3355 <filter folders="1" files="1"/>
3356 <path name="tw_file_location1" default="/"/>
3357 <data name="tw_filename1"/>
3358 <selection name="tw_selection1"/>
3359 </fileselector>
3360
3361 <button style="main_button_half_width_low">
3362 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003364 <actions>
3365 <action function="set">tw_filename1=tw_file_location1</action>
3366 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003368 <action function="page">filemanageroptions</action>
3369 </actions>
3370 </button>
3371
3372 <action>
3373 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003374 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003375 <action function="set">tw_fm_isfolder=0</action>
3376 </actions>
3377 </action>
3378
3379 <action>
3380 <touch key="home"/>
3381 <action function="page">main</action>
3382 </action>
3383
3384 <action>
3385 <touch key="back"/>
3386 <action function="page">advanced</action>
3387 </action>
3388
3389 <action>
3390 <condition var1="tw_filename1" op="modified"/>
3391 <action function="page">filemanageroptions</action>
3392 </action>
3393 </page>
3394
3395 <page name="filemanageroptions">
3396 <template name="page"/>
3397
3398 <text style="text_l">
3399 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003401 </text>
3402
3403 <text style="text_m">
3404 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 </text>
3407
3408 <text style="text_m_accent">
3409 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003410 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003411 </text>
3412
3413 <text style="text_m">
3414 <placement x="%col1_x_left%" y="%row3_y%"/>
3415 <text>%tw_filename1%</text>
3416 </text>
3417
3418 <button style="main_button_half_width">
3419 <condition var1="tw_fm_isfolder" var2="0"/>
3420 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 <actions>
3423 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <action function="page">choosedestinationfolder</action>
3426 </actions>
3427 </button>
3428
3429 <button style="main_button_half_width">
3430 <condition var1="tw_fm_isfolder" var2="1"/>
3431 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 <actions>
3434 <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 -05003435 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003436 <action function="page">choosedestinationfolder</action>
3437 </actions>
3438 </button>
3439
3440 <button style="main_button_half_width">
3441 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 <actions>
3444 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003446 <action function="page">choosedestinationfolder</action>
3447 </actions>
3448 </button>
3449
3450 <button style="main_button_half_width">
3451 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <actions>
3454 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <action function="set">tw_fm_text2=</action>
3457 <action function="set">tw_fm_text3=</action>
3458 <action function="set">tw_include_text3=0</action>
3459 <action function="set">tw_back=filemanageroptions</action>
3460 <action function="page">filemanagerconfirm</action>
3461 </actions>
3462 </button>
3463
3464 <button style="main_button_half_width">
3465 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <actions>
3468 <action function="set">tw_filemanager_rename=0000</action>
3469 <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">filemanagerchmod</action>
3474 </actions>
3475 </button>
3476
3477 <button style="main_button_half_width">
3478 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <actions>
3481 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003482 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003483 <action function="set">tw_fm_text2=</action>
3484 <action function="set">tw_fm_text3=</action>
3485 <action function="set">tw_include_text3=0</action>
3486 <action function="set">tw_back=filemanageroptions</action>
3487 <action function="page">filemanagerconfirm</action>
3488 </actions>
3489 </button>
3490
3491 <button style="main_button_half_width">
3492 <condition var1="tw_fm_isfolder" var2="0"/>
3493 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 <actions>
3496 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <action function="set">tw_filemanager_command=mv</action>
3499 <action function="page">filemanagerrenamefile</action>
3500 </actions>
3501 </button>
3502
3503 <button style="main_button_half_width">
3504 <condition var1="tw_fm_isfolder" var2="1"/>
3505 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 <actions>
3508 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003510 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3511 <action function="page">filemanagerrenamefolder</action>
3512 </actions>
3513 </button>
3514
3515 <action>
3516 <touch key="home"/>
3517 <action function="page">main</action>
3518 </action>
3519
3520 <action>
3521 <touch key="back"/>
3522 <action function="page">filemanagerlist</action>
3523 </action>
3524 </page>
3525
3526 <page name="choosedestinationfolder">
3527 <template name="page"/>
3528
3529 <text style="text_l">
3530 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 </text>
3533
3534 <text style="text_m">
3535 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003536 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003537 </text>
3538
3539 <template name="sort_options"/>
3540
3541 <fileselector>
3542 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3543 <text>%tw_file_location2%</text>
3544 <filter folders="1" files="0"/>
3545 <path name="tw_file_location2" default="/"/>
3546 <data name="tw_filename2"/>
3547 <selection name="tw_selection2"/>
3548 </fileselector>
3549
3550 <button style="main_button_half_width_low">
3551 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003553 <actions>
3554 <action function="set">tw_fm_text2=to</action>
3555 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3556 <action function="set">tw_include_text3=1</action>
3557 <action function="set">tw_back=filemanageroptions</action>
3558 <action function="page">filemanagerconfirm</action>
3559 </actions>
3560 </button>
3561
3562 <action>
3563 <touch key="home"/>
3564 <action function="page">main</action>
3565 </action>
3566
3567 <action>
3568 <touch key="back"/>
3569 <action function="page">filemanageroptions</action>
3570 </action>
3571 </page>
3572
3573 <page name="filemanagerrenamefile">
3574 <template name="page"/>
3575
3576 <text style="text_l">
3577 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 </text>
3580
3581 <text style="text_m">
3582 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 </text>
3585
3586 <text style="text_m_accent">
3587 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </text>
3590
3591 <input>
3592 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3593 <text>%tw_filemanager_rename%</text>
3594 <data name="tw_filemanager_rename"/>
3595 <restrict minlen="1" maxlen="128"/>
3596 <actions>
3597 <action function="set">tw_fm_text2=to</action>
3598 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3599 <action function="set">tw_include_text3=1</action>
3600 <action function="set">tw_back=filemanageroptions</action>
3601 <action function="page">filemanagerconfirm</action>
3602 </actions>
3603 </input>
3604
3605 <fill color="%accent_color%">
3606 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3607 </fill>
3608
3609 <button style="main_button_half_width_low">
3610 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <action function="page">filemanageroptions</action>
3613 </button>
3614
3615 <template name="keyboardtemplate"/>
3616
3617 <action>
3618 <touch key="home"/>
3619 <action function="page">main</action>
3620 </action>
3621
3622 <action>
3623 <touch key="back"/>
3624 <action function="page">filemanageroptions</action>
3625 </action>
3626 </page>
3627
3628 <page name="filemanagerrenamefolder">
3629 <template name="page"/>
3630
3631 <text style="text_l">
3632 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003634 </text>
3635
3636 <text style="text_m">
3637 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003639 </text>
3640
3641 <text style="text_m_accent">
3642 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 </text>
3645
3646 <input>
3647 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3648 <text>%tw_filemanager_rename%</text>
3649 <data name="tw_filemanager_rename"/>
3650 <restrict minlen="1" maxlen="128"/>
3651 <actions>
3652 <action function="set">tw_fm_text2=to</action>
3653 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3654 <action function="set">tw_include_text3=1</action>
3655 <action function="set">tw_back=filemanageroptions</action>
3656 <action function="page">filemanagerconfirm</action>
3657 </actions>
3658 </input>
3659
3660 <fill color="%accent_color%">
3661 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3662 </fill>
3663
3664 <button style="main_button_half_width_low">
3665 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <action function="page">filemanageroptions</action>
3668 </button>
3669
3670 <template name="keyboardtemplate"/>
3671
3672 <action>
3673 <touch key="home"/>
3674 <action function="page">main</action>
3675 </action>
3676
3677 <action>
3678 <touch key="back"/>
3679 <action function="page">filemanageroptions</action>
3680 </action>
3681 </page>
3682
3683 <page name="filemanagerchmod">
3684 <template name="page"/>
3685
3686 <text style="text_l">
3687 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003688 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003689 </text>
3690
3691 <text style="text_m">
3692 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 </text>
3695
3696 <text style="text_m_accent">
3697 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <input>
3702 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3703 <text>%tw_filemanager_rename%</text>
3704 <data name="tw_filemanager_rename"/>
3705 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3706 <actions>
3707 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3708 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3709 <action function="set">tw_back=filemanageroptions</action>
3710 <action function="page">filemanagerconfirm</action>
3711 </actions>
3712 </input>
3713
3714 <fill color="%accent_color%">
3715 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3716 </fill>
3717
3718 <button style="main_button_half_width_low">
3719 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <action function="page">filemanageroptions</action>
3722 </button>
3723
3724 <template name="keyboardtemplate"/>
3725
3726 <action>
3727 <touch key="home"/>
3728 <action function="page">main</action>
3729 </action>
3730
3731 <action>
3732 <touch key="back"/>
3733 <action function="page">filemanageroptions</action>
3734 </action>
3735 </page>
3736
3737 <page name="filemanagerconfirm">
3738 <template name="page"/>
3739
3740 <text style="text_l">
3741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003743 </text>
3744
3745 <text style="text_m">
3746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003748 </text>
3749
3750 <text style="text_m_accent">
3751 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3752 <text>%tw_fm_text1%</text>
3753 </text>
3754
3755 <text style="text_m">
3756 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3757 <text>%tw_filename1%</text>
3758 </text>
3759
3760 <text style="text_m_accent">
3761 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3762 <text>%tw_fm_text2%</text>
3763 </text>
3764
3765 <text style="text_m">
3766 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3767 <text>%tw_fm_text3%</text>
3768 </text>
3769
3770 <text style="text_m">
3771 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 </text>
3774
3775 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <action function="page">filemanageraction</action>
3778 </slider>
3779
3780 <action>
3781 <touch key="back"/>
3782 <action function="page">%tw_back%</action>
3783 </action>
3784
3785 <action>
3786 <touch key="home"/>
3787 <action function="page">main</action>
3788 </action>
3789 </page>
3790
3791 <page name="filemanageraction">
3792 <template name="page"/>
3793
3794 <text style="text_l">
3795 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003796 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003797 </text>
3798
3799 <text style="text_m">
3800 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3801 <text>%tw_fm_text1%</text>
3802 </text>
3803
3804 <template name="console"/>
3805
3806 <template name="progress_bar"/>
3807
3808 <action>
3809 <conditions>
3810 <condition var1="tw_operation_state" var2="1"/>
3811 <condition var1="tw_operation_status" var2="0"/>
3812 </conditions>
3813 <actions>
3814 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003815 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003816 <action function="page">action_complete</action>
3817 </actions>
3818 </action>
3819
3820 <action>
3821 <conditions>
3822 <condition var1="tw_operation_state" var2="1"/>
3823 <condition var1="tw_operation_status" op="!=" var2="0"/>
3824 </conditions>
3825 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003827 <action function="page">action_complete</action>
3828 </actions>
3829 </action>
3830
3831 <action>
3832 <condition var1="tw_include_text3" var2="0"/>
3833 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3834 </action>
3835
3836 <action>
3837 <condition var1="tw_include_text3" var2="1"/>
3838 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3839 </action>
3840 </page>
3841
3842 <page name="decrypt">
3843 <template name="page"/>
3844
3845 <action>
3846 <condition var1="tw_crypto_pwtype" var2="2"/>
3847 <action function="page">decrypt_pattern</action>
3848 </action>
3849
3850 <text style="text_l">
3851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 </text>
3854
3855 <text style="text_m">
3856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003857 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003858 </text>
3859
3860 <text style="text_m_accent">
3861 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003862 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003863 </text>
3864
3865 <input>
3866 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3867 <text>%tw_crypto_display%</text>
3868 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3869 <restrict minlen="1" maxlen="254"/>
3870 <action function="page">trydecrypt</action>
3871 </input>
3872
3873 <fill color="%accent_color%">
3874 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3875 </fill>
3876
3877 <fill color="%text_fail_color%">
3878 <condition var1="tw_password_fail" var2="1"/>
3879 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3880 </fill>
3881
3882 <text style="text_m_fail">
3883 <condition var1="tw_password_fail" var2="1"/>
3884 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 </text>
3887
3888 <button style="main_button_half_width_low">
3889 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <actions>
3892 <action function="set">tw_page_done=1</action>
3893 <action function="page">main</action>
3894 </actions>
3895 </button>
3896
3897 <template name="keyboardtemplate"/>
3898 </page>
3899
3900 <page name="decrypt_pattern">
3901 <template name="page"/>
3902
3903 <text style="text_l">
3904 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 </text>
3907
3908 <text style="text_m">
3909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003910 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003911 </text>
3912
3913 <text style="text_m_accent">
3914 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003915 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003916 </text>
3917
3918 <patternpassword>
3919 <placement x="%pattern_x%" y="%row4_y%" w="%pattern_size%" h="%pattern_size%"/>
3920 <size name="tw_pattern_grid_size" default="3"/>
3921 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
3922 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
3923 <data name="tw_crypto_password"/>
3924 <action function="page">trydecrypt</action>
3925 </patternpassword>
3926
3927 <button style="main_button_half_width">
3928 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003930 <actions>
3931 <action function="set">tw_page_done=1</action>
3932 <action function="page">main</action>
3933 </actions>
3934 </button>
3935 </page>
3936
3937 <page name="trydecrypt">
3938 <template name="page"/>
3939
3940 <text style="text_l">
3941 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 </text>
3944
3945 <text style="text_m">
3946 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </text>
3949
3950 <template name="console"/>
3951
3952 <template name="progress_bar"/>
3953
3954 <action>
3955 <action function="decrypt"/>
3956 </action>
3957
3958 <action>
3959 <conditions>
3960 <condition var1="tw_operation_state" var2="1"/>
3961 <condition var1="tw_operation_status" op="!=" var2="0"/>
3962 </conditions>
3963 <actions>
3964 <action function="set">tw_password_fail=1</action>
3965 <action function="page">decrypt</action>
3966 </actions>
3967 </action>
3968
3969 <action>
3970 <conditions>
3971 <condition var1="tw_operation_state" var2="1"/>
3972 <condition var1="tw_operation_status" op="=" var2="0"/>
3973 </conditions>
3974 <actions>
3975 <action function="set">tw_page_done=1</action>
3976 <action function="page">main</action>
3977 </actions>
3978 </action>
3979 </page>
3980
3981 <page name="terminalfolder">
3982 <template name="page"/>
3983
3984 <text style="text_l">
3985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{term_hdr=Terminal Command}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m">
3990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@term_sel_folder_hdr=Browse to Starting Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </text>
3993
3994 <template name="sort_options"/>
3995
3996 <fileselector>
3997 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3998 <text>%tw_terminal_location%</text>
3999 <filter folders="1" files="0"/>
4000 <path name="tw_terminal_location" default="/"/>
4001 <data name="tw_terminal"/>
4002 <selection name="tw_terminal_selection"/>
4003 </fileselector>
4004
4005 <button style="main_button_half_width_low">
4006 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004008 <action function="page">terminalcommand</action>
4009 </button>
4010
4011 <action>
4012 <touch key="home"/>
4013 <action function="page">main</action>
4014 </action>
4015
4016 <action>
4017 <touch key="back"/>
4018 <action function="page">advanced</action>
4019 </action>
4020 </page>
4021
4022 <page name="terminalcommand">
4023 <template name="page"/>
4024
4025 <fill color="%background_color%">
4026 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4027 </fill>
4028
4029 <template name="console_terminal"/>
4030
4031 <input>
4032 <placement x="%col1_x_left%" y="%row8_y%" w="%content_quarter_width%" h="%input_height%"/>
4033 <text>%tw_terminal_command%</text>
4034 <data name="tw_terminal_command"/>
4035 <restrict minlen="1"/>
4036 <action function="terminalcommand">%tw_terminal_command%</action>
4037 </input>
4038
4039 <fill color="%accent_color%">
4040 <placement x="%col1_x_left%" y="row9_y" w="%content_quarter_width%" h="input_line_width" placement="1"/>
4041 </fill>
4042
4043 <button>
4044 <condition var1="tw_terminal_state" var2="1"/>
4045 <highlight color="%highlight_color%"/>
4046 <placement x="%btn4_col4_x_right%" y="%row7a_y%"/>
4047 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@term_kill_btn=Kill}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 <image resource="tab_4"/>
4050 <action function="killterminal"/>
4051 </button>
4052
4053 <template name="keyboardtemplate"/>
4054
4055 <action>
4056 <touch key="home"/>
4057 <action function="page">main</action>
4058 </action>
4059
4060 <action>
4061 <touch key="back"/>
4062 <action function="page">terminalfolder</action>
4063 </action>
4064 </page>
4065
4066 <page name="sideload">
4067 <template name="page"/>
4068
4069 <text style="text_l">
4070 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004071 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004072 </text>
4073
4074 <text style="text_m">
4075 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004077 </text>
4078
4079 <checkbox>
4080 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004082 <data variable="tw_wipe_dalvik"/>
4083 </checkbox>
4084
4085 <checkbox>
4086 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 <data variable="tw_wipe_cache"/>
4089 </checkbox>
4090
4091 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 <action function="page">partsdcardaction</action>
4094 <actions>
4095 <action function="set">tw_back=advanced</action>
4096 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004097 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4098 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4099 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004100 <action function="set">tw_has_cancel=1</action>
4101 <action function="set">tw_show_reboot=1</action>
4102 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4103 <action function="page">action_page</action>
4104 </actions>
4105 </slider>
4106
4107 <action>
4108 <touch key="home"/>
4109 <action function="page">main</action>
4110 </action>
4111
4112 <action>
4113 <touch key="back"/>
4114 <action function="page">advanced</action>
4115 </action>
4116 </page>
4117
4118 <page name="fixperms">
4119 <template name="page"/>
4120
4121 <text style="text_l">
4122 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 </text>
4125
4126 <text style="text_m">
4127 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004128 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004129 </text>
4130
4131 <text style="text_m_accent">
4132 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004133 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004134 </text>
4135
4136 <checkbox>
4137 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004138 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004139 <data variable="tw_fixperms_restorecon"/>
4140 </checkbox>
4141
4142 <text style="text_m_fail">
4143 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004144 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004145 </text>
4146
4147 <text style="text_m_fail">
4148 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 <actions>
4155 <action function="set">tw_back=advanced</action>
4156 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4158 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4159 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004160 <action function="set">tw_show_reboot=1</action>
4161 <action function="page">action_page</action>
4162 </actions>
4163 </slider>
4164
4165 <action>
4166 <touch key="home"/>
4167 <action function="page">main</action>
4168 </action>
4169
4170 <action>
4171 <touch key="back"/>
4172 <action function="page">advanced</action>
4173 </action>
4174 </page>
4175
4176 <page name="installsu">
4177 <template name="page"/>
4178
4179 <text style="text_l">
4180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004181 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004182 </text>
4183
4184 <text style="text_m">
4185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 </text>
4188
4189 <text style="text_m_accent">
4190 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004192 </text>
4193
4194 <text style="text_m">
4195 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004196 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004197 </text>
4198
4199 <text style="text_m">
4200 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004202 </text>
4203
4204 <button style="main_button_half_width">
4205 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004206 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004207 <action function="set">tw_page_done=1</action>
4208 </button>
4209
4210 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004211 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004212 <actions>
4213 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004215 <action function="set">tw_action_text2=</action>
4216 <action function="page">singleaction_page</action>
4217 </actions>
4218 </slider>
4219 </page>
4220
4221 <page name="slideout">
4222 <fill color="%background_color%">
4223 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4224 </fill>
4225
4226 <console>
4227 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4228 </console>
4229
4230 <button>
4231 <fill color="%transparent%"/>
4232 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4233 <action function="overlay"/>
4234 </button>
4235
4236 <action>
4237 <touch key="power+voldown"/>
4238 <action function="screenshot"/>
4239 </action>
4240 </page>
4241
4242 <page name="select_storage">
4243 <fill color="%semi_transparent%">
4244 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4245 </fill>
4246
4247 <fill color="%background_color%">
4248 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4249 </fill>
4250
4251 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004252 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004253 <data name="tw_storage_path"/>
4254 <listtype name="storage"/>
4255 </partitionlist>
4256
4257 <button style="button_third_width">
4258 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004259 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004260 <actions>
4261 <action function="set">tw_clear_destination=%tw_back%</action>
4262 <action function="overlay"/>
4263 <action function="page">clear_vars</action>
4264 </actions>
4265 </button>
4266
4267 <fill color="#000000">
4268 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4269 </fill>
4270
4271 <button>
4272 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4273 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4274 <image resource="back"/>
4275 <condition var1="tw_busy" var2="0"/>
4276 <actions>
4277 <action function="overlay"/>
4278 <action function="key">%tw_back%</action>
4279 </actions>
4280 </button>
4281
4282 <button>
4283 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4284 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4285 <image resource="console"/>
4286 <condition var1="tw_busy" var2="0"/>
4287 <action function="overlay">slideout</action>
4288 </button>
4289
4290 <button>
4291 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4292 <image resource="home"/>
4293 <condition var1="tw_busy" var2="0"/>
4294 <actions>
4295 <action function="overlay"/>
4296 <action function="key">home</action>
4297 </actions>
4298 </button>
4299
4300 <button>
4301 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4302 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4303 <image resource="console"/>
4304 <condition var1="tw_busy" var2="0"/>
4305 <action function="overlay">slideout</action>
4306 </button>
4307
4308 <button>
4309 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4310 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4311 <image resource="back"/>
4312 <condition var1="tw_busy" var2="0"/>
4313 <actions>
4314 <action function="overlay"/>
4315 <action function="key">%tw_back%</action>
4316 </actions>
4317 </button>
4318
4319 <action>
4320 <touch key="power+voldown"/>
4321 <action function="screenshot"/>
4322 </action>
4323 </page>
4324 </pages>
4325</recovery>